head	1.83;
access;
symbols
	groff-1_20_1_real:1.82
	groff-1_20_1:1.82
	groff-1_20:1.81
	groff-1_19_2:1.67
	FDL:1.58
	groff-1_19_1:1.55
	groff-1_19:1.48
	groff-1_18_1:1.39
	groff-1_18:1.37
	groff-1_17_2:1.19
	groff-1_17_1:1.17
	groff-1_17a:1.14
	groff-1_17:1.14
	groff-1_16_1b:1.11
	groff-1_16_1a:1.11
	groff-1_16_1:1.11
	groff-1_16:1.9
	groff-20000311:1.4
	groff-20000310-1:1.4
	groff-20000310:1.4
	pre-1_16:1.1.1.1
	start:1.1.1.1
	wlemb:1.1.1;
locks; strict;
comment	@# @;


1.83
date	2009.03.07.07.33.49;	author wl;	state Exp;
branches;
next	1.82;
commitid	FXDZlHyM7fX7x4Ft;

1.82
date	2009.01.06.07.42.36;	author wl;	state Exp;
branches;
next	1.81;
commitid	2yVe1dg8c9lJvmxt;

1.81
date	2009.01.02.08.41.44;	author wl;	state Exp;
branches;
next	1.80;
commitid	6RcKlU8IMIJ0YQwt;

1.80
date	2007.06.12.06.58.46;	author wl;	state Exp;
branches;
next	1.79;
commitid	eJ3ohC4cqaSxIAls;

1.79
date	2006.08.19.11.28.24;	author wl;	state Exp;
branches;
next	1.78;

1.78
date	2006.03.28.17.54.16;	author wl;	state Exp;
branches;
next	1.77;

1.77
date	2006.02.26.14.03.25;	author wl;	state Exp;
branches;
next	1.76;

1.76
date	2006.01.11.00.37.42;	author wl;	state Exp;
branches;
next	1.75;

1.75
date	2006.01.10.09.43.43;	author wl;	state Exp;
branches;
next	1.74;

1.74
date	2006.01.03.23.57.03;	author wl;	state Exp;
branches;
next	1.73;

1.73
date	2005.12.31.08.26.57;	author wl;	state Exp;
branches;
next	1.72;

1.72
date	2005.12.12.07.14.59;	author wl;	state Exp;
branches;
next	1.71;

1.71
date	2005.11.18.21.12.56;	author wl;	state Exp;
branches;
next	1.70;

1.70
date	2005.11.04.15.38.23;	author wl;	state Exp;
branches;
next	1.69;

1.69
date	2005.11.04.07.47.42;	author wl;	state Exp;
branches;
next	1.68;

1.68
date	2005.10.27.21.30.30;	author wl;	state Exp;
branches;
next	1.67;

1.67
date	2005.05.18.07.03.06;	author wl;	state Exp;
branches;
next	1.66;

1.66
date	2005.04.30.07.03.13;	author wl;	state Exp;
branches;
next	1.65;

1.65
date	2005.03.25.01.47.37;	author wl;	state Exp;
branches;
next	1.64;

1.64
date	2005.03.24.20.40.07;	author wl;	state Exp;
branches;
next	1.63;

1.63
date	2005.02.28.13.57.53;	author wl;	state Exp;
branches;
next	1.62;

1.62
date	2005.02.19.04.23.40;	author wl;	state Exp;
branches;
next	1.61;

1.61
date	2004.12.16.22.16.33;	author wl;	state Exp;
branches;
next	1.60;

1.60
date	2004.11.25.08.08.33;	author wl;	state Exp;
branches;
next	1.59;

1.59
date	2004.10.07.10.59.37;	author wl;	state Exp;
branches;
next	1.58;

1.58
date	2004.06.03.06.24.24;	author wlemb;	state Exp;
branches;
next	1.57;

1.57
date	2004.06.01.10.46.51;	author wlemb;	state Exp;
branches;
next	1.56;

1.56
date	2004.05.16.22.33.09;	author wlemb;	state Exp;
branches;
next	1.55;

1.55
date	2003.12.30.06.31.35;	author wlemb;	state Exp;
branches;
next	1.54;

1.54
date	2003.12.09.19.36.14;	author wlemb;	state Exp;
branches;
next	1.53;

1.53
date	2003.12.06.13.09.40;	author wlemb;	state Exp;
branches;
next	1.52;

1.52
date	2003.11.13.08.34.57;	author wlemb;	state Exp;
branches;
next	1.51;

1.51
date	2003.11.12.14.42.29;	author wlemb;	state Exp;
branches;
next	1.50;

1.50
date	2003.10.15.05.27.20;	author wlemb;	state Exp;
branches;
next	1.49;

1.49
date	2003.07.21.11.45.18;	author wlemb;	state Exp;
branches;
next	1.48;

1.48
date	2003.04.23.07.21.12;	author wlemb;	state Exp;
branches;
next	1.47;

1.47
date	2003.04.17.16.42.16;	author wlemb;	state Exp;
branches;
next	1.46;

1.46
date	2003.04.15.15.13.09;	author wlemb;	state Exp;
branches;
next	1.45;

1.45
date	2003.04.04.12.28.39;	author wlemb;	state Exp;
branches;
next	1.44;

1.44
date	2003.04.03.08.48.24;	author wlemb;	state Exp;
branches;
next	1.43;

1.43
date	2003.02.27.15.55.07;	author wlemb;	state Exp;
branches;
next	1.42;

1.42
date	2003.02.25.08.54.28;	author wlemb;	state Exp;
branches;
next	1.41;

1.41
date	2003.02.15.07.24.05;	author wlemb;	state Exp;
branches;
next	1.40;

1.40
date	2003.01.28.07.35.05;	author wlemb;	state Exp;
branches;
next	1.39;

1.39
date	2002.09.20.16.24.13;	author wlemb;	state Exp;
branches;
next	1.38;

1.38
date	2002.07.23.22.03.47;	author wlemb;	state Exp;
branches;
next	1.37;

1.37
date	2002.06.19.13.17.53;	author wlemb;	state Exp;
branches;
next	1.36;

1.36
date	2002.06.15.09.32.04;	author wlemb;	state Exp;
branches;
next	1.35;

1.35
date	2002.06.06.13.12.54;	author wlemb;	state Exp;
branches;
next	1.34;

1.34
date	2002.06.05.13.46.41;	author wlemb;	state Exp;
branches;
next	1.33;

1.33
date	2002.05.26.09.32.24;	author wlemb;	state Exp;
branches;
next	1.32;

1.32
date	2002.03.01.01.15.35;	author wlemb;	state Exp;
branches;
next	1.31;

1.31
date	2002.02.24.02.05.16;	author wlemb;	state Exp;
branches;
next	1.30;

1.30
date	2001.11.26.21.53.25;	author wlemb;	state Exp;
branches;
next	1.29;

1.29
date	2001.09.11.21.40.35;	author wlemb;	state Exp;
branches;
next	1.28;

1.28
date	2001.08.26.04.41.45;	author wlemb;	state Exp;
branches;
next	1.27;

1.27
date	2001.08.24.23.37.48;	author wlemb;	state Exp;
branches;
next	1.26;

1.26
date	2001.08.19.21.32.25;	author wlemb;	state Exp;
branches;
next	1.25;

1.25
date	2001.08.18.16.11.54;	author wlemb;	state Exp;
branches;
next	1.24;

1.24
date	2001.08.13.20.27.24;	author wlemb;	state Exp;
branches;
next	1.23;

1.23
date	2001.08.13.12.18.26;	author wlemb;	state Exp;
branches;
next	1.22;

1.22
date	2001.07.25.15.42.58;	author wlemb;	state Exp;
branches;
next	1.21;

1.21
date	2001.07.20.14.36.50;	author wlemb;	state Exp;
branches;
next	1.20;

1.20
date	2001.07.16.02.08.51;	author wlemb;	state Exp;
branches;
next	1.19;

1.19
date	2001.06.26.19.48.33;	author wlemb;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.26.06.01.03;	author wlemb;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.21.12.07.54;	author wlemb;	state Exp;
branches;
next	1.16;

1.16
date	2001.06.08.12.43.45;	author wlemb;	state Exp;
branches;
next	1.15;

1.15
date	2001.04.20.23.53.48;	author wlemb;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.13.16.51.26;	author wlemb;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.23.17.55.43;	author wlemb;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.18.09.03.28;	author wlemb;	state Exp;
branches;
next	1.11;

1.11
date	2000.06.11.06.27.26;	author wlemb;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.31.14.18.43;	author wlemb;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.02.00.39.37;	author wlemb;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.30.05.12.45;	author wlemb;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.29.06.02.24;	author wlemb;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.14.22.16.58;	author wlemb;	state Exp;
branches;
next	1.5;

1.5
date	2000.03.14.17.16.54;	author wlemb;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.06.10.15.38;	author wlemb;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.03.21.48.41;	author wlemb;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.29.10.35.50;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.09.34.42;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.02.06.09.34.42;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.83
log
@

Improve configuration.

* configure.ac: Read `VERSION' and `REVISION' files to provide
proper values for AC_INIT.
* Makefile.in: Use `@@datarootdir@@' and `@@docdir@@' so that
configure's `--datarootdir' and `--docdir' options are honoured.
Documentation is now by default installed into something like
`/usr/local/share/doc/groff-1.20.1'.

* configure: Regenerated.
@
text
@#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.63 for groff 1.20.1.
#
# Report bugs to <bug-groff@@gnu.org>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

as_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='printf %s\n'
  as_echo_n='printf %s'
else
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    as_echo_n='/usr/ucb/echo -n'
  else
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    as_echo_n_body='eval
      arg=$1;
      case $arg in
      *"$as_nl"*)
	expr "X$arg" : "X\\(.*\\)$as_nl";
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
      esac;
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    '
    export as_echo_n_body
    as_echo_n='sh -c $as_echo_n_body as_echo'
  fi
  export as_echo_body
  as_echo='sh -c $as_echo_body as_echo'
fi

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# CDPATH.
$as_unset CDPATH


if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
fi

  if test $as_have_required = yes &&	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  case $as_dir in
	 /*)
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
(as_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
	done
	export CONFIG_SHELL
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell bug-autoconf@@gnu.org about your system,
  echo including any error possibly output before this message.
  echo This can help us improve future autoconf versions.
  echo Configuration will now proceed without shell functions.
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}


if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
esac
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -p'
  fi
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
	test -d "$1/.";
      else
	case $1 in
	-*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"



exec 7<&0 </dev/null 6>&1

# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

#
# Initializations.
#
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Identity of this package.
PACKAGE_NAME='groff'
PACKAGE_TARNAME='groff-1.20.1'
PACKAGE_VERSION='1.20.1'
PACKAGE_STRING='groff 1.20.1'
PACKAGE_BUGREPORT='bug-groff@@gnu.org'

ac_unique_file="src/roff/groff/groff.cpp"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"

ac_subst_vars='LTLIBOBJS
GLIBC21
pnmtops_nosetpage
make_install_pdfdoc
make_pdfdoc
ac_ct_AWK
AWK
ALT_AWK_PROGS
make_install_html
make_html
pnmtops
psselect
pnmtopng
pnmcrop
pnmcut
ac_ct_GHOSTSCRIPT
GHOSTSCRIPT
ALT_GHOSTSCRIPT_PROGS
GROFF_PATH_SEPARATOR
tmac_wrap
sys_tmac_prefix
g
PAGE
BROKEN_SPOOLER_FLAGS
LIBOBJS
LIBEXT
LTLIBICONV
LIBICONV
host_os
host_vendor
host_cpu
host
build_os
build_vendor
build_cpu
build
LIBM
LIBC
SH_SCRIPT_SED_CMD
LN_S
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
INSTALL_INFO
RANLIB
MAKEINFO
YACC
PERLPATH
EGREP
GREP
DVIPRINT
PSPRINT
LPQ
LP
LPR
appresdir
XLIBDIRS
XPROGDIRS
XDEVDIRS
X_EXTRA_LIBS
X_LIBS
X_PRE_LIBS
X_CFLAGS
CPP
XMKMF
OTHERDEVDIRS
TTYDEVDIRS
ac_ct_CXX
CXXFLAGS
CXX
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
LDFLAGS
CFLAGS
CC
target_alias
host_alias
build_alias
LIBS
ECHO_T
ECHO_N
ECHO_C
DEFS
mandir
localedir
libdir
psdir
pdfdir
dvidir
htmldir
infodir
docdir
oldincludedir
includedir
localstatedir
sharedstatedir
sysconfdir
datadir
datarootdir
libexecdir
sbindir
bindir
program_transform_name
prefix
exec_prefix
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_x
with_appresdir
with_gnu_ld
enable_rpath
with_libiconv_prefix
with_alt_gs
with_gs
with_alt_awk
with_awk
'
      ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CXX
CXXFLAGS
CCC
XMKMF
CPP'


# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
ac_unrecognized_opts=
ac_unrecognized_sep=
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'

ac_prev=
ac_dashdash=
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval $ac_prev=\$ac_option
    ac_prev=
    continue
  fi

  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    datadir=$ac_optarg ;;

  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   { (exit 1); exit 1; }; }
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=no ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;

  -enable-* | --enable-*)
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   { (exit 1); exit 1; }; }
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=\$ac_optarg ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst | --locals)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   { (exit 1); exit 1; }; }
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=\$ac_optarg ;;

  -without-* | --without-*)
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   { (exit 1); exit 1; }; }
    ac_useropt_orig=$ac_useropt
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=no ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   { (exit 1); exit 1; }; }
    eval $ac_envvar=\$ac_optarg
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
fi

if test -n "$ac_unrecognized_opts"; then
  case $enable_option_checking in
    no) ;;
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   { (exit 1); exit 1; }; } ;;
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  esac
fi

# Check all directory arguments for consistency.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
do
  eval ac_val=\$$ac_var
  # Remove trailing slashes.
  case $ac_val in
    */ )
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
      eval $ac_var=\$ac_val;;
  esac
  # Be sure to have absolute directory names.
  case $ac_val in
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  esac
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; }
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   { (exit 1); exit 1; }; }


# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then the parent directory.
  ac_confdir=`$as_dirname -- "$as_myself" ||
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_myself" : 'X\(//\)[^/]' \| \
	 X"$as_myself" : 'X\(//\)$' \| \
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_myself" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  srcdir=$ac_confdir
  if test ! -r "$srcdir/$ac_unique_file"; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   { (exit 1); exit 1; }; }
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<_ACEOF
\`configure' configures groff 1.20.1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/groff-1.20.1]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]
_ACEOF

  cat <<\_ACEOF

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of groff 1.20.1:";;
   esac
  cat <<\_ACEOF

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-rpath         do not hardcode runtime library paths

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-x                use the X Window System
  --with-appresdir=DIR    X11 application resource files
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-alt-gs=LIST      alternative names for ghostscript executable
  --with-gs=PROG          actual [/path/]name of ghostscript executable
  --with-alt-awk=LIST     alternative names for awk executable
  --with-awk=PROG         actual [/path/]name of awk executable

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  XMKMF       Path to xmkmf, Makefile generator for X Window System
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <bug-groff@@gnu.org>.
_ACEOF
ac_status=$?
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
    ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
    else
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
  done
fi

test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
  cat <<\_ACEOF
groff configure 1.20.1
generated by GNU Autoconf 2.63

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
  exit
fi
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by groff $as_me 1.20.1, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ $0 $@@

_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  $as_echo "PATH: $as_dir"
done
IFS=$as_save_IFS

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
    *\'*)
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    case $ac_pass in
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    2)
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
      if test $ac_must_keep_next = true; then
	ac_must_keep_next=false # Got value, back to normal.
      else
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
      fi
      ac_configure_args="$ac_configure_args '$ac_arg'"
      ;;
    esac
  done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  {
    echo

    cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
    echo
    # The following way of writing the cache mishandles newlines in values,
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
  (set) 2>&1 |
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
      sed -n \
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
    *)
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
)
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      $as_echo "$ac_var='\''$ac_val'\''"
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
## ------------------- ##
## File substitutions. ##
## ------------------- ##
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	$as_echo "$ac_var='\''$ac_val'\''"
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
      cat confdefs.h
      echo
    fi
    test "$ac_signal" != 0 &&
      $as_echo "$as_me: caught signal $ac_signal"
    $as_echo "$as_me: exit $exit_status"
  } >&5
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF


# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
ac_site_file1=NONE
ac_site_file2=NONE
if test -n "$CONFIG_SITE"; then
  ac_site_file1=$CONFIG_SITE
elif test "x$prefix" != xNONE; then
  ac_site_file1=$prefix/share/config.site
  ac_site_file2=$prefix/etc/config.site
else
  ac_site_file1=$ac_default_prefix/share/config.site
  ac_site_file2=$ac_default_prefix/etc/config.site
fi
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
  test "x$ac_site_file" = xNONE && continue
  if test -r "$ac_site_file"; then
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special
  # files actually), so we avoid doing that.
  if test -f "$cache_file"; then
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
$as_echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
    esac
  fi
else
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
$as_echo "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
  case $ac_old_set,$ac_new_set in
    set,)
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
	# differences in whitespace do not lead to failure.
	ac_old_val_w=`echo x $ac_old_val`
	ac_new_val_w=`echo x $ac_new_val`
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
	  ac_cache_corrupted=:
	else
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
	  eval $ac_var=\$ac_old_val
	fi
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { (exit 1); exit 1; }; }
fi

























ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu




ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"



# checks for programs
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_CC="gcc"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  fi
fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@"
  fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl.exe
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl.exe
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$ac_ct_CC" && break
done

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
fi

fi


test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&5
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }; }

# Provide some information about the compiler.
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler --version >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler -v >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler -V >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
$as_echo_n "checking for C compiler default output file name... " >&6; }
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`

# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"

ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { (ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link_default") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
	;;
    [ab].out )
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
    *.* )
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an `-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
	break;;
    * )
	break;;
  esac
done
test "$ac_cv_exeext" = no && ac_cv_exeext=

else
  ac_file=''
fi

{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
$as_echo "$ac_file" >&6; }
if test -z "$ac_file"; then
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
See \`config.log' for more details." >&5
$as_echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
   { (exit 77); exit 77; }; }; }
fi

ac_exeext=$ac_cv_exeext

# Check that the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
$as_echo_n "checking whether the C compiler works... " >&6; }
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
$as_echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }; }
    fi
  fi
fi
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
# Check that the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
$as_echo_n "checking whether we are cross compiling... " >&6; }
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
$as_echo "$cross_compiling" >&6; }

{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
$as_echo_n "checking for suffix of executables... " >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	  break;;
    * ) break;;
  esac
done
else
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&5
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }; }
fi

rm -f conftest$ac_cv_exeext
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
$as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  for ac_file in conftest.o conftest.obj conftest.*; do
  test -f "$ac_file" || continue;
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       break;;
  esac
done
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&5
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }; }
fi

rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
$as_echo "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_compiler_gnu=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_compiler_gnu=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
  GCC=yes
else
  GCC=
fi
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
$as_echo_n "checking whether $CC accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_g=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	CFLAGS=""
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  :
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_g=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
$as_echo "$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
     char **p;
     int i;
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}

/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   function prototypes and stuff, but not '\xHH' hex character constants.
   These don't provoke an error unfortunately, instead are silently treated
   as 'x'.  The following induces an error, until -std is added to get
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   array size at least.  It's necessary to write '\x00'==0 to get something
   that's true only with -std.  */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];

/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   inside strings and character constants.  */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];

int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  ;
  return 0;
}
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_c89=$ac_arg
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext
  test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC

fi
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c89" in
  x)
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
  xno)
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
$as_echo "unsupported" >&6; } ;;
  *)
    CC="$CC $ac_cv_prog_cc_c89"
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
esac


ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
if test -z "$CXX"; then
  if test -n "$CCC"; then
    CXX=$CCC
  else
    if test -n "$ac_tool_prefix"; then
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CXX+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
$as_echo "$CXX" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


    test -n "$CXX" && break
  done
fi
if test -z "$CXX"; then
  ac_ct_CXX=$CXX
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_CXX"; then
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_CXX="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
$as_echo "$ac_ct_CXX" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$ac_ct_CXX" && break
done

  if test "x$ac_ct_CXX" = x; then
    CXX="g++"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CXX=$ac_ct_CXX
  fi
fi

  fi
fi
# Provide some information about the compiler.
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
set X $ac_compile
ac_compiler=$2
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler --version >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler -v >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compiler -V >&5") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_compiler_gnu=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_compiler_gnu=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu

fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
  GXX=yes
else
  GXX=
fi
ac_test_CXXFLAGS=${CXXFLAGS+set}
ac_save_CXXFLAGS=$CXXFLAGS
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
if test "${ac_cv_prog_cxx_g+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   ac_cxx_werror_flag=yes
   ac_cv_prog_cxx_g=no
   CXXFLAGS="-g"
   cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cxx_g=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	CXXFLAGS=""
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  :
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
	 CXXFLAGS="-g"
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cxx_g=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
$as_echo "$ac_cv_prog_cxx_g" >&6; }
if test "$ac_test_CXXFLAGS" = set; then
  CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
  if test "$GXX" = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-g"
  fi
else
  if test "$GXX" = yes; then
    CXXFLAGS="-O2"
  else
    CXXFLAGS=
  fi
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu



   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "$cross_compiling" = no; then
     { $as_echo "$as_me:$LINENO: checking that C++ compiler can compile simple program" >&5
$as_echo_n "checking that C++ compiler can compile simple program... " >&6; }
   fi
   if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int main() {
  return 0;
}



_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
      { { $as_echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
$as_echo "$as_me: error: a working C++ compiler is required" >&2;}
   { (exit 1); exit 1; }; }
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi



   if test "$cross_compiling" = no; then
     { $as_echo "$as_me:$LINENO: checking that C++ static constructors and destructors are called" >&5
$as_echo_n "checking that C++ static constructors and destructors are called... " >&6; }
   fi
   if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


extern "C" {
  void _exit(int);
}

int i;
struct A {
  char dummy;
  A() { i = 1; }
  ~A() { if (i == 1) _exit(0); }
};

A a;

int main()
{
  return 1;
}



_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
      { { $as_echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
$as_echo "$as_me: error: a working C++ compiler is required" >&2;}
   { (exit 1); exit 1; }; }
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi



   { $as_echo "$as_me:$LINENO: checking that header files support C++" >&5
$as_echo_n "checking that header files support C++... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>


int
main ()
{


fopen(0, 0);


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
      { { $as_echo "$as_me:$LINENO: error: header files do not support C++
		   (if you are using a version of gcc/g++ earlier than 2.5,
		   you should install libg++)" >&5
$as_echo "$as_me: error: header files do not support C++
		   (if you are using a version of gcc/g++ earlier than 2.5,
		   you should install libg++)" >&2;}
   { (exit 1); exit 1; }; }
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ $as_echo "$as_me:$LINENO: checking whether character set is EBCDIC" >&5
$as_echo_n "checking whether character set is EBCDIC... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


/* Treat any failure as ASCII for compatibility with existing art.
   Use compile-time rather than run-time tests for cross-compiler
   tolerance. */
#if '0' != 240
make an error "Character set is not EBCDIC"
#endif


int
main ()
{

  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_ebcdic="yes"
      TTYDEVDIRS="font/devcp1047"
      { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define IS_EBCDIC_HOST 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_ebcdic="no"
     TTYDEVDIRS="font/devascii font/devlatin1"
     OTHERDEVDIRS="font/devlj4 font/devlbp"
     { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext


if test "$groff_cv_ebcdic" = "yes"; then
     { $as_echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
$as_echo_n "checking for OS/390 Unix... " >&6; }
     case `uname` in
     OS/390)
       CFLAGS="$CFLAGS -D_ALL_SOURCE"
       { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; } ;;
     *)
       { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; } ;;
     esac
   fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
$as_echo_n "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  $as_echo_n "(cached) " >&6
else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  :
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi

rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether nonexistent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  # Broken: success on invalid input.
continue
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi

rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
$as_echo "$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  :
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi

rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether nonexistent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  # Broken: success on invalid input.
continue
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi

rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ $as_echo "$as_me:$LINENO: checking for X" >&5
$as_echo_n "checking for X... " >&6; }


# Check whether --with-x was given.
if test "${with_x+set}" = set; then
  withval=$with_x;
fi

# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
  # The user explicitly disabled X.
  have_x=disabled
else
  case $x_includes,$x_libraries in #(
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
   { (exit 1); exit 1; }; };; #(
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  # One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
rm -f -r conftest.dir
if mkdir conftest.dir; then
  cd conftest.dir
  cat >Imakefile <<'_ACEOF'
incroot:
	@@echo incroot='${INCROOT}'
usrlibdir:
	@@echo usrlibdir='${USRLIBDIR}'
libdir:
	@@echo libdir='${LIBDIR}'
_ACEOF
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    for ac_var in incroot usrlibdir libdir; do
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
    done
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    for ac_extension in a so sl dylib la dll; do
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
	ac_im_usrlibdir=$ac_im_libdir; break
      fi
    done
    # Screen out bogus values from the imake configuration.  They are
    # bogus both because they are the default anyway, and because
    # using them would break gcc on systems where it needs fixed includes.
    case $ac_im_incroot in
	/usr/include) ac_x_includes= ;;
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
    esac
    case $ac_im_usrlibdir in
	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
    esac
  fi
  cd ..
  rm -f -r conftest.dir
fi

# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include

/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4

/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include

/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4

/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11

/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include

/usr/openwin/include
/usr/openwin/share/include'

if test "$ac_x_includes" = no; then
  # Guess where to find include files, by looking for Xlib.h.
  # First, try using that file with no special directory specified.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  # We can compile using X headers with no special include directory.
ac_x_includes=
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  for ac_dir in $ac_x_header_dirs; do
  if test -r "$ac_dir/X11/Xlib.h"; then
    ac_x_includes=$ac_dir
    break
  fi
done
fi

rm -f conftest.err conftest.$ac_ext
fi # $ac_x_includes = no

if test "$ac_x_libraries" = no; then
  # Check for the libraries.
  # See if we find them without any special options.
  # Don't add to $LIBS permanently.
  ac_save_LIBS=$LIBS
  LIBS="-lX11 $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>
int
main ()
{
XrmInitialize ()
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	LIBS=$ac_save_LIBS
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
  # Don't even attempt the hair of trying to link an X program!
  for ac_extension in a so sl dylib la dll; do
    if test -r "$ac_dir/libX11.$ac_extension"; then
      ac_x_libraries=$ac_dir
      break 2
    fi
  done
done
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi # $ac_x_libraries = no

case $ac_x_includes,$ac_x_libraries in #(
  no,* | *,no | *\'*)
    # Didn't find X, or a directory has "'" in its name.
    ac_cv_have_x="have_x=no";; #(
  *)
    # Record where we found X for the cache.
    ac_cv_have_x="have_x=yes\
	ac_x_includes='$ac_x_includes'\
	ac_x_libraries='$ac_x_libraries'"
esac
fi
;; #(
    *) have_x=yes;;
  esac
  eval "$ac_cv_have_x"
fi # $with_x != no

if test "$have_x" != yes; then
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
$as_echo "$have_x" >&6; }
  no_x=yes
else
  # If each of the values was on the command line, it overrides each guess.
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  # Update the cache value to reflect the command line values.
  ac_cv_have_x="have_x=yes\
	ac_x_includes='$x_includes'\
	ac_x_libraries='$x_libraries'"
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
fi

if test "$no_x" = yes; then
  # Not all programs may use this symbol, but it does not hurt to define it.

cat >>confdefs.h <<\_ACEOF
#define X_DISPLAY_MISSING 1
_ACEOF

  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
  if test -n "$x_includes"; then
    X_CFLAGS="$X_CFLAGS -I$x_includes"
  fi

  # It would also be nice to do this for all -L options, not just this one.
  if test -n "$x_libraries"; then
    X_LIBS="$X_LIBS -L$x_libraries"
    # For Solaris; some versions of Sun CC require a space after -R and
    # others require no space.  Words are not sufficient . . . .
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
    ac_xsave_c_werror_flag=$ac_c_werror_flag
    ac_c_werror_flag=yes
    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
       X_LIBS="$X_LIBS -R$x_libraries"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	LIBS="$ac_xsave_LIBS -R $x_libraries"
       cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
	  X_LIBS="$X_LIBS -R $x_libraries"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: neither works" >&5
$as_echo "neither works" >&6; }
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
    ac_c_werror_flag=$ac_xsave_c_werror_flag
    LIBS=$ac_xsave_LIBS
  fi

  # Check for system-dependent libraries X programs must link with.
  # Do this before checking for the system-independent R6 libraries
  # (-lICE), since we may need -lsocket or whatever for X linking.

  if test "$ISC" = yes; then
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  else
    # Martyn Johnson says this is needed for Ultrix, if the X
    # libraries were built with DECnet support.  And Karl Berry says
    # the Alpha needs dnet_stub (dnet does not exist).
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char XOpenDisplay ();
int
main ()
{
return XOpenDisplay ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  :
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldnet  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char dnet_ntoa ();
int
main ()
{
return dnet_ntoa ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_dnet_dnet_ntoa=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_dnet_dnet_ntoa=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
fi

    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldnet_stub  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char dnet_ntoa ();
int
main ()
{
return dnet_ntoa ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_dnet_stub_dnet_ntoa=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
fi

    fi
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
    LIBS="$ac_xsave_LIBS"

    # msh@@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
    # to get the SysV transport functions.
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
    # needs -lnsl.
    # The nsl library prevents programs from opening the X display
    # on Irix 5.2, according to T.E. Dickey.
    # The functions gethostbyname, getservbyname, and inet_addr are
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
$as_echo_n "checking for gethostbyname... " >&6; }
if test "${ac_cv_func_gethostbyname+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define gethostbyname innocuous_gethostbyname

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gethostbyname (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef gethostbyname

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_gethostbyname || defined __stub___gethostbyname
choke me
#endif

int
main ()
{
return gethostbyname ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_func_gethostbyname=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_func_gethostbyname=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
$as_echo "$ac_cv_func_gethostbyname" >&6; }

    if test $ac_cv_func_gethostbyname = no; then
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
int
main ()
{
return gethostbyname ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_nsl_gethostbyname=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_nsl_gethostbyname=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
fi

      if test $ac_cv_lib_nsl_gethostbyname = no; then
	{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
int
main ()
{
return gethostbyname ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_bsd_gethostbyname=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_bsd_gethostbyname=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
fi

      fi
    fi

    # lieder@@skyler.mavd.honeywell.com says without -lsocket,
    # socket/setsockopt and other routines are undefined under SCO ODT
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
    # on later versions), says Simon Leinen: it contains gethostby*
    # variants that don't use the name server (or something).  -lsocket
    # must be given before -lnsl if both are needed.  We assume that
    # if connect needs -lnsl, so does gethostbyname.
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
$as_echo_n "checking for connect... " >&6; }
if test "${ac_cv_func_connect+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define connect innocuous_connect

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char connect (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef connect

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char connect ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_connect || defined __stub___connect
choke me
#endif

int
main ()
{
return connect ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_func_connect=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_func_connect=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
$as_echo "$ac_cv_func_connect" >&6; }

    if test $ac_cv_func_connect = no; then
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
$as_echo_n "checking for connect in -lsocket... " >&6; }
if test "${ac_cv_lib_socket_connect+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char connect ();
int
main ()
{
return connect ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_socket_connect=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_socket_connect=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
$as_echo "$ac_cv_lib_socket_connect" >&6; }
if test "x$ac_cv_lib_socket_connect" = x""yes; then
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
fi

    fi

    # Guillermo Gomez says -lposix is necessary on A/UX.
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
$as_echo_n "checking for remove... " >&6; }
if test "${ac_cv_func_remove+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define remove innocuous_remove

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char remove (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef remove

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char remove ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_remove || defined __stub___remove
choke me
#endif

int
main ()
{
return remove ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_func_remove=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_func_remove=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
$as_echo "$ac_cv_func_remove" >&6; }

    if test $ac_cv_func_remove = no; then
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
$as_echo_n "checking for remove in -lposix... " >&6; }
if test "${ac_cv_lib_posix_remove+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lposix  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char remove ();
int
main ()
{
return remove ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_posix_remove=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_posix_remove=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
$as_echo "$ac_cv_lib_posix_remove" >&6; }
if test "x$ac_cv_lib_posix_remove" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
fi

    fi

    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
$as_echo_n "checking for shmat... " >&6; }
if test "${ac_cv_func_shmat+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define shmat innocuous_shmat

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char shmat (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef shmat

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char shmat ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_shmat || defined __stub___shmat
choke me
#endif

int
main ()
{
return shmat ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_func_shmat=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_func_shmat=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
$as_echo "$ac_cv_func_shmat" >&6; }

    if test $ac_cv_func_shmat = no; then
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
$as_echo_n "checking for shmat in -lipc... " >&6; }
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lipc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char shmat ();
int
main ()
{
return shmat ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_ipc_shmat=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_ipc_shmat=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
fi

    fi
  fi

  # Check for libraries that X11R6 Xt/Xaw programs need.
  ac_save_LDFLAGS=$LDFLAGS
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  # check for ICE first), but we must link in the order -lSM -lICE or
  # we get undefined symbols.  So assume we have SM if we have ICE.
  # These have to be linked with before -lX11, unlike the other
  # libraries we check for below, so use a different variable.
  # John Interrante, Karl Berry
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char IceConnectionNumber ();
int
main ()
{
return IceConnectionNumber ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_ICE_IceConnectionNumber=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_ICE_IceConnectionNumber=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
fi

  LDFLAGS=$ac_save_LDFLAGS

fi


   groff_no_x=$no_x
   if test -z "$groff_no_x"; then
     OLDCFLAGS=$CFLAGS
     OLDLDFLAGS=$LDFLAGS
     OLDLIBS=$LIBS
     CFLAGS="$CFLAGS $X_CFLAGS"
     LDFLAGS="$LDFLAGS $X_LIBS"
     LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"

     LIBS="$LIBS -lXaw"
     { $as_echo "$as_me:$LINENO: checking for Xaw library and header files" >&5
$as_echo_n "checking for Xaw library and header files... " >&6; }
     cat >conftest.$ac_ext <<_ACEOF

	 /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <X11/Intrinsic.h>
#include <X11/Xaw/Simple.h>


int
main ()
{

  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
	groff_no_x="yes"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext

     LIBS="$LIBS -lXmu"
     { $as_echo "$as_me:$LINENO: checking for Xmu library and header files" >&5
$as_echo_n "checking for Xmu library and header files... " >&6; }
     cat >conftest.$ac_ext <<_ACEOF

	 /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <X11/Intrinsic.h>
#include <X11/Xmu/Converters.h>


int
main ()
{

  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
	groff_no_x="yes"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext

     CFLAGS=$OLDCFLAGS
     LDFLAGS=$OLDLDFLAGS
     LIBS=$OLDLIBS
   fi

   if test "x$groff_no_x" = "xyes"; then
     { $as_echo "$as_me:$LINENO: gxditview and xtotroff won't be built" >&5
$as_echo "$as_me: gxditview and xtotroff won't be built" >&6;}
   else
     XDEVDIRS="font/devX75 font/devX75-12 font/devX100 font/devX100-12"
     XPROGDIRS="src/devices/xditview src/utils/xtotroff"
     XLIBDIRS="src/libs/libxutil"
   fi





# Check whether --with-appresdir was given.
if test "${with_appresdir+set}" = set; then
  withval=$with_appresdir;
fi

if test -z "$groff_no_x"; then
     # Create an Imakefile, run `xmkmf', then `make'.
     rm -f -r conftest.dir
     if mkdir conftest.dir; then
       cd conftest.dir
       # Make sure to not put `make' in the Imakefile rules,
       # since we grep it out.
       cat >Imakefile <<'EOF'

xlibdirs:
	@@echo 'groff_x_usrlibdir="${USRLIBDIR}"; groff_x_libdir="${LIBDIR}"'
EOF

       if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
	 # GNU make sometimes prints "make[1]: Entering...",
	 # which would confuse us.
	 eval `${MAKE-make} xlibdirs 2>/dev/null | grep -v make`

	 # Open Windows `xmkmf' reportedly sets LIBDIR instead of USRLIBDIR.
	 for groff_extension in a so sl; do
	   if test ! -f $groff_x_usrlibdir/libX11.$groff_extension &&
	      test -f $groff_x_libdir/libX11.$groff_extension; then
	     groff_x_usrlibdir=$groff_x_libdir
	     break
	   fi
	 done
       fi

       cd ..
       rm -f -r conftest.dir
     fi

     # In case the test with `xmkmf' wasn't successful, try a suite of
     # standard directories.  Check `X11' before `X11Rn' because it is often
     # a symlink to the current release.
     groff_x_libdirs='
       /usr/X11/lib
       /usr/X11R6/lib
       /usr/X11R5/lib
       /usr/X11R4/lib

       /usr/lib/X11
       /usr/lib/X11R6
       /usr/lib/X11R5
       /usr/lib/X11R4

       /usr/local/X11/lib
       /usr/local/X11R6/lib
       /usr/local/X11R5/lib
       /usr/local/X11R4/lib

       /usr/local/lib/X11
       /usr/local/lib/X11R6
       /usr/local/lib/X11R5
       /usr/local/lib/X11R4

       /usr/X386/lib
       /usr/x386/lib
       /usr/XFree86/lib/X11

       /usr/lib
       /usr/local/lib
       /usr/unsupported/lib
       /usr/athena/lib
       /usr/local/x11r5/lib
       /usr/lpp/Xamples/lib

       /usr/openwin/lib
       /usr/openwin/share/lib'

     if test -z "$groff_x_usrlibdir"; then
       # We only test whether libX11 exists.
       for groff_dir in $groff_x_libdirs; do
	 for groff_extension in a so sl; do
	   if test ! -r $groff_dir/libX11.$groff_extension; then
	     groff_x_usrlibdir=$groff_dir
	     break 2
	   fi
	 done
       done
     fi

     if test "x$with_appresdir" = "x"; then
       appresdir=$groff_x_usrlibdir/X11/app-defaults
     else
       appresdir=$with_appresdir
     fi
   fi

if test -z "$PSPRINT"; then
     for ac_prog in lpr
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_LPR+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$LPR"; then
  ac_cv_prog_LPR="$LPR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_LPR="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
LPR=$ac_cv_prog_LPR
if test -n "$LPR"; then
  { $as_echo "$as_me:$LINENO: result: $LPR" >&5
$as_echo "$LPR" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$LPR" && break
done

     for ac_prog in lp
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_LP+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$LP"; then
  ac_cv_prog_LP="$LP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_LP="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
LP=$ac_cv_prog_LP
if test -n "$LP"; then
  { $as_echo "$as_me:$LINENO: result: $LP" >&5
$as_echo "$LP" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$LP" && break
done

     if test -n "$LPR" && test -n "$LP"; then
       # HP-UX provides an lpr command that emulates lpr using lp,
       # but it doesn't have lpq; in this case we want to use lp
       # rather than lpr.
       for ac_prog in lpq
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_LPQ+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$LPQ"; then
  ac_cv_prog_LPQ="$LPQ" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_LPQ="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
LPQ=$ac_cv_prog_LPQ
if test -n "$LPQ"; then
  { $as_echo "$as_me:$LINENO: result: $LPQ" >&5
$as_echo "$LPQ" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$LPQ" && break
done

       test -n "$LPQ" || LPR=
     fi
     if test -n "$LPR"; then
       PSPRINT="$LPR"
     elif test -n "$LP"; then
       PSPRINT="$LP"
     fi
   fi

   { $as_echo "$as_me:$LINENO: checking for command to use for printing PostScript files" >&5
$as_echo_n "checking for command to use for printing PostScript files... " >&6; }
   { $as_echo "$as_me:$LINENO: result: $PSPRINT" >&5
$as_echo "$PSPRINT" >&6; }

   # Figure out DVIPRINT from PSPRINT.
   { $as_echo "$as_me:$LINENO: checking for command to use for printing dvi files" >&5
$as_echo_n "checking for command to use for printing dvi files... " >&6; }
   if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
     if test "x$PSPRINT" = "xlpr"; then
       DVIPRINT="lpr -d"
     else
       DVIPRINT="$PSPRINT"
     fi
   fi

   { $as_echo "$as_me:$LINENO: result: $DVIPRINT" >&5
$as_echo "$DVIPRINT" >&6; }
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -z "$GREP"; then
  ac_path_GREP_found=false
  # Loop through the user's path and test for each of PROGNAME-LIST
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in grep ggrep; do
    for ac_exec_ext in '' $ac_executable_extensions; do
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Check for GNU ac_path_GREP and select it if it is found.
  # Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
  ac_count=0
  $as_echo_n 0123456789 >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    $as_echo 'GREP' >> "conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_GREP="$ac_path_GREP"
      ac_path_GREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac

      $ac_path_GREP_found && break 3
    done
  done
done
IFS=$as_save_IFS
  if test -z "$ac_cv_path_GREP"; then
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
  fi
else
  ac_cv_path_GREP=$GREP
fi

fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
$as_echo "$ac_cv_path_GREP" >&6; }
 GREP="$ac_cv_path_GREP"


{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
$as_echo_n "checking for egrep... " >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   then ac_cv_path_EGREP="$GREP -E"
   else
     if test -z "$EGREP"; then
  ac_path_EGREP_found=false
  # Loop through the user's path and test for each of PROGNAME-LIST
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in egrep; do
    for ac_exec_ext in '' $ac_executable_extensions; do
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Check for GNU ac_path_EGREP and select it if it is found.
  # Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
  ac_count=0
  $as_echo_n 0123456789 >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    $as_echo 'EGREP' >> "conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP="$ac_path_EGREP"
      ac_path_EGREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac

      $ac_path_EGREP_found && break 3
    done
  done
done
IFS=$as_save_IFS
  if test -z "$ac_cv_path_EGREP"; then
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
  fi
else
  ac_cv_path_EGREP=$EGREP
fi

   fi
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
$as_echo "$ac_cv_path_EGREP" >&6; }
 EGREP="$ac_cv_path_EGREP"


# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_PERLPATH+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  case $PERLPATH in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_PERLPATH="$PERLPATH" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_path_PERLPATH="$as_dir/$ac_word$ac_exec_ext"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_path_PERLPATH" && ac_cv_path_PERLPATH="/usr/bin/perl"
  ;;
esac
fi
PERLPATH=$ac_cv_path_PERLPATH
if test -n "$PERLPATH"; then
  { $as_echo "$as_me:$LINENO: result: $PERLPATH" >&5
$as_echo "$PERLPATH" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


for ac_prog in byacc 'bison -y'
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_YACC+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$YACC"; then
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_YACC="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
YACC=$ac_cv_prog_YACC
if test -n "$YACC"; then
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
$as_echo "$YACC" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$YACC" && break
done
test -n "$YACC" || YACC="yacc"

missing=
   # Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$MAKEINFO"; then
  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_MAKEINFO="makeinfo"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
MAKEINFO=$ac_cv_prog_MAKEINFO
if test -n "$MAKEINFO"; then
  { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
$as_echo "$MAKEINFO" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


   if test -z "$MAKEINFO"; then
     missing="\`makeinfo' is missing."
   else
     { $as_echo "$as_me:$LINENO: checking for makeinfo version" >&5
$as_echo_n "checking for makeinfo version... " >&6; }
     # We need an additional level of quoting to make sed's regexps work.
     makeinfo_version=`$MAKEINFO --version 2>&1 \
       | sed -e 's/^.* \([^ ][^ ]*\)$/\1/' -e '1q'`
     { $as_echo "$as_me:$LINENO: result: $makeinfo_version" >&5
$as_echo "$makeinfo_version" >&6; }
     # Consider only the first two numbers in version number string.
     makeinfo_version_major=`IFS=.; set x $makeinfo_version; echo 0${2}`
     makeinfo_version_minor=`IFS=.; set x $makeinfo_version; echo 0${3}`
     makeinfo_version_numeric=`
       expr ${makeinfo_version_major}000 \+ ${makeinfo_version_minor}`
     if test $makeinfo_version_numeric -lt 4008; then
       missing="\`makeinfo' is too old."
     fi
   fi

   if test -n "$missing"; then
     infofile=doc/groff.info
     test -f ${infofile} || infofile=${srcdir}/${infofile}
     if test ! -f ${infofile} \
	|| test ${srcdir}/doc/groff.texinfo -nt ${infofile}; then
       { { $as_echo "$as_me:$LINENO: error: $missing
Get the \`texinfo' package version 4.8 or newer." >&5
$as_echo "$as_me: error: $missing
Get the \`texinfo' package version 4.8 or newer." >&2;}
   { (exit 1); exit 1; }; }
     else
       { $as_echo "$as_me:$LINENO: WARNING: $missing
Get the \`texinfo' package version 4.8 or newer if you want to convert
\`groff.texinfo' into a PDF or HTML document." >&5
$as_echo "$as_me: WARNING: $missing
Get the \`texinfo' package version 4.8 or newer if you want to convert
\`groff.texinfo' into a PDF or HTML document." >&2;}
     fi
   fi

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
$as_echo "$RANLIB" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_RANLIB="ranlib"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
$as_echo "$ac_ct_RANLIB" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

  if test "x$ac_ct_RANLIB" = x; then
    RANLIB=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    RANLIB=$ac_ct_RANLIB
  fi
else
  RANLIB="$ac_cv_prog_RANLIB"
fi

ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  if test -f "$ac_dir/install-sh"; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f "$ac_dir/install.sh"; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  elif test -f "$ac_dir/shtool"; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   { (exit 1); exit 1; }; }
fi

# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.



   ac_dir=`cd $ac_aux_dir; pwd`
   ac_install_sh="$ac_dir/install-sh -c"
for ac_prog in install-info
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_INSTALL_INFO+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$INSTALL_INFO"; then
  ac_cv_prog_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_INSTALL_INFO="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
INSTALL_INFO=$ac_cv_prog_INSTALL_INFO
if test -n "$INSTALL_INFO"; then
  { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
$as_echo "$INSTALL_INFO" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$INSTALL_INFO" && break
done
test -n "$INSTALL_INFO" || INSTALL_INFO=":"

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
# Reject install programs that cannot install multiple files.
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
$as_echo_n "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
	  if test $ac_prog = install &&
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  elif test $ac_prog = install &&
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # program-specific install script used by HP pwplus--don't use.
	    :
	  else
	    rm -rf conftest.one conftest.two conftest.dir
	    echo one > conftest.one
	    echo two > conftest.two
	    mkdir conftest.dir
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
	      test -s conftest.one && test -s conftest.two &&
	      test -s conftest.dir/conftest.one &&
	      test -s conftest.dir/conftest.two
	    then
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
	      break 3
	    fi
	  fi
	fi
      done
    done
    ;;
esac

done
IFS=$as_save_IFS

rm -rf conftest.one conftest.two conftest.dir

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  Don't cache a
    # value for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the value is a relative name.
    INSTALL=$ac_install_sh
  fi
fi
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
$as_echo "$INSTALL" >&6; }

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
$as_echo_n "checking whether ln -s works... " >&6; }
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
$as_echo "no, using $LN_S" >&6; }
fi


# use a dummy substitution if no csh hack is necessary to avoid errors
# with non-GNU sed programs
{ $as_echo "$as_me:$LINENO: checking for csh hash hack" >&5
$as_echo_n "checking for csh hash hack... " >&6; }

cat <<EOF >conftest.sh
#! /bin/sh
true || exit 0
export PATH || exit 0
exit 1
EOF

   chmod +x conftest.sh
   if echo ./conftest.sh | (csh >/dev/null 2>&1) >/dev/null 2>&1; then
     { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
     SH_SCRIPT_SED_CMD='1s/.*/:/'
   else
     { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
     SH_SCRIPT_SED_CMD='1s/a/a/'
   fi
   rm -f conftest.sh


# checks for headers
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_header_stdc=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_header_stdc=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ctype.h>
#include <stdlib.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) \
		   (('a' <= (c) && (c) <= 'i') \
		     || ('j' <= (c) && (c) <= 'r') \
		     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
	|| toupper (i) != TOUPPER (i))
      return 2;
  return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi


fi
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
$as_echo "$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
_ACEOF

fi

# On IRIX 5.3, sys/types and inttypes.h are conflicting.









for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
		  inttypes.h stdint.h unistd.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default

#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  eval "$as_ac_Header=yes"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	eval "$as_ac_Header=no"
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
as_val=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done














for ac_header in stddef.h stdlib.h unistd.h dirent.h limits.h sys/dir.h \
                  string.h strings.h math.h sys/time.h direct.h process.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
else
  # Is the header compilable?
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
$as_echo_n "checking $ac_header usability... " >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_header_compiler=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_header_compiler=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; }

# Is the header present?
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
$as_echo_n "checking $ac_header presence... " >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  ac_header_preproc=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi

rm -f conftest.err conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
$as_echo "$ac_header_preproc" >&6; }

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    ( cat <<\_ASBOX
## -------------------------------- ##
## Report this to bug-groff@@gnu.org ##
## -------------------------------- ##
_ASBOX
     ) | sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }

fi
as_val=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

{ $as_echo "$as_me:$LINENO: checking for ISC 3.x or 4.x" >&5
$as_echo_n "checking for ISC 3.x or 4.x... " >&6; }
   if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
   then
     { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define _SYSV3 1
_ACEOF

   else
     { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
   fi
{ $as_echo "$as_me:$LINENO: checking whether -D_POSIX_SOURCE is necessary" >&5
$as_echo_n "checking whether -D_POSIX_SOURCE is necessary... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
extern "C" { void fileno(int); }


int
main ()
{

  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define _POSIX_SOURCE 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


# checks for header stuff
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking for return type of srand" >&5
$as_echo_n "checking for return type of srand... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdlib.h>
extern "C" { void srand(unsigned int); }


int
main ()
{

  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: void" >&5
$as_echo "void" >&6; }

cat >>confdefs.h <<\_ACEOF
#define RET_TYPE_SRAND_IS_VOID 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: int" >&5
$as_echo "int" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether gettimeofday must be declared" >&5
$as_echo_n "checking whether gettimeofday must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef gettimeofday
  char *p = (char *) gettimeofday;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_gettimeofday=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_gettimeofday=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_gettimeofday" >&5
$as_echo "$groff_cv_decl_needed_gettimeofday" >&6; }
   if test $groff_cv_decl_needed_gettimeofday = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_GETTIMEOFDAY 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether hypot must be declared" >&5
$as_echo_n "checking whether hypot must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_hypot+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef hypot
  char *p = (char *) hypot;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_hypot=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_hypot=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_hypot" >&5
$as_echo "$groff_cv_decl_needed_hypot" >&6; }
   if test $groff_cv_decl_needed_hypot = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_HYPOT 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether popen must be declared" >&5
$as_echo_n "checking whether popen must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_popen+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef popen
  char *p = (char *) popen;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_popen=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_popen=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_popen" >&5
$as_echo "$groff_cv_decl_needed_popen" >&6; }
   if test $groff_cv_decl_needed_popen = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_POPEN 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether pclose must be declared" >&5
$as_echo_n "checking whether pclose must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_pclose+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef pclose
  char *p = (char *) pclose;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_pclose=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_pclose=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_pclose" >&5
$as_echo "$groff_cv_decl_needed_pclose" >&6; }
   if test $groff_cv_decl_needed_pclose = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_PCLOSE 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether putenv must be declared" >&5
$as_echo_n "checking whether putenv must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_putenv+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef putenv
  char *p = (char *) putenv;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_putenv=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_putenv=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_putenv" >&5
$as_echo "$groff_cv_decl_needed_putenv" >&6; }
   if test $groff_cv_decl_needed_putenv = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_PUTENV 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether rand must be declared" >&5
$as_echo_n "checking whether rand must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_rand+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef rand
  char *p = (char *) rand;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_rand=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_rand=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_rand" >&5
$as_echo "$groff_cv_decl_needed_rand" >&6; }
   if test $groff_cv_decl_needed_rand = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_RAND 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether snprintf must be declared" >&5
$as_echo_n "checking whether snprintf must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_snprintf+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef snprintf
  char *p = (char *) snprintf;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_snprintf=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_snprintf=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_snprintf" >&5
$as_echo "$groff_cv_decl_needed_snprintf" >&6; }
   if test $groff_cv_decl_needed_snprintf = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_SNPRINTF 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether srand must be declared" >&5
$as_echo_n "checking whether srand must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_srand+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef srand
  char *p = (char *) srand;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_srand=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_srand=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_srand" >&5
$as_echo "$groff_cv_decl_needed_srand" >&6; }
   if test $groff_cv_decl_needed_srand = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_SRAND 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether strcasecmp must be declared" >&5
$as_echo_n "checking whether strcasecmp must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef strcasecmp
  char *p = (char *) strcasecmp;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_strcasecmp=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_strcasecmp=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strcasecmp" >&5
$as_echo "$groff_cv_decl_needed_strcasecmp" >&6; }
   if test $groff_cv_decl_needed_strcasecmp = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_STRCASECMP 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether strncasecmp must be declared" >&5
$as_echo_n "checking whether strncasecmp must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef strncasecmp
  char *p = (char *) strncasecmp;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_strncasecmp=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_strncasecmp=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strncasecmp" >&5
$as_echo "$groff_cv_decl_needed_strncasecmp" >&6; }
   if test $groff_cv_decl_needed_strncasecmp = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_STRNCASECMP 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether vfprintf must be declared" >&5
$as_echo_n "checking whether vfprintf must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_vfprintf+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef vfprintf
  char *p = (char *) vfprintf;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_vfprintf=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_vfprintf=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vfprintf" >&5
$as_echo "$groff_cv_decl_needed_vfprintf" >&6; }
   if test $groff_cv_decl_needed_vfprintf = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_VFPRINTF 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether vsnprintf must be declared" >&5
$as_echo_n "checking whether vsnprintf must be declared... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   if test "${groff_cv_decl_needed_vsnprintf+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF

	  /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif


int
main ()
{


#ifndef vsnprintf
  char *p = (char *) vsnprintf;
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_decl_needed_vsnprintf=no
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_decl_needed_vsnprintf=yes
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

   { $as_echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vsnprintf" >&5
$as_echo "$groff_cv_decl_needed_vsnprintf" >&6; }
   if test $groff_cv_decl_needed_vsnprintf = yes; then

cat >>confdefs.h <<\_ACEOF
#define NEED_DECLARATION_VSNPRINTF 1
_ACEOF

   fi
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
$as_echo_n "checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <errno.h>
#include <stdio.h>
#include <stdlib.h>


int
main ()
{


int k;
k = sys_nerr;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_NERR 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
$as_echo_n "checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <errno.h>
#include <stdio.h>
#include <stdlib.h>


int
main ()
{


int k;
k = (int)sys_errlist[0];


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_ERRLIST 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking C++ <osfcn.h>" >&5
$as_echo_n "checking C++ <osfcn.h>... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <osfcn.h>


int
main ()
{


read(0, 0, 0);
open(0, 0);


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_CC_OSFCN_H 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking C++ <limits.h>" >&5
$as_echo_n "checking C++ <limits.h>... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <limits.h>


int
main ()
{


int x = INT_MIN;
int y = INT_MAX;
int z = UCHAR_MAX;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_CC_LIMITS_H 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking C++ <inttypes.h>" >&5
$as_echo_n "checking C++ <inttypes.h>... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <sys/types.h>
#include <inttypes.h>


int
main ()
{


uintmax_t i = (uintmax_t)-1;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  groff_cv_header_inttypes_h=yes

cat >>confdefs.h <<\_ACEOF
#define HAVE_CC_INTTYPES_H 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_header_inttypes_h=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   { $as_echo "$as_me:$LINENO: result: $groff_cv_header_inttypes_h" >&5
$as_echo "$groff_cv_header_inttypes_h" >&6; }
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


# checks for typedefs
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
$as_echo_n "checking for unsigned long long... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


unsigned long long ull = 1;
int i = 63;
unsigned long long ullmax = (unsigned long long)-1;


int
main ()
{


return ull << i | ull >> i | ullmax / ull | ullmax % ull;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  groff_cv_type_unsigned_long_long=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	groff_cv_type_unsigned_long_long=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
   { $as_echo "$as_me:$LINENO: result: $groff_cv_type_unsigned_long_long" >&5
$as_echo "$groff_cv_type_unsigned_long_long" >&6; }
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


   if test $groff_cv_header_inttypes_h = no; then

     test $groff_cv_type_unsigned_long_long = yes \
	  && ac_type='unsigned long long' \
	  || ac_type='unsigned long'

cat >>confdefs.h <<_ACEOF
#define uintmax_t $ac_type
_ACEOF

   fi
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking for declaration of time_t" >&5
$as_echo_n "checking for declaration of time_t... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <time.h>


int
main ()
{


time_t t = time(0);
struct tm *p = localtime(&t);


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }

cat >>confdefs.h <<\_ACEOF
#define LONG_FOR_TIME_T 1
_ACEOF

fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking for return type of signal handlers" >&5
$as_echo_n "checking for return type of signal handlers... " >&6; }
   for groff_declaration in \
     'extern "C" void (*signal (int, void (*)(int)))(int);' \
     'extern "C" void (*signal (int, void (*)(int)) throw ())(int);' \
     'void (*signal ()) ();'
   do
     cat >conftest.$ac_ext <<_ACEOF

	 /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <sys/types.h>
#include <signal.h>
#ifdef signal
# undef signal
#endif
$groff_declaration


int
main ()
{


int i;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  break
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	continue
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   done

   if test -n "$groff_declaration"; then
     { $as_echo "$as_me:$LINENO: result: void" >&5
$as_echo "void" >&6; }

cat >>confdefs.h <<\_ACEOF
#define RETSIGTYPE void
_ACEOF

   else
     { $as_echo "$as_me:$LINENO: result: int" >&5
$as_echo "int" >&6; }

cat >>confdefs.h <<\_ACEOF
#define RETSIGTYPE int
_ACEOF

   fi
{ $as_echo "$as_me:$LINENO: checking struct exception" >&5
$as_echo_n "checking struct exception... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <math.h>


int
main ()
{


struct exception e;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_EXCEPTION 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext

# check endianness

 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
if test "${ac_cv_c_bigendian+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_cv_c_bigendian=unknown
    # See if we're dealing with a universal compiler.
    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifndef __APPLE_CC__
	       not a universal capable compiler
	     #endif
	     typedef int dummy;

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then

	# Check for potential -arch flags.  It is not universal unless
	# there are some -arch flags.  Note that *ppc* also matches
	# ppc64.  This check is also rather less than ideal.
	case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
	  *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
	esac
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    if test $ac_cv_c_bigendian = unknown; then
      # See if sys/param.h defines the BYTE_ORDER macro.
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
	     #include <sys/param.h>

int
main ()
{
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
		     && LITTLE_ENDIAN)
	      bogus endian macros
	     #endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  # It does; now see whether it defined to BIG_ENDIAN or not.
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
		#include <sys/param.h>

int
main ()
{
#if BYTE_ORDER != BIG_ENDIAN
		 not big endian
		#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_c_bigendian=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_c_bigendian=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    fi
    if test $ac_cv_c_bigendian = unknown; then
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <limits.h>

int
main ()
{
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
	      bogus endian macros
	     #endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  # It does; now see whether it defined to _BIG_ENDIAN or not.
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <limits.h>

int
main ()
{
#ifndef _BIG_ENDIAN
		 not big endian
		#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_c_bigendian=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_c_bigendian=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    fi
    if test $ac_cv_c_bigendian = unknown; then
      # Compile a test program.
      if test "$cross_compiling" = yes; then
  # Try to guess by grepping values from an object file.
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
short int ascii_mm[] =
		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
		short int ascii_ii[] =
		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
		int use_ascii (int i) {
		  return ascii_mm[i] + ascii_ii[i];
		}
		short int ebcdic_ii[] =
		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
		short int ebcdic_mm[] =
		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
		int use_ebcdic (int i) {
		  return ebcdic_mm[i] + ebcdic_ii[i];
		}
		extern int foo;

int
main ()
{
return use_ascii (foo) == use_ebcdic (foo);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
	      ac_cv_c_bigendian=yes
	    fi
	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
	      if test "$ac_cv_c_bigendian" = unknown; then
		ac_cv_c_bigendian=no
	      else
		# finding both strings is unlikely to happen, but who knows?
		ac_cv_c_bigendian=unknown
	      fi
	    fi
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{

	     /* Are we little or big endian?  From Harbison&Steele.  */
	     union
	     {
	       long int l;
	       char c[sizeof (long int)];
	     } u;
	     u.l = 1;
	     return u.c[sizeof (long int) - 1] == 1;

  ;
  return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_bigendian=no
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_c_bigendian=yes
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi


    fi
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
$as_echo "$ac_cv_c_bigendian" >&6; }
 case $ac_cv_c_bigendian in #(
   yes)
     cat >>confdefs.h <<\_ACEOF
#define WORDS_BIGENDIAN 1
_ACEOF
;; #(
   no)
      ;; #(
   universal)

cat >>confdefs.h <<\_ACEOF
#define AC_APPLE_UNIVERSAL_BUILD 1
_ACEOF

     ;; #(
   *)
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
$as_echo "$as_me: error: unknown endianness
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   { (exit 1); exit 1; }; } ;;
 esac


# checks for libraries
{ $as_echo "$as_me:$LINENO: checking for main in -lc" >&5
$as_echo_n "checking for main in -lc... " >&6; }
if test "${ac_cv_lib_c_main+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
return main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_c_main=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_c_main=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
$as_echo "$ac_cv_lib_c_main" >&6; }
if test "x$ac_cv_lib_c_main" = x""yes; then
  LIBC=-lc
fi


{ $as_echo "$as_me:$LINENO: checking for sin in -lm" >&5
$as_echo_n "checking for sin in -lm... " >&6; }
if test "${ac_cv_lib_m_sin+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lm  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char sin ();
int
main ()
{
return sin ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  ac_cv_lib_m_sin=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_lib_m_sin=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
$as_echo "$ac_cv_lib_m_sin" >&6; }
if test "x$ac_cv_lib_m_sin" = x""yes; then
  LIBM=-lm
fi


# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   { (exit 1); exit 1; }; }

{ $as_echo "$as_me:$LINENO: checking build system type" >&5
$as_echo_n "checking build system type... " >&6; }
if test "${ac_cv_build+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
test "x$ac_build_alias" = x &&
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   { (exit 1); exit 1; }; }
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
$as_echo "$ac_cv_build" >&6; }
case $ac_cv_build in
*-*-*) ;;
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
   { (exit 1); exit 1; }; };;
esac
build=$ac_cv_build
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_build
shift
build_cpu=$1
build_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
build_os=$*
IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac


{ $as_echo "$as_me:$LINENO: checking host system type" >&5
$as_echo_n "checking host system type... " >&6; }
if test "${ac_cv_host+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test "x$host_alias" = x; then
  ac_cv_host=$ac_cv_build
else
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   { (exit 1); exit 1; }; }
fi

fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
$as_echo "$ac_cv_host" >&6; }
case $ac_cv_host in
*-*-*) ;;
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
   { (exit 1); exit 1; }; };;
esac
host=$ac_cv_host
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_host
shift
host_cpu=$1
host_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
host_os=$*
IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac



      if test "X$prefix" = "XNONE"; then
    acl_final_prefix="$ac_default_prefix"
  else
    acl_final_prefix="$prefix"
  fi
  if test "X$exec_prefix" = "XNONE"; then
    acl_final_exec_prefix='${prefix}'
  else
    acl_final_exec_prefix="$exec_prefix"
  fi
  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  prefix="$acl_save_prefix"


# Check whether --with-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
else
  with_gnu_ld=no
fi

# Prepare PATH_SEPARATOR.
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi
ac_prog=ld
if test "$GCC" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
$as_echo_n "checking for ld used by GCC... " >&6; }
  case $host in
  *-*-mingw*)
    # gcc leaves a trailing carriage return which upsets mingw
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  *)
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  esac
  case $ac_prog in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
$as_echo_n "checking for GNU ld... " >&6; }
else
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
$as_echo_n "checking for non-GNU ld... " >&6; }
fi
if test "${acl_cv_path_LD+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -z "$LD"; then
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      acl_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
      *GNU* | *'with BFD'*)
	test "$with_gnu_ld" != no && break ;;
      *)
	test "$with_gnu_ld" != yes && break ;;
      esac
    fi
  done
  IFS="$ac_save_ifs"
else
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi

LD="$acl_cv_path_LD"
if test -n "$LD"; then
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
$as_echo "$LD" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   { (exit 1); exit 1; }; }
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
if test "${acl_cv_prog_gnu_ld+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
  acl_cv_prog_gnu_ld=yes ;;
*)
  acl_cv_prog_gnu_ld=no ;;
esac
fi
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
with_gnu_ld=$acl_cv_prog_gnu_ld




                                                { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
$as_echo_n "checking for shared library run path origin... " >&6; }
if test "${acl_cv_rpath+set}" = set; then
  $as_echo_n "(cached) " >&6
else

    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
    . ./conftest.sh
    rm -f ./conftest.sh
    acl_cv_rpath=done

fi
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
$as_echo "$acl_cv_rpath" >&6; }
  wl="$acl_cv_wl"
  acl_libext="$acl_cv_libext"
  acl_shlibext="$acl_cv_shlibext"
  acl_libname_spec="$acl_cv_libname_spec"
  acl_library_names_spec="$acl_cv_library_names_spec"
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  acl_hardcode_direct="$acl_cv_hardcode_direct"
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
    # Check whether --enable-rpath was given.
if test "${enable_rpath+set}" = set; then
  enableval=$enable_rpath; :
else
  enable_rpath=yes
fi




  acl_libdirstem=lib
  acl_libdirstem2=
  case "$host_os" in
    solaris*)
                                    { $as_echo "$as_me:$LINENO: checking for 64-bit host" >&5
$as_echo_n "checking for 64-bit host... " >&6; }
if test "${gl_cv_solaris_64bit+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#ifdef _LP64
sixtyfour bits
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "sixtyfour bits" >/dev/null 2>&1; then
  gl_cv_solaris_64bit=yes
else
  gl_cv_solaris_64bit=no
fi
rm -f conftest*


fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_solaris_64bit" >&5
$as_echo "$gl_cv_solaris_64bit" >&6; }
      if test $gl_cv_solaris_64bit = yes; then
        acl_libdirstem=lib/64
        case "$host_cpu" in
          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
        esac
      fi
      ;;
    *)
      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
      if test -n "$searchpath"; then
        acl_save_IFS="${IFS= 	}"; IFS=":"
        for searchdir in $searchpath; do
          if test -d "$searchdir"; then
            case "$searchdir" in
              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
              *) searchdir=`cd "$searchdir" && pwd`
                 case "$searchdir" in
                   */lib64 ) acl_libdirstem=lib64 ;;
                 esac ;;
            esac
          fi
        done
        IFS="$acl_save_IFS"
      fi
      ;;
  esac
  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"












    use_additional=yes

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=\"$includedir\"
    eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libiconv-prefix was given.
if test "${with_libiconv_prefix+set}" = set; then
  withval=$with_libiconv_prefix;
    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=\"$includedir\"
          eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/$acl_libdirstem"
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
           && ! test -d "$withval/$acl_libdirstem"; then
          additional_libdir="$withval/$acl_libdirstem2"
        fi
      fi
    fi

fi

      LIBICONV=
  LTLIBICONV=
  INCICONV=
  LIBICONV_PREFIX=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='iconv '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
        eval value=\"\$HAVE_LIB$uppername\"
        if test -n "$value"; then
          if test "$value" = yes; then
            eval value=\"\$LIB$uppername\"
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
            eval value=\"\$LTLIB$uppername\"
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
          if test -n "$acl_shlibext"; then
            shrext=".$acl_shlibext"             # typically: shrext=.so
          else
            shrext=
          fi
          if test $use_additional = yes; then
            dir="$additional_libdir"
                                    if test -n "$acl_shlibext"; then
              if test -f "$dir/$libname$shrext"; then
                found_dir="$dir"
                found_so="$dir/$libname$shrext"
              else
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
                  ver=`(cd "$dir" && \
                        for f in "$libname$shrext".*; do echo "$f"; done \
                        | sed -e "s,^$libname$shrext\\\\.,," \
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
                        | sed 1q ) 2>/dev/null`
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
                    found_dir="$dir"
                    found_so="$dir/$libname$shrext.$ver"
                  fi
                else
                  eval library_names=\"$acl_library_names_spec\"
                  for f in $library_names; do
                    if test -f "$dir/$f"; then
                      found_dir="$dir"
                      found_so="$dir/$f"
                      break
                    fi
                  done
                fi
              fi
            fi
                        if test "X$found_dir" = "X"; then
              if test -f "$dir/$libname.$acl_libext"; then
                found_dir="$dir"
                found_a="$dir/$libname.$acl_libext"
              fi
            fi
            if test "X$found_dir" != "X"; then
              if test -f "$dir/$libname.la"; then
                found_la="$dir/$libname.la"
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                                    if test -n "$acl_shlibext"; then
                    if test -f "$dir/$libname$shrext"; then
                      found_dir="$dir"
                      found_so="$dir/$libname$shrext"
                    else
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
                        ver=`(cd "$dir" && \
                              for f in "$libname$shrext".*; do echo "$f"; done \
                              | sed -e "s,^$libname$shrext\\\\.,," \
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
                              | sed 1q ) 2>/dev/null`
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
                          found_dir="$dir"
                          found_so="$dir/$libname$shrext.$ver"
                        fi
                      else
                        eval library_names=\"$acl_library_names_spec\"
                        for f in $library_names; do
                          if test -f "$dir/$f"; then
                            found_dir="$dir"
                            found_so="$dir/$f"
                            break
                          fi
                        done
                      fi
                    fi
                  fi
                                    if test "X$found_dir" = "X"; then
                    if test -f "$dir/$libname.$acl_libext"; then
                      found_dir="$dir"
                      found_a="$dir/$libname.$acl_libext"
                    fi
                  fi
                  if test "X$found_dir" != "X"; then
                    if test -f "$dir/$libname.la"; then
                      found_la="$dir/$libname.la"
                    fi
                  fi
                  ;;
              esac
              if test "X$found_dir" != "X"; then
                break
              fi
            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
            if test "X$found_so" != "X"; then
                                                        if test "$enable_rpath" = no \
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
              else
                                                                                haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$acl_hardcode_direct" = yes; then
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                else
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                haveit=
                    for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
                    fi
                    if test "$acl_hardcode_minus_L" != no; then
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                    else
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
              else
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */$acl_libdirstem | */$acl_libdirstem/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
                if test "$name" = 'iconv'; then
                  LIBICONV_PREFIX="$basedir"
                fi
                additional_includedir="$basedir/include"
                ;;
              */$acl_libdirstem2 | */$acl_libdirstem2/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
                if test "$name" = 'iconv'; then
                  LIBICONV_PREFIX="$basedir"
                fi
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
                haveit=
                if test "X$additional_includedir" = "X/usr/local/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" = "X-I$additional_includedir"; then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then
                                                        save_libdir="$libdir"
              case "$found_la" in
                */* | *\\*) . "$found_la" ;;
                *) . "./$found_la" ;;
              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
                      haveit=
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                      fi
                    fi
                    ;;
                  -R*)
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
                    if test "$enable_rpath" != no; then
                                                                  haveit=
                      for x in $rpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        rpathdirs="$rpathdirs $dir"
                      fi
                                                                  haveit=
                      for x in $ltrpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        ltrpathdirs="$ltrpathdirs $dir"
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
                    ;;
                  *)
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$acl_hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
      done
            acl_save_libdir="$libdir"
      libdir="$alldirs"
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
      libdir="$acl_save_libdir"
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
    else
            for found_dir in $rpathdirs; do
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
        libdir="$acl_save_libdir"
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
    done
  fi












          am_save_CPPFLAGS="$CPPFLAGS"

  for element in $INCICONV; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done


  { $as_echo "$as_me:$LINENO: checking for iconv" >&5
$as_echo_n "checking for iconv... " >&6; }
if test "${am_cv_func_iconv+set}" = set; then
  $as_echo_n "(cached) " >&6
else

    am_cv_func_iconv="no, consider installing GNU libiconv"
    am_cv_lib_iconv=no
    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  am_cv_func_iconv=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
    if test "$am_cv_func_iconv" != yes; then
      am_save_LIBS="$LIBS"
      LIBS="$LIBS $LIBICONV"
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  am_cv_lib_iconv=yes
        am_cv_func_iconv=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5


fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
      LIBS="$am_save_LIBS"
    fi

fi
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
$as_echo "$am_cv_func_iconv" >&6; }
  if test "$am_cv_func_iconv" = yes; then
    { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
$as_echo_n "checking for working iconv... " >&6; }
if test "${am_cv_func_iconv_works+set}" = set; then
  $as_echo_n "(cached) " >&6
else

            am_save_LIBS="$LIBS"
      if test $am_cv_lib_iconv = yes; then
        LIBS="$LIBS $LIBICONV"
      fi
      if test "$cross_compiling" = yes; then
  case "$host_os" in
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
           *)            am_cv_func_iconv_works="guessing yes" ;;
         esac
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <iconv.h>
#include <string.h>
int main ()
{
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
     returns.  */
  {
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
    if (cd_utf8_to_88591 != (iconv_t)(-1))
      {
        static const char input[] = "\342\202\254"; /* EURO SIGN */
        char buf[10];
        const char *inptr = input;
        size_t inbytesleft = strlen (input);
        char *outptr = buf;
        size_t outbytesleft = sizeof (buf);
        size_t res = iconv (cd_utf8_to_88591,
                            (char **) &inptr, &inbytesleft,
                            &outptr, &outbytesleft);
        if (res == 0)
          return 1;
      }
  }
#if 0 /* This bug could be worked around by the caller.  */
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
  {
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
    if (cd_88591_to_utf8 != (iconv_t)(-1))
      {
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
        char buf[50];
        const char *inptr = input;
        size_t inbytesleft = strlen (input);
        char *outptr = buf;
        size_t outbytesleft = sizeof (buf);
        size_t res = iconv (cd_88591_to_utf8,
                            (char **) &inptr, &inbytesleft,
                            &outptr, &outbytesleft);
        if ((int)res > 0)
          return 1;
      }
  }
#endif
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
     provided.  */
  if (/* Try standardized names.  */
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
      /* Try IRIX, OSF/1 names.  */
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
      /* Try AIX names.  */
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
      /* Try HP-UX names.  */
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
    return 1;
  return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_func_iconv_works=yes
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
am_cv_func_iconv_works=no
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi


      LIBS="$am_save_LIBS"

fi
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
$as_echo "$am_cv_func_iconv_works" >&6; }
    case "$am_cv_func_iconv_works" in
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
      *)   am_func_iconv=yes ;;
    esac
  else
    am_func_iconv=no am_cv_lib_iconv=no
  fi
  if test "$am_func_iconv" = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_ICONV 1
_ACEOF

  fi
  if test "$am_cv_lib_iconv" = yes; then
    { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
$as_echo_n "checking how to link with libiconv... " >&6; }
    { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
$as_echo "$LIBICONV" >&6; }
  else
            CPPFLAGS="$am_save_CPPFLAGS"
    LIBICONV=
    LTLIBICONV=
  fi



  if test "$am_cv_func_iconv" = yes; then
    { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
$as_echo_n "checking for iconv declaration... " >&6; }
    if test "${am_cv_proto_iconv+set}" = set; then
  $as_echo_n "(cached) " >&6
else

      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#else
size_t iconv();
#endif

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  am_cv_proto_iconv_arg1=""
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	am_cv_proto_iconv_arg1="const"
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
fi

    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
    { $as_echo "$as_me:$LINENO: result: ${ac_t:-
         }$am_cv_proto_iconv" >&5
$as_echo "${ac_t:-
         }$am_cv_proto_iconv" >&6; }

cat >>confdefs.h <<_ACEOF
#define ICONV_CONST $am_cv_proto_iconv_arg1
_ACEOF

  fi


# we need LIBEXT
LIBEXT=$acl_libext


# checks for functions


for ac_header in stdlib.h unistd.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
else
  # Is the header compilable?
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
$as_echo_n "checking $ac_header usability... " >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_header_compiler=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_header_compiler=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; }

# Is the header present?
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
$as_echo_n "checking $ac_header presence... " >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
  ac_header_preproc=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi

rm -f conftest.err conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
$as_echo "$ac_header_preproc" >&6; }

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    ( cat <<\_ASBOX
## -------------------------------- ##
## Report this to bug-groff@@gnu.org ##
## -------------------------------- ##
_ASBOX
     ) | sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
$as_echo_n "checking for $ac_header... " >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }

fi
as_val=`eval 'as_val=${'$as_ac_Header'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


for ac_func in getpagesize
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
$as_echo_n "checking for $ac_func... " >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif

int
main ()
{
return $ac_func ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  eval "$as_ac_var=yes"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	eval "$as_ac_var=no"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
as_val=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
$as_echo_n "checking for working mmap... " >&6; }
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_func_mmap_fixed_mapped=no
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
/* malloc might have been renamed as rpl_malloc. */
#undef malloc

/* Thanks to Mike Haertel and Jim Avera for this test.
   Here is a matrix of mmap possibilities:
	mmap private not fixed
	mmap private fixed at somewhere currently unmapped
	mmap private fixed at somewhere already mapped
	mmap shared not fixed
	mmap shared fixed at somewhere currently unmapped
	mmap shared fixed at somewhere already mapped
   For private mappings, we should verify that changes cannot be read()
   back from the file, nor mmap's back from the file at a different
   address.  (There have been systems where private was not correctly
   implemented like the infamous i386 svr4.0, and systems where the
   VM page cache was not coherent with the file system buffer cache
   like early versions of FreeBSD and possibly contemporary NetBSD.)
   For shared mappings, we should conversely verify that changes get
   propagated back to all the places they're supposed to be.

   Grep wants private fixed already mapped.
   The main things grep needs to know about mmap are:
   * does it exist and is it safe to write into the mmap'd area
   * how to use it (BSD variants)  */

#include <fcntl.h>
#include <sys/mman.h>

#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
char *malloc ();
#endif

/* This mess was copied from the GNU getpagesize.h.  */
#ifndef HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h.  */
# ifndef HAVE_SYS_PARAM_H
#  define HAVE_SYS_PARAM_H 1
# endif

# ifdef _SC_PAGESIZE
#  define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
#  ifdef HAVE_SYS_PARAM_H
#   include <sys/param.h>
#   ifdef EXEC_PAGESIZE
#    define getpagesize() EXEC_PAGESIZE
#   else /* no EXEC_PAGESIZE */
#    ifdef NBPG
#     define getpagesize() NBPG * CLSIZE
#     ifndef CLSIZE
#      define CLSIZE 1
#     endif /* no CLSIZE */
#    else /* no NBPG */
#     ifdef NBPC
#      define getpagesize() NBPC
#     else /* no NBPC */
#      ifdef PAGESIZE
#       define getpagesize() PAGESIZE
#      endif /* PAGESIZE */
#     endif /* no NBPC */
#    endif /* no NBPG */
#   endif /* no EXEC_PAGESIZE */
#  else /* no HAVE_SYS_PARAM_H */
#   define getpagesize() 8192	/* punt totally */
#  endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */

#endif /* no HAVE_GETPAGESIZE */

int
main ()
{
  char *data, *data2, *data3;
  int i, pagesize;
  int fd;

  pagesize = getpagesize ();

  /* First, make a file with some known garbage in it. */
  data = (char *) malloc (pagesize);
  if (!data)
    return 1;
  for (i = 0; i < pagesize; ++i)
    *(data + i) = rand ();
  umask (0);
  fd = creat ("conftest.mmap", 0600);
  if (fd < 0)
    return 1;
  if (write (fd, data, pagesize) != pagesize)
    return 1;
  close (fd);

  /* Next, try to mmap the file at a fixed address which already has
     something else allocated at it.  If we can, also make sure that
     we see the same garbage.  */
  fd = open ("conftest.mmap", O_RDWR);
  if (fd < 0)
    return 1;
  data2 = (char *) malloc (2 * pagesize);
  if (!data2)
    return 1;
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
    return 1;
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data2 + i))
      return 1;

  /* Finally, make sure that changes to the mapped area do not
     percolate back to the file as seen by read().  (This is a bug on
     some variants of i386 svr4.0.)  */
  for (i = 0; i < pagesize; ++i)
    *(data2 + i) = *(data2 + i) + 1;
  data3 = (char *) malloc (pagesize);
  if (!data3)
    return 1;
  if (read (fd, data3, pagesize) != pagesize)
    return 1;
  for (i = 0; i < pagesize; ++i)
    if (*(data + i) != *(data3 + i))
      return 1;
  close (fd);
  return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_mmap_fixed_mapped=yes
else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_func_mmap_fixed_mapped=no
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi


fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
if test $ac_cv_func_mmap_fixed_mapped = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_MMAP 1
_ACEOF

fi
rm -f conftest.mmap

saved_libs="$LIBS"
LIBS="$LIBS $LIBC $LIBM"








for ac_func in fmod getcwd putenv snprintf strcasecmp \
                  strerror strncasecmp strtol
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
$as_echo_n "checking for $ac_func... " >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif

int
main ()
{
return $ac_func ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  eval "$as_ac_var=yes"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	eval "$as_ac_var=no"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
as_val=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else
  case " $LIBOBJS " in
  *" $ac_func.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 ;;
esac

fi
done


# vsnprintf is in the same source file as snprintf

for ac_func in vsnprintf
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
$as_echo_n "checking for $ac_func... " >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif

int
main ()
{
return $ac_func ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  eval "$as_ac_var=yes"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	eval "$as_ac_var=no"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
as_val=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

else
  case " $LIBOBJS " in
  *" snprintf.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
 ;;
esac

fi
done

LIBS="$saved_libs"






for ac_func in gettimeofday isatty kill rename setlocale strsep
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
$as_echo_n "checking for $ac_func... " >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif

int
main ()
{
return $ac_func ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  eval "$as_ac_var=yes"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	eval "$as_ac_var=no"
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
as_val=`eval 'as_val=${'$as_ac_var'}
		 $as_echo "$as_val"'`
   if test "x$as_val" = x""yes; then
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

{ $as_echo "$as_me:$LINENO: checking for mkstemp" >&5
$as_echo_n "checking for mkstemp... " >&6; }
   ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu


   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <stdlib.h>
#include <unistd.h>
int (*f) (char *);


int
main ()
{


f = mkstemp;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_MKSTEMP 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
      case " $LIBOBJS " in
  *" mkstemp.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
esac

fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
$as_echo_n "checking whether sys_siglist is declared... " >&6; }
if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
#ifndef sys_siglist
  (void) sys_siglist;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_have_decl_sys_siglist=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_have_decl_sys_siglist=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then

cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_SYS_SIGLIST 1
_ACEOF


else
  cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_SYS_SIGLIST 0
_ACEOF


fi
{ $as_echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
#ifndef getc_unlocked
  (void) getc_unlocked;
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_have_decl_getc_unlocked=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_cv_have_decl_getc_unlocked=no
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then

cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETC_UNLOCKED 1
_ACEOF


else
  cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETC_UNLOCKED 0
_ACEOF


fi



  { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
if test "${am_cv_langinfo_codeset+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <langinfo.h>
int
main ()
{
char* cs = nl_langinfo(CODESET); return !cs;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 $as_test_x conftest$ac_exeext
       }; then
  am_cv_langinfo_codeset=yes
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	am_cv_langinfo_codeset=no
fi

rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
      conftest$ac_exeext conftest.$ac_ext

fi
{ $as_echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
$as_echo "$am_cv_langinfo_codeset" >&6; }
  if test $am_cv_langinfo_codeset = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_LANGINFO_CODESET 1
_ACEOF

  fi


# checks for compiler characteristics
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking whether ANSI array delete syntax is supported" >&5
$as_echo_n "checking whether ANSI array delete syntax is supported... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{


char *p = new char[5];
delete [] p;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }

cat >>confdefs.h <<\_ACEOF
#define ARRAY_DELETE_NEEDS_SIZE 1
_ACEOF

fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   { $as_echo "$as_me:$LINENO: checking traditional preprocessor" >&5
$as_echo_n "checking traditional preprocessor... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#define name2(a, b) a/**/b


int
main ()
{


int name2(foo, bar);


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_cxx_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define TRADITIONAL_CPP 1
_ACEOF

else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


# checks for operating system services
{ $as_echo "$as_me:$LINENO: checking w_coredump" >&5
$as_echo_n "checking w_coredump... " >&6; }
   if test "$cross_compiling" = yes; then
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
else
  cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <sys/types.h>
#include <sys/wait.h>


int
main ()
{


main()
{
#ifdef WCOREFLAG
  exit(1);
#else
  int i = 0;
  ((union wait *)&i)->w_coredump = 1;
  exit(i != 0200);
#endif
}


  ;
  return 0;
}

_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define WCOREFLAG 0200
_ACEOF

else
  $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi
rm -rf conftest.dSYM
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi



# other random stuff
{ $as_echo "$as_me:$LINENO: checking default value for grops -b option" >&5
$as_echo_n "checking default value for grops -b option... " >&6; }
   test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS=0
   { $as_echo "$as_me:$LINENO: result: $BROKEN_SPOOLER_FLAGS" >&5
$as_echo "$BROKEN_SPOOLER_FLAGS" >&6; }

{ $as_echo "$as_me:$LINENO: checking default paper size" >&5
$as_echo_n "checking default paper size... " >&6; }
   groff_prefix=$prefix
   test "x$prefix" = "xNONE" && groff_prefix=$ac_default_prefix
   if test -z "$PAGE"; then
     descfile=
     if test -r $groff_prefix/share/groff/font/devps/DESC; then
       descfile=$groff_prefix/share/groff/font/devps/DESC
     elif test -r $groff_prefix/lib/groff/font/devps/DESC; then
       descfile=$groff_prefix/lib/groff/font/devps/DESC
     else
       for f in $groff_prefix/share/groff/*/font/devps/DESC; do
	 if test -r $f; then
	   descfile=$f
	   break
	 fi
       done
     fi

     if test -n "$descfile"; then
       if grep '^paperlength[	 ]\+841890' $descfile >/dev/null 2>&1; then
	 PAGE=A4
       elif grep '^papersize[	 ]\+[aA]4' $descfile >/dev/null 2>&1; then
	 PAGE=A4
       fi
     fi
   fi

   if test -z "$PAGE"; then
     dom=`awk '($1 == "dom" || $1 == "search") { print $2; exit}' \
	 /etc/resolv.conf 2>/dev/null`
     if test -z "$dom"; then
       dom=`(domainname) 2>/dev/null | tr -d '+'`
       if test -z "$dom" \
	  || test "$dom" = '(none)'; then
	 dom=`(hostname) 2>/dev/null | grep '\.'`
       fi
     fi
     # If the top-level domain is two letters and it's not `us' or `ca'
     # then they probably use A4 paper.
     case "$dom" in
     *.[Uu][Ss]|*.[Cc][Aa])
       ;;
     *.[A-Za-z][A-Za-z])
       PAGE=A4 ;;
     esac
   fi

   test -n "$PAGE" || PAGE=letter
   if test "x$PAGE" = "xA4"; then

cat >>confdefs.h <<\_ACEOF
#define PAGEA4 1
_ACEOF

   fi
   { $as_echo "$as_me:$LINENO: result: $PAGE" >&5
$as_echo "$PAGE" >&6; }

{ $as_echo "$as_me:$LINENO: checking for existing troff installation" >&5
$as_echo_n "checking for existing troff installation... " >&6; }
   if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0; then
     { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
     g=g
   else
     { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
     g=
   fi

{ $as_echo "$as_me:$LINENO: checking for prefix of system macro packages" >&5
$as_echo_n "checking for prefix of system macro packages... " >&6; }
   sys_tmac_prefix=
   sys_tmac_file_prefix=
   for d in /usr/share/lib/tmac /usr/lib/tmac; do
     for t in "" tmac.; do
       for m in an s m; do
	 f=$d/$t$m
	 if test -z "$sys_tmac_prefix" \
	    && test -f $f \
	    && grep '^\.if' $f >/dev/null 2>&1; then
	   sys_tmac_prefix=$d/$t
	   sys_tmac_file_prefix=$t
	 fi
       done
     done
   done
   { $as_echo "$as_me:$LINENO: result: $sys_tmac_prefix" >&5
$as_echo "$sys_tmac_prefix" >&6; }


   { $as_echo "$as_me:$LINENO: checking which system macro packages should be made available" >&5
$as_echo_n "checking which system macro packages should be made available... " >&6; }
   tmac_wrap=
   if test "x$sys_tmac_file_prefix" = "xtmac."; then
     for f in $sys_tmac_prefix*; do
       suff=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
       case "$suff" in
       e)
	 ;;
       *)
	 grep "Copyright.*Free Software Foundation" $f >/dev/null \
	      || tmac_wrap="$tmac_wrap $suff" ;;
       esac
     done
   elif test -n "$sys_tmac_prefix"; then
     files=`echo $sys_tmac_prefix*`
     grep "\\.so" $files >conftest.sol
     for f in $files; do
       case "$f" in
       ${sys_tmac_prefix}e)
	 ;;
       *.me)
	 ;;
       */ms.*)
	 ;;
       *)
	 b=`basename $f`
	 if grep "\\.so.*/$b\$" conftest.sol >/dev/null \
	    || grep -l "Copyright.*Free Software Foundation" $f >/dev/null; then
	   :
	 else
	   suff=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
	   case "$suff" in
	   tmac.*)
	     ;;
	   *)
	     tmac_wrap="$tmac_wrap $suff" ;;
	   esac
	 fi
       esac
     done
     rm -f conftest.sol
   fi
   { $as_echo "$as_me:$LINENO: result: $tmac_wrap" >&5
$as_echo "$tmac_wrap" >&6; }

{ $as_echo "$as_me:$LINENO: checking separator character to use in groff search paths" >&5
$as_echo_n "checking separator character to use in groff search paths... " >&6; }
   cp ${srcdir}/src/include/nonposix.h conftest.h
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <ctype.h>
#include "conftest.h"


int
main ()
{


#if PATH_SEP_CHAR == ';'
make an error "Path separator is ';'"
#endif


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
  (eval "$ac_compile") 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  GROFF_PATH_SEPARATOR=":"
else
  $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	GROFF_PATH_SEPARATOR=";"
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   { $as_echo "$as_me:$LINENO: result: $GROFF_PATH_SEPARATOR" >&5
$as_echo "$GROFF_PATH_SEPARATOR" >&6; }


# Check whether --with-alt-gs was given.
if test "${with_alt_gs+set}" = set; then
  withval=$with_alt_gs; ALT_GHOSTSCRIPT_PROGS="$withval"
else
  ALT_GHOSTSCRIPT_PROGS="gs gswin32c gsos2"
fi




# Check whether --with-gs was given.
if test "${with_gs+set}" = set; then
  withval=$with_gs; GHOSTSCRIPT=$withval
else
  if test -n "$ac_tool_prefix"; then
  for ac_prog in $ALT_GHOSTSCRIPT_PROGS
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_GHOSTSCRIPT+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$GHOSTSCRIPT"; then
  ac_cv_prog_GHOSTSCRIPT="$GHOSTSCRIPT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_GHOSTSCRIPT="$ac_tool_prefix$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
GHOSTSCRIPT=$ac_cv_prog_GHOSTSCRIPT
if test -n "$GHOSTSCRIPT"; then
  { $as_echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
$as_echo "$GHOSTSCRIPT" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


    test -n "$GHOSTSCRIPT" && break
  done
fi
if test -z "$GHOSTSCRIPT"; then
  ac_ct_GHOSTSCRIPT=$GHOSTSCRIPT
  for ac_prog in $ALT_GHOSTSCRIPT_PROGS
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_GHOSTSCRIPT+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_GHOSTSCRIPT"; then
  ac_cv_prog_ac_ct_GHOSTSCRIPT="$ac_ct_GHOSTSCRIPT" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_GHOSTSCRIPT="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_GHOSTSCRIPT=$ac_cv_prog_ac_ct_GHOSTSCRIPT
if test -n "$ac_ct_GHOSTSCRIPT"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_GHOSTSCRIPT" >&5
$as_echo "$ac_ct_GHOSTSCRIPT" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$ac_ct_GHOSTSCRIPT" && break
done

  if test "x$ac_ct_GHOSTSCRIPT" = x; then
    GHOSTSCRIPT="missing"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    GHOSTSCRIPT=$ac_ct_GHOSTSCRIPT
  fi
fi

fi

   test "$GHOSTSCRIPT" = "no" && GHOSTSCRIPT=missing

   make_html=html
   make_install_html=install_html

   missing=
   # Extract the first word of "pnmcut", so it can be a program name with args.
set dummy pnmcut; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_pnmcut+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$pnmcut"; then
  ac_cv_prog_pnmcut="$pnmcut" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_pnmcut="found"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_pnmcut" && ac_cv_prog_pnmcut="missing"
fi
fi
pnmcut=$ac_cv_prog_pnmcut
if test -n "$pnmcut"; then
  { $as_echo "$as_me:$LINENO: result: $pnmcut" >&5
$as_echo "$pnmcut" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


      if test $pnmcut = missing; then
	missing="$missing \`pnmcut'"
      fi;# Extract the first word of "pnmcrop", so it can be a program name with args.
set dummy pnmcrop; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_pnmcrop+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$pnmcrop"; then
  ac_cv_prog_pnmcrop="$pnmcrop" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_pnmcrop="found"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_pnmcrop" && ac_cv_prog_pnmcrop="missing"
fi
fi
pnmcrop=$ac_cv_prog_pnmcrop
if test -n "$pnmcrop"; then
  { $as_echo "$as_me:$LINENO: result: $pnmcrop" >&5
$as_echo "$pnmcrop" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


      if test $pnmcrop = missing; then
	missing="$missing \`pnmcrop'"
      fi;# Extract the first word of "pnmtopng", so it can be a program name with args.
set dummy pnmtopng; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_pnmtopng+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$pnmtopng"; then
  ac_cv_prog_pnmtopng="$pnmtopng" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_pnmtopng="found"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_pnmtopng" && ac_cv_prog_pnmtopng="missing"
fi
fi
pnmtopng=$ac_cv_prog_pnmtopng
if test -n "$pnmtopng"; then
  { $as_echo "$as_me:$LINENO: result: $pnmtopng" >&5
$as_echo "$pnmtopng" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


      if test $pnmtopng = missing; then
	missing="$missing \`pnmtopng'"
      fi;# Extract the first word of "psselect", so it can be a program name with args.
set dummy psselect; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_psselect+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$psselect"; then
  ac_cv_prog_psselect="$psselect" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_psselect="found"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_psselect" && ac_cv_prog_psselect="missing"
fi
fi
psselect=$ac_cv_prog_psselect
if test -n "$psselect"; then
  { $as_echo "$as_me:$LINENO: result: $psselect" >&5
$as_echo "$psselect" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


      if test $psselect = missing; then
	missing="$missing \`psselect'"
      fi;# Extract the first word of "pnmtops", so it can be a program name with args.
set dummy pnmtops; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_pnmtops+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$pnmtops"; then
  ac_cv_prog_pnmtops="$pnmtops" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_pnmtops="found"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_pnmtops" && ac_cv_prog_pnmtops="missing"
fi
fi
pnmtops=$ac_cv_prog_pnmtops
if test -n "$pnmtops"; then
  { $as_echo "$as_me:$LINENO: result: $pnmtops" >&5
$as_echo "$pnmtops" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


      if test $pnmtops = missing; then
	missing="$missing \`pnmtops'"
      fi;

   test "$GHOSTSCRIPT" = "missing" && missing="$missing \`gs'"

   if test -n "$missing"; then
     plural=`set $missing; test $# -gt 1 && echo s`
     missing=`set $missing
       missing=""
       while test $# -gt 0
	 do
	   case $# in
	     1) missing="$missing$1" ;;
	     2) missing="$missing$1 and " ;;
	     *) missing="$missing$1, " ;;
	   esac
	   shift
	 done
	 echo $missing`

     make_html=
     make_install_html=

     { $as_echo "$as_me:$LINENO: WARNING: missing program$plural:

  The program$plural
     $missing
  cannot be found in the PATH.
  Consequently, groff's HTML backend (grohtml) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation in HTML format.
     " >&5
$as_echo "$as_me: WARNING: missing program$plural:

  The program$plural
     $missing
  cannot be found in the PATH.
  Consequently, groff's HTML backend (grohtml) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation in HTML format.
     " >&2;}
   fi




# Check whether --with-alt-awk was given.
if test "${with_alt_awk+set}" = set; then
  withval=$with_alt_awk; ALT_AWK_PROGS="$withval"
else
  ALT_AWK_PROGS="gawk mawk nawk awk"
fi




# Check whether --with-awk was given.
if test "${with_awk+set}" = set; then
  withval=$with_awk; AWK=$withval
else
  if test -n "$ac_tool_prefix"; then
  for ac_prog in $ALT_AWK_PROGS
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_AWK="$ac_tool_prefix$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
$as_echo "$AWK" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


    test -n "$AWK" && break
  done
fi
if test -z "$AWK"; then
  ac_ct_AWK=$AWK
  for ac_prog in $ALT_AWK_PROGS
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_AWK+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_AWK"; then
  ac_cv_prog_ac_ct_AWK="$ac_ct_AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_ac_ct_AWK="$ac_prog"
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
ac_ct_AWK=$ac_cv_prog_ac_ct_AWK
if test -n "$ac_ct_AWK"; then
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AWK" >&5
$as_echo "$ac_ct_AWK" >&6; }
else
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$ac_ct_AWK" && break
done

  if test "x$ac_ct_AWK" = x; then
    AWK="missing"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    AWK=$ac_ct_AWK
  fi
fi

fi

   test "$AWK" = "no" && AWK=missing



   make_pdfdoc=pdfdoc
   make_install_pdfdoc=install_pdfdoc

   missing=""
   test "$AWK" = missing && missing="\`awk'"
   test "$GHOSTSCRIPT" = missing && missing="$missing \`gs'"
   if test -n "$missing"; then
     plural=`set $missing; test $# -eq 2 && echo s`
     test x$plural = xs \
       && missing=`set $missing; echo "$1 and $2"` \
       || missing=`echo $missing`

     make_pdfdoc=
     make_install_pdfdoc=

     { $as_echo "$as_me:$LINENO: WARNING: missing program$plural:

  The program$plural $missing cannot be found in the PATH.
  Consequently, groff's PDF formatter (pdfroff) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation in PDF format.
     " >&5
$as_echo "$as_me: WARNING: missing program$plural:

  The program$plural $missing cannot be found in the PATH.
  Consequently, groff's PDF formatter (pdfroff) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation in PDF format.
     " >&2;}
   fi



{ $as_echo "$as_me:$LINENO: checking whether pnmtops can handle the -nosetpage option" >&5
$as_echo_n "checking whether pnmtops can handle the -nosetpage option... " >&6; }
   if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
     { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
     pnmtops_nosetpage="pnmtops -nosetpage"
   else
     { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
     pnmtops_nosetpage="pnmtops"
   fi


    { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
if test "${ac_cv_gnu_library_2_1+set}" = set; then
  $as_echo_n "(cached) " >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#include <features.h>
#ifdef __GNU_LIBRARY__
 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  Lucky GNU user
 #endif
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
  ac_cv_gnu_library_2_1=yes
else
  ac_cv_gnu_library_2_1=no
fi
rm -f conftest*



fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
$as_echo "$ac_cv_gnu_library_2_1" >&6; }

    GLIBC21="$ac_cv_gnu_library_2_1"



ac_config_files="$ac_config_files stamp-h"

ac_config_files="$ac_config_files Makefile doc/Makefile src/utils/xtotroff/Makefile"

ac_config_files="$ac_config_files contrib/gdiffmk/tests/runtests"

ac_config_files="$ac_config_files test-groff"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, we kill variables containing newlines.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done

  (set) 2>&1 |
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
      # `set' does not quote correctly, so add quotes (double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \).
      sed -n \
	"s/'/'\\\\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;; #(
    *)
      # `set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
) |
  sed '
     /^ac_cv_env_/b end
     t clear
     :clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;}
    cat confcache >$cache_file
  else
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  fi
fi
rm -f confcache

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

DEFS=-DHAVE_CONFIG_H

ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs

LTLIBOBJS=$ac_ltlibobjs




: ${CONFIG_STATUS=./config.status}
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

as_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='printf %s\n'
  as_echo_n='printf %s'
else
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    as_echo_n='/usr/ucb/echo -n'
  else
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    as_echo_n_body='eval
      arg=$1;
      case $arg in
      *"$as_nl"*)
	expr "X$arg" : "X\\(.*\\)$as_nl";
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
      esac;
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    '
    export as_echo_n_body
    as_echo_n='sh -c $as_echo_n_body as_echo'
  fi
  export as_echo_body
  as_echo='sh -c $as_echo_body as_echo'
fi

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# CDPATH.
$as_unset CDPATH



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}


if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
esac
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -p'
  fi
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
	test -d "$1/.";
      else
	case $1 in
	-*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


exec 6>&1

# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by groff $as_me 1.20.1, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

_ACEOF

case $ac_config_files in *"
"*) set x $ac_config_files; shift; ac_config_files=$*;;
esac

case $ac_config_headers in *"
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
esac


cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"

_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTION]... [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number and configuration settings, then exit
  -q, --quiet, --silent
                   do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
      --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Report bugs to <bug-autoconf@@gnu.org>."

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
groff config.status 1.20.1
configured by $0, generated by GNU Autoconf 2.63,
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

Copyright (C) 2008 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
test -n "\$AWK" || AWK=awk
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    $as_echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    ac_need_defaults=false;;
  --he | --h)
    # Conflict between --help and --header
    { $as_echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    $as_echo "$ac_cs_usage"; exit ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) { $as_echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  shift
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  CONFIG_SHELL='$SHELL'
  export CONFIG_SHELL
  exec "\$@@"
fi

_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  $as_echo "$ac_log"
} >&5

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1

# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
    "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
    "src/utils/xtotroff/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/xtotroff/Makefile" ;;
    "contrib/gdiffmk/tests/runtests") CONFIG_FILES="$CONFIG_FILES contrib/gdiffmk/tests/runtests" ;;
    "test-groff") CONFIG_FILES="$CONFIG_FILES test-groff" ;;

  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac
done


# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} ||
{
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
   { (exit 1); exit 1; }
}

# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then


ac_cr='
'
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\\r'
else
  ac_cs_awk_cr=$ac_cr
fi

echo 'BEGIN {' >"$tmp/subs1.awk" &&
_ACEOF


{
  echo "cat >conf$$subs.awk <<_ACEOF" &&
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  echo "_ACEOF"
} >conf$$subs.sh ||
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  . ./conf$$subs.sh ||
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }

  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  if test $ac_delim_n = $ac_delim_num; then
    break
  elif $ac_last_try; then
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done
rm -f conf$$subs.sh

cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
_ACEOF
sed -n '
h
s/^/S["/; s/!.*/"]=/
p
g
s/^[^!]*!//
:repl
t repl
s/'"$ac_delim"'$//
t delim
:nl
h
s/\(.\{148\}\).*/\1/
t more1
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
p
n
b repl
:more1
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t nl
:delim
h
s/\(.\{148\}\).*/\1/
t more2
s/["\\]/\\&/g; s/^/"/; s/$/"/
p
b
:more2
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t delim
' <conf$$subs.awk | sed '
/^[^""]/{
  N
  s/\n//
}
' >>$CONFIG_STATUS || ac_write_fail=1
rm -f conf$$subs.awk
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
_ACAWK
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = ""

}
{
  line = $ 0
  nfields = split(line, field, "@@")
  substed = 0
  len = length(field[1])
  for (i = 2; i < nfields; i++) {
    key = field[i]
    keylen = length(key)
    if (S_is_set[key]) {
      value = S[key]
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
      len += length(value) + length(field[++i])
      substed = 1
    } else
      len += 1 + keylen
  }

  print line
}

_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
  cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
   { (exit 1); exit 1; }; }
_ACEOF

# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@@srcdir@@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fi # test -n "$CONFIG_FILES"

# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with `./config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$tmp/defines.awk" <<\_ACAWK ||
BEGIN {
_ACEOF

# Transform confdefs.h into an awk script `defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h.

# Create a delimiter string that does not exist in confdefs.h, to ease
# handling of long lines.
ac_delim='%!_!# '
for ac_last_try in false false :; do
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  if test -z "$ac_t"; then
    break
  elif $ac_last_try; then
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

# For the awk script, D is an array of macro values keyed by name,
# likewise P contains macro parameters if any.  Preserve backslash
# newline sequences.

ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
sed -n '
s/.\{148\}/&'"$ac_delim"'/g
t rset
:rset
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
t def
d
:def
s/\\$//
t bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3"/p
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
d
:bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3\\\\\\n"\\/p
t cont
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
t cont
d
:cont
n
s/.\{148\}/&'"$ac_delim"'/g
t clear
:clear
s/\\$//
t bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/"/p
d
:bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
b cont
' <confdefs.h | sed '
s/'"$ac_delim"'/"\\\
"/g' >>$CONFIG_STATUS || ac_write_fail=1

cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  for (key in D) D_is_set[key] = 1
  FS = ""
}
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  line = \$ 0
  split(line, arg, " ")
  if (arg[1] == "#") {
    defundef = arg[2]
    mac1 = arg[3]
  } else {
    defundef = substr(arg[1], 2)
    mac1 = arg[2]
  }
  split(mac1, mac2, "(") #)
  macro = mac2[1]
  prefix = substr(line, 1, index(line, defundef) - 1)
  if (D_is_set[macro]) {
    # Preserve the white space surrounding the "#".
    print prefix "define", macro P[macro] D[macro]
    next
  } else {
    # Replace #undef with comments.  This is necessary, for example,
    # in the case of _POSIX_SOURCE, which is predefined and required
    # on some systems where configure will not decide to define it.
    if (defundef == "undef") {
      print "/*", prefix defundef, macro, "*/"
      next
    }
  }
}
{ print }
_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   { (exit 1); exit 1; }; }
fi # test -n "$CONFIG_HEADERS"


eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
shift
for ac_tag
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   { (exit 1); exit 1; }; };;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   { (exit 1); exit 1; }; };;
      esac
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      ac_file_inputs="$ac_file_inputs '$ac_f'"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input='Generated from '`
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
    fi
    # Neutralize special characters interpreted by sed in replacement strings.
    case $configure_input in #(
    *\&* | *\|* | *\\* )
       ac_sed_conf_input=`$as_echo "$configure_input" |
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
    *) ac_sed_conf_input=$configure_input;;
    esac

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin" \
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; } ;;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   { (exit 1); exit 1; }; }; }
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  esac
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=

ac_sed_dataroot='
/datarootdir/ {
  p
  q
}
/@@datadir@@/p
/@@docdir@@/p
/@@infodir@@/p
/@@localedir@@/p
/@@mandir@@/p
'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*)
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  ac_datarootdir_hack='
  s&@@datadir@@&$datadir&g
  s&@@docdir@@&$docdir&g
  s&@@infodir@@&$infodir&g
  s&@@localedir@@&$localedir&g
  s&@@mandir@@&$mandir&g
    s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
:t
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
s|@@configure_input@@|$ac_sed_conf_input|;t t
s&@@top_builddir@@&$ac_top_builddir_sub&;t t
s&@@top_build_prefix@@&$ac_top_build_prefix&;t t
s&@@srcdir@@&$ac_srcdir&;t t
s&@@abs_srcdir@@&$ac_abs_srcdir&;t t
s&@@top_srcdir@@&$ac_top_srcdir&;t t
s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t
s&@@builddir@@&$ac_builddir&;t t
s&@@abs_builddir@@&$ac_abs_builddir&;t t
s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t
s&@@INSTALL@@&$ac_INSTALL&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}

  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out" && rm -f "$tmp/out";;
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  esac \
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
  if test x"$ac_file" != x-; then
    {
      $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    } >"$tmp/config.h" \
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;}
    else
      rm -f "$ac_file"
      mv "$tmp/config.h" "$ac_file" \
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
$as_echo "$as_me: error: could not create $ac_file" >&2;}
   { (exit 1); exit 1; }; }
    fi
  else
    $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
$as_echo "$as_me: error: could not create -" >&2;}
   { (exit 1); exit 1; }; }
  fi
 ;;


  esac


  case $ac_file$ac_mode in
    "stamp-h":F) echo timestamp > stamp-h ;;
    "contrib/gdiffmk/tests/runtests":F) chmod +x contrib/gdiffmk/tests/runtests ;;
    "test-groff":F) chmod +x test-groff ;;

  esac
done # for ac_tag


{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save

test $ac_write_fail = 0 ||
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }


# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; }
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi


if test -z "$groff_no_x"; then
     if test "x$with_appresdir" = "x"; then
       { $as_echo "$as_me:$LINENO:

  The application resource files for gxditview will be installed as

    $appresdir/GXditview

  and

    $appresdir/GXditview-color

  (existing files will be saved by appending \`.old' to the file
  name).

  To install them into a different directory, say, \`/etc/gxditview',
  add \`--with-appresdir=/etc/gxditview' to the configure script
  command line options and rerun it.  The environment variable
  \`APPLRESDIR' must then be set to \`/etc/' (note the trailing slash),
  omitting the \`gxditview' part which is automatically appended by
  the X11 searching routines for resource files.  More details can be
  found in the X(7) manual page.
       " >&5
$as_echo "$as_me:

  The application resource files for gxditview will be installed as

    $appresdir/GXditview

  and

    $appresdir/GXditview-color

  (existing files will be saved by appending \`.old' to the file
  name).

  To install them into a different directory, say, \`/etc/gxditview',
  add \`--with-appresdir=/etc/gxditview' to the configure script
  command line options and rerun it.  The environment variable
  \`APPLRESDIR' must then be set to \`/etc/' (note the trailing slash),
  omitting the \`gxditview' part which is automatically appended by
  the X11 searching routines for resource files.  More details can be
  found in the X(7) manual page.
       " >&6;}
     fi
   fi
@


1.82
log
@

Remove heuristics for LIBEXT.

* configure.ac: Provide LIBEXT.
* Makefile.in: Use it.

* configure: Regenerated.
@
text
@d3 3
a5 1
# Generated by GNU Autoconf 2.63.
d597 5
a601 5
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=
d820 1
a820 1
docdir='${datarootdir}/doc/${PACKAGE}'
d1332 1
a1332 1
\`configure' configures this package to adapt to many kinds of systems.
d1380 1
a1380 1
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
d1400 3
a1402 1

d1440 1
d1503 1
a1503 1
configure
d1517 1
a1517 1
It was created by $as_me, which was
d1870 8
d6502 6
a6507 1

d10381 6
a10386 1

d12764 1
a12764 1
This file was extended by $as_me, which was
d12823 1
a12823 1
config.status
@


1.81
log
@

* config.rpath, m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4,
m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h,
src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c,
src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin:
Updated from `gnulib' git repository.

* configure: Regenerated.
@
text
@d663 1
d10238 4
@


1.80
log
@

* src/devices/xditview/TODO, NEWS: Updated.
* src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
Handle `GXditview-color'.
* src/devices/xditview/gxditview.man: Updated.

* m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
* m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
from `gnulib' git repository.

* configure.ac: Updated.
* configure: Regenerated (using autoconf 2.61).

* config.guess, config.sub: Updated from `config' CVS repository.
* config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
repository.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.61.
d6 1
a6 1
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d18 1
a18 1
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
d40 32
d74 5
a78 9
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
a93 2
as_nl='
'
d116 1
a116 1
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d129 4
a132 11
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  fi
done
d154 1
a154 1
echo X/"$0" |
d180 1
a180 1
  if test $as_have_required = yes && 	 (eval ":
d262 1
a262 1
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
d283 1
a283 1
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
d363 4
a366 4
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        done
        export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
d435 4
a438 3
  echo Please tell autoconf@@gnu.org about your system,
  echo including any error possibly output before this
  echo message
d474 1
a474 1
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
a501 1

d514 1
a514 1
  mkdir conf$$.dir
d516 12
a527 8
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d529 1
a529 2
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
d554 1
a554 1
        test -d "$1/.";
d557 1
a557 1
        -*)set "./$1";;
d638 111
a748 1
ac_subst_vars='SHELL
d750 1
a750 111
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
CXX
CXXFLAGS
ac_ct_CXX
TTYDEVDIRS
OTHERDEVDIRS
XMKMF
CPP
X_CFLAGS
X_PRE_LIBS
X_LIBS
X_EXTRA_LIBS
XDEVDIRS
XPROGDIRS
XLIBDIRS
appresdir
LPR
LP
LPQ
PSPRINT
DVIPRINT
GREP
EGREP
PERLPATH
YACC
MAKEINFO
RANLIB
INSTALL_INFO
INSTALL_PROGRAM
INSTALL_SCRIPT
INSTALL_DATA
LN_S
SH_SCRIPT_SED_CMD
LIBC
LIBM
build
build_cpu
build_vendor
build_os
host
host_cpu
host_vendor
host_os
LIBICONV
LTLIBICONV
LIBOBJS
BROKEN_SPOOLER_FLAGS
PAGE
g
sys_tmac_prefix
tmac_wrap
GROFF_PATH_SEPARATOR
ALT_GHOSTSCRIPT_PROGS
GHOSTSCRIPT
ac_ct_GHOSTSCRIPT
pnmcut
pnmcrop
pnmtopng
psselect
pnmtops
make_html
make_install_html
ALT_AWK_PROGS
AWK
ac_ct_AWK
make_pdfdoc
make_install_pdfdoc
pnmtops_nosetpage
GLIBC21
LTLIBOBJS'
d752 12
d782 2
d882 1
a882 1
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
d884 2
a885 2
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
d887 10
a896 2
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=no ;;
d909 1
a909 1
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
d911 2
a912 2
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
d914 10
a923 2
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=\$ac_optarg ;;
d1114 1
a1114 1
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
d1116 2
a1117 2
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
d1119 10
a1128 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=\$ac_optarg ;;
d1131 1
a1131 1
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
d1133 2
a1134 2
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
d1136 10
a1145 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=no ;;
d1165 1
a1165 1
  -*) { echo "$as_me: error: unrecognized option: $ac_option
d1174 1
a1174 1
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
d1181 1
a1181 1
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
d1183 1
a1183 1
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
d1192 1
a1192 1
  { echo "$as_me: error: missing argument to $ac_option" >&2
d1196 10
a1205 1
# Be sure to have absolute directory names.
d1212 7
d1223 1
a1223 1
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
d1238 1
a1238 1
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
d1254 1
a1254 1
  { echo "$as_me: error: Working directory cannot be determined" >&2
d1257 1
a1257 1
  { echo "$as_me: error: pwd does not report name of working directory" >&2
d1265 6
a1270 6
  ac_confdir=`$as_dirname -- "$0" ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$0" : 'X\(//\)[^/]' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$0" |
d1297 1
a1297 1
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
d1302 1
a1302 1
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
d1351 1
a1351 1
			  [$ac_default_prefix]
d1353 1
a1353 1
			  [PREFIX]
d1363 19
a1381 19
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]
d1401 1
d1442 3
a1444 1
    test -d "$ac_dir" || continue
d1450 1
a1450 1
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
d1452 1
a1452 1
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
d1488 1
a1488 1
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
d1498 1
a1498 1
generated by GNU Autoconf 2.61
d1501 1
a1501 1
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d1512 1
a1512 1
generated by GNU Autoconf 2.61.  Invocation command line was
d1548 1
a1548 1
  echo "PATH: $as_dir"
d1583 1
a1583 1
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
d1635 2
a1636 2
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
d1640 1
d1670 1
a1670 1
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d1672 1
a1672 1
      echo "$ac_var='\''$ac_val'\''"
d1687 1
a1687 1
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d1689 1
a1689 1
	echo "$ac_var='\''$ac_val'\''"
d1705 2
a1706 2
      echo "$as_me: caught signal $ac_signal"
    echo "$as_me: exit $exit_status"
d1748 3
a1750 1
# Prefer explicitly selected file to automatically selected ones.
d1752 1
a1752 1
  set x "$CONFIG_SITE"
d1754 2
a1755 1
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
d1757 2
a1758 2
  set x "$ac_default_prefix/share/config.site" \
	"$ac_default_prefix/etc/config.site"
d1760 1
a1760 2
shift
for ac_site_file
d1762 1
d1764 2
a1765 2
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
d1775 2
a1776 2
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
d1783 2
a1784 2
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
d1798 2
a1799 2
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
d1802 2
a1803 2
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
d1808 16
a1823 7
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
echo "$as_me:   current value: $ac_new_val" >&2;}
	ac_cache_corrupted=:
d1829 1
a1829 1
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d1839 6
a1844 4
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
d1886 2
a1887 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1889 1
a1889 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1902 1
a1902 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d1913 2
a1914 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1916 2
a1917 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1926 2
a1927 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1929 1
a1929 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1942 1
a1942 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d1953 2
a1954 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1956 2
a1957 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1965 2
a1966 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d1979 2
a1980 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1982 1
a1982 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d1995 1
a1995 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2006 2
a2007 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d2009 2
a2010 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2019 2
a2020 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d2022 1
a2022 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2040 1
a2040 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2063 2
a2064 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d2066 2
a2067 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2078 2
a2079 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d2081 1
a2081 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2094 1
a2094 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2105 2
a2106 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d2108 2
a2109 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2122 2
a2123 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d2125 1
a2125 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2138 1
a2138 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2149 2
a2150 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d2152 2
a2153 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2165 2
a2166 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d2176 3
a2178 1
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
d2180 1
a2180 1
echo "$as_me: error: no acceptable C compiler found in \$PATH
d2182 1
a2182 1
   { (exit 1); exit 1; }; }
d2185 3
a2187 2
echo "$as_me:$LINENO: checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
d2193 2
a2194 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2197 1
a2197 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2204 2
a2205 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2208 1
a2208 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2215 2
a2216 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2219 1
a2219 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2238 1
a2238 1
ac_clean_files="$ac_clean_files a.out a.exe b.out"
d2242 7
a2248 12
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort.  b.out is created by i960 compilers.
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions.  Remove them first so a
# subsequent execution test works.
d2253 1
a2253 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d2264 2
a2265 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2268 1
a2268 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2279 1
a2279 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
d2306 2
a2307 2
{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
d2309 1
a2309 1
  echo "$as_me: failed program was:" >&5
d2312 3
a2314 1
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
d2316 1
a2316 1
echo "$as_me: error: C compiler cannot create executables
d2318 1
a2318 1
   { (exit 77); exit 77; }; }
d2325 2
a2326 2
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
d2335 2
a2336 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2339 1
a2339 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2346 3
a2348 1
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
d2351 1
a2351 1
echo "$as_me: error: cannot run C compiled programs.
d2354 1
a2354 1
   { (exit 1); exit 1; }; }
d2358 2
a2359 2
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d2361 1
a2361 1
rm -f a.out a.exe conftest$ac_cv_exeext b.out
d2365 4
a2368 4
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }
d2370 2
a2371 2
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
d2377 2
a2378 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2381 1
a2381 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2390 1
a2390 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d2397 3
a2399 1
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
d2401 1
a2401 1
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
d2403 1
a2403 1
   { (exit 1); exit 1; }; }
d2407 2
a2408 2
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
d2413 2
a2414 2
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
d2416 1
a2416 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2439 2
a2440 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2443 1
a2443 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2448 1
a2448 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
d2454 1
a2454 1
  echo "$as_me: failed program was:" >&5
d2457 3
a2459 1
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
d2461 1
a2461 1
echo "$as_me: error: cannot compute suffix of object files: cannot compile
d2463 1
a2463 1
   { (exit 1); exit 1; }; }
d2468 2
a2469 2
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
d2472 2
a2473 2
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
d2475 1
a2475 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2501 2
a2502 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2508 1
a2508 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2515 1
a2515 1
  echo "$as_me: failed program was:" >&5
d2525 7
a2531 3
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
GCC=`test $ac_compiler_gnu = yes && echo yes`
d2534 2
a2535 2
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
d2537 1
a2537 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2564 2
a2565 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2571 1
a2571 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2578 1
a2578 1
  echo "$as_me: failed program was:" >&5
d2603 2
a2604 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2610 1
a2610 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2617 1
a2617 1
  echo "$as_me: failed program was:" >&5
d2643 2
a2644 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2650 1
a2650 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2657 1
a2657 1
  echo "$as_me: failed program was:" >&5
d2672 2
a2673 2
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
d2689 2
a2690 2
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
d2692 1
a2692 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2763 2
a2764 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2770 1
a2770 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2777 1
a2777 1
  echo "$as_me: failed program was:" >&5
d2793 2
a2794 2
    { echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
d2796 2
a2797 2
    { echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
d2800 2
a2801 2
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
d2825 2
a2826 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d2828 1
a2828 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2841 1
a2841 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2852 2
a2853 2
  { echo "$as_me:$LINENO: result: $CXX" >&5
echo "${ECHO_T}$CXX" >&6; }
d2855 2
a2856 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2869 2
a2870 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d2872 1
a2872 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2885 1
a2885 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d2896 2
a2897 2
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
echo "${ECHO_T}$ac_ct_CXX" >&6; }
d2899 2
a2900 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d2912 2
a2913 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d2923 3
a2925 2
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
d2931 2
a2932 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2935 1
a2935 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2942 2
a2943 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2946 1
a2946 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2953 2
a2954 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2957 1
a2957 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d2960 2
a2961 2
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
d2963 1
a2963 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d2989 2
a2990 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d2996 1
a2996 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3003 1
a3003 1
  echo "$as_me: failed program was:" >&5
d3013 7
a3019 3
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
GXX=`test $ac_compiler_gnu = yes && echo yes`
d3022 2
a3023 2
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
d3025 1
a3025 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d3052 2
a3053 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3059 1
a3059 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3066 1
a3066 1
  echo "$as_me: failed program was:" >&5
d3091 2
a3092 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3098 1
a3098 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3105 1
a3105 1
  echo "$as_me: failed program was:" >&5
d3131 2
a3132 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3138 1
a3138 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3145 1
a3145 1
  echo "$as_me: failed program was:" >&5
d3160 2
a3161 2
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
d3192 2
a3193 2
     { echo "$as_me:$LINENO: checking that C++ compiler can compile simple program" >&5
echo $ECHO_N "checking that C++ compiler can compile simple program... $ECHO_C" >&6; }
d3220 2
a3221 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3224 1
a3224 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3230 2
a3231 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3234 1
a3234 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3236 2
a3237 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d3239 2
a3240 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d3244 4
a3247 4
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
      { { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
echo "$as_me: error: a working C++ compiler is required" >&2;}
d3250 1
d3257 2
a3258 2
     { echo "$as_me:$LINENO: checking that C++ static constructors and destructors are called" >&5
echo $ECHO_N "checking that C++ static constructors and destructors are called... $ECHO_C" >&6; }
d3299 2
a3300 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3303 1
a3303 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3309 2
a3310 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3313 1
a3313 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3315 2
a3316 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d3318 2
a3319 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d3323 4
a3326 4
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
      { { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
echo "$as_me: error: a working C++ compiler is required" >&2;}
d3329 1
d3335 2
a3336 2
   { echo "$as_me:$LINENO: checking that header files support C++" >&5
echo $ECHO_N "checking that header files support C++... $ECHO_C" >&6; }
d3368 2
a3369 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3375 1
a3375 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3379 6
a3384 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d3386 1
a3386 1
  echo "$as_me: failed program was:" >&5
d3389 3
a3391 3
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
      { { echo "$as_me:$LINENO: error: header files do not support C++
d3394 1
a3394 1
echo "$as_me: error: header files do not support C++
d3400 1
d3410 2
a3411 2
{ echo "$as_me:$LINENO: checking whether character set is EBCDIC" >&5
echo $ECHO_N "checking whether character set is EBCDIC... $ECHO_C" >&6; }
d3444 2
a3445 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3451 1
a3451 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3458 2
a3459 2
      { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d3466 1
a3466 1
  echo "$as_me: failed program was:" >&5
d3472 2
a3473 2
     { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d3480 2
a3481 2
     { echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6; }
d3485 2
a3486 2
       { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; } ;;
d3488 2
a3489 2
       { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; } ;;
d3497 2
a3498 2
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
d3505 1
a3505 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d3537 2
a3538 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3544 1
a3544 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3551 1
a3551 1
  echo "$as_me: failed program was:" >&5
d3575 2
a3576 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3582 1
a3582 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3590 1
a3590 1
  echo "$as_me: failed program was:" >&5
d3615 2
a3616 2
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
d3644 2
a3645 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3651 1
a3651 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3658 1
a3658 1
  echo "$as_me: failed program was:" >&5
d3682 2
a3683 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3689 1
a3689 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3697 1
a3697 1
  echo "$as_me: failed program was:" >&5
d3713 3
a3715 1
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
d3717 1
a3717 1
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
d3719 1
a3719 1
   { (exit 1); exit 1; }; }
d3729 2
a3730 2
{ echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
d3744 2
a3745 2
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
d3748 1
a3748 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d3769 1
a3769 1
    for ac_extension in a so sl; do
d3783 1
a3783 1
	/usr/lib | /lib) ;;
d3844 2
a3845 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3851 1
a3851 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3859 1
a3859 1
  echo "$as_me: failed program was:" >&5
d3900 2
a3901 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d3907 1
a3907 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d3911 4
a3914 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3919 1
a3919 1
  echo "$as_me: failed program was:" >&5
d3923 1
a3923 1
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
d3926 1
a3926 1
  for ac_extension in a so sl; do
d3935 1
d3958 2
a3959 2
  { echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6; }
d3969 2
a3970 2
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
d3991 2
a3992 2
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
d4017 2
a4018 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4024 1
a4024 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4028 6
a4033 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d4036 1
a4036 1
  echo "$as_me: failed program was:" >&5
d4061 2
a4062 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4068 1
a4068 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4072 6
a4077 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d4080 1
a4080 1
  echo "$as_me: failed program was:" >&5
d4083 2
a4084 2
	{ echo "$as_me:$LINENO: result: neither works" >&5
echo "${ECHO_T}neither works" >&6; }
d4087 1
d4092 1
d4138 2
a4139 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4145 1
a4145 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4149 4
a4152 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4155 1
a4155 1
  echo "$as_me: failed program was:" >&5
d4158 2
a4159 2
	{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
d4161 1
a4161 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4193 2
a4194 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4200 1
a4200 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4204 4
a4207 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4210 1
a4210 1
  echo "$as_me: failed program was:" >&5
d4216 1
d4221 3
a4223 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
d4228 2
a4229 2
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
d4231 1
a4231 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4263 2
a4264 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4270 1
a4270 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4274 4
a4277 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4280 1
a4280 1
  echo "$as_me: failed program was:" >&5
d4286 1
d4291 3
a4293 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
d4300 1
d4313 2
a4314 2
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
d4316 1
a4316 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4369 2
a4370 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4376 1
a4376 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4380 4
a4383 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4386 1
a4386 1
  echo "$as_me: failed program was:" >&5
d4392 1
d4396 2
a4397 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
d4400 2
a4401 2
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
d4403 1
a4403 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4435 2
a4436 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4442 1
a4442 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4446 4
a4449 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4452 1
a4452 1
  echo "$as_me: failed program was:" >&5
d4458 1
d4463 3
a4465 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
if test $ac_cv_lib_nsl_gethostbyname = yes; then
d4470 2
a4471 2
	{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
d4473 1
a4473 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4505 2
a4506 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4512 1
a4512 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4516 4
a4519 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4522 1
a4522 1
  echo "$as_me: failed program was:" >&5
d4528 1
d4533 3
a4535 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
if test $ac_cv_lib_bsd_gethostbyname = yes; then
d4549 2
a4550 2
    { echo "$as_me:$LINENO: checking for connect" >&5
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
d4552 1
a4552 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4605 2
a4606 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4612 1
a4612 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4616 4
a4619 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4622 1
a4622 1
  echo "$as_me: failed program was:" >&5
d4628 1
d4632 2
a4633 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
d4636 2
a4637 2
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
d4639 1
a4639 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4671 2
a4672 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4678 1
a4678 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4682 4
a4685 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4688 1
a4688 1
  echo "$as_me: failed program was:" >&5
d4694 1
d4699 3
a4701 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
if test $ac_cv_lib_socket_connect = yes; then
d4708 2
a4709 2
    { echo "$as_me:$LINENO: checking for remove" >&5
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
d4711 1
a4711 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4764 2
a4765 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4771 1
a4771 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4775 4
a4778 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4781 1
a4781 1
  echo "$as_me: failed program was:" >&5
d4787 1
d4791 2
a4792 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
d4795 2
a4796 2
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
d4798 1
a4798 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4830 2
a4831 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4837 1
a4837 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4841 4
a4844 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4847 1
a4847 1
  echo "$as_me: failed program was:" >&5
d4853 1
d4858 3
a4860 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
if test $ac_cv_lib_posix_remove = yes; then
d4867 2
a4868 2
    { echo "$as_me:$LINENO: checking for shmat" >&5
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
d4870 1
a4870 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4923 2
a4924 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4930 1
a4930 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d4934 4
a4937 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4940 1
a4940 1
  echo "$as_me: failed program was:" >&5
d4946 1
d4950 2
a4951 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
d4954 2
a4955 2
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
d4957 1
a4957 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d4989 2
a4990 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d4996 1
a4996 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d5000 4
a5003 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5006 1
a5006 1
  echo "$as_me: failed program was:" >&5
d5012 1
d5017 3
a5019 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
if test $ac_cv_lib_ipc_shmat = yes; then
d5035 2
a5036 2
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
d5038 1
a5038 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5070 2
a5071 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d5077 1
a5077 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d5081 4
a5084 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5087 1
a5087 1
  echo "$as_me: failed program was:" >&5
d5093 1
d5098 3
a5100 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
d5119 2
a5120 2
     { echo "$as_me:$LINENO: checking for Xaw library and header files" >&5
echo $ECHO_N "checking for Xaw library and header files... $ECHO_C" >&6; }
d5149 2
a5150 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d5156 1
a5156 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d5160 6
a5165 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d5167 1
a5167 1
  echo "$as_me: failed program was:" >&5
d5170 2
a5171 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5175 1
d5180 2
a5181 2
     { echo "$as_me:$LINENO: checking for Xmu library and header files" >&5
echo $ECHO_N "checking for Xmu library and header files... $ECHO_C" >&6; }
d5210 2
a5211 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d5217 1
a5217 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d5221 6
a5226 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d5228 1
a5228 1
  echo "$as_me: failed program was:" >&5
d5231 2
a5232 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5236 1
d5246 2
a5247 2
     { echo "$as_me:$LINENO: gxditview and xtotroff won't be built" >&5
echo "$as_me: gxditview and xtotroff won't be built" >&6;}
d5357 2
a5358 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5360 1
a5360 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5373 1
a5373 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5384 2
a5385 2
  { echo "$as_me:$LINENO: result: $LPR" >&5
echo "${ECHO_T}$LPR" >&6; }
d5387 2
a5388 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5399 2
a5400 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5402 1
a5402 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5415 1
a5415 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5426 2
a5427 2
  { echo "$as_me:$LINENO: result: $LP" >&5
echo "${ECHO_T}$LP" >&6; }
d5429 2
a5430 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5445 2
a5446 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5448 1
a5448 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5461 1
a5461 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5472 2
a5473 2
  { echo "$as_me:$LINENO: result: $LPQ" >&5
echo "${ECHO_T}$LPQ" >&6; }
d5475 2
a5476 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5492 4
a5495 4
   { echo "$as_me:$LINENO: checking for command to use for printing PostScript files" >&5
echo $ECHO_N "checking for command to use for printing PostScript files... $ECHO_C" >&6; }
   { echo "$as_me:$LINENO: result: $PSPRINT" >&5
echo "${ECHO_T}$PSPRINT" >&6; }
d5498 2
a5499 2
   { echo "$as_me:$LINENO: checking for command to use for printing dvi files" >&5
echo $ECHO_N "checking for command to use for printing dvi files... $ECHO_C" >&6; }
d5508 4
a5511 10
   { echo "$as_me:$LINENO: result: $DVIPRINT" >&5
echo "${ECHO_T}$DVIPRINT" >&6; }
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
d5513 1
a5513 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5515 1
d5517 2
a5518 2
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d5524 4
a5527 4
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    # Check for GNU ac_path_GREP and select it if it is found.
d5534 1
a5534 1
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
d5540 1
a5540 1
    echo 'GREP' >> "conftest.nl"
d5555 2
a5556 2

    $ac_path_GREP_found && break 3
a5558 2

done
d5560 3
a5562 8


fi

GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
d5564 1
a5564 2
fi

a5568 1

d5570 2
a5571 2
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
d5575 2
a5576 2
{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
d5578 1
a5578 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5583 1
a5583 6
     # Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
d5585 2
a5586 2
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d5592 4
a5595 4
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    # Check for GNU ac_path_EGREP and select it if it is found.
d5602 1
a5602 1
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
d5608 1
a5608 1
    echo 'EGREP' >> "conftest.nl"
d5623 2
a5624 2

    $ac_path_EGREP_found && break 3
a5626 2

done
d5628 3
a5630 8


fi

EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
d5632 1
a5632 2
fi

a5636 1

d5639 2
a5640 2
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
d5646 2
a5647 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5649 1
a5649 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5664 1
a5664 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5677 2
a5678 2
  { echo "$as_me:$LINENO: result: $PERLPATH" >&5
echo "${ECHO_T}$PERLPATH" >&6; }
d5680 2
a5681 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5689 2
a5690 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5692 1
a5692 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5705 1
a5705 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5716 2
a5717 2
  { echo "$as_me:$LINENO: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6; }
d5719 2
a5720 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5731 2
a5732 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5734 1
a5734 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5747 1
a5747 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5758 2
a5759 2
  { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
echo "${ECHO_T}$MAKEINFO" >&6; }
d5761 2
a5762 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5769 2
a5770 2
     { echo "$as_me:$LINENO: checking for makeinfo version" >&5
echo $ECHO_N "checking for makeinfo version... $ECHO_C" >&6; }
d5774 2
a5775 2
     { echo "$as_me:$LINENO: result: $makeinfo_version" >&5
echo "${ECHO_T}$makeinfo_version" >&6; }
d5791 1
a5791 1
       { { echo "$as_me:$LINENO: error: $missing
d5793 1
a5793 1
echo "$as_me: error: $missing
d5797 1
a5797 1
       { echo "$as_me:$LINENO: WARNING: $missing
d5800 1
a5800 1
echo "$as_me: WARNING: $missing
d5809 2
a5810 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5812 1
a5812 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5825 1
a5825 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5836 2
a5837 2
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
d5839 2
a5840 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5849 2
a5850 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5852 1
a5852 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5865 1
a5865 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5876 2
a5877 2
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
d5879 2
a5880 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5888 2
a5889 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d5915 2
a5916 2
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
d5936 2
a5937 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d5939 1
a5939 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d5952 1
a5952 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d5963 2
a5964 2
  { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
echo "${ECHO_T}$INSTALL_INFO" >&6; }
d5966 2
a5967 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d5988 3
a5990 2
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
d5993 1
a5993 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6022 12
a6033 2
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
	    break 3
d6040 1
d6044 1
d6057 2
a6058 2
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6; }
d6068 2
a6069 2
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
d6072 2
a6073 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6075 2
a6076 2
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6; }
d6082 2
a6083 2
{ echo "$as_me:$LINENO: checking for csh hash hack" >&5
echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6; }
d6094 2
a6095 2
     { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6098 2
a6099 2
     { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6106 2
a6107 2
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
d6109 1
a6109 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6136 2
a6137 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6143 1
a6143 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6150 1
a6150 1
  echo "$as_me: failed program was:" >&5
d6242 2
a6243 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6246 1
a6246 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6252 2
a6253 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6256 1
a6256 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6260 2
a6261 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d6267 1
d6274 2
a6275 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
d6297 3
a6299 3
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
d6301 1
a6301 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6319 2
a6320 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6326 1
a6326 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6333 1
a6333 1
  echo "$as_me: failed program was:" >&5
d6341 7
a6347 4
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_Header'}'` = yes; then
d6349 1
a6349 1
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d6372 1
a6372 1
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
d6374 2
a6375 2
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
d6377 1
a6377 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6379 4
a6382 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d6385 2
a6386 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d6402 2
a6403 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6409 1
a6409 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6416 1
a6416 1
  echo "$as_me: failed program was:" >&5
d6423 2
a6424 2
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d6427 2
a6428 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d6442 2
a6443 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6449 1
a6449 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6456 1
a6456 1
  echo "$as_me: failed program was:" >&5
d6463 2
a6464 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d6469 4
a6472 4
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
d6476 12
a6487 12
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
d6491 2
a6492 2
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
d6494 1
a6494 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6498 4
a6501 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d6504 3
a6506 1
if test `eval echo '${'$as_ac_Header'}'` = yes; then
d6508 1
a6508 1
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d6515 2
a6516 2
{ echo "$as_me:$LINENO: checking for ISC 3.x or 4.x" >&5
echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6; }
d6519 2
a6520 2
     { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6527 2
a6528 2
     { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6530 2
a6531 2
{ echo "$as_me:$LINENO: checking whether -D_POSIX_SOURCE is necessary" >&5
echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6; }
d6566 2
a6567 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6573 1
a6573 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6578 2
a6579 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6586 1
a6586 1
  echo "$as_me: failed program was:" >&5
d6589 2
a6590 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6608 2
a6609 2
   { echo "$as_me:$LINENO: checking for return type of srand" >&5
echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6; }
d6638 2
a6639 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6645 1
a6645 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6650 2
a6651 2
  { echo "$as_me:$LINENO: result: void" >&5
echo "${ECHO_T}void" >&6; }
d6658 1
a6658 1
  echo "$as_me: failed program was:" >&5
d6661 2
a6662 2
	{ echo "$as_me:$LINENO: result: int" >&5
echo "${ECHO_T}int" >&6; }
d6672 2
a6673 2
{ echo "$as_me:$LINENO: checking whether gettimeofday must be declared" >&5
echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6; }
d6681 1
a6681 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6734 2
a6735 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6741 1
a6741 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6748 1
a6748 1
  echo "$as_me: failed program was:" >&5
d6757 2
a6758 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_gettimeofday" >&5
echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6; }
d6772 2
a6773 2
{ echo "$as_me:$LINENO: checking whether hypot must be declared" >&5
echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6; }
d6781 1
a6781 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6834 2
a6835 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6841 1
a6841 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6848 1
a6848 1
  echo "$as_me: failed program was:" >&5
d6857 2
a6858 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_hypot" >&5
echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6; }
d6872 2
a6873 2
{ echo "$as_me:$LINENO: checking whether popen must be declared" >&5
echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6; }
d6881 1
a6881 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6934 2
a6935 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d6941 1
a6941 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d6948 1
a6948 1
  echo "$as_me: failed program was:" >&5
d6957 2
a6958 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_popen" >&5
echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6; }
d6972 2
a6973 2
{ echo "$as_me:$LINENO: checking whether pclose must be declared" >&5
echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6; }
d6981 1
a6981 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7034 2
a7035 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7041 1
a7041 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7048 1
a7048 1
  echo "$as_me: failed program was:" >&5
d7057 2
a7058 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_pclose" >&5
echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6; }
d7072 2
a7073 2
{ echo "$as_me:$LINENO: checking whether putenv must be declared" >&5
echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6; }
d7081 1
a7081 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7134 2
a7135 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7141 1
a7141 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7148 1
a7148 1
  echo "$as_me: failed program was:" >&5
d7157 2
a7158 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_putenv" >&5
echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6; }
d7172 2
a7173 2
{ echo "$as_me:$LINENO: checking whether rand must be declared" >&5
echo $ECHO_N "checking whether rand must be declared... $ECHO_C" >&6; }
d7181 1
a7181 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7234 2
a7235 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7241 1
a7241 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7248 1
a7248 1
  echo "$as_me: failed program was:" >&5
d7257 2
a7258 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_rand" >&5
echo "${ECHO_T}$groff_cv_decl_needed_rand" >&6; }
d7272 2
a7273 2
{ echo "$as_me:$LINENO: checking whether snprintf must be declared" >&5
echo $ECHO_N "checking whether snprintf must be declared... $ECHO_C" >&6; }
d7281 1
a7281 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7334 2
a7335 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7341 1
a7341 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7348 1
a7348 1
  echo "$as_me: failed program was:" >&5
d7357 2
a7358 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_snprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_snprintf" >&6; }
d7372 2
a7373 2
{ echo "$as_me:$LINENO: checking whether srand must be declared" >&5
echo $ECHO_N "checking whether srand must be declared... $ECHO_C" >&6; }
d7381 1
a7381 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7434 2
a7435 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7441 1
a7441 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7448 1
a7448 1
  echo "$as_me: failed program was:" >&5
d7457 2
a7458 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_srand" >&5
echo "${ECHO_T}$groff_cv_decl_needed_srand" >&6; }
d7472 2
a7473 2
{ echo "$as_me:$LINENO: checking whether strcasecmp must be declared" >&5
echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6; }
d7481 1
a7481 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7534 2
a7535 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7541 1
a7541 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7548 1
a7548 1
  echo "$as_me: failed program was:" >&5
d7557 2
a7558 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strcasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6; }
d7572 2
a7573 2
{ echo "$as_me:$LINENO: checking whether strncasecmp must be declared" >&5
echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6; }
d7581 1
a7581 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7634 2
a7635 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7641 1
a7641 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7648 1
a7648 1
  echo "$as_me: failed program was:" >&5
d7657 2
a7658 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strncasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6; }
d7672 2
a7673 2
{ echo "$as_me:$LINENO: checking whether vfprintf must be declared" >&5
echo $ECHO_N "checking whether vfprintf must be declared... $ECHO_C" >&6; }
d7681 1
a7681 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7734 2
a7735 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7741 1
a7741 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7748 1
a7748 1
  echo "$as_me: failed program was:" >&5
d7757 2
a7758 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vfprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_vfprintf" >&6; }
d7772 2
a7773 2
{ echo "$as_me:$LINENO: checking whether vsnprintf must be declared" >&5
echo $ECHO_N "checking whether vsnprintf must be declared... $ECHO_C" >&6; }
d7781 1
a7781 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d7834 2
a7835 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7841 1
a7841 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7848 1
a7848 1
  echo "$as_me: failed program was:" >&5
d7857 2
a7858 2
   { echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vsnprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_vsnprintf" >&6; }
d7878 2
a7879 2
   { echo "$as_me:$LINENO: checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
echo $ECHO_N "checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6; }
d7914 2
a7915 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7921 1
a7921 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7926 2
a7927 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d7934 1
a7934 1
  echo "$as_me: failed program was:" >&5
d7937 2
a7938 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7948 2
a7949 2
{ echo "$as_me:$LINENO: checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
echo $ECHO_N "checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6; }
d7984 2
a7985 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d7991 1
a7991 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d7996 2
a7997 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d8004 1
a8004 1
  echo "$as_me: failed program was:" >&5
d8007 2
a8008 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d8018 2
a8019 2
   { echo "$as_me:$LINENO: checking C++ <osfcn.h>" >&5
echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6; }
d8052 2
a8053 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8059 1
a8059 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8064 2
a8065 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d8072 1
a8072 1
  echo "$as_me: failed program was:" >&5
d8075 2
a8076 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d8092 2
a8093 2
   { echo "$as_me:$LINENO: checking C++ <limits.h>" >&5
echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6; }
d8127 2
a8128 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8134 1
a8134 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8139 2
a8140 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d8147 1
a8147 1
  echo "$as_me: failed program was:" >&5
d8150 2
a8151 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d8167 2
a8168 2
   { echo "$as_me:$LINENO: checking C++ <inttypes.h>" >&5
echo $ECHO_N "checking C++ <inttypes.h>... $ECHO_C" >&6; }
d8201 2
a8202 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8208 1
a8208 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8220 1
a8220 1
  echo "$as_me: failed program was:" >&5
d8227 2
a8228 2
   { echo "$as_me:$LINENO: result: $groff_cv_header_inttypes_h" >&5
echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6; }
d8243 2
a8244 2
   { echo "$as_me:$LINENO: checking for unsigned long long" >&5
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
d8278 2
a8279 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8285 1
a8285 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8289 4
a8292 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d8295 1
a8295 1
  echo "$as_me: failed program was:" >&5
d8301 1
d8304 2
a8305 2
   { echo "$as_me:$LINENO: result: $groff_cv_type_unsigned_long_long" >&5
echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6; }
d8330 2
a8331 2
   { echo "$as_me:$LINENO: checking for declaration of time_t" >&5
echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6; }
d8364 2
a8365 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8371 1
a8371 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8376 2
a8377 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d8379 1
a8379 1
  echo "$as_me: failed program was:" >&5
d8382 2
a8383 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d8398 2
a8399 2
{ echo "$as_me:$LINENO: checking for return type of signal handlers" >&5
echo $ECHO_N "checking for return type of signal handlers... $ECHO_C" >&6; }
d8441 2
a8442 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8448 1
a8448 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8455 1
a8455 1
  echo "$as_me: failed program was:" >&5
d8461 181
a8641 25
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   done

   if test -n "$groff_declaration"; then
     { echo "$as_me:$LINENO: result: void" >&5
echo "${ECHO_T}void" >&6; }

cat >>confdefs.h <<\_ACEOF
#define RETSIGTYPE void
_ACEOF

   else
     { echo "$as_me:$LINENO: result: int" >&5
echo "${ECHO_T}int" >&6; }

cat >>confdefs.h <<\_ACEOF
#define RETSIGTYPE int
_ACEOF

   fi
{ echo "$as_me:$LINENO: checking struct exception" >&5
echo $ECHO_N "checking struct exception... $ECHO_C" >&6; }
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
d8646 2
a8647 4


#include <math.h>

d8652 3
a8654 4


struct exception e;

a8658 1

d8666 2
a8667 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8673 1
a8673 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8678 4
a8681 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d8683 2
a8684 3
cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_EXCEPTION 1
_ACEOF
d8686 1
d8688 1
a8688 1
  echo "$as_me: failed program was:" >&5
d8691 1
a8691 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d8695 4
a8698 9

# check endianness
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
if test "${ac_cv_c_bigendian+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # See if sys/param.h defines the BYTE_ORDER macro.
cat >conftest.$ac_ext <<_ACEOF
d8704 1
a8704 2
#include <sys/types.h>
#include <sys/param.h>
d8709 3
a8711 4
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
 bogus endian macros
#endif
d8723 2
a8724 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8730 1
a8730 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8735 2
a8736 2
  # It does; now see whether it defined to BIG_ENDIAN or not.
cat >conftest.$ac_ext <<_ACEOF
d8742 1
a8742 2
#include <sys/types.h>
#include <sys/param.h>
d8747 3
a8749 3
#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
d8761 2
a8762 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8768 1
a8768 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8775 1
a8775 1
  echo "$as_me: failed program was:" >&5
d8783 1
a8783 1
  echo "$as_me: failed program was:" >&5
d8786 10
a8795 5
	# It does not; compile a test program.
if test "$cross_compiling" = yes; then
  # try to guess the endianness by grepping values into an object file
  ac_cv_c_bigendian=unknown
  cat >conftest.$ac_ext <<_ACEOF
d8801 16
a8816 6
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
d8820 1
a8820 1
 _ascii (); _ebcdic ();
d8831 2
a8832 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8838 1
a8838 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8843 11
a8853 11
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
  ac_cv_c_bigendian=yes
fi
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  if test "$ac_cv_c_bigendian" = unknown; then
    ac_cv_c_bigendian=no
  else
    # finding both strings is unlikely to happen, but who knows?
    ac_cv_c_bigendian=unknown
  fi
fi
d8855 1
a8855 1
  echo "$as_me: failed program was:" >&5
d8874 8
a8881 8
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long int l;
    char c[sizeof (long int)];
  } u;
  u.l = 1;
  return u.c[sizeof (long int) - 1] == 1;
d8893 2
a8894 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8897 1
a8897 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8903 2
a8904 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8907 1
a8907 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8911 2
a8912 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d8918 1
d8923 1
d8925 11
a8935 7

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
case $ac_cv_c_bigendian in
  yes)
d8938 1
a8938 1
#define WORDS_BIGENDIAN 1
d8940 7
a8946 8
 ;;
  no)
     ;;
  *)
    { { echo "$as_me:$LINENO: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
echo "$as_me: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
d8948 1
a8948 1
esac
d8952 2
a8953 2
{ echo "$as_me:$LINENO: checking for main in -lc" >&5
echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6; }
d8955 1
a8955 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d8981 2
a8982 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d8988 1
a8988 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d8992 4
a8995 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d8998 1
a8998 1
  echo "$as_me: failed program was:" >&5
d9004 1
d9009 3
a9011 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
echo "${ECHO_T}$ac_cv_lib_c_main" >&6; }
if test $ac_cv_lib_c_main = yes; then
d9016 2
a9017 2
{ echo "$as_me:$LINENO: checking for sin in -lm" >&5
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
d9019 1
a9019 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9051 2
a9052 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d9058 1
a9058 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d9062 4
a9065 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9068 1
a9068 1
  echo "$as_me: failed program was:" >&5
d9074 1
d9079 3
a9081 3
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
if test $ac_cv_lib_m_sin = yes; then
d9088 2
a9089 2
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
d9092 2
a9093 2
{ echo "$as_me:$LINENO: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
d9095 1
a9095 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9101 2
a9102 2
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
d9105 2
a9106 2
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
d9110 2
a9111 2
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6; }
d9114 2
a9115 2
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
echo "$as_me: error: invalid value of canonical build" >&2;}
d9132 2
a9133 2
{ echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
d9135 1
a9135 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9141 2
a9142 2
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
d9147 2
a9148 2
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6; }
d9151 2
a9152 2
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
echo "$as_me: error: invalid value of canonical host" >&2;}
d9209 2
a9210 2
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
d9239 2
a9240 2
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
d9242 2
a9243 2
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
d9246 1
a9246 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9273 2
a9274 2
  { echo "$as_me:$LINENO: result: $LD" >&5
echo "${ECHO_T}$LD" >&6; }
d9276 2
a9277 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d9279 2
a9280 2
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
d9282 2
a9283 2
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
d9285 1
a9285 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9295 2
a9296 2
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
d9302 2
a9303 2
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
d9305 1
a9305 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9315 2
a9316 2
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
echo "${ECHO_T}$acl_cv_rpath" >&6; }
d9335 39
a9373 12
                  acl_libdirstem=lib
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  if test -n "$searchpath"; then
    acl_save_IFS="${IFS= 	}"; IFS=":"
    for searchdir in $searchpath; do
      if test -d "$searchdir"; then
        case "$searchdir" in
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
          *) searchdir=`cd "$searchdir" && pwd`
             case "$searchdir" in
               */lib64 ) acl_libdirstem=lib64 ;;
             esac ;;
d9376 24
a9399 3
    done
    IFS="$acl_save_IFS"
  fi
d9445 4
d9600 3
a9602 1
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
d9669 10
a9678 1
                LIBICONV_PREFIX="$basedir"
d9727 2
a9728 1
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
d9730 2
a9731 1
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
d9863 5
d9893 2
a9894 2
  { echo "$as_me:$LINENO: checking for iconv" >&5
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
d9896 1
a9896 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d9925 2
a9926 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d9932 1
a9932 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d9936 4
a9939 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9942 1
a9942 1
  echo "$as_me: failed program was:" >&5
d9948 1
d9978 2
a9979 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d9985 1
a9985 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d9989 4
a9992 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9996 1
a9996 1
  echo "$as_me: failed program was:" >&5
d10002 1
d10009 2
a10010 2
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
d10012 2
a10013 2
    { echo "$as_me:$LINENO: checking for working iconv" >&5
echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
d10015 1
a10015 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10098 2
a10099 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10102 1
a10102 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10108 2
a10109 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10112 1
a10112 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10116 2
a10117 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d10123 1
d10131 2
a10132 2
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
d10148 4
a10151 4
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
echo "${ECHO_T}$LIBICONV" >&6; }
d10161 2
a10162 2
    { echo "$as_me:$LINENO: checking for iconv declaration" >&5
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
d10164 1
a10164 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10200 2
a10201 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10207 1
a10207 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10214 1
a10214 1
  echo "$as_me: failed program was:" >&5
d10225 1
a10225 1
    { echo "$as_me:$LINENO: result: ${ac_t:-
d10227 1
a10227 1
echo "${ECHO_T}${ac_t:-
d10242 1
a10242 1
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
d10244 2
a10245 2
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
d10247 1
a10247 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10249 4
a10252 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d10255 2
a10256 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d10272 2
a10273 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10279 1
a10279 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10286 1
a10286 1
  echo "$as_me: failed program was:" >&5
d10293 2
a10294 2
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d10297 2
a10298 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d10312 2
a10313 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10319 1
a10319 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10326 1
a10326 1
  echo "$as_me: failed program was:" >&5
d10333 2
a10334 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d10339 4
a10342 4
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
d10346 12
a10357 12
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
d10361 2
a10362 2
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
d10364 1
a10364 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10368 4
a10371 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d10374 3
a10376 1
if test `eval echo '${'$as_ac_Header'}'` = yes; then
d10378 1
a10378 1
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d10388 3
a10390 3
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
d10392 1
a10392 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10445 2
a10446 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10452 1
a10452 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10456 4
a10459 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10462 1
a10462 1
  echo "$as_me: failed program was:" >&5
d10468 1
d10472 7
a10478 4
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
d10480 1
a10480 1
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d10486 2
a10487 2
{ echo "$as_me:$LINENO: checking for working mmap" >&5
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
d10489 1
a10489 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10633 2
a10634 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10637 1
a10637 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10643 2
a10644 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10647 1
a10647 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10651 2
a10652 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d10658 1
d10664 2
a10665 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
d10688 3
a10690 3
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
d10692 1
a10692 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10745 2
a10746 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10752 1
a10752 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10756 4
a10759 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10762 1
a10762 1
  echo "$as_me: failed program was:" >&5
d10768 1
d10772 7
a10778 4
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
d10780 1
a10780 1
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d10798 3
a10800 3
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
d10802 1
a10802 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10855 2
a10856 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10862 1
a10862 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10866 4
a10869 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10872 1
a10872 1
  echo "$as_me: failed program was:" >&5
d10878 1
d10882 7
a10888 4
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
d10890 1
a10890 1
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d10912 3
a10914 3
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
d10916 1
a10916 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d10969 2
a10970 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d10976 1
a10976 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d10980 4
a10983 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10986 1
a10986 1
  echo "$as_me: failed program was:" >&5
d10992 1
d10996 7
a11002 4
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
d11004 1
a11004 1
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d11010 2
a11011 2
{ echo "$as_me:$LINENO: checking for mkstemp" >&5
echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
d11052 2
a11053 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11059 1
a11059 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11063 6
a11068 4
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d11075 1
a11075 1
  echo "$as_me: failed program was:" >&5
d11078 2
a11079 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11088 1
d11097 2
a11098 2
{ echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
d11100 1
a11100 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11126 2
a11127 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11133 1
a11133 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11140 1
a11140 1
  echo "$as_me: failed program was:" >&5
d11148 3
a11150 3
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
if test $ac_cv_have_decl_sys_siglist = yes; then
d11164 2
a11165 2
{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
d11167 1
a11167 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11193 2
a11194 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11200 1
a11200 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11207 1
a11207 1
  echo "$as_me: failed program was:" >&5
d11215 3
a11217 3
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
if test $ac_cv_have_decl_getc_unlocked = yes; then
d11234 2
a11235 2
  { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
d11237 1
a11237 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11260 2
a11261 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11267 1
a11267 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11271 4
a11274 2
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d11277 1
a11277 1
  echo "$as_me: failed program was:" >&5
d11283 1
d11288 2
a11289 2
{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
d11306 2
a11307 2
   { echo "$as_me:$LINENO: checking whether ANSI array delete syntax is supported" >&5
echo $ECHO_N "checking whether ANSI array delete syntax is supported... $ECHO_C" >&6; }
d11336 2
a11337 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11343 1
a11343 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11348 2
a11349 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d11351 1
a11351 1
  echo "$as_me: failed program was:" >&5
d11354 2
a11355 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11376 2
a11377 2
   { echo "$as_me:$LINENO: checking traditional preprocessor" >&5
echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6; }
d11409 2
a11410 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11416 1
a11416 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11421 2
a11422 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d11429 1
a11429 1
  echo "$as_me: failed program was:" >&5
d11432 2
a11433 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11445 2
a11446 2
{ echo "$as_me:$LINENO: checking w_coredump" >&5
echo $ECHO_N "checking w_coredump... $ECHO_C" >&6; }
d11448 2
a11449 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11492 2
a11493 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11496 1
a11496 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11502 2
a11503 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11506 1
a11506 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11508 2
a11509 2
  { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d11516 2
a11517 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d11521 2
a11522 2
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11524 1
d11531 2
a11532 2
{ echo "$as_me:$LINENO: checking default value for grops -b option" >&5
echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6; }
d11534 2
a11535 2
   { echo "$as_me:$LINENO: result: $BROKEN_SPOOLER_FLAGS" >&5
echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6; }
d11537 2
a11538 2
{ echo "$as_me:$LINENO: checking default paper size" >&5
echo $ECHO_N "checking default paper size... $ECHO_C" >&6; }
d11593 2
a11594 2
   { echo "$as_me:$LINENO: result: $PAGE" >&5
echo "${ECHO_T}$PAGE" >&6; }
d11596 2
a11597 2
{ echo "$as_me:$LINENO: checking for existing troff installation" >&5
echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6; }
d11599 2
a11600 2
     { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d11603 2
a11604 2
     { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11608 2
a11609 2
{ echo "$as_me:$LINENO: checking for prefix of system macro packages" >&5
echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6; }
d11625 2
a11626 2
   { echo "$as_me:$LINENO: result: $sys_tmac_prefix" >&5
echo "${ECHO_T}$sys_tmac_prefix" >&6; }
d11629 2
a11630 2
   { echo "$as_me:$LINENO: checking which system macro packages should be made available" >&5
echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6; }
d11672 2
a11673 2
   { echo "$as_me:$LINENO: result: $tmac_wrap" >&5
echo "${ECHO_T}$tmac_wrap" >&6; }
d11675 2
a11676 2
{ echo "$as_me:$LINENO: checking separator character to use in groff search paths" >&5
echo $ECHO_N "checking separator character to use in groff search paths... $ECHO_C" >&6; }
d11712 2
a11713 1
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
d11719 1
a11719 1
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
d11726 1
a11726 1
  echo "$as_me: failed program was:" >&5
d11733 2
a11734 2
   { echo "$as_me:$LINENO: result: $GROFF_PATH_SEPARATOR" >&5
echo "${ECHO_T}$GROFF_PATH_SEPARATOR" >&6; }
d11756 2
a11757 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11759 1
a11759 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11772 1
a11772 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d11783 2
a11784 2
  { echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
echo "${ECHO_T}$GHOSTSCRIPT" >&6; }
d11786 2
a11787 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11800 2
a11801 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11803 1
a11803 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11816 1
a11816 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d11827 2
a11828 2
  { echo "$as_me:$LINENO: result: $ac_ct_GHOSTSCRIPT" >&5
echo "${ECHO_T}$ac_ct_GHOSTSCRIPT" >&6; }
d11830 2
a11831 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11843 2
a11844 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d11861 2
a11862 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11864 1
a11864 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11877 1
a11877 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d11889 2
a11890 2
  { echo "$as_me:$LINENO: result: $pnmcut" >&5
echo "${ECHO_T}$pnmcut" >&6; }
d11892 2
a11893 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11901 2
a11902 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11904 1
a11904 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11917 1
a11917 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d11929 2
a11930 2
  { echo "$as_me:$LINENO: result: $pnmcrop" >&5
echo "${ECHO_T}$pnmcrop" >&6; }
d11932 2
a11933 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11941 2
a11942 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11944 1
a11944 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11957 1
a11957 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d11969 2
a11970 2
  { echo "$as_me:$LINENO: result: $pnmtopng" >&5
echo "${ECHO_T}$pnmtopng" >&6; }
d11972 2
a11973 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d11981 2
a11982 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d11984 1
a11984 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d11997 1
a11997 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d12009 2
a12010 2
  { echo "$as_me:$LINENO: result: $psselect" >&5
echo "${ECHO_T}$psselect" >&6; }
d12012 2
a12013 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d12021 2
a12022 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d12024 1
a12024 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d12037 1
a12037 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d12049 2
a12050 2
  { echo "$as_me:$LINENO: result: $pnmtops" >&5
echo "${ECHO_T}$pnmtops" >&6; }
d12052 2
a12053 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d12081 1
a12081 1
     { echo "$as_me:$LINENO: WARNING: missing program$plural:
d12090 1
a12090 1
echo "$as_me: WARNING: missing program$plural:
d12123 2
a12124 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d12126 1
a12126 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d12139 1
a12139 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d12150 2
a12151 2
  { echo "$as_me:$LINENO: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6; }
d12153 2
a12154 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d12167 2
a12168 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d12170 1
a12170 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d12183 1
a12183 1
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
d12194 2
a12195 2
  { echo "$as_me:$LINENO: result: $ac_ct_AWK" >&5
echo "${ECHO_T}$ac_ct_AWK" >&6; }
d12197 2
a12198 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d12210 2
a12211 6
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
d12239 1
a12239 1
     { echo "$as_me:$LINENO: WARNING: missing program$plural:
d12246 1
a12246 1
echo "$as_me: WARNING: missing program$plural:
d12257 2
a12258 2
{ echo "$as_me:$LINENO: checking whether pnmtops can handle the -nosetpage option" >&5
echo $ECHO_N "checking whether pnmtops can handle the -nosetpage option... $ECHO_C" >&6; }
d12260 2
a12261 2
     { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d12264 2
a12265 2
     { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d12270 2
a12271 2
    { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
d12273 1
a12273 1
  echo $ECHO_N "(cached) $ECHO_C" >&6
d12301 2
a12302 2
{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
d12343 2
a12344 2
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
d12348 1
d12381 2
a12382 2
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
d12385 2
a12386 2
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
d12402 1
a12402 1
  ac_i=`echo "$ac_i" | sed "$ac_script"`
d12414 1
d12416 1
d12419 3
a12421 3
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
d12434 1
a12434 1
cat >>$CONFIG_STATUS <<\_ACEOF
d12444 1
a12444 1
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
d12466 32
d12500 5
a12504 9
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
a12519 2
as_nl='
'
d12542 1
a12542 1
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d12555 4
a12558 11
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  fi
done
d12580 1
a12580 1
echo X/"$0" |
d12631 1
a12631 1
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
a12658 1

d12671 1
a12671 1
  mkdir conf$$.dir
d12673 12
a12684 8
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d12686 1
a12686 2
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
d12711 1
a12711 1
        test -d "$1/.";
d12714 1
a12714 1
        -*)set "./$1";;
d12737 1
a12737 1
generated by GNU Autoconf 2.61.  Invocation command line was
d12750 10
a12759 1
cat >>$CONFIG_STATUS <<_ACEOF
d12766 1
a12766 1
cat >>$CONFIG_STATUS <<\_ACEOF
d12771 1
a12771 1
Usage: $0 [OPTIONS] [FILE]...
d12775 2
a12776 1
  -q, --quiet      do not print progress messages
d12779 4
a12782 4
  --file=FILE[:TEMPLATE]
		   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
		   instantiate the configuration header FILE
d12793 1
a12793 1
cat >>$CONFIG_STATUS <<_ACEOF
d12796 2
a12797 2
configured by $0, generated by GNU Autoconf 2.61,
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
d12799 1
a12799 1
Copyright (C) 2006 Free Software Foundation, Inc.
d12806 1
d12809 2
a12810 3
cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
d12832 1
a12832 1
    echo "$ac_cs_version"; exit ;;
d12837 4
a12840 1
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
d12844 4
a12847 1
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
d12851 1
a12851 1
    { echo "$as_me: error: ambiguous option: $1
d12855 1
a12855 1
    echo "$ac_cs_usage"; exit ;;
d12861 1
a12861 1
  -*) { echo "$as_me: error: unrecognized option: $1
d12880 1
a12880 1
cat >>$CONFIG_STATUS <<_ACEOF
d12882 4
a12885 2
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  CONFIG_SHELL=$SHELL
d12887 1
a12887 1
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d12891 1
a12891 1
cat >>$CONFIG_STATUS <<\_ACEOF
d12898 1
a12898 1
  echo "$ac_log"
d12902 1
a12902 1
cat >>$CONFIG_STATUS <<_ACEOF
d12905 1
a12905 1
cat >>$CONFIG_STATUS <<\_ACEOF
d12919 2
a12920 2
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
d12960 1
a12960 1
   echo "$me: cannot create a temporary directory in ." >&2
d12964 5
a12968 3
#
# Set up the sed scripts for CONFIG_FILES section.
#
d12970 7
a12976 3
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "$CONFIG_FILES"; then
d12978 1
d12982 9
a12990 1

d12993 4
a12996 99
  cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
CXX!$CXX$ac_delim
CXXFLAGS!$CXXFLAGS$ac_delim
ac_ct_CXX!$ac_ct_CXX$ac_delim
TTYDEVDIRS!$TTYDEVDIRS$ac_delim
OTHERDEVDIRS!$OTHERDEVDIRS$ac_delim
XMKMF!$XMKMF$ac_delim
CPP!$CPP$ac_delim
X_CFLAGS!$X_CFLAGS$ac_delim
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
X_LIBS!$X_LIBS$ac_delim
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
XDEVDIRS!$XDEVDIRS$ac_delim
XPROGDIRS!$XPROGDIRS$ac_delim
XLIBDIRS!$XLIBDIRS$ac_delim
appresdir!$appresdir$ac_delim
LPR!$LPR$ac_delim
LP!$LP$ac_delim
LPQ!$LPQ$ac_delim
PSPRINT!$PSPRINT$ac_delim
DVIPRINT!$DVIPRINT$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
PERLPATH!$PERLPATH$ac_delim
YACC!$YACC$ac_delim
MAKEINFO!$MAKEINFO$ac_delim
RANLIB!$RANLIB$ac_delim
INSTALL_INFO!$INSTALL_INFO$ac_delim
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
INSTALL_DATA!$INSTALL_DATA$ac_delim
LN_S!$LN_S$ac_delim
SH_SCRIPT_SED_CMD!$SH_SCRIPT_SED_CMD$ac_delim
LIBC!$LIBC$ac_delim
LIBM!$LIBM$ac_delim
build!$build$ac_delim
build_cpu!$build_cpu$ac_delim
build_vendor!$build_vendor$ac_delim
build_os!$build_os$ac_delim
host!$host$ac_delim
host_cpu!$host_cpu$ac_delim
host_vendor!$host_vendor$ac_delim
host_os!$host_os$ac_delim
LIBICONV!$LIBICONV$ac_delim
LTLIBICONV!$LTLIBICONV$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
BROKEN_SPOOLER_FLAGS!$BROKEN_SPOOLER_FLAGS$ac_delim
PAGE!$PAGE$ac_delim
g!$g$ac_delim
sys_tmac_prefix!$sys_tmac_prefix$ac_delim
tmac_wrap!$tmac_wrap$ac_delim
GROFF_PATH_SEPARATOR!$GROFF_PATH_SEPARATOR$ac_delim
ALT_GHOSTSCRIPT_PROGS!$ALT_GHOSTSCRIPT_PROGS$ac_delim
GHOSTSCRIPT!$GHOSTSCRIPT$ac_delim
_ACEOF
d12998 2
a12999 1
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
d13002 2
a13003 2
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
d13009 1
d13011 52
a13062 5
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi
d13064 17
a13080 17
cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
CEOF$ac_eof
_ACEOF
d13082 2
d13085 1
a13085 19
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
ac_ct_GHOSTSCRIPT!$ac_ct_GHOSTSCRIPT$ac_delim
pnmcut!$pnmcut$ac_delim
pnmcrop!$pnmcrop$ac_delim
pnmtopng!$pnmtopng$ac_delim
psselect!$psselect$ac_delim
pnmtops!$pnmtops$ac_delim
make_html!$make_html$ac_delim
make_install_html!$make_install_html$ac_delim
ALT_AWK_PROGS!$ALT_AWK_PROGS$ac_delim
AWK!$AWK$ac_delim
ac_ct_AWK!$ac_ct_AWK$ac_delim
make_pdfdoc!$make_pdfdoc$ac_delim
make_install_pdfdoc!$make_install_pdfdoc$ac_delim
pnmtops_nosetpage!$pnmtops_nosetpage$ac_delim
GLIBC21!$GLIBC21$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
d13087 8
a13094 6

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
a13095 29
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
a13097 1

d13113 1
a13113 1
cat >>$CONFIG_STATUS <<\_ACEOF
d13116 112
d13229 3
a13231 1
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
d13238 2
a13239 2
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
d13268 2
a13269 2
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
d13272 2
a13273 1
      ac_file_inputs="$ac_file_inputs $ac_f"
d13279 3
a13281 2
    configure_input="Generated from "`IFS=:
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
d13284 2
a13285 2
      { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
d13287 7
d13296 4
a13299 1
    *:-:* | *:-) cat >"$tmp/stdin";;
d13309 1
a13309 1
echo X"$ac_file" |
d13335 1
a13335 1
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
d13344 1
a13344 1
echo X"$as_dir" |
d13365 2
a13366 2
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
d13373 1
a13373 1
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
d13375 1
a13375 1
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
d13415 1
a13415 1
cat >>$CONFIG_STATUS <<\_ACEOF
d13420 2
a13421 1
case `sed -n '/datarootdir/ {
d13430 2
a13431 1
' $ac_file_inputs` in
d13434 2
a13435 2
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
d13437 1
a13437 1
cat >>$CONFIG_STATUS <<_ACEOF
d13451 2
a13452 2
cat >>$CONFIG_STATUS <<_ACEOF
  sed "$ac_vpsub
d13455 1
a13455 1
cat >>$CONFIG_STATUS <<\_ACEOF
d13458 1
a13458 1
s&@@configure_input@@&$configure_input&;t t
d13460 1
d13470 5
a13474 1
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
d13479 1
a13479 1
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d13481 1
a13481 1
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d13486 6
a13491 3
  -) cat "$tmp/out"; rm -f "$tmp/out";;
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  esac
a13496 78
_ACEOF

# Transform confdefs.h into a sed script `conftest.defines', that
# substitutes the proper values into config.h.in to produce config.h.
rm -f conftest.defines conftest.tail
# First, append a space to every undef/define line, to ease matching.
echo 's/$/ /' >conftest.defines
# Then, protect against being on the right side of a sed subst, or in
# an unquoted here document, in config.status.  If some macros were
# called several times there might be several #defines for the same
# symbol, which is useless.  But do not sort them, since the last
# AC_DEFINE must be honored.
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
# NAME is the cpp macro being defined, VALUE is the value it is being given.
# PARAMS is the parameter list in the macro definition--in most cases, it's
# just an empty string.
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
ac_dB='\\)[	 (].*,\\1define\\2'
ac_dC=' '
ac_dD=' ,'

uniq confdefs.h |
  sed -n '
	t rset
	:rset
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
	t ok
	d
	:ok
	s/[\\&,]/\\&/g
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  ' >>conftest.defines

# Remove the space that was appended to ease matching.
# Then replace #undef with comments.  This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
# (The regexp can be short, since the line contains either #define or #undef.)
echo 's/ $//
s,^[	 #]*u.*,/* & */,' >>conftest.defines

# Break up conftest.defines:
ac_max_sed_lines=50

# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
# et cetera.
ac_in='$ac_file_inputs'
ac_out='"$tmp/out1"'
ac_nxt='"$tmp/out2"'

while :
do
  # Write a here document:
    cat >>$CONFIG_STATUS <<_ACEOF
    # First, check the format of the line:
    cat >"\$tmp/defines.sed" <<\\CEOF
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
b
:def
_ACEOF
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  echo 'CEOF
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  grep . conftest.tail >/dev/null || break
  rm -f conftest.defines
  mv conftest.tail conftest.defines
done
rm -f conftest.defines conftest.tail

echo "ac_result=$ac_in" >>$CONFIG_STATUS
cat >>$CONFIG_STATUS <<\_ACEOF
d13498 10
a13507 5
    echo "/* $configure_input  */" >"$tmp/config.h"
    cat "$ac_result" >>"$tmp/config.h"
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
d13509 5
a13513 2
      rm -f $ac_file
      mv "$tmp/config.h" $ac_file
d13516 5
a13520 2
    echo "/* $configure_input  */"
    cat "$ac_result"
a13521 1
  rm -f "$tmp/out12"
d13542 5
d13568 4
d13576 1
a13576 1
       { echo "$as_me:$LINENO:
d13597 1
a13597 1
echo "$as_me:
@


1.79
log
@

* configure: Regenerated.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59b.
d5 2
a6 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004 Free Software Foundation, Inc.
d13 2
a14 1
# Be Bourne compatible
d22 5
a26 2
elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
d28 2
a29 2
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
d61 10
a70 2
# Find who we are.  Look in the path if we contain no path at all
# relative or not.
d80 1
d90 2
a91 2
  { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
   { (exit 1); exit 1; }; }
d116 2
a117 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d123 1
a123 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d131 1
a131 1
as_me=`$as_basename "$0" ||
d134 1
a134 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d136 13
a148 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d150 2
d162 1
a162 1
(func_return () {
d165 2
a166 2
func_success () {
  func_return 0
d168 2
a169 2
func_failure () {
  func_return 1
d171 1
a171 1
func_ret_success () {
d174 1
a174 1
func_ret_failure () {
d179 1
a179 1
if func_success; then
d183 1
a183 1
  echo func_failure succeeded.
d186 1
a186 1
if func_failure; then
d188 1
a188 1
  echo func_success failed.
d191 1
a191 1
if func_ret_success; then
d195 6
a200 1
  echo func_ret_success failed.
d203 3
a205 1
if func_ret_failure; then
d207 1
a207 1
  echo func_ret_failure succeeded.
a214 1
  as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
d216 1
a216 1
  test \"x\$as_lineno_3\"  = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
d230 1
a230 1
	   done
d233 1
d237 3
a239 2
	 if { $as_shell 2> /dev/null <<\_ASEOF
# Be Bourne compatible
d247 5
a251 2
elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
d253 1
a253 2
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
d260 1
a260 2
	       if { $as_shell 2> /dev/null <<\_ASEOF
# Be Bourne compatible
d268 5
a272 2
elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
d274 1
a274 2
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
d277 1
a277 1
(func_return () {
d280 2
a281 2
func_success () {
  func_return 0
d283 2
a284 2
func_failure () {
  func_return 1
d286 1
a286 1
func_ret_success () {
d289 1
a289 1
func_ret_failure () {
d294 1
a294 1
if func_success; then
d298 1
a298 1
  echo func_failure succeeded.
d301 1
a301 1
if func_failure; then
d303 1
a303 1
  echo func_success failed.
d306 1
a306 1
if func_ret_success; then
d310 6
a315 1
  echo func_ret_success failed.
d318 3
a320 1
if func_ret_failure; then
d322 1
a322 1
  echo func_ret_failure succeeded.
a329 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d331 1
a331 1
  test "x$as_lineno_3"  = "x$as_lineno_2") || { (exit 1); exit 1; }
d366 1
a366 1
(eval "func_return () {
d369 2
a370 2
func_success () {
  func_return 0
d372 2
a373 2
func_failure () {
  func_return 1
d375 1
a375 1
func_ret_success () {
d378 1
a378 1
func_ret_failure () {
d383 1
a383 1
if func_success; then
d387 1
a387 1
  echo func_failure succeeded.
d390 1
a390 1
if func_failure; then
d392 1
a392 1
  echo func_success failed.
d395 1
a395 1
if func_ret_success; then
d399 6
a404 1
  echo func_ret_success failed.
d407 3
a409 1
if func_ret_failure; then
d411 1
a411 1
  echo func_ret_failure succeeded.
a424 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d426 1
a426 1
  test "x$as_lineno_3"  = "x$as_lineno_2" || {
d443 1
a443 1
      s,[$]LINENO.*,&-,
d446 1
a446 1
      : lineno
d448 2
a449 2
      : loop
      s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
d451 1
a451 1
      s,-\n.*,,
d453 1
a453 1
  chmod +x $as_me.lineno ||
d459 2
a460 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d466 15
a480 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d483 2
a484 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d491 6
d499 6
a504 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a505 3
  else
    as_ln_s='ln -s'
  fi
d511 2
a512 1
rm -f conf$$ conf$$.exe conf$$.file
d521 22
a542 1
as_executable_p="test -f"
a550 8
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH
d552 1
a558 2
exec 6>&1

d563 1
d565 1
a571 5
# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

d583 1
a583 1
#if HAVE_SYS_TYPES_H
d586 1
a586 1
#if HAVE_SYS_STAT_H
d589 1
a589 1
#if STDC_HEADERS
d593 1
a593 1
# if HAVE_STDLIB_H
d597 2
a598 2
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
d603 1
a603 1
#if HAVE_STRINGS_H
d606 1
a606 1
#if HAVE_INTTYPES_H
d609 1
a609 1
#if HAVE_STDINT_H
d612 1
a612 1
#if HAVE_UNISTD_H
d616 113
a728 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT GREP EGREP PERLPATH YACC MAKEINFO RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD LIBC LIBM build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage GLIBC21 LTLIBOBJS'
d730 14
d770 1
d774 2
a775 1
datadir='${prefix}/share'
a778 1
libdir='${exec_prefix}/lib'
d781 9
a789 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d797 1
a797 1
    eval "$ac_prev=\$ac_option"
d802 4
a805 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d833 1
a833 1
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
d835 1
a835 2
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
d838 7
d848 1
a848 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d851 12
a862 2
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d867 1
a867 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d870 2
a871 6
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;
d898 6
d928 5
d934 1
a934 2
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
d937 1
a937 2
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
d1002 10
d1064 1
a1064 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1067 2
a1068 6
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;
d1073 1
a1073 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1076 2
a1077 2
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d1108 1
a1108 2
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
d1129 4
a1132 1
for ac_var in exec_prefix prefix
d1134 1
a1134 1
  eval ac_val=$`echo $ac_var`
d1136 2
a1137 15
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute directory names.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d1139 2
d1167 10
d1180 2
a1181 2
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
d1185 1
a1185 2
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d1187 17
a1203 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1205 1
a1205 1
  if test ! -r $srcdir/$ac_unique_file; then
d1211 3
a1213 6
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
   { (exit 1); exit 1; }; }
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
a1214 1
  fi
d1216 3
a1218 2
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
d1220 17
a1236 41
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CXX_set=${CXX+set}
ac_env_CXX_value=$CXX
ac_cv_env_CXX_set=${CXX+set}
ac_cv_env_CXX_value=$CXX
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
ac_env_CXXFLAGS_value=$CXXFLAGS
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
a1264 3
_ACEOF

  cat <<_ACEOF
a1281 1
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
d1288 10
a1297 2
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
d1339 3
a1341 2
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
d1344 1
d1351 1
a1355 1
  ac_popdir=`pwd`
d1357 1
a1357 1
    test -d $ac_dir || continue
d1360 3
a1362 1
if test "$ac_dir" != .; then
d1364 11
a1374 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d1377 1
a1377 1
  .)  # No --srcdir option.  We are building in place.
d1379 2
a1380 5
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
d1383 2
a1384 1
    ac_top_srcdir=$srcdir ;;
d1386 3
a1388 41
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute names, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
d1390 1
d1392 8
a1399 12
    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
	   test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
d1402 2
a1403 2
    fi
    cd "$ac_popdir"
d1407 1
a1407 1
test -n "$ac_init_help" && exit 0
d1410 2
d1413 2
a1414 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
2003, 2004 Free Software Foundation, Inc.
d1418 1
a1418 1
  exit 0
d1420 1
a1420 2
exec 5>config.log
cat >&5 <<_ACEOF
d1425 1
a1425 1
generated by GNU Autoconf 2.59b.  Invocation command line was
d1430 1
d1449 1
a1449 1
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
d1463 1
a1484 1
ac_sep=
d1495 1
a1495 1
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
d1517 1
a1517 3
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
d1528 2
a1529 2
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
d1542 15
a1556 1
{
d1558 2
a1559 2
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d1561 3
a1563 3
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
d1565 1
a1565 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1567 3
a1569 2
    esac;
}
d1580 5
a1584 2
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
d1590 3
a1592 3
## ------------- ##
## Output files. ##
## ------------- ##
d1597 5
a1601 2
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
d1613 1
a1613 1
      sed "/^$/d" confdefs.h | sort
d1620 2
a1621 2
  rm -f core *.core &&
  rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d1623 1
a1623 1
     ' 0
a1630 4
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
# NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
ac_space=' '
echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
d1661 7
a1667 6
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
d1669 3
a1671 1
for ac_site_file in $CONFIG_SITE; do
d1687 2
a1688 2
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
d1700 1
a1700 2
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1703 2
a1704 2
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
d1729 1
a1729 2
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
a1745 6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

d1762 5
d1771 1
a1771 1
          ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"
d1784 2
a1785 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d1798 1
a1798 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d1805 1
d1811 2
a1812 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d1814 2
a1815 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d1818 1
d1824 2
a1825 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d1838 1
a1838 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d1845 1
d1851 2
a1852 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d1854 2
a1855 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d1861 3
a1863 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d1869 2
a1870 1
    fi
d1878 2
a1879 2
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d1881 2
a1882 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d1895 1
a1895 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d1902 1
d1908 2
a1909 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d1911 2
a1912 4
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

a1913 25
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
a1914 10
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
a1915 12
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
    fi
    CC=$ac_ct_CC
a1916 4
else
  CC="$ac_cv_prog_CC"
fi

d1921 2
a1922 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d1936 1
a1936 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d1947 1
d1965 2
a1966 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d1968 2
a1969 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d1972 1
d1976 1
a1976 1
  for ac_prog in cl
d1980 2
a1981 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d1994 1
a1994 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2001 1
d2007 2
a2008 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2010 2
a2011 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2014 1
d2020 1
a2020 1
  for ac_prog in cl
d2024 2
a2025 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2038 1
a2038 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2045 1
d2051 2
a2052 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2054 2
a2055 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2058 1
d2065 3
a2067 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d2073 2
a2074 1
    fi
d2089 1
a2089 2
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
d2091 7
a2097 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
d2101 7
a2107 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
d2111 7
a2117 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
d2142 2
a2143 2
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
d2158 1
a2158 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
d2164 7
a2170 2
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
d2174 6
a2179 4
  # Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
for ac_file in $ac_files
d2183 1
a2183 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
d2190 9
a2198 5
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
d2204 2
d2207 6
a2223 2
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
d2225 1
a2225 1
# Check the compiler produces executables we can run.  If not, either
d2227 2
a2228 2
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
d2233 6
a2238 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2257 2
a2258 2
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d2262 1
a2262 1
# Check the compiler produces executables we can run.  If not, either
d2264 14
a2277 9
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2288 1
a2288 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
a2289 1
	  export ac_cv_exeext
d2303 2
a2304 2
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
d2309 2
a2310 2
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
d2330 7
a2336 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d2340 2
a2341 1
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
d2343 1
a2343 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
d2361 2
a2362 2
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
d2365 2
a2366 2
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
d2389 7
a2395 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2401 4
a2404 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2410 1
a2410 1
ac_compiler_gnu=no
d2412 2
a2413 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2417 2
a2418 2
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
d2422 2
a2423 2
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
d2447 7
a2453 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2459 4
a2462 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2468 1
a2468 1
CFLAGS=""
d2485 7
a2491 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2497 4
a2500 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2506 1
a2506 1
ac_c_werror_flag=$ac_save_c_werror_flag
d2524 7
a2530 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2536 4
a2539 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2545 1
d2547 2
a2548 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2550 2
a2551 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2553 2
a2554 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2557 2
a2558 2
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
d2574 3
a2576 3
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
d2579 1
a2579 1
  ac_cv_prog_cc_stdc=no
d2619 5
d2638 2
a2639 8
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix, OSF/1, Tru64	-std
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d2643 7
a2649 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2655 5
a2659 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
d2664 1
d2666 3
a2668 1
rm -f conftest.err conftest.$ac_objext
d2670 1
a2670 1
rm -f conftest.$ac_ext conftest.$ac_objext
d2674 8
a2681 5

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
d2683 3
a2685 3
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
d2688 1
a2688 143
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

continue
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2695 1
a2695 1
ac_ext=cc
d2700 6
a2705 2
if test -n "$ac_tool_prefix"; then
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
d2709 2
a2710 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2723 1
a2723 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2730 1
d2736 2
a2737 2
  echo "$as_me:$LINENO: result: $CXX" >&5
echo "${ECHO_T}$CXX" >&6
d2739 2
a2740 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2743 1
d2749 1
a2749 1
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
d2753 2
a2754 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2767 1
a2767 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2774 1
d2780 2
a2781 2
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
echo "${ECHO_T}$ac_ct_CXX" >&6
d2783 2
a2784 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2787 1
d2794 3
a2796 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d2802 2
a2803 1
    fi
d2808 2
a2809 1

d2811 1
a2811 2
echo "$as_me:$LINENO:" \
     "checking for C++ compiler version" >&5
d2813 7
a2819 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
d2823 7
a2829 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
d2833 7
a2839 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
d2844 2
a2845 2
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
d2868 7
a2874 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2880 4
a2883 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2889 1
a2889 1
ac_compiler_gnu=no
d2891 2
a2892 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2896 2
a2897 2
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
d2901 2
a2902 2
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
d2926 7
a2932 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2938 4
a2941 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2947 1
a2947 1
CXXFLAGS=""
d2964 7
a2970 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2976 4
a2979 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2985 1
a2985 1
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
d3003 7
a3009 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3015 4
a3018 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3024 1
d3026 2
a3027 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3029 2
a3030 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3032 2
a3033 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3036 2
a3037 2
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
a3052 106
for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

continue
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

d3061 1
a3061 1
   ac_ext=cc
d3068 2
a3069 2
     echo "$as_me:$LINENO: checking that C++ compiler can compile simple program" >&5
echo $ECHO_N "checking that C++ compiler can compile simple program... $ECHO_C" >&6
d3091 7
a3097 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3101 6
a3106 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d3110 2
a3111 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3118 2
a3119 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d3124 1
a3124 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3127 2
d3130 2
a3131 2
     echo "$as_me:$LINENO: checking that C++ static constructors and destructors are called" >&5
echo $ECHO_N "checking that C++ static constructors and destructors are called... $ECHO_C" >&6
d3167 7
a3173 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3177 6
a3182 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d3186 2
a3187 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3194 2
a3195 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d3200 1
a3200 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3203 4
a3206 2
   echo "$as_me:$LINENO: checking that header files support C++" >&5
echo $ECHO_N "checking that header files support C++... $ECHO_C" >&6
d3233 7
a3239 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d3245 7
a3251 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3256 2
a3257 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d3266 2
a3267 1
rm -f conftest.err conftest.$ac_objext \
d3276 2
a3277 2
echo "$as_me:$LINENO: checking whether character set is EBCDIC" >&5
echo $ECHO_N "checking whether character set is EBCDIC... $ECHO_C" >&6
d3305 7
a3311 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3317 4
a3320 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3323 2
a3324 2
      echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3334 1
a3334 1
groff_cv_ebcdic="no"
d3337 2
a3338 2
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d3340 2
a3341 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3345 2
a3346 2
     echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
d3350 2
a3351 2
       echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 ;;
d3353 2
a3354 2
       echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6 ;;
d3362 2
a3363 2
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
d3397 7
a3403 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3409 4
a3412 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3421 1
d3424 1
a3424 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3434 7
a3440 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3446 4
a3449 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3460 1
d3478 2
a3479 2
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
d3502 7
a3508 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3514 4
a3517 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3526 1
d3529 1
a3529 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3539 7
a3545 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3551 4
a3554 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3565 1
d3588 2
a3589 2
echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
d3592 1
a3592 1
# Check whether --with-x or --without-x was given.
d3594 2
a3595 1
  withval="$with_x"
a3596 1
fi;
d3602 5
a3606 5
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
a3613 1
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
d3615 6
a3620 2
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
d3622 1
a3622 1
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
d3624 3
a3626 1
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
d3629 2
a3630 2
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
	 test -f $ac_im_libdir/libX11.$ac_extension; then
d3638 1
a3638 1
	/usr/include) ;;
d3688 1
a3688 1
  # Guess where to find include files, by looking for Intrinsic.h.
d3696 1
a3696 1
#include <X11/Intrinsic.h>
d3698 7
a3704 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3710 4
a3713 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3721 1
a3721 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d3727 1
d3736 1
a3736 1
  LIBS="-lXt $LIBS"
d3743 1
a3743 1
#include <X11/Intrinsic.h>
d3747 1
a3747 1
XtMalloc (0)
d3753 7
a3759 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d3765 8
a3772 17
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
d3777 1
a3777 1
LIBS=$ac_save_LIBS
d3782 1
a3782 1
    if test -r $ac_dir/libXt.$ac_extension; then
d3789 2
a3790 1
rm -f conftest.err conftest.$ac_objext \
d3794 10
a3803 7
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d3805 3
a3807 3
fi

  fi
d3812 2
a3813 2
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
d3820 5
a3824 4
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
d3845 6
a3850 6
    case `(uname -sr) 2>/dev/null` in
    "SunOS 5"*)
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
      cat >conftest.$ac_ext <<_ACEOF
d3866 7
a3872 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d3878 8
a3885 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_R_nospace=yes
a3889 9
ac_R_nospace=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
      if test $ac_R_nospace = yes; then
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
	X_LIBS="$X_LIBS -R$x_libraries"
      else
d3891 1
a3891 1
	cat >conftest.$ac_ext <<_ACEOF
d3907 7
a3913 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d3919 8
a3926 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_R_space=yes
d3931 6
a3936 1
ac_R_space=no
d3938 2
a3939 1
rm -f conftest.err conftest.$ac_objext \
d3941 2
a3942 11
	if test $ac_R_space = yes; then
	  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	  X_LIBS="$X_LIBS -R $x_libraries"
	else
	  echo "$as_me:$LINENO: result: neither works" >&5
echo "${ECHO_T}neither works" >&6
	fi
      fi
      LIBS=$ac_xsave_LIBS
    esac
d3963 3
a3965 1
/* Override any gcc2 internal prototype to avoid an error.  */
a3968 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d3973 1
a3973 1
XOpenDisplay ();
d3979 7
a3985 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d3991 5
a3995 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4001 2
a4002 2
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
d4015 3
a4017 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4020 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4025 1
a4025 1
dnet_ntoa ();
d4031 7
a4037 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4043 5
a4047 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4053 1
a4053 1
ac_cv_lib_dnet_dnet_ntoa=no
d4055 2
a4056 1
rm -f conftest.err conftest.$ac_objext \
d4060 2
a4061 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
d4067 2
a4068 2
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
d4081 3
a4083 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4086 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4091 1
a4091 1
dnet_ntoa ();
d4097 7
a4103 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4109 5
a4113 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4119 1
a4119 1
ac_cv_lib_dnet_stub_dnet_ntoa=no
d4121 2
a4122 1
rm -f conftest.err conftest.$ac_objext \
d4126 2
a4127 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
d4134 2
a4135 1
rm -f conftest.err conftest.$ac_objext \
d4147 2
a4148 2
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
d4175 3
a4177 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4179 1
{
a4180 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4185 1
a4185 1
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
a4186 5
#else
char (*f) () = gethostbyname;
#endif
#ifdef __cplusplus
}
d4192 1
a4192 1
return f != gethostbyname;
d4198 7
a4204 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4210 5
a4214 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4220 1
a4220 1
ac_cv_func_gethostbyname=no
d4222 2
a4223 1
rm -f conftest.err conftest.$ac_objext \
d4226 2
a4227 2
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
d4230 2
a4231 2
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
d4244 3
a4246 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4249 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4254 1
a4254 1
gethostbyname ();
d4260 7
a4266 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4272 5
a4276 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4282 1
a4282 1
ac_cv_lib_nsl_gethostbyname=no
d4284 2
a4285 1
rm -f conftest.err conftest.$ac_objext \
d4289 2
a4290 2
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
d4296 2
a4297 2
	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
d4310 3
a4312 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4315 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4320 1
a4320 1
gethostbyname ();
d4326 7
a4332 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4338 5
a4342 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4348 1
a4348 1
ac_cv_lib_bsd_gethostbyname=no
d4350 2
a4351 1
rm -f conftest.err conftest.$ac_objext \
d4355 2
a4356 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
d4371 2
a4372 2
    echo "$as_me:$LINENO: checking for connect" >&5
echo $ECHO_N "checking for connect... $ECHO_C" >&6
d4399 3
a4401 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4403 1
{
a4404 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4409 1
a4409 1
#if defined (__stub_connect) || defined (__stub___connect)
a4410 5
#else
char (*f) () = connect;
#endif
#ifdef __cplusplus
}
d4416 1
a4416 1
return f != connect;
d4422 7
a4428 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4434 5
a4438 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4444 1
a4444 1
ac_cv_func_connect=no
d4446 2
a4447 1
rm -f conftest.err conftest.$ac_objext \
d4450 2
a4451 2
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
echo "${ECHO_T}$ac_cv_func_connect" >&6
d4454 2
a4455 2
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
d4468 3
a4470 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4473 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4478 1
a4478 1
connect ();
d4484 7
a4490 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4496 5
a4500 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4506 1
a4506 1
ac_cv_lib_socket_connect=no
d4508 2
a4509 1
rm -f conftest.err conftest.$ac_objext \
d4513 2
a4514 2
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
d4522 2
a4523 2
    echo "$as_me:$LINENO: checking for remove" >&5
echo $ECHO_N "checking for remove... $ECHO_C" >&6
d4550 3
a4552 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4554 1
{
a4555 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4560 1
a4560 1
#if defined (__stub_remove) || defined (__stub___remove)
a4561 5
#else
char (*f) () = remove;
#endif
#ifdef __cplusplus
}
d4567 1
a4567 1
return f != remove;
d4573 7
a4579 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4585 5
a4589 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4595 1
a4595 1
ac_cv_func_remove=no
d4597 2
a4598 1
rm -f conftest.err conftest.$ac_objext \
d4601 2
a4602 2
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
echo "${ECHO_T}$ac_cv_func_remove" >&6
d4605 2
a4606 2
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
d4619 3
a4621 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4624 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4629 1
a4629 1
remove ();
d4635 7
a4641 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4647 5
a4651 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4657 1
a4657 1
ac_cv_lib_posix_remove=no
d4659 2
a4660 1
rm -f conftest.err conftest.$ac_objext \
d4664 2
a4665 2
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
d4673 2
a4674 2
    echo "$as_me:$LINENO: checking for shmat" >&5
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
d4701 3
a4703 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4705 1
{
a4706 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4711 1
a4711 1
#if defined (__stub_shmat) || defined (__stub___shmat)
a4712 5
#else
char (*f) () = shmat;
#endif
#ifdef __cplusplus
}
d4718 1
a4718 1
return f != shmat;
d4724 7
a4730 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4736 5
a4740 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4746 1
a4746 1
ac_cv_func_shmat=no
d4748 2
a4749 1
rm -f conftest.err conftest.$ac_objext \
d4752 2
a4753 2
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
echo "${ECHO_T}$ac_cv_func_shmat" >&6
d4756 2
a4757 2
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
d4770 3
a4772 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4775 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4780 1
a4780 1
shmat ();
d4786 7
a4792 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4798 5
a4802 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4808 1
a4808 1
ac_cv_lib_ipc_shmat=no
d4810 2
a4811 1
rm -f conftest.err conftest.$ac_objext \
d4815 2
a4816 2
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
d4833 2
a4834 2
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
d4847 3
a4849 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4852 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4857 1
a4857 1
IceConnectionNumber ();
d4863 7
a4869 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4875 5
a4879 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4885 1
a4885 1
ac_cv_lib_ICE_IceConnectionNumber=no
d4887 2
a4888 1
rm -f conftest.err conftest.$ac_objext \
d4892 2
a4893 2
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
d4913 2
a4914 2
     echo "$as_me:$LINENO: checking for Xaw library and header files" >&5
echo $ECHO_N "checking for Xaw library and header files... $ECHO_C" >&6
d4938 7
a4944 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4950 7
a4956 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d4961 2
a4962 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4965 2
a4966 1
rm -f conftest.err conftest.$ac_objext \
d4970 2
a4971 2
     echo "$as_me:$LINENO: checking for Xmu library and header files" >&5
echo $ECHO_N "checking for Xmu library and header files... $ECHO_C" >&6
d4995 7
a5001 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5007 7
a5013 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d5018 2
a5019 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5022 2
a5023 1
rm -f conftest.err conftest.$ac_objext \
d5044 1
a5044 1
# Check whether --with-appresdir or --without-appresdir was given.
d5046 2
a5047 1
  withval="$with_appresdir"
a5048 1
fi;
d5143 2
a5144 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5157 1
a5157 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5164 1
d5170 2
a5171 2
  echo "$as_me:$LINENO: result: $LPR" >&5
echo "${ECHO_T}$LPR" >&6
d5173 2
a5174 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5177 1
d5185 2
a5186 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5199 1
a5199 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5206 1
d5212 2
a5213 2
  echo "$as_me:$LINENO: result: $LP" >&5
echo "${ECHO_T}$LP" >&6
d5215 2
a5216 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5219 1
d5231 2
a5232 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5245 1
a5245 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5252 1
d5258 2
a5259 2
  echo "$as_me:$LINENO: result: $LPQ" >&5
echo "${ECHO_T}$LPQ" >&6
d5261 2
a5262 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5265 1
d5278 4
a5281 4
   echo "$as_me:$LINENO: checking for command to use for printing PostScript files" >&5
echo $ECHO_N "checking for command to use for printing PostScript files... $ECHO_C" >&6
   echo "$as_me:$LINENO: result: $PSPRINT" >&5
echo "${ECHO_T}$PSPRINT" >&6
d5284 2
a5285 2
   echo "$as_me:$LINENO: checking for command to use for printing dvi files" >&5
echo $ECHO_N "checking for command to use for printing dvi files... $ECHO_C" >&6
d5294 4
a5297 4
   echo "$as_me:$LINENO: result: $DVIPRINT" >&5
echo "${ECHO_T}$DVIPRINT" >&6
echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
d5307 1
a5307 22
  # Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/GREP$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}
ac_path_GREP_found=false
d5310 1
a5310 2
as_dummy="$PATH:/usr/xpg4/bin"
for as_dir in $as_dummy
d5317 2
a5318 3
    test -f "$ac_path_GREP" || continue
    $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
  # Check for GNU ac_path_GREP and select it if it is found.
d5320 4
a5323 3
if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
else
d5325 1
a5325 1
  echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
d5328 6
a5333 6
    cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
    mv "$tmp/conftest.tmp" "$tmp/conftest.in"
    cp "$tmp/conftest.in" "$tmp/conftest.nl"
    echo 'GREP' >> "$tmp/conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
    diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
d5343 2
a5344 1
fi
a5345 1
fi
d5352 1
a5353 1
rm -rf "$tmp"
d5359 2
a5360 2
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
d5364 2
d5370 2
a5371 2
echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6
d5375 2
a5376 2
echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
d5380 1
a5380 1
  if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
d5389 1
a5389 22
  # Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/EGREP$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}
ac_path_EGREP_found=false
d5392 1
a5392 2
as_dummy="$PATH:/usr/xpg4/bin"
for as_dir in $as_dummy
d5399 2
a5400 3
    test -f "$ac_path_EGREP" || continue
    $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
  # Check for GNU ac_path_EGREP and select it if it is found.
d5402 4
a5405 3
if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
else
d5407 1
a5407 1
  echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
d5410 6
a5415 6
    cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
    mv "$tmp/conftest.tmp" "$tmp/conftest.in"
    cp "$tmp/conftest.in" "$tmp/conftest.nl"
    echo 'EGREP' >> "$tmp/conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
    diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
d5425 2
a5426 1
fi
a5427 1
fi
d5434 1
a5435 1
rm -rf "$tmp"
d5441 2
a5442 2
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
d5446 2
d5453 2
a5454 2
echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6
d5460 2
a5461 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5476 1
a5476 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5483 1
a5489 1

d5491 2
a5492 2
  echo "$as_me:$LINENO: result: $PERLPATH" >&5
echo "${ECHO_T}$PERLPATH" >&6
d5494 2
a5495 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5498 1
d5503 2
a5504 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5517 1
a5517 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5524 1
d5530 2
a5531 2
  echo "$as_me:$LINENO: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6
d5533 2
a5534 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5537 1
d5545 2
a5546 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5559 1
a5559 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5566 1
d5572 2
a5573 2
  echo "$as_me:$LINENO: result: $MAKEINFO" >&5
echo "${ECHO_T}$MAKEINFO" >&6
d5575 2
a5576 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5579 1
d5583 2
a5584 2
     echo "$as_me:$LINENO: checking for makeinfo version" >&5
echo $ECHO_N "checking for makeinfo version... $ECHO_C" >&6
d5588 2
a5589 2
     echo "$as_me:$LINENO: result: $makeinfo_version" >&5
echo "${ECHO_T}$makeinfo_version" >&6
d5623 2
a5624 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5637 1
a5637 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5644 1
d5650 2
a5651 2
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
d5653 2
a5654 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5657 1
d5663 2
a5664 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5677 1
a5677 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5684 1
d5690 2
a5691 2
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
d5693 2
a5694 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5700 3
a5702 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d5708 2
a5709 1
    fi
d5717 2
a5718 2
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  if test -f $ac_dir/install-sh; then
d5722 1
a5722 1
  elif test -f $ac_dir/install.sh; then
d5726 1
a5726 1
  elif test -f $ac_dir/shtool; then
d5733 2
a5734 2
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
d5737 9
a5745 3
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
d5754 2
a5755 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5768 1
a5768 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5775 1
d5781 2
a5782 2
  echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
echo "${ECHO_T}$INSTALL_INFO" >&6
d5784 2
a5785 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5788 1
d5806 2
a5807 2
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
d5829 1
a5829 1
	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
d5848 1
d5862 2
a5863 2
echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
d5873 2
a5874 2
echo "$as_me:$LINENO: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
d5877 2
a5878 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d5880 2
a5881 2
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6
d5887 2
a5888 2
echo "$as_me:$LINENO: checking for csh hash hack" >&5
echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6
d5899 2
a5900 2
     echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d5903 2
a5904 2
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5911 2
a5912 2
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
d5936 7
a5942 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d5948 4
a5951 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5957 1
a5957 1
ac_cv_header_stdc=no
d5959 2
a5960 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6036 2
a6037 2
      exit (2);
  exit (0);
d6041 7
a6047 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d6051 6
a6056 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d6069 1
a6069 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d6071 2
d6075 2
a6076 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
d6099 3
a6101 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d6115 7
a6121 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6127 4
a6130 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6136 1
a6136 1
eval "$as_ac_Header=no"
d6138 2
a6139 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6141 3
a6143 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d6170 4
a6173 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d6176 3
a6178 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d6181 2
a6182 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d6193 7
a6199 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6205 4
a6208 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6214 1
a6214 1
ac_header_compiler=no
d6216 4
a6219 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d6222 2
a6223 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d6232 7
a6238 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d6244 4
a6247 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d6255 1
d6257 2
a6258 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d6282 1
a6282 8
    (
      cat <<\_ASBOX
## ------------------------------------------ ##
## Report this to the AC_PACKAGE_NAME lists.  ##
## ------------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d6285 3
a6287 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d6292 3
a6294 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d6306 2
a6307 2
echo "$as_me:$LINENO: checking for ISC 3.x or 4.x" >&5
echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6
d6310 2
a6311 2
     echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d6318 2
a6319 2
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d6321 3
a6323 3
echo "$as_me:$LINENO: checking whether -D_POSIX_SOURCE is necessary" >&5
echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6
   ac_ext=cc
d6352 7
a6358 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6364 6
a6369 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d6379 2
a6380 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d6382 2
a6383 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6392 1
a6392 1
ac_ext=cc
d6398 2
a6399 2
   echo "$as_me:$LINENO: checking for return type of srand" >&5
echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6
d6423 7
a6429 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6435 6
a6440 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: void" >&5
echo "${ECHO_T}void" >&6
d6450 2
a6451 2
echo "$as_me:$LINENO: result: int" >&5
echo "${ECHO_T}int" >&6
d6453 2
a6454 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6461 3
a6463 3
echo "$as_me:$LINENO: checking whether gettimeofday must be declared" >&5
echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6
   ac_ext=cc
d6518 7
a6524 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6530 4
a6533 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6539 1
a6539 1
groff_cv_decl_needed_gettimeofday=yes
d6541 2
a6542 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6545 2
a6546 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_gettimeofday" >&5
echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6
d6560 3
a6562 3
echo "$as_me:$LINENO: checking whether hypot must be declared" >&5
echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6
   ac_ext=cc
d6617 7
a6623 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6629 4
a6632 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6638 1
a6638 1
groff_cv_decl_needed_hypot=yes
d6640 2
a6641 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6644 2
a6645 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_hypot" >&5
echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6
d6659 3
a6661 3
echo "$as_me:$LINENO: checking whether popen must be declared" >&5
echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6
   ac_ext=cc
d6716 7
a6722 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6728 4
a6731 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6737 1
a6737 1
groff_cv_decl_needed_popen=yes
d6739 2
a6740 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6743 2
a6744 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_popen" >&5
echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6
d6758 3
a6760 3
echo "$as_me:$LINENO: checking whether pclose must be declared" >&5
echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6
   ac_ext=cc
d6815 7
a6821 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6827 4
a6830 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6836 1
a6836 1
groff_cv_decl_needed_pclose=yes
d6838 2
a6839 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6842 2
a6843 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_pclose" >&5
echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6
d6857 3
a6859 3
echo "$as_me:$LINENO: checking whether putenv must be declared" >&5
echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6
   ac_ext=cc
d6914 7
a6920 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6926 4
a6929 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6935 1
a6935 1
groff_cv_decl_needed_putenv=yes
d6937 2
a6938 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6941 2
a6942 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_putenv" >&5
echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6
d6956 3
a6958 3
echo "$as_me:$LINENO: checking whether rand must be declared" >&5
echo $ECHO_N "checking whether rand must be declared... $ECHO_C" >&6
   ac_ext=cc
d7013 7
a7019 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7025 4
a7028 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7034 1
a7034 1
groff_cv_decl_needed_rand=yes
d7036 2
a7037 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7040 2
a7041 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_rand" >&5
echo "${ECHO_T}$groff_cv_decl_needed_rand" >&6
d7055 3
a7057 3
echo "$as_me:$LINENO: checking whether snprintf must be declared" >&5
echo $ECHO_N "checking whether snprintf must be declared... $ECHO_C" >&6
   ac_ext=cc
d7112 7
a7118 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7124 4
a7127 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7133 1
a7133 1
groff_cv_decl_needed_snprintf=yes
d7135 2
a7136 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7139 2
a7140 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_snprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_snprintf" >&6
d7154 3
a7156 3
echo "$as_me:$LINENO: checking whether srand must be declared" >&5
echo $ECHO_N "checking whether srand must be declared... $ECHO_C" >&6
   ac_ext=cc
d7211 7
a7217 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7223 4
a7226 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7232 1
a7232 1
groff_cv_decl_needed_srand=yes
d7234 2
a7235 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7238 2
a7239 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_srand" >&5
echo "${ECHO_T}$groff_cv_decl_needed_srand" >&6
d7253 3
a7255 3
echo "$as_me:$LINENO: checking whether strcasecmp must be declared" >&5
echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6
   ac_ext=cc
d7310 7
a7316 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7322 4
a7325 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7331 1
a7331 1
groff_cv_decl_needed_strcasecmp=yes
d7333 2
a7334 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7337 2
a7338 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strcasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6
d7352 3
a7354 3
echo "$as_me:$LINENO: checking whether strncasecmp must be declared" >&5
echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
   ac_ext=cc
d7409 7
a7415 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7421 4
a7424 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7430 1
a7430 1
groff_cv_decl_needed_strncasecmp=yes
d7432 2
a7433 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7436 2
a7437 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strncasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6
d7451 3
a7453 3
echo "$as_me:$LINENO: checking whether vfprintf must be declared" >&5
echo $ECHO_N "checking whether vfprintf must be declared... $ECHO_C" >&6
   ac_ext=cc
d7508 7
a7514 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7520 4
a7523 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7529 1
a7529 1
groff_cv_decl_needed_vfprintf=yes
d7531 2
a7532 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7535 2
a7536 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vfprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_vfprintf" >&6
d7550 3
a7552 3
echo "$as_me:$LINENO: checking whether vsnprintf must be declared" >&5
echo $ECHO_N "checking whether vsnprintf must be declared... $ECHO_C" >&6
   ac_ext=cc
d7607 7
a7613 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7619 4
a7622 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7628 1
a7628 1
groff_cv_decl_needed_vsnprintf=yes
d7630 2
a7631 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7634 2
a7635 2
   echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vsnprintf" >&5
echo "${ECHO_T}$groff_cv_decl_needed_vsnprintf" >&6
d7649 1
a7649 1
ac_ext=cc
d7655 2
a7656 2
   echo "$as_me:$LINENO: checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
echo $ECHO_N "checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6
d7686 7
a7692 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7698 6
a7703 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7713 2
a7714 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7716 2
a7717 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7724 2
a7725 2
echo "$as_me:$LINENO: checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
echo $ECHO_N "checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6
d7755 7
a7761 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7767 6
a7772 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7782 2
a7783 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7785 3
a7787 2
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=cc
d7793 2
a7794 2
   echo "$as_me:$LINENO: checking C++ <osfcn.h>" >&5
echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6
d7822 7
a7828 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7834 6
a7839 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7849 2
a7850 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7852 2
a7853 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7860 1
a7860 1
ac_ext=cc
d7866 2
a7867 2
   echo "$as_me:$LINENO: checking C++ <limits.h>" >&5
echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6
d7896 7
a7902 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7908 6
a7913 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7923 2
a7924 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7926 2
a7927 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7934 1
a7934 1
ac_ext=cc
d7940 2
a7941 2
   echo "$as_me:$LINENO: checking C++ <inttypes.h>" >&5
echo $ECHO_N "checking C++ <inttypes.h>... $ECHO_C" >&6
d7969 7
a7975 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7981 4
a7984 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7995 1
a7995 1
groff_cv_header_inttypes_h=no
d7997 4
a8000 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   echo "$as_me:$LINENO: result: $groff_cv_header_inttypes_h" >&5
echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6
d8009 1
a8009 1
ac_ext=cc
d8015 2
a8016 2
   echo "$as_me:$LINENO: checking for unsigned long long" >&5
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
d8045 7
a8051 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8057 5
a8061 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8067 1
a8067 1
groff_cv_type_unsigned_long_long=no
d8069 2
a8070 1
rm -f conftest.err conftest.$ac_objext \
d8072 2
a8073 2
   echo "$as_me:$LINENO: result: $groff_cv_type_unsigned_long_long" >&5
echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6
d8092 1
a8092 1
ac_ext=cc
d8098 2
a8099 2
   echo "$as_me:$LINENO: checking for declaration of time_t" >&5
echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6
d8127 7
a8133 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8139 6
a8144 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d8149 2
a8150 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8157 2
a8158 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8165 2
a8166 2
echo "$as_me:$LINENO: checking for return type of signal handlers" >&5
echo $ECHO_N "checking for return type of signal handlers... $ECHO_C" >&6
d8203 7
a8209 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8215 4
a8218 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8224 1
a8224 1
continue
d8226 2
a8227 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8231 2
a8232 2
     echo "$as_me:$LINENO: result: void" >&5
echo "${ECHO_T}void" >&6
d8239 2
a8240 2
     echo "$as_me:$LINENO: result: int" >&5
echo "${ECHO_T}int" >&6
d8247 2
a8248 2
echo "$as_me:$LINENO: checking struct exception" >&5
echo $ECHO_N "checking struct exception... $ECHO_C" >&6
d8275 7
a8281 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8287 6
a8292 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d8302 2
a8303 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8305 2
a8306 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8309 2
a8310 2
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
d8327 2
a8328 1
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
d8337 7
a8343 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8349 4
a8352 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8375 7
a8381 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8387 4
a8390 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8396 1
a8396 1
ac_cv_c_bigendian=no
d8398 2
a8399 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8404 1
a8404 1
# It does not; compile a test program.
d8429 7
a8435 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8441 4
a8444 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8460 1
d8462 2
a8463 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8483 1
a8483 1
  exit (u.c[sizeof (long int) - 1] == 1);
d8490 7
a8496 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8500 6
a8505 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d8518 1
a8518 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8520 2
d8523 2
a8524 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8526 2
a8527 2
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
d8547 2
a8548 2
echo "$as_me:$LINENO: checking for main in -lc" >&5
echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6
d8565 1
a8565 1
main ();
d8571 7
a8577 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8583 5
a8587 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8593 1
a8593 1
ac_cv_lib_c_main=no
d8595 2
a8596 1
rm -f conftest.err conftest.$ac_objext \
d8600 2
a8601 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
echo "${ECHO_T}$ac_cv_lib_c_main" >&6
d8607 2
a8608 2
echo "$as_me:$LINENO: checking for sin in -lm" >&5
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
d8621 3
a8623 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8626 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8631 1
a8631 1
sin ();
d8637 7
a8643 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8649 5
a8653 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8659 1
a8659 1
ac_cv_lib_m_sin=no
d8661 2
a8662 1
rm -f conftest.err conftest.$ac_objext \
d8666 2
a8667 2
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
a8672 16

      if test "X$prefix" = "XNONE"; then
    acl_final_prefix="$ac_default_prefix"
  else
    acl_final_prefix="$prefix"
  fi
  if test "X$exec_prefix" = "XNONE"; then
    acl_final_exec_prefix='${prefix}'
  else
    acl_final_exec_prefix="$exec_prefix"
  fi
  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  prefix="$acl_save_prefix"

d8674 3
a8676 3
$ac_config_sub sun4 >/dev/null 2>&1 ||
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
d8679 2
a8680 2
echo "$as_me:$LINENO: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
d8684 4
a8687 4
  ac_cv_build_alias=$build_alias
test -z "$ac_cv_build_alias" &&
  ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
d8691 3
a8693 3
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
d8697 8
a8704 2
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
d8706 11
a8716 3
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
d8719 2
a8720 2
echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
d8724 6
a8729 6
  ac_cv_host_alias=$host_alias
test -z "$ac_cv_host_alias" &&
  ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
d8731 1
d8734 8
a8741 2
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
d8743 11
a8753 3
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
d8757 17
a8773 1
# Check whether --with-gnu-ld or --without-gnu-ld was given.
d8775 1
a8775 2
  withval="$with_gnu_ld"
  test "$withval" = no || with_gnu_ld=yes
d8778 2
a8779 1
fi;
d8796 2
a8797 2
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
d8826 2
a8827 2
  echo "$as_me:$LINENO: checking for GNU ld" >&5
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
d8829 2
a8830 2
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
d8860 2
a8861 2
  echo "$as_me:$LINENO: result: $LD" >&5
echo "${ECHO_T}$LD" >&6
d8863 2
a8864 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8869 2
a8870 2
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
d8882 2
a8883 2
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
d8889 2
a8890 2
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
d8902 2
a8903 2
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
echo "${ECHO_T}$acl_cv_rpath" >&6
d8905 9
a8913 7
  libext="$acl_cv_libext"
  shlibext="$acl_cv_shlibext"
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  hardcode_direct="$acl_cv_hardcode_direct"
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
    # Check whether --enable-rpath or --disable-rpath was given.
d8915 1
a8915 2
  enableval="$enable_rpath"
  :
d8918 2
a8919 1
fi;
d8947 1
d8962 1
a8962 1
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
d8964 1
a8964 2
  withval="$with_libiconv_prefix"

d8987 2
a8988 1
fi;
d8992 1
d9026 6
d9033 26
a9058 5
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
d9060 10
a9069 7
            else
              if test -f "$additional_libdir/lib$name.$libext"; then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
d9087 25
a9111 5
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
d9113 3
a9115 2
                  else
                    if test -f "$dir/lib$name.$libext"; then
d9117 6
a9122 4
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
d9148 1
a9148 1
                                if test "$hardcode_direct" = yes; then
d9151 1
a9151 1
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
d9183 1
a9183 1
                    if test "$hardcode_minus_L" != no; then
d9202 1
d9353 1
a9353 1
    if test -n "$hardcode_libdir_separator"; then
d9356 1
a9356 1
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
d9360 1
a9360 1
      eval flag=\"$hardcode_libdir_flag_spec\"
d9367 1
a9367 1
        eval flag=\"$hardcode_libdir_flag_spec\"
d9410 2
a9411 2
  echo "$as_me:$LINENO: checking for iconv" >&5
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
d9437 7
a9443 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9449 5
a9453 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9459 1
d9461 2
a9462 1
rm -f conftest.err conftest.$ac_objext \
d9486 7
a9492 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9498 5
a9502 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9509 1
d9511 2
a9512 1
rm -f conftest.err conftest.$ac_objext \
d9518 2
a9519 2
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
echo "${ECHO_T}$am_cv_func_iconv" >&6
d9521 126
d9654 4
a9657 4
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
echo "${ECHO_T}$LIBICONV" >&6
d9667 2
a9668 2
    echo "$as_me:$LINENO: checking for iconv declaration" >&5
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
d9701 7
a9707 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9713 4
a9716 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9722 1
a9722 1
am_cv_proto_iconv_arg1="const"
d9724 2
a9725 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9730 1
a9730 1
    echo "$as_me:$LINENO: result: ${ac_t:-
d9733 1
a9733 1
         }$am_cv_proto_iconv" >&6
d9748 4
a9751 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9754 3
a9756 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9759 2
a9760 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d9771 7
a9777 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9783 4
a9786 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9792 1
a9792 1
ac_header_compiler=no
d9794 4
a9797 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d9800 2
a9801 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d9810 7
a9816 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9822 4
a9825 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9833 1
d9835 2
a9836 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d9860 1
a9860 8
    (
      cat <<\_ASBOX
## ------------------------------------------ ##
## Report this to the AC_PACKAGE_NAME lists.  ##
## ------------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d9863 3
a9865 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9870 3
a9872 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9888 3
a9890 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d9916 3
a9918 1
/* Override any gcc2 internal prototype to avoid an error.  */
a9920 1
{
a9921 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d9926 1
a9926 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a9927 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d9933 1
a9933 1
return f != $ac_func;
d9939 7
a9945 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9951 5
a9955 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9961 1
a9961 1
eval "$as_ac_var=no"
d9963 2
a9964 1
rm -f conftest.err conftest.$ac_objext \
d9967 3
a9969 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d9978 2
a9979 2
echo "$as_me:$LINENO: checking for working mmap" >&5
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
d10021 1
a10021 1
#if !STDC_HEADERS && !HAVE_STDLIB_H
d10026 1
a10026 1
#if !HAVE_GETPAGESIZE
d10028 1
a10028 1
# if !HAVE_SYS_PARAM_H
d10035 1
a10035 1
#  if HAVE_SYS_PARAM_H
d10074 1
a10074 1
    exit (1);
d10080 1
a10080 1
    exit (1);
d10082 1
a10082 1
    exit (1);
d10090 1
a10090 1
    exit (1);
d10093 1
a10093 1
    exit (1);
d10097 1
a10097 1
    exit (1);
d10100 1
a10100 1
      exit (1);
d10109 1
a10109 1
    exit (1);
d10111 1
a10111 1
    exit (1);
d10114 1
a10114 1
      exit (1);
d10116 1
a10116 1
  exit (0);
d10120 7
a10126 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d10130 6
a10135 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d10148 1
a10148 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d10150 2
d10153 2
a10154 2
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
d10178 3
a10180 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d10206 3
a10208 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10210 1
{
a10211 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10216 1
a10216 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a10217 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d10223 1
a10223 1
return f != $ac_func;
d10229 7
a10235 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10241 5
a10245 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10251 1
a10251 1
eval "$as_ac_var=no"
d10253 2
a10254 1
rm -f conftest.err conftest.$ac_objext \
d10257 3
a10259 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d10266 1
a10266 4
  case $LIBOBJS in
    "$ac_func.$ac_objext"   | \
  *" $ac_func.$ac_objext"   | \
    "$ac_func.$ac_objext "* | \
d10268 2
a10269 1
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
d10281 3
a10283 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d10309 3
a10311 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10313 1
{
a10314 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10319 1
a10319 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a10320 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d10326 1
a10326 1
return f != $ac_func;
d10332 7
a10338 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10344 5
a10348 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10354 1
a10354 1
eval "$as_ac_var=no"
d10356 2
a10357 1
rm -f conftest.err conftest.$ac_objext \
d10360 3
a10362 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d10369 1
a10369 4
  case $LIBOBJS in
    "snprintf.$ac_objext"   | \
  *" snprintf.$ac_objext"   | \
    "snprintf.$ac_objext "* | \
d10371 2
a10372 1
  *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;;
d10388 3
a10390 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d10416 3
a10418 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10420 1
{
a10421 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10426 1
a10426 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a10427 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d10433 1
a10433 1
return f != $ac_func;
d10439 7
a10445 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10451 5
a10455 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10461 1
a10461 1
eval "$as_ac_var=no"
d10463 2
a10464 1
rm -f conftest.err conftest.$ac_objext \
d10467 3
a10469 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d10478 3
a10480 3
echo "$as_me:$LINENO: checking for mkstemp" >&5
echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
   ac_ext=cc
d10515 7
a10521 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10527 7
a10533 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10543 3
a10545 6
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
      case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d10547 2
a10548 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d10552 2
a10553 1
rm -f conftest.err conftest.$ac_objext \
d10561 2
a10562 2
echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
d10577 1
a10577 1
  char *p = (char *) sys_siglist;
d10585 7
a10591 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10597 4
a10600 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10606 1
a10606 1
ac_cv_have_decl_sys_siglist=no
d10608 2
a10609 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10611 2
a10612 2
echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
d10627 2
a10628 2
echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
d10643 1
a10643 1
  char *p = (char *) getc_unlocked;
d10651 7
a10657 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10663 4
a10666 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10672 1
a10672 1
ac_cv_have_decl_getc_unlocked=no
d10674 2
a10675 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10677 2
a10678 2
echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
d10696 2
a10697 2
  echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
d10711 1
a10711 1
char* cs = nl_langinfo(CODESET);
d10717 7
a10723 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10729 5
a10733 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10739 1
a10739 1
am_cv_langinfo_codeset=no
d10741 2
a10742 1
rm -f conftest.err conftest.$ac_objext \
d10746 2
a10747 2
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
d10758 1
a10758 1
ac_ext=cc
d10764 2
a10765 2
   echo "$as_me:$LINENO: checking whether ANSI array delete syntax is supported" >&5
echo $ECHO_N "checking whether ANSI array delete syntax is supported... $ECHO_C" >&6
d10789 7
a10795 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10801 6
a10806 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10811 2
a10812 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10819 2
a10820 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10827 1
a10827 1
ac_ext=cc
d10833 2
a10834 2
   echo "$as_me:$LINENO: checking traditional preprocessor" >&5
echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6
d10861 7
a10867 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10873 6
a10878 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10888 2
a10889 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10891 2
a10892 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10901 2
a10902 2
echo "$as_me:$LINENO: checking w_coredump" >&5
echo $ECHO_N "checking w_coredump... $ECHO_C" >&6
d10904 2
a10905 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10943 7
a10949 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d10953 6
a10958 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d10962 2
a10963 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10975 2
a10976 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10978 1
a10978 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d10981 2
d10984 2
a10985 2
echo "$as_me:$LINENO: checking default value for grops -b option" >&5
echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6
d10987 2
a10988 2
   echo "$as_me:$LINENO: result: $BROKEN_SPOOLER_FLAGS" >&5
echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6
d10990 2
a10991 2
echo "$as_me:$LINENO: checking default paper size" >&5
echo $ECHO_N "checking default paper size... $ECHO_C" >&6
d11046 2
a11047 2
   echo "$as_me:$LINENO: result: $PAGE" >&5
echo "${ECHO_T}$PAGE" >&6
d11049 2
a11050 2
echo "$as_me:$LINENO: checking for existing troff installation" >&5
echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6
d11052 2
a11053 2
     echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d11056 2
a11057 2
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11061 2
a11062 2
echo "$as_me:$LINENO: checking for prefix of system macro packages" >&5
echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6
d11078 2
a11079 2
   echo "$as_me:$LINENO: result: $sys_tmac_prefix" >&5
echo "${ECHO_T}$sys_tmac_prefix" >&6
d11082 2
a11083 2
   echo "$as_me:$LINENO: checking which system macro packages should be made available" >&5
echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6
d11125 2
a11126 2
   echo "$as_me:$LINENO: result: $tmac_wrap" >&5
echo "${ECHO_T}$tmac_wrap" >&6
d11128 2
a11129 2
echo "$as_me:$LINENO: checking separator character to use in groff search paths" >&5
echo $ECHO_N "checking separator character to use in groff search paths... $ECHO_C" >&6
d11160 7
a11166 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d11172 4
a11175 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11181 1
a11181 1
GROFF_PATH_SEPARATOR=";"
a11182 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   echo "$as_me:$LINENO: result: $GROFF_PATH_SEPARATOR" >&5
echo "${ECHO_T}$GROFF_PATH_SEPARATOR" >&6
d11184 3
d11188 2
a11189 1
# Check whether --with-alt-gs or --without-alt-gs was given.
d11191 1
a11191 2
  withval="$with_alt_gs"
  ALT_GHOSTSCRIPT_PROGS="$withval"
d11194 1
a11194 1
fi;
d11198 2
a11199 1
# Check whether --with-gs or --without-gs was given.
d11201 1
a11201 2
  withval="$with_gs"
  GHOSTSCRIPT=$withval
d11208 2
a11209 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11222 1
a11222 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11229 1
d11235 2
a11236 2
  echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
echo "${ECHO_T}$GHOSTSCRIPT" >&6
d11238 2
a11239 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11242 1
d11252 2
a11253 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11266 1
a11266 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11273 1
d11279 2
a11280 2
  echo "$as_me:$LINENO: result: $ac_ct_GHOSTSCRIPT" >&5
echo "${ECHO_T}$ac_ct_GHOSTSCRIPT" >&6
d11282 2
a11283 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11286 1
d11293 3
a11295 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d11301 2
a11302 1
    fi
d11307 2
a11308 1
fi;
d11317 2
a11318 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11331 1
a11331 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11338 1
d11345 2
a11346 2
  echo "$as_me:$LINENO: result: $pnmcut" >&5
echo "${ECHO_T}$pnmcut" >&6
d11348 2
a11349 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11352 1
d11357 2
a11358 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11371 1
a11371 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11378 1
d11385 2
a11386 2
  echo "$as_me:$LINENO: result: $pnmcrop" >&5
echo "${ECHO_T}$pnmcrop" >&6
d11388 2
a11389 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11392 1
d11397 2
a11398 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11411 1
a11411 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11418 1
d11425 2
a11426 2
  echo "$as_me:$LINENO: result: $pnmtopng" >&5
echo "${ECHO_T}$pnmtopng" >&6
d11428 2
a11429 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11432 1
d11437 2
a11438 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11451 1
a11451 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11458 1
d11465 2
a11466 2
  echo "$as_me:$LINENO: result: $psselect" >&5
echo "${ECHO_T}$psselect" >&6
d11468 2
a11469 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11472 1
d11477 2
a11478 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11491 1
a11491 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11498 1
d11505 2
a11506 2
  echo "$as_me:$LINENO: result: $pnmtops" >&5
echo "${ECHO_T}$pnmtops" >&6
d11508 2
a11509 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11512 1
d11560 1
a11560 1
# Check whether --with-alt-awk or --without-alt-awk was given.
d11562 1
a11562 2
  withval="$with_alt_awk"
  ALT_AWK_PROGS="$withval"
d11565 2
a11566 1
fi;
d11570 1
a11570 1
# Check whether --with-awk or --without-awk was given.
d11572 1
a11572 2
  withval="$with_awk"
  AWK=$withval
d11579 2
a11580 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11593 1
a11593 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11600 1
d11606 2
a11607 2
  echo "$as_me:$LINENO: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6
d11609 2
a11610 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11613 1
d11623 2
a11624 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d11637 1
a11637 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d11644 1
d11650 2
a11651 2
  echo "$as_me:$LINENO: result: $ac_ct_AWK" >&5
echo "${ECHO_T}$ac_ct_AWK" >&6
d11653 2
a11654 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11657 1
d11664 3
a11666 2
    if test "$build" != "$host"; then
      { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
d11672 2
a11673 1
    fi
d11678 2
a11679 1
fi;
d11717 2
a11718 2
echo "$as_me:$LINENO: checking whether pnmtops can handle the -nosetpage option" >&5
echo $ECHO_N "checking whether pnmtops can handle the -nosetpage option... $ECHO_C" >&6
d11720 2
a11721 2
     echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d11724 2
a11725 2
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d11730 2
a11731 2
    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
d11761 2
a11762 2
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
d11768 1
a11768 1
          ac_config_files="$ac_config_files stamp-h"
d11770 1
a11770 1
                              ac_config_files="$ac_config_files Makefile doc/Makefile src/utils/xtotroff/Makefile"
d11772 1
a11772 1
          ac_config_files="$ac_config_files contrib/gdiffmk/tests/runtests"
d11774 1
a11774 1
          ac_config_files="$ac_config_files test-groff"
d11794 1
a11794 1
# So, don't put newlines in cache variables' values.
d11797 16
a11812 1
{
d11814 2
a11815 2
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d11821 1
a11821 1
      ;;
d11824 1
a11824 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d11826 3
a11828 2
    esac;
} |
d11830 1
d11832 1
a11832 1
     : clear
d11835 7
a11841 5
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
d11844 2
a11845 1
    echo "not updating unwritable cache $cache_file"
a11853 15
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

d11862 4
a11865 3
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
d11896 2
a11897 1
# Be Bourne compatible
d11905 5
a11909 2
elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
d11911 2
a11912 2
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
d11944 10
a11953 2
# Find who we are.  Look in the path if we contain no path at all
# relative or not.
d11963 1
d11973 2
a11974 3
  { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
   { (exit 1); exit 1; }; }
d11999 2
a12000 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d12006 1
a12006 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d12014 1
a12014 1
as_me=`$as_basename "$0" ||
d12017 1
a12017 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12019 13
a12031 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d12033 2
a12039 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d12041 1
a12041 1
  test "x$as_lineno_3"  = "x$as_lineno_2" || {
d12058 1
a12058 1
      s,[$]LINENO.*,&-,
d12061 1
a12061 1
      : lineno
d12063 2
a12064 2
      : loop
      s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
d12066 1
a12066 1
      s,-\n.*,,
d12068 2
a12069 3
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
d12074 2
a12075 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d12081 15
a12095 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d12098 2
a12099 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d12106 6
d12114 6
a12119 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a12120 3
  else
    as_ln_s='ln -s'
  fi
d12126 2
a12127 1
rm -f conf$$ conf$$.exe conf$$.file
d12136 22
a12157 1
as_executable_p="test -f"
a12165 9
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

d12168 1
a12168 1
# Open the log real soon, to keep \$[0] and so on meaningful, and to
d12170 2
a12171 10
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

d12173 1
a12173 1
generated by GNU Autoconf 2.59b.  Invocation command line was
d12181 3
a12183 3
_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
d12186 1
d12188 2
a12189 3
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
d12191 1
a12191 11
if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
a12193 1

d12201 1
a12201 1
  -V, --version    print version number, then exit
d12217 1
a12218 1

d12222 2
a12223 2
configured by $0, generated by GNU Autoconf 2.59b,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d12225 1
a12225 1
Copyright (C) 2004 Free Software Foundation, Inc.
d12228 4
a12231 2
srcdir=$srcdir
INSTALL="$INSTALL"
d12242 2
a12243 2
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
d12246 1
a12246 1
  -*)
a12250 4
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
a12254 2
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d12257 3
a12259 12
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
d12269 7
d12281 2
a12282 4
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
d12285 2
a12286 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d12302 4
a12305 2
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d12309 9
d12319 3
d12323 1
d12325 1
a12325 3


cat >>$CONFIG_STATUS <<\_ACEOF
d12328 9
a12336 9
  case "$ac_config_target" in
  # Handling of arguments.
  "stamp-h" ) CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  "src/utils/xtotroff/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/xtotroff/Makefile" ;;
  "contrib/gdiffmk/tests/runtests" ) CONFIG_FILES="$CONFIG_FILES contrib/gdiffmk/tests/runtests" ;;
  "test-groff" ) CONFIG_FILES="$CONFIG_FILES test-groff" ;;
  "src/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
d12343 1
d12354 1
a12354 1
# simply because there is no reason to put it here, and in addition,
d12356 3
a12358 1
# Create a temporary directory, and hook for its removal unless debugging.
d12361 4
a12364 1
  trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
a12366 1

d12370 1
a12370 1
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
d12374 2
a12375 2
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
d12382 8
d12392 121
d12514 17
d12532 20
a12551 3
#
# CONFIG_FILES section.
#
d12553 8
a12560 152
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@CXX@@,$CXX,;t t
s,@@CXXFLAGS@@,$CXXFLAGS,;t t
s,@@ac_ct_CXX@@,$ac_ct_CXX,;t t
s,@@TTYDEVDIRS@@,$TTYDEVDIRS,;t t
s,@@OTHERDEVDIRS@@,$OTHERDEVDIRS,;t t
s,@@CPP@@,$CPP,;t t
s,@@X_CFLAGS@@,$X_CFLAGS,;t t
s,@@X_PRE_LIBS@@,$X_PRE_LIBS,;t t
s,@@X_LIBS@@,$X_LIBS,;t t
s,@@X_EXTRA_LIBS@@,$X_EXTRA_LIBS,;t t
s,@@XDEVDIRS@@,$XDEVDIRS,;t t
s,@@XPROGDIRS@@,$XPROGDIRS,;t t
s,@@XLIBDIRS@@,$XLIBDIRS,;t t
s,@@appresdir@@,$appresdir,;t t
s,@@LPR@@,$LPR,;t t
s,@@LP@@,$LP,;t t
s,@@LPQ@@,$LPQ,;t t
s,@@PSPRINT@@,$PSPRINT,;t t
s,@@DVIPRINT@@,$DVIPRINT,;t t
s,@@GREP@@,$GREP,;t t
s,@@EGREP@@,$EGREP,;t t
s,@@PERLPATH@@,$PERLPATH,;t t
s,@@YACC@@,$YACC,;t t
s,@@MAKEINFO@@,$MAKEINFO,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@INSTALL_INFO@@,$INSTALL_INFO,;t t
s,@@INSTALL_PROGRAM@@,$INSTALL_PROGRAM,;t t
s,@@INSTALL_SCRIPT@@,$INSTALL_SCRIPT,;t t
s,@@INSTALL_DATA@@,$INSTALL_DATA,;t t
s,@@LN_S@@,$LN_S,;t t
s,@@SH_SCRIPT_SED_CMD@@,$SH_SCRIPT_SED_CMD,;t t
s,@@LIBC@@,$LIBC,;t t
s,@@LIBM@@,$LIBM,;t t
s,@@build@@,$build,;t t
s,@@build_cpu@@,$build_cpu,;t t
s,@@build_vendor@@,$build_vendor,;t t
s,@@build_os@@,$build_os,;t t
s,@@host@@,$host,;t t
s,@@host_cpu@@,$host_cpu,;t t
s,@@host_vendor@@,$host_vendor,;t t
s,@@host_os@@,$host_os,;t t
s,@@LIBICONV@@,$LIBICONV,;t t
s,@@LTLIBICONV@@,$LTLIBICONV,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@BROKEN_SPOOLER_FLAGS@@,$BROKEN_SPOOLER_FLAGS,;t t
s,@@PAGE@@,$PAGE,;t t
s,@@g@@,$g,;t t
s,@@sys_tmac_prefix@@,$sys_tmac_prefix,;t t
s,@@tmac_wrap@@,$tmac_wrap,;t t
s,@@GROFF_PATH_SEPARATOR@@,$GROFF_PATH_SEPARATOR,;t t
s,@@ALT_GHOSTSCRIPT_PROGS@@,$ALT_GHOSTSCRIPT_PROGS,;t t
s,@@GHOSTSCRIPT@@,$GHOSTSCRIPT,;t t
s,@@ac_ct_GHOSTSCRIPT@@,$ac_ct_GHOSTSCRIPT,;t t
s,@@pnmcut@@,$pnmcut,;t t
s,@@pnmcrop@@,$pnmcrop,;t t
s,@@pnmtopng@@,$pnmtopng,;t t
s,@@psselect@@,$psselect,;t t
s,@@pnmtops@@,$pnmtops,;t t
s,@@make_html@@,$make_html,;t t
s,@@make_install_html@@,$make_install_html,;t t
s,@@ALT_AWK_PROGS@@,$ALT_AWK_PROGS,;t t
s,@@AWK@@,$AWK,;t t
s,@@ac_ct_AWK@@,$ac_ct_AWK,;t t
s,@@make_pdfdoc@@,$make_pdfdoc,;t t
s,@@make_install_pdfdoc@@,$make_install_pdfdoc,;t t
s,@@pnmtops_nosetpage@@,$pnmtops_nosetpage,;t t
s,@@GLIBC21@@,$GLIBC21,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
d12562 7
a12568 1
fi # test -n "$CONFIG_FILES"
d12570 18
d12589 17
d12607 62
a12668 10
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
d12671 1
a12671 2
  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
d12675 1
a12675 2
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12677 22
a12698 9
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    test -d "$ac_dir" || mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
d12700 7
a12706 3
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
d12710 1
a12710 2
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12712 18
a12729 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d12731 3
a12733 3
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
a12734 1

d12737 3
a12739 1
if test "$ac_dir" != .; then
d12741 11
a12751 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d12754 1
a12754 1
  .)  # No --srcdir option.  We are building in place.
d12756 2
a12757 5
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
d12760 2
a12761 1
    ac_top_srcdir=$srcdir ;;
d12763 3
a12765 2
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d12767 1
a12768 38
# Do not use `cd foo && pwd` to compute absolute names, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12770 5
d12778 1
a12778 1
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
d12780 1
d12782 30
a12811 15
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."
d12813 3
a12815 28
  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
d12823 20
a12842 18
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
s,@@INSTALL@@,$ac_INSTALL,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi
d12844 1
a12844 1
  # Run the commands associated with the file.
d12846 2
a12847 3
    stamp-h ) echo timestamp > stamp-h ;;
    contrib/gdiffmk/tests/runtests ) chmod +x contrib/gdiffmk/tests/runtests ;;
    test-groff ) chmod +x test-groff ;;
d12849 24
a12872 14
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_HEADER section.
#

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
ac_dB='[	 ].*$,\1#\2'
d12874 1
a12874 6
ac_dD=',;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
ac_uB='$,\1#\2define\3'
ac_uC=' '
ac_uD=',;t'
d12876 12
a12887 47
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 # Quote $f, to prevent DOS file names from being IFS'd.
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
  # Remove the trailing spaces.
  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in

_ACEOF
d12889 2
a12890 32
# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
# config.h.in to produce config.h.  The first handles `#define'
# templates, and the second `#undef' templates.
# And first: Protect against being on the right side of a sed subst in
# config.status.  Protect against being in an unquoted here document
# in config.status.
rm -f conftest.defines conftest.undefs
# Using a here document instead of a string reduces the quoting nightmare.
# Putting comments in sed scripts is not portable.
#
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
cat >confdef2sed.sed <<\_ACEOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
t end
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
_ACEOF
# If some macros were called several times there might be several times
# the same #defines, which is useless.  Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
rm -f confdef2sed.sed

# This sed command replaces #undef with comments.  This is necessary, for
d12893 25
a12917 2
cat >>conftest.undefs <<\_ACEOF
s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d12919 1
a12919 18

# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
echo '  :' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.defines >/dev/null
do
  # Write a limited-size here document to $tmp/defines.sed.
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#define' lines.
  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
d12921 4
a12924 5
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
d12928 1
a12928 28
rm -f conftest.defines
echo '  fi # grep' >>$CONFIG_STATUS
echo >>$CONFIG_STATUS

# Break up conftest.undefs because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.undefs >/dev/null
do
  # Write a limited-size here document to $tmp/undefs.sed.
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#undef'
  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  echo 'CEOF
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  rm -f conftest.undefs
  mv conftest.tail conftest.undefs
done
rm -f conftest.undefs
d12930 1
a12931 10
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated by configure.  */" >$tmp/config.h
  else
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
d12933 3
a12935 1
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
a12938 37
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
      { if $as_mkdir_p; then
    test -d "$ac_dir" || mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

d12940 1
a12940 1
      mv $tmp/config.h $ac_file
d12943 2
a12944 2
    cat $tmp/config.h
    rm -f $tmp/config.h
d12946 14
a12959 2
done
_ACEOF
a12960 1
cat >>$CONFIG_STATUS <<\_ACEOF
d12994 1
a12994 1
  The application resource file for gxditview will be installed as
d12998 8
a13005 2
  (an existing file will be saved as \`GXditview.old').
  To install it into a different directory, say, \`/etc/gxditview',
d13015 1
a13015 1
  The application resource file for gxditview will be installed as
d13019 8
a13026 2
  (an existing file will be saved as \`GXditview.old').
  To install it into a different directory, say, \`/etc/gxditview',
@


1.78
log
@

* configure.ac: Call AC_PROG_EGREP.
* configure: Regenerated.

* Makefile.in (EGREP): New variable.
(MDEFINES): Add $(EGREP).

* src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
(bug reported by Robert Goulding <Goulding.2@@nd.edu>).
Use @@EGREP@@.

* src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
@
text
@d5728 6
a5733 18
     makeinfo_version_major=`echo $makeinfo_version \
       | sed 's/^\([0-9]*\).*$/\1/'`
     if test -z "$makeinfo_version_major"; then
       makeinfo_version_major=0
       makeinfo_version_minor=0
     else
       makeinfo_version_minor=`echo $makeinfo_version \
	 | sed 's/^[^.][^.]*\(.*\)$/\1/'`
       # No minor version number at all?
       if test -z "$makeinfo_version_minor"; then
	 makeinfo_version_minor=0
       else
	 makeinfo_version_minor=`echo $makeinfo_version_minor \
	   | sed 's/\.\([0-9]*\).*$/\1/'`
	 if test -z "$makeinfo_version_minor"; then
	   makeinfo_version_minor=0
	 fi
       fi
a5735 5
   makeinfo_version_numeric=`expr $makeinfo_version_major '*' 1000 \
				  '+' $makeinfo_version_minor`
   if test $makeinfo_version_numeric -lt 4008; then
     missing="\`makeinfo' is too old."
   fi
d5738 4
a5741 2
     if test ! -f doc/groff.info \
	|| test ${srcdir}/doc/groff.texinfo -nt doc/groff.info; then
@


1.77
log
@

* Makefile.in: Add comment about DESTDIR.

* Makefile.sub: Add DESTDIR to install and uninstall targets
to support staged installations.
* Makefile.comm: Likewise.
* doc/Makefile.sub: Likewise.
* contrib/eqn2graph/Makefile.sub: Likewise.
* contrib/gdiffmk/Makefile.sub: Likewise.
* contrib/grap2graph/Makefile.sub: Likewise.
* contrib/pic2graph/Makefile.sub: Likewise.
* src/devices/xditview/Makefile.sub: Likewise.
* src/preproc/eqn/Makefile.sub: Likewise.
* src/roff/grog/Makefile.sub: Likewise.
* src/roff/nroff/Makefile.sub: Likewise.
* src/utils/afmtodit/Makefile.sub: Likewise.
* src/utils/indxbib/Makefile.sub: Likewise.
* tmac/Makefile.sub: Likewise.
@
text
@d543 1
a543 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC MAKEINFO RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage GLIBC21 LTLIBOBJS'
d5398 202
a6048 202
echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/GREP$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/xpg4/bin"
for as_dir in $as_dummy
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in grep ggrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    test -f "$ac_path_GREP" || continue
    $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
  # Check for GNU ac_path_GREP and select it if it is found.
  # Check for GNU $ac_path_GREP
if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
else
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
  while :
  do
    cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
    mv "$tmp/conftest.tmp" "$tmp/conftest.in"
    cp "$tmp/conftest.in" "$tmp/conftest.nl"
    echo 'GREP' >> "$tmp/conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
    diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_GREP="$ac_path_GREP"
      ac_path_GREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
fi

fi

    $ac_path_GREP_found && break 3
  done
done

done

rm -rf "$tmp"

fi

GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

fi


fi
echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6
 GREP="$ac_cv_path_GREP"


echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
   then ac_cv_path_EGREP="$GREP -E"
   else
     # Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=$TMPDIR/EGREP$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   { (exit 1); exit 1; }
}
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/xpg4/bin"
for as_dir in $as_dummy
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in egrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    test -f "$ac_path_EGREP" || continue
    $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
  # Check for GNU ac_path_EGREP and select it if it is found.
  # Check for GNU $ac_path_EGREP
if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
else
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
  while :
  do
    cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
    mv "$tmp/conftest.tmp" "$tmp/conftest.in"
    cp "$tmp/conftest.in" "$tmp/conftest.nl"
    echo 'EGREP' >> "$tmp/conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
    diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP="$ac_path_EGREP"
      ac_path_EGREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
fi

fi

    $ac_path_EGREP_found && break 3
  done
done

done

rm -rf "$tmp"

fi

EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

fi


   fi
fi
echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6
 EGREP="$ac_cv_path_EGREP"


d12470 2
a12482 2
s,@@GREP@@,$GREP,;t t
s,@@EGREP@@,$EGREP,;t t
@


1.76
log
@

* configure.ac: Test for getc_unlocked (needed for localcharset).
* configure, src/include/config.hin: Regenerated.

* src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
ENABLE_RELOCATABLE.

* src/libs/libgroff/relocatable.h: New dummy header file for
localcharset.c.

* src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
gnulib version.
@
text
@d1099 1
a1099 1
       --with-appresdir=DIR    X11 application resource files
@


1.75
log
@

Work around unportability of nl_langinfo(CODESET).

* m4/glibc21.m4: New file, from gnulib.
* Makefile.sub (M4MACROS): Add m4/glibc21.m4.
* configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
* Makefile.in (HOST, GLIBC21): New variables.
(MDEFINES): Pass them to subdirectories.
* src/include/relocate.h (relocatep): Define with C linkage.
* src/include/localcharset.h: New file, from gnulib.
* src/libs/libgroff/localcharset.c: New file, from gnulib with a
modification for relocate().
* src/libs/libgroff/config.charset: New file, from gnulib.
* src/libs/libgroff/ref-add.sin: New file, from gnulib.
* src/libs/libgroff/ref-del.sin: New file, from gnulib.
* src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
(OBJS): Add localcharset.o.
(CSRCS): Add localcharset.c.
(all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
(charset.alias): New rule.
(PACKAGE): New variable.
(ref-add.sed, ref-del.sed): New rules.
(MKINSTALLDIRS): New variable.
(install_data): Depend on install_charset_data.
(install_charset_data): New rule for creating or updating
charset.alias.
(uninstall_sub): Depend on uninstall_charset_data.
(uninstall_charset_data): New rule for uninstalling or updating
charset.alias.
* src/preproc/preconv/preconv.cpp: Include localcharset.h instead
of <langinfo.h>.
(main): Initialize default_encoding from locale_charset() instead of
nl_langinfo(CODESET).

* aclocal.m4, configure, src/include/config.hin: Regenerated.
@
text
@d10706 70
@


1.74
log
@

* m4/groff.m4: Renamed from aclocal.m4.
* m4/codeset.m4: New file, from gnulib.
* m4/iconv.m4: New file, from gnulib.
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
gnulib.
* config.rpath: New file, from gnulib.
* config.guess, config.sub: New files, from gnulib.
* Makefile.sub (M4MACROS): New variable.
(configure): Fix typo.
(aclocal.m4): New rule.
(stamp-h.in): Depend on aclocal.m4.
* configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
* Makefile.in (LIBICONV): New variable.
(MDEFINES): Pass it to recursive makes.
* src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
HAVE_ICONV instead of I18N macro.
* src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.

* aclocal.m4, configure, src/include/config.hin: (Re)generated.


* doc/Makefile.in (webpage.html): Simplify.
* doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
* doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
@
text
@d543 1
a543 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC MAKEINFO RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage LTLIBOBJS'
d6299 2
a6300 1
for ac_header in stdlib.h unistd.h dirent.h limits.h sys/dir.h \
d11725 38
d12448 1
@


1.73
log
@

Integrate preconv into the groff binary.  Changes based on a patch
from Michail Vidiassov.

* src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.

* src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
(SOELIM_INDEX): Updated.
(help, synopsis): Updated.
(main): Add command line options `-k' and `-K enc' to select
encoding.
Add support for GROFF_ENCODING environment variable.

* src/roff/groff/groff.man: Updated and revised.


Start with autoconf support for preconv.

* configure.ac: Call AC_C_BIGENDIAN.
* configure, src/include/config.hin: Regenerated.
@
text
@d543 1
a543 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC MAKEINFO RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage LTLIBOBJS'
d1079 4
d1090 5
d1100 3
d8913 863
d10708 64
d12376 10
@


1.72
log
@

* aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
In particular, don't use `\+' since it is a GNU sed extension.

* configure: Regenerated.
@
text
@d8530 237
@


1.71
log
@

* aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
Announce makeinfo version.
* configure: Regenerated.


* Makefile.in: Declare proper dependencies between make targets.

* doc/Makefile.in: Rename groff info page to `groff.info'.
* doc/Makefile.sub: Likewise.
* doc/groff.texinfo: Likewise.
@
text
@d5510 1
a5510 1
       | sed 's/^.* \([^ ]\+\)$/\1/;1q'`
d5521 1
a5521 1
	 | sed 's/^[^.]\+\(.*\)$/\1/'`
@


1.70
log
@

Now a real fix, as suggested by Keith.
@
text
@d5506 2
d5511 2
d5541 2
a5542 2
     if test ! -f doc/groff \
	|| test ${srcdir}/doc/groff.texinfo -nt doc/groff; then
@


1.69
log
@

* aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
* configure: Regenerated.
@
text
@d5508 1
a5508 1
       | sed '1 { s/^.* \([^ ]\+\)$/\1/;q }'`
@


1.68
log
@

* aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
makeinfo 4.8 or newer is available.
* configure.ac: Call GROFF_MAKEINFO.
* configure: Regenerated.

* Makefile.in (MAKEINFO): Use autoconf variable.
(MDEFINES): Add MAKEINFO.

* doc/Makefile.in (MAKEINFO): Use autoconf variable.
* doc/Makefile.sub (MAKEINFO): Remove.
@
text
@d5508 1
a5508 1
       | sed '1 {s/^.* \([^ ]\+\)$/\1/;q}'`
@


1.67
log
@

Miscellaneous script portability enhancements.

* aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
generated conftest.sh script, conforming to portability
recommendation in autoconf docs.
* configure: Likewise, for code generated by GROFF_CSH_HACK.
* contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
to portability recommendation in autoconf docs.
* contrib/gdiffmk/gdiffmk.sh: Likewise.
* contrib/gdiffmk/tests/runtests.in: Likewise.
* contrib/grap2graph/grap2graph.sh: Likewise.
* contrib/groffer/groffer.sh: Likewise.
* contrib/mm/mmroff.pl: Likewise.
* contrib/mom/momdoc/appendices.html: Likewise.
* contrib/pic2graph/pic2graph.sh: Likewise.
* font/devps/generate/afmname: Likewise.
* src/devices/xditview/ad2c: Likewise.
* src/preproc/eqn/neqn.sh: Likewise.
* src/roff/grog/grog.pl: Likewise.
* src/roff/grog/grog.sh: Likewise.
* src/roff/nroff/nroff.sh: Likewise.
* PROBLEMS: Likewise, in embedded script examples.


Improve portability of `pdfroff' shell script.

* arch/misc/shdeps.sh: Add space in shebang, conforming to
portability guidelines in `autoconf' docs.
(PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
initialization code.  Used by contrib/pdfmark/pdfroff.sh's
`searchpath' function.
@
text
@d543 1
a543 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage LTLIBOBJS'
d5467 87
d11183 1
@


1.66
log
@

AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.

* aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
* configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
* configure, src/include/config.hin: Regenerated.

* PROBLEMS: Updated.


Update getopt files.

* src/include/getopt.h, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.

* src/include/getopt_int.h: New file (from GNU libc CVS).

* src/include/groff-getopt.h: Updated.

* src/include/Makefile.sub (HDRS): Add getopt_int.h.


* font/devutf8/NOTES: Updated.



Bug fix for Win32 relocatable code.  Based on a patch from Keith
Marshall.

* src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
also.

* src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
(searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
@
text
@d5724 1
a5724 1
#!/bin/sh
@


1.65
log
@

* configure.ac: Undo change from 2005-03-24.
* configure: Regenerated.
@
text
@d8288 10
a8297 7
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
if test "${ac_cv_type_signal+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
d8302 2
d8309 2
a8310 5
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif
d8315 2
d8318 2
d8323 1
d8347 1
a8347 1
  ac_cv_type_signal=void
d8352 1
a8352 1
ac_cv_type_signal=int
d8355 5
a8359 3
fi
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
echo "${ECHO_T}$ac_cv_type_signal" >&6
d8361 2
a8362 2
cat >>confdefs.h <<_ACEOF
#define RETSIGTYPE $ac_cv_type_signal
d8365 7
d8373 1
@


1.64
log
@

* configure.ac: Add copyright.
Handle contrib/pdfmark/Makefile.

* configure: Regenerated.
@
text
@d10442 1
a10442 1
                                        ac_config_files="$ac_config_files Makefile doc/Makefile src/utils/xtotroff/Makefile contrib/pdfmark/Makefile"
a10963 1
  "contrib/pdfmark/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pdfmark/Makefile" ;;
@


1.63
log
@

* src/roff/troff/input.cpp (string_iterator::fill): Protect against
null pointer.

* tmac/papersize.tmac: Convert `paper' string contents to lowercase.

* configure: Regenerated.

* NEWS: Updated.


Integrate `pdfmark' into normal groff build system;
install macro `pdfmark' packages, build and install `pdfroff',
and PDF format documentation.

* Makefile.comm: Add PDFDOCDIR.

* Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
(unstall_dirs): Add pdfdocdir.

* aclocal.m4: (GROFF_APPRESDIR_OPTION): use AC_HELP_STRING instead
of AS_HELP_STRING.
(GROFF_GHOSTSCRIPT_PREFS): New function; support `--with-alt-gs'
option, set ALT_GHOSTSCRIPT_PROGS.
(GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
(GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
(GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
set ALT_AWK_PROGS.
(GROFF_AWK_PATH): New function; support `--with-awk' option, force
use of GROFF_AWK_PREFS.
(GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.

* configure.ac: Add AC_PREREQ(2.56), GROFF_PDFDOC_PROGRAMS.
Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
also by modified GROFF_HTML_PROGRAMS).
@
text
@d10442 1
a10442 1
                              ac_config_files="$ac_config_files Makefile doc/Makefile src/utils/xtotroff/Makefile"
d10964 1
@


1.62
log
@

* doc/pic.ms, man/groff.man: Fix typos.

* doc/groff.texinfo: Fix typos.
(\LEmacro): Get proper mathematical spacing.


* aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
* configure: Regenerated with autoconf 2.59b.
@
text
@d543 1
a543 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage GHOSTSCRIPT ac_pt_GHOSTSCRIPT LTLIBOBJS'
d1091 4
d1549 1
d9920 118
a10037 1
make_html=html
d10078 1
a10078 1
	missing="$missing pnmcut"
d10116 1
a10116 1
	missing="$missing pnmcrop"
d10154 1
a10154 1
	missing="$missing pnmtopng"
d10192 1
a10192 1
	missing="$missing psselect"
d10230 2
a10231 24
	missing="$missing pnmtops"
      fi;# Extract the first word of "gs", so it can be a program name with args.
set dummy gs; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_gs+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$gs"; then
  ac_cv_prog_gs="$gs" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_gs="found"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
d10233 1
a10233 15
  test -z "$ac_cv_prog_gs" && ac_cv_prog_gs="missing"
fi
fi
gs=$ac_cv_prog_gs
if test -n "$gs"; then
  echo "$as_me:$LINENO: result: $gs" >&5
echo "${ECHO_T}$gs" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

      if test $gs = missing; then
	missing="$missing gs"
      fi;
d10236 13
a10248 22
     cnt=0
     for i in $missing
     do
       cnt=`expr $cnt + 1`
       eval "prog$cnt=$i"
     done
     plural="s"
     case $cnt in
     1)
       plural=""
       progs="\`$prog1'" ;;
     2)
       progs="\`$prog1' and \`$prog2'" ;;
     3)
       progs="\`$prog1', \`$prog2', and \`$prog3'" ;;
     4)
       progs="\`$prog1', \`$prog2', \`$prog3', and \`$prog4'" ;;
     5)
       progs="\`$prog1', \`$prog2', \`$prog3', \`$prog4', and \`$prog5'" ;;
     6)
       progs="\`$prog1', \`$prog2', \`$prog3', \`$prog4', \`$prog5', and \`$prog6'" ;;
     esac
d10253 1
a10253 1
     { echo "$as_me:$LINENO: WARNING:
d10256 5
a10260 4
    $progs
  can't be found in the path, thus the HTML backend of groff (grohtml)
  won't work properly.  Consequently, no documentation in HTML format
  is built and installed.
d10262 1
a10262 1
echo "$as_me: WARNING:
d10265 5
a10269 4
    $progs
  can't be found in the path, thus the HTML backend of groff (grohtml)
  won't work properly.  Consequently, no documentation in HTML format
  is built and installed.
a10274 11
echo "$as_me:$LINENO: checking whether pnmtops can handle the -nosetpage option" >&5
echo $ECHO_N "checking whether pnmtops can handle the -nosetpage option... $ECHO_C" >&6
   if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
     echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
     pnmtops_nosetpage="pnmtops -nosetpage"
   else
     echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
     pnmtops_nosetpage="pnmtops"
   fi
d10276 20
a10295 3
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gs gsos2", so it can be a program name with args.
set dummy ${ac_tool_prefix}gs gsos2; ac_word=$2
d10298 1
a10298 1
if test "${ac_cv_path_GHOSTSCRIPT+set}" = set; then
d10301 4
a10304 6
  case $GHOSTSCRIPT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GHOSTSCRIPT="$GHOSTSCRIPT" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d10311 1
a10311 1
    ac_cv_path_GHOSTSCRIPT="$as_dir/$ac_word$ac_exec_ext"
a10317 2
  ;;
esac
d10319 5
a10323 5
GHOSTSCRIPT=$ac_cv_path_GHOSTSCRIPT

if test -n "$GHOSTSCRIPT"; then
  echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
echo "${ECHO_T}$GHOSTSCRIPT" >&6
d10329 2
d10332 6
a10337 4
if test -z "$ac_cv_path_GHOSTSCRIPT"; then
  ac_pt_GHOSTSCRIPT=$GHOSTSCRIPT
  # Extract the first word of "gs gsos2", so it can be a program name with args.
set dummy gs gsos2; ac_word=$2
d10340 1
a10340 1
if test "${ac_cv_path_ac_pt_GHOSTSCRIPT+set}" = set; then
d10343 4
a10346 6
  case $ac_pt_GHOSTSCRIPT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_ac_pt_GHOSTSCRIPT="$ac_pt_GHOSTSCRIPT" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d10353 1
a10353 1
    ac_cv_path_ac_pt_GHOSTSCRIPT="$as_dir/$ac_word$ac_exec_ext"
a10359 2
  ;;
esac
d10361 5
a10365 5
ac_pt_GHOSTSCRIPT=$ac_cv_path_ac_pt_GHOSTSCRIPT

if test -n "$ac_pt_GHOSTSCRIPT"; then
  echo "$as_me:$LINENO: result: $ac_pt_GHOSTSCRIPT" >&5
echo "${ECHO_T}$ac_pt_GHOSTSCRIPT" >&6
d10371 5
a10375 2
  if test "x$ac_pt_GHOSTSCRIPT" = x; then
    GHOSTSCRIPT="missing"
d10385 1
a10385 1
    GHOSTSCRIPT=$ac_pt_GHOSTSCRIPT
a10386 2
else
  GHOSTSCRIPT="$ac_cv_path_GHOSTSCRIPT"
d10389 49
d11098 3
a11105 1
s,@@gs@@,$gs,;t t
d11108 5
a11113 2
s,@@GHOSTSCRIPT@@,$GHOSTSCRIPT,;t t
s,@@ac_pt_GHOSTSCRIPT@@,$ac_pt_GHOSTSCRIPT,;t t
@


1.61
log
@

* configure.ac: Produce `contrib/gdiffml/tests/runtests'.
* configure: Updated.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59a.
d20 2
a21 1
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
d24 1
d77 1
a77 1
  { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
d82 3
a84 1
$as_unset ENV MAIL MAILPATH
d98 1
a98 1
    $as_unset $as_var
d190 1
a190 1
  as_candidate_shells="$SHELL"
d205 1
a205 1
      for as_shell in $as_candidate_shells; do
d214 2
a215 1
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
d218 1
d234 2
a235 1
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
d238 1
d302 3
a304 2
  $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
        $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
d585 1
d599 3
a601 1
  case $ac_option in
d892 1
a892 1
# Be sure to have absolute paths.
d903 1
a903 1
# Be sure to have absolute paths.
d1132 1
a1132 1
  [\\/]* | ?:[\\/]* )  # Absolute path.
d1135 1
a1135 1
  *) # Relative path.
d1140 1
a1140 1
# Do not use `cd foo && pwd` to compute absolute paths, because
d1194 1
a1194 1
    cd $ac_popdir
d1215 1
a1215 1
generated by GNU Autoconf 2.59a.  Invocation command line was
d1944 19
d1968 1
a1968 5
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
d1971 1
a1971 2
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
a1976 3
    conftest.$ac_ext )
	# This is the source file.
	;;
a2193 1
CFLAGS="-g"
d2199 92
a2290 1
  cat >conftest.$ac_ext <<_ACEOF
a2331 1
ac_cv_prog_cc_g=no
d2335 5
a2805 1
CXXFLAGS="-g"
d2811 92
a2902 1
  cat >conftest.$ac_ext <<_ACEOF
a2943 1
ac_cv_prog_cxx_g=no
d2947 5
d5683 2
a5684 2
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
d5686 1
a5686 1
    # removed, or if the path is relative.
d5739 3
a5741 3
echo "$as_me:$LINENO: checking for grep that handles long lines" >&5
echo $ECHO_N "checking for grep that handles long lines... $ECHO_C" >&6
if test "${oc_cv_path_GREP+set}" = set; then
d5771 1
d5774 2
a5775 1
for as_dir in $PATH
d5783 1
a5783 1
    if $as_executable_p "$ac_path_GREP"; then
d5787 2
a5788 6
  ac_cv_path_GREP="$ac_path_GREP"
    break 2

fi


d5797 2
a5798 2
    "$ac_path_GREP" 'GREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
   diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
d5800 1
a5800 1
    if test $ac_count -gt ${ac_max-0}; then
d5803 1
a5803 1
      ac_max=$ac_count
d5810 3
d5815 1
d5824 2
a5825 2
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
d5833 2
a5834 2
echo "$as_me:$LINENO: result: $oc_cv_path_GREP" >&5
echo "${ECHO_T}$oc_cv_path_GREP" >&6
d5873 1
d5876 2
a5877 1
for as_dir in $PATH
d5885 1
a5885 1
    if $as_executable_p "$ac_path_EGREP"; then
d5889 2
a5890 6
  ac_cv_path_EGREP="$ac_path_EGREP"
    break 2

fi


d5899 2
a5900 2
    "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
   diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
d5902 1
a5902 1
    if test $ac_count -gt ${ac_max-0}; then
d5905 1
a5905 1
      ac_max=$ac_count
d5912 3
d5917 1
d5926 2
a5927 2
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
d6050 1
d6070 1
a6070 1
      exit(2);
d8921 1
a8921 1
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
d10439 2
a10440 1
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
d10443 1
d10496 2
a10497 2
  { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
d10502 3
a10504 1
$as_unset ENV MAIL MAILPATH
d10518 1
a10518 1
    $as_unset $as_var
d10667 1
a10667 1
generated by GNU Autoconf 2.59a.  Invocation command line was
d10727 1
a10727 1
configured by $0, generated by GNU Autoconf 2.59a,
d11092 1
a11092 1
  [\\/]* | ?:[\\/]* )  # Absolute path.
d11095 1
a11095 1
  *) # Relative path.
d11100 1
a11100 1
# Do not use `cd foo && pwd` to compute absolute paths, because
d11269 1
a11269 1
	 # Do quote $f, to prevent DOS paths from being IFS'd.
d11488 4
a11491 4
  and rerun it.  The environment variable \`APPLRESDIR' must then
  be set to \`/etc/' (note the trailing slash), omitting the
  \`gxditview' part which is automatically appended by the X11
  searching routines for resource files.  More details can be
d11503 4
a11506 4
  and rerun it.  The environment variable \`APPLRESDIR' must then
  be set to \`/etc/' (note the trailing slash), omitting the
  \`gxditview' part which is automatically appended by the X11
  searching routines for resource files.  More details can be
@


1.60
log
@

* src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
groff source files.
Include config.h.
Include limits.h.
Remove X_NOT_STDC_ENV conditional.
(Version_string, program_name): New global variables.
(groff_flag): Removed.
(MapFont): Updated.
(usage): Take a stream as argument.
Use `program_name'.
Update all callers.
(main): Add `long_options' array for `--help' and `--version'.
Make `-g' a dummy option.
Handle `-v' and unknown options.
Remove unused `position' variable.

* src/utils/xtotroff/Makefile.sub (MAN1): Define.
(XLIBS): Add LIBGROFF.

* src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
New files.

* src/devices/xditview/Dvi.c (default_font_map): Split into three
parts to avoid compiler warning.
(resources): Don't initialize with `default_font_map'.
(ClassInitialize): Initialize first element of `resources'.

* src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
Removed.

* src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
src/utils/pfbtops/pfbtops.man: Revised, updated.

* configure.ac: Generate src/utils/xtotroff/Makefile.
* configure: Regenerated.
@
text
@d10097 2
d10613 1
d10998 1
@


1.59
log
@

* aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.

* configure.ac: Call GROFF_GHOSTSCRIPT_PATH.

* configure: Regenerated.

* Makefile.in (GHOSTSCRIPT): New variable.
(MDEFINES): Add GHOSTSCRIPT.
@
text
@d10095 1
a10095 1
                    ac_config_files="$ac_config_files Makefile doc/Makefile"
d10610 1
@


1.58
log
@

* aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
Add test for Xmu library.
(GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
GROFF_APPRESDIR_DEFAULT): New macros.

* configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
and GROFF_APPRESDIR_DEFAULT.

* configure: Regenerated.

* Makefile.in (appresdir): New variable.
(MDEFINES): Add appresdir.

* src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
-Xt.
(install_data, uninstall_sub): New targets to handle GXditview.ad.

* src/utils/indxbib/Makefiles.ub (install_data): Depend on
`$(srcdir)/eign', not `eign'.

* MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.

* man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
Protect (g)xditview with `\%' to avoid hyphenation.
Other minor formatting.
@
text
@d534 1
a534 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d9992 100
d10752 2
@


1.57
log
@

Integrate gxditview into groff's standard directory hierarchy.

* src/xditview/*: Moved to ...
* src/devices/xditview/*: Here.
Moved DviChar.h and XFontName.h to src/include.
Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
Moved xtotroff.c to new directory src/utils/xtotroff.
Provide proper Makefile.sub files (reusing the stuff from
Imakefile.in).
DESC renamed to DESC.in.
Removed GXDitview-ad.h, INSTALL, Imakefile.in.
Converted everything from K&R to ANSI C.
Decorated with const where appropriate.
Cast string constants with `String' and `char *' where appropriate.
Made it compile with C++ (used as a C compiler).
Removed other minor compiler warnings.

* src/devices/xditview/device.c: Include config.h, string.h, and
defs.h.
Don't declare `exit', `strtok', `strchr', and `getenv'.
(FONTPATH): Remove.

* src/devices/xditview/font.c: Don't declare `XParseFontName' and
`XFormatFontName'.

* src/devices/xditview/xditview.c: Include config.h.
Include stdio.h earlier.
Protect declaration of `popen' and `pclose' with
NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
Replace `caddr_t' with `XtPointer'.
(MakePromptFunc): New typedef.
(DoPrint): Use RETSIGTYPE.
(promptfunction): Change type to MakePromptFunc.
(MakePrompt): Use MakePromptFunc for third argument.
(xmalloc): Removed.

* src/devices/xditview/ad2c: Add casts to `String'.

* src/include/XFontName.h (XFontNameString): Don't use array
notation.
Add prototypes for `XParseFontName', `XFormatFontName',
`XCompareFontName', and `XCopyFontName'.

* src/include/Makefile.sub (HDRS): Add `DviChar.h' and
`XFontName.h'.

* src/utils/xtotroff/xtotroff.c: Include getopt.h.
Don't declare `XParseFontName' and `XFormatFontName'.
(xmalloc): Removed.
(main): Remove `optind' and `optarg'.

* Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
(to select programs which need X).
Make XDEVIDIRS depend on `FORCE'.
(X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
X support).
(MDEFINES): Updated.
(LIBDIRS): Use XLIBDIRS.
(CPROGDIRS): Use XPROGDIRS.
(DEVDIRS): Remove font directories for gxditview.
(ALLDIRS, DISTDIRS): Add XDEVDIRS.
(EXTRADIRS): Remove src/xditview.

* Makefile.sub (DISCLEANFILES): Updated.

* Makefile.comm (LIBXUTIL): New variable.
(.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
(.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.

* Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.

* aclocal.m4 (GROFF_X11): New function.

* configure.ac: Call GROFF_X11.
Don't create src/xditview/Imakefile.
Don't emit notice how to build gxditview.

* configure: Regenerated.

* test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
@
text
@d534 1
a534 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d1078 1
d4777 12
a4788 4
   have_no_x=$no_x
   if test -z "$have_no_x"; then
     echo "$as_me:$LINENO: checking for Xaw library" >&5
echo $ECHO_N "checking for Xaw library... $ECHO_C" >&6
d4791 1
a4791 1
         /* confdefs.h.  */
d4841 1
a4841 1
        have_no_x="yes"
d4845 64
d4910 2
a4911 1
   if test "X$have_no_x" = "Xyes"; then
d4922 96
d5161 1
a5161 1
     if test "X$PSPRINT" = "Xlpr"; then
d6301 1
a6301 1
          /* confdefs.h.  */
d6404 1
a6404 1
          /* confdefs.h.  */
d6507 1
a6507 1
          /* confdefs.h.  */
d6610 1
a6610 1
          /* confdefs.h.  */
d6713 1
a6713 1
          /* confdefs.h.  */
d6816 1
a6816 1
          /* confdefs.h.  */
d6919 1
a6919 1
          /* confdefs.h.  */
d7022 1
a7022 1
          /* confdefs.h.  */
d7125 1
a7125 1
          /* confdefs.h.  */
d7228 1
a7228 1
          /* confdefs.h.  */
d7331 1
a7331 1
          /* confdefs.h.  */
d7434 1
a7434 1
          /* confdefs.h.  */
d9500 1
a9500 1
   test "x$prefix" = xNONE && groff_prefix=$ac_default_prefix
d10616 1
d11149 35
@


1.56
log
@

* REVISION: Set to 2.

* aclocal.m4 (GROFF_STDINT_H): Removed.
(GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H.

* configure.ac: Updated.
* configure, src/include/config.hin: Regenerated.

* src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
inttypes.h conditionally.
@
text
@d534 1
a534 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d1063 4
d1074 5
d3142 1702
a4843 9
     case `uname` in
     OS/390)
       CFLAGS="$CFLAGS -D_ALL_SOURCE"
       echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 ;;
     *)
       echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6 ;;
     esac
d4845 3
a5357 235
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


d9825 1
a9825 1
                              ac_config_files="$ac_config_files Makefile doc/Makefile src/xditview/Imakefile"
a10339 1
  "src/xditview/Imakefile" ) CONFIG_FILES="$CONFIG_FILES src/xditview/Imakefile" ;;
d10438 8
a10460 1
s,@@CPP@@,$CPP,;t t
a10977 21

{ echo "$as_me:$LINENO:

  Configuration completed.

  You can now say \`make' to compile the groff package and \`make install'
  to install it afterwards.

  If you want to compile xditview, change the directory to \`src/xditview'
  and follow the instructions given in the file \`INSTALL'.
" >&5
echo "$as_me:

  Configuration completed.

  You can now say \`make' to compile the groff package and \`make install'
  to install it afterwards.

  If you want to compile xditview, change the directory to \`src/xditview'
  and follow the instructions given in the file \`INSTALL'.
" >&6;}
@


1.55
log
@


More fixes for MSVC compiler.

* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
$(SEP).

* src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
STDERR_FILENO) [_MSC_VER]: Define conditionally.
(getpid) [_MSC_VER]: Remove.
Include direct.h and process.h conditionally.

* src/roff/troff/node.cpp (suppress_node::tprint): Don't use
parentheses for a_delete.

* src/utils/lookbib/lookbib.cpp: Include nonposix.h.

* test-groff: Replaced with...
* test-groff.in: This new template to handle path separator
properly.

* configure.ac: Check for direct.h and process.h.
Generate test-groff script.
* configure, src/include/config.hin: Regenerated.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
d25 22
d55 24
a124 7
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
d126 42
a167 11
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d170 4
d175 1
a175 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
d177 10
a186 13
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
d192 1
a192 2
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
d194 84
a277 1
	   if ("$as_dir/$as_base" -c '
d282 89
a370 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d374 5
a378 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d380 6
a385 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d387 4
a391 1
      s,$,-,
d393 1
a393 1
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d395 1
a395 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d526 3
a528 4
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
d534 1
a534 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d1180 2
a1181 1
Copyright (C) 2003 Free Software Foundation, Inc.
d1193 1
a1193 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1370 1
a1370 1
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
d1379 1
a1379 1
rm -rf conftest* confdefs.h
d1381 3
a1383 1
echo >confdefs.h
d1607 13
a1619 1
  CC=$ac_ct_CC
d1699 13
a1711 1
  CC=$ac_ct_CC
d1855 13
a1867 1
  CC=$ac_ct_CC
d2269 1
a2269 1
   as 'x'.  The following induces an error, until -std1 is added to get
d2272 1
a2272 1
   that's true only with -std1.  */
d2292 1
a2292 1
# Ultrix and OSF/1	-std1
d2296 1
a2296 1
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
a2580 1
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
d2582 13
a2594 1
  CXX=$ac_ct_CXX
a3438 1
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
d3450 13
a3462 1
  RANLIB=$ac_ct_RANLIB
d3888 97
d3987 1
a3987 1
if test "${ac_cv_prog_egrep+set}" = set; then
d3990 65
a4054 3
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
d4056 3
d4060 24
a4083 3
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep
d6191 2
a6192 2
   echo "$as_me:$LINENO: checking C++ <stdint.h>" >&5
echo $ECHO_N "checking C++ <stdint.h>... $ECHO_C" >&6
d6202 2
a6203 1
#include <stdint.h>
d6211 1
a6211 2
uint32_t x;
int32_t y;
d6241 1
a6241 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d6244 1
a6244 1
#define HAVE_CC_STDINT_H 1
a6250 71
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu

   echo "$as_me:$LINENO: checking for inttypes.h" >&5
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
   cat >conftest.$ac_ext <<_ACEOF

       /* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


#include <sys/types.h>
#include <inttypes.h>


int
main ()
{


uintmax_t i = (uintmax_t)-1;


  ;
  return 0;
}

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_cxx_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  groff_cv_header_inttypes_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

d8439 2
a8440 2
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d8486 22
d8516 25
a8586 21
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi

a8587 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
a8588 23
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
d8593 1
a8593 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d8597 5
a8601 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d8603 6
a8608 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d8610 4
a8614 1
      s,$,-,
d8616 1
a8616 1
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d8618 1
a8618 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d8705 1
a8705 1
generated by GNU Autoconf 2.59.  Invocation command line was
d8765 1
a8765 1
configured by $0, generated by GNU Autoconf 2.59,
d8768 1
a8768 1
Copyright (C) 2003 Free Software Foundation, Inc.
d8894 1
a8894 1
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
d8985 1
d9077 1
a9077 1
    mkdir -p "$ac_dir"
d9439 1
a9439 1
    mkdir -p "$ac_dir"
@


1.54
log
@

* aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
* configure, NEWS: Updated.
@
text
@d3867 2
d3870 1
a3870 1
                  string.h strings.h math.h sys/time.h
d7963 2
d8494 1
d8867 1
@


1.53
log
@

Use path separator character of target platform for compiled-in
default paths.

* aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
* configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
* configure: Regenerated.
* Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.

* src/include/nonposix.h (PATH_SEP_CHAR): New definition.
Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
@
text
@d7457 1
a7457 1
   test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS=7
@


1.52
log
@

LynxOS 4.0.0 doesn't declare vfprintf.

* configure.ac: Check for vfprintf.
* configure: Regenerated.
* src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
* src/include/config.hin: Regenerated.
@
text
@d312 1
a312 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap pnmcut pnmcrop pnmtopng psselect pnmtops gs make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d7599 64
d8612 1
@


1.51
log
@

LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.

* configure.ac: Check for vsnprintf.
* src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
`HAVE_VSNPRINTF'.
* src/include/config.hin: Regenerated.



* aclocal.m4: Updated syntax to autoconf 2.59.
(GROFF_HTML_PROGRAMS): Use AC_FOREACH.
Don't check for gsos2.
(GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
working abs_top_srcdir and abs_top_builddir.

* configure.ac: Updated syntax to autoconf 2.59.
Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
* configure: Regenerated.

* Makefile.in, doc/Makefile.in: s/@@top_srcdir@@/@@abs_top_srcdir@@/,
s/@@groff_top_builddir@@/@@abs_top_builddir@@/.

* src/roff/groff/pipeline.c (xstrsignal):
s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.



* src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
make start angle smaller than end angle to circumvent a bug in tpic
handling of some versions of dvipdfm (and dvipdfmx).
@
text
@d5210 103
@


1.50
log
@

* aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
(GROFF_LIBC): New function.
* configure.ac: Call GROFF_LIBC.
Check for `kill'.
* configure: Regenerated.

* src/include/lib.h: Handle __MINGW32__.
* src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
Add macro for `pipe'.
Define P_tmpdir.

* src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
correctly.

* src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
Implement.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.54.
d5 1
a5 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
d22 1
d25 1
a25 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d39 4
a42 1
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
d44 1
a44 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d88 4
a91 4
  echo "#! /bin/sh" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
d96 1
a96 1
  rm -f conftest.sh
d221 1
d228 1
a228 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d231 1
a231 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d312 1
a312 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS groff_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap pnmcut pnmcrop pnmtopng gs psselect pnmtops make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d671 1
a671 1
              localstatedir libdir includedir oldincludedir infodir mandir
d711 4
a714 4
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d814 1
a814 1
                          [$ac_default_prefix]
d816 1
a816 1
                          [PREFIX]
d895 39
a933 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d944 1
a944 1
           test -f $ac_srcdir/configure.in; then
d958 1
a958 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
d970 1
a970 1
generated by GNU Autoconf 2.54.  Invocation command line was
d1022 1
d1024 1
d1026 2
d1029 2
a1030 1
for ac_arg
d1032 35
a1066 12
  case $ac_arg in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n ) continue ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    continue ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  esac
  ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  # Get rid of the leading space.
  ac_sep=" "
d1068 2
d1093 2
a1094 2
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1098 1
a1098 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1127 1
a1127 1
        echo "$ac_var='"'"'$ac_val'"'"'"
d1146 1
a1146 1
  rm -f core core.* *.core &&
d1226 1
a1226 1
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1243 1
a1243 1
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1245 1
a1245 1
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1247 1
a1247 1
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1249 1
a1249 1
        ac_cache_corrupted=:
d1297 1
a1300 3
ac_srcdir_defaulted=no
srcdir=`cd $srcdir; pwd`
groff_top_builddir=`pwd`
d1302 1
d1612 4
a1615 2
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
d1639 5
a1643 2
#line $LINENO "configure"
#include "confdefs.h"
d1654 1
a1654 1
ac_clean_files="$ac_clean_files a.out a.exe"
d1658 2
a1659 2
echo "$as_me:$LINENO: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
d1673 3
a1675 1
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
d1678 18
a1695 9
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    a.out ) # We found the default executable, but exeext='' is most
            # certainly right.
            break;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
          export ac_cv_exeext
          break;;
    * ) break;;
d1700 2
a1701 1
cat conftest.$ac_ext >&5
d1703 1
a1703 1
check \`config.log' for details." >&5
d1705 1
a1705 1
check \`config.log' for details." >&2;}
d1732 2
a1733 1
If you meant to cross compile, use \`--host'." >&5
d1735 2
a1736 1
If you meant to cross compile, use \`--host'." >&2;}
d1744 1
a1744 1
rm -f a.out a.exe conftest$ac_cv_exeext
d1769 2
a1770 2
          export ac_cv_exeext
          break;;
d1775 4
a1778 2
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
d1795 5
a1799 2
#line $LINENO "configure"
#include "confdefs.h"
d1824 6
a1829 3
cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
d1845 5
a1849 2
#line $LINENO "configure"
#include "confdefs.h"
d1864 1
a1864 1
  (eval $ac_compile) 2>&5
d1866 3
d1871 8
a1878 1
         { ac_try='test -s conftest.$ac_objext'
d1887 2
a1888 1
cat conftest.$ac_ext >&5
d1891 1
a1891 1
rm -f conftest.$ac_objext conftest.$ac_ext
d1907 5
a1911 2
#line $LINENO "configure"
#include "confdefs.h"
d1923 1
a1923 1
  (eval $ac_compile) 2>&5
d1925 3
d1930 8
a1937 1
         { ac_try='test -s conftest.$ac_objext'
d1946 2
a1947 1
cat conftest.$ac_ext >&5
d1950 1
a1950 1
rm -f conftest.$ac_objext conftest.$ac_ext
d1977 5
a1981 2
#line $LINENO "configure"
#include "confdefs.h"
d2004 10
d2040 1
a2040 1
  (eval $ac_compile) 2>&5
d2042 3
d2047 8
a2054 1
         { ac_try='test -s conftest.$ac_objext'
d2064 2
a2065 1
cat conftest.$ac_ext >&5
d2067 1
a2067 1
rm -f conftest.$ac_objext
d2095 1
a2095 1
  (eval $ac_compile) 2>&5
d2097 3
d2102 8
a2109 1
         { ac_try='test -s conftest.$ac_objext'
d2116 1
a2116 2
   ''\
   '#include <stdlib.h>' \
d2124 6
a2129 2
#line $LINENO "configure"
#include "confdefs.h"
a2130 1
$ac_declaration
d2141 1
a2141 1
  (eval $ac_compile) 2>&5
d2143 3
d2148 8
a2155 1
         { ac_try='test -s conftest.$ac_objext'
d2164 2
a2165 1
cat conftest.$ac_ext >&5
d2168 1
a2168 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2170 5
a2174 2
#line $LINENO "configure"
#include "confdefs.h"
d2186 1
a2186 1
  (eval $ac_compile) 2>&5
d2188 3
d2193 8
a2200 1
         { ac_try='test -s conftest.$ac_objext'
d2209 2
a2210 1
cat conftest.$ac_ext >&5
d2212 1
a2212 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2223 2
a2224 1
cat conftest.$ac_ext >&5
d2226 1
a2226 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2352 5
a2356 2
#line $LINENO "configure"
#include "confdefs.h"
d2371 1
a2371 1
  (eval $ac_compile) 2>&5
d2373 3
d2378 8
a2385 1
         { ac_try='test -s conftest.$ac_objext'
d2394 2
a2395 1
cat conftest.$ac_ext >&5
d2398 1
a2398 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2414 5
a2418 2
#line $LINENO "configure"
#include "confdefs.h"
d2430 1
a2430 1
  (eval $ac_compile) 2>&5
d2432 3
d2437 8
a2444 1
         { ac_try='test -s conftest.$ac_objext'
d2453 2
a2454 1
cat conftest.$ac_ext >&5
d2457 1
a2457 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2477 1
a2477 2
   ''\
   '#include <stdlib.h>' \
d2485 6
a2490 2
#line $LINENO "configure"
#include "confdefs.h"
a2491 1
$ac_declaration
d2502 1
a2502 1
  (eval $ac_compile) 2>&5
d2504 3
d2509 8
a2516 1
         { ac_try='test -s conftest.$ac_objext'
d2525 2
a2526 1
cat conftest.$ac_ext >&5
d2529 1
a2529 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2531 5
a2535 2
#line $LINENO "configure"
#include "confdefs.h"
d2547 1
a2547 1
  (eval $ac_compile) 2>&5
d2549 3
d2554 8
a2561 1
         { ac_try='test -s conftest.$ac_objext'
d2570 2
a2571 1
cat conftest.$ac_ext >&5
d2573 1
a2573 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2590 1
a2590 1
ac_ext=cc
d2596 2
a2597 2
if test "$cross_compiling" = no; then
	echo "$as_me:$LINENO: checking that C++ compiler can compile simple program" >&5
d2599 2
a2600 2
fi
if test "$cross_compiling" = yes; then
d2604 14
a2617 3
#line $LINENO "configure"
#include "confdefs.h"
int main() { return 0; }
d2635 2
a2636 1
cat conftest.$ac_ext >&5
d2639 2
a2640 1
echo "${ECHO_T}no" >&6;{ { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
d2644 1
a2644 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2646 3
a2648 2
if test "$cross_compiling" = no; then
	echo "$as_me:$LINENO: checking that C++ static constructors and destructors are called" >&5
d2650 2
a2651 2
fi
if test "$cross_compiling" = yes; then
d2655 7
a2661 2
#line $LINENO "configure"
#include "confdefs.h"
d2666 1
d2673 1
d2675 7
a2681 1
int main() { return 1; }
d2700 2
a2701 1
cat conftest.$ac_ext >&5
d2704 2
a2705 1
echo "${ECHO_T}no" >&6;{ { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
d2709 1
a2709 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2711 2
a2712 1
echo "$as_me:$LINENO: checking that header files support C++" >&5
d2714 9
a2722 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d2724 2
d2729 2
d2732 2
d2737 1
d2741 1
a2741 1
  (eval $ac_link) 2>&5
d2743 3
d2748 8
a2755 1
         { ac_try='test -s conftest$ac_exeext'
d2765 2
a2766 1
cat conftest.$ac_ext >&5
d2768 7
a2774 2
echo "${ECHO_T}no" >&6;{ { echo "$as_me:$LINENO: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
echo "$as_me: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&2;}
d2777 3
a2779 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ac_ext=c
d2788 8
a2795 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
a2796 3
int
main ()
{
d2798 2
a2799 2
    Use compile-time rather than run-time tests for cross-compiler
    tolerance. */
d2803 6
d2812 1
d2816 1
a2816 1
  (eval $ac_compile) 2>&5
d2818 3
d2823 8
a2830 1
         { ac_try='test -s conftest.$ac_objext'
d2837 2
a2838 2
 TTYDEVDIRS="font/devcp1047"
 echo "$as_me:$LINENO: result: yes" >&5
d2847 2
a2848 1
cat conftest.$ac_ext >&5
d2850 3
a2852 3
 TTYDEVDIRS="font/devascii font/devlatin1"
 OTHERDEVDIRS="font/devlj4 font/devlbp"
 echo "$as_me:$LINENO: result: no" >&5
d2855 1
a2855 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2859 1
a2859 1
	echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
d2861 4
a2864 4
	case `uname` in
	OS/390)
		CFLAGS="$CFLAGS -D_ALL_SOURCE"
		echo "$as_me:$LINENO: result: yes" >&5
d2866 2
a2867 2
	*)
		echo "$as_me:$LINENO: result: no" >&5
d2869 2
a2870 2
	esac
fi
d2872 1
a2872 1
	for ac_prog in lpr
d2912 1
a2912 1
	for ac_prog in lp
d2952 5
a2956 5
	if test -n "$LPR" && test -n "$LP"; then
		# HP-UX provides an lpr command that emulates lpr using lp,
		# but it doesn't have lpq; in this case we want to use lp
		# rather than lpr.
		for ac_prog in lpq
d2996 8
a3003 8
		test -n "$LPQ" || LPR=
	fi
	if test -n "$LPR"; then
		PSPRINT="$LPR"
	elif test -n "$LP"; then
		PSPRINT="$LP"
	fi
fi
d3005 1
a3005 1
echo "$as_me:$LINENO: checking for command to use for printing PostScript files" >&5
d3007 1
a3007 1
echo "$as_me:$LINENO: result: $PSPRINT" >&5
d3009 3
a3011 2
# Figure out DVIPRINT from PSPRINT.
echo "$as_me:$LINENO: checking for command to use for printing dvi files" >&5
d3013 7
a3019 7
if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
	if test "X$PSPRINT" = "Xlpr"; then
		DVIPRINT="lpr -d"
	else
		DVIPRINT="$PSPRINT"
	fi
fi
d3021 1
a3021 1
echo "$as_me:$LINENO: result: $DVIPRINT" >&5
d3209 3
a3211 2
ac_dir=`cd $ac_aux_dir; pwd`
ac_install_sh="$ac_dir/install-sh -c"
d3264 1
d3281 1
d3289 14
a3302 14
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
            :
          elif test $ac_prog = install &&
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # program-specific install script used by HP pwplus--don't use.
            :
          else
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
            break 3
          fi
        fi
d3343 3
d3348 1
a3354 9
chmod +x conftest.sh
if echo ./conftest.sh | (csh >/dev/null 2>&1) >/dev/null 2>&1; then
	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; SH_SCRIPT_SED_CMD='1s/.*/:/'
else
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; SH_SCRIPT_SED_CMD='1s/a/a/'
fi
rm -f conftest.sh
d3356 14
d3393 2
d3398 11
a3408 4
#line $LINENO "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
d3420 1
d3431 2
a3432 1
  cat conftest.$ac_ext >&5
d3441 5
a3445 2
#line $LINENO "configure"
#include "confdefs.h"
d3458 1
d3470 2
a3471 1
  cat conftest.$ac_ext >&5
d3500 2
d3505 11
a3515 4
#line $LINENO "configure"
#include "confdefs.h"
#include <assert.h>
                     Syntax error
d3527 1
d3538 2
a3539 1
  cat conftest.$ac_ext >&5
d3548 5
a3552 2
#line $LINENO "configure"
#include "confdefs.h"
d3565 1
d3577 2
a3578 1
  cat conftest.$ac_ext >&5
d3591 4
a3594 2
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
d3626 5
a3630 2
#line $LINENO "configure"
#include "confdefs.h"
d3636 7
d3644 3
a3646 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3652 14
a3665 10
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3669 3
a3671 2
  cat conftest.$ac_ext >&5
  ac_cv_header_stdc=no
d3673 1
a3673 1
rm -f conftest.err conftest.$ac_ext
d3678 5
a3682 2
#line $LINENO "configure"
#include "confdefs.h"
d3699 5
a3703 2
#line $LINENO "configure"
#include "confdefs.h"
d3723 5
a3727 2
#line $LINENO "configure"
#include "confdefs.h"
d3733 4
a3736 3
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
d3747 1
a3747 1
        || toupper (i) != TOUPPER (i))
d3767 2
a3768 1
cat conftest.$ac_ext >&5
d3772 1
a3772 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3797 1
a3797 1
                  inttypes.h stdint.h unistd.h
d3806 5
a3810 2
#line $LINENO "configure"
#include "confdefs.h"
d3817 1
a3817 1
  (eval $ac_compile) 2>&5
d3819 3
d3824 8
a3831 1
         { ac_try='test -s conftest.$ac_objext'
d3840 2
a3841 1
cat conftest.$ac_ext >&5
d3844 1
a3844 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3868 1
a3868 1
                 string.h strings.h math.h sys/time.h
d3884 5
a3888 2
#line $LINENO "configure"
#include "confdefs.h"
d3894 1
a3894 1
  (eval $ac_compile) 2>&5
d3896 3
d3901 8
a3908 1
         { ac_try='test -s conftest.$ac_objext'
d3917 2
a3918 1
cat conftest.$ac_ext >&5
d3921 1
a3921 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3929 5
a3933 2
#line $LINENO "configure"
#include "confdefs.h"
d3946 1
d3957 2
a3958 1
  cat conftest.$ac_ext >&5
d3966 2
a3967 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d3970 5
a3974 3
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  no:yes )
d3977 6
a3982 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d3984 12
a3995 1
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
d4002 1
a4002 1
  eval "$as_ac_Header=$ac_header_preproc"
d4019 3
a4021 3
if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
then
	echo "$as_me:$LINENO: result: yes" >&5
d4028 2
a4029 2
else
	echo "$as_me:$LINENO: result: no" >&5
d4031 1
a4031 1
fi
d4034 1
a4034 1
ac_ext=cc
d4040 9
a4048 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d4051 2
d4060 1
d4064 1
a4064 1
  (eval $ac_compile) 2>&5
d4066 3
d4071 8
a4078 1
         { ac_try='test -s conftest.$ac_objext'
d4085 2
a4086 1
echo "${ECHO_T}yes" >&6;
d4093 2
a4094 1
cat conftest.$ac_ext >&5
d4098 2
a4099 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d4105 2
d4113 1
a4113 1
echo "$as_me:$LINENO: checking for return type of srand" >&5
d4115 9
a4123 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d4126 2
d4135 1
d4139 1
a4139 1
  (eval $ac_compile) 2>&5
d4141 3
d4146 8
a4153 1
         { ac_try='test -s conftest.$ac_objext'
d4160 2
a4161 1
echo "${ECHO_T}void" >&6;
d4168 2
a4169 1
cat conftest.$ac_ext >&5
d4173 2
a4174 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d4182 1
a4182 1
ac_ext=cc
d4188 1
a4188 1
if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
d4192 7
a4198 2
#line $LINENO "configure"
#include "confdefs.h"
d4219 2
d4224 2
d4229 2
d4234 1
d4238 1
a4238 1
  (eval $ac_compile) 2>&5
d4240 3
d4245 8
a4252 1
         { ac_try='test -s conftest.$ac_objext'
d4261 2
a4262 1
cat conftest.$ac_ext >&5
d4265 1
a4265 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4268 1
a4268 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_gettimeofday" >&5
d4270 1
a4270 1
if test $groff_cv_decl_needed_gettimeofday = yes; then
d4276 2
a4277 2
fi
ac_ext=c
d4285 1
a4285 1
ac_ext=cc
d4291 1
a4291 1
if test "${groff_cv_decl_needed_hypot+set}" = set; then
d4295 7
a4301 2
#line $LINENO "configure"
#include "confdefs.h"
d4322 2
d4327 2
d4332 2
d4337 1
d4341 1
a4341 1
  (eval $ac_compile) 2>&5
d4343 3
d4348 8
a4355 1
         { ac_try='test -s conftest.$ac_objext'
d4364 2
a4365 1
cat conftest.$ac_ext >&5
d4368 1
a4368 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4371 1
a4371 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_hypot" >&5
d4373 1
a4373 1
if test $groff_cv_decl_needed_hypot = yes; then
d4379 2
a4380 2
fi
ac_ext=c
d4388 1
a4388 1
ac_ext=cc
d4394 1
a4394 1
if test "${groff_cv_decl_needed_popen+set}" = set; then
d4398 7
a4404 2
#line $LINENO "configure"
#include "confdefs.h"
d4425 2
d4430 2
d4435 2
d4440 1
d4444 1
a4444 1
  (eval $ac_compile) 2>&5
d4446 3
d4451 8
a4458 1
         { ac_try='test -s conftest.$ac_objext'
d4467 2
a4468 1
cat conftest.$ac_ext >&5
d4471 1
a4471 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4474 1
a4474 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_popen" >&5
d4476 1
a4476 1
if test $groff_cv_decl_needed_popen = yes; then
d4482 2
a4483 2
fi
ac_ext=c
d4491 1
a4491 1
ac_ext=cc
d4497 1
a4497 1
if test "${groff_cv_decl_needed_pclose+set}" = set; then
d4501 7
a4507 2
#line $LINENO "configure"
#include "confdefs.h"
d4528 2
d4533 2
d4538 2
d4543 1
d4547 1
a4547 1
  (eval $ac_compile) 2>&5
d4549 3
d4554 8
a4561 1
         { ac_try='test -s conftest.$ac_objext'
d4570 2
a4571 1
cat conftest.$ac_ext >&5
d4574 1
a4574 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4577 1
a4577 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_pclose" >&5
d4579 1
a4579 1
if test $groff_cv_decl_needed_pclose = yes; then
d4585 2
a4586 2
fi
ac_ext=c
d4594 1
a4594 1
ac_ext=cc
d4600 1
a4600 1
if test "${groff_cv_decl_needed_putenv+set}" = set; then
d4604 7
a4610 2
#line $LINENO "configure"
#include "confdefs.h"
d4631 2
d4636 2
d4641 2
d4646 1
d4650 1
a4650 1
  (eval $ac_compile) 2>&5
d4652 3
d4657 8
a4664 1
         { ac_try='test -s conftest.$ac_objext'
d4673 2
a4674 1
cat conftest.$ac_ext >&5
d4677 1
a4677 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4680 1
a4680 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_putenv" >&5
d4682 1
a4682 1
if test $groff_cv_decl_needed_putenv = yes; then
d4688 2
a4689 2
fi
ac_ext=c
d4697 1
a4697 1
ac_ext=cc
d4703 1
a4703 1
if test "${groff_cv_decl_needed_rand+set}" = set; then
d4707 7
a4713 2
#line $LINENO "configure"
#include "confdefs.h"
d4734 2
d4739 2
d4744 2
d4749 1
d4753 1
a4753 1
  (eval $ac_compile) 2>&5
d4755 3
d4760 8
a4767 1
         { ac_try='test -s conftest.$ac_objext'
d4776 2
a4777 1
cat conftest.$ac_ext >&5
d4780 1
a4780 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4783 1
a4783 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_rand" >&5
d4785 1
a4785 1
if test $groff_cv_decl_needed_rand = yes; then
d4791 2
a4792 2
fi
ac_ext=c
d4800 1
a4800 1
ac_ext=cc
d4806 1
a4806 1
if test "${groff_cv_decl_needed_snprintf+set}" = set; then
d4810 7
a4816 2
#line $LINENO "configure"
#include "confdefs.h"
d4837 2
d4842 2
d4847 2
d4852 1
d4856 1
a4856 1
  (eval $ac_compile) 2>&5
d4858 3
d4863 8
a4870 1
         { ac_try='test -s conftest.$ac_objext'
d4879 2
a4880 1
cat conftest.$ac_ext >&5
d4883 1
a4883 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4886 1
a4886 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_snprintf" >&5
d4888 1
a4888 1
if test $groff_cv_decl_needed_snprintf = yes; then
d4894 2
a4895 2
fi
ac_ext=c
d4903 1
a4903 1
ac_ext=cc
d4909 1
a4909 1
if test "${groff_cv_decl_needed_srand+set}" = set; then
d4913 7
a4919 2
#line $LINENO "configure"
#include "confdefs.h"
d4940 2
d4945 2
d4950 2
d4955 1
d4959 1
a4959 1
  (eval $ac_compile) 2>&5
d4961 3
d4966 8
a4973 1
         { ac_try='test -s conftest.$ac_objext'
d4982 2
a4983 1
cat conftest.$ac_ext >&5
d4986 1
a4986 1
rm -f conftest.$ac_objext conftest.$ac_ext
d4989 1
a4989 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_srand" >&5
d4991 1
a4991 1
if test $groff_cv_decl_needed_srand = yes; then
d4997 2
a4998 2
fi
ac_ext=c
d5006 1
a5006 1
ac_ext=cc
d5012 1
a5012 1
if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
d5016 7
a5022 2
#line $LINENO "configure"
#include "confdefs.h"
d5043 2
d5048 2
d5053 2
d5058 1
d5062 1
a5062 1
  (eval $ac_compile) 2>&5
d5064 3
d5069 8
a5076 1
         { ac_try='test -s conftest.$ac_objext'
d5085 2
a5086 1
cat conftest.$ac_ext >&5
d5089 1
a5089 1
rm -f conftest.$ac_objext conftest.$ac_ext
d5092 1
a5092 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strcasecmp" >&5
d5094 1
a5094 1
if test $groff_cv_decl_needed_strcasecmp = yes; then
d5100 2
a5101 2
fi
ac_ext=c
d5109 1
a5109 1
ac_ext=cc
d5115 1
a5115 1
if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
d5119 7
a5125 2
#line $LINENO "configure"
#include "confdefs.h"
d5146 2
d5151 2
d5156 2
d5161 1
d5165 1
a5165 1
  (eval $ac_compile) 2>&5
d5167 3
d5172 8
a5179 1
         { ac_try='test -s conftest.$ac_objext'
d5188 2
a5189 1
cat conftest.$ac_ext >&5
d5192 1
a5192 1
rm -f conftest.$ac_objext conftest.$ac_ext
d5195 1
a5195 1
echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strncasecmp" >&5
d5197 1
a5197 1
if test $groff_cv_decl_needed_strncasecmp = yes; then
d5203 91
d5295 13
a5307 1
ac_ext=c
d5319 1
a5319 1
echo "$as_me:$LINENO: checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
d5321 9
a5329 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5333 2
d5338 6
a5343 1
int k; k = sys_nerr;
d5347 1
d5351 1
a5351 1
  (eval $ac_compile) 2>&5
d5353 3
d5358 8
a5365 1
         { ac_try='test -s conftest.$ac_objext'
d5372 2
a5373 1
echo "${ECHO_T}yes" >&6;
d5380 2
a5381 1
cat conftest.$ac_ext >&5
d5385 2
a5386 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d5394 9
a5402 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5406 2
d5411 6
a5416 1
int k; k = (int)sys_errlist[0];
d5420 1
d5424 1
a5424 1
  (eval $ac_compile) 2>&5
d5426 3
d5431 8
a5438 1
         { ac_try='test -s conftest.$ac_objext'
d5445 2
a5446 1
echo "${ECHO_T}yes" >&6;
d5453 2
a5454 1
cat conftest.$ac_ext >&5
d5458 1
a5458 1
rm -f conftest.$ac_objext conftest.$ac_ext
d5465 1
a5465 1
echo "$as_me:$LINENO: checking C++ <osfcn.h>" >&5
d5467 9
a5475 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5477 2
d5482 6
a5487 1
read(0, 0, 0); open(0, 0);
d5491 1
d5495 1
a5495 1
  (eval $ac_compile) 2>&5
d5497 3
d5502 8
a5509 1
         { ac_try='test -s conftest.$ac_objext'
d5516 2
a5517 1
echo "${ECHO_T}yes" >&6;
d5524 2
a5525 1
cat conftest.$ac_ext >&5
d5529 2
a5530 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d5542 1
a5542 1
echo "$as_me:$LINENO: checking C++ <limits.h>" >&5
d5544 9
a5552 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5554 2
d5559 7
a5565 1
int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;
d5569 1
d5573 1
a5573 1
  (eval $ac_compile) 2>&5
d5575 3
d5580 8
a5587 1
         { ac_try='test -s conftest.$ac_objext'
d5594 2
a5595 1
echo "${ECHO_T}yes" >&6;
d5602 2
a5603 1
cat conftest.$ac_ext >&5
d5607 2
a5608 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d5620 1
a5620 1
echo "$as_me:$LINENO: checking C++ <stdint.h>" >&5
d5622 9
a5630 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5632 2
d5637 6
a5642 1
uint32_t x; int32_t y;
d5646 1
d5650 1
a5650 1
  (eval $ac_compile) 2>&5
d5652 3
d5657 8
a5664 1
         { ac_try='test -s conftest.$ac_objext'
d5671 2
a5672 1
echo "${ECHO_T}yes" >&6;
d5679 2
a5680 1
cat conftest.$ac_ext >&5
d5684 2
a5685 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d5697 1
a5697 1
echo "$as_me:$LINENO: checking for inttypes.h" >&5
d5699 9
a5707 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5710 2
d5715 2
d5718 2
d5723 1
d5727 1
a5727 1
  (eval $ac_compile) 2>&5
d5729 3
d5734 8
a5741 1
         { ac_try='test -s conftest.$ac_objext'
d5750 2
a5751 1
cat conftest.$ac_ext >&5
d5754 2
a5755 2
rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $groff_cv_header_inttypes_h" >&5
d5757 1
a5757 1
ac_ext=c
d5763 2
d5771 1
a5771 1
echo "$as_me:$LINENO: checking for unsigned long long" >&5
d5773 14
a5786 4
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
unsigned long long ull = 1; int i = 63;
d5790 2
a5791 1
unsigned long long ullmax = (unsigned long long)-1;
d5793 2
d5797 16
a5812 5
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d5815 2
a5816 2
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
d5825 2
a5826 1
cat conftest.$ac_ext >&5
d5829 3
a5831 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "$as_me:$LINENO: result: $groff_cv_type_unsigned_long_long" >&5
d5833 1
a5833 1
ac_ext=c
d5840 1
a5840 1
if test $groff_cv_header_inttypes_h = no; then
d5842 1
a5842 1
	test $groff_cv_type_unsigned_long_long = yes \
d5850 1
a5850 1
fi
d5857 1
a5857 1
echo "$as_me:$LINENO: checking for declaration of time_t" >&5
d5859 9
a5867 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d5869 2
d5874 6
a5879 1
time_t t = time(0); struct tm *p = localtime(&t);
d5883 1
d5887 1
a5887 1
  (eval $ac_compile) 2>&5
d5889 3
d5894 8
a5901 1
         { ac_try='test -s conftest.$ac_objext'
d5911 2
a5912 1
cat conftest.$ac_ext >&5
d5914 2
a5915 1
echo "${ECHO_T}no" >&6;
d5921 2
a5922 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d5934 5
a5938 2
#line $LINENO "configure"
#include "confdefs.h"
d5960 1
a5960 1
  (eval $ac_compile) 2>&5
d5962 3
d5967 8
a5974 1
         { ac_try='test -s conftest.$ac_objext'
d5983 2
a5984 1
cat conftest.$ac_ext >&5
d5987 1
a5987 1
rm -f conftest.$ac_objext conftest.$ac_ext
d5999 9
a6007 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d6009 2
d6014 2
d6017 2
d6022 1
d6026 1
a6026 1
  (eval $ac_compile) 2>&5
d6028 3
d6033 8
a6040 1
         { ac_try='test -s conftest.$ac_objext'
d6047 2
a6048 1
echo "${ECHO_T}yes" >&6;
d6055 2
a6056 1
cat conftest.$ac_ext >&5
d6060 3
a6062 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6071 5
a6075 2
#line $LINENO "configure"
#include "confdefs.h"
d6088 1
a6088 1
  (eval $ac_link) 2>&5
d6090 3
d6095 8
a6102 1
         { ac_try='test -s conftest$ac_exeext'
d6111 2
a6112 1
cat conftest.$ac_ext >&5
d6115 2
a6116 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d6134 5
a6138 2
#line $LINENO "configure"
#include "confdefs.h"
d6157 1
a6157 1
  (eval $ac_link) 2>&5
d6159 3
d6164 8
a6171 1
         { ac_try='test -s conftest$ac_exeext'
d6180 2
a6181 1
cat conftest.$ac_ext >&5
d6184 2
a6185 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d6196 2
d6215 5
a6219 2
#line $LINENO "configure"
#include "confdefs.h"
d6225 1
a6225 1
  (eval $ac_compile) 2>&5
d6227 3
d6232 8
a6239 1
         { ac_try='test -s conftest.$ac_objext'
d6248 2
a6249 1
cat conftest.$ac_ext >&5
d6252 1
a6252 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6260 5
a6264 2
#line $LINENO "configure"
#include "confdefs.h"
d6277 1
d6288 2
a6289 1
  cat conftest.$ac_ext >&5
d6297 2
a6298 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d6301 5
a6305 3
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
  no:yes )
d6308 6
a6313 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d6315 12
a6326 1
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
d6333 1
a6333 1
  eval "$as_ac_Header=$ac_header_preproc"
d6358 9
a6366 2
#line $LINENO "configure"
#include "confdefs.h"
d6368 12
a6379 2
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
d6383 1
a6387 5
char (*f) ();

int
main ()
{
d6394 4
a6397 1
f = $ac_func;
d6400 4
d6410 1
a6410 1
  (eval $ac_link) 2>&5
d6412 3
d6417 8
a6424 1
         { ac_try='test -s conftest$ac_exeext'
d6433 2
a6434 1
cat conftest.$ac_ext >&5
d6437 2
a6438 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d6459 5
a6463 2
#line $LINENO "configure"
#include "confdefs.h"
d6566 1
a6566 1
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
d6568 1
a6568 1
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
d6606 2
a6607 1
cat conftest.$ac_ext >&5
d6611 1
a6611 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d6636 1
a6636 1
                 strerror strncasecmp strtol
d6645 9
a6653 2
#line $LINENO "configure"
#include "confdefs.h"
d6655 12
a6666 2
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
d6670 1
d6675 11
a6685 1
char (*f) ();
d6690 98
d6794 4
a6797 1
f = $ac_func;
d6800 4
d6810 1
a6810 1
  (eval $ac_link) 2>&5
d6812 3
d6817 8
a6824 1
         { ac_try='test -s conftest$ac_exeext'
d6833 2
a6834 1
cat conftest.$ac_ext >&5
d6837 2
a6838 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d6848 8
a6855 1
  LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
a6858 1

d6875 9
a6883 2
#line $LINENO "configure"
#include "confdefs.h"
d6885 12
a6896 2
    which can conflict with char $ac_func (); below.  */
#include <assert.h>
d6900 1
a6904 5
char (*f) ();

int
main ()
{
d6911 4
a6914 1
f = $ac_func;
d6917 4
d6927 1
a6927 1
  (eval $ac_link) 2>&5
d6929 3
d6934 8
a6941 1
         { ac_try='test -s conftest$ac_exeext'
d6950 2
a6951 1
cat conftest.$ac_ext >&5
d6954 2
a6955 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d6969 1
a6969 1
ac_ext=cc
d6976 9
a6984 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d6988 2
d6993 2
d6996 2
d7001 1
d7005 1
a7005 1
  (eval $ac_link) 2>&5
d7007 3
d7012 8
a7019 1
         { ac_try='test -s conftest$ac_exeext'
d7026 2
a7027 1
echo "${ECHO_T}yes" >&6;
d7034 2
a7035 1
cat conftest.$ac_ext >&5
d7037 9
a7045 1
echo "${ECHO_T}no" >&6;LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
d7047 3
a7049 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ac_ext=c
d7055 3
a7057 3
echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5
echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
if test "${ac_cv_decl_sys_siglist+set}" = set; then
d7061 6
a7066 9
#line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
/* NetBSD declares sys_siglist in unistd.h.  */
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

d7070 4
a7073 1
char *msg = *(sys_siglist + 1);
d7080 1
a7080 1
  (eval $ac_compile) 2>&5
d7082 3
d7087 8
a7094 1
         { ac_try='test -s conftest.$ac_objext'
d7100 1
a7100 1
  ac_cv_decl_sys_siglist=yes
d7103 3
a7105 2
cat conftest.$ac_ext >&5
ac_cv_decl_sys_siglist=no
d7107 1
a7107 1
rm -f conftest.$ac_objext conftest.$ac_ext
d7109 7
a7115 3
echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
if test $ac_cv_decl_sys_siglist = yes; then
d7117 4
a7120 2
cat >>confdefs.h <<\_ACEOF
#define SYS_SIGLIST_DECLARED 1
d7123 1
d7126 3
d7135 1
a7135 1
echo "$as_me:$LINENO: checking whether ANSI array delete syntax is supported" >&5
d7137 7
a7143 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
d7148 6
a7153 1
char *p = new char[5]; delete [] p;
d7157 1
d7161 1
a7161 1
  (eval $ac_compile) 2>&5
d7163 3
d7168 8
a7175 1
         { ac_try='test -s conftest.$ac_objext'
d7185 2
a7186 1
cat conftest.$ac_ext >&5
d7188 2
a7189 1
echo "${ECHO_T}no" >&6;
d7195 2
a7196 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d7208 1
a7208 1
echo "$as_me:$LINENO: checking traditional preprocessor" >&5
d7210 12
a7221 4
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
#define name2(a,b) a/**/b
d7225 5
a7229 1
int name2(foo,bar);
d7233 1
d7237 1
a7237 1
  (eval $ac_compile) 2>&5
d7239 3
d7244 8
a7251 1
         { ac_try='test -s conftest.$ac_objext'
d7258 2
a7259 1
echo "${ECHO_T}yes" >&6;
d7266 2
a7267 1
cat conftest.$ac_ext >&5
d7271 2
a7272 2
rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c
d7278 2
d7282 1
a7282 1
if test "$cross_compiling" = yes; then
d7287 8
a7294 2
#line $LINENO "configure"
#include "confdefs.h"
d7297 7
d7314 6
d7333 2
a7334 1
echo "${ECHO_T}yes" >&6;
d7342 2
a7343 1
cat conftest.$ac_ext >&5
d7348 1
a7348 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d7350 2
d7354 2
a7355 2
test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS=7
echo "$as_me:$LINENO: result: $BROKEN_SPOOLER_FLAGS" >&5
d7360 48
a7407 45
groff_prefix=$prefix
test "x$prefix" = xNONE && groff_prefix=$ac_default_prefix
if test -z "$PAGE"; then
	descfile=
	if test -r $groff_prefix/share/groff/font/devps/DESC; then
		descfile=$groff_prefix/share/groff/font/devps/DESC
	elif test -r $groff_prefix/lib/groff/font/devps/DESC; then
		descfile=$groff_prefix/lib/groff/font/devps/DESC
	else
		for f in $groff_prefix/share/groff/*/font/devps/DESC; do
			if test -r $f; then
				descfile=$f
				break
			fi
		done
	fi
	if test -n "$descfile"; then
		if grep '^paperlength[	 ]\+841890' $descfile
		  >/dev/null 2>&1; then
			PAGE=A4
		elif grep '^papersize[	 ]\+[aA]4' $descfile \
		  >/dev/null 2>&1; then
			PAGE=A4
		fi
	fi
fi
if test -z "$PAGE"; then
	dom=`awk '($1 == "dom" || $1 == "search") { print $2; exit}' \
	    /etc/resolv.conf 2>/dev/null`
	if test -z "$dom"; then
		dom=`(domainname) 2>/dev/null | tr -d '+'`
		if test -z "$dom" \
		  || test "$dom" = '(none)'; then
			dom=`(hostname) 2>/dev/null | grep '\.'`
		fi
	fi
	# If the top-level domain is two letters and it's not `us' or `ca'
	# then they probably use A4 paper.
	case "$dom" in
	*.[Uu][Ss]|*.[Cc][Aa]) ;;
	*.[A-Za-z][A-Za-z]) PAGE=A4 ;;
	esac
fi
test -n "$PAGE" || PAGE=letter
if test "x$PAGE" = "xA4"; then
d7413 2
a7414 2
fi
echo "$as_me:$LINENO: result: $PAGE" >&5
d7419 2
a7420 2
if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0; then
	echo "$as_me:$LINENO: result: yes" >&5
d7422 3
a7424 3
	g=g
else
	echo "$as_me:$LINENO: result: no" >&5
d7426 2
a7427 2
	g=
fi
d7431 16
a7446 16
sys_tmac_prefix=
sys_tmac_file_prefix=
for d in /usr/share/lib/tmac /usr/lib/tmac; do
	for t in "" tmac.; do
		for m in an s m; do
			f=$d/$t$m
			if test -z "$sys_tmac_prefix" \
			  && test -f $f \
			  && grep '^\.if' $f >/dev/null 2>&1; then
				sys_tmac_prefix=$d/$t
				sys_tmac_file_prefix=$t
			fi
		done
	done
done
echo "$as_me:$LINENO: result: $sys_tmac_prefix" >&5
d7449 2
a7450 2
tmac_wrap=
echo "$as_me:$LINENO: checking which system macro packages should be made available" >&5
d7452 42
a7493 35
if test "x$sys_tmac_file_prefix" = "xtmac."; then
	for f in $sys_tmac_prefix*; do
		suff=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
		case "$suff" in
		e) ;;
		*)
			grep "Copyright.*Free Software Foundation" $f >/dev/null \
			  || tmac_wrap="$tmac_wrap $suff" ;;
		esac
	done
elif test -n "$sys_tmac_prefix"; then
	files=`echo $sys_tmac_prefix*`
	grep "\\.so" $files >conftest.sol
	for f in $files; do
		case "$f" in
 		${sys_tmac_prefix}e) ;;
		*.me) ;;
		*/ms.*) ;;
		*)
			b=`basename $f`
			if grep "\\.so.*/$b\$" conftest.sol >/dev/null \
			  || grep -l "Copyright.*Free Software Foundation" $f >/dev/null; then
				:
			else
				suff=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
				case "$suff" in
				tmac.*) ;;
				*) tmac_wrap="$tmac_wrap $suff" ;;
				esac
			fi
		esac
	done
	rm -f conftest.sol
fi
echo "$as_me:$LINENO: result: $tmac_wrap" >&5
d7497 4
a7500 3
make_install_html=install_html
missing=
# Extract the first word of "pnmcut", so it can be a program name with args.
d7536 1
a7536 1
if test $pnmcut = missing; then
d7538 1
a7538 2
fi
# Extract the first word of "pnmcrop", so it can be a program name with args.
d7574 1
a7574 1
if test $pnmcrop = missing; then
d7576 1
a7576 2
fi
# Extract the first word of "pnmtopng", so it can be a program name with args.
d7612 1
a7612 1
if test $pnmtopng = missing; then
d7614 2
a7615 3
fi
# Extract the first word of "gs gsos2", so it can be a program name with args.
set dummy gs gsos2; ac_word=$2
d7618 1
a7618 1
if test "${ac_cv_prog_gs+set}" = set; then
d7621 2
a7622 2
  if test -n "$gs"; then
  ac_cv_prog_gs="$gs" # Let the user override the test.
d7631 1
a7631 1
    ac_cv_prog_gs="found"
d7638 1
a7638 1
  test -z "$ac_cv_prog_gs" && ac_cv_prog_gs="missing"
d7641 4
a7644 4
gs=$ac_cv_prog_gs
if test -n "$gs"; then
  echo "$as_me:$LINENO: result: $gs" >&5
echo "${ECHO_T}$gs" >&6
d7650 4
a7653 5
if test $gs = missing; then
	missing="$missing gs"
fi
# Extract the first word of "psselect", so it can be a program name with args.
set dummy psselect; ac_word=$2
d7656 1
a7656 1
if test "${ac_cv_prog_psselect+set}" = set; then
d7659 2
a7660 2
  if test -n "$psselect"; then
  ac_cv_prog_psselect="$psselect" # Let the user override the test.
d7669 1
a7669 1
    ac_cv_prog_psselect="found"
d7676 1
a7676 1
  test -z "$ac_cv_prog_psselect" && ac_cv_prog_psselect="missing"
d7679 4
a7682 4
psselect=$ac_cv_prog_psselect
if test -n "$psselect"; then
  echo "$as_me:$LINENO: result: $psselect" >&5
echo "${ECHO_T}$psselect" >&6
d7688 4
a7691 5
if test $psselect = missing; then
	missing="$missing psselect"
fi
# Extract the first word of "pnmtops", so it can be a program name with args.
set dummy pnmtops; ac_word=$2
d7694 1
a7694 1
if test "${ac_cv_prog_pnmtops+set}" = set; then
d7697 2
a7698 2
  if test -n "$pnmtops"; then
  ac_cv_prog_pnmtops="$pnmtops" # Let the user override the test.
d7707 1
a7707 1
    ac_cv_prog_pnmtops="found"
d7714 1
a7714 1
  test -z "$ac_cv_prog_pnmtops" && ac_cv_prog_pnmtops="missing"
d7717 4
a7720 4
pnmtops=$ac_cv_prog_pnmtops
if test -n "$pnmtops"; then
  echo "$as_me:$LINENO: result: $pnmtops" >&5
echo "${ECHO_T}$pnmtops" >&6
d7726 32
a7757 29
if test $pnmtops = missing; then
	missing="$missing pnmtops"
fi
if test -n "$missing"; then
	cnt=0
	for i in $missing
	do
		cnt=`expr $cnt + 1`
		eval "prog$cnt=$i"
	done
	plural="s"
	case $cnt in
	1)
		plural=""
		progs="\`$prog1'" ;;
	2)
		progs="\`$prog1' and \`$prog2'" ;;
	3)
		progs="\`$prog1', \`$prog2', and \`$prog3'" ;;
	4)
		progs="\`$prog1', \`$prog2', \`$prog3', and \`$prog4'" ;;
	5)
		progs="\`$prog1', \`$prog2', \`$prog3', \`$prog4', and \`$prog5'" ;;
	6)
		progs="\`$prog1', \`$prog2', \`$prog3', \`$prog4', \`$prog5', and \`$prog6'" ;;
	esac
	make_html=
	make_install_html=
	{ echo "$as_me:$LINENO: WARNING:
d7764 1
a7764 1
" >&5
d7772 3
a7774 2
" >&2;}
fi
d7779 2
a7780 2
if echo P2 2 2 255 0 1 2 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
	echo "$as_me:$LINENO: result: yes" >&5
d7782 3
a7784 3
	pnmtops_nosetpage="pnmtops -nosetpage"
else
	echo "$as_me:$LINENO: result: no" >&5
d7786 2
a7787 2
	pnmtops_nosetpage="pnmtops"
fi
d7822 2
a7823 2
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d7828 1
a7828 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d7839 1
a7839 1
if cmp -s $cache_file confcache; then :; else
d7858 1
a7858 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
d7862 1
a7862 1
s/^\([^=]*=[ 	]*\):*/\1/;
d7864 1
a7864 1
s/^[^=]*=[ 	]*$//;
d7875 1
a7875 1
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d7899 2
d7919 1
d7922 1
a7922 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d7936 4
a7939 1
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
d7941 1
a7941 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d7985 4
a7988 4
  echo "#! /bin/sh" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
d7993 1
a7993 1
  rm -f conftest.sh
d8120 1
d8127 1
a8127 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d8130 1
a8130 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d8157 1
a8157 1
generated by GNU Autoconf 2.54.  Invocation command line was
d8197 1
d8201 1
a8201 1
                   instantiate the configuration file FILE
d8203 1
a8203 1
                   instantiate the configuration header FILE
d8217 1
a8217 1
configured by $0, generated by GNU Autoconf 2.54,
d8220 1
a8220 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
d8253 1
a8253 1
cat >>$CONFIG_STATUS <<_ACEOF
d8255 1
a8255 4
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d8277 3
d8294 14
d8339 3
d8350 1
a8350 1
: ${TMPDIR=/tmp}
d8352 1
a8352 1
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
d8356 1
a8356 1
  tmp=$TMPDIR/cs$$-$RANDOM
d8360 1
a8360 1
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
a8407 1
s,@@groff_top_builddir@@,$groff_top_builddir,;t t
a8447 1
s,@@gs@@,$gs,;t t
d8450 1
d8484 1
a8484 1
  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
d8486 1
a8486 1
  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
d8504 3
a8506 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d8508 1
a8508 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d8515 4
a8518 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d8534 4
a8537 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d8575 39
a8613 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d8635 1
a8635 1
                                     sed 's,.*/,,'` by configure."
d8644 2
a8645 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d8648 1
a8648 1
         echo $f;;
d8650 9
a8658 9
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d8661 1
a8661 1
         fi;;
d8707 2
a8708 2
ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$,\1#\2'
d8712 1
a8712 1
ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
d8721 3
a8723 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d8725 1
a8725 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d8739 2
a8740 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d8743 2
a8744 1
         echo $f;;
d8746 9
a8754 9
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d8757 1
a8757 1
         fi;;
d8761 1
a8761 1
  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
d8784 1
a8784 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
d8786 1
a8786 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
d8800 1
a8800 1
s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
d8806 1
a8806 1
echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
d8815 1
a8815 1
  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
d8842 1
a8842 1
  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
d8870 1
a8870 1
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
d8876 4
a8879 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d8895 4
a8898 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d8939 3
d8943 1
a8943 1
  $SHELL $CONFIG_STATUS || ac_cs_success=false
d8949 1
@


1.49
log
@

* aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
* configure, src/include/config.hin: Regenerated.

* src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.

* PROBLEMS: Add solution for UTF-8 problem with hyphens.
@
text
@d308 1
a308 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS groff_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP EGREP LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap pnmcut pnmcrop pnmtopng gs psselect pnmtops make_html make_install_html pnmtops_nosetpage LTLIBOBJS'
d4501 2
a4502 2
echo "$as_me:$LINENO: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
echo $ECHO_N "checking for sys_nerr in <errno.h> or <stdio.h>... $ECHO_C" >&6
d4508 1
d4995 48
d5454 1
a5454 1
LIBS="$LIBS -lc $LIBM"
d5542 2
a5543 1
for ac_func in gettimeofday isatty rename setlocale strsep
d5725 2
a5726 2
echo "$as_me:$LINENO: checking whether ANSI array delete syntax supported" >&5
echo $ECHO_N "checking whether ANSI array delete syntax supported... $ECHO_C" >&6
d6922 1
@


1.48
log
@HP-UX 10.20 has `snprintf' but it isn't declared.

* configure.ac: Add declaration test for snprintf.
* configure: Regenerated.
* src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
* src/include/config.hin: Regenerated.
@
text
@d4547 2
a4548 2
echo "$as_me:$LINENO: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
echo $ECHO_N "checking for sys_errlist in <errno.h> or <stdio.h>... $ECHO_C" >&6
d4554 1
@


1.47
log
@* aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
if --quiet is used for the configure script.
* configure: Regenerated.
@
text
@d4175 80
@


1.46
log
@Renamed all `*.cc' files to `*.cpp'.
Updated all configuration files, makefiles, and documentation.
@
text
@d5875 1
d5912 3
d5951 3
d5990 3
d6029 3
d6068 3
d6107 26
a6132 2
case "x$pnmcut$pnmcrop$pnmtopng$gs$psselect$pnmtops$pstopnm" in
*missing*)
d6137 5
a6141 3
  Since one or more of the above six programs can't be found in the path,
  the HTML backend of groff (grohtml) won't work properly.  Consequently,
  no documentation in HTML format is built and installed.
d6145 7
a6151 5
  Since one or more of the above six programs can't be found in the path,
  the HTML backend of groff (grohtml) won't work properly.  Consequently,
  no documentation in HTML format is built and installed.
" >&2;} ;;
esac
d6157 1
a6157 1
    echo "$as_me:$LINENO: result: yes" >&5
d6159 1
a6159 1
    pnmtops_nosetpage="pnmtops -nosetpage"
d6161 1
a6161 1
    echo "$as_me:$LINENO: result: no" >&5
d6163 1
a6163 1
    pnmtops_nosetpage="pnmtops"
@


1.45
log
@Check for stdint.h in C++, not in C.

* aclocal.m4 (GROFF_STDINT_H): New function,
* configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
AC_CHECK_HEADERS.
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.


* src/libs/libgroff/maxfilename.cc:
s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.

* src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
emit word marker.
@
text
@d270 1
a270 1
ac_unique_file="src/roff/groff/groff.cc"
@


1.44
log
@Make groff independent from locale's numeric settings.

* configure.ac: Check for `setlocale'.
* configure, src/include/config.hin: Regenerated.

* src/include/lib.h: Handle HAVE_SETLOCALE.

* src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
(main), src/preproc/pic/main.cc (main): Call `setlocale'.


* doc/groff.texinfo (Man font macros): Mention that there is no
space between arguments of .BI and friends.

* man/roff.man: Small fixes.
@
text
@a3461 1

d3463 1
a3463 1
                 string.h strings.h math.h stdint.h sys/time.h
d4594 51
@


1.43
log
@
* doc/texinfo.tex: New version 2003-02-11.06.

* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.

* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.

* NEWS: Updated.

* src/devices/grops/ps.cc: Now sets the page size in the generated
document.  This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.

* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.

* src/devices/grops/grops.man: New broken-flag 16 mentioned.

* doc/Makefile.in: Added -nosetpage flag (via @@pnmtops_nosetpage@@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.

* doc/Makefile.sub: See doc/Makefile.in.

* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: Updated.
@
text
@d5361 2
a5362 1
for ac_func in gettimeofday isatty rename strsep
@


1.42
log
@
* aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
(GROFF_PNMTOPS_NOSETPAGE): New macro.
* configure.ac: Use it.
* configure: Regenerated.
* Makefile.in: Updated.

* tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
(CLEANADD): Add www.tmac-sed.
(pnmtops_nosetpage): Define default.
(install_data): Handle www.tmac-sed and substitute
@@PNMTOPS_NOSETPAGE@@.
(stamp-sed): Add www.tmac.
* tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
It now breaks URLs at suitable places.
(www:substring_ok): New register set by...
(www:@@test_substring): New macro.
(www:error): New alias to www-error.
(www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
New macros.
(URL): Use www:url_breaks.
(PIMG, MPIMG): Use @@PNMTOPS_NOSETPAGE@@.
(CDS, CDE): New macros.

* src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
buffer overflow.
@
text
@d6061 1
a6061 1
if echo P1 2 2 0 1 1 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then
@


1.41
log
@Add memory management for colors to deallocate unnamed colors
properly.

* src/include/color.h (color): New members `free_list' and `next'.
New member functions `new' and `delete'.
Add deconstructor.
* src/libs/libgroff/color.cc: Implement it.

* src/libs/libgroff/font.cc (font::add_kern): Use integer cast
for array size of new operator.

* src/libs/libdriver/input.cc (IntArray::operator[]): Remove
redundant comparison.

* src/roff/troff/input.cc (word_space_node::reread,
hmotion_node::reread): Avoid warning about unused parameter.
(reset_output_registers): Remove redundant parameter.
(define_color): Undo change 2003-02-12.

* src/roff/troff/reg.h: Updated.

* src/roff/troff/node.cc (troff_output_file::really_print_line,
output_file::put_filename, real_output_file::really_put_filename,
ascii_output_file::really_print_line,
break_char_node::get_hyphen_list): Avoid warning about unused
parameter.
(suppress_node::tprint): Updated.

* configure.ac: Check declaration for rand() and srand().
* configure: Regenerated.

* src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
conditionally.
* src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
and srand().

* src/preproc/eqn/delim.cc (delim_table): Add missing initializers
to avoid compiler warnings.

* src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
unused.

* src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
is unused.
* src/devices/grops/psrm.cc (skip_possible_newline): Remove first
(unused) parameter.
Updated all callers.

* src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
is unused.
* src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
* src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.

* src/devices/grohtml/post-html.cc (html_printer::emit_line):
Parameter is unused.
(html_printer::add_table_end): Define parameter conditionally.
* src/devices/grohtml/output.cc (simple_output::special): Parameter
is unused.

* src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
(lbp_printer::set_char): Last parameter is unused.

* src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
@
text
@d308 1
a308 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS groff_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD CPP EGREP LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap pnmcut pnmcrop pnmtopng gs psselect make_html make_install_html LTLIBOBJS'
d6004 37
a6040 1
case "x$pnmcut$pnmcrop$pnmtopng$gs$psselect" in
d6046 1
a6046 1
  Since one or more of the above five programs can't be found in the path,
d6052 1
a6052 1
  Since one or more of the above five programs can't be found in the path,
d6059 13
d6708 1
d6711 1
@


1.40
log
@
* src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
New files, copied from gnulib.
* src/libs/libgroff/Makefile.sub (CSRCS): Add them.
* configure.ac: Updated.
* configure: Regenerated.

* src/include/config.hin: Regenerated.
* src/include/lib.h [!HAVE_STRCASECMP]: Declare strcasecmp.
Don't define strcasecmp as strcmp.
[!HAVE_STRNCASECMP]: Declare strncasecmp.
Dont define strncasecmp as strncmp.

* src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
Removed.
@
text
@d4096 160
@


1.39
log
@
* configure: Regenerated with autoconf 2.54.
@
text
@d5121 4
a5124 1
for ac_func in fmod getcwd putenv snprintf strerror strtol
d5201 1
a5201 3


for ac_func in gettimeofday isatty rename strcasecmp strncasecmp strsep
@


1.38
log
@
* configure.ac: Test for isatty.
* configure: Regenerated.
* src/include/posix.h: Check HAVE_ISATTY.
* src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
* src/utils/lookbib/lookbib.cc: Include posix.h.
Don't declare isatty.

* NEWS: Add `output' request.

* REVISION: Increased to 1.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.53.
a8 8

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi


d17 3
a23 1
# NLS nuisances.
d31 29
a59 24
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
    { $as_unset LANG || test "${LANG+set}" != set; } ||
      { LANG=C; export LANG; }
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
      { LC_ALL=C; export LC_ALL; }
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
      { LC_TIME=C; export LC_TIME; }
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
      { LC_CTYPE=C; export LC_CTYPE; }
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
      { LANGUAGE=C; export LANGUAGE; }
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
      { LC_COLLATE=C; export LC_COLLATE; }
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
      { LC_NUMERIC=C; export LC_NUMERIC; }
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
      { LC_MESSAGES=C; export LC_MESSAGES; }
d63 1
a63 1
as_me=`(basename "$0") 2>/dev/null ||
d74 1
d88 1
a88 1
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
d141 2
d215 6
d237 1
a237 1
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
d251 1
d308 2
d733 3
d894 1
a894 1
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
d934 1
a934 1
generated by GNU Autoconf 2.53.  Invocation command line was
d1000 1
a1000 5
  case " $ac_configure_args " in
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
       ac_sep=" " ;;
  esac
d1002 1
d1014 1
d1037 29
d1073 1
a1073 1
      sed "/^$/d" confdefs.h
d1230 2
a1231 1
ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"
d1442 1
a1442 3
    set dummy "$as_dir/$ac_word" ${1+"$@@"}
    shift
    ac_cv_prog_CC="$@@"
a1574 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d1603 2
a1604 3
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
                ls a.out conftest 2>/dev/null;
                ls a.* conftest.* 2>/dev/null`; do
d1606 1
a1606 1
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
d1620 4
a1623 2
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
d1680 2
a1681 1
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
d1683 1
a1683 1
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
a1711 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d1728 1
a1728 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
a1755 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a1803 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d1849 91
a1974 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2005 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2172 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2220 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2279 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2310 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d2394 1
a2394 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2443 1
a2443 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a2450 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a2494 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d3074 1
a3074 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
d3107 1
a3107 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
d3165 1
a3165 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
d3198 1
a3198 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
d3241 15
d3273 1
a3273 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
d3304 1
a3304 1
  egrep "memchr" >/dev/null 2>&1; then
d3322 1
a3322 1
  egrep "free" >/dev/null 2>&1; then
d3381 1
a3381 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3518 1
a3518 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
a3604 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a3656 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a3729 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a3809 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a3889 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a3969 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4049 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4129 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4209 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4268 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4314 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4359 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4410 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4462 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4509 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4569 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4627 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4669 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a4720 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d4813 1
a4813 1
  egrep -v '^ *\+' conftest.er1 >conftest.err
a4895 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d5099 1
a5099 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a5143 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a5222 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a5283 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a5337 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a5387 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
a5438 6
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
d5525 1
a5525 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d5862 1
a5862 1
ac_config_files="$ac_config_files stamp-h"
d5864 1
a5864 1
ac_config_files="$ac_config_files Makefile doc/Makefile src/xditview/Imakefile"
d5876 1
a5876 1
# `ac_cv_env_foo' variables (set or unset) will be overriden when
d5942 15
a5974 1

d5983 3
a5989 1
# NLS nuisances.
d5997 29
a6025 24
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
    { $as_unset LANG || test "${LANG+set}" != set; } ||
      { LANG=C; export LANG; }
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
      { LC_ALL=C; export LC_ALL; }
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
      { LC_TIME=C; export LC_TIME; }
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
      { LC_CTYPE=C; export LC_CTYPE; }
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
      { LANGUAGE=C; export LANGUAGE; }
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
      { LC_COLLATE=C; export LC_COLLATE; }
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
      { LC_NUMERIC=C; export LC_NUMERIC; }
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
      { LC_MESSAGES=C; export LC_MESSAGES; }
d6029 1
a6029 1
as_me=`(basename "$0") 2>/dev/null ||
d6040 1
d6054 1
a6054 1
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
d6108 2
d6183 6
d6205 1
a6205 1
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
d6222 1
a6222 1
generated by GNU Autoconf 2.53.  Invocation command line was
d6281 1
a6281 1
configured by $0, generated by GNU Autoconf 2.53,
d6302 6
a6307 3
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@@"}
    shift
a6308 1
  -*);;
d6311 1
d6315 1
a6315 1
  case $1 in
d6338 2
a6339 2
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
d6342 2
a6343 2
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
d6485 1
d6500 1
d6571 24
a6594 19
  { case "$ac_dir" in
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;;
esac
as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" ||
        mkdir "$as_incr_dir" ||
	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }
    ;;
  esac
done; }
d6624 1
a6624 1
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
d6818 1
a6818 1
echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
d6842 1
a6842 1
echo '  fi # egrep' >>$CONFIG_STATUS
d6898 24
a6921 19
      { case "$ac_dir" in
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;;
esac
as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" ||
        mkdir "$as_incr_dir" ||
	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }
    ;;
  esac
done; }
@


1.37
log
@
Add a `color' request and a `.color' register to control usage of
colours.

* src/roff/troff/input.cc (disable_color_flag): Replaced with...
(color_flag): This (which is the inverse).
(activate_color): New function.
(main, init_input_requests): Updated.
* src/roff/troff/troff.h, src/roff/troff/node.cc
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated.

* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document the changes.


Circumvent bug in autoconf 2.53 regarding top_builddir.

* aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
* Makefile.in, src/xditview/Imakefile.in, doc/Makefile.in:
s/@@top_builddir@@/@@groff_top_builddir@@/.
* configure: Regenerated (with autoconf 2.53).
@
text
@d5249 2
a5250 1
for ac_func in gettimeofday rename strcasecmp strncasecmp strsep
@


1.36
log
@
Don't produce HTML files if utility programs are missing.

* Makefile.in (make_html, make_install_html): New variables.
(MDEFINES): Updated.

* aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
utility programs.
* configure.ac: Use it.
* configure: Regenerated.

* doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
(HTMLEXAMPLESFILES): This new variable.
(EXAMPLESIMAGEFILES): Renamed to...
(HTMLEXAMPLEIMAGEFILES): This.
(CLEANADD): Add HTMLEXAMPLEFILES.
(all): Use `make_html'.
(html): New target.
(install_data): Use `make_install_html'.
Move html stuff to...
(install_html): This new target.
(uninstall_sub): Updated.
@
text
@d3 1
a3 1
# Generated by Autoconf 2.52.
d5 1
a5 1
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
d10 5
a14 6
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
a15 2
# Sed expression to map a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d17 3
a19 2
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d29 34
d64 124
a187 1
as_me=`echo "$0" |sed 's,.*[\\/],,'`
d215 5
a219 6
# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi
a220 9
# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
d229 2
a230 1
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
d245 2
a246 1
MFLAGS= MAKEFLAGS=
d254 7
d299 1
a337 7
# Identity of this package.
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=

d470 1
a470 1
  | --no-cr | --no-c)
d649 1
a649 1
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
d661 1
a661 1
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
d668 1
d673 1
a673 1
# FIXME: should be removed in autoconf 3.0.
d689 1
d694 12
a705 3
  ac_prog=$0
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
d715 1
a715 1
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
d718 1
a718 1
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
d770 1
a770 1
  cat <<EOF
d791 1
a791 1
EOF
d793 1
a793 1
  cat <<EOF
d820 1
a820 1
EOF
d822 2
a823 2
  cat <<\EOF
EOF
d828 1
a828 1
  cat <<\EOF
d844 1
a844 1
EOF
d850 33
a882 14
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    cd $ac_subdir
    # A "../" for each directory in /$ac_subdir.
    ac_dots=`echo $ac_subdir |
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`

    case $srcdir in
    .) # No --srcdir option.  We are building in place.
      ac_sub_srcdir=$srcdir ;;
    [\\/]* | ?:[\\/]* ) # Absolute path.
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
    *) # Relative path.
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    esac
d884 1
d886 1
a886 1
    if test -f $ac_sub_srcdir/configure.gnu; then
d888 2
a889 2
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_sub_srcdir/configure; then
d891 3
a893 3
      $SHELL $ac_sub_srcdir/configure  --help=recursive
    elif test -f $ac_sub_srcdir/configure.ac ||
           test -f $ac_sub_srcdir/configure.in; then
d897 1
a897 1
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
d905 1
a905 1
  cat <<\EOF
d907 1
a907 1
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
d911 1
a911 1
EOF
d915 1
a915 1
cat >&5 <<EOF
d920 1
a920 1
generated by GNU Autoconf 2.52.  Invocation command line was
d924 1
a924 1
EOF
d927 3
a929 3
## ---------- ##
## Platform.  ##
## ---------- ##
d948 9
a956 1
PATH = $PATH
a957 1
_ASUNAME
d960 8
a967 4
cat >&5 <<EOF
## ------------ ##
## Core tests.  ##
## ------------ ##
a968 1
EOF
d979 1
a979 1
  | --no-cr | --no-c) ;;
d981 2
a982 1
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
d984 6
a989 5
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    ac_sep=" " ;;
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
     ac_sep=" " ;;
d997 2
d1001 9
a1009 6
  echo >&5
  echo "## ----------------- ##" >&5
  echo "## Cache variables.  ##" >&5
  echo "## ----------------- ##" >&5
  echo >&5
  # The following way of writing the cache mishandles newlines in values,
d1023 18
a1040 15
} >&5
  sed "/^$/d" confdefs.h >conftest.log
  if test -s conftest.log; then
    echo >&5
    echo "## ------------ ##" >&5
    echo "## confdefs.h.  ##" >&5
    echo "## ------------ ##" >&5
    echo >&5
    cat conftest.log >&5
  fi
  (echo; echo) >&5
  test "$ac_signal" != 0 &&
    echo "$as_me: caught signal $ac_signal" >&5
  echo "$as_me: exit $exit_status" >&5
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
d1053 27
d1091 1
a1091 1
    { echo "$as_me:865: loading site script $ac_site_file" >&5
d1093 1
a1093 1
    cat "$ac_site_file" >&5
d1102 1
a1102 1
    { echo "$as_me:876: loading cache $cache_file" >&5
d1110 1
a1110 1
  { echo "$as_me:884: creating cache $cache_file" >&5
d1126 1
a1126 1
      { echo "$as_me:900: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
d1130 1
a1130 1
      { echo "$as_me:904: error: \`$ac_var' was not set in the previous run" >&5
d1136 1
a1136 1
        { echo "$as_me:910: error: \`$ac_var' has changed since the previous run:" >&5
d1138 1
a1138 1
        { echo "$as_me:912:   former value:  $ac_old_val" >&5
d1140 1
a1140 1
        { echo "$as_me:914:   current value: $ac_new_val" >&5
d1145 1
a1145 2
  # Pass precious variables to config.status.  It doesn't matter if
  # we pass some twice (in addition to the command line arguments).
d1149 6
a1154 5
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
      ac_configure_args="$ac_configure_args '$ac_arg'"
      ;;
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
       ;;
d1159 1
a1159 1
  { echo "$as_me:933: error: changes in the environment can compromise the build" >&5
d1161 1
a1161 1
  { { echo "$as_me:935: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
d1172 16
a1187 20
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
echo "#! $SHELL" >conftest.sh
echo  "exit 0"   >>conftest.sh
chmod +x conftest.sh
if { (echo "$as_me:955: PATH=\".;.\"; conftest.sh") >&5
  (PATH=".;."; conftest.sh) 2>&5
  ac_status=$?
  echo "$as_me:958: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  ac_path_separator=';'
else
  ac_path_separator=:
fi
PATH_SEPARATOR="$ac_path_separator"
rm -f conftest.sh
d1191 1
d1194 1
a1194 1
top_builddir=`pwd`
d1204 1
a1204 1
echo "$as_me:981: checking for $ac_word" >&5
d1212 12
a1223 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}gcc"
echo "$as_me:996: found $ac_dir/$ac_word" >&5
break
d1230 1
a1230 1
  echo "$as_me:1004: result: $CC" >&5
d1233 1
a1233 1
  echo "$as_me:1007: result: no" >&5
d1242 1
a1242 1
echo "$as_me:1016: checking for $ac_word" >&5
d1250 12
a1261 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:1031: found $ac_dir/$ac_word" >&5
break
d1268 1
a1268 1
  echo "$as_me:1039: result: $ac_ct_CC" >&5
d1271 1
a1271 1
  echo "$as_me:1042: result: no" >&5
d1284 1
a1284 1
echo "$as_me:1055: checking for $ac_word" >&5
d1292 12
a1303 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:1070: found $ac_dir/$ac_word" >&5
break
d1310 1
a1310 1
  echo "$as_me:1078: result: $CC" >&5
d1313 1
a1313 1
  echo "$as_me:1081: result: no" >&5
d1322 1
a1322 1
echo "$as_me:1090: checking for $ac_word" >&5
d1330 12
a1341 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="cc"
echo "$as_me:1105: found $ac_dir/$ac_word" >&5
break
d1348 1
a1348 1
  echo "$as_me:1113: result: $ac_ct_CC" >&5
d1351 1
a1351 1
  echo "$as_me:1116: result: no" >&5
d1364 1
a1364 1
echo "$as_me:1129: checking for $ac_word" >&5
d1373 16
a1388 13
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  ac_prog_rejected=yes
  continue
fi
ac_cv_prog_CC="cc"
echo "$as_me:1149: found $ac_dir/$ac_word" >&5
break
d1400 1
a1400 1
    set dummy "$ac_dir/$ac_word" ${1+"$@@"}
d1409 1
a1409 1
  echo "$as_me:1171: result: $CC" >&5
d1412 1
a1412 1
  echo "$as_me:1174: result: no" >&5
d1423 1
a1423 1
echo "$as_me:1185: checking for $ac_word" >&5
d1431 12
a1442 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:1200: found $ac_dir/$ac_word" >&5
break
d1449 1
a1449 1
  echo "$as_me:1208: result: $CC" >&5
d1452 1
a1452 1
  echo "$as_me:1211: result: no" >&5
d1465 1
a1465 1
echo "$as_me:1224: checking for $ac_word" >&5
d1473 12
a1484 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:1239: found $ac_dir/$ac_word" >&5
break
d1491 1
a1491 1
  echo "$as_me:1247: result: $ac_ct_CC" >&5
d1494 1
a1494 1
  echo "$as_me:1250: result: no" >&5
d1506 3
a1508 2
test -z "$CC" && { { echo "$as_me:1262: error: no acceptable cc found in \$PATH" >&5
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
d1512 1
a1512 1
echo "$as_me:1267:" \
d1515 1
a1515 1
{ (eval echo "$as_me:1270: \"$ac_compiler --version </dev/null >&5\"") >&5
d1518 1
a1518 1
  echo "$as_me:1273: \$? = $ac_status" >&5
d1520 1
a1520 1
{ (eval echo "$as_me:1275: \"$ac_compiler -v </dev/null >&5\"") >&5
d1523 1
a1523 1
  echo "$as_me:1278: \$? = $ac_status" >&5
d1525 1
a1525 1
{ (eval echo "$as_me:1280: \"$ac_compiler -V </dev/null >&5\"") >&5
d1528 1
a1528 1
  echo "$as_me:1283: \$? = $ac_status" >&5
d1532 1
a1532 1
#line 1287 "configure"
d1535 6
d1554 1
a1554 1
echo "$as_me:1303: checking for C compiler default output" >&5
d1557 1
a1557 1
if { (eval echo "$as_me:1306: \"$ac_link_default\"") >&5
d1560 1
a1560 1
  echo "$as_me:1309: \$? = $ac_status" >&5
d1565 5
a1569 1
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
d1573 1
a1573 1
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
d1587 1
a1587 1
{ { echo "$as_me:1332: error: C compiler cannot create executables" >&5
d1593 1
a1593 1
echo "$as_me:1338: result: $ac_file" >&5
d1598 1
a1598 1
echo "$as_me:1343: checking whether the C compiler works" >&5
d1604 1
a1604 1
  { (eval echo "$as_me:1349: \"$ac_try\"") >&5
d1607 1
a1607 1
  echo "$as_me:1352: \$? = $ac_status" >&5
d1614 1
a1614 1
	{ { echo "$as_me:1359: error: cannot run C compiled programs.
d1622 1
a1622 1
echo "$as_me:1367: result: yes" >&5
d1629 1
a1629 1
echo "$as_me:1374: checking whether we are cross compiling" >&5
d1631 1
a1631 1
echo "$as_me:1376: result: $cross_compiling" >&5
d1634 3
a1636 3
echo "$as_me:1379: checking for executable suffix" >&5
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
if { (eval echo "$as_me:1381: \"$ac_link\"") >&5
d1639 1
a1639 1
  echo "$as_me:1384: \$? = $ac_status" >&5
d1655 2
a1656 2
  { { echo "$as_me:1400: error: cannot compute EXEEXT: cannot compile and link" >&5
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
d1661 1
a1661 1
echo "$as_me:1406: result: $ac_cv_exeext" >&5
d1667 2
a1668 2
echo "$as_me:1412: checking for object suffix" >&5
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
d1673 1
a1673 1
#line 1418 "configure"
d1676 6
d1691 1
a1691 1
if { (eval echo "$as_me:1430: \"$ac_compile\"") >&5
d1694 1
a1694 1
  echo "$as_me:1433: \$? = $ac_status" >&5
d1706 2
a1707 2
{ { echo "$as_me:1445: error: cannot compute OBJEXT: cannot compile" >&5
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
d1713 1
a1713 1
echo "$as_me:1452: result: $ac_cv_objext" >&5
d1717 1
a1717 1
echo "$as_me:1456: checking whether we are using the GNU C compiler" >&5
d1723 1
a1723 1
#line 1462 "configure"
d1726 6
d1744 1
a1744 1
if { (eval echo "$as_me:1477: \"$ac_compile\"") >&5
d1747 1
a1747 1
  echo "$as_me:1480: \$? = $ac_status" >&5
d1750 1
a1750 1
  { (eval echo "$as_me:1483: \"$ac_try\"") >&5
d1753 1
a1753 1
  echo "$as_me:1486: \$? = $ac_status" >&5
d1765 1
a1765 1
echo "$as_me:1498: result: $ac_cv_c_compiler_gnu" >&5
d1771 1
a1771 1
echo "$as_me:1504: checking whether $CC accepts -g" >&5
d1777 1
a1777 1
#line 1510 "configure"
d1780 6
d1795 1
a1795 1
if { (eval echo "$as_me:1522: \"$ac_compile\"") >&5
d1798 1
a1798 1
  echo "$as_me:1525: \$? = $ac_status" >&5
d1801 1
a1801 1
  { (eval echo "$as_me:1528: \"$ac_try\"") >&5
d1804 1
a1804 1
  echo "$as_me:1531: \$? = $ac_status" >&5
d1814 1
a1814 1
echo "$as_me:1541: result: $ac_cv_prog_cc_g" >&5
d1841 1
a1841 1
if { (eval echo "$as_me:1568: \"$ac_compile\"") >&5
d1844 1
a1844 1
  echo "$as_me:1571: \$? = $ac_status" >&5
d1847 1
a1847 1
  { (eval echo "$as_me:1574: \"$ac_try\"") >&5
d1850 1
a1850 1
  echo "$as_me:1577: \$? = $ac_status" >&5
d1862 1
a1862 1
#line 1589 "configure"
d1866 6
d1881 1
a1881 1
if { (eval echo "$as_me:1602: \"$ac_compile\"") >&5
d1884 1
a1884 1
  echo "$as_me:1605: \$? = $ac_status" >&5
d1887 1
a1887 1
  { (eval echo "$as_me:1608: \"$ac_try\"") >&5
d1890 1
a1890 1
  echo "$as_me:1611: \$? = $ac_status" >&5
d1900 1
a1900 1
#line 1621 "configure"
d1903 6
d1918 1
a1918 1
if { (eval echo "$as_me:1633: \"$ac_compile\"") >&5
d1921 1
a1921 1
  echo "$as_me:1636: \$? = $ac_status" >&5
d1924 1
a1924 1
  { (eval echo "$as_me:1639: \"$ac_try\"") >&5
d1927 1
a1927 1
  echo "$as_me:1642: \$? = $ac_status" >&5
d1964 1
a1964 1
echo "$as_me:1679: checking for $ac_word" >&5
d1972 12
a1983 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
echo "$as_me:1694: found $ac_dir/$ac_word" >&5
break
d1990 1
a1990 1
  echo "$as_me:1702: result: $CXX" >&5
d1993 1
a1993 1
  echo "$as_me:1705: result: no" >&5
d2006 1
a2006 1
echo "$as_me:1718: checking for $ac_word" >&5
d2014 12
a2025 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CXX="$ac_prog"
echo "$as_me:1733: found $ac_dir/$ac_word" >&5
break
d2032 1
a2032 1
  echo "$as_me:1741: result: $ac_ct_CXX" >&5
d2035 1
a2035 1
  echo "$as_me:1744: result: no" >&5
d2046 1
d2048 1
a2048 1
echo "$as_me:1756:" \
d2051 1
a2051 1
{ (eval echo "$as_me:1759: \"$ac_compiler --version </dev/null >&5\"") >&5
d2054 1
a2054 1
  echo "$as_me:1762: \$? = $ac_status" >&5
d2056 1
a2056 1
{ (eval echo "$as_me:1764: \"$ac_compiler -v </dev/null >&5\"") >&5
d2059 1
a2059 1
  echo "$as_me:1767: \$? = $ac_status" >&5
d2061 1
a2061 1
{ (eval echo "$as_me:1769: \"$ac_compiler -V </dev/null >&5\"") >&5
d2064 1
a2064 1
  echo "$as_me:1772: \$? = $ac_status" >&5
d2067 1
a2067 1
echo "$as_me:1775: checking whether we are using the GNU C++ compiler" >&5
d2073 1
a2073 1
#line 1781 "configure"
d2076 6
d2094 1
a2094 1
if { (eval echo "$as_me:1796: \"$ac_compile\"") >&5
d2097 1
a2097 1
  echo "$as_me:1799: \$? = $ac_status" >&5
d2100 1
a2100 1
  { (eval echo "$as_me:1802: \"$ac_try\"") >&5
d2103 1
a2103 1
  echo "$as_me:1805: \$? = $ac_status" >&5
d2115 1
a2115 1
echo "$as_me:1817: result: $ac_cv_cxx_compiler_gnu" >&5
d2121 1
a2121 1
echo "$as_me:1823: checking whether $CXX accepts -g" >&5
d2127 1
a2127 1
#line 1829 "configure"
d2130 6
d2145 1
a2145 1
if { (eval echo "$as_me:1841: \"$ac_compile\"") >&5
d2148 1
a2148 1
  echo "$as_me:1844: \$? = $ac_status" >&5
d2151 1
a2151 1
  { (eval echo "$as_me:1847: \"$ac_try\"") >&5
d2154 1
a2154 1
  echo "$as_me:1850: \$? = $ac_status" >&5
d2164 1
a2164 1
echo "$as_me:1860: result: $ac_cv_prog_cxx_g" >&5
d2191 1
a2191 1
#line 1887 "configure"
d2195 6
d2210 1
a2210 1
if { (eval echo "$as_me:1900: \"$ac_compile\"") >&5
d2213 1
a2213 1
  echo "$as_me:1903: \$? = $ac_status" >&5
d2216 1
a2216 1
  { (eval echo "$as_me:1906: \"$ac_try\"") >&5
d2219 1
a2219 1
  echo "$as_me:1909: \$? = $ac_status" >&5
d2229 1
a2229 1
#line 1919 "configure"
d2232 6
d2247 1
a2247 1
if { (eval echo "$as_me:1931: \"$ac_compile\"") >&5
d2250 1
a2250 1
  echo "$as_me:1934: \$? = $ac_status" >&5
d2253 1
a2253 1
  { (eval echo "$as_me:1937: \"$ac_try\"") >&5
d2256 1
a2256 1
  echo "$as_me:1940: \$? = $ac_status" >&5
d2278 2
d2287 1
a2287 1
	echo "$as_me:1969: checking that C++ compiler can compile simple program" >&5
d2294 1
a2294 1
#line 1976 "configure"
d2299 1
a2299 1
if { (eval echo "$as_me:1981: \"$ac_link\"") >&5
d2302 1
a2302 1
  echo "$as_me:1984: \$? = $ac_status" >&5
d2304 1
a2304 1
  { (eval echo "$as_me:1986: \"$ac_try\"") >&5
d2307 1
a2307 1
  echo "$as_me:1989: \$? = $ac_status" >&5
d2309 1
a2309 1
  echo "$as_me:1991: result: yes" >&5
d2315 3
a2317 2
echo "$as_me:1997: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1998: error: a working C++ compiler is required" >&5
d2324 1
a2324 1
	echo "$as_me:2005: checking that C++ static constructors and destructors are called" >&5
d2331 1
a2331 1
#line 2012 "configure"
d2348 1
a2348 1
if { (eval echo "$as_me:2029: \"$ac_link\"") >&5
d2351 1
a2351 1
  echo "$as_me:2032: \$? = $ac_status" >&5
d2353 1
a2353 1
  { (eval echo "$as_me:2034: \"$ac_try\"") >&5
d2356 1
a2356 1
  echo "$as_me:2037: \$? = $ac_status" >&5
d2358 1
a2358 1
  echo "$as_me:2039: result: yes" >&5
d2364 3
a2366 2
echo "$as_me:2045: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:2046: error: a working C++ compiler is required" >&5
d2372 1
a2372 1
echo "$as_me:2052: checking that header files support C++" >&5
d2375 1
a2375 1
#line 2055 "configure"
d2378 6
d2393 1
a2393 1
if { (eval echo "$as_me:2067: \"$ac_link\"") >&5
d2396 1
a2396 1
  echo "$as_me:2070: \$? = $ac_status" >&5
d2399 1
a2399 1
  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
d2402 1
a2402 1
  echo "$as_me:2076: \$? = $ac_status" >&5
d2404 1
a2404 1
  echo "$as_me:2078: result: yes" >&5
d2409 2
a2410 2
echo "$as_me:2083: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:2084: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
d2421 2
a2422 1
echo "$as_me:2095: checking whether character set is EBCDIC" >&5
d2425 1
a2425 1
#line 2098 "configure"
d2428 6
d2448 1
a2448 1
if { (eval echo "$as_me:2115: \"$ac_compile\"") >&5
d2451 1
a2451 1
  echo "$as_me:2118: \$? = $ac_status" >&5
d2454 1
a2454 1
  { (eval echo "$as_me:2121: \"$ac_try\"") >&5
d2457 1
a2457 1
  echo "$as_me:2124: \$? = $ac_status" >&5
d2461 1
a2461 1
 echo "$as_me:2128: result: yes" >&5
d2464 1
a2464 1
cat >>confdefs.h <<\EOF
d2466 1
a2466 1
EOF
d2474 1
a2474 1
 echo "$as_me:2141: result: no" >&5
d2479 1
d2481 1
a2481 1
	echo "$as_me:2147: checking for OS/390 Unix" >&5
d2486 1
a2486 1
		echo "$as_me:2152: result: yes" >&5
d2489 1
a2489 1
		echo "$as_me:2155: result: no" >&5
d2498 1
a2498 1
echo "$as_me:2164: checking for $ac_word" >&5
d2506 12
a2517 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LPR="$ac_prog"
echo "$as_me:2179: found $ac_dir/$ac_word" >&5
break
d2524 1
a2524 1
  echo "$as_me:2187: result: $LPR" >&5
d2527 1
a2527 1
  echo "$as_me:2190: result: no" >&5
d2538 1
a2538 1
echo "$as_me:2201: checking for $ac_word" >&5
d2546 12
a2557 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LP="$ac_prog"
echo "$as_me:2216: found $ac_dir/$ac_word" >&5
break
d2564 1
a2564 1
  echo "$as_me:2224: result: $LP" >&5
d2567 1
a2567 1
  echo "$as_me:2227: result: no" >&5
d2582 1
a2582 1
echo "$as_me:2242: checking for $ac_word" >&5
d2590 12
a2601 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LPQ="$ac_prog"
echo "$as_me:2257: found $ac_dir/$ac_word" >&5
break
d2608 1
a2608 1
  echo "$as_me:2265: result: $LPQ" >&5
d2611 1
a2611 1
  echo "$as_me:2268: result: no" >&5
d2627 1
a2627 1
echo "$as_me:2284: checking for command to use for printing PostScript files" >&5
d2629 1
a2629 1
echo "$as_me:2286: result: $PSPRINT" >&5
d2632 1
a2632 1
echo "$as_me:2289: checking for command to use for printing dvi files" >&5
d2642 1
a2642 1
echo "$as_me:2299: result: $DVIPRINT" >&5
d2646 1
a2646 1
echo "$as_me:2303: checking for $ac_word" >&5
d2656 12
a2667 10
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  if $as_executable_p "$ac_dir/$ac_word"; then
   ac_cv_path_PERLPATH="$ac_dir/$ac_word"
   echo "$as_me:2320: found $ac_dir/$ac_word" >&5
   break
fi
d2677 1
a2677 1
  echo "$as_me:2332: result: $PERLPATH" >&5
d2680 1
a2680 1
  echo "$as_me:2335: result: no" >&5
d2688 1
a2688 1
echo "$as_me:2343: checking for $ac_word" >&5
d2696 12
a2707 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_YACC="$ac_prog"
echo "$as_me:2358: found $ac_dir/$ac_word" >&5
break
d2714 1
a2714 1
  echo "$as_me:2366: result: $YACC" >&5
d2717 1
a2717 1
  echo "$as_me:2369: result: no" >&5
d2728 1
a2728 1
echo "$as_me:2380: checking for $ac_word" >&5
d2736 12
a2747 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:2395: found $ac_dir/$ac_word" >&5
break
d2754 1
a2754 1
  echo "$as_me:2403: result: $RANLIB" >&5
d2757 1
a2757 1
  echo "$as_me:2406: result: no" >&5
d2766 1
a2766 1
echo "$as_me:2415: checking for $ac_word" >&5
d2774 12
a2785 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:2430: found $ac_dir/$ac_word" >&5
break
d2793 1
a2793 1
  echo "$as_me:2439: result: $ac_ct_RANLIB" >&5
d2796 1
a2796 1
  echo "$as_me:2442: result: no" >&5
d2822 1
a2822 1
  { { echo "$as_me:2468: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2836 1
a2836 1
echo "$as_me:2482: checking for $ac_word" >&5
d2844 12
a2855 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_INSTALL_INFO="$ac_prog"
echo "$as_me:2497: found $ac_dir/$ac_word" >&5
break
d2862 1
a2862 1
  echo "$as_me:2505: result: $INSTALL_INFO" >&5
d2865 1
a2865 1
  echo "$as_me:2508: result: no" >&5
d2885 2
a2886 2
echo "$as_me:2528: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
d2891 30
a2920 27
    ac_save_IFS=$IFS; IFS=$ac_path_separator
  for ac_dir in $PATH; do
    IFS=$ac_save_IFS
    # Account for people who put trailing slashes in PATH elements.
    case $ac_dir/ in
    / | ./ | .// | /cC/* \
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
    | /usr/ucb/* ) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      # Don't use installbsd from OSF since it installs stuff as root
      # by default.
      for ac_prog in ginstall scoinst install; do
        if $as_executable_p "$ac_dir/$ac_prog"; then
	  if test $ac_prog = install &&
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  elif test $ac_prog = install &&
	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
	    # program-specific install script used by HP pwplus--don't use.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
d2922 5
a2926 3
      ;;
    esac
  done
d2939 1
a2939 1
echo "$as_me:2577: result: $INSTALL" >&5
d2950 1
a2950 1
echo "$as_me:2588: checking whether ln -s works" >&5
d2954 1
a2954 1
  echo "$as_me:2592: result: yes" >&5
d2957 1
a2957 1
  echo "$as_me:2595: result: no, using $LN_S" >&5
d2961 1
a2961 1
echo "$as_me:2599: checking for csh hash hack" >&5
d2971 1
a2971 1
	echo "$as_me:2609: result: yes" >&5
d2974 1
a2974 1
	echo "$as_me:2612: result: no" >&5
d2984 1
a2984 1
echo "$as_me:2622: checking how to run the C preprocessor" >&5
d3005 1
a3005 1
#line 2643 "configure"
d3010 1
a3010 1
if { (eval echo "$as_me:2648: \"$ac_cpp conftest.$ac_ext\"") >&5
d3016 1
a3016 1
  echo "$as_me:2654: \$? = $ac_status" >&5
d3039 1
a3039 1
#line 2677 "configure"
d3043 1
a3043 1
if { (eval echo "$as_me:2681: \"$ac_cpp conftest.$ac_ext\"") >&5
d3049 1
a3049 1
  echo "$as_me:2687: \$? = $ac_status" >&5
d3086 1
a3086 1
echo "$as_me:2724: result: $CPP" >&5
d3096 1
a3096 1
#line 2734 "configure"
d3101 1
a3101 1
if { (eval echo "$as_me:2739: \"$ac_cpp conftest.$ac_ext\"") >&5
d3107 1
a3107 1
  echo "$as_me:2745: \$? = $ac_status" >&5
d3130 1
a3130 1
#line 2768 "configure"
d3134 1
a3134 1
if { (eval echo "$as_me:2772: \"$ac_cpp conftest.$ac_ext\"") >&5
d3140 1
a3140 1
  echo "$as_me:2778: \$? = $ac_status" >&5
d3168 1
a3168 1
  { { echo "$as_me:2806: error: C preprocessor \"$CPP\" fails sanity check" >&5
d3179 208
d3391 2
a3392 1
echo "$as_me:2821: checking for $ac_header" >&5
d3396 3
d3400 36
a3435 2
  cat >conftest.$ac_ext <<_ACEOF
#line 2827 "configure"
d3439 1
a3439 1
if { (eval echo "$as_me:2831: \"$ac_cpp conftest.$ac_ext\"") >&5
d3445 1
a3445 1
  echo "$as_me:2837: \$? = $ac_status" >&5
d3456 1
a3456 1
  eval "$as_ac_Header=yes"
d3460 1
a3460 1
  eval "$as_ac_Header=no"
d3463 24
d3488 1
a3488 1
echo "$as_me:2856: result: `eval echo '${'$as_ac_Header'}'`" >&5
d3490 2
d3493 1
a3493 1
  cat >>confdefs.h <<EOF
d3495 1
a3495 1
EOF
d3498 1
d3501 1
a3501 1
echo "$as_me:2866: checking for ISC 3.x or 4.x" >&5
d3505 1
a3505 1
	echo "$as_me:2870: result: yes" >&5
d3508 1
a3508 1
cat >>confdefs.h <<\EOF
d3510 1
a3510 1
EOF
d3513 1
a3513 1
	echo "$as_me:2878: result: no" >&5
d3516 1
a3516 1
echo "$as_me:2881: checking whether -D_POSIX_SOURCE is necessary" >&5
d3525 1
a3525 1
#line 2890 "configure"
d3529 6
d3544 1
a3544 1
if { (eval echo "$as_me:2903: \"$ac_compile\"") >&5
d3547 1
a3547 1
  echo "$as_me:2906: \$? = $ac_status" >&5
d3550 1
a3550 1
  { (eval echo "$as_me:2909: \"$ac_try\"") >&5
d3553 1
a3553 1
  echo "$as_me:2912: \$? = $ac_status" >&5
d3555 1
a3555 1
  echo "$as_me:2914: result: yes" >&5
d3557 1
a3557 1
cat >>confdefs.h <<\EOF
d3559 1
a3559 1
EOF
d3564 1
a3564 1
echo "$as_me:2923: result: no" >&5
d3580 1
a3580 1
echo "$as_me:2939: checking for return type of srand" >&5
d3583 1
a3583 1
#line 2942 "configure"
d3587 6
d3602 1
a3602 1
if { (eval echo "$as_me:2955: \"$ac_compile\"") >&5
d3605 1
a3605 1
  echo "$as_me:2958: \$? = $ac_status" >&5
d3608 1
a3608 1
  { (eval echo "$as_me:2961: \"$ac_try\"") >&5
d3611 1
a3611 1
  echo "$as_me:2964: \$? = $ac_status" >&5
d3613 1
a3613 1
  echo "$as_me:2966: result: void" >&5
d3615 1
a3615 1
cat >>confdefs.h <<\EOF
d3617 1
a3617 1
EOF
d3622 1
a3622 1
echo "$as_me:2975: result: int" >&5
d3632 1
a3632 1
echo "$as_me:2985: checking whether gettimeofday must be declared" >&5
d3644 1
a3644 1
#line 2997 "configure"
d3666 6
d3683 1
a3683 1
if { (eval echo "$as_me:3030: \"$ac_compile\"") >&5
d3686 1
a3686 1
  echo "$as_me:3033: \$? = $ac_status" >&5
d3689 1
a3689 1
  { (eval echo "$as_me:3036: \"$ac_try\"") >&5
d3692 1
a3692 1
  echo "$as_me:3039: \$? = $ac_status" >&5
d3703 1
a3703 1
echo "$as_me:3050: result: $groff_cv_decl_needed_gettimeofday" >&5
d3707 1
a3707 1
cat >>confdefs.h <<\EOF
d3709 1
a3709 1
EOF
d3718 1
a3718 1
echo "$as_me:3065: checking whether hypot must be declared" >&5
d3730 1
a3730 1
#line 3077 "configure"
d3752 6
d3769 1
a3769 1
if { (eval echo "$as_me:3110: \"$ac_compile\"") >&5
d3772 1
a3772 1
  echo "$as_me:3113: \$? = $ac_status" >&5
d3775 1
a3775 1
  { (eval echo "$as_me:3116: \"$ac_try\"") >&5
d3778 1
a3778 1
  echo "$as_me:3119: \$? = $ac_status" >&5
d3789 1
a3789 1
echo "$as_me:3130: result: $groff_cv_decl_needed_hypot" >&5
d3793 1
a3793 1
cat >>confdefs.h <<\EOF
d3795 1
a3795 1
EOF
d3804 1
a3804 1
echo "$as_me:3145: checking whether popen must be declared" >&5
d3816 1
a3816 1
#line 3157 "configure"
d3838 6
d3855 1
a3855 1
if { (eval echo "$as_me:3190: \"$ac_compile\"") >&5
d3858 1
a3858 1
  echo "$as_me:3193: \$? = $ac_status" >&5
d3861 1
a3861 1
  { (eval echo "$as_me:3196: \"$ac_try\"") >&5
d3864 1
a3864 1
  echo "$as_me:3199: \$? = $ac_status" >&5
d3875 1
a3875 1
echo "$as_me:3210: result: $groff_cv_decl_needed_popen" >&5
d3879 1
a3879 1
cat >>confdefs.h <<\EOF
d3881 1
a3881 1
EOF
d3890 1
a3890 1
echo "$as_me:3225: checking whether pclose must be declared" >&5
d3902 1
a3902 1
#line 3237 "configure"
d3924 6
d3941 1
a3941 1
if { (eval echo "$as_me:3270: \"$ac_compile\"") >&5
d3944 1
a3944 1
  echo "$as_me:3273: \$? = $ac_status" >&5
d3947 1
a3947 1
  { (eval echo "$as_me:3276: \"$ac_try\"") >&5
d3950 1
a3950 1
  echo "$as_me:3279: \$? = $ac_status" >&5
d3961 1
a3961 1
echo "$as_me:3290: result: $groff_cv_decl_needed_pclose" >&5
d3965 1
a3965 1
cat >>confdefs.h <<\EOF
d3967 1
a3967 1
EOF
d3976 1
a3976 1
echo "$as_me:3305: checking whether putenv must be declared" >&5
d3988 1
a3988 1
#line 3317 "configure"
d4010 6
d4027 1
a4027 1
if { (eval echo "$as_me:3350: \"$ac_compile\"") >&5
d4030 1
a4030 1
  echo "$as_me:3353: \$? = $ac_status" >&5
d4033 1
a4033 1
  { (eval echo "$as_me:3356: \"$ac_try\"") >&5
d4036 1
a4036 1
  echo "$as_me:3359: \$? = $ac_status" >&5
d4047 1
a4047 1
echo "$as_me:3370: result: $groff_cv_decl_needed_putenv" >&5
d4051 1
a4051 1
cat >>confdefs.h <<\EOF
d4053 1
a4053 1
EOF
d4062 1
a4062 1
echo "$as_me:3385: checking whether strcasecmp must be declared" >&5
d4074 1
a4074 1
#line 3397 "configure"
d4096 6
d4113 1
a4113 1
if { (eval echo "$as_me:3430: \"$ac_compile\"") >&5
d4116 1
a4116 1
  echo "$as_me:3433: \$? = $ac_status" >&5
d4119 1
a4119 1
  { (eval echo "$as_me:3436: \"$ac_try\"") >&5
d4122 1
a4122 1
  echo "$as_me:3439: \$? = $ac_status" >&5
d4133 1
a4133 1
echo "$as_me:3450: result: $groff_cv_decl_needed_strcasecmp" >&5
d4137 1
a4137 1
cat >>confdefs.h <<\EOF
d4139 1
a4139 1
EOF
d4148 1
a4148 1
echo "$as_me:3465: checking whether strncasecmp must be declared" >&5
d4160 1
a4160 1
#line 3477 "configure"
d4182 6
d4199 1
a4199 1
if { (eval echo "$as_me:3510: \"$ac_compile\"") >&5
d4202 1
a4202 1
  echo "$as_me:3513: \$? = $ac_status" >&5
d4205 1
a4205 1
  { (eval echo "$as_me:3516: \"$ac_try\"") >&5
d4208 1
a4208 1
  echo "$as_me:3519: \$? = $ac_status" >&5
d4219 1
a4219 1
echo "$as_me:3530: result: $groff_cv_decl_needed_strncasecmp" >&5
d4223 1
a4223 1
cat >>confdefs.h <<\EOF
d4225 1
a4225 1
EOF
d4240 1
a4240 1
echo "$as_me:3551: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d4243 1
a4243 1
#line 3554 "configure"
d4247 6
d4262 1
a4262 1
if { (eval echo "$as_me:3567: \"$ac_compile\"") >&5
d4265 1
a4265 1
  echo "$as_me:3570: \$? = $ac_status" >&5
d4268 1
a4268 1
  { (eval echo "$as_me:3573: \"$ac_try\"") >&5
d4271 1
a4271 1
  echo "$as_me:3576: \$? = $ac_status" >&5
d4273 1
a4273 1
  echo "$as_me:3578: result: yes" >&5
d4275 1
a4275 1
cat >>confdefs.h <<\EOF
d4277 1
a4277 1
EOF
d4282 1
a4282 1
echo "$as_me:3587: result: no" >&5
d4292 1
a4292 1
echo "$as_me:3597: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d4295 1
a4295 1
#line 3600 "configure"
d4299 6
d4314 1
a4314 1
if { (eval echo "$as_me:3613: \"$ac_compile\"") >&5
d4317 1
a4317 1
  echo "$as_me:3616: \$? = $ac_status" >&5
d4320 1
a4320 1
  { (eval echo "$as_me:3619: \"$ac_try\"") >&5
d4323 1
a4323 1
  echo "$as_me:3622: \$? = $ac_status" >&5
d4325 1
a4325 1
  echo "$as_me:3624: result: yes" >&5
d4327 1
a4327 1
cat >>confdefs.h <<\EOF
d4329 1
a4329 1
EOF
d4334 1
a4334 1
echo "$as_me:3633: result: no" >&5
d4344 1
a4344 1
echo "$as_me:3643: checking C++ <osfcn.h>" >&5
d4347 1
a4347 1
#line 3646 "configure"
d4350 6
d4365 1
a4365 1
if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
d4368 1
a4368 1
  echo "$as_me:3661: \$? = $ac_status" >&5
d4371 1
a4371 1
  { (eval echo "$as_me:3664: \"$ac_try\"") >&5
d4374 1
a4374 1
  echo "$as_me:3667: \$? = $ac_status" >&5
d4376 1
a4376 1
  echo "$as_me:3669: result: yes" >&5
d4378 1
a4378 1
cat >>confdefs.h <<\EOF
d4380 1
a4380 1
EOF
d4385 1
a4385 1
echo "$as_me:3678: result: no" >&5
d4401 1
a4401 1
echo "$as_me:3694: checking C++ <limits.h>" >&5
d4404 1
a4404 1
#line 3697 "configure"
d4407 6
d4422 1
a4422 1
if { (eval echo "$as_me:3709: \"$ac_compile\"") >&5
d4425 1
a4425 1
  echo "$as_me:3712: \$? = $ac_status" >&5
d4428 1
a4428 1
  { (eval echo "$as_me:3715: \"$ac_try\"") >&5
d4431 1
a4431 1
  echo "$as_me:3718: \$? = $ac_status" >&5
d4433 1
a4433 1
  echo "$as_me:3720: result: yes" >&5
d4435 1
a4435 1
cat >>confdefs.h <<\EOF
d4437 1
a4437 1
EOF
d4442 1
a4442 1
echo "$as_me:3729: result: no" >&5
d4458 1
a4458 1
echo "$as_me:3745: checking for inttypes.h" >&5
d4461 1
a4461 1
#line 3748 "configure"
d4465 6
d4480 1
a4480 1
if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5
d4483 1
a4483 1
  echo "$as_me:3764: \$? = $ac_status" >&5
d4486 1
a4486 1
  { (eval echo "$as_me:3767: \"$ac_try\"") >&5
d4489 1
a4489 1
  echo "$as_me:3770: \$? = $ac_status" >&5
d4498 1
a4498 1
echo "$as_me:3779: result: $groff_cv_header_inttypes_h" >&5
d4512 1
a4512 1
echo "$as_me:3793: checking for unsigned long long" >&5
d4515 1
a4515 1
#line 3796 "configure"
d4518 6
d4534 1
a4534 1
if { (eval echo "$as_me:3809: \"$ac_link\"") >&5
d4537 1
a4537 1
  echo "$as_me:3812: \$? = $ac_status" >&5
d4540 1
a4540 1
  { (eval echo "$as_me:3815: \"$ac_try\"") >&5
d4543 1
a4543 1
  echo "$as_me:3818: \$? = $ac_status" >&5
d4552 1
a4552 1
echo "$as_me:3827: result: $groff_cv_type_unsigned_long_long" >&5
d4560 1
d4567 1
a4567 1
cat >>confdefs.h <<EOF
d4569 1
a4569 1
EOF
d4578 1
a4578 1
echo "$as_me:3852: checking for declaration of time_t" >&5
d4581 1
a4581 1
#line 3855 "configure"
d4584 6
d4599 1
a4599 1
if { (eval echo "$as_me:3867: \"$ac_compile\"") >&5
d4602 1
a4602 1
  echo "$as_me:3870: \$? = $ac_status" >&5
d4605 1
a4605 1
  { (eval echo "$as_me:3873: \"$ac_try\"") >&5
d4608 1
a4608 1
  echo "$as_me:3876: \$? = $ac_status" >&5
d4610 1
a4610 1
  echo "$as_me:3878: result: yes" >&5
d4615 1
a4615 1
echo "$as_me:3883: result: no" >&5
d4617 1
a4617 1
cat >>confdefs.h <<\EOF
d4619 1
a4619 1
EOF
d4629 1
a4629 1
echo "$as_me:3897: checking return type of signal handlers" >&5
d4635 1
a4635 1
#line 3903 "configure"
d4648 6
d4663 1
a4663 1
if { (eval echo "$as_me:3925: \"$ac_compile\"") >&5
d4666 1
a4666 1
  echo "$as_me:3928: \$? = $ac_status" >&5
d4669 1
a4669 1
  { (eval echo "$as_me:3931: \"$ac_try\"") >&5
d4672 1
a4672 1
  echo "$as_me:3934: \$? = $ac_status" >&5
d4682 1
a4682 1
echo "$as_me:3944: result: $ac_cv_type_signal" >&5
d4685 1
a4685 1
cat >>confdefs.h <<EOF
d4687 2
a4688 1
EOF
d4690 1
a4690 1
echo "$as_me:3951: checking struct exception" >&5
d4693 1
a4693 1
#line 3954 "configure"
d4696 6
d4711 1
a4711 1
if { (eval echo "$as_me:3966: \"$ac_compile\"") >&5
d4714 1
a4714 1
  echo "$as_me:3969: \$? = $ac_status" >&5
d4717 1
a4717 1
  { (eval echo "$as_me:3972: \"$ac_try\"") >&5
d4720 1
a4720 1
  echo "$as_me:3975: \$? = $ac_status" >&5
d4722 1
a4722 1
  echo "$as_me:3977: result: yes" >&5
d4724 1
a4724 1
cat >>confdefs.h <<\EOF
d4726 1
a4726 1
EOF
d4731 1
a4731 1
echo "$as_me:3986: result: no" >&5
d4735 1
a4735 1
echo "$as_me:3990: checking for sin in -lm" >&5
d4743 1
a4743 1
#line 3998 "configure"
d4753 6
d4768 1
a4768 1
if { (eval echo "$as_me:4017: \"$ac_link\"") >&5
d4771 1
a4771 1
  echo "$as_me:4020: \$? = $ac_status" >&5
d4774 1
a4774 1
  { (eval echo "$as_me:4023: \"$ac_try\"") >&5
d4777 1
a4777 1
  echo "$as_me:4026: \$? = $ac_status" >&5
d4788 1
a4788 1
echo "$as_me:4037: result: $ac_cv_lib_m_sin" >&5
a4793 135
echo "$as_me:4043: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4049 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

_ACEOF
if { (eval echo "$as_me:4057: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *\+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:4063: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_cv_header_stdc=yes
else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_stdc=no
fi
rm -f conftest.err conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 4085 "configure"
#include "confdefs.h"
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
#line 4103 "configure"
#include "confdefs.h"
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4124 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      exit(2);
  exit (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:4150: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:4153: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:4155: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:4158: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
echo "$as_me:4171: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF
a4794 1
fi
a4795 1
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
d4797 1
a4797 2
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                  inttypes.h stdint.h unistd.h
d4800 2
a4801 1
echo "$as_me:4187: checking for $ac_header" >&5
d4805 3
d4809 5
a4813 2
  cat >conftest.$ac_ext <<_ACEOF
#line 4193 "configure"
d4819 1
a4819 1
if { (eval echo "$as_me:4199: \"$ac_compile\"") >&5
d4822 1
a4822 1
  echo "$as_me:4202: \$? = $ac_status" >&5
d4825 1
a4825 1
  { (eval echo "$as_me:4205: \"$ac_try\"") >&5
d4828 1
a4828 1
  echo "$as_me:4208: \$? = $ac_status" >&5
d4830 1
a4830 1
  eval "$as_ac_Header=yes"
d4834 1
a4834 1
eval "$as_ac_Header=no"
d4837 2
a4838 7
fi
echo "$as_me:4218: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF
d4840 5
a4844 13
fi
done

for ac_header in stdlib.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:4231: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4237 "configure"
d4848 1
a4848 1
if { (eval echo "$as_me:4241: \"$ac_cpp conftest.$ac_ext\"") >&5
d4854 1
a4854 1
  echo "$as_me:4247: \$? = $ac_status" >&5
d4865 1
a4865 1
  eval "$as_ac_Header=yes"
d4869 1
a4869 1
  eval "$as_ac_Header=no"
d4872 24
d4897 1
a4897 1
echo "$as_me:4266: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4899 2
d4902 1
a4902 1
  cat >>confdefs.h <<EOF
d4904 1
a4904 1
EOF
d4907 1
d4910 1
d4914 1
a4914 1
echo "$as_me:4279: checking for $ac_func" >&5
d4920 1
a4920 1
#line 4285 "configure"
d4934 6
d4957 1
a4957 1
if { (eval echo "$as_me:4316: \"$ac_link\"") >&5
d4960 1
a4960 1
  echo "$as_me:4319: \$? = $ac_status" >&5
d4963 1
a4963 1
  { (eval echo "$as_me:4322: \"$ac_try\"") >&5
d4966 1
a4966 1
  echo "$as_me:4325: \$? = $ac_status" >&5
d4976 1
a4976 1
echo "$as_me:4335: result: `eval echo '${'$as_ac_var'}'`" >&5
d4979 1
a4979 1
  cat >>confdefs.h <<EOF
d4981 1
a4981 1
EOF
d4986 1
a4986 1
echo "$as_me:4345: checking for working mmap" >&5
d4995 1
a4995 1
#line 4354 "configure"
d4998 3
d5016 1
a5016 1
   propogated back to all the places they're supposed to be.
d5125 1
a5125 1
if { (eval echo "$as_me:4481: \"$ac_link\"") >&5
d5128 1
a5128 1
  echo "$as_me:4484: \$? = $ac_status" >&5
d5130 1
a5130 1
  { (eval echo "$as_me:4486: \"$ac_try\"") >&5
d5133 1
a5133 1
  echo "$as_me:4489: \$? = $ac_status" >&5
d5140 1
d5146 1
a5146 1
echo "$as_me:4501: result: $ac_cv_func_mmap_fixed_mapped" >&5
d5150 1
a5150 1
cat >>confdefs.h <<\EOF
d5152 1
a5152 1
EOF
d5160 5
d5168 1
a5168 1
echo "$as_me:4518: checking for $ac_func" >&5
d5174 1
a5174 1
#line 4524 "configure"
d5188 6
d5211 1
a5211 1
if { (eval echo "$as_me:4555: \"$ac_link\"") >&5
d5214 1
a5214 1
  echo "$as_me:4558: \$? = $ac_status" >&5
d5217 1
a5217 1
  { (eval echo "$as_me:4561: \"$ac_try\"") >&5
d5220 1
a5220 1
  echo "$as_me:4564: \$? = $ac_status" >&5
d5230 1
a5230 1
echo "$as_me:4574: result: `eval echo '${'$as_ac_var'}'`" >&5
d5233 1
a5233 1
  cat >>confdefs.h <<EOF
d5235 1
a5235 1
EOF
d5242 1
d5245 4
d5252 1
a5252 1
echo "$as_me:4591: checking for $ac_func" >&5
d5258 1
a5258 1
#line 4597 "configure"
d5272 6
d5295 1
a5295 1
if { (eval echo "$as_me:4628: \"$ac_link\"") >&5
d5298 1
a5298 1
  echo "$as_me:4631: \$? = $ac_status" >&5
d5301 1
a5301 1
  { (eval echo "$as_me:4634: \"$ac_try\"") >&5
d5304 1
a5304 1
  echo "$as_me:4637: \$? = $ac_status" >&5
d5314 1
a5314 1
echo "$as_me:4647: result: `eval echo '${'$as_ac_var'}'`" >&5
d5317 1
a5317 1
  cat >>confdefs.h <<EOF
d5319 1
a5319 1
EOF
d5324 1
a5324 1
echo "$as_me:4657: checking for mkstemp" >&5
d5332 1
d5334 1
a5334 1
#line 4666 "configure"
d5339 6
d5354 1
a5354 1
if { (eval echo "$as_me:4680: \"$ac_link\"") >&5
d5357 1
a5357 1
  echo "$as_me:4683: \$? = $ac_status" >&5
d5360 1
a5360 1
  { (eval echo "$as_me:4686: \"$ac_try\"") >&5
d5363 1
a5363 1
  echo "$as_me:4689: \$? = $ac_status" >&5
d5365 1
a5365 1
  echo "$as_me:4691: result: yes" >&5
d5367 1
a5367 1
cat >>confdefs.h <<\EOF
d5369 1
a5369 1
EOF
d5374 1
a5374 1
echo "$as_me:4700: result: no" >&5
d5384 1
a5384 1
echo "$as_me:4710: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d5390 1
a5390 1
#line 4716 "configure"
d5399 6
d5414 1
a5414 1
if { (eval echo "$as_me:4734: \"$ac_compile\"") >&5
d5417 1
a5417 1
  echo "$as_me:4737: \$? = $ac_status" >&5
d5420 1
a5420 1
  { (eval echo "$as_me:4740: \"$ac_try\"") >&5
d5423 1
a5423 1
  echo "$as_me:4743: \$? = $ac_status" >&5
d5433 1
a5433 1
echo "$as_me:4753: result: $ac_cv_decl_sys_siglist" >&5
d5437 1
a5437 1
cat >>confdefs.h <<\EOF
d5439 1
a5439 1
EOF
d5449 1
a5449 1
echo "$as_me:4769: checking whether ANSI array delete syntax supported" >&5
d5452 1
a5452 1
#line 4772 "configure"
d5455 6
d5470 1
a5470 1
if { (eval echo "$as_me:4784: \"$ac_compile\"") >&5
d5473 1
a5473 1
  echo "$as_me:4787: \$? = $ac_status" >&5
d5476 1
a5476 1
  { (eval echo "$as_me:4790: \"$ac_try\"") >&5
d5479 1
a5479 1
  echo "$as_me:4793: \$? = $ac_status" >&5
d5481 1
a5481 1
  echo "$as_me:4795: result: yes" >&5
d5486 1
a5486 1
echo "$as_me:4800: result: no" >&5
d5488 1
a5488 1
cat >>confdefs.h <<\EOF
d5490 1
a5490 1
EOF
d5506 1
a5506 1
echo "$as_me:4820: checking traditional preprocessor" >&5
d5509 1
a5509 1
#line 4823 "configure"
d5512 6
d5527 1
a5527 1
if { (eval echo "$as_me:4835: \"$ac_compile\"") >&5
d5530 1
a5530 1
  echo "$as_me:4838: \$? = $ac_status" >&5
d5533 1
a5533 1
  { (eval echo "$as_me:4841: \"$ac_try\"") >&5
d5536 1
a5536 1
  echo "$as_me:4844: \$? = $ac_status" >&5
d5538 1
a5538 1
  echo "$as_me:4846: result: yes" >&5
d5540 1
a5540 1
cat >>confdefs.h <<\EOF
d5542 1
a5542 1
EOF
d5547 1
a5547 1
echo "$as_me:4855: result: no" >&5
d5557 1
a5557 1
echo "$as_me:4865: checking w_coredump" >&5
d5560 1
a5560 1
  echo "$as_me:4868: result: no" >&5
d5564 1
a5564 1
#line 4872 "configure"
d5580 1
a5580 1
if { (eval echo "$as_me:4888: \"$ac_link\"") >&5
d5583 1
a5583 1
  echo "$as_me:4891: \$? = $ac_status" >&5
d5585 1
a5585 1
  { (eval echo "$as_me:4893: \"$ac_try\"") >&5
d5588 1
a5588 1
  echo "$as_me:4896: \$? = $ac_status" >&5
d5590 1
a5590 1
  echo "$as_me:4898: result: yes" >&5
d5592 1
a5592 1
cat >>confdefs.h <<\EOF
d5594 1
a5594 1
EOF
d5600 2
a5601 1
echo "$as_me:4908: result: no" >&5
d5606 1
a5606 1
echo "$as_me:4913: checking default value for grops -b option" >&5
d5609 1
a5609 1
echo "$as_me:4916: result: $BROKEN_SPOOLER_FLAGS" >&5
d5612 1
a5612 1
echo "$as_me:4919: checking default paper size" >&5
d5660 1
a5660 1
cat >>confdefs.h <<\EOF
d5662 1
a5662 1
EOF
d5665 1
a5665 1
echo "$as_me:4972: result: $PAGE" >&5
d5668 1
a5668 1
echo "$as_me:4975: checking for existing troff installation" >&5
d5671 1
a5671 1
	echo "$as_me:4978: result: yes" >&5
d5675 1
a5675 1
	echo "$as_me:4982: result: no" >&5
d5680 1
a5680 1
echo "$as_me:4987: checking for prefix of system macro packages" >&5
d5697 1
a5697 1
echo "$as_me:5004: result: $sys_tmac_prefix" >&5
d5701 1
a5701 1
echo "$as_me:5008: checking which system macro packages should be made available" >&5
d5737 1
a5737 1
echo "$as_me:5044: result: $tmac_wrap" >&5
d5744 1
a5744 1
echo "$as_me:5051: checking for $ac_word" >&5
d5752 12
a5763 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_pnmcut="found"
echo "$as_me:5066: found $ac_dir/$ac_word" >&5
break
d5771 1
a5771 1
  echo "$as_me:5075: result: $pnmcut" >&5
d5774 1
a5774 1
  echo "$as_me:5078: result: no" >&5
d5780 1
a5780 1
echo "$as_me:5084: checking for $ac_word" >&5
d5788 12
a5799 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_pnmcrop="found"
echo "$as_me:5099: found $ac_dir/$ac_word" >&5
break
d5807 1
a5807 1
  echo "$as_me:5108: result: $pnmcrop" >&5
d5810 1
a5810 1
  echo "$as_me:5111: result: no" >&5
d5816 1
a5816 1
echo "$as_me:5117: checking for $ac_word" >&5
d5824 12
a5835 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_pnmtopng="found"
echo "$as_me:5132: found $ac_dir/$ac_word" >&5
break
d5843 1
a5843 1
  echo "$as_me:5141: result: $pnmtopng" >&5
d5846 1
a5846 1
  echo "$as_me:5144: result: no" >&5
d5852 1
a5852 1
echo "$as_me:5150: checking for $ac_word" >&5
d5860 12
a5871 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_gs="found"
echo "$as_me:5165: found $ac_dir/$ac_word" >&5
break
d5879 1
a5879 1
  echo "$as_me:5174: result: $gs" >&5
d5882 1
a5882 1
  echo "$as_me:5177: result: no" >&5
d5888 1
a5888 1
echo "$as_me:5183: checking for $ac_word" >&5
d5896 12
a5907 9
  ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
  IFS=$ac_save_IFS
  test -z "$ac_dir" && ac_dir=.
  $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_psselect="found"
echo "$as_me:5198: found $ac_dir/$ac_word" >&5
break
d5915 1
a5915 1
  echo "$as_me:5207: result: $psselect" >&5
d5918 1
a5918 1
  echo "$as_me:5210: result: no" >&5
d5926 1
a5926 1
	{ echo "$as_me:5218: WARNING:
d5940 1
d6021 1
d6025 1
a6025 1
{ echo "$as_me:5315: creating $CONFIG_STATUS" >&5
d6029 1
a6029 1
# Generated automatically by configure.
a6035 2
ac_cs_invocation="\$0 \$@@"

d6039 5
d6052 34
d6087 126
a6212 1
as_me=`echo "$0" |sed 's,.*[\\/],,'`
d6240 5
a6244 6
# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi
a6245 9
# NLS nuisances.
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
d6254 1
a6254 1
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
d6258 24
d6301 1
a6301 1
cat >>$CONFIG_STATUS <<\EOF
d6325 1
a6325 1
EOF
d6327 1
a6327 1
cat >>$CONFIG_STATUS <<EOF
d6330 1
a6330 1
configured by $0, generated by GNU Autoconf 2.52,
d6339 1
a6339 1
EOF
d6341 1
a6341 1
cat >>$CONFIG_STATUS <<\EOF
d6363 2
a6364 2
EOF
cat >>$CONFIG_STATUS <<EOF
d6368 2
a6369 2
EOF
cat >>$CONFIG_STATUS <<\EOF
d6374 1
a6374 1
    { { echo "$as_me:5488: error: ambiguous option: $1
d6393 1
a6393 1
  -*) { { echo "$as_me:5507: error: unrecognized option: $1
d6405 2
a6406 2
exec 5>>config.log
cat >&5 << _ACEOF
a6407 3
## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##
a6408 7
This file was extended by $as_me 2.52, executed with
  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  > $ac_cs_invocation
on `(hostname || uname -n) 2>/dev/null | sed 1q`
a6409 2
_ACEOF
EOF
d6411 1
a6411 1
cat >>$CONFIG_STATUS <<\EOF
d6421 1
a6421 1
  *) { { echo "$as_me:5547: error: invalid argument: $ac_config_target" >&5
d6458 1
a6458 1
EOF
d6460 1
a6460 1
cat >>$CONFIG_STATUS <<EOF
d6473 6
a6493 5
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
d6497 1
a6500 2
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@DEFS@@,$DEFS,;t t
d6502 1
a6502 1
s,@@top_builddir@@,$top_builddir,;t t
d6547 1
a6547 1
EOF
d6549 1
a6549 1
  cat >>$CONFIG_STATUS <<\EOF
d6588 2
a6589 2
EOF
cat >>$CONFIG_STATUS <<\EOF
d6603 2
a6604 1
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d6615 1
a6615 2
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    { case "$ac_dir" in
d6626 5
a6630 1
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
d6635 9
a6643 6
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
  else
    ac_dir_suffix= ac_dots=
  fi
d6645 11
a6655 10
  case $srcdir in
  .)  ac_srcdir=.
      if test -z "$ac_dots"; then
         ac_top_srcdir=.
      else
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
      fi ;;
  [\\/]* | ?:[\\/]* )
      ac_srcdir=$srcdir$ac_dir_suffix;
      ac_top_srcdir=$srcdir ;;
d6657 10
a6666 3
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_dots$srcdir ;;
  esac
d6670 1
a6670 1
  *) ac_INSTALL=$ac_dots$INSTALL ;;
d6674 1
a6674 1
    { echo "$as_me:5785: creating $ac_file" >&5
d6680 8
a6687 3
  #    /* config.h.  Generated automatically by config.status.  */
  configure_input="Generated automatically from `echo $ac_file_in |
                                                 sed 's,.*/,,'` by configure."
d6697 1
a6697 1
         test -f "$f" || { { echo "$as_me:5803: error: cannot find input file: $f" >&5
d6710 1
a6710 1
           { { echo "$as_me:5816: error: cannot find input file: $f" >&5
d6716 2
a6717 2
EOF
cat >>$CONFIG_STATUS <<EOF
d6720 2
a6721 2
EOF
cat >>$CONFIG_STATUS <<\EOF
d6726 1
d6728 5
d6748 2
a6749 2
EOF
cat >>$CONFIG_STATUS <<\EOF
d6781 1
a6781 1
  test x"$ac_file" != x- && { echo "$as_me:5881: creating $ac_file" >&5
d6792 1
a6792 1
         test -f "$f" || { { echo "$as_me:5892: error: cannot find input file: $f" >&5
d6805 1
a6805 1
           { { echo "$as_me:5905: error: cannot find input file: $f" >&5
d6814 1
a6814 1
EOF
d6830 1
a6830 1
cat >confdef2sed.sed <<\EOF
d6835 1
a6835 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
d6839 1
a6839 1
EOF
d6850 1
a6850 1
cat >>conftest.undefs <<\EOF
d6852 1
a6852 1
EOF
d6909 1
a6909 1
cat >>$CONFIG_STATUS <<\EOF
d6912 1
a6912 1
  #    /* config.h.  Generated automatically by config.status.  */
d6914 1
a6914 1
    echo "/* Generated automatically by configure.  */" >$tmp/config.h
d6916 1
a6916 1
    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
d6922 1
a6922 1
      { echo "$as_me:6022: $ac_file is unchanged" >&5
d6925 2
a6926 1
      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d6937 1
a6937 2
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        { case "$ac_dir" in
d6948 5
a6952 1
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
a6956 1
      fi
d6965 1
a6965 1
EOF
d6967 1
a6967 1
cat >>$CONFIG_STATUS <<\EOF
d6970 1
a6970 1
EOF
d6974 1
d6993 1
a6993 1
{ echo "$as_me:6089:
@


1.35
log
@
* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.

* aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
* configure: Regenerated.

* src/roff/troff/symbol.cc (table_sizes): Add more values.

* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
@
text
@d5047 185
d5315 1
a5315 1
{ echo "$as_me:5130: creating $CONFIG_STATUS" >&5
d5488 1
a5488 1
    { { echo "$as_me:5303: error: ambiguous option: $1
d5507 1
a5507 1
  -*) { { echo "$as_me:5322: error: unrecognized option: $1
d5547 1
a5547 1
  *) { { echo "$as_me:5362: error: invalid argument: $ac_config_target" >&5
d5664 7
d5785 1
a5785 1
    { echo "$as_me:5593: creating $ac_file" >&5
d5803 1
a5803 1
         test -f "$f" || { { echo "$as_me:5611: error: cannot find input file: $f" >&5
d5816 1
a5816 1
           { { echo "$as_me:5624: error: cannot find input file: $f" >&5
d5881 1
a5881 1
  test x"$ac_file" != x- && { echo "$as_me:5689: creating $ac_file" >&5
d5892 1
a5892 1
         test -f "$f" || { { echo "$as_me:5700: error: cannot find input file: $f" >&5
d5905 1
a5905 1
           { { echo "$as_me:5713: error: cannot find input file: $f" >&5
d6022 1
a6022 1
      { echo "$as_me:5830: $ac_file is unchanged" >&5
d6089 1
a6089 1
{ echo "$as_me:5897:
@


1.34
log
@
* aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
is not initialized at the time we need it in case `--prefix' hasn't
been set.  Check for `ac_default_prefix' also.
Test for `papersize' keyword also and generalize allowed whitespace.
* configure: Regenerated.

* font/devps/Makefile.sub (DESC): Use `papersize' instead of
`paperlength'.

* src/libs/libgroff/Makefile.sub (version, revision): Replaced
with...
(src_version, src_revision): New variables to avoid overwriting
from parent make process.
(version.cc): Updated.
* contrib/mom/Makefile.sub (groff_bin_dirs): Fix typo (forgotten
`src' element).

* src/preproc/html/pre-html.cc: Include paper.h and font.h.
(linebuf, linebufsize): New global variables.
(sys_fatal): Use `fatal' to abort properly.
(get_line): New function.
(get_resolution): Use it.
Improve error messages.
(get_papersize): Check `papersize' also.
Use `get_line'.
Improve error messages.
@
text
@d4669 1
d4680 1
a4680 1
if { (eval echo "$as_me:4679: \"$ac_link\"") >&5
d4683 1
a4683 1
  echo "$as_me:4682: \$? = $ac_status" >&5
d4686 1
a4686 1
  { (eval echo "$as_me:4685: \"$ac_try\"") >&5
d4689 1
a4689 1
  echo "$as_me:4688: \$? = $ac_status" >&5
d4691 1
a4691 1
  echo "$as_me:4690: result: yes" >&5
d4700 1
a4700 1
echo "$as_me:4699: result: no" >&5
d4710 1
a4710 1
echo "$as_me:4709: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4716 1
a4716 1
#line 4715 "configure"
d4734 1
a4734 1
if { (eval echo "$as_me:4733: \"$ac_compile\"") >&5
d4737 1
a4737 1
  echo "$as_me:4736: \$? = $ac_status" >&5
d4740 1
a4740 1
  { (eval echo "$as_me:4739: \"$ac_try\"") >&5
d4743 1
a4743 1
  echo "$as_me:4742: \$? = $ac_status" >&5
d4753 1
a4753 1
echo "$as_me:4752: result: $ac_cv_decl_sys_siglist" >&5
d4769 1
a4769 1
echo "$as_me:4768: checking whether ANSI array delete syntax supported" >&5
d4772 1
a4772 1
#line 4771 "configure"
d4784 1
a4784 1
if { (eval echo "$as_me:4783: \"$ac_compile\"") >&5
d4787 1
a4787 1
  echo "$as_me:4786: \$? = $ac_status" >&5
d4790 1
a4790 1
  { (eval echo "$as_me:4789: \"$ac_try\"") >&5
d4793 1
a4793 1
  echo "$as_me:4792: \$? = $ac_status" >&5
d4795 1
a4795 1
  echo "$as_me:4794: result: yes" >&5
d4800 1
a4800 1
echo "$as_me:4799: result: no" >&5
d4820 1
a4820 1
echo "$as_me:4819: checking traditional preprocessor" >&5
d4823 1
a4823 1
#line 4822 "configure"
d4835 1
a4835 1
if { (eval echo "$as_me:4834: \"$ac_compile\"") >&5
d4838 1
a4838 1
  echo "$as_me:4837: \$? = $ac_status" >&5
d4841 1
a4841 1
  { (eval echo "$as_me:4840: \"$ac_try\"") >&5
d4844 1
a4844 1
  echo "$as_me:4843: \$? = $ac_status" >&5
d4846 1
a4846 1
  echo "$as_me:4845: result: yes" >&5
d4855 1
a4855 1
echo "$as_me:4854: result: no" >&5
d4865 1
a4865 1
echo "$as_me:4864: checking w_coredump" >&5
d4868 1
a4868 1
  echo "$as_me:4867: result: no" >&5
d4872 1
a4872 1
#line 4871 "configure"
d4888 1
a4888 1
if { (eval echo "$as_me:4887: \"$ac_link\"") >&5
d4891 1
a4891 1
  echo "$as_me:4890: \$? = $ac_status" >&5
d4893 1
a4893 1
  { (eval echo "$as_me:4892: \"$ac_try\"") >&5
d4896 1
a4896 1
  echo "$as_me:4895: \$? = $ac_status" >&5
d4898 1
a4898 1
  echo "$as_me:4897: result: yes" >&5
d4908 1
a4908 1
echo "$as_me:4907: result: no" >&5
d4913 1
a4913 1
echo "$as_me:4912: checking default value for grops -b option" >&5
d4916 1
a4916 1
echo "$as_me:4915: result: $BROKEN_SPOOLER_FLAGS" >&5
d4919 1
a4919 1
echo "$as_me:4918: checking default paper size" >&5
d4972 1
a4972 1
echo "$as_me:4971: result: $PAGE" >&5
d4975 1
a4975 1
echo "$as_me:4974: checking for existing troff installation" >&5
d4978 1
a4978 1
	echo "$as_me:4977: result: yes" >&5
d4982 1
a4982 1
	echo "$as_me:4981: result: no" >&5
d4987 1
a4987 1
echo "$as_me:4986: checking for prefix of system macro packages" >&5
d5004 1
a5004 1
echo "$as_me:5003: result: $sys_tmac_prefix" >&5
d5008 1
a5008 1
echo "$as_me:5007: checking which system macro packages should be made available" >&5
d5044 1
a5044 1
echo "$as_me:5043: result: $tmac_wrap" >&5
d5130 1
a5130 1
{ echo "$as_me:5129: creating $CONFIG_STATUS" >&5
d5303 1
a5303 1
    { { echo "$as_me:5302: error: ambiguous option: $1
d5322 1
a5322 1
  -*) { { echo "$as_me:5321: error: unrecognized option: $1
d5362 1
a5362 1
  *) { { echo "$as_me:5361: error: invalid argument: $ac_config_target" >&5
d5593 1
a5593 1
    { echo "$as_me:5592: creating $ac_file" >&5
d5611 1
a5611 1
         test -f "$f" || { { echo "$as_me:5610: error: cannot find input file: $f" >&5
d5624 1
a5624 1
           { { echo "$as_me:5623: error: cannot find input file: $f" >&5
d5689 1
a5689 1
  test x"$ac_file" != x- && { echo "$as_me:5688: creating $ac_file" >&5
d5700 1
a5700 1
         test -f "$f" || { { echo "$as_me:5699: error: cannot find input file: $f" >&5
d5713 1
a5713 1
           { { echo "$as_me:5712: error: cannot find input file: $f" >&5
d5830 1
a5830 1
      { echo "$as_me:5829: $ac_file is unchanged" >&5
d5897 1
a5897 1
{ echo "$as_me:5896:
@


1.33
log
@
Including the doc subdir into groff's Makefile system.

* aclocal.m4 (GROFF_INSTALL_INFO): New function.
* configure.ac: Use it.
Generate `doc/Makefile'.
* configure: Regenerated.

* Makefile.in (infodir, INSTALL_INFO): New variables.
(MDEFINES, uninstall_dirs): Updated.
(OTHERDIRS): Add `doc'.
* Makefile.comm (CLEANDIRADD): New variable.
(mostlyclean): Use it.

* doc/Makefile.sub, doc/Makefile.in: New files.
* doc/Makefile: Removed.

* NEWS, INSTALL: Updated.

* doc/homepage.ms: Renamed to ...
* doc/webpage.ms: This.
Use `.NHR'.
* contrib/mom/Makefile.sub (momdocdir): Removed.
(HTMLDOCFILES): Prepend `momdoc/'.
(EXTRAEXAMPLEFILES): Removed.  Added entries to...
(EXAMPLEFILES): This.
(.SUFFIXES, .mom.ps): New.
(prepare_make_examples): Updated.
(examples/*.ps): Removed; .mom.ps will handle this.
(install_data): Updated.
@
text
@d4920 2
d4924 4
a4927 4
	if test -r $prefix/share/groff/font/devps/DESC; then
		descfile=$prefix/share/groff/font/devps/DESC
	elif test -r $prefix/lib/groff/font/devps/DESC; then
		descfile=$prefix/lib/groff/font/devps/DESC
d4929 1
a4929 1
		for f in $prefix/share/groff/*/font/devps/DESC; do
d4936 8
a4943 3
	if test -n "$descfile" \
	  && grep "^paperlength 841890" $descfile >/dev/null 2>&1; then
		PAGE=A4
d4971 1
a4971 1
echo "$as_me:4964: result: $PAGE" >&5
d4974 1
a4974 1
echo "$as_me:4967: checking for existing troff installation" >&5
d4977 1
a4977 1
	echo "$as_me:4970: result: yes" >&5
d4981 1
a4981 1
	echo "$as_me:4974: result: no" >&5
d4986 1
a4986 1
echo "$as_me:4979: checking for prefix of system macro packages" >&5
d5003 1
a5003 1
echo "$as_me:4996: result: $sys_tmac_prefix" >&5
d5007 1
a5007 1
echo "$as_me:5000: checking which system macro packages should be made available" >&5
d5043 1
a5043 1
echo "$as_me:5036: result: $tmac_wrap" >&5
d5129 1
a5129 1
{ echo "$as_me:5122: creating $CONFIG_STATUS" >&5
d5302 1
a5302 1
    { { echo "$as_me:5295: error: ambiguous option: $1
d5321 1
a5321 1
  -*) { { echo "$as_me:5314: error: unrecognized option: $1
d5361 1
a5361 1
  *) { { echo "$as_me:5354: error: invalid argument: $ac_config_target" >&5
d5592 1
a5592 1
    { echo "$as_me:5585: creating $ac_file" >&5
d5610 1
a5610 1
         test -f "$f" || { { echo "$as_me:5603: error: cannot find input file: $f" >&5
d5623 1
a5623 1
           { { echo "$as_me:5616: error: cannot find input file: $f" >&5
d5688 1
a5688 1
  test x"$ac_file" != x- && { echo "$as_me:5681: creating $ac_file" >&5
d5699 1
a5699 1
         test -f "$f" || { { echo "$as_me:5692: error: cannot find input file: $f" >&5
d5712 1
a5712 1
           { { echo "$as_me:5705: error: cannot find input file: $f" >&5
d5829 1
a5829 1
      { echo "$as_me:5822: $ac_file is unchanged" >&5
d5896 1
a5896 1
{ echo "$as_me:5889:
@


1.32
log
@
Add color support to grodvi (for drawing colors are currently
translated to gray values).

* src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
(dvi_printer): Add `cur_color' member.
(dvi_printer::set_color): New function.
(draw_dvi_printer): Remove `fill'.
(draw_dvi_printer::fill_next): Pass environment as parameter.
Update code for new color support translated to gray.
(dvi_printer::set_char): Updated.
(dvi_printer::begin_page, dvi_printer::end_page): Handle color
changes crossing the page border.
(dvi_printer::draw): Updated.
Remove cases `f' and `F'.
* tmac/dvi.tmac: Add color definitions.
* NEWS, src/devices/grodvi/grodvi.man: Updated.

* tmac/an-old.tmac (R): Make this a macro to emit a warning if
used incorrectly.

* aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
versions of autoconf.
* configure: Updated.

* doc/homepage.ms: Use `.blm'.
* tmac/www.tmac (www-depth): New auxiliary variable.
(www-pop-level): Don't issue HTML tag.
(ULS, ULE, LI): Use absolute indentation.

* src/devices/grops/ps.cc (ps_printer::begin_page,
ps_printer::end_page): Switch forth and back to default color while
starting a new page.
@
text
@d2478 38
d2528 1
a2528 1
echo "$as_me:2490: checking for a BSD compatible install" >&5
d2577 1
a2577 1
echo "$as_me:2539: result: $INSTALL" >&5
d2588 1
a2588 1
echo "$as_me:2550: checking whether ln -s works" >&5
d2592 1
a2592 1
  echo "$as_me:2554: result: yes" >&5
d2595 1
a2595 1
  echo "$as_me:2557: result: no, using $LN_S" >&5
d2599 1
a2599 1
echo "$as_me:2561: checking for csh hash hack" >&5
d2609 1
a2609 1
	echo "$as_me:2571: result: yes" >&5
d2612 1
a2612 1
	echo "$as_me:2574: result: no" >&5
d2622 1
a2622 1
echo "$as_me:2584: checking how to run the C preprocessor" >&5
d2643 1
a2643 1
#line 2605 "configure"
d2648 1
a2648 1
if { (eval echo "$as_me:2610: \"$ac_cpp conftest.$ac_ext\"") >&5
d2654 1
a2654 1
  echo "$as_me:2616: \$? = $ac_status" >&5
d2677 1
a2677 1
#line 2639 "configure"
d2681 1
a2681 1
if { (eval echo "$as_me:2643: \"$ac_cpp conftest.$ac_ext\"") >&5
d2687 1
a2687 1
  echo "$as_me:2649: \$? = $ac_status" >&5
d2724 1
a2724 1
echo "$as_me:2686: result: $CPP" >&5
d2734 1
a2734 1
#line 2696 "configure"
d2739 1
a2739 1
if { (eval echo "$as_me:2701: \"$ac_cpp conftest.$ac_ext\"") >&5
d2745 1
a2745 1
  echo "$as_me:2707: \$? = $ac_status" >&5
d2768 1
a2768 1
#line 2730 "configure"
d2772 1
a2772 1
if { (eval echo "$as_me:2734: \"$ac_cpp conftest.$ac_ext\"") >&5
d2778 1
a2778 1
  echo "$as_me:2740: \$? = $ac_status" >&5
d2806 1
a2806 1
  { { echo "$as_me:2768: error: C preprocessor \"$CPP\" fails sanity check" >&5
d2821 1
a2821 1
echo "$as_me:2783: checking for $ac_header" >&5
d2827 1
a2827 1
#line 2789 "configure"
d2831 1
a2831 1
if { (eval echo "$as_me:2793: \"$ac_cpp conftest.$ac_ext\"") >&5
d2837 1
a2837 1
  echo "$as_me:2799: \$? = $ac_status" >&5
d2856 1
a2856 1
echo "$as_me:2818: result: `eval echo '${'$as_ac_Header'}'`" >&5
d2866 1
a2866 1
echo "$as_me:2828: checking for ISC 3.x or 4.x" >&5
d2870 1
a2870 1
	echo "$as_me:2832: result: yes" >&5
d2878 1
a2878 1
	echo "$as_me:2840: result: no" >&5
d2881 1
a2881 1
echo "$as_me:2843: checking whether -D_POSIX_SOURCE is necessary" >&5
d2890 1
a2890 1
#line 2852 "configure"
d2903 1
a2903 1
if { (eval echo "$as_me:2865: \"$ac_compile\"") >&5
d2906 1
a2906 1
  echo "$as_me:2868: \$? = $ac_status" >&5
d2909 1
a2909 1
  { (eval echo "$as_me:2871: \"$ac_try\"") >&5
d2912 1
a2912 1
  echo "$as_me:2874: \$? = $ac_status" >&5
d2914 1
a2914 1
  echo "$as_me:2876: result: yes" >&5
d2923 1
a2923 1
echo "$as_me:2885: result: no" >&5
d2939 1
a2939 1
echo "$as_me:2901: checking for return type of srand" >&5
d2942 1
a2942 1
#line 2904 "configure"
d2955 1
a2955 1
if { (eval echo "$as_me:2917: \"$ac_compile\"") >&5
d2958 1
a2958 1
  echo "$as_me:2920: \$? = $ac_status" >&5
d2961 1
a2961 1
  { (eval echo "$as_me:2923: \"$ac_try\"") >&5
d2964 1
a2964 1
  echo "$as_me:2926: \$? = $ac_status" >&5
d2966 1
a2966 1
  echo "$as_me:2928: result: void" >&5
d2975 1
a2975 1
echo "$as_me:2937: result: int" >&5
d2985 1
a2985 1
echo "$as_me:2947: checking whether gettimeofday must be declared" >&5
d2997 1
a2997 1
#line 2959 "configure"
d3030 1
a3030 1
if { (eval echo "$as_me:2992: \"$ac_compile\"") >&5
d3033 1
a3033 1
  echo "$as_me:2995: \$? = $ac_status" >&5
d3036 1
a3036 1
  { (eval echo "$as_me:2998: \"$ac_try\"") >&5
d3039 1
a3039 1
  echo "$as_me:3001: \$? = $ac_status" >&5
d3050 1
a3050 1
echo "$as_me:3012: result: $groff_cv_decl_needed_gettimeofday" >&5
d3065 1
a3065 1
echo "$as_me:3027: checking whether hypot must be declared" >&5
d3077 1
a3077 1
#line 3039 "configure"
d3110 1
a3110 1
if { (eval echo "$as_me:3072: \"$ac_compile\"") >&5
d3113 1
a3113 1
  echo "$as_me:3075: \$? = $ac_status" >&5
d3116 1
a3116 1
  { (eval echo "$as_me:3078: \"$ac_try\"") >&5
d3119 1
a3119 1
  echo "$as_me:3081: \$? = $ac_status" >&5
d3130 1
a3130 1
echo "$as_me:3092: result: $groff_cv_decl_needed_hypot" >&5
d3145 1
a3145 1
echo "$as_me:3107: checking whether popen must be declared" >&5
d3157 1
a3157 1
#line 3119 "configure"
d3190 1
a3190 1
if { (eval echo "$as_me:3152: \"$ac_compile\"") >&5
d3193 1
a3193 1
  echo "$as_me:3155: \$? = $ac_status" >&5
d3196 1
a3196 1
  { (eval echo "$as_me:3158: \"$ac_try\"") >&5
d3199 1
a3199 1
  echo "$as_me:3161: \$? = $ac_status" >&5
d3210 1
a3210 1
echo "$as_me:3172: result: $groff_cv_decl_needed_popen" >&5
d3225 1
a3225 1
echo "$as_me:3187: checking whether pclose must be declared" >&5
d3237 1
a3237 1
#line 3199 "configure"
d3270 1
a3270 1
if { (eval echo "$as_me:3232: \"$ac_compile\"") >&5
d3273 1
a3273 1
  echo "$as_me:3235: \$? = $ac_status" >&5
d3276 1
a3276 1
  { (eval echo "$as_me:3238: \"$ac_try\"") >&5
d3279 1
a3279 1
  echo "$as_me:3241: \$? = $ac_status" >&5
d3290 1
a3290 1
echo "$as_me:3252: result: $groff_cv_decl_needed_pclose" >&5
d3305 1
a3305 1
echo "$as_me:3267: checking whether putenv must be declared" >&5
d3317 1
a3317 1
#line 3279 "configure"
d3350 1
a3350 1
if { (eval echo "$as_me:3312: \"$ac_compile\"") >&5
d3353 1
a3353 1
  echo "$as_me:3315: \$? = $ac_status" >&5
d3356 1
a3356 1
  { (eval echo "$as_me:3318: \"$ac_try\"") >&5
d3359 1
a3359 1
  echo "$as_me:3321: \$? = $ac_status" >&5
d3370 1
a3370 1
echo "$as_me:3332: result: $groff_cv_decl_needed_putenv" >&5
d3385 1
a3385 1
echo "$as_me:3347: checking whether strcasecmp must be declared" >&5
d3397 1
a3397 1
#line 3359 "configure"
d3430 1
a3430 1
if { (eval echo "$as_me:3392: \"$ac_compile\"") >&5
d3433 1
a3433 1
  echo "$as_me:3395: \$? = $ac_status" >&5
d3436 1
a3436 1
  { (eval echo "$as_me:3398: \"$ac_try\"") >&5
d3439 1
a3439 1
  echo "$as_me:3401: \$? = $ac_status" >&5
d3450 1
a3450 1
echo "$as_me:3412: result: $groff_cv_decl_needed_strcasecmp" >&5
d3465 1
a3465 1
echo "$as_me:3427: checking whether strncasecmp must be declared" >&5
d3477 1
a3477 1
#line 3439 "configure"
d3510 1
a3510 1
if { (eval echo "$as_me:3472: \"$ac_compile\"") >&5
d3513 1
a3513 1
  echo "$as_me:3475: \$? = $ac_status" >&5
d3516 1
a3516 1
  { (eval echo "$as_me:3478: \"$ac_try\"") >&5
d3519 1
a3519 1
  echo "$as_me:3481: \$? = $ac_status" >&5
d3530 1
a3530 1
echo "$as_me:3492: result: $groff_cv_decl_needed_strncasecmp" >&5
d3551 1
a3551 1
echo "$as_me:3513: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3554 1
a3554 1
#line 3516 "configure"
d3567 1
a3567 1
if { (eval echo "$as_me:3529: \"$ac_compile\"") >&5
d3570 1
a3570 1
  echo "$as_me:3532: \$? = $ac_status" >&5
d3573 1
a3573 1
  { (eval echo "$as_me:3535: \"$ac_try\"") >&5
d3576 1
a3576 1
  echo "$as_me:3538: \$? = $ac_status" >&5
d3578 1
a3578 1
  echo "$as_me:3540: result: yes" >&5
d3587 1
a3587 1
echo "$as_me:3549: result: no" >&5
d3597 1
a3597 1
echo "$as_me:3559: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3600 1
a3600 1
#line 3562 "configure"
d3613 1
a3613 1
if { (eval echo "$as_me:3575: \"$ac_compile\"") >&5
d3616 1
a3616 1
  echo "$as_me:3578: \$? = $ac_status" >&5
d3619 1
a3619 1
  { (eval echo "$as_me:3581: \"$ac_try\"") >&5
d3622 1
a3622 1
  echo "$as_me:3584: \$? = $ac_status" >&5
d3624 1
a3624 1
  echo "$as_me:3586: result: yes" >&5
d3633 1
a3633 1
echo "$as_me:3595: result: no" >&5
d3643 1
a3643 1
echo "$as_me:3605: checking C++ <osfcn.h>" >&5
d3646 1
a3646 1
#line 3608 "configure"
d3658 1
a3658 1
if { (eval echo "$as_me:3620: \"$ac_compile\"") >&5
d3661 1
a3661 1
  echo "$as_me:3623: \$? = $ac_status" >&5
d3664 1
a3664 1
  { (eval echo "$as_me:3626: \"$ac_try\"") >&5
d3667 1
a3667 1
  echo "$as_me:3629: \$? = $ac_status" >&5
d3669 1
a3669 1
  echo "$as_me:3631: result: yes" >&5
d3678 1
a3678 1
echo "$as_me:3640: result: no" >&5
d3694 1
a3694 1
echo "$as_me:3656: checking C++ <limits.h>" >&5
d3697 1
a3697 1
#line 3659 "configure"
d3709 1
a3709 1
if { (eval echo "$as_me:3671: \"$ac_compile\"") >&5
d3712 1
a3712 1
  echo "$as_me:3674: \$? = $ac_status" >&5
d3715 1
a3715 1
  { (eval echo "$as_me:3677: \"$ac_try\"") >&5
d3718 1
a3718 1
  echo "$as_me:3680: \$? = $ac_status" >&5
d3720 1
a3720 1
  echo "$as_me:3682: result: yes" >&5
d3729 1
a3729 1
echo "$as_me:3691: result: no" >&5
d3745 1
a3745 1
echo "$as_me:3707: checking for inttypes.h" >&5
d3748 1
a3748 1
#line 3710 "configure"
d3761 1
a3761 1
if { (eval echo "$as_me:3723: \"$ac_compile\"") >&5
d3764 1
a3764 1
  echo "$as_me:3726: \$? = $ac_status" >&5
d3767 1
a3767 1
  { (eval echo "$as_me:3729: \"$ac_try\"") >&5
d3770 1
a3770 1
  echo "$as_me:3732: \$? = $ac_status" >&5
d3779 1
a3779 1
echo "$as_me:3741: result: $groff_cv_header_inttypes_h" >&5
d3793 1
a3793 1
echo "$as_me:3755: checking for unsigned long long" >&5
d3796 1
a3796 1
#line 3758 "configure"
d3809 1
a3809 1
if { (eval echo "$as_me:3771: \"$ac_link\"") >&5
d3812 1
a3812 1
  echo "$as_me:3774: \$? = $ac_status" >&5
d3815 1
a3815 1
  { (eval echo "$as_me:3777: \"$ac_try\"") >&5
d3818 1
a3818 1
  echo "$as_me:3780: \$? = $ac_status" >&5
d3827 1
a3827 1
echo "$as_me:3789: result: $groff_cv_type_unsigned_long_long" >&5
d3852 1
a3852 1
echo "$as_me:3814: checking for declaration of time_t" >&5
d3855 1
a3855 1
#line 3817 "configure"
d3867 1
a3867 1
if { (eval echo "$as_me:3829: \"$ac_compile\"") >&5
d3870 1
a3870 1
  echo "$as_me:3832: \$? = $ac_status" >&5
d3873 1
a3873 1
  { (eval echo "$as_me:3835: \"$ac_try\"") >&5
d3876 1
a3876 1
  echo "$as_me:3838: \$? = $ac_status" >&5
d3878 1
a3878 1
  echo "$as_me:3840: result: yes" >&5
d3883 1
a3883 1
echo "$as_me:3845: result: no" >&5
d3897 1
a3897 1
echo "$as_me:3859: checking return type of signal handlers" >&5
d3903 1
a3903 1
#line 3865 "configure"
d3925 1
a3925 1
if { (eval echo "$as_me:3887: \"$ac_compile\"") >&5
d3928 1
a3928 1
  echo "$as_me:3890: \$? = $ac_status" >&5
d3931 1
a3931 1
  { (eval echo "$as_me:3893: \"$ac_try\"") >&5
d3934 1
a3934 1
  echo "$as_me:3896: \$? = $ac_status" >&5
d3944 1
a3944 1
echo "$as_me:3906: result: $ac_cv_type_signal" >&5
d3951 1
a3951 1
echo "$as_me:3913: checking struct exception" >&5
d3954 1
a3954 1
#line 3916 "configure"
d3966 1
a3966 1
if { (eval echo "$as_me:3928: \"$ac_compile\"") >&5
d3969 1
a3969 1
  echo "$as_me:3931: \$? = $ac_status" >&5
d3972 1
a3972 1
  { (eval echo "$as_me:3934: \"$ac_try\"") >&5
d3975 1
a3975 1
  echo "$as_me:3937: \$? = $ac_status" >&5
d3977 1
a3977 1
  echo "$as_me:3939: result: yes" >&5
d3986 1
a3986 1
echo "$as_me:3948: result: no" >&5
d3990 1
a3990 1
echo "$as_me:3952: checking for sin in -lm" >&5
d3998 1
a3998 1
#line 3960 "configure"
d4017 1
a4017 1
if { (eval echo "$as_me:3979: \"$ac_link\"") >&5
d4020 1
a4020 1
  echo "$as_me:3982: \$? = $ac_status" >&5
d4023 1
a4023 1
  { (eval echo "$as_me:3985: \"$ac_try\"") >&5
d4026 1
a4026 1
  echo "$as_me:3988: \$? = $ac_status" >&5
d4037 1
a4037 1
echo "$as_me:3999: result: $ac_cv_lib_m_sin" >&5
d4043 1
a4043 1
echo "$as_me:4005: checking for ANSI C header files" >&5
d4049 1
a4049 1
#line 4011 "configure"
d4057 1
a4057 1
if { (eval echo "$as_me:4019: \"$ac_cpp conftest.$ac_ext\"") >&5
d4063 1
a4063 1
  echo "$as_me:4025: \$? = $ac_status" >&5
d4085 1
a4085 1
#line 4047 "configure"
d4103 1
a4103 1
#line 4065 "configure"
d4124 1
a4124 1
#line 4086 "configure"
d4150 1
a4150 1
if { (eval echo "$as_me:4112: \"$ac_link\"") >&5
d4153 1
a4153 1
  echo "$as_me:4115: \$? = $ac_status" >&5
d4155 1
a4155 1
  { (eval echo "$as_me:4117: \"$ac_try\"") >&5
d4158 1
a4158 1
  echo "$as_me:4120: \$? = $ac_status" >&5
d4171 1
a4171 1
echo "$as_me:4133: result: $ac_cv_header_stdc" >&5
d4187 1
a4187 1
echo "$as_me:4149: checking for $ac_header" >&5
d4193 1
a4193 1
#line 4155 "configure"
d4199 1
a4199 1
if { (eval echo "$as_me:4161: \"$ac_compile\"") >&5
d4202 1
a4202 1
  echo "$as_me:4164: \$? = $ac_status" >&5
d4205 1
a4205 1
  { (eval echo "$as_me:4167: \"$ac_try\"") >&5
d4208 1
a4208 1
  echo "$as_me:4170: \$? = $ac_status" >&5
d4218 1
a4218 1
echo "$as_me:4180: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4231 1
a4231 1
echo "$as_me:4193: checking for $ac_header" >&5
d4237 1
a4237 1
#line 4199 "configure"
d4241 1
a4241 1
if { (eval echo "$as_me:4203: \"$ac_cpp conftest.$ac_ext\"") >&5
d4247 1
a4247 1
  echo "$as_me:4209: \$? = $ac_status" >&5
d4266 1
a4266 1
echo "$as_me:4228: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4279 1
a4279 1
echo "$as_me:4241: checking for $ac_func" >&5
d4285 1
a4285 1
#line 4247 "configure"
d4316 1
a4316 1
if { (eval echo "$as_me:4278: \"$ac_link\"") >&5
d4319 1
a4319 1
  echo "$as_me:4281: \$? = $ac_status" >&5
d4322 1
a4322 1
  { (eval echo "$as_me:4284: \"$ac_try\"") >&5
d4325 1
a4325 1
  echo "$as_me:4287: \$? = $ac_status" >&5
d4335 1
a4335 1
echo "$as_me:4297: result: `eval echo '${'$as_ac_var'}'`" >&5
d4345 1
a4345 1
echo "$as_me:4307: checking for working mmap" >&5
d4354 1
a4354 1
#line 4316 "configure"
d4481 1
a4481 1
if { (eval echo "$as_me:4443: \"$ac_link\"") >&5
d4484 1
a4484 1
  echo "$as_me:4446: \$? = $ac_status" >&5
d4486 1
a4486 1
  { (eval echo "$as_me:4448: \"$ac_try\"") >&5
d4489 1
a4489 1
  echo "$as_me:4451: \$? = $ac_status" >&5
d4501 1
a4501 1
echo "$as_me:4463: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4518 1
a4518 1
echo "$as_me:4480: checking for $ac_func" >&5
d4524 1
a4524 1
#line 4486 "configure"
d4555 1
a4555 1
if { (eval echo "$as_me:4517: \"$ac_link\"") >&5
d4558 1
a4558 1
  echo "$as_me:4520: \$? = $ac_status" >&5
d4561 1
a4561 1
  { (eval echo "$as_me:4523: \"$ac_try\"") >&5
d4564 1
a4564 1
  echo "$as_me:4526: \$? = $ac_status" >&5
d4574 1
a4574 1
echo "$as_me:4536: result: `eval echo '${'$as_ac_var'}'`" >&5
d4591 1
a4591 1
echo "$as_me:4553: checking for $ac_func" >&5
d4597 1
a4597 1
#line 4559 "configure"
d4628 1
a4628 1
if { (eval echo "$as_me:4590: \"$ac_link\"") >&5
d4631 1
a4631 1
  echo "$as_me:4593: \$? = $ac_status" >&5
d4634 1
a4634 1
  { (eval echo "$as_me:4596: \"$ac_try\"") >&5
d4637 1
a4637 1
  echo "$as_me:4599: \$? = $ac_status" >&5
d4647 1
a4647 1
echo "$as_me:4609: result: `eval echo '${'$as_ac_var'}'`" >&5
d4657 1
a4657 1
echo "$as_me:4619: checking for mkstemp" >&5
d4666 1
a4666 1
#line 4628 "configure"
d4679 1
a4679 1
if { (eval echo "$as_me:4641: \"$ac_link\"") >&5
d4682 1
a4682 1
  echo "$as_me:4644: \$? = $ac_status" >&5
d4685 1
a4685 1
  { (eval echo "$as_me:4647: \"$ac_try\"") >&5
d4688 1
a4688 1
  echo "$as_me:4650: \$? = $ac_status" >&5
d4690 1
a4690 1
  echo "$as_me:4652: result: yes" >&5
d4699 1
a4699 1
echo "$as_me:4661: result: no" >&5
d4709 1
a4709 1
echo "$as_me:4671: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4715 1
a4715 1
#line 4677 "configure"
d4733 1
a4733 1
if { (eval echo "$as_me:4695: \"$ac_compile\"") >&5
d4736 1
a4736 1
  echo "$as_me:4698: \$? = $ac_status" >&5
d4739 1
a4739 1
  { (eval echo "$as_me:4701: \"$ac_try\"") >&5
d4742 1
a4742 1
  echo "$as_me:4704: \$? = $ac_status" >&5
d4752 1
a4752 1
echo "$as_me:4714: result: $ac_cv_decl_sys_siglist" >&5
d4768 1
a4768 1
echo "$as_me:4730: checking whether ANSI array delete syntax supported" >&5
d4771 1
a4771 1
#line 4733 "configure"
d4783 1
a4783 1
if { (eval echo "$as_me:4745: \"$ac_compile\"") >&5
d4786 1
a4786 1
  echo "$as_me:4748: \$? = $ac_status" >&5
d4789 1
a4789 1
  { (eval echo "$as_me:4751: \"$ac_try\"") >&5
d4792 1
a4792 1
  echo "$as_me:4754: \$? = $ac_status" >&5
d4794 1
a4794 1
  echo "$as_me:4756: result: yes" >&5
d4799 1
a4799 1
echo "$as_me:4761: result: no" >&5
d4819 1
a4819 1
echo "$as_me:4781: checking traditional preprocessor" >&5
d4822 1
a4822 1
#line 4784 "configure"
d4834 1
a4834 1
if { (eval echo "$as_me:4796: \"$ac_compile\"") >&5
d4837 1
a4837 1
  echo "$as_me:4799: \$? = $ac_status" >&5
d4840 1
a4840 1
  { (eval echo "$as_me:4802: \"$ac_try\"") >&5
d4843 1
a4843 1
  echo "$as_me:4805: \$? = $ac_status" >&5
d4845 1
a4845 1
  echo "$as_me:4807: result: yes" >&5
d4854 1
a4854 1
echo "$as_me:4816: result: no" >&5
d4864 1
a4864 1
echo "$as_me:4826: checking w_coredump" >&5
d4867 1
a4867 1
  echo "$as_me:4829: result: no" >&5
d4871 1
a4871 1
#line 4833 "configure"
d4887 1
a4887 1
if { (eval echo "$as_me:4849: \"$ac_link\"") >&5
d4890 1
a4890 1
  echo "$as_me:4852: \$? = $ac_status" >&5
d4892 1
a4892 1
  { (eval echo "$as_me:4854: \"$ac_try\"") >&5
d4895 1
a4895 1
  echo "$as_me:4857: \$? = $ac_status" >&5
d4897 1
a4897 1
  echo "$as_me:4859: result: yes" >&5
d4907 1
a4907 1
echo "$as_me:4869: result: no" >&5
d4912 1
a4912 1
echo "$as_me:4874: checking default value for grops -b option" >&5
d4915 1
a4915 1
echo "$as_me:4877: result: $BROKEN_SPOOLER_FLAGS" >&5
d4918 1
a4918 1
echo "$as_me:4880: checking default paper size" >&5
d4964 1
a4964 1
echo "$as_me:4926: result: $PAGE" >&5
d4967 1
a4967 1
echo "$as_me:4929: checking for existing troff installation" >&5
d4970 1
a4970 1
	echo "$as_me:4932: result: yes" >&5
d4974 1
a4974 1
	echo "$as_me:4936: result: no" >&5
d4979 1
a4979 1
echo "$as_me:4941: checking for prefix of system macro packages" >&5
d4996 1
a4996 1
echo "$as_me:4958: result: $sys_tmac_prefix" >&5
d5000 1
a5000 1
echo "$as_me:4962: checking which system macro packages should be made available" >&5
d5036 1
a5036 1
echo "$as_me:4998: result: $tmac_wrap" >&5
d5041 1
a5041 1
ac_config_files="$ac_config_files Makefile src/xditview/Imakefile"
d5122 1
a5122 1
{ echo "$as_me:5084: creating $CONFIG_STATUS" >&5
d5295 1
a5295 1
    { { echo "$as_me:5257: error: ambiguous option: $1
d5314 1
a5314 1
  -*) { { echo "$as_me:5276: error: unrecognized option: $1
d5351 1
d5354 1
a5354 1
  *) { { echo "$as_me:5315: error: invalid argument: $ac_config_target" >&5
d5457 1
d5585 1
a5585 1
    { echo "$as_me:5545: creating $ac_file" >&5
d5603 1
a5603 1
         test -f "$f" || { { echo "$as_me:5563: error: cannot find input file: $f" >&5
d5616 1
a5616 1
           { { echo "$as_me:5576: error: cannot find input file: $f" >&5
d5681 1
a5681 1
  test x"$ac_file" != x- && { echo "$as_me:5641: creating $ac_file" >&5
d5692 1
a5692 1
         test -f "$f" || { { echo "$as_me:5652: error: cannot find input file: $f" >&5
d5705 1
a5705 1
           { { echo "$as_me:5665: error: cannot find input file: $f" >&5
d5822 1
a5822 1
      { echo "$as_me:5782: $ac_file is unchanged" >&5
d5889 1
a5889 1
{ echo "$as_me:5849:
@


1.31
log
@
* aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
TTYDEVDIRS.
Define new variable OTHERDEVDIRS (containing `font/devlj4
font/devlbp' if not EBCDIC).
* Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
(OTHERDEVDIRS): New variable.
(MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
* configure: Regenerated.

* NEWS, src/devices/grotty/grotty.man: Updated.

* src/roff/troff/input.cc (do_overstrike, do_bracket,
get_line_arg): Honour input level.

Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.

* font/*/*: Implement it in all font files.
* font/devps/generate/textmap, font/devps/generate/symbolchars,
* font/devps/symbolmap: Updated.
* font/devlj4/generate/text.map: Updated.
* font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
* font/devdvi/generate/texmi.map: Updated.

* font/devutf8/R.proto: Remove all `charXXX' entries.
* font/devutf8/NOTES: Updated.

* font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
version 4.1.0.

* tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.

* NEWS, man/groff_char.man: Updated.
@
text
@d2984 3
a2986 1
char *(*pfn) = (char *(*)) gettimeofday
d2992 1
a2992 1
if { (eval echo "$as_me:2990: \"$ac_compile\"") >&5
d2995 1
a2995 1
  echo "$as_me:2993: \$? = $ac_status" >&5
d2998 1
a2998 1
  { (eval echo "$as_me:2996: \"$ac_try\"") >&5
d3001 1
a3001 1
  echo "$as_me:2999: \$? = $ac_status" >&5
d3012 1
a3012 1
echo "$as_me:3010: result: $groff_cv_decl_needed_gettimeofday" >&5
d3027 1
a3027 1
echo "$as_me:3025: checking whether hypot must be declared" >&5
d3039 1
a3039 1
#line 3037 "configure"
d3064 3
a3066 1
char *(*pfn) = (char *(*)) hypot
d3072 1
a3072 1
if { (eval echo "$as_me:3068: \"$ac_compile\"") >&5
d3075 1
a3075 1
  echo "$as_me:3071: \$? = $ac_status" >&5
d3078 1
a3078 1
  { (eval echo "$as_me:3074: \"$ac_try\"") >&5
d3081 1
a3081 1
  echo "$as_me:3077: \$? = $ac_status" >&5
d3092 1
a3092 1
echo "$as_me:3088: result: $groff_cv_decl_needed_hypot" >&5
d3107 1
a3107 1
echo "$as_me:3103: checking whether popen must be declared" >&5
d3119 1
a3119 1
#line 3115 "configure"
d3144 3
a3146 1
char *(*pfn) = (char *(*)) popen
d3152 1
a3152 1
if { (eval echo "$as_me:3146: \"$ac_compile\"") >&5
d3155 1
a3155 1
  echo "$as_me:3149: \$? = $ac_status" >&5
d3158 1
a3158 1
  { (eval echo "$as_me:3152: \"$ac_try\"") >&5
d3161 1
a3161 1
  echo "$as_me:3155: \$? = $ac_status" >&5
d3172 1
a3172 1
echo "$as_me:3166: result: $groff_cv_decl_needed_popen" >&5
d3187 1
a3187 1
echo "$as_me:3181: checking whether pclose must be declared" >&5
d3199 1
a3199 1
#line 3193 "configure"
d3224 3
a3226 1
char *(*pfn) = (char *(*)) pclose
d3232 1
a3232 1
if { (eval echo "$as_me:3224: \"$ac_compile\"") >&5
d3235 1
a3235 1
  echo "$as_me:3227: \$? = $ac_status" >&5
d3238 1
a3238 1
  { (eval echo "$as_me:3230: \"$ac_try\"") >&5
d3241 1
a3241 1
  echo "$as_me:3233: \$? = $ac_status" >&5
d3252 1
a3252 1
echo "$as_me:3244: result: $groff_cv_decl_needed_pclose" >&5
d3267 1
a3267 1
echo "$as_me:3259: checking whether putenv must be declared" >&5
d3279 1
a3279 1
#line 3271 "configure"
d3304 3
a3306 1
char *(*pfn) = (char *(*)) putenv
d3312 1
a3312 1
if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
d3315 1
a3315 1
  echo "$as_me:3305: \$? = $ac_status" >&5
d3318 1
a3318 1
  { (eval echo "$as_me:3308: \"$ac_try\"") >&5
d3321 1
a3321 1
  echo "$as_me:3311: \$? = $ac_status" >&5
d3332 1
a3332 1
echo "$as_me:3322: result: $groff_cv_decl_needed_putenv" >&5
d3347 1
a3347 1
echo "$as_me:3337: checking whether strcasecmp must be declared" >&5
d3359 1
a3359 1
#line 3349 "configure"
d3384 3
a3386 1
char *(*pfn) = (char *(*)) strcasecmp
d3392 1
a3392 1
if { (eval echo "$as_me:3380: \"$ac_compile\"") >&5
d3395 1
a3395 1
  echo "$as_me:3383: \$? = $ac_status" >&5
d3398 1
a3398 1
  { (eval echo "$as_me:3386: \"$ac_try\"") >&5
d3401 1
a3401 1
  echo "$as_me:3389: \$? = $ac_status" >&5
d3412 1
a3412 1
echo "$as_me:3400: result: $groff_cv_decl_needed_strcasecmp" >&5
d3427 1
a3427 1
echo "$as_me:3415: checking whether strncasecmp must be declared" >&5
d3439 1
a3439 1
#line 3427 "configure"
d3464 3
a3466 1
char *(*pfn) = (char *(*)) strncasecmp
d3472 1
a3472 1
if { (eval echo "$as_me:3458: \"$ac_compile\"") >&5
d3475 1
a3475 1
  echo "$as_me:3461: \$? = $ac_status" >&5
d3478 1
a3478 1
  { (eval echo "$as_me:3464: \"$ac_try\"") >&5
d3481 1
a3481 1
  echo "$as_me:3467: \$? = $ac_status" >&5
d3492 1
a3492 1
echo "$as_me:3478: result: $groff_cv_decl_needed_strncasecmp" >&5
d3513 1
a3513 1
echo "$as_me:3499: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3516 1
a3516 1
#line 3502 "configure"
d3529 1
a3529 1
if { (eval echo "$as_me:3515: \"$ac_compile\"") >&5
d3532 1
a3532 1
  echo "$as_me:3518: \$? = $ac_status" >&5
d3535 1
a3535 1
  { (eval echo "$as_me:3521: \"$ac_try\"") >&5
d3538 1
a3538 1
  echo "$as_me:3524: \$? = $ac_status" >&5
d3540 1
a3540 1
  echo "$as_me:3526: result: yes" >&5
d3549 1
a3549 1
echo "$as_me:3535: result: no" >&5
d3559 1
a3559 1
echo "$as_me:3545: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3562 1
a3562 1
#line 3548 "configure"
d3575 1
a3575 1
if { (eval echo "$as_me:3561: \"$ac_compile\"") >&5
d3578 1
a3578 1
  echo "$as_me:3564: \$? = $ac_status" >&5
d3581 1
a3581 1
  { (eval echo "$as_me:3567: \"$ac_try\"") >&5
d3584 1
a3584 1
  echo "$as_me:3570: \$? = $ac_status" >&5
d3586 1
a3586 1
  echo "$as_me:3572: result: yes" >&5
d3595 1
a3595 1
echo "$as_me:3581: result: no" >&5
d3605 1
a3605 1
echo "$as_me:3591: checking C++ <osfcn.h>" >&5
d3608 1
a3608 1
#line 3594 "configure"
d3620 1
a3620 1
if { (eval echo "$as_me:3606: \"$ac_compile\"") >&5
d3623 1
a3623 1
  echo "$as_me:3609: \$? = $ac_status" >&5
d3626 1
a3626 1
  { (eval echo "$as_me:3612: \"$ac_try\"") >&5
d3629 1
a3629 1
  echo "$as_me:3615: \$? = $ac_status" >&5
d3631 1
a3631 1
  echo "$as_me:3617: result: yes" >&5
d3640 1
a3640 1
echo "$as_me:3626: result: no" >&5
d3656 1
a3656 1
echo "$as_me:3642: checking C++ <limits.h>" >&5
d3659 1
a3659 1
#line 3645 "configure"
d3671 1
a3671 1
if { (eval echo "$as_me:3657: \"$ac_compile\"") >&5
d3674 1
a3674 1
  echo "$as_me:3660: \$? = $ac_status" >&5
d3677 1
a3677 1
  { (eval echo "$as_me:3663: \"$ac_try\"") >&5
d3680 1
a3680 1
  echo "$as_me:3666: \$? = $ac_status" >&5
d3682 1
a3682 1
  echo "$as_me:3668: result: yes" >&5
d3691 1
a3691 1
echo "$as_me:3677: result: no" >&5
d3707 1
a3707 1
echo "$as_me:3693: checking for inttypes.h" >&5
d3710 1
a3710 1
#line 3696 "configure"
d3723 1
a3723 1
if { (eval echo "$as_me:3709: \"$ac_compile\"") >&5
d3726 1
a3726 1
  echo "$as_me:3712: \$? = $ac_status" >&5
d3729 1
a3729 1
  { (eval echo "$as_me:3715: \"$ac_try\"") >&5
d3732 1
a3732 1
  echo "$as_me:3718: \$? = $ac_status" >&5
d3741 1
a3741 1
echo "$as_me:3727: result: $groff_cv_header_inttypes_h" >&5
d3755 1
a3755 1
echo "$as_me:3741: checking for unsigned long long" >&5
d3758 1
a3758 1
#line 3744 "configure"
d3771 1
a3771 1
if { (eval echo "$as_me:3757: \"$ac_link\"") >&5
d3774 1
a3774 1
  echo "$as_me:3760: \$? = $ac_status" >&5
d3777 1
a3777 1
  { (eval echo "$as_me:3763: \"$ac_try\"") >&5
d3780 1
a3780 1
  echo "$as_me:3766: \$? = $ac_status" >&5
d3789 1
a3789 1
echo "$as_me:3775: result: $groff_cv_type_unsigned_long_long" >&5
d3814 1
a3814 1
echo "$as_me:3800: checking for declaration of time_t" >&5
d3817 1
a3817 1
#line 3803 "configure"
d3829 1
a3829 1
if { (eval echo "$as_me:3815: \"$ac_compile\"") >&5
d3832 1
a3832 1
  echo "$as_me:3818: \$? = $ac_status" >&5
d3835 1
a3835 1
  { (eval echo "$as_me:3821: \"$ac_try\"") >&5
d3838 1
a3838 1
  echo "$as_me:3824: \$? = $ac_status" >&5
d3840 1
a3840 1
  echo "$as_me:3826: result: yes" >&5
d3845 1
a3845 1
echo "$as_me:3831: result: no" >&5
d3859 1
a3859 1
echo "$as_me:3845: checking return type of signal handlers" >&5
d3865 1
a3865 1
#line 3851 "configure"
d3887 1
a3887 1
if { (eval echo "$as_me:3873: \"$ac_compile\"") >&5
d3890 1
a3890 1
  echo "$as_me:3876: \$? = $ac_status" >&5
d3893 1
a3893 1
  { (eval echo "$as_me:3879: \"$ac_try\"") >&5
d3896 1
a3896 1
  echo "$as_me:3882: \$? = $ac_status" >&5
d3906 1
a3906 1
echo "$as_me:3892: result: $ac_cv_type_signal" >&5
d3913 1
a3913 1
echo "$as_me:3899: checking struct exception" >&5
d3916 1
a3916 1
#line 3902 "configure"
d3928 1
a3928 1
if { (eval echo "$as_me:3914: \"$ac_compile\"") >&5
d3931 1
a3931 1
  echo "$as_me:3917: \$? = $ac_status" >&5
d3934 1
a3934 1
  { (eval echo "$as_me:3920: \"$ac_try\"") >&5
d3937 1
a3937 1
  echo "$as_me:3923: \$? = $ac_status" >&5
d3939 1
a3939 1
  echo "$as_me:3925: result: yes" >&5
d3948 1
a3948 1
echo "$as_me:3934: result: no" >&5
d3952 1
a3952 1
echo "$as_me:3938: checking for sin in -lm" >&5
d3960 1
a3960 1
#line 3946 "configure"
d3979 1
a3979 1
if { (eval echo "$as_me:3965: \"$ac_link\"") >&5
d3982 1
a3982 1
  echo "$as_me:3968: \$? = $ac_status" >&5
d3985 1
a3985 1
  { (eval echo "$as_me:3971: \"$ac_try\"") >&5
d3988 1
a3988 1
  echo "$as_me:3974: \$? = $ac_status" >&5
d3999 1
a3999 1
echo "$as_me:3985: result: $ac_cv_lib_m_sin" >&5
d4005 1
a4005 1
echo "$as_me:3991: checking for ANSI C header files" >&5
d4011 1
a4011 1
#line 3997 "configure"
d4019 1
a4019 1
if { (eval echo "$as_me:4005: \"$ac_cpp conftest.$ac_ext\"") >&5
d4025 1
a4025 1
  echo "$as_me:4011: \$? = $ac_status" >&5
d4047 1
a4047 1
#line 4033 "configure"
d4065 1
a4065 1
#line 4051 "configure"
d4086 1
a4086 1
#line 4072 "configure"
d4112 1
a4112 1
if { (eval echo "$as_me:4098: \"$ac_link\"") >&5
d4115 1
a4115 1
  echo "$as_me:4101: \$? = $ac_status" >&5
d4117 1
a4117 1
  { (eval echo "$as_me:4103: \"$ac_try\"") >&5
d4120 1
a4120 1
  echo "$as_me:4106: \$? = $ac_status" >&5
d4133 1
a4133 1
echo "$as_me:4119: result: $ac_cv_header_stdc" >&5
d4149 1
a4149 1
echo "$as_me:4135: checking for $ac_header" >&5
d4155 1
a4155 1
#line 4141 "configure"
d4161 1
a4161 1
if { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
d4164 1
a4164 1
  echo "$as_me:4150: \$? = $ac_status" >&5
d4167 1
a4167 1
  { (eval echo "$as_me:4153: \"$ac_try\"") >&5
d4170 1
a4170 1
  echo "$as_me:4156: \$? = $ac_status" >&5
d4180 1
a4180 1
echo "$as_me:4166: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4193 1
a4193 1
echo "$as_me:4179: checking for $ac_header" >&5
d4199 1
a4199 1
#line 4185 "configure"
d4203 1
a4203 1
if { (eval echo "$as_me:4189: \"$ac_cpp conftest.$ac_ext\"") >&5
d4209 1
a4209 1
  echo "$as_me:4195: \$? = $ac_status" >&5
d4228 1
a4228 1
echo "$as_me:4214: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4241 1
a4241 1
echo "$as_me:4227: checking for $ac_func" >&5
d4247 1
a4247 1
#line 4233 "configure"
d4278 1
a4278 1
if { (eval echo "$as_me:4264: \"$ac_link\"") >&5
d4281 1
a4281 1
  echo "$as_me:4267: \$? = $ac_status" >&5
d4284 1
a4284 1
  { (eval echo "$as_me:4270: \"$ac_try\"") >&5
d4287 1
a4287 1
  echo "$as_me:4273: \$? = $ac_status" >&5
d4297 1
a4297 1
echo "$as_me:4283: result: `eval echo '${'$as_ac_var'}'`" >&5
d4307 1
a4307 1
echo "$as_me:4293: checking for working mmap" >&5
d4316 1
a4316 1
#line 4302 "configure"
d4443 1
a4443 1
if { (eval echo "$as_me:4429: \"$ac_link\"") >&5
d4446 1
a4446 1
  echo "$as_me:4432: \$? = $ac_status" >&5
d4448 1
a4448 1
  { (eval echo "$as_me:4434: \"$ac_try\"") >&5
d4451 1
a4451 1
  echo "$as_me:4437: \$? = $ac_status" >&5
d4463 1
a4463 1
echo "$as_me:4449: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4480 1
a4480 1
echo "$as_me:4466: checking for $ac_func" >&5
d4486 1
a4486 1
#line 4472 "configure"
d4517 1
a4517 1
if { (eval echo "$as_me:4503: \"$ac_link\"") >&5
d4520 1
a4520 1
  echo "$as_me:4506: \$? = $ac_status" >&5
d4523 1
a4523 1
  { (eval echo "$as_me:4509: \"$ac_try\"") >&5
d4526 1
a4526 1
  echo "$as_me:4512: \$? = $ac_status" >&5
d4536 1
a4536 1
echo "$as_me:4522: result: `eval echo '${'$as_ac_var'}'`" >&5
d4553 1
a4553 1
echo "$as_me:4539: checking for $ac_func" >&5
d4559 1
a4559 1
#line 4545 "configure"
d4590 1
a4590 1
if { (eval echo "$as_me:4576: \"$ac_link\"") >&5
d4593 1
a4593 1
  echo "$as_me:4579: \$? = $ac_status" >&5
d4596 1
a4596 1
  { (eval echo "$as_me:4582: \"$ac_try\"") >&5
d4599 1
a4599 1
  echo "$as_me:4585: \$? = $ac_status" >&5
d4609 1
a4609 1
echo "$as_me:4595: result: `eval echo '${'$as_ac_var'}'`" >&5
d4619 1
a4619 1
echo "$as_me:4605: checking for mkstemp" >&5
d4628 1
a4628 1
#line 4614 "configure"
d4641 1
a4641 1
if { (eval echo "$as_me:4627: \"$ac_link\"") >&5
d4644 1
a4644 1
  echo "$as_me:4630: \$? = $ac_status" >&5
d4647 1
a4647 1
  { (eval echo "$as_me:4633: \"$ac_try\"") >&5
d4650 1
a4650 1
  echo "$as_me:4636: \$? = $ac_status" >&5
d4652 1
a4652 1
  echo "$as_me:4638: result: yes" >&5
d4661 1
a4661 1
echo "$as_me:4647: result: no" >&5
d4671 1
a4671 1
echo "$as_me:4657: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4677 1
a4677 1
#line 4663 "configure"
d4695 1
a4695 1
if { (eval echo "$as_me:4681: \"$ac_compile\"") >&5
d4698 1
a4698 1
  echo "$as_me:4684: \$? = $ac_status" >&5
d4701 1
a4701 1
  { (eval echo "$as_me:4687: \"$ac_try\"") >&5
d4704 1
a4704 1
  echo "$as_me:4690: \$? = $ac_status" >&5
d4714 1
a4714 1
echo "$as_me:4700: result: $ac_cv_decl_sys_siglist" >&5
d4730 1
a4730 1
echo "$as_me:4716: checking whether ANSI array delete syntax supported" >&5
d4733 1
a4733 1
#line 4719 "configure"
d4745 1
a4745 1
if { (eval echo "$as_me:4731: \"$ac_compile\"") >&5
d4748 1
a4748 1
  echo "$as_me:4734: \$? = $ac_status" >&5
d4751 1
a4751 1
  { (eval echo "$as_me:4737: \"$ac_try\"") >&5
d4754 1
a4754 1
  echo "$as_me:4740: \$? = $ac_status" >&5
d4756 1
a4756 1
  echo "$as_me:4742: result: yes" >&5
d4761 1
a4761 1
echo "$as_me:4747: result: no" >&5
d4781 1
a4781 1
echo "$as_me:4767: checking traditional preprocessor" >&5
d4784 1
a4784 1
#line 4770 "configure"
d4796 1
a4796 1
if { (eval echo "$as_me:4782: \"$ac_compile\"") >&5
d4799 1
a4799 1
  echo "$as_me:4785: \$? = $ac_status" >&5
d4802 1
a4802 1
  { (eval echo "$as_me:4788: \"$ac_try\"") >&5
d4805 1
a4805 1
  echo "$as_me:4791: \$? = $ac_status" >&5
d4807 1
a4807 1
  echo "$as_me:4793: result: yes" >&5
d4816 1
a4816 1
echo "$as_me:4802: result: no" >&5
d4826 1
a4826 1
echo "$as_me:4812: checking w_coredump" >&5
d4829 1
a4829 1
  echo "$as_me:4815: result: no" >&5
d4833 1
a4833 1
#line 4819 "configure"
d4849 1
a4849 1
if { (eval echo "$as_me:4835: \"$ac_link\"") >&5
d4852 1
a4852 1
  echo "$as_me:4838: \$? = $ac_status" >&5
d4854 1
a4854 1
  { (eval echo "$as_me:4840: \"$ac_try\"") >&5
d4857 1
a4857 1
  echo "$as_me:4843: \$? = $ac_status" >&5
d4859 1
a4859 1
  echo "$as_me:4845: result: yes" >&5
d4869 1
a4869 1
echo "$as_me:4855: result: no" >&5
d4874 1
a4874 1
echo "$as_me:4860: checking default value for grops -b option" >&5
d4877 1
a4877 1
echo "$as_me:4863: result: $BROKEN_SPOOLER_FLAGS" >&5
d4880 1
a4880 1
echo "$as_me:4866: checking default paper size" >&5
d4926 1
a4926 1
echo "$as_me:4912: result: $PAGE" >&5
d4929 1
a4929 1
echo "$as_me:4915: checking for existing troff installation" >&5
d4932 1
a4932 1
	echo "$as_me:4918: result: yes" >&5
d4936 1
a4936 1
	echo "$as_me:4922: result: no" >&5
d4941 1
a4941 1
echo "$as_me:4927: checking for prefix of system macro packages" >&5
d4958 1
a4958 1
echo "$as_me:4944: result: $sys_tmac_prefix" >&5
d4962 1
a4962 1
echo "$as_me:4948: checking which system macro packages should be made available" >&5
d4998 1
a4998 1
echo "$as_me:4984: result: $tmac_wrap" >&5
d5084 1
a5084 1
{ echo "$as_me:5070: creating $CONFIG_STATUS" >&5
d5257 1
a5257 1
    { { echo "$as_me:5243: error: ambiguous option: $1
d5276 1
a5276 1
  -*) { { echo "$as_me:5262: error: unrecognized option: $1
d5315 1
a5315 1
  *) { { echo "$as_me:5301: error: invalid argument: $ac_config_target" >&5
d5545 1
a5545 1
    { echo "$as_me:5531: creating $ac_file" >&5
d5563 1
a5563 1
         test -f "$f" || { { echo "$as_me:5549: error: cannot find input file: $f" >&5
d5576 1
a5576 1
           { { echo "$as_me:5562: error: cannot find input file: $f" >&5
d5641 1
a5641 1
  test x"$ac_file" != x- && { echo "$as_me:5627: creating $ac_file" >&5
d5652 1
a5652 1
         test -f "$f" || { { echo "$as_me:5638: error: cannot find input file: $f" >&5
d5665 1
a5665 1
           { { echo "$as_me:5651: error: cannot find input file: $f" >&5
d5782 1
a5782 1
      { echo "$as_me:5768: $ac_file is unchanged" >&5
d5849 1
a5849 1
{ echo "$as_me:5835:
@


1.30
log
@
* aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
* configure: Regenerated.
* win32-diffs: Updated.
* tmac/groff_mwww.tmac: Renamed to ...
* tmac/groff_www.tmac: This.
* tmac/mwww.tmac: Removed.
* NEWS, tmac/Makefile.sub: Updated.
* doc/groff.texinfo: Improve documentation of the `\v' escape.
Fix explanation of `\D' and `rt'.
@
text
@d2139 3
a2141 2
 TTYDEVDIRS="font/devascii font/devlatin1 font/devutf8"
 echo "$as_me:2140: result: no" >&5
d2147 1
a2147 1
	echo "$as_me:2146: checking for OS/390 Unix" >&5
d2152 1
a2152 1
		echo "$as_me:2151: result: yes" >&5
d2155 1
a2155 1
		echo "$as_me:2154: result: no" >&5
d2164 1
a2164 1
echo "$as_me:2163: checking for $ac_word" >&5
d2179 1
a2179 1
echo "$as_me:2178: found $ac_dir/$ac_word" >&5
d2187 1
a2187 1
  echo "$as_me:2186: result: $LPR" >&5
d2190 1
a2190 1
  echo "$as_me:2189: result: no" >&5
d2201 1
a2201 1
echo "$as_me:2200: checking for $ac_word" >&5
d2216 1
a2216 1
echo "$as_me:2215: found $ac_dir/$ac_word" >&5
d2224 1
a2224 1
  echo "$as_me:2223: result: $LP" >&5
d2227 1
a2227 1
  echo "$as_me:2226: result: no" >&5
d2242 1
a2242 1
echo "$as_me:2241: checking for $ac_word" >&5
d2257 1
a2257 1
echo "$as_me:2256: found $ac_dir/$ac_word" >&5
d2265 1
a2265 1
  echo "$as_me:2264: result: $LPQ" >&5
d2268 1
a2268 1
  echo "$as_me:2267: result: no" >&5
d2284 1
a2284 1
echo "$as_me:2283: checking for command to use for printing PostScript files" >&5
d2286 1
a2286 1
echo "$as_me:2285: result: $PSPRINT" >&5
d2289 1
a2289 1
echo "$as_me:2288: checking for command to use for printing dvi files" >&5
d2299 1
a2299 1
echo "$as_me:2298: result: $DVIPRINT" >&5
d2303 1
a2303 1
echo "$as_me:2302: checking for $ac_word" >&5
d2320 1
a2320 1
   echo "$as_me:2319: found $ac_dir/$ac_word" >&5
d2332 1
a2332 1
  echo "$as_me:2331: result: $PERLPATH" >&5
d2335 1
a2335 1
  echo "$as_me:2334: result: no" >&5
d2343 1
a2343 1
echo "$as_me:2342: checking for $ac_word" >&5
d2358 1
a2358 1
echo "$as_me:2357: found $ac_dir/$ac_word" >&5
d2366 1
a2366 1
  echo "$as_me:2365: result: $YACC" >&5
d2369 1
a2369 1
  echo "$as_me:2368: result: no" >&5
d2380 1
a2380 1
echo "$as_me:2379: checking for $ac_word" >&5
d2395 1
a2395 1
echo "$as_me:2394: found $ac_dir/$ac_word" >&5
d2403 1
a2403 1
  echo "$as_me:2402: result: $RANLIB" >&5
d2406 1
a2406 1
  echo "$as_me:2405: result: no" >&5
d2415 1
a2415 1
echo "$as_me:2414: checking for $ac_word" >&5
d2430 1
a2430 1
echo "$as_me:2429: found $ac_dir/$ac_word" >&5
d2439 1
a2439 1
  echo "$as_me:2438: result: $ac_ct_RANLIB" >&5
d2442 1
a2442 1
  echo "$as_me:2441: result: no" >&5
d2468 1
a2468 1
  { { echo "$as_me:2467: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2490 1
a2490 1
echo "$as_me:2489: checking for a BSD compatible install" >&5
d2539 1
a2539 1
echo "$as_me:2538: result: $INSTALL" >&5
d2550 1
a2550 1
echo "$as_me:2549: checking whether ln -s works" >&5
d2554 1
a2554 1
  echo "$as_me:2553: result: yes" >&5
d2557 1
a2557 1
  echo "$as_me:2556: result: no, using $LN_S" >&5
d2561 1
a2561 1
echo "$as_me:2560: checking for csh hash hack" >&5
d2571 1
a2571 1
	echo "$as_me:2570: result: yes" >&5
d2574 1
a2574 1
	echo "$as_me:2573: result: no" >&5
d2584 1
a2584 1
echo "$as_me:2583: checking how to run the C preprocessor" >&5
d2605 1
a2605 1
#line 2604 "configure"
d2610 1
a2610 1
if { (eval echo "$as_me:2609: \"$ac_cpp conftest.$ac_ext\"") >&5
d2616 1
a2616 1
  echo "$as_me:2615: \$? = $ac_status" >&5
d2639 1
a2639 1
#line 2638 "configure"
d2643 1
a2643 1
if { (eval echo "$as_me:2642: \"$ac_cpp conftest.$ac_ext\"") >&5
d2649 1
a2649 1
  echo "$as_me:2648: \$? = $ac_status" >&5
d2686 1
a2686 1
echo "$as_me:2685: result: $CPP" >&5
d2696 1
a2696 1
#line 2695 "configure"
d2701 1
a2701 1
if { (eval echo "$as_me:2700: \"$ac_cpp conftest.$ac_ext\"") >&5
d2707 1
a2707 1
  echo "$as_me:2706: \$? = $ac_status" >&5
d2730 1
a2730 1
#line 2729 "configure"
d2734 1
a2734 1
if { (eval echo "$as_me:2733: \"$ac_cpp conftest.$ac_ext\"") >&5
d2740 1
a2740 1
  echo "$as_me:2739: \$? = $ac_status" >&5
d2768 1
a2768 1
  { { echo "$as_me:2767: error: C preprocessor \"$CPP\" fails sanity check" >&5
d2783 1
a2783 1
echo "$as_me:2782: checking for $ac_header" >&5
d2789 1
a2789 1
#line 2788 "configure"
d2793 1
a2793 1
if { (eval echo "$as_me:2792: \"$ac_cpp conftest.$ac_ext\"") >&5
d2799 1
a2799 1
  echo "$as_me:2798: \$? = $ac_status" >&5
d2818 1
a2818 1
echo "$as_me:2817: result: `eval echo '${'$as_ac_Header'}'`" >&5
d2828 1
a2828 1
echo "$as_me:2827: checking for ISC 3.x or 4.x" >&5
d2832 1
a2832 1
	echo "$as_me:2831: result: yes" >&5
d2840 1
a2840 1
	echo "$as_me:2839: result: no" >&5
d2843 1
a2843 1
echo "$as_me:2842: checking whether -D_POSIX_SOURCE is necessary" >&5
d2852 1
a2852 1
#line 2851 "configure"
d2865 1
a2865 1
if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5
d2868 1
a2868 1
  echo "$as_me:2867: \$? = $ac_status" >&5
d2871 1
a2871 1
  { (eval echo "$as_me:2870: \"$ac_try\"") >&5
d2874 1
a2874 1
  echo "$as_me:2873: \$? = $ac_status" >&5
d2876 1
a2876 1
  echo "$as_me:2875: result: yes" >&5
d2885 1
a2885 1
echo "$as_me:2884: result: no" >&5
d2901 1
a2901 1
echo "$as_me:2900: checking for return type of srand" >&5
d2904 1
a2904 1
#line 2903 "configure"
d2917 1
a2917 1
if { (eval echo "$as_me:2916: \"$ac_compile\"") >&5
d2920 1
a2920 1
  echo "$as_me:2919: \$? = $ac_status" >&5
d2923 1
a2923 1
  { (eval echo "$as_me:2922: \"$ac_try\"") >&5
d2926 1
a2926 1
  echo "$as_me:2925: \$? = $ac_status" >&5
d2928 1
a2928 1
  echo "$as_me:2927: result: void" >&5
d2937 1
a2937 1
echo "$as_me:2936: result: int" >&5
d2947 1
a2947 1
echo "$as_me:2946: checking whether gettimeofday must be declared" >&5
d2959 1
a2959 1
#line 2958 "configure"
d2990 1
a2990 1
if { (eval echo "$as_me:2989: \"$ac_compile\"") >&5
d2993 1
a2993 1
  echo "$as_me:2992: \$? = $ac_status" >&5
d2996 1
a2996 1
  { (eval echo "$as_me:2995: \"$ac_try\"") >&5
d2999 1
a2999 1
  echo "$as_me:2998: \$? = $ac_status" >&5
d3010 1
a3010 1
echo "$as_me:3009: result: $groff_cv_decl_needed_gettimeofday" >&5
d3025 1
a3025 1
echo "$as_me:3024: checking whether hypot must be declared" >&5
d3037 1
a3037 1
#line 3036 "configure"
d3068 1
a3068 1
if { (eval echo "$as_me:3067: \"$ac_compile\"") >&5
d3071 1
a3071 1
  echo "$as_me:3070: \$? = $ac_status" >&5
d3074 1
a3074 1
  { (eval echo "$as_me:3073: \"$ac_try\"") >&5
d3077 1
a3077 1
  echo "$as_me:3076: \$? = $ac_status" >&5
d3088 1
a3088 1
echo "$as_me:3087: result: $groff_cv_decl_needed_hypot" >&5
d3103 1
a3103 1
echo "$as_me:3102: checking whether popen must be declared" >&5
d3115 1
a3115 1
#line 3114 "configure"
d3146 1
a3146 1
if { (eval echo "$as_me:3145: \"$ac_compile\"") >&5
d3149 1
a3149 1
  echo "$as_me:3148: \$? = $ac_status" >&5
d3152 1
a3152 1
  { (eval echo "$as_me:3151: \"$ac_try\"") >&5
d3155 1
a3155 1
  echo "$as_me:3154: \$? = $ac_status" >&5
d3166 1
a3166 1
echo "$as_me:3165: result: $groff_cv_decl_needed_popen" >&5
d3181 1
a3181 1
echo "$as_me:3180: checking whether pclose must be declared" >&5
d3193 1
a3193 1
#line 3192 "configure"
d3224 1
a3224 1
if { (eval echo "$as_me:3223: \"$ac_compile\"") >&5
d3227 1
a3227 1
  echo "$as_me:3226: \$? = $ac_status" >&5
d3230 1
a3230 1
  { (eval echo "$as_me:3229: \"$ac_try\"") >&5
d3233 1
a3233 1
  echo "$as_me:3232: \$? = $ac_status" >&5
d3244 1
a3244 1
echo "$as_me:3243: result: $groff_cv_decl_needed_pclose" >&5
d3259 1
a3259 1
echo "$as_me:3258: checking whether putenv must be declared" >&5
d3271 1
a3271 1
#line 3270 "configure"
d3302 1
a3302 1
if { (eval echo "$as_me:3301: \"$ac_compile\"") >&5
d3305 1
a3305 1
  echo "$as_me:3304: \$? = $ac_status" >&5
d3308 1
a3308 1
  { (eval echo "$as_me:3307: \"$ac_try\"") >&5
d3311 1
a3311 1
  echo "$as_me:3310: \$? = $ac_status" >&5
d3322 1
a3322 1
echo "$as_me:3321: result: $groff_cv_decl_needed_putenv" >&5
d3337 1
a3337 1
echo "$as_me:3336: checking whether strcasecmp must be declared" >&5
d3349 1
a3349 1
#line 3348 "configure"
d3380 1
a3380 1
if { (eval echo "$as_me:3379: \"$ac_compile\"") >&5
d3383 1
a3383 1
  echo "$as_me:3382: \$? = $ac_status" >&5
d3386 1
a3386 1
  { (eval echo "$as_me:3385: \"$ac_try\"") >&5
d3389 1
a3389 1
  echo "$as_me:3388: \$? = $ac_status" >&5
d3400 1
a3400 1
echo "$as_me:3399: result: $groff_cv_decl_needed_strcasecmp" >&5
d3415 1
a3415 1
echo "$as_me:3414: checking whether strncasecmp must be declared" >&5
d3427 1
a3427 1
#line 3426 "configure"
d3458 1
a3458 1
if { (eval echo "$as_me:3457: \"$ac_compile\"") >&5
d3461 1
a3461 1
  echo "$as_me:3460: \$? = $ac_status" >&5
d3464 1
a3464 1
  { (eval echo "$as_me:3463: \"$ac_try\"") >&5
d3467 1
a3467 1
  echo "$as_me:3466: \$? = $ac_status" >&5
d3478 1
a3478 1
echo "$as_me:3477: result: $groff_cv_decl_needed_strncasecmp" >&5
d3499 1
a3499 1
echo "$as_me:3498: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3502 1
a3502 1
#line 3501 "configure"
d3515 1
a3515 1
if { (eval echo "$as_me:3514: \"$ac_compile\"") >&5
d3518 1
a3518 1
  echo "$as_me:3517: \$? = $ac_status" >&5
d3521 1
a3521 1
  { (eval echo "$as_me:3520: \"$ac_try\"") >&5
d3524 1
a3524 1
  echo "$as_me:3523: \$? = $ac_status" >&5
d3526 1
a3526 1
  echo "$as_me:3525: result: yes" >&5
d3535 1
a3535 1
echo "$as_me:3534: result: no" >&5
d3545 1
a3545 1
echo "$as_me:3544: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3548 1
a3548 1
#line 3547 "configure"
d3561 1
a3561 1
if { (eval echo "$as_me:3560: \"$ac_compile\"") >&5
d3564 1
a3564 1
  echo "$as_me:3563: \$? = $ac_status" >&5
d3567 1
a3567 1
  { (eval echo "$as_me:3566: \"$ac_try\"") >&5
d3570 1
a3570 1
  echo "$as_me:3569: \$? = $ac_status" >&5
d3572 1
a3572 1
  echo "$as_me:3571: result: yes" >&5
d3581 1
a3581 1
echo "$as_me:3580: result: no" >&5
d3591 1
a3591 1
echo "$as_me:3590: checking C++ <osfcn.h>" >&5
d3594 1
a3594 1
#line 3593 "configure"
d3606 1
a3606 1
if { (eval echo "$as_me:3605: \"$ac_compile\"") >&5
d3609 1
a3609 1
  echo "$as_me:3608: \$? = $ac_status" >&5
d3612 1
a3612 1
  { (eval echo "$as_me:3611: \"$ac_try\"") >&5
d3615 1
a3615 1
  echo "$as_me:3614: \$? = $ac_status" >&5
d3617 1
a3617 1
  echo "$as_me:3616: result: yes" >&5
d3626 1
a3626 1
echo "$as_me:3625: result: no" >&5
d3642 1
a3642 1
echo "$as_me:3641: checking C++ <limits.h>" >&5
d3645 1
a3645 1
#line 3644 "configure"
d3657 1
a3657 1
if { (eval echo "$as_me:3656: \"$ac_compile\"") >&5
d3660 1
a3660 1
  echo "$as_me:3659: \$? = $ac_status" >&5
d3663 1
a3663 1
  { (eval echo "$as_me:3662: \"$ac_try\"") >&5
d3666 1
a3666 1
  echo "$as_me:3665: \$? = $ac_status" >&5
d3668 1
a3668 1
  echo "$as_me:3667: result: yes" >&5
d3677 1
a3677 1
echo "$as_me:3676: result: no" >&5
d3693 1
a3693 1
echo "$as_me:3692: checking for inttypes.h" >&5
d3696 1
a3696 1
#line 3695 "configure"
d3709 1
a3709 1
if { (eval echo "$as_me:3708: \"$ac_compile\"") >&5
d3712 1
a3712 1
  echo "$as_me:3711: \$? = $ac_status" >&5
d3715 1
a3715 1
  { (eval echo "$as_me:3714: \"$ac_try\"") >&5
d3718 1
a3718 1
  echo "$as_me:3717: \$? = $ac_status" >&5
d3727 1
a3727 1
echo "$as_me:3726: result: $groff_cv_header_inttypes_h" >&5
d3741 1
a3741 1
echo "$as_me:3740: checking for unsigned long long" >&5
d3744 1
a3744 1
#line 3743 "configure"
d3757 1
a3757 1
if { (eval echo "$as_me:3756: \"$ac_link\"") >&5
d3760 1
a3760 1
  echo "$as_me:3759: \$? = $ac_status" >&5
d3763 1
a3763 1
  { (eval echo "$as_me:3762: \"$ac_try\"") >&5
d3766 1
a3766 1
  echo "$as_me:3765: \$? = $ac_status" >&5
d3775 1
a3775 1
echo "$as_me:3774: result: $groff_cv_type_unsigned_long_long" >&5
d3800 1
a3800 1
echo "$as_me:3799: checking for declaration of time_t" >&5
d3803 1
a3803 1
#line 3802 "configure"
d3815 1
a3815 1
if { (eval echo "$as_me:3814: \"$ac_compile\"") >&5
d3818 1
a3818 1
  echo "$as_me:3817: \$? = $ac_status" >&5
d3821 1
a3821 1
  { (eval echo "$as_me:3820: \"$ac_try\"") >&5
d3824 1
a3824 1
  echo "$as_me:3823: \$? = $ac_status" >&5
d3826 1
a3826 1
  echo "$as_me:3825: result: yes" >&5
d3831 1
a3831 1
echo "$as_me:3830: result: no" >&5
d3845 1
a3845 1
echo "$as_me:3844: checking return type of signal handlers" >&5
d3851 1
a3851 1
#line 3850 "configure"
d3873 1
a3873 1
if { (eval echo "$as_me:3872: \"$ac_compile\"") >&5
d3876 1
a3876 1
  echo "$as_me:3875: \$? = $ac_status" >&5
d3879 1
a3879 1
  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
d3882 1
a3882 1
  echo "$as_me:3881: \$? = $ac_status" >&5
d3892 1
a3892 1
echo "$as_me:3891: result: $ac_cv_type_signal" >&5
d3899 1
a3899 1
echo "$as_me:3898: checking struct exception" >&5
d3902 1
a3902 1
#line 3901 "configure"
d3914 1
a3914 1
if { (eval echo "$as_me:3913: \"$ac_compile\"") >&5
d3917 1
a3917 1
  echo "$as_me:3916: \$? = $ac_status" >&5
d3920 1
a3920 1
  { (eval echo "$as_me:3919: \"$ac_try\"") >&5
d3923 1
a3923 1
  echo "$as_me:3922: \$? = $ac_status" >&5
d3925 1
a3925 1
  echo "$as_me:3924: result: yes" >&5
d3934 1
a3934 1
echo "$as_me:3933: result: no" >&5
d3938 1
a3938 1
echo "$as_me:3937: checking for sin in -lm" >&5
d3946 1
a3946 1
#line 3945 "configure"
d3965 1
a3965 1
if { (eval echo "$as_me:3964: \"$ac_link\"") >&5
d3968 1
a3968 1
  echo "$as_me:3967: \$? = $ac_status" >&5
d3971 1
a3971 1
  { (eval echo "$as_me:3970: \"$ac_try\"") >&5
d3974 1
a3974 1
  echo "$as_me:3973: \$? = $ac_status" >&5
d3985 1
a3985 1
echo "$as_me:3984: result: $ac_cv_lib_m_sin" >&5
d3991 1
a3991 1
echo "$as_me:3990: checking for ANSI C header files" >&5
d3997 1
a3997 1
#line 3996 "configure"
d4005 1
a4005 1
if { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5
d4011 1
a4011 1
  echo "$as_me:4010: \$? = $ac_status" >&5
d4033 1
a4033 1
#line 4032 "configure"
d4051 1
a4051 1
#line 4050 "configure"
d4072 1
a4072 1
#line 4071 "configure"
d4098 1
a4098 1
if { (eval echo "$as_me:4097: \"$ac_link\"") >&5
d4101 1
a4101 1
  echo "$as_me:4100: \$? = $ac_status" >&5
d4103 1
a4103 1
  { (eval echo "$as_me:4102: \"$ac_try\"") >&5
d4106 1
a4106 1
  echo "$as_me:4105: \$? = $ac_status" >&5
d4119 1
a4119 1
echo "$as_me:4118: result: $ac_cv_header_stdc" >&5
d4135 1
a4135 1
echo "$as_me:4134: checking for $ac_header" >&5
d4141 1
a4141 1
#line 4140 "configure"
d4147 1
a4147 1
if { (eval echo "$as_me:4146: \"$ac_compile\"") >&5
d4150 1
a4150 1
  echo "$as_me:4149: \$? = $ac_status" >&5
d4153 1
a4153 1
  { (eval echo "$as_me:4152: \"$ac_try\"") >&5
d4156 1
a4156 1
  echo "$as_me:4155: \$? = $ac_status" >&5
d4166 1
a4166 1
echo "$as_me:4165: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4179 1
a4179 1
echo "$as_me:4178: checking for $ac_header" >&5
d4185 1
a4185 1
#line 4184 "configure"
d4189 1
a4189 1
if { (eval echo "$as_me:4188: \"$ac_cpp conftest.$ac_ext\"") >&5
d4195 1
a4195 1
  echo "$as_me:4194: \$? = $ac_status" >&5
d4214 1
a4214 1
echo "$as_me:4213: result: `eval echo '${'$as_ac_Header'}'`" >&5
d4227 1
a4227 1
echo "$as_me:4226: checking for $ac_func" >&5
d4233 1
a4233 1
#line 4232 "configure"
d4264 1
a4264 1
if { (eval echo "$as_me:4263: \"$ac_link\"") >&5
d4267 1
a4267 1
  echo "$as_me:4266: \$? = $ac_status" >&5
d4270 1
a4270 1
  { (eval echo "$as_me:4269: \"$ac_try\"") >&5
d4273 1
a4273 1
  echo "$as_me:4272: \$? = $ac_status" >&5
d4283 1
a4283 1
echo "$as_me:4282: result: `eval echo '${'$as_ac_var'}'`" >&5
d4293 1
a4293 1
echo "$as_me:4292: checking for working mmap" >&5
d4302 1
a4302 1
#line 4301 "configure"
d4429 1
a4429 1
if { (eval echo "$as_me:4428: \"$ac_link\"") >&5
d4432 1
a4432 1
  echo "$as_me:4431: \$? = $ac_status" >&5
d4434 1
a4434 1
  { (eval echo "$as_me:4433: \"$ac_try\"") >&5
d4437 1
a4437 1
  echo "$as_me:4436: \$? = $ac_status" >&5
d4449 1
a4449 1
echo "$as_me:4448: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4466 1
a4466 1
echo "$as_me:4465: checking for $ac_func" >&5
d4472 1
a4472 1
#line 4471 "configure"
d4503 1
a4503 1
if { (eval echo "$as_me:4502: \"$ac_link\"") >&5
d4506 1
a4506 1
  echo "$as_me:4505: \$? = $ac_status" >&5
d4509 1
a4509 1
  { (eval echo "$as_me:4508: \"$ac_try\"") >&5
d4512 1
a4512 1
  echo "$as_me:4511: \$? = $ac_status" >&5
d4522 1
a4522 1
echo "$as_me:4521: result: `eval echo '${'$as_ac_var'}'`" >&5
d4539 1
a4539 1
echo "$as_me:4538: checking for $ac_func" >&5
d4545 1
a4545 1
#line 4544 "configure"
d4576 1
a4576 1
if { (eval echo "$as_me:4575: \"$ac_link\"") >&5
d4579 1
a4579 1
  echo "$as_me:4578: \$? = $ac_status" >&5
d4582 1
a4582 1
  { (eval echo "$as_me:4581: \"$ac_try\"") >&5
d4585 1
a4585 1
  echo "$as_me:4584: \$? = $ac_status" >&5
d4595 1
a4595 1
echo "$as_me:4594: result: `eval echo '${'$as_ac_var'}'`" >&5
d4605 1
a4605 1
echo "$as_me:4604: checking for mkstemp" >&5
d4614 1
a4614 1
#line 4613 "configure"
d4627 1
a4627 1
if { (eval echo "$as_me:4626: \"$ac_link\"") >&5
d4630 1
a4630 1
  echo "$as_me:4629: \$? = $ac_status" >&5
d4633 1
a4633 1
  { (eval echo "$as_me:4632: \"$ac_try\"") >&5
d4636 1
a4636 1
  echo "$as_me:4635: \$? = $ac_status" >&5
d4638 1
a4638 1
  echo "$as_me:4637: result: yes" >&5
d4647 1
a4647 1
echo "$as_me:4646: result: no" >&5
d4657 1
a4657 1
echo "$as_me:4656: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4663 1
a4663 1
#line 4662 "configure"
d4681 1
a4681 1
if { (eval echo "$as_me:4680: \"$ac_compile\"") >&5
d4684 1
a4684 1
  echo "$as_me:4683: \$? = $ac_status" >&5
d4687 1
a4687 1
  { (eval echo "$as_me:4686: \"$ac_try\"") >&5
d4690 1
a4690 1
  echo "$as_me:4689: \$? = $ac_status" >&5
d4700 1
a4700 1
echo "$as_me:4699: result: $ac_cv_decl_sys_siglist" >&5
d4716 1
a4716 1
echo "$as_me:4715: checking whether ANSI array delete syntax supported" >&5
d4719 1
a4719 1
#line 4718 "configure"
d4731 1
a4731 1
if { (eval echo "$as_me:4730: \"$ac_compile\"") >&5
d4734 1
a4734 1
  echo "$as_me:4733: \$? = $ac_status" >&5
d4737 1
a4737 1
  { (eval echo "$as_me:4736: \"$ac_try\"") >&5
d4740 1
a4740 1
  echo "$as_me:4739: \$? = $ac_status" >&5
d4742 1
a4742 1
  echo "$as_me:4741: result: yes" >&5
d4747 1
a4747 1
echo "$as_me:4746: result: no" >&5
d4767 1
a4767 1
echo "$as_me:4766: checking traditional preprocessor" >&5
d4770 1
a4770 1
#line 4769 "configure"
d4782 1
a4782 1
if { (eval echo "$as_me:4781: \"$ac_compile\"") >&5
d4785 1
a4785 1
  echo "$as_me:4784: \$? = $ac_status" >&5
d4788 1
a4788 1
  { (eval echo "$as_me:4787: \"$ac_try\"") >&5
d4791 1
a4791 1
  echo "$as_me:4790: \$? = $ac_status" >&5
d4793 1
a4793 1
  echo "$as_me:4792: result: yes" >&5
d4802 1
a4802 1
echo "$as_me:4801: result: no" >&5
d4812 1
a4812 1
echo "$as_me:4811: checking w_coredump" >&5
d4815 1
a4815 1
  echo "$as_me:4814: result: no" >&5
d4819 1
a4819 1
#line 4818 "configure"
d4835 1
a4835 1
if { (eval echo "$as_me:4834: \"$ac_link\"") >&5
d4838 1
a4838 1
  echo "$as_me:4837: \$? = $ac_status" >&5
d4840 1
a4840 1
  { (eval echo "$as_me:4839: \"$ac_try\"") >&5
d4843 1
a4843 1
  echo "$as_me:4842: \$? = $ac_status" >&5
d4845 1
a4845 1
  echo "$as_me:4844: result: yes" >&5
d4855 1
a4855 1
echo "$as_me:4854: result: no" >&5
d4860 1
a4860 1
echo "$as_me:4859: checking default value for grops -b option" >&5
d4863 1
a4863 1
echo "$as_me:4862: result: $BROKEN_SPOOLER_FLAGS" >&5
d4866 1
a4866 1
echo "$as_me:4865: checking default paper size" >&5
d4912 1
a4912 1
echo "$as_me:4911: result: $PAGE" >&5
d4915 1
a4915 1
echo "$as_me:4914: checking for existing troff installation" >&5
d4918 1
a4918 1
	echo "$as_me:4917: result: yes" >&5
d4922 1
a4922 1
	echo "$as_me:4921: result: no" >&5
d4927 1
a4927 1
echo "$as_me:4926: checking for prefix of system macro packages" >&5
d4944 1
a4944 1
echo "$as_me:4943: result: $sys_tmac_prefix" >&5
d4948 1
a4948 1
echo "$as_me:4947: checking which system macro packages should be made available" >&5
d4984 1
a4984 1
echo "$as_me:4983: result: $tmac_wrap" >&5
d5070 1
a5070 1
{ echo "$as_me:5069: creating $CONFIG_STATUS" >&5
d5243 1
a5243 1
    { { echo "$as_me:5242: error: ambiguous option: $1
d5262 1
a5262 1
  -*) { { echo "$as_me:5261: error: unrecognized option: $1
d5301 1
a5301 1
  *) { { echo "$as_me:5300: error: invalid argument: $ac_config_target" >&5
d5394 1
d5531 1
a5531 1
    { echo "$as_me:5529: creating $ac_file" >&5
d5549 1
a5549 1
         test -f "$f" || { { echo "$as_me:5547: error: cannot find input file: $f" >&5
d5562 1
a5562 1
           { { echo "$as_me:5560: error: cannot find input file: $f" >&5
d5627 1
a5627 1
  test x"$ac_file" != x- && { echo "$as_me:5625: creating $ac_file" >&5
d5638 1
a5638 1
         test -f "$f" || { { echo "$as_me:5636: error: cannot find input file: $f" >&5
d5651 1
a5651 1
           { { echo "$as_me:5649: error: cannot find input file: $f" >&5
d5768 1
a5768 1
      { echo "$as_me:5766: $ac_file is unchanged" >&5
d5835 1
a5835 1
{ echo "$as_me:5833:
@


1.29
log
@

* configure: Regenerated with autoconf 2.52.

* doc/groff.texinfo: Complete revision of indices.

* doc/Makefile (clean): Updated to delete all indices.
@
text
@d4604 2
d4612 2
a4613 7
echo "$as_me:4610: checking for mkstemp" >&5
echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
if test "${ac_cv_func_mkstemp+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line 4616 "configure"
d4615 2
a4616 12
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mkstemp (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mkstemp ();
char (*f) ();

a4619 6
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_mkstemp) || defined (__stub___mkstemp)
choke me
#else
a4620 2
#endif

d4626 1
a4626 1
if { (eval echo "$as_me:4647: \"$ac_link\"") >&5
d4629 1
a4629 1
  echo "$as_me:4650: \$? = $ac_status" >&5
d4632 1
a4632 1
  { (eval echo "$as_me:4653: \"$ac_try\"") >&5
d4635 1
a4635 1
  echo "$as_me:4656: \$? = $ac_status" >&5
d4637 2
a4638 12
  ac_cv_func_mkstemp=yes
else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_mkstemp=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:4666: result: $ac_cv_func_mkstemp" >&5
echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
if test $ac_cv_func_mkstemp = yes; then

d4644 4
a4647 1
  LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
d4649 1
a4649 1

d4656 1
a4656 1
echo "$as_me:4684: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4662 1
a4662 1
#line 4690 "configure"
d4680 1
a4680 1
if { (eval echo "$as_me:4708: \"$ac_compile\"") >&5
d4683 1
a4683 1
  echo "$as_me:4711: \$? = $ac_status" >&5
d4686 1
a4686 1
  { (eval echo "$as_me:4714: \"$ac_try\"") >&5
d4689 1
a4689 1
  echo "$as_me:4717: \$? = $ac_status" >&5
d4699 1
a4699 1
echo "$as_me:4727: result: $ac_cv_decl_sys_siglist" >&5
d4715 1
a4715 1
echo "$as_me:4743: checking whether ANSI array delete syntax supported" >&5
d4718 1
a4718 1
#line 4746 "configure"
d4730 1
a4730 1
if { (eval echo "$as_me:4758: \"$ac_compile\"") >&5
d4733 1
a4733 1
  echo "$as_me:4761: \$? = $ac_status" >&5
d4736 1
a4736 1
  { (eval echo "$as_me:4764: \"$ac_try\"") >&5
d4739 1
a4739 1
  echo "$as_me:4767: \$? = $ac_status" >&5
d4741 1
a4741 1
  echo "$as_me:4769: result: yes" >&5
d4746 1
a4746 1
echo "$as_me:4774: result: no" >&5
d4766 1
a4766 1
echo "$as_me:4794: checking traditional preprocessor" >&5
d4769 1
a4769 1
#line 4797 "configure"
d4781 1
a4781 1
if { (eval echo "$as_me:4809: \"$ac_compile\"") >&5
d4784 1
a4784 1
  echo "$as_me:4812: \$? = $ac_status" >&5
d4787 1
a4787 1
  { (eval echo "$as_me:4815: \"$ac_try\"") >&5
d4790 1
a4790 1
  echo "$as_me:4818: \$? = $ac_status" >&5
d4792 1
a4792 1
  echo "$as_me:4820: result: yes" >&5
d4801 1
a4801 1
echo "$as_me:4829: result: no" >&5
d4811 1
a4811 1
echo "$as_me:4839: checking w_coredump" >&5
d4814 1
a4814 1
  echo "$as_me:4842: result: no" >&5
d4818 1
a4818 1
#line 4846 "configure"
d4834 1
a4834 1
if { (eval echo "$as_me:4862: \"$ac_link\"") >&5
d4837 1
a4837 1
  echo "$as_me:4865: \$? = $ac_status" >&5
d4839 1
a4839 1
  { (eval echo "$as_me:4867: \"$ac_try\"") >&5
d4842 1
a4842 1
  echo "$as_me:4870: \$? = $ac_status" >&5
d4844 1
a4844 1
  echo "$as_me:4872: result: yes" >&5
d4854 1
a4854 1
echo "$as_me:4882: result: no" >&5
d4859 1
a4859 1
echo "$as_me:4887: checking default value for grops -b option" >&5
d4862 1
a4862 1
echo "$as_me:4890: result: $BROKEN_SPOOLER_FLAGS" >&5
d4865 1
a4865 1
echo "$as_me:4893: checking default paper size" >&5
d4911 1
a4911 1
echo "$as_me:4939: result: $PAGE" >&5
d4914 1
a4914 1
echo "$as_me:4942: checking for existing troff installation" >&5
d4917 1
a4917 1
	echo "$as_me:4945: result: yes" >&5
d4921 1
a4921 1
	echo "$as_me:4949: result: no" >&5
d4926 1
a4926 1
echo "$as_me:4954: checking for prefix of system macro packages" >&5
d4943 1
a4943 1
echo "$as_me:4971: result: $sys_tmac_prefix" >&5
d4947 1
a4947 1
echo "$as_me:4975: checking which system macro packages should be made available" >&5
d4983 1
a4983 1
echo "$as_me:5011: result: $tmac_wrap" >&5
d5069 1
a5069 1
{ echo "$as_me:5097: creating $CONFIG_STATUS" >&5
d5242 1
a5242 1
    { { echo "$as_me:5270: error: ambiguous option: $1
d5261 1
a5261 1
  -*) { { echo "$as_me:5289: error: unrecognized option: $1
d5300 1
a5300 1
  *) { { echo "$as_me:5328: error: invalid argument: $ac_config_target" >&5
d5529 1
a5529 1
    { echo "$as_me:5557: creating $ac_file" >&5
d5547 1
a5547 1
         test -f "$f" || { { echo "$as_me:5575: error: cannot find input file: $f" >&5
d5560 1
a5560 1
           { { echo "$as_me:5588: error: cannot find input file: $f" >&5
d5625 1
a5625 1
  test x"$ac_file" != x- && { echo "$as_me:5653: creating $ac_file" >&5
d5636 1
a5636 1
         test -f "$f" || { { echo "$as_me:5664: error: cannot find input file: $f" >&5
d5649 1
a5649 1
           { { echo "$as_me:5677: error: cannot find input file: $f" >&5
d5766 1
a5766 1
      { echo "$as_me:5794: $ac_file is unchanged" >&5
d5833 1
a5833 1
{ echo "$as_me:5861:
@


1.28
log
@
* doc/pic.ms: Replace `\\' with `\e' (and fixing some single backslashes).
Many other minor fixes.

* configure.ac: Add message at end to inform how to compile xditview.
@
text
@d3 1
a3 1
# Generated by Autoconf 2.50.
d10 13
a106 10
# Avoid depending upon Character Ranges.
ac_cr_az='abcdefghijklmnopqrstuvwxyz'
ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ac_cr_09='0123456789'
ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09

# Sed expression to map a string onto a valid sh and CPP variable names.
ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"

d108 36
d235 1
a235 1
    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
d244 1
a244 1
    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
d426 1
a426 1
    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
d439 1
a439 1
    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
d471 1
a471 1
    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
d481 1
a481 1
    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
d496 11
d508 1
a508 2
              localstatedir libdir includedir oldincludedir infodir mandir \
              exec_prefix prefix
a512 1
    NONE ) ;;
d741 1
a741 1
generated by GNU Autoconf 2.50.  Invocation command line was
d820 1
a820 1
    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d824 1
a824 1
        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d845 1
a845 1
  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
d865 1
a865 1
    { echo "$as_me:817: loading site script $ac_site_file" >&5
d876 1
a876 1
    { echo "$as_me:828: loading cache $cache_file" >&5
d884 1
a884 1
  { echo "$as_me:836: creating cache $cache_file" >&5
d891 1
a891 1
ac_suggest_removing_cache=false
d900 3
a902 3
      { echo "$as_me:852: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
      ac_suggest_removing_cache=: ;;
d904 3
a906 3
      { echo "$as_me:856: WARNING: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
      ac_suggest_removing_cache=: ;;
d910 7
a916 7
        { echo "$as_me:862: WARNING: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
        { echo "$as_me:864: WARNING:   former value:  $ac_old_val" >&5
echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
        { echo "$as_me:866: WARNING:   current value: $ac_new_val" >&5
echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
        ac_suggest_removing_cache=:
d919 12
d932 6
a937 5
if $ac_suggest_removing_cache; then
  { echo "$as_me:873: WARNING: changes in the environment can compromise the build" >&5
echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
  { echo "$as_me:875: WARNING: consider removing $cache_file and starting over" >&5
echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
d955 1
a955 1
if { (echo "$as_me:894: PATH=\".;.\"; conftest.sh") >&5
d958 1
a958 1
  echo "$as_me:897: \$? = $ac_status" >&5
d981 1
a981 1
echo "$as_me:920: checking for $ac_word" >&5
d996 1
a996 1
echo "$as_me:935: found $ac_dir/$ac_word" >&5
d1004 1
a1004 1
  echo "$as_me:943: result: $CC" >&5
d1007 1
a1007 1
  echo "$as_me:946: result: no" >&5
d1016 1
a1016 1
echo "$as_me:955: checking for $ac_word" >&5
d1031 1
a1031 1
echo "$as_me:970: found $ac_dir/$ac_word" >&5
d1039 1
a1039 1
  echo "$as_me:978: result: $ac_ct_CC" >&5
d1042 1
a1042 1
  echo "$as_me:981: result: no" >&5
d1055 1
a1055 1
echo "$as_me:994: checking for $ac_word" >&5
d1070 1
a1070 1
echo "$as_me:1009: found $ac_dir/$ac_word" >&5
d1078 1
a1078 1
  echo "$as_me:1017: result: $CC" >&5
d1081 1
a1081 1
  echo "$as_me:1020: result: no" >&5
d1090 1
a1090 1
echo "$as_me:1029: checking for $ac_word" >&5
d1105 1
a1105 1
echo "$as_me:1044: found $ac_dir/$ac_word" >&5
d1113 1
a1113 1
  echo "$as_me:1052: result: $ac_ct_CC" >&5
d1116 1
a1116 1
  echo "$as_me:1055: result: no" >&5
d1129 1
a1129 1
echo "$as_me:1068: checking for $ac_word" >&5
d1149 1
a1149 1
echo "$as_me:1088: found $ac_dir/$ac_word" >&5
d1171 1
a1171 1
  echo "$as_me:1110: result: $CC" >&5
d1174 1
a1174 1
  echo "$as_me:1113: result: no" >&5
d1185 1
a1185 1
echo "$as_me:1124: checking for $ac_word" >&5
d1200 1
a1200 1
echo "$as_me:1139: found $ac_dir/$ac_word" >&5
d1208 1
a1208 1
  echo "$as_me:1147: result: $CC" >&5
d1211 1
a1211 1
  echo "$as_me:1150: result: no" >&5
d1224 1
a1224 1
echo "$as_me:1163: checking for $ac_word" >&5
d1239 1
a1239 1
echo "$as_me:1178: found $ac_dir/$ac_word" >&5
d1247 1
a1247 1
  echo "$as_me:1186: result: $ac_ct_CC" >&5
d1250 1
a1250 1
  echo "$as_me:1189: result: no" >&5
d1262 1
a1262 1
test -z "$CC" && { { echo "$as_me:1201: error: no acceptable cc found in \$PATH" >&5
d1266 20
d1287 1
a1287 1
#line 1206 "configure"
d1301 1
a1301 1
# It will help us diagnose broken compiler, and finding out an intuition
d1303 1
a1303 1
echo "$as_me:1222: checking for C compiler default output" >&5
d1306 1
a1306 1
if { (eval echo "$as_me:1225: \"$ac_link_default\"") >&5
d1309 1
a1309 1
  echo "$as_me:1228: \$? = $ac_status" >&5
d1311 6
a1316 1
  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
d1323 1
d1332 1
a1332 1
{ { echo "$as_me:1245: error: C compiler cannot create executables" >&5
d1338 1
a1338 1
echo "$as_me:1251: result: $ac_file" >&5
d1343 1
a1343 1
echo "$as_me:1256: checking whether the C compiler works" >&5
d1349 1
a1349 1
  { (eval echo "$as_me:1262: \"$ac_try\"") >&5
d1352 1
a1352 1
  echo "$as_me:1265: \$? = $ac_status" >&5
d1359 1
a1359 1
	{ { echo "$as_me:1272: error: cannot run C compiled programs.
d1367 1
a1367 1
echo "$as_me:1280: result: yes" >&5
d1374 1
a1374 1
echo "$as_me:1287: checking whether we are cross compiling" >&5
d1376 1
a1376 1
echo "$as_me:1289: result: $cross_compiling" >&5
d1379 1
a1379 1
echo "$as_me:1292: checking for executable suffix" >&5
d1381 1
a1381 1
if { (eval echo "$as_me:1294: \"$ac_link\"") >&5
d1384 1
a1384 1
  echo "$as_me:1297: \$? = $ac_status" >&5
d1400 1
a1400 1
  { { echo "$as_me:1313: error: cannot compute EXEEXT: cannot compile and link" >&5
d1406 1
a1406 1
echo "$as_me:1319: result: $ac_cv_exeext" >&5
d1412 1
a1412 1
echo "$as_me:1325: checking for object suffix" >&5
d1418 1
a1418 1
#line 1331 "configure"
d1430 1
a1430 1
if { (eval echo "$as_me:1343: \"$ac_compile\"") >&5
d1433 1
a1433 1
  echo "$as_me:1346: \$? = $ac_status" >&5
d1445 1
a1445 1
{ { echo "$as_me:1358: error: cannot compute OBJEXT: cannot compile" >&5
d1452 1
a1452 1
echo "$as_me:1365: result: $ac_cv_objext" >&5
d1456 1
a1456 1
echo "$as_me:1369: checking whether we are using the GNU C compiler" >&5
d1462 1
a1462 1
#line 1375 "configure"
d1477 1
a1477 1
if { (eval echo "$as_me:1390: \"$ac_compile\"") >&5
d1480 1
a1480 1
  echo "$as_me:1393: \$? = $ac_status" >&5
d1483 1
a1483 1
  { (eval echo "$as_me:1396: \"$ac_try\"") >&5
d1486 1
a1486 1
  echo "$as_me:1399: \$? = $ac_status" >&5
d1498 1
a1498 1
echo "$as_me:1411: result: $ac_cv_c_compiler_gnu" >&5
d1504 1
a1504 1
echo "$as_me:1417: checking whether $CC accepts -g" >&5
d1510 1
a1510 1
#line 1423 "configure"
d1522 1
a1522 1
if { (eval echo "$as_me:1435: \"$ac_compile\"") >&5
d1525 1
a1525 1
  echo "$as_me:1438: \$? = $ac_status" >&5
d1528 1
a1528 1
  { (eval echo "$as_me:1441: \"$ac_try\"") >&5
d1531 1
a1531 1
  echo "$as_me:1444: \$? = $ac_status" >&5
d1541 1
a1541 1
echo "$as_me:1454: result: $ac_cv_prog_cc_g" >&5
d1568 1
a1568 1
if { (eval echo "$as_me:1481: \"$ac_compile\"") >&5
d1571 1
a1571 1
  echo "$as_me:1484: \$? = $ac_status" >&5
d1574 1
a1574 1
  { (eval echo "$as_me:1487: \"$ac_try\"") >&5
d1577 1
a1577 1
  echo "$as_me:1490: \$? = $ac_status" >&5
d1589 1
a1589 1
#line 1502 "configure"
d1602 1
a1602 1
if { (eval echo "$as_me:1515: \"$ac_compile\"") >&5
d1605 1
a1605 1
  echo "$as_me:1518: \$? = $ac_status" >&5
d1608 1
a1608 1
  { (eval echo "$as_me:1521: \"$ac_try\"") >&5
d1611 1
a1611 1
  echo "$as_me:1524: \$? = $ac_status" >&5
d1621 1
a1621 1
#line 1534 "configure"
d1633 1
a1633 1
if { (eval echo "$as_me:1546: \"$ac_compile\"") >&5
d1636 1
a1636 1
  echo "$as_me:1549: \$? = $ac_status" >&5
d1639 1
a1639 1
  { (eval echo "$as_me:1552: \"$ac_try\"") >&5
d1642 1
a1642 1
  echo "$as_me:1555: \$? = $ac_status" >&5
d1651 6
a1656 3
echo '#ifdef __cplusplus' >>confdefs.h
echo $ac_declaration      >>confdefs.h
echo '#endif'             >>confdefs.h
d1675 1
a1675 1
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
d1679 1
a1679 1
echo "$as_me:1589: checking for $ac_word" >&5
d1694 1
a1694 1
echo "$as_me:1604: found $ac_dir/$ac_word" >&5
d1702 1
a1702 1
  echo "$as_me:1612: result: $CXX" >&5
d1705 1
a1705 1
  echo "$as_me:1615: result: no" >&5
d1714 1
a1714 1
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
d1718 1
a1718 1
echo "$as_me:1628: checking for $ac_word" >&5
d1733 1
a1733 1
echo "$as_me:1643: found $ac_dir/$ac_word" >&5
d1741 1
a1741 1
  echo "$as_me:1651: result: $ac_ct_CXX" >&5
d1744 1
a1744 1
  echo "$as_me:1654: result: no" >&5
d1755 21
a1775 1
echo "$as_me:1665: checking whether we are using the GNU C++ compiler" >&5
d1781 1
a1781 1
#line 1671 "configure"
d1796 1
a1796 1
if { (eval echo "$as_me:1686: \"$ac_compile\"") >&5
d1799 1
a1799 1
  echo "$as_me:1689: \$? = $ac_status" >&5
d1802 1
a1802 1
  { (eval echo "$as_me:1692: \"$ac_try\"") >&5
d1805 1
a1805 1
  echo "$as_me:1695: \$? = $ac_status" >&5
d1817 1
a1817 1
echo "$as_me:1707: result: $ac_cv_cxx_compiler_gnu" >&5
d1823 1
a1823 1
echo "$as_me:1713: checking whether $CXX accepts -g" >&5
d1829 1
a1829 1
#line 1719 "configure"
d1841 1
a1841 1
if { (eval echo "$as_me:1731: \"$ac_compile\"") >&5
d1844 1
a1844 1
  echo "$as_me:1734: \$? = $ac_status" >&5
d1847 1
a1847 1
  { (eval echo "$as_me:1737: \"$ac_try\"") >&5
d1850 1
a1850 1
  echo "$as_me:1740: \$? = $ac_status" >&5
d1860 1
a1860 1
echo "$as_me:1750: result: $ac_cv_prog_cxx_g" >&5
d1887 1
a1887 1
#line 1777 "configure"
d1900 1
a1900 1
if { (eval echo "$as_me:1790: \"$ac_compile\"") >&5
d1903 1
a1903 1
  echo "$as_me:1793: \$? = $ac_status" >&5
d1906 1
a1906 1
  { (eval echo "$as_me:1796: \"$ac_try\"") >&5
d1909 1
a1909 1
  echo "$as_me:1799: \$? = $ac_status" >&5
d1919 1
a1919 1
#line 1809 "configure"
d1931 1
a1931 1
if { (eval echo "$as_me:1821: \"$ac_compile\"") >&5
d1934 1
a1934 1
  echo "$as_me:1824: \$? = $ac_status" >&5
d1937 1
a1937 1
  { (eval echo "$as_me:1827: \"$ac_try\"") >&5
d1940 1
a1940 1
  echo "$as_me:1830: \$? = $ac_status" >&5
d1949 6
a1954 3
echo '#ifdef __cplusplus' >>confdefs.h
echo $ac_declaration      >>confdefs.h
echo '#endif'             >>confdefs.h
d1969 1
a1969 1
	echo "$as_me:1856: checking that C++ compiler can compile simple program" >&5
d1976 1
a1976 1
#line 1863 "configure"
d1981 1
a1981 1
if { (eval echo "$as_me:1868: \"$ac_link\"") >&5
d1984 1
a1984 1
  echo "$as_me:1871: \$? = $ac_status" >&5
d1986 1
a1986 1
  { (eval echo "$as_me:1873: \"$ac_try\"") >&5
d1989 1
a1989 1
  echo "$as_me:1876: \$? = $ac_status" >&5
d1991 1
a1991 1
  echo "$as_me:1878: result: yes" >&5
d1997 2
a1998 2
echo "$as_me:1884: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1885: error: a working C++ compiler is required" >&5
d2002 1
a2002 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
d2005 1
a2005 1
	echo "$as_me:1892: checking that C++ static constructors and destructors are called" >&5
d2012 1
a2012 1
#line 1899 "configure"
d2029 1
a2029 1
if { (eval echo "$as_me:1916: \"$ac_link\"") >&5
d2032 1
a2032 1
  echo "$as_me:1919: \$? = $ac_status" >&5
d2034 1
a2034 1
  { (eval echo "$as_me:1921: \"$ac_try\"") >&5
d2037 1
a2037 1
  echo "$as_me:1924: \$? = $ac_status" >&5
d2039 1
a2039 1
  echo "$as_me:1926: result: yes" >&5
d2045 2
a2046 2
echo "$as_me:1932: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1933: error: a working C++ compiler is required" >&5
d2050 1
a2050 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
d2052 1
a2052 1
echo "$as_me:1939: checking that header files support C++" >&5
d2055 1
a2055 1
#line 1942 "configure"
d2067 1
a2067 1
if { (eval echo "$as_me:1954: \"$ac_link\"") >&5
d2070 1
a2070 1
  echo "$as_me:1957: \$? = $ac_status" >&5
d2073 1
a2073 1
  { (eval echo "$as_me:1960: \"$ac_try\"") >&5
d2076 1
a2076 1
  echo "$as_me:1963: \$? = $ac_status" >&5
d2078 1
a2078 1
  echo "$as_me:1965: result: yes" >&5
d2083 2
a2084 2
echo "$as_me:1970: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1971: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
d2095 1
a2095 1
echo "$as_me:1982: checking whether character set is EBCDIC" >&5
d2098 1
a2098 1
#line 1985 "configure"
d2115 1
a2115 1
if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
d2118 1
a2118 1
  echo "$as_me:2005: \$? = $ac_status" >&5
d2121 1
a2121 1
  { (eval echo "$as_me:2008: \"$ac_try\"") >&5
d2124 1
a2124 1
  echo "$as_me:2011: \$? = $ac_status" >&5
d2128 1
a2128 1
 echo "$as_me:2015: result: yes" >&5
d2140 1
a2140 1
 echo "$as_me:2027: result: no" >&5
d2146 1
a2146 1
	echo "$as_me:2033: checking for OS/390 Unix" >&5
d2151 1
a2151 1
		echo "$as_me:2038: result: yes" >&5
d2154 1
a2154 1
		echo "$as_me:2041: result: no" >&5
d2163 1
a2163 1
echo "$as_me:2050: checking for $ac_word" >&5
d2178 1
a2178 1
echo "$as_me:2065: found $ac_dir/$ac_word" >&5
d2186 1
a2186 1
  echo "$as_me:2073: result: $LPR" >&5
d2189 1
a2189 1
  echo "$as_me:2076: result: no" >&5
d2200 1
a2200 1
echo "$as_me:2087: checking for $ac_word" >&5
d2215 1
a2215 1
echo "$as_me:2102: found $ac_dir/$ac_word" >&5
d2223 1
a2223 1
  echo "$as_me:2110: result: $LP" >&5
d2226 1
a2226 1
  echo "$as_me:2113: result: no" >&5
d2241 1
a2241 1
echo "$as_me:2128: checking for $ac_word" >&5
d2256 1
a2256 1
echo "$as_me:2143: found $ac_dir/$ac_word" >&5
d2264 1
a2264 1
  echo "$as_me:2151: result: $LPQ" >&5
d2267 1
a2267 1
  echo "$as_me:2154: result: no" >&5
d2283 1
a2283 1
echo "$as_me:2170: checking for command to use for printing PostScript files" >&5
d2285 1
a2285 1
echo "$as_me:2172: result: $PSPRINT" >&5
d2288 1
a2288 1
echo "$as_me:2175: checking for command to use for printing dvi files" >&5
d2298 1
a2298 1
echo "$as_me:2185: result: $DVIPRINT" >&5
d2302 1
a2302 1
echo "$as_me:2189: checking for $ac_word" >&5
d2319 1
a2319 1
   echo "$as_me:2206: found $ac_dir/$ac_word" >&5
d2331 1
a2331 1
  echo "$as_me:2218: result: $PERLPATH" >&5
d2334 1
a2334 1
  echo "$as_me:2221: result: no" >&5
d2342 1
a2342 1
echo "$as_me:2229: checking for $ac_word" >&5
d2357 1
a2357 1
echo "$as_me:2244: found $ac_dir/$ac_word" >&5
d2365 1
a2365 1
  echo "$as_me:2252: result: $YACC" >&5
d2368 1
a2368 1
  echo "$as_me:2255: result: no" >&5
d2379 1
a2379 1
echo "$as_me:2266: checking for $ac_word" >&5
d2394 1
a2394 1
echo "$as_me:2281: found $ac_dir/$ac_word" >&5
d2402 1
a2402 1
  echo "$as_me:2289: result: $RANLIB" >&5
d2405 1
a2405 1
  echo "$as_me:2292: result: no" >&5
d2414 1
a2414 1
echo "$as_me:2301: checking for $ac_word" >&5
d2429 1
a2429 1
echo "$as_me:2316: found $ac_dir/$ac_word" >&5
d2438 1
a2438 1
  echo "$as_me:2325: result: $ac_ct_RANLIB" >&5
d2441 1
a2441 1
  echo "$as_me:2328: result: no" >&5
d2467 1
a2467 1
  { { echo "$as_me:2354: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2489 1
a2489 1
echo "$as_me:2376: checking for a BSD compatible install" >&5
d2538 1
a2538 1
echo "$as_me:2425: result: $INSTALL" >&5
d2549 1
a2549 1
echo "$as_me:2436: checking whether ln -s works" >&5
d2553 1
a2553 1
  echo "$as_me:2440: result: yes" >&5
d2556 1
a2556 1
  echo "$as_me:2443: result: no, using $LN_S" >&5
d2560 1
a2560 1
echo "$as_me:2447: checking for csh hash hack" >&5
d2570 1
a2570 1
	echo "$as_me:2457: result: yes" >&5
d2573 1
a2573 1
	echo "$as_me:2460: result: no" >&5
d2583 1
a2583 1
echo "$as_me:2470: checking how to run the C preprocessor" >&5
a2595 1
      # break 2 since there is a loop in there.
d2604 1
a2604 1
#line 2492 "configure"
d2609 1
a2609 1
if { (eval echo "$as_me:2497: \"$ac_cpp conftest.$ac_ext\"") >&5
d2615 1
a2615 1
  echo "$as_me:2503: \$? = $ac_status" >&5
d2638 1
a2638 1
#line 2526 "configure"
d2642 1
a2642 1
if { (eval echo "$as_me:2530: \"$ac_cpp conftest.$ac_ext\"") >&5
d2648 1
a2648 1
  echo "$as_me:2536: \$? = $ac_status" >&5
d2674 1
a2674 1
  break 2
d2685 1
a2685 1
echo "$as_me:2573: result: $CPP" >&5
d2695 1
a2695 1
#line 2583 "configure"
d2700 1
a2700 1
if { (eval echo "$as_me:2588: \"$ac_cpp conftest.$ac_ext\"") >&5
d2706 1
a2706 1
  echo "$as_me:2594: \$? = $ac_status" >&5
d2729 1
a2729 1
#line 2617 "configure"
d2733 1
a2733 1
if { (eval echo "$as_me:2621: \"$ac_cpp conftest.$ac_ext\"") >&5
d2739 1
a2739 1
  echo "$as_me:2627: \$? = $ac_status" >&5
d2767 1
a2767 1
  { { echo "$as_me:2655: error: C preprocessor \"$CPP\" fails sanity check" >&5
d2781 2
a2782 2
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo "$as_me:2670: checking for $ac_header" >&5
d2784 1
a2784 1
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
d2788 1
a2788 1
#line 2676 "configure"
d2792 1
a2792 1
if { (eval echo "$as_me:2680: \"$ac_cpp conftest.$ac_ext\"") >&5
d2798 1
a2798 1
  echo "$as_me:2686: \$? = $ac_status" >&5
d2809 1
a2809 1
  eval "$ac_ac_Header=yes"
d2813 1
a2813 1
  eval "$ac_ac_Header=no"
d2817 3
a2819 3
echo "$as_me:2705: result: `eval echo '${'$ac_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
d2821 1
a2821 1
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
d2827 1
a2827 1
echo "$as_me:2715: checking for ISC 3.x or 4.x" >&5
d2831 1
a2831 1
	echo "$as_me:2719: result: yes" >&5
d2839 1
a2839 1
	echo "$as_me:2727: result: no" >&5
d2842 1
a2842 1
echo "$as_me:2730: checking whether -D_POSIX_SOURCE is necessary" >&5
d2851 1
a2851 1
#line 2739 "configure"
d2864 1
a2864 1
if { (eval echo "$as_me:2752: \"$ac_compile\"") >&5
d2867 1
a2867 1
  echo "$as_me:2755: \$? = $ac_status" >&5
d2870 1
a2870 1
  { (eval echo "$as_me:2758: \"$ac_try\"") >&5
d2873 1
a2873 1
  echo "$as_me:2761: \$? = $ac_status" >&5
d2875 1
a2875 1
  echo "$as_me:2763: result: yes" >&5
d2884 1
a2884 1
echo "$as_me:2772: result: no" >&5
d2900 1
a2900 1
echo "$as_me:2788: checking for return type of srand" >&5
d2903 1
a2903 1
#line 2791 "configure"
d2916 1
a2916 1
if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5
d2919 1
a2919 1
  echo "$as_me:2807: \$? = $ac_status" >&5
d2922 1
a2922 1
  { (eval echo "$as_me:2810: \"$ac_try\"") >&5
d2925 1
a2925 1
  echo "$as_me:2813: \$? = $ac_status" >&5
d2927 1
a2927 1
  echo "$as_me:2815: result: void" >&5
d2936 1
a2936 1
echo "$as_me:2824: result: int" >&5
d2946 1
a2946 1
echo "$as_me:2834: checking whether gettimeofday must be declared" >&5
d2958 1
a2958 1
#line 2846 "configure"
d2989 1
a2989 1
if { (eval echo "$as_me:2877: \"$ac_compile\"") >&5
d2992 1
a2992 1
  echo "$as_me:2880: \$? = $ac_status" >&5
d2995 1
a2995 1
  { (eval echo "$as_me:2883: \"$ac_try\"") >&5
d2998 1
a2998 1
  echo "$as_me:2886: \$? = $ac_status" >&5
d3009 1
a3009 1
echo "$as_me:2897: result: $groff_cv_decl_needed_gettimeofday" >&5
d3024 1
a3024 1
echo "$as_me:2912: checking whether hypot must be declared" >&5
d3036 1
a3036 1
#line 2924 "configure"
d3067 1
a3067 1
if { (eval echo "$as_me:2955: \"$ac_compile\"") >&5
d3070 1
a3070 1
  echo "$as_me:2958: \$? = $ac_status" >&5
d3073 1
a3073 1
  { (eval echo "$as_me:2961: \"$ac_try\"") >&5
d3076 1
a3076 1
  echo "$as_me:2964: \$? = $ac_status" >&5
d3087 1
a3087 1
echo "$as_me:2975: result: $groff_cv_decl_needed_hypot" >&5
d3102 1
a3102 1
echo "$as_me:2990: checking whether popen must be declared" >&5
d3114 1
a3114 1
#line 3002 "configure"
d3145 1
a3145 1
if { (eval echo "$as_me:3033: \"$ac_compile\"") >&5
d3148 1
a3148 1
  echo "$as_me:3036: \$? = $ac_status" >&5
d3151 1
a3151 1
  { (eval echo "$as_me:3039: \"$ac_try\"") >&5
d3154 1
a3154 1
  echo "$as_me:3042: \$? = $ac_status" >&5
d3165 1
a3165 1
echo "$as_me:3053: result: $groff_cv_decl_needed_popen" >&5
d3180 1
a3180 1
echo "$as_me:3068: checking whether pclose must be declared" >&5
d3192 1
a3192 1
#line 3080 "configure"
d3223 1
a3223 1
if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
d3226 1
a3226 1
  echo "$as_me:3114: \$? = $ac_status" >&5
d3229 1
a3229 1
  { (eval echo "$as_me:3117: \"$ac_try\"") >&5
d3232 1
a3232 1
  echo "$as_me:3120: \$? = $ac_status" >&5
d3243 1
a3243 1
echo "$as_me:3131: result: $groff_cv_decl_needed_pclose" >&5
d3258 1
a3258 1
echo "$as_me:3146: checking whether putenv must be declared" >&5
d3270 1
a3270 1
#line 3158 "configure"
d3301 1
a3301 1
if { (eval echo "$as_me:3189: \"$ac_compile\"") >&5
d3304 1
a3304 1
  echo "$as_me:3192: \$? = $ac_status" >&5
d3307 1
a3307 1
  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
d3310 1
a3310 1
  echo "$as_me:3198: \$? = $ac_status" >&5
d3321 1
a3321 1
echo "$as_me:3209: result: $groff_cv_decl_needed_putenv" >&5
d3336 1
a3336 1
echo "$as_me:3224: checking whether strcasecmp must be declared" >&5
d3348 1
a3348 1
#line 3236 "configure"
d3379 1
a3379 1
if { (eval echo "$as_me:3267: \"$ac_compile\"") >&5
d3382 1
a3382 1
  echo "$as_me:3270: \$? = $ac_status" >&5
d3385 1
a3385 1
  { (eval echo "$as_me:3273: \"$ac_try\"") >&5
d3388 1
a3388 1
  echo "$as_me:3276: \$? = $ac_status" >&5
d3399 1
a3399 1
echo "$as_me:3287: result: $groff_cv_decl_needed_strcasecmp" >&5
d3414 1
a3414 1
echo "$as_me:3302: checking whether strncasecmp must be declared" >&5
d3426 1
a3426 1
#line 3314 "configure"
d3457 1
a3457 1
if { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
d3460 1
a3460 1
  echo "$as_me:3348: \$? = $ac_status" >&5
d3463 1
a3463 1
  { (eval echo "$as_me:3351: \"$ac_try\"") >&5
d3466 1
a3466 1
  echo "$as_me:3354: \$? = $ac_status" >&5
d3477 1
a3477 1
echo "$as_me:3365: result: $groff_cv_decl_needed_strncasecmp" >&5
d3498 1
a3498 1
echo "$as_me:3386: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3501 1
a3501 1
#line 3389 "configure"
d3514 1
a3514 1
if { (eval echo "$as_me:3402: \"$ac_compile\"") >&5
d3517 1
a3517 1
  echo "$as_me:3405: \$? = $ac_status" >&5
d3520 1
a3520 1
  { (eval echo "$as_me:3408: \"$ac_try\"") >&5
d3523 1
a3523 1
  echo "$as_me:3411: \$? = $ac_status" >&5
d3525 1
a3525 1
  echo "$as_me:3413: result: yes" >&5
d3534 1
a3534 1
echo "$as_me:3422: result: no" >&5
d3544 1
a3544 1
echo "$as_me:3432: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3547 1
a3547 1
#line 3435 "configure"
d3560 1
a3560 1
if { (eval echo "$as_me:3448: \"$ac_compile\"") >&5
d3563 1
a3563 1
  echo "$as_me:3451: \$? = $ac_status" >&5
d3566 1
a3566 1
  { (eval echo "$as_me:3454: \"$ac_try\"") >&5
d3569 1
a3569 1
  echo "$as_me:3457: \$? = $ac_status" >&5
d3571 1
a3571 1
  echo "$as_me:3459: result: yes" >&5
d3580 1
a3580 1
echo "$as_me:3468: result: no" >&5
d3590 1
a3590 1
echo "$as_me:3478: checking C++ <osfcn.h>" >&5
d3593 1
a3593 1
#line 3481 "configure"
d3605 1
a3605 1
if { (eval echo "$as_me:3493: \"$ac_compile\"") >&5
d3608 1
a3608 1
  echo "$as_me:3496: \$? = $ac_status" >&5
d3611 1
a3611 1
  { (eval echo "$as_me:3499: \"$ac_try\"") >&5
d3614 1
a3614 1
  echo "$as_me:3502: \$? = $ac_status" >&5
d3616 1
a3616 1
  echo "$as_me:3504: result: yes" >&5
d3625 1
a3625 1
echo "$as_me:3513: result: no" >&5
d3641 1
a3641 1
echo "$as_me:3529: checking C++ <limits.h>" >&5
d3644 1
a3644 1
#line 3532 "configure"
d3656 1
a3656 1
if { (eval echo "$as_me:3544: \"$ac_compile\"") >&5
d3659 1
a3659 1
  echo "$as_me:3547: \$? = $ac_status" >&5
d3662 1
a3662 1
  { (eval echo "$as_me:3550: \"$ac_try\"") >&5
d3665 1
a3665 1
  echo "$as_me:3553: \$? = $ac_status" >&5
d3667 1
a3667 1
  echo "$as_me:3555: result: yes" >&5
d3676 1
a3676 1
echo "$as_me:3564: result: no" >&5
d3692 1
a3692 1
echo "$as_me:3580: checking for inttypes.h" >&5
d3695 1
a3695 1
#line 3583 "configure"
d3708 1
a3708 1
if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
d3711 1
a3711 1
  echo "$as_me:3599: \$? = $ac_status" >&5
d3714 1
a3714 1
  { (eval echo "$as_me:3602: \"$ac_try\"") >&5
d3717 1
a3717 1
  echo "$as_me:3605: \$? = $ac_status" >&5
d3726 1
a3726 1
echo "$as_me:3614: result: $groff_cv_header_inttypes_h" >&5
d3740 1
a3740 1
echo "$as_me:3628: checking for unsigned long long" >&5
d3743 1
a3743 1
#line 3631 "configure"
d3756 1
a3756 1
if { (eval echo "$as_me:3644: \"$ac_link\"") >&5
d3759 1
a3759 1
  echo "$as_me:3647: \$? = $ac_status" >&5
d3762 1
a3762 1
  { (eval echo "$as_me:3650: \"$ac_try\"") >&5
d3765 1
a3765 1
  echo "$as_me:3653: \$? = $ac_status" >&5
d3774 1
a3774 1
echo "$as_me:3662: result: $groff_cv_type_unsigned_long_long" >&5
d3799 1
a3799 1
echo "$as_me:3687: checking for declaration of time_t" >&5
d3802 1
a3802 1
#line 3690 "configure"
d3814 1
a3814 1
if { (eval echo "$as_me:3702: \"$ac_compile\"") >&5
d3817 1
a3817 1
  echo "$as_me:3705: \$? = $ac_status" >&5
d3820 1
a3820 1
  { (eval echo "$as_me:3708: \"$ac_try\"") >&5
d3823 1
a3823 1
  echo "$as_me:3711: \$? = $ac_status" >&5
d3825 1
a3825 1
  echo "$as_me:3713: result: yes" >&5
d3830 1
a3830 1
echo "$as_me:3718: result: no" >&5
d3844 1
a3844 1
echo "$as_me:3732: checking return type of signal handlers" >&5
d3850 1
a3850 1
#line 3738 "configure"
d3872 1
a3872 1
if { (eval echo "$as_me:3760: \"$ac_compile\"") >&5
d3875 1
a3875 1
  echo "$as_me:3763: \$? = $ac_status" >&5
d3878 1
a3878 1
  { (eval echo "$as_me:3766: \"$ac_try\"") >&5
d3881 1
a3881 1
  echo "$as_me:3769: \$? = $ac_status" >&5
d3891 1
a3891 1
echo "$as_me:3779: result: $ac_cv_type_signal" >&5
d3898 1
a3898 1
echo "$as_me:3786: checking struct exception" >&5
d3901 1
a3901 1
#line 3789 "configure"
d3913 1
a3913 1
if { (eval echo "$as_me:3801: \"$ac_compile\"") >&5
d3916 1
a3916 1
  echo "$as_me:3804: \$? = $ac_status" >&5
d3919 1
a3919 1
  { (eval echo "$as_me:3807: \"$ac_try\"") >&5
d3922 1
a3922 1
  echo "$as_me:3810: \$? = $ac_status" >&5
d3924 1
a3924 1
  echo "$as_me:3812: result: yes" >&5
d3933 1
a3933 1
echo "$as_me:3821: result: no" >&5
d3937 1
a3937 1
echo "$as_me:3825: checking for sin in -lm" >&5
d3945 1
a3945 1
#line 3833 "configure"
d3964 1
a3964 1
if { (eval echo "$as_me:3852: \"$ac_link\"") >&5
d3967 1
a3967 1
  echo "$as_me:3855: \$? = $ac_status" >&5
d3970 1
a3970 1
  { (eval echo "$as_me:3858: \"$ac_try\"") >&5
d3973 1
a3973 1
  echo "$as_me:3861: \$? = $ac_status" >&5
d3984 1
a3984 1
echo "$as_me:3872: result: $ac_cv_lib_m_sin" >&5
d3990 185
d4177 2
a4178 2
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo "$as_me:3881: checking for $ac_header" >&5
d4180 1
a4180 1
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
d4184 1
a4184 1
#line 3887 "configure"
d4188 1
a4188 1
if { (eval echo "$as_me:3891: \"$ac_cpp conftest.$ac_ext\"") >&5
d4194 1
a4194 1
  echo "$as_me:3897: \$? = $ac_status" >&5
d4205 1
a4205 1
  eval "$ac_ac_Header=yes"
d4209 1
a4209 1
  eval "$ac_ac_Header=no"
d4213 3
a4215 3
echo "$as_me:3916: result: `eval echo '${'$ac_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
d4217 1
a4217 1
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
d4225 2
a4226 2
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
echo "$as_me:3929: checking for $ac_func" >&5
d4228 1
a4228 1
if eval "test \"\${$ac_ac_var+set}\" = set"; then
d4232 1
a4232 1
#line 3935 "configure"
d4263 1
a4263 1
if { (eval echo "$as_me:3966: \"$ac_link\"") >&5
d4266 1
a4266 1
  echo "$as_me:3969: \$? = $ac_status" >&5
d4269 1
a4269 1
  { (eval echo "$as_me:3972: \"$ac_try\"") >&5
d4272 1
a4272 1
  echo "$as_me:3975: \$? = $ac_status" >&5
d4274 1
a4274 1
  eval "$ac_ac_var=yes"
d4278 1
a4278 1
eval "$ac_ac_var=no"
d4282 3
a4284 3
echo "$as_me:3985: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
d4286 1
a4286 1
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
d4292 1
a4292 1
echo "$as_me:3995: checking for working mmap" >&5
d4301 1
a4301 1
#line 4004 "configure"
d4303 1
d4325 1
a4325 1
#include <sys/types.h>
d4329 1
a4329 3
#if STDC_HEADERS || HAVE_STDLIB_H
# include <stdlib.h>
#else
a4331 4
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/stat.h>
d4428 1
a4428 1
if { (eval echo "$as_me:4136: \"$ac_link\"") >&5
d4431 1
a4431 1
  echo "$as_me:4139: \$? = $ac_status" >&5
d4433 1
a4433 1
  { (eval echo "$as_me:4141: \"$ac_try\"") >&5
d4436 1
a4436 1
  echo "$as_me:4144: \$? = $ac_status" >&5
d4445 1
a4445 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
d4448 1
a4448 1
echo "$as_me:4156: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4464 2
a4465 2
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
echo "$as_me:4173: checking for $ac_func" >&5
d4467 1
a4467 1
if eval "test \"\${$ac_ac_var+set}\" = set"; then
d4471 1
a4471 1
#line 4179 "configure"
d4502 1
a4502 1
if { (eval echo "$as_me:4210: \"$ac_link\"") >&5
d4505 1
a4505 1
  echo "$as_me:4213: \$? = $ac_status" >&5
d4508 1
a4508 1
  { (eval echo "$as_me:4216: \"$ac_try\"") >&5
d4511 1
a4511 1
  echo "$as_me:4219: \$? = $ac_status" >&5
d4513 1
a4513 1
  eval "$ac_ac_var=yes"
d4517 1
a4517 1
eval "$ac_ac_var=no"
d4521 3
a4523 3
echo "$as_me:4229: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
d4525 1
a4525 1
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
d4537 2
a4538 2
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
echo "$as_me:4246: checking for $ac_func" >&5
d4540 1
a4540 1
if eval "test \"\${$ac_ac_var+set}\" = set"; then
d4544 1
a4544 1
#line 4252 "configure"
d4575 1
a4575 1
if { (eval echo "$as_me:4283: \"$ac_link\"") >&5
d4578 1
a4578 1
  echo "$as_me:4286: \$? = $ac_status" >&5
d4581 1
a4581 1
  { (eval echo "$as_me:4289: \"$ac_try\"") >&5
d4584 1
a4584 1
  echo "$as_me:4292: \$? = $ac_status" >&5
d4586 1
a4586 1
  eval "$ac_ac_var=yes"
d4590 1
a4590 1
eval "$ac_ac_var=no"
d4594 3
a4596 3
echo "$as_me:4302: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
d4598 1
a4598 1
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
d4610 1
a4610 1
echo "$as_me:4318: checking for mkstemp" >&5
d4616 1
a4616 1
#line 4324 "configure"
d4647 1
a4647 1
if { (eval echo "$as_me:4355: \"$ac_link\"") >&5
d4650 1
a4650 1
  echo "$as_me:4358: \$? = $ac_status" >&5
d4653 1
a4653 1
  { (eval echo "$as_me:4361: \"$ac_try\"") >&5
d4656 1
a4656 1
  echo "$as_me:4364: \$? = $ac_status" >&5
d4666 1
a4666 1
echo "$as_me:4374: result: $ac_cv_func_mkstemp" >&5
d4684 1
a4684 1
echo "$as_me:4392: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4690 1
a4690 1
#line 4398 "configure"
d4708 1
a4708 1
if { (eval echo "$as_me:4416: \"$ac_compile\"") >&5
d4711 1
a4711 1
  echo "$as_me:4419: \$? = $ac_status" >&5
d4714 1
a4714 1
  { (eval echo "$as_me:4422: \"$ac_try\"") >&5
d4717 1
a4717 1
  echo "$as_me:4425: \$? = $ac_status" >&5
d4727 1
a4727 1
echo "$as_me:4435: result: $ac_cv_decl_sys_siglist" >&5
d4743 1
a4743 1
echo "$as_me:4451: checking whether ANSI array delete syntax supported" >&5
d4746 1
a4746 1
#line 4454 "configure"
d4758 1
a4758 1
if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5
d4761 1
a4761 1
  echo "$as_me:4469: \$? = $ac_status" >&5
d4764 1
a4764 1
  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
d4767 1
a4767 1
  echo "$as_me:4475: \$? = $ac_status" >&5
d4769 1
a4769 1
  echo "$as_me:4477: result: yes" >&5
d4774 1
a4774 1
echo "$as_me:4482: result: no" >&5
d4794 1
a4794 1
echo "$as_me:4502: checking traditional preprocessor" >&5
d4797 1
a4797 1
#line 4505 "configure"
d4809 1
a4809 1
if { (eval echo "$as_me:4517: \"$ac_compile\"") >&5
d4812 1
a4812 1
  echo "$as_me:4520: \$? = $ac_status" >&5
d4815 1
a4815 1
  { (eval echo "$as_me:4523: \"$ac_try\"") >&5
d4818 1
a4818 1
  echo "$as_me:4526: \$? = $ac_status" >&5
d4820 1
a4820 1
  echo "$as_me:4528: result: yes" >&5
d4829 1
a4829 1
echo "$as_me:4537: result: no" >&5
d4839 1
a4839 1
echo "$as_me:4547: checking w_coredump" >&5
d4842 1
a4842 1
  echo "$as_me:4550: result: no" >&5
d4846 1
a4846 1
#line 4554 "configure"
d4862 1
a4862 1
if { (eval echo "$as_me:4570: \"$ac_link\"") >&5
d4865 1
a4865 1
  echo "$as_me:4573: \$? = $ac_status" >&5
d4867 1
a4867 1
  { (eval echo "$as_me:4575: \"$ac_try\"") >&5
d4870 1
a4870 1
  echo "$as_me:4578: \$? = $ac_status" >&5
d4872 1
a4872 1
  echo "$as_me:4580: result: yes" >&5
d4882 1
a4882 1
echo "$as_me:4590: result: no" >&5
d4885 1
a4885 1
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
d4887 1
a4887 1
echo "$as_me:4595: checking default value for grops -b option" >&5
d4890 1
a4890 1
echo "$as_me:4598: result: $BROKEN_SPOOLER_FLAGS" >&5
d4893 1
a4893 1
echo "$as_me:4601: checking default paper size" >&5
d4939 1
a4939 1
echo "$as_me:4647: result: $PAGE" >&5
d4942 1
a4942 1
echo "$as_me:4650: checking for existing troff installation" >&5
d4945 1
a4945 1
	echo "$as_me:4653: result: yes" >&5
d4949 1
a4949 1
	echo "$as_me:4657: result: no" >&5
d4954 1
a4954 1
echo "$as_me:4662: checking for prefix of system macro packages" >&5
d4971 1
a4971 1
echo "$as_me:4679: result: $sys_tmac_prefix" >&5
d4975 1
a4975 1
echo "$as_me:4683: checking which system macro packages should be made available" >&5
d5011 1
a5011 1
echo "$as_me:4719: result: $tmac_wrap" >&5
d5047 1
a5047 1
    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d5052 1
a5052 1
        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d5097 1
a5097 1
{ echo "$as_me:4805: creating $CONFIG_STATUS" >&5
d5226 1
a5226 1
configured by $0, generated by GNU Autoconf 2.50,
d5270 1
a5270 1
    { { echo "$as_me:4978: error: ambiguous option: $1
a5287 6
  # Handling of arguments.
  'stamp-h' ) CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  'src/xditview/Imakefile' ) CONFIG_FILES="$CONFIG_FILES src/xditview/Imakefile" ;;
  'src/include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;

d5289 1
a5289 1
  -*) { { echo "$as_me:5003: error: unrecognized option: $1
d5294 3
a5296 3
  *) { { echo "$as_me:5008: error: invalid argument: $1" >&5
echo "$as_me: error: invalid argument: $1" >&2;}
   { (exit 1); exit 1; }; };;
d5308 5
a5312 1
This file was extended by $as_me 2.50, executed with
d5320 14
d5347 1
a5347 1
  trap '{ (exit $?); exit $?; }' 1 2 13 15
d5400 3
d5557 1
a5557 1
    { echo "$as_me:5250: creating $ac_file" >&5
d5575 1
a5575 1
         test -f "$f" || { { echo "$as_me:5268: error: cannot find input file: $f" >&5
d5588 1
a5588 1
           { { echo "$as_me:5281: error: cannot find input file: $f" >&5
d5653 1
a5653 1
  test x"$ac_file" != x- && { echo "$as_me:5346: creating $ac_file" >&5
d5664 1
a5664 1
         test -f "$f" || { { echo "$as_me:5357: error: cannot find input file: $f" >&5
d5677 1
a5677 1
           { { echo "$as_me:5370: error: cannot find input file: $f" >&5
d5794 1
a5794 1
      { echo "$as_me:5487: $ac_file is unchanged" >&5
d5861 1
a5861 1
{ echo "$as_me:5554:
@


1.27
log
@

* src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
Updated to latest version of libc.

* configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
Autoconf 2.50 and newer can handle this.
* configure: Regenerated.
@
text
@d5554 20
@


1.26
log
@Use a config.h file.

* src/include/lib.h: Include config.h.
* All C files: Ditto (if necessary).
* All C++ source and header files: Include lib.h first (if
necessary).

* src/include/config.hin: New file (autogenerated by autoheader).
* stamp-h.in: New file.
* configure.ac: Updated.
* aclocal.m4: Add third parameters to AC_DEFINE macros.
(GROFF_ARRAY_DELETE): Simplified.
* Makefile.sub (DISTCLEANFILES): Updated.
Added targets for remaking config.status, config.hin, config.h,
stamp-h.in, and stamp-h.
* configure: Regenerated.


* NEWS: Updated.
@
text
@a4721 1
$srcdir/mkinstalldirs src/xditview
d4805 1
a4805 1
{ echo "$as_me:4806: creating $CONFIG_STATUS" >&5
d4978 1
a4978 1
    { { echo "$as_me:4979: error: ambiguous option: $1
d5003 1
a5003 1
  -*) { { echo "$as_me:5004: error: unrecognized option: $1
d5008 1
a5008 1
  *) { { echo "$as_me:5009: error: invalid argument: $1" >&5
d5250 1
a5250 1
    { echo "$as_me:5251: creating $ac_file" >&5
d5268 1
a5268 1
         test -f "$f" || { { echo "$as_me:5269: error: cannot find input file: $f" >&5
d5281 1
a5281 1
           { { echo "$as_me:5282: error: cannot find input file: $f" >&5
d5346 1
a5346 1
  test x"$ac_file" != x- && { echo "$as_me:5347: creating $ac_file" >&5
d5357 1
a5357 1
         test -f "$f" || { { echo "$as_me:5358: error: cannot find input file: $f" >&5
d5370 1
a5370 1
           { { echo "$as_me:5371: error: cannot find input file: $f" >&5
d5487 1
a5487 1
      { echo "$as_me:5488: $ac_file is unchanged" >&5
@


1.25
log
@* src/preproc/pic/pic.y (format_number): Use do_sprintf().
(do_sprintf): Use snprintf().


* src/libs/snprintf/*: Added an snprintf module written by Mark
Martinec.
* src/libs/libgroff/Makefile.sub: Updated.
* configure.ac: Add test for snprintf().
* Makefile.in: Updated.
* configure: Regenerated.

* src/preproc/html/pre-html.cc (make_message): Reactivate code which
uses snprintf().
@
text
@d906 2
d920 1
a920 1
echo "$as_me:918: checking for $ac_word" >&5
d935 1
a935 1
echo "$as_me:933: found $ac_dir/$ac_word" >&5
d943 1
a943 1
  echo "$as_me:941: result: $CC" >&5
d946 1
a946 1
  echo "$as_me:944: result: no" >&5
d955 1
a955 1
echo "$as_me:953: checking for $ac_word" >&5
d970 1
a970 1
echo "$as_me:968: found $ac_dir/$ac_word" >&5
d978 1
a978 1
  echo "$as_me:976: result: $ac_ct_CC" >&5
d981 1
a981 1
  echo "$as_me:979: result: no" >&5
d994 1
a994 1
echo "$as_me:992: checking for $ac_word" >&5
d1009 1
a1009 1
echo "$as_me:1007: found $ac_dir/$ac_word" >&5
d1017 1
a1017 1
  echo "$as_me:1015: result: $CC" >&5
d1020 1
a1020 1
  echo "$as_me:1018: result: no" >&5
d1029 1
a1029 1
echo "$as_me:1027: checking for $ac_word" >&5
d1044 1
a1044 1
echo "$as_me:1042: found $ac_dir/$ac_word" >&5
d1052 1
a1052 1
  echo "$as_me:1050: result: $ac_ct_CC" >&5
d1055 1
a1055 1
  echo "$as_me:1053: result: no" >&5
d1068 1
a1068 1
echo "$as_me:1066: checking for $ac_word" >&5
d1088 1
a1088 1
echo "$as_me:1086: found $ac_dir/$ac_word" >&5
d1110 1
a1110 1
  echo "$as_me:1108: result: $CC" >&5
d1113 1
a1113 1
  echo "$as_me:1111: result: no" >&5
d1124 1
a1124 1
echo "$as_me:1122: checking for $ac_word" >&5
d1139 1
a1139 1
echo "$as_me:1137: found $ac_dir/$ac_word" >&5
d1147 1
a1147 1
  echo "$as_me:1145: result: $CC" >&5
d1150 1
a1150 1
  echo "$as_me:1148: result: no" >&5
d1163 1
a1163 1
echo "$as_me:1161: checking for $ac_word" >&5
d1178 1
a1178 1
echo "$as_me:1176: found $ac_dir/$ac_word" >&5
d1186 1
a1186 1
  echo "$as_me:1184: result: $ac_ct_CC" >&5
d1189 1
a1189 1
  echo "$as_me:1187: result: no" >&5
d1201 1
a1201 1
test -z "$CC" && { { echo "$as_me:1199: error: no acceptable cc found in \$PATH" >&5
d1206 1
a1206 1
#line 1204 "configure"
d1222 1
a1222 1
echo "$as_me:1220: checking for C compiler default output" >&5
d1225 1
a1225 1
if { (eval echo "$as_me:1223: \"$ac_link_default\"") >&5
d1228 1
a1228 1
  echo "$as_me:1226: \$? = $ac_status" >&5
d1245 1
a1245 1
{ { echo "$as_me:1243: error: C compiler cannot create executables" >&5
d1251 1
a1251 1
echo "$as_me:1249: result: $ac_file" >&5
d1256 1
a1256 1
echo "$as_me:1254: checking whether the C compiler works" >&5
d1262 1
a1262 1
  { (eval echo "$as_me:1260: \"$ac_try\"") >&5
d1265 1
a1265 1
  echo "$as_me:1263: \$? = $ac_status" >&5
d1272 1
a1272 1
	{ { echo "$as_me:1270: error: cannot run C compiled programs.
d1280 1
a1280 1
echo "$as_me:1278: result: yes" >&5
d1287 1
a1287 1
echo "$as_me:1285: checking whether we are cross compiling" >&5
d1289 1
a1289 1
echo "$as_me:1287: result: $cross_compiling" >&5
d1292 1
a1292 1
echo "$as_me:1290: checking for executable suffix" >&5
d1294 1
a1294 1
if { (eval echo "$as_me:1292: \"$ac_link\"") >&5
d1297 1
a1297 1
  echo "$as_me:1295: \$? = $ac_status" >&5
d1313 1
a1313 1
  { { echo "$as_me:1311: error: cannot compute EXEEXT: cannot compile and link" >&5
d1319 1
a1319 1
echo "$as_me:1317: result: $ac_cv_exeext" >&5
d1325 1
a1325 1
echo "$as_me:1323: checking for object suffix" >&5
d1331 1
a1331 1
#line 1329 "configure"
d1343 1
a1343 1
if { (eval echo "$as_me:1341: \"$ac_compile\"") >&5
d1346 1
a1346 1
  echo "$as_me:1344: \$? = $ac_status" >&5
d1358 1
a1358 1
{ { echo "$as_me:1356: error: cannot compute OBJEXT: cannot compile" >&5
d1365 1
a1365 1
echo "$as_me:1363: result: $ac_cv_objext" >&5
d1369 1
a1369 1
echo "$as_me:1367: checking whether we are using the GNU C compiler" >&5
d1375 1
a1375 1
#line 1373 "configure"
d1390 1
a1390 1
if { (eval echo "$as_me:1388: \"$ac_compile\"") >&5
d1393 1
a1393 1
  echo "$as_me:1391: \$? = $ac_status" >&5
d1396 1
a1396 1
  { (eval echo "$as_me:1394: \"$ac_try\"") >&5
d1399 1
a1399 1
  echo "$as_me:1397: \$? = $ac_status" >&5
d1411 1
a1411 1
echo "$as_me:1409: result: $ac_cv_c_compiler_gnu" >&5
d1417 1
a1417 1
echo "$as_me:1415: checking whether $CC accepts -g" >&5
d1423 1
a1423 1
#line 1421 "configure"
d1435 1
a1435 1
if { (eval echo "$as_me:1433: \"$ac_compile\"") >&5
d1438 1
a1438 1
  echo "$as_me:1436: \$? = $ac_status" >&5
d1441 1
a1441 1
  { (eval echo "$as_me:1439: \"$ac_try\"") >&5
d1444 1
a1444 1
  echo "$as_me:1442: \$? = $ac_status" >&5
d1454 1
a1454 1
echo "$as_me:1452: result: $ac_cv_prog_cc_g" >&5
d1481 1
a1481 1
if { (eval echo "$as_me:1479: \"$ac_compile\"") >&5
d1484 1
a1484 1
  echo "$as_me:1482: \$? = $ac_status" >&5
d1487 1
a1487 1
  { (eval echo "$as_me:1485: \"$ac_try\"") >&5
d1490 1
a1490 1
  echo "$as_me:1488: \$? = $ac_status" >&5
d1502 1
a1502 1
#line 1500 "configure"
d1515 1
a1515 1
if { (eval echo "$as_me:1513: \"$ac_compile\"") >&5
d1518 1
a1518 1
  echo "$as_me:1516: \$? = $ac_status" >&5
d1521 1
a1521 1
  { (eval echo "$as_me:1519: \"$ac_try\"") >&5
d1524 1
a1524 1
  echo "$as_me:1522: \$? = $ac_status" >&5
d1534 1
a1534 1
#line 1532 "configure"
d1546 1
a1546 1
if { (eval echo "$as_me:1544: \"$ac_compile\"") >&5
d1549 1
a1549 1
  echo "$as_me:1547: \$? = $ac_status" >&5
d1552 1
a1552 1
  { (eval echo "$as_me:1550: \"$ac_try\"") >&5
d1555 1
a1555 1
  echo "$as_me:1553: \$? = $ac_status" >&5
d1589 1
a1589 1
echo "$as_me:1587: checking for $ac_word" >&5
d1604 1
a1604 1
echo "$as_me:1602: found $ac_dir/$ac_word" >&5
d1612 1
a1612 1
  echo "$as_me:1610: result: $CXX" >&5
d1615 1
a1615 1
  echo "$as_me:1613: result: no" >&5
d1628 1
a1628 1
echo "$as_me:1626: checking for $ac_word" >&5
d1643 1
a1643 1
echo "$as_me:1641: found $ac_dir/$ac_word" >&5
d1651 1
a1651 1
  echo "$as_me:1649: result: $ac_ct_CXX" >&5
d1654 1
a1654 1
  echo "$as_me:1652: result: no" >&5
d1665 1
a1665 1
echo "$as_me:1663: checking whether we are using the GNU C++ compiler" >&5
d1671 1
a1671 1
#line 1669 "configure"
d1686 1
a1686 1
if { (eval echo "$as_me:1684: \"$ac_compile\"") >&5
d1689 1
a1689 1
  echo "$as_me:1687: \$? = $ac_status" >&5
d1692 1
a1692 1
  { (eval echo "$as_me:1690: \"$ac_try\"") >&5
d1695 1
a1695 1
  echo "$as_me:1693: \$? = $ac_status" >&5
d1707 1
a1707 1
echo "$as_me:1705: result: $ac_cv_cxx_compiler_gnu" >&5
d1713 1
a1713 1
echo "$as_me:1711: checking whether $CXX accepts -g" >&5
d1719 1
a1719 1
#line 1717 "configure"
d1731 1
a1731 1
if { (eval echo "$as_me:1729: \"$ac_compile\"") >&5
d1734 1
a1734 1
  echo "$as_me:1732: \$? = $ac_status" >&5
d1737 1
a1737 1
  { (eval echo "$as_me:1735: \"$ac_try\"") >&5
d1740 1
a1740 1
  echo "$as_me:1738: \$? = $ac_status" >&5
d1750 1
a1750 1
echo "$as_me:1748: result: $ac_cv_prog_cxx_g" >&5
d1777 1
a1777 1
#line 1775 "configure"
d1790 1
a1790 1
if { (eval echo "$as_me:1788: \"$ac_compile\"") >&5
d1793 1
a1793 1
  echo "$as_me:1791: \$? = $ac_status" >&5
d1796 1
a1796 1
  { (eval echo "$as_me:1794: \"$ac_try\"") >&5
d1799 1
a1799 1
  echo "$as_me:1797: \$? = $ac_status" >&5
d1809 1
a1809 1
#line 1807 "configure"
d1821 1
a1821 1
if { (eval echo "$as_me:1819: \"$ac_compile\"") >&5
d1824 1
a1824 1
  echo "$as_me:1822: \$? = $ac_status" >&5
d1827 1
a1827 1
  { (eval echo "$as_me:1825: \"$ac_try\"") >&5
d1830 1
a1830 1
  echo "$as_me:1828: \$? = $ac_status" >&5
d1856 1
a1856 1
	echo "$as_me:1854: checking that C++ compiler can compile simple program" >&5
d1863 1
a1863 1
#line 1861 "configure"
d1868 1
a1868 1
if { (eval echo "$as_me:1866: \"$ac_link\"") >&5
d1871 1
a1871 1
  echo "$as_me:1869: \$? = $ac_status" >&5
d1873 1
a1873 1
  { (eval echo "$as_me:1871: \"$ac_try\"") >&5
d1876 1
a1876 1
  echo "$as_me:1874: \$? = $ac_status" >&5
d1878 1
a1878 1
  echo "$as_me:1876: result: yes" >&5
d1884 2
a1885 2
echo "$as_me:1882: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1883: error: a working C++ compiler is required" >&5
d1892 1
a1892 1
	echo "$as_me:1890: checking that C++ static constructors and destructors are called" >&5
d1899 1
a1899 1
#line 1897 "configure"
d1916 1
a1916 1
if { (eval echo "$as_me:1914: \"$ac_link\"") >&5
d1919 1
a1919 1
  echo "$as_me:1917: \$? = $ac_status" >&5
d1921 1
a1921 1
  { (eval echo "$as_me:1919: \"$ac_try\"") >&5
d1924 1
a1924 1
  echo "$as_me:1922: \$? = $ac_status" >&5
d1926 1
a1926 1
  echo "$as_me:1924: result: yes" >&5
d1932 2
a1933 2
echo "$as_me:1930: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1931: error: a working C++ compiler is required" >&5
d1939 1
a1939 1
echo "$as_me:1937: checking that header files support C++" >&5
d1942 1
a1942 1
#line 1940 "configure"
d1954 1
a1954 1
if { (eval echo "$as_me:1952: \"$ac_link\"") >&5
d1957 1
a1957 1
  echo "$as_me:1955: \$? = $ac_status" >&5
d1960 1
a1960 1
  { (eval echo "$as_me:1958: \"$ac_try\"") >&5
d1963 1
a1963 1
  echo "$as_me:1961: \$? = $ac_status" >&5
d1965 1
a1965 1
  echo "$as_me:1963: result: yes" >&5
d1970 2
a1971 2
echo "$as_me:1968: result: no" >&5
echo "${ECHO_T}no" >&6;{ { echo "$as_me:1969: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
d1982 1
a1982 1
echo "$as_me:1980: checking whether character set is EBCDIC" >&5
d1985 1
a1985 1
#line 1983 "configure"
d2002 1
a2002 1
if { (eval echo "$as_me:2000: \"$ac_compile\"") >&5
d2005 1
a2005 1
  echo "$as_me:2003: \$? = $ac_status" >&5
d2008 1
a2008 1
  { (eval echo "$as_me:2006: \"$ac_try\"") >&5
d2011 1
a2011 1
  echo "$as_me:2009: \$? = $ac_status" >&5
d2015 1
a2015 1
 echo "$as_me:2013: result: yes" >&5
d2017 2
a2018 1
 cat >>confdefs.h <<\EOF
d2027 1
a2027 1
 echo "$as_me:2024: result: no" >&5
d2033 1
a2033 1
	echo "$as_me:2030: checking for OS/390 Unix" >&5
d2038 1
a2038 1
		echo "$as_me:2035: result: yes" >&5
d2041 1
a2041 1
		echo "$as_me:2038: result: no" >&5
d2050 1
a2050 1
echo "$as_me:2047: checking for $ac_word" >&5
d2065 1
a2065 1
echo "$as_me:2062: found $ac_dir/$ac_word" >&5
d2073 1
a2073 1
  echo "$as_me:2070: result: $LPR" >&5
d2076 1
a2076 1
  echo "$as_me:2073: result: no" >&5
d2087 1
a2087 1
echo "$as_me:2084: checking for $ac_word" >&5
d2102 1
a2102 1
echo "$as_me:2099: found $ac_dir/$ac_word" >&5
d2110 1
a2110 1
  echo "$as_me:2107: result: $LP" >&5
d2113 1
a2113 1
  echo "$as_me:2110: result: no" >&5
d2128 1
a2128 1
echo "$as_me:2125: checking for $ac_word" >&5
d2143 1
a2143 1
echo "$as_me:2140: found $ac_dir/$ac_word" >&5
d2151 1
a2151 1
  echo "$as_me:2148: result: $LPQ" >&5
d2154 1
a2154 1
  echo "$as_me:2151: result: no" >&5
d2170 1
a2170 1
echo "$as_me:2167: checking for command to use for printing PostScript files" >&5
d2172 1
a2172 1
echo "$as_me:2169: result: $PSPRINT" >&5
d2175 1
a2175 1
echo "$as_me:2172: checking for command to use for printing dvi files" >&5
d2185 1
a2185 1
echo "$as_me:2182: result: $DVIPRINT" >&5
d2189 1
a2189 1
echo "$as_me:2186: checking for $ac_word" >&5
d2206 1
a2206 1
   echo "$as_me:2203: found $ac_dir/$ac_word" >&5
d2218 1
a2218 1
  echo "$as_me:2215: result: $PERLPATH" >&5
d2221 1
a2221 1
  echo "$as_me:2218: result: no" >&5
d2229 1
a2229 1
echo "$as_me:2226: checking for $ac_word" >&5
d2244 1
a2244 1
echo "$as_me:2241: found $ac_dir/$ac_word" >&5
d2252 1
a2252 1
  echo "$as_me:2249: result: $YACC" >&5
d2255 1
a2255 1
  echo "$as_me:2252: result: no" >&5
d2266 1
a2266 1
echo "$as_me:2263: checking for $ac_word" >&5
d2281 1
a2281 1
echo "$as_me:2278: found $ac_dir/$ac_word" >&5
d2289 1
a2289 1
  echo "$as_me:2286: result: $RANLIB" >&5
d2292 1
a2292 1
  echo "$as_me:2289: result: no" >&5
d2301 1
a2301 1
echo "$as_me:2298: checking for $ac_word" >&5
d2316 1
a2316 1
echo "$as_me:2313: found $ac_dir/$ac_word" >&5
d2325 1
a2325 1
  echo "$as_me:2322: result: $ac_ct_RANLIB" >&5
d2328 1
a2328 1
  echo "$as_me:2325: result: no" >&5
d2354 1
a2354 1
  { { echo "$as_me:2351: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
d2376 1
a2376 1
echo "$as_me:2373: checking for a BSD compatible install" >&5
d2425 1
a2425 1
echo "$as_me:2422: result: $INSTALL" >&5
d2436 1
a2436 1
echo "$as_me:2433: checking whether ln -s works" >&5
d2440 1
a2440 1
  echo "$as_me:2437: result: yes" >&5
d2443 1
a2443 1
  echo "$as_me:2440: result: no, using $LN_S" >&5
d2447 1
a2447 1
echo "$as_me:2444: checking for csh hash hack" >&5
d2457 1
a2457 1
	echo "$as_me:2454: result: yes" >&5
d2460 1
a2460 1
	echo "$as_me:2457: result: no" >&5
d2470 1
a2470 1
echo "$as_me:2467: checking how to run the C preprocessor" >&5
d2492 1
a2492 1
#line 2489 "configure"
d2497 1
a2497 1
if { (eval echo "$as_me:2494: \"$ac_cpp conftest.$ac_ext\"") >&5
d2503 1
a2503 1
  echo "$as_me:2500: \$? = $ac_status" >&5
d2526 1
a2526 1
#line 2523 "configure"
d2530 1
a2530 1
if { (eval echo "$as_me:2527: \"$ac_cpp conftest.$ac_ext\"") >&5
d2536 1
a2536 1
  echo "$as_me:2533: \$? = $ac_status" >&5
d2573 1
a2573 1
echo "$as_me:2570: result: $CPP" >&5
d2583 1
a2583 1
#line 2580 "configure"
d2588 1
a2588 1
if { (eval echo "$as_me:2585: \"$ac_cpp conftest.$ac_ext\"") >&5
d2594 1
a2594 1
  echo "$as_me:2591: \$? = $ac_status" >&5
d2617 1
a2617 1
#line 2614 "configure"
d2621 1
a2621 1
if { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
d2627 1
a2627 1
  echo "$as_me:2624: \$? = $ac_status" >&5
d2655 1
a2655 1
  { { echo "$as_me:2652: error: C preprocessor \"$CPP\" fails sanity check" >&5
d2670 1
a2670 1
echo "$as_me:2667: checking for $ac_header" >&5
d2676 1
a2676 1
#line 2673 "configure"
d2680 1
a2680 1
if { (eval echo "$as_me:2677: \"$ac_cpp conftest.$ac_ext\"") >&5
d2686 1
a2686 1
  echo "$as_me:2683: \$? = $ac_status" >&5
d2705 1
a2705 1
echo "$as_me:2702: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d2715 1
a2715 1
echo "$as_me:2712: checking for ISC 3.x or 4.x" >&5
d2719 1
a2719 1
	echo "$as_me:2716: result: yes" >&5
d2721 2
a2722 1
	cat >>confdefs.h <<\EOF
d2727 1
a2727 1
	echo "$as_me:2723: result: no" >&5
d2730 1
a2730 1
echo "$as_me:2726: checking whether -D_POSIX_SOURCE is necessary" >&5
d2739 1
a2739 1
#line 2735 "configure"
d2752 1
a2752 1
if { (eval echo "$as_me:2748: \"$ac_compile\"") >&5
d2755 1
a2755 1
  echo "$as_me:2751: \$? = $ac_status" >&5
d2758 1
a2758 1
  { (eval echo "$as_me:2754: \"$ac_try\"") >&5
d2761 1
a2761 1
  echo "$as_me:2757: \$? = $ac_status" >&5
d2763 3
a2765 2
  echo "$as_me:2759: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d2772 1
a2772 1
echo "$as_me:2767: result: no" >&5
d2788 1
a2788 1
echo "$as_me:2783: checking for return type of srand" >&5
d2791 1
a2791 1
#line 2786 "configure"
d2804 1
a2804 1
if { (eval echo "$as_me:2799: \"$ac_compile\"") >&5
d2807 1
a2807 1
  echo "$as_me:2802: \$? = $ac_status" >&5
d2810 1
a2810 1
  { (eval echo "$as_me:2805: \"$ac_try\"") >&5
d2813 1
a2813 1
  echo "$as_me:2808: \$? = $ac_status" >&5
d2815 3
a2817 2
  echo "$as_me:2810: result: void" >&5
echo "${ECHO_T}void" >&6;cat >>confdefs.h <<\EOF
d2824 1
a2824 1
echo "$as_me:2818: result: int" >&5
d2834 1
a2834 1
echo "$as_me:2828: checking whether gettimeofday must be declared" >&5
d2846 1
a2846 1
#line 2840 "configure"
d2877 1
a2877 1
if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5
d2880 1
a2880 1
  echo "$as_me:2874: \$? = $ac_status" >&5
d2883 1
a2883 1
  { (eval echo "$as_me:2877: \"$ac_try\"") >&5
d2886 1
a2886 1
  echo "$as_me:2880: \$? = $ac_status" >&5
d2897 1
a2897 1
echo "$as_me:2891: result: $groff_cv_decl_needed_gettimeofday" >&5
d2900 2
a2901 1
	cat >>confdefs.h <<\EOF
d2912 1
a2912 1
echo "$as_me:2905: checking whether hypot must be declared" >&5
d2924 1
a2924 1
#line 2917 "configure"
d2955 1
a2955 1
if { (eval echo "$as_me:2948: \"$ac_compile\"") >&5
d2958 1
a2958 1
  echo "$as_me:2951: \$? = $ac_status" >&5
d2961 1
a2961 1
  { (eval echo "$as_me:2954: \"$ac_try\"") >&5
d2964 1
a2964 1
  echo "$as_me:2957: \$? = $ac_status" >&5
d2975 1
a2975 1
echo "$as_me:2968: result: $groff_cv_decl_needed_hypot" >&5
d2978 2
a2979 1
	cat >>confdefs.h <<\EOF
d2990 1
a2990 1
echo "$as_me:2982: checking whether popen must be declared" >&5
d3002 1
a3002 1
#line 2994 "configure"
d3033 1
a3033 1
if { (eval echo "$as_me:3025: \"$ac_compile\"") >&5
d3036 1
a3036 1
  echo "$as_me:3028: \$? = $ac_status" >&5
d3039 1
a3039 1
  { (eval echo "$as_me:3031: \"$ac_try\"") >&5
d3042 1
a3042 1
  echo "$as_me:3034: \$? = $ac_status" >&5
d3053 1
a3053 1
echo "$as_me:3045: result: $groff_cv_decl_needed_popen" >&5
d3056 2
a3057 1
	cat >>confdefs.h <<\EOF
d3068 1
a3068 1
echo "$as_me:3059: checking whether pclose must be declared" >&5
d3080 1
a3080 1
#line 3071 "configure"
d3111 1
a3111 1
if { (eval echo "$as_me:3102: \"$ac_compile\"") >&5
d3114 1
a3114 1
  echo "$as_me:3105: \$? = $ac_status" >&5
d3117 1
a3117 1
  { (eval echo "$as_me:3108: \"$ac_try\"") >&5
d3120 1
a3120 1
  echo "$as_me:3111: \$? = $ac_status" >&5
d3131 1
a3131 1
echo "$as_me:3122: result: $groff_cv_decl_needed_pclose" >&5
d3134 2
a3135 1
	cat >>confdefs.h <<\EOF
d3146 1
a3146 1
echo "$as_me:3136: checking whether putenv must be declared" >&5
d3158 1
a3158 1
#line 3148 "configure"
d3189 1
a3189 1
if { (eval echo "$as_me:3179: \"$ac_compile\"") >&5
d3192 1
a3192 1
  echo "$as_me:3182: \$? = $ac_status" >&5
d3195 1
a3195 1
  { (eval echo "$as_me:3185: \"$ac_try\"") >&5
d3198 1
a3198 1
  echo "$as_me:3188: \$? = $ac_status" >&5
d3209 1
a3209 1
echo "$as_me:3199: result: $groff_cv_decl_needed_putenv" >&5
d3212 2
a3213 1
	cat >>confdefs.h <<\EOF
d3224 1
a3224 1
echo "$as_me:3213: checking whether strcasecmp must be declared" >&5
d3236 1
a3236 1
#line 3225 "configure"
d3267 1
a3267 1
if { (eval echo "$as_me:3256: \"$ac_compile\"") >&5
d3270 1
a3270 1
  echo "$as_me:3259: \$? = $ac_status" >&5
d3273 1
a3273 1
  { (eval echo "$as_me:3262: \"$ac_try\"") >&5
d3276 1
a3276 1
  echo "$as_me:3265: \$? = $ac_status" >&5
d3287 1
a3287 1
echo "$as_me:3276: result: $groff_cv_decl_needed_strcasecmp" >&5
d3290 2
a3291 1
	cat >>confdefs.h <<\EOF
d3302 1
a3302 1
echo "$as_me:3290: checking whether strncasecmp must be declared" >&5
d3314 1
a3314 1
#line 3302 "configure"
d3345 1
a3345 1
if { (eval echo "$as_me:3333: \"$ac_compile\"") >&5
d3348 1
a3348 1
  echo "$as_me:3336: \$? = $ac_status" >&5
d3351 1
a3351 1
  { (eval echo "$as_me:3339: \"$ac_try\"") >&5
d3354 1
a3354 1
  echo "$as_me:3342: \$? = $ac_status" >&5
d3365 1
a3365 1
echo "$as_me:3353: result: $groff_cv_decl_needed_strncasecmp" >&5
d3368 2
a3369 1
	cat >>confdefs.h <<\EOF
d3386 1
a3386 1
echo "$as_me:3373: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3389 1
a3389 1
#line 3376 "configure"
d3402 1
a3402 1
if { (eval echo "$as_me:3389: \"$ac_compile\"") >&5
d3405 1
a3405 1
  echo "$as_me:3392: \$? = $ac_status" >&5
d3408 1
a3408 1
  { (eval echo "$as_me:3395: \"$ac_try\"") >&5
d3411 1
a3411 1
  echo "$as_me:3398: \$? = $ac_status" >&5
d3413 3
a3415 2
  echo "$as_me:3400: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d3422 1
a3422 1
echo "$as_me:3408: result: no" >&5
d3432 1
a3432 1
echo "$as_me:3418: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3435 1
a3435 1
#line 3421 "configure"
d3448 1
a3448 1
if { (eval echo "$as_me:3434: \"$ac_compile\"") >&5
d3451 1
a3451 1
  echo "$as_me:3437: \$? = $ac_status" >&5
d3454 1
a3454 1
  { (eval echo "$as_me:3440: \"$ac_try\"") >&5
d3457 1
a3457 1
  echo "$as_me:3443: \$? = $ac_status" >&5
d3459 3
a3461 2
  echo "$as_me:3445: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d3468 1
a3468 1
echo "$as_me:3453: result: no" >&5
d3478 1
a3478 1
echo "$as_me:3463: checking C++ <osfcn.h>" >&5
d3481 1
a3481 1
#line 3466 "configure"
d3493 1
a3493 1
if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
d3496 1
a3496 1
  echo "$as_me:3481: \$? = $ac_status" >&5
d3499 1
a3499 1
  { (eval echo "$as_me:3484: \"$ac_try\"") >&5
d3502 1
a3502 1
  echo "$as_me:3487: \$? = $ac_status" >&5
d3504 3
a3506 2
  echo "$as_me:3489: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d3513 1
a3513 1
echo "$as_me:3497: result: no" >&5
d3529 1
a3529 1
echo "$as_me:3513: checking C++ <limits.h>" >&5
d3532 1
a3532 1
#line 3516 "configure"
d3544 1
a3544 1
if { (eval echo "$as_me:3528: \"$ac_compile\"") >&5
d3547 1
a3547 1
  echo "$as_me:3531: \$? = $ac_status" >&5
d3550 1
a3550 1
  { (eval echo "$as_me:3534: \"$ac_try\"") >&5
d3553 1
a3553 1
  echo "$as_me:3537: \$? = $ac_status" >&5
d3555 3
a3557 2
  echo "$as_me:3539: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d3564 1
a3564 1
echo "$as_me:3547: result: no" >&5
d3580 1
a3580 1
echo "$as_me:3563: checking for inttypes.h" >&5
d3583 1
a3583 1
#line 3566 "configure"
d3596 1
a3596 1
if { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
d3599 1
a3599 1
  echo "$as_me:3582: \$? = $ac_status" >&5
d3602 1
a3602 1
  { (eval echo "$as_me:3585: \"$ac_try\"") >&5
d3605 1
a3605 1
  echo "$as_me:3588: \$? = $ac_status" >&5
d3614 1
a3614 1
echo "$as_me:3597: result: $groff_cv_header_inttypes_h" >&5
d3628 1
a3628 1
echo "$as_me:3611: checking for unsigned long long" >&5
d3631 1
a3631 1
#line 3614 "configure"
d3644 1
a3644 1
if { (eval echo "$as_me:3627: \"$ac_link\"") >&5
d3647 1
a3647 1
  echo "$as_me:3630: \$? = $ac_status" >&5
d3650 1
a3650 1
  { (eval echo "$as_me:3633: \"$ac_try\"") >&5
d3653 1
a3653 1
  echo "$as_me:3636: \$? = $ac_status" >&5
d3662 1
a3662 1
echo "$as_me:3645: result: $groff_cv_type_unsigned_long_long" >&5
d3675 2
a3676 1
	cat >>confdefs.h <<EOF
d3687 1
a3687 1
echo "$as_me:3669: checking for declaration of time_t" >&5
d3690 1
a3690 1
#line 3672 "configure"
d3702 1
a3702 1
if { (eval echo "$as_me:3684: \"$ac_compile\"") >&5
d3705 1
a3705 1
  echo "$as_me:3687: \$? = $ac_status" >&5
d3708 1
a3708 1
  { (eval echo "$as_me:3690: \"$ac_try\"") >&5
d3711 1
a3711 1
  echo "$as_me:3693: \$? = $ac_status" >&5
d3713 1
a3713 1
  echo "$as_me:3695: result: yes" >&5
d3718 3
a3720 2
echo "$as_me:3700: result: no" >&5
echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF
d3732 1
a3732 1
echo "$as_me:3713: checking return type of signal handlers" >&5
d3738 1
a3738 1
#line 3719 "configure"
d3760 1
a3760 1
if { (eval echo "$as_me:3741: \"$ac_compile\"") >&5
d3763 1
a3763 1
  echo "$as_me:3744: \$? = $ac_status" >&5
d3766 1
a3766 1
  { (eval echo "$as_me:3747: \"$ac_try\"") >&5
d3769 1
a3769 1
  echo "$as_me:3750: \$? = $ac_status" >&5
d3779 1
a3779 1
echo "$as_me:3760: result: $ac_cv_type_signal" >&5
d3786 1
a3786 1
echo "$as_me:3767: checking struct exception" >&5
d3789 1
a3789 1
#line 3770 "configure"
d3801 1
a3801 1
if { (eval echo "$as_me:3782: \"$ac_compile\"") >&5
d3804 1
a3804 1
  echo "$as_me:3785: \$? = $ac_status" >&5
d3807 1
a3807 1
  { (eval echo "$as_me:3788: \"$ac_try\"") >&5
d3810 1
a3810 1
  echo "$as_me:3791: \$? = $ac_status" >&5
d3812 3
a3814 2
  echo "$as_me:3793: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d3821 1
a3821 1
echo "$as_me:3801: result: no" >&5
d3825 1
a3825 1
echo "$as_me:3805: checking for sin in -lm" >&5
d3833 1
a3833 1
#line 3813 "configure"
d3852 1
a3852 1
if { (eval echo "$as_me:3832: \"$ac_link\"") >&5
d3855 1
a3855 1
  echo "$as_me:3835: \$? = $ac_status" >&5
d3858 1
a3858 1
  { (eval echo "$as_me:3838: \"$ac_try\"") >&5
d3861 1
a3861 1
  echo "$as_me:3841: \$? = $ac_status" >&5
d3872 1
a3872 1
echo "$as_me:3852: result: $ac_cv_lib_m_sin" >&5
d3881 1
a3881 1
echo "$as_me:3861: checking for $ac_header" >&5
d3887 1
a3887 1
#line 3867 "configure"
d3891 1
a3891 1
if { (eval echo "$as_me:3871: \"$ac_cpp conftest.$ac_ext\"") >&5
d3897 1
a3897 1
  echo "$as_me:3877: \$? = $ac_status" >&5
d3916 1
a3916 1
echo "$as_me:3896: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3929 1
a3929 1
echo "$as_me:3909: checking for $ac_func" >&5
d3935 1
a3935 1
#line 3915 "configure"
d3966 1
a3966 1
if { (eval echo "$as_me:3946: \"$ac_link\"") >&5
d3969 1
a3969 1
  echo "$as_me:3949: \$? = $ac_status" >&5
d3972 1
a3972 1
  { (eval echo "$as_me:3952: \"$ac_try\"") >&5
d3975 1
a3975 1
  echo "$as_me:3955: \$? = $ac_status" >&5
d3985 1
a3985 1
echo "$as_me:3965: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3995 1
a3995 1
echo "$as_me:3975: checking for working mmap" >&5
d4004 1
a4004 1
#line 3984 "configure"
d4136 1
a4136 1
if { (eval echo "$as_me:4116: \"$ac_link\"") >&5
d4139 1
a4139 1
  echo "$as_me:4119: \$? = $ac_status" >&5
d4141 1
a4141 1
  { (eval echo "$as_me:4121: \"$ac_try\"") >&5
d4144 1
a4144 1
  echo "$as_me:4124: \$? = $ac_status" >&5
d4156 1
a4156 1
echo "$as_me:4136: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4173 1
a4173 1
echo "$as_me:4153: checking for $ac_func" >&5
d4179 1
a4179 1
#line 4159 "configure"
d4210 1
a4210 1
if { (eval echo "$as_me:4190: \"$ac_link\"") >&5
d4213 1
a4213 1
  echo "$as_me:4193: \$? = $ac_status" >&5
d4216 1
a4216 1
  { (eval echo "$as_me:4196: \"$ac_try\"") >&5
d4219 1
a4219 1
  echo "$as_me:4199: \$? = $ac_status" >&5
d4229 1
a4229 1
echo "$as_me:4209: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4246 1
a4246 1
echo "$as_me:4226: checking for $ac_func" >&5
d4252 1
a4252 1
#line 4232 "configure"
d4283 1
a4283 1
if { (eval echo "$as_me:4263: \"$ac_link\"") >&5
d4286 1
a4286 1
  echo "$as_me:4266: \$? = $ac_status" >&5
d4289 1
a4289 1
  { (eval echo "$as_me:4269: \"$ac_try\"") >&5
d4292 1
a4292 1
  echo "$as_me:4272: \$? = $ac_status" >&5
d4302 1
a4302 1
echo "$as_me:4282: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4318 1
a4318 1
echo "$as_me:4298: checking for mkstemp" >&5
d4324 1
a4324 1
#line 4304 "configure"
d4355 1
a4355 1
if { (eval echo "$as_me:4335: \"$ac_link\"") >&5
d4358 1
a4358 1
  echo "$as_me:4338: \$? = $ac_status" >&5
d4361 1
a4361 1
  { (eval echo "$as_me:4341: \"$ac_try\"") >&5
d4364 1
a4364 1
  echo "$as_me:4344: \$? = $ac_status" >&5
d4374 1
a4374 1
echo "$as_me:4354: result: $ac_cv_func_mkstemp" >&5
d4377 2
a4378 1
  cat >>confdefs.h <<\EOF
d4392 1
a4392 1
echo "$as_me:4371: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4398 1
a4398 1
#line 4377 "configure"
d4416 1
a4416 1
if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
d4419 1
a4419 1
  echo "$as_me:4398: \$? = $ac_status" >&5
d4422 1
a4422 1
  { (eval echo "$as_me:4401: \"$ac_try\"") >&5
d4425 1
a4425 1
  echo "$as_me:4404: \$? = $ac_status" >&5
d4435 1
a4435 1
echo "$as_me:4414: result: $ac_cv_decl_sys_siglist" >&5
d4451 1
a4451 1
echo "$as_me:4430: checking whether ANSI array delete syntax supported" >&5
d4454 1
a4454 1
#line 4433 "configure"
d4466 1
a4466 1
if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
d4469 1
a4469 1
  echo "$as_me:4448: \$? = $ac_status" >&5
d4472 1
a4472 1
  { (eval echo "$as_me:4451: \"$ac_try\"") >&5
d4475 1
a4475 1
  echo "$as_me:4454: \$? = $ac_status" >&5
d4477 1
a4477 1
  echo "$as_me:4456: result: yes" >&5
d4482 3
a4484 2
echo "$as_me:4461: result: no" >&5
echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF
d4502 1
a4502 1
echo "$as_me:4480: checking traditional preprocessor" >&5
d4505 1
a4505 1
#line 4483 "configure"
d4517 1
a4517 1
if { (eval echo "$as_me:4495: \"$ac_compile\"") >&5
d4520 1
a4520 1
  echo "$as_me:4498: \$? = $ac_status" >&5
d4523 1
a4523 1
  { (eval echo "$as_me:4501: \"$ac_try\"") >&5
d4526 1
a4526 1
  echo "$as_me:4504: \$? = $ac_status" >&5
d4528 3
a4530 2
  echo "$as_me:4506: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d4537 1
a4537 1
echo "$as_me:4514: result: no" >&5
d4547 1
a4547 1
echo "$as_me:4524: checking w_coredump" >&5
d4550 1
a4550 1
  echo "$as_me:4527: result: no" >&5
d4554 1
a4554 1
#line 4531 "configure"
d4570 1
a4570 1
if { (eval echo "$as_me:4547: \"$ac_link\"") >&5
d4573 1
a4573 1
  echo "$as_me:4550: \$? = $ac_status" >&5
d4575 1
a4575 1
  { (eval echo "$as_me:4552: \"$ac_try\"") >&5
d4578 1
a4578 1
  echo "$as_me:4555: \$? = $ac_status" >&5
d4580 3
a4582 2
  echo "$as_me:4557: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
d4590 1
a4590 1
echo "$as_me:4566: result: no" >&5
d4595 1
a4595 1
echo "$as_me:4571: checking default value for grops -b option" >&5
d4598 1
a4598 1
echo "$as_me:4574: result: $BROKEN_SPOOLER_FLAGS" >&5
d4601 1
a4601 1
echo "$as_me:4577: checking default paper size" >&5
d4641 2
a4642 1
	cat >>confdefs.h <<\EOF
d4647 1
a4647 1
echo "$as_me:4622: result: $PAGE" >&5
d4650 1
a4650 1
echo "$as_me:4625: checking for existing troff installation" >&5
d4653 1
a4653 1
	echo "$as_me:4628: result: yes" >&5
d4657 1
a4657 1
	echo "$as_me:4632: result: no" >&5
d4662 1
a4662 1
echo "$as_me:4637: checking for prefix of system macro packages" >&5
d4679 1
a4679 1
echo "$as_me:4654: result: $sys_tmac_prefix" >&5
d4683 1
a4683 1
echo "$as_me:4658: checking which system macro packages should be made available" >&5
d4719 1
a4719 1
echo "$as_me:4694: result: $tmac_wrap" >&5
d4723 2
d4801 1
a4801 31
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\EOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
EOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
d4806 1
a4806 1
{ echo "$as_me:4809: creating $CONFIG_STATUS" >&5
d4920 2
d4926 3
d4979 1
a4979 1
    { { echo "$as_me:4977: error: ambiguous option: $1
d4998 1
d5001 1
d5004 1
a5004 1
  -*) { { echo "$as_me:5000: error: unrecognized option: $1
d5009 1
a5009 1
  *) { { echo "$as_me:5005: error: invalid argument: $1" >&5
d5037 1
d5251 1
a5251 1
    { echo "$as_me:5246: creating $ac_file" >&5
d5269 1
a5269 1
         test -f "$f" || { { echo "$as_me:5264: error: cannot find input file: $f" >&5
d5282 1
a5282 1
           { { echo "$as_me:5277: error: cannot find input file: $f" >&5
d5309 218
@


1.24
log
@* src/preproc/tbl/tbl.man: Minor documentation update.


* src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
* configure.ac: Add declaration test for gettimeofday().
* Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
* aclocal.m4: Include sys/time.h for gettimeofday declaration test.
* configure: Regenerated.
@
text
@d4150 1
a4150 1
for ac_func in fmod strtol getcwd strerror putenv
d4223 1
a4223 1
for ac_func in rename strcasecmp strncasecmp strsep gettimeofday
@


1.23
log
@

	* aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
	* configure.ac: Add declaration test for strcasecmp().
	* Makefile.in: Updated.
	* configure: Regenerated.
	* src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
	this is necessary because groff's mkstemp.cc is C++.
	Add declaration conditionally for strcasecmp().
@
text
@d2828 78
a2905 1
echo "$as_me:2828: checking whether hypot must be declared" >&5
d2917 1
a2917 1
#line 2840 "configure"
d2930 3
d2948 1
a2948 1
if { (eval echo "$as_me:2868: \"$ac_compile\"") >&5
d2951 1
a2951 1
  echo "$as_me:2871: \$? = $ac_status" >&5
d2954 1
a2954 1
  { (eval echo "$as_me:2874: \"$ac_try\"") >&5
d2957 1
a2957 1
  echo "$as_me:2877: \$? = $ac_status" >&5
d2968 1
a2968 1
echo "$as_me:2888: result: $groff_cv_decl_needed_hypot" >&5
d2982 1
a2982 1
echo "$as_me:2902: checking whether popen must be declared" >&5
d2994 1
a2994 1
#line 2914 "configure"
d3007 3
d3025 1
a3025 1
if { (eval echo "$as_me:2942: \"$ac_compile\"") >&5
d3028 1
a3028 1
  echo "$as_me:2945: \$? = $ac_status" >&5
d3031 1
a3031 1
  { (eval echo "$as_me:2948: \"$ac_try\"") >&5
d3034 1
a3034 1
  echo "$as_me:2951: \$? = $ac_status" >&5
d3045 1
a3045 1
echo "$as_me:2962: result: $groff_cv_decl_needed_popen" >&5
d3059 1
a3059 1
echo "$as_me:2976: checking whether pclose must be declared" >&5
d3071 1
a3071 1
#line 2988 "configure"
d3084 3
d3102 1
a3102 1
if { (eval echo "$as_me:3016: \"$ac_compile\"") >&5
d3105 1
a3105 1
  echo "$as_me:3019: \$? = $ac_status" >&5
d3108 1
a3108 1
  { (eval echo "$as_me:3022: \"$ac_try\"") >&5
d3111 1
a3111 1
  echo "$as_me:3025: \$? = $ac_status" >&5
d3122 1
a3122 1
echo "$as_me:3036: result: $groff_cv_decl_needed_pclose" >&5
d3136 1
a3136 1
echo "$as_me:3050: checking whether putenv must be declared" >&5
d3148 1
a3148 1
#line 3062 "configure"
d3161 3
d3179 1
a3179 1
if { (eval echo "$as_me:3090: \"$ac_compile\"") >&5
d3182 1
a3182 1
  echo "$as_me:3093: \$? = $ac_status" >&5
d3185 1
a3185 1
  { (eval echo "$as_me:3096: \"$ac_try\"") >&5
d3188 1
a3188 1
  echo "$as_me:3099: \$? = $ac_status" >&5
d3199 1
a3199 1
echo "$as_me:3110: result: $groff_cv_decl_needed_putenv" >&5
d3213 1
a3213 1
echo "$as_me:3124: checking whether strcasecmp must be declared" >&5
d3225 1
a3225 1
#line 3136 "configure"
d3238 3
d3256 1
a3256 1
if { (eval echo "$as_me:3164: \"$ac_compile\"") >&5
d3259 1
a3259 1
  echo "$as_me:3167: \$? = $ac_status" >&5
d3262 1
a3262 1
  { (eval echo "$as_me:3170: \"$ac_try\"") >&5
d3265 1
a3265 1
  echo "$as_me:3173: \$? = $ac_status" >&5
d3276 1
a3276 1
echo "$as_me:3184: result: $groff_cv_decl_needed_strcasecmp" >&5
d3290 1
a3290 1
echo "$as_me:3198: checking whether strncasecmp must be declared" >&5
d3302 1
a3302 1
#line 3210 "configure"
d3315 3
d3333 1
a3333 1
if { (eval echo "$as_me:3238: \"$ac_compile\"") >&5
d3336 1
a3336 1
  echo "$as_me:3241: \$? = $ac_status" >&5
d3339 1
a3339 1
  { (eval echo "$as_me:3244: \"$ac_try\"") >&5
d3342 1
a3342 1
  echo "$as_me:3247: \$? = $ac_status" >&5
d3353 1
a3353 1
echo "$as_me:3258: result: $groff_cv_decl_needed_strncasecmp" >&5
d3373 1
a3373 1
echo "$as_me:3278: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3376 1
a3376 1
#line 3281 "configure"
d3389 1
a3389 1
if { (eval echo "$as_me:3294: \"$ac_compile\"") >&5
d3392 1
a3392 1
  echo "$as_me:3297: \$? = $ac_status" >&5
d3395 1
a3395 1
  { (eval echo "$as_me:3300: \"$ac_try\"") >&5
d3398 1
a3398 1
  echo "$as_me:3303: \$? = $ac_status" >&5
d3400 1
a3400 1
  echo "$as_me:3305: result: yes" >&5
d3408 1
a3408 1
echo "$as_me:3313: result: no" >&5
d3418 1
a3418 1
echo "$as_me:3323: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3421 1
a3421 1
#line 3326 "configure"
d3434 1
a3434 1
if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5
d3437 1
a3437 1
  echo "$as_me:3342: \$? = $ac_status" >&5
d3440 1
a3440 1
  { (eval echo "$as_me:3345: \"$ac_try\"") >&5
d3443 1
a3443 1
  echo "$as_me:3348: \$? = $ac_status" >&5
d3445 1
a3445 1
  echo "$as_me:3350: result: yes" >&5
d3453 1
a3453 1
echo "$as_me:3358: result: no" >&5
d3463 1
a3463 1
echo "$as_me:3368: checking C++ <osfcn.h>" >&5
d3466 1
a3466 1
#line 3371 "configure"
d3478 1
a3478 1
if { (eval echo "$as_me:3383: \"$ac_compile\"") >&5
d3481 1
a3481 1
  echo "$as_me:3386: \$? = $ac_status" >&5
d3484 1
a3484 1
  { (eval echo "$as_me:3389: \"$ac_try\"") >&5
d3487 1
a3487 1
  echo "$as_me:3392: \$? = $ac_status" >&5
d3489 1
a3489 1
  echo "$as_me:3394: result: yes" >&5
d3497 1
a3497 1
echo "$as_me:3402: result: no" >&5
d3513 1
a3513 1
echo "$as_me:3418: checking C++ <limits.h>" >&5
d3516 1
a3516 1
#line 3421 "configure"
d3528 1
a3528 1
if { (eval echo "$as_me:3433: \"$ac_compile\"") >&5
d3531 1
a3531 1
  echo "$as_me:3436: \$? = $ac_status" >&5
d3534 1
a3534 1
  { (eval echo "$as_me:3439: \"$ac_try\"") >&5
d3537 1
a3537 1
  echo "$as_me:3442: \$? = $ac_status" >&5
d3539 1
a3539 1
  echo "$as_me:3444: result: yes" >&5
d3547 1
a3547 1
echo "$as_me:3452: result: no" >&5
d3563 1
a3563 1
echo "$as_me:3468: checking for inttypes.h" >&5
d3566 1
a3566 1
#line 3471 "configure"
d3579 1
a3579 1
if { (eval echo "$as_me:3484: \"$ac_compile\"") >&5
d3582 1
a3582 1
  echo "$as_me:3487: \$? = $ac_status" >&5
d3585 1
a3585 1
  { (eval echo "$as_me:3490: \"$ac_try\"") >&5
d3588 1
a3588 1
  echo "$as_me:3493: \$? = $ac_status" >&5
d3597 1
a3597 1
echo "$as_me:3502: result: $groff_cv_header_inttypes_h" >&5
d3611 1
a3611 1
echo "$as_me:3516: checking for unsigned long long" >&5
d3614 1
a3614 1
#line 3519 "configure"
d3627 1
a3627 1
if { (eval echo "$as_me:3532: \"$ac_link\"") >&5
d3630 1
a3630 1
  echo "$as_me:3535: \$? = $ac_status" >&5
d3633 1
a3633 1
  { (eval echo "$as_me:3538: \"$ac_try\"") >&5
d3636 1
a3636 1
  echo "$as_me:3541: \$? = $ac_status" >&5
d3645 1
a3645 1
echo "$as_me:3550: result: $groff_cv_type_unsigned_long_long" >&5
d3669 1
a3669 1
echo "$as_me:3574: checking for declaration of time_t" >&5
d3672 1
a3672 1
#line 3577 "configure"
d3684 1
a3684 1
if { (eval echo "$as_me:3589: \"$ac_compile\"") >&5
d3687 1
a3687 1
  echo "$as_me:3592: \$? = $ac_status" >&5
d3690 1
a3690 1
  { (eval echo "$as_me:3595: \"$ac_try\"") >&5
d3693 1
a3693 1
  echo "$as_me:3598: \$? = $ac_status" >&5
d3695 1
a3695 1
  echo "$as_me:3600: result: yes" >&5
d3700 1
a3700 1
echo "$as_me:3605: result: no" >&5
d3713 1
a3713 1
echo "$as_me:3618: checking return type of signal handlers" >&5
d3719 1
a3719 1
#line 3624 "configure"
d3741 1
a3741 1
if { (eval echo "$as_me:3646: \"$ac_compile\"") >&5
d3744 1
a3744 1
  echo "$as_me:3649: \$? = $ac_status" >&5
d3747 1
a3747 1
  { (eval echo "$as_me:3652: \"$ac_try\"") >&5
d3750 1
a3750 1
  echo "$as_me:3655: \$? = $ac_status" >&5
d3760 1
a3760 1
echo "$as_me:3665: result: $ac_cv_type_signal" >&5
d3767 1
a3767 1
echo "$as_me:3672: checking struct exception" >&5
d3770 1
a3770 1
#line 3675 "configure"
d3782 1
a3782 1
if { (eval echo "$as_me:3687: \"$ac_compile\"") >&5
d3785 1
a3785 1
  echo "$as_me:3690: \$? = $ac_status" >&5
d3788 1
a3788 1
  { (eval echo "$as_me:3693: \"$ac_try\"") >&5
d3791 1
a3791 1
  echo "$as_me:3696: \$? = $ac_status" >&5
d3793 1
a3793 1
  echo "$as_me:3698: result: yes" >&5
d3801 1
a3801 1
echo "$as_me:3706: result: no" >&5
d3805 1
a3805 1
echo "$as_me:3710: checking for sin in -lm" >&5
d3813 1
a3813 1
#line 3718 "configure"
d3832 1
a3832 1
if { (eval echo "$as_me:3737: \"$ac_link\"") >&5
d3835 1
a3835 1
  echo "$as_me:3740: \$? = $ac_status" >&5
d3838 1
a3838 1
  { (eval echo "$as_me:3743: \"$ac_try\"") >&5
d3841 1
a3841 1
  echo "$as_me:3746: \$? = $ac_status" >&5
d3852 1
a3852 1
echo "$as_me:3757: result: $ac_cv_lib_m_sin" >&5
d3861 1
a3861 1
echo "$as_me:3766: checking for $ac_header" >&5
d3867 1
a3867 1
#line 3772 "configure"
d3871 1
a3871 1
if { (eval echo "$as_me:3776: \"$ac_cpp conftest.$ac_ext\"") >&5
d3877 1
a3877 1
  echo "$as_me:3782: \$? = $ac_status" >&5
d3896 1
a3896 1
echo "$as_me:3801: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3909 1
a3909 1
echo "$as_me:3814: checking for $ac_func" >&5
d3915 1
a3915 1
#line 3820 "configure"
d3946 1
a3946 1
if { (eval echo "$as_me:3851: \"$ac_link\"") >&5
d3949 1
a3949 1
  echo "$as_me:3854: \$? = $ac_status" >&5
d3952 1
a3952 1
  { (eval echo "$as_me:3857: \"$ac_try\"") >&5
d3955 1
a3955 1
  echo "$as_me:3860: \$? = $ac_status" >&5
d3965 1
a3965 1
echo "$as_me:3870: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3975 1
a3975 1
echo "$as_me:3880: checking for working mmap" >&5
d3984 1
a3984 1
#line 3889 "configure"
d4116 1
a4116 1
if { (eval echo "$as_me:4021: \"$ac_link\"") >&5
d4119 1
a4119 1
  echo "$as_me:4024: \$? = $ac_status" >&5
d4121 1
a4121 1
  { (eval echo "$as_me:4026: \"$ac_try\"") >&5
d4124 1
a4124 1
  echo "$as_me:4029: \$? = $ac_status" >&5
d4136 1
a4136 1
echo "$as_me:4041: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4153 1
a4153 1
echo "$as_me:4058: checking for $ac_func" >&5
d4159 1
a4159 1
#line 4064 "configure"
d4190 1
a4190 1
if { (eval echo "$as_me:4095: \"$ac_link\"") >&5
d4193 1
a4193 1
  echo "$as_me:4098: \$? = $ac_status" >&5
d4196 1
a4196 1
  { (eval echo "$as_me:4101: \"$ac_try\"") >&5
d4199 1
a4199 1
  echo "$as_me:4104: \$? = $ac_status" >&5
d4209 1
a4209 1
echo "$as_me:4114: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4226 1
a4226 1
echo "$as_me:4131: checking for $ac_func" >&5
d4232 1
a4232 1
#line 4137 "configure"
d4263 1
a4263 1
if { (eval echo "$as_me:4168: \"$ac_link\"") >&5
d4266 1
a4266 1
  echo "$as_me:4171: \$? = $ac_status" >&5
d4269 1
a4269 1
  { (eval echo "$as_me:4174: \"$ac_try\"") >&5
d4272 1
a4272 1
  echo "$as_me:4177: \$? = $ac_status" >&5
d4282 1
a4282 1
echo "$as_me:4187: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4298 1
a4298 1
echo "$as_me:4203: checking for mkstemp" >&5
d4304 1
a4304 1
#line 4209 "configure"
d4335 1
a4335 1
if { (eval echo "$as_me:4240: \"$ac_link\"") >&5
d4338 1
a4338 1
  echo "$as_me:4243: \$? = $ac_status" >&5
d4341 1
a4341 1
  { (eval echo "$as_me:4246: \"$ac_try\"") >&5
d4344 1
a4344 1
  echo "$as_me:4249: \$? = $ac_status" >&5
d4354 1
a4354 1
echo "$as_me:4259: result: $ac_cv_func_mkstemp" >&5
d4371 1
a4371 1
echo "$as_me:4276: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4377 1
a4377 1
#line 4282 "configure"
d4395 1
a4395 1
if { (eval echo "$as_me:4300: \"$ac_compile\"") >&5
d4398 1
a4398 1
  echo "$as_me:4303: \$? = $ac_status" >&5
d4401 1
a4401 1
  { (eval echo "$as_me:4306: \"$ac_try\"") >&5
d4404 1
a4404 1
  echo "$as_me:4309: \$? = $ac_status" >&5
d4414 1
a4414 1
echo "$as_me:4319: result: $ac_cv_decl_sys_siglist" >&5
d4430 1
a4430 1
echo "$as_me:4335: checking whether ANSI array delete syntax supported" >&5
d4433 1
a4433 1
#line 4338 "configure"
d4445 1
a4445 1
if { (eval echo "$as_me:4350: \"$ac_compile\"") >&5
d4448 1
a4448 1
  echo "$as_me:4353: \$? = $ac_status" >&5
d4451 1
a4451 1
  { (eval echo "$as_me:4356: \"$ac_try\"") >&5
d4454 1
a4454 1
  echo "$as_me:4359: \$? = $ac_status" >&5
d4456 1
a4456 1
  echo "$as_me:4361: result: yes" >&5
d4461 1
a4461 1
echo "$as_me:4366: result: no" >&5
d4480 1
a4480 1
echo "$as_me:4385: checking traditional preprocessor" >&5
d4483 1
a4483 1
#line 4388 "configure"
d4495 1
a4495 1
if { (eval echo "$as_me:4400: \"$ac_compile\"") >&5
d4498 1
a4498 1
  echo "$as_me:4403: \$? = $ac_status" >&5
d4501 1
a4501 1
  { (eval echo "$as_me:4406: \"$ac_try\"") >&5
d4504 1
a4504 1
  echo "$as_me:4409: \$? = $ac_status" >&5
d4506 1
a4506 1
  echo "$as_me:4411: result: yes" >&5
d4514 1
a4514 1
echo "$as_me:4419: result: no" >&5
d4524 1
a4524 1
echo "$as_me:4429: checking w_coredump" >&5
d4527 1
a4527 1
  echo "$as_me:4432: result: no" >&5
d4531 1
a4531 1
#line 4436 "configure"
d4547 1
a4547 1
if { (eval echo "$as_me:4452: \"$ac_link\"") >&5
d4550 1
a4550 1
  echo "$as_me:4455: \$? = $ac_status" >&5
d4552 1
a4552 1
  { (eval echo "$as_me:4457: \"$ac_try\"") >&5
d4555 1
a4555 1
  echo "$as_me:4460: \$? = $ac_status" >&5
d4557 1
a4557 1
  echo "$as_me:4462: result: yes" >&5
d4566 1
a4566 1
echo "$as_me:4471: result: no" >&5
d4571 1
a4571 1
echo "$as_me:4476: checking default value for grops -b option" >&5
d4574 1
a4574 1
echo "$as_me:4479: result: $BROKEN_SPOOLER_FLAGS" >&5
d4577 1
a4577 1
echo "$as_me:4482: checking default paper size" >&5
d4622 1
a4622 1
echo "$as_me:4527: result: $PAGE" >&5
d4625 1
a4625 1
echo "$as_me:4530: checking for existing troff installation" >&5
d4628 1
a4628 1
	echo "$as_me:4533: result: yes" >&5
d4632 1
a4632 1
	echo "$as_me:4537: result: no" >&5
d4637 1
a4637 1
echo "$as_me:4542: checking for prefix of system macro packages" >&5
d4654 1
a4654 1
echo "$as_me:4559: result: $sys_tmac_prefix" >&5
d4658 1
a4658 1
echo "$as_me:4563: checking which system macro packages should be made available" >&5
d4694 1
a4694 1
echo "$as_me:4599: result: $tmac_wrap" >&5
d4809 1
a4809 1
{ echo "$as_me:4714: creating $CONFIG_STATUS" >&5
d4977 1
a4977 1
    { { echo "$as_me:4882: error: ambiguous option: $1
d5000 1
a5000 1
  -*) { { echo "$as_me:4905: error: unrecognized option: $1
d5005 1
a5005 1
  *) { { echo "$as_me:4910: error: invalid argument: $1" >&5
d5246 1
a5246 1
    { echo "$as_me:5151: creating $ac_file" >&5
d5264 1
a5264 1
         test -f "$f" || { { echo "$as_me:5169: error: cannot find input file: $f" >&5
d5277 1
a5277 1
           { { echo "$as_me:5182: error: cannot find input file: $f" >&5
@


1.22
log
@* aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
* src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
* Makefile.in: Comment updated.
* configure: Regenerated.

* src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
name instead of number.
@
text
@d3124 2
a3125 2
echo "$as_me:3124: checking whether strncasecmp must be declared" >&5
echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
d3132 1
a3132 1
if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
d3158 1
a3158 1
char *(*pfn) = (char *(*)) strncasecmp
d3175 74
d3258 1
a3258 1
echo "$as_me:3184: result: $groff_cv_decl_needed_strncasecmp" >&5
d3278 1
a3278 1
echo "$as_me:3204: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3281 1
a3281 1
#line 3207 "configure"
d3294 1
a3294 1
if { (eval echo "$as_me:3220: \"$ac_compile\"") >&5
d3297 1
a3297 1
  echo "$as_me:3223: \$? = $ac_status" >&5
d3300 1
a3300 1
  { (eval echo "$as_me:3226: \"$ac_try\"") >&5
d3303 1
a3303 1
  echo "$as_me:3229: \$? = $ac_status" >&5
d3305 1
a3305 1
  echo "$as_me:3231: result: yes" >&5
d3313 1
a3313 1
echo "$as_me:3239: result: no" >&5
d3323 1
a3323 1
echo "$as_me:3249: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3326 1
a3326 1
#line 3252 "configure"
d3339 1
a3339 1
if { (eval echo "$as_me:3265: \"$ac_compile\"") >&5
d3342 1
a3342 1
  echo "$as_me:3268: \$? = $ac_status" >&5
d3345 1
a3345 1
  { (eval echo "$as_me:3271: \"$ac_try\"") >&5
d3348 1
a3348 1
  echo "$as_me:3274: \$? = $ac_status" >&5
d3350 1
a3350 1
  echo "$as_me:3276: result: yes" >&5
d3358 1
a3358 1
echo "$as_me:3284: result: no" >&5
d3368 1
a3368 1
echo "$as_me:3294: checking C++ <osfcn.h>" >&5
d3371 1
a3371 1
#line 3297 "configure"
d3383 1
a3383 1
if { (eval echo "$as_me:3309: \"$ac_compile\"") >&5
d3386 1
a3386 1
  echo "$as_me:3312: \$? = $ac_status" >&5
d3389 1
a3389 1
  { (eval echo "$as_me:3315: \"$ac_try\"") >&5
d3392 1
a3392 1
  echo "$as_me:3318: \$? = $ac_status" >&5
d3394 1
a3394 1
  echo "$as_me:3320: result: yes" >&5
d3402 1
a3402 1
echo "$as_me:3328: result: no" >&5
d3418 1
a3418 1
echo "$as_me:3344: checking C++ <limits.h>" >&5
d3421 1
a3421 1
#line 3347 "configure"
d3433 1
a3433 1
if { (eval echo "$as_me:3359: \"$ac_compile\"") >&5
d3436 1
a3436 1
  echo "$as_me:3362: \$? = $ac_status" >&5
d3439 1
a3439 1
  { (eval echo "$as_me:3365: \"$ac_try\"") >&5
d3442 1
a3442 1
  echo "$as_me:3368: \$? = $ac_status" >&5
d3444 1
a3444 1
  echo "$as_me:3370: result: yes" >&5
d3452 1
a3452 1
echo "$as_me:3378: result: no" >&5
d3468 1
a3468 1
echo "$as_me:3394: checking for inttypes.h" >&5
d3471 1
a3471 1
#line 3397 "configure"
d3484 1
a3484 1
if { (eval echo "$as_me:3410: \"$ac_compile\"") >&5
d3487 1
a3487 1
  echo "$as_me:3413: \$? = $ac_status" >&5
d3490 1
a3490 1
  { (eval echo "$as_me:3416: \"$ac_try\"") >&5
d3493 1
a3493 1
  echo "$as_me:3419: \$? = $ac_status" >&5
d3502 1
a3502 1
echo "$as_me:3428: result: $groff_cv_header_inttypes_h" >&5
d3516 1
a3516 1
echo "$as_me:3442: checking for unsigned long long" >&5
d3519 1
a3519 1
#line 3445 "configure"
d3532 1
a3532 1
if { (eval echo "$as_me:3458: \"$ac_link\"") >&5
d3535 1
a3535 1
  echo "$as_me:3461: \$? = $ac_status" >&5
d3538 1
a3538 1
  { (eval echo "$as_me:3464: \"$ac_try\"") >&5
d3541 1
a3541 1
  echo "$as_me:3467: \$? = $ac_status" >&5
d3550 1
a3550 1
echo "$as_me:3476: result: $groff_cv_type_unsigned_long_long" >&5
d3574 1
a3574 1
echo "$as_me:3500: checking for declaration of time_t" >&5
d3577 1
a3577 1
#line 3503 "configure"
d3589 1
a3589 1
if { (eval echo "$as_me:3515: \"$ac_compile\"") >&5
d3592 1
a3592 1
  echo "$as_me:3518: \$? = $ac_status" >&5
d3595 1
a3595 1
  { (eval echo "$as_me:3521: \"$ac_try\"") >&5
d3598 1
a3598 1
  echo "$as_me:3524: \$? = $ac_status" >&5
d3600 1
a3600 1
  echo "$as_me:3526: result: yes" >&5
d3605 1
a3605 1
echo "$as_me:3531: result: no" >&5
d3618 1
a3618 1
echo "$as_me:3544: checking return type of signal handlers" >&5
d3624 1
a3624 1
#line 3550 "configure"
d3646 1
a3646 1
if { (eval echo "$as_me:3572: \"$ac_compile\"") >&5
d3649 1
a3649 1
  echo "$as_me:3575: \$? = $ac_status" >&5
d3652 1
a3652 1
  { (eval echo "$as_me:3578: \"$ac_try\"") >&5
d3655 1
a3655 1
  echo "$as_me:3581: \$? = $ac_status" >&5
d3665 1
a3665 1
echo "$as_me:3591: result: $ac_cv_type_signal" >&5
d3672 1
a3672 1
echo "$as_me:3598: checking struct exception" >&5
d3675 1
a3675 1
#line 3601 "configure"
d3687 1
a3687 1
if { (eval echo "$as_me:3613: \"$ac_compile\"") >&5
d3690 1
a3690 1
  echo "$as_me:3616: \$? = $ac_status" >&5
d3693 1
a3693 1
  { (eval echo "$as_me:3619: \"$ac_try\"") >&5
d3696 1
a3696 1
  echo "$as_me:3622: \$? = $ac_status" >&5
d3698 1
a3698 1
  echo "$as_me:3624: result: yes" >&5
d3706 1
a3706 1
echo "$as_me:3632: result: no" >&5
d3710 1
a3710 1
echo "$as_me:3636: checking for sin in -lm" >&5
d3718 1
a3718 1
#line 3644 "configure"
d3737 1
a3737 1
if { (eval echo "$as_me:3663: \"$ac_link\"") >&5
d3740 1
a3740 1
  echo "$as_me:3666: \$? = $ac_status" >&5
d3743 1
a3743 1
  { (eval echo "$as_me:3669: \"$ac_try\"") >&5
d3746 1
a3746 1
  echo "$as_me:3672: \$? = $ac_status" >&5
d3757 1
a3757 1
echo "$as_me:3683: result: $ac_cv_lib_m_sin" >&5
d3766 1
a3766 1
echo "$as_me:3692: checking for $ac_header" >&5
d3772 1
a3772 1
#line 3698 "configure"
d3776 1
a3776 1
if { (eval echo "$as_me:3702: \"$ac_cpp conftest.$ac_ext\"") >&5
d3782 1
a3782 1
  echo "$as_me:3708: \$? = $ac_status" >&5
d3801 1
a3801 1
echo "$as_me:3727: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3814 1
a3814 1
echo "$as_me:3740: checking for $ac_func" >&5
d3820 1
a3820 1
#line 3746 "configure"
d3851 1
a3851 1
if { (eval echo "$as_me:3777: \"$ac_link\"") >&5
d3854 1
a3854 1
  echo "$as_me:3780: \$? = $ac_status" >&5
d3857 1
a3857 1
  { (eval echo "$as_me:3783: \"$ac_try\"") >&5
d3860 1
a3860 1
  echo "$as_me:3786: \$? = $ac_status" >&5
d3870 1
a3870 1
echo "$as_me:3796: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3880 1
a3880 1
echo "$as_me:3806: checking for working mmap" >&5
d3889 1
a3889 1
#line 3815 "configure"
d4021 1
a4021 1
if { (eval echo "$as_me:3947: \"$ac_link\"") >&5
d4024 1
a4024 1
  echo "$as_me:3950: \$? = $ac_status" >&5
d4026 1
a4026 1
  { (eval echo "$as_me:3952: \"$ac_try\"") >&5
d4029 1
a4029 1
  echo "$as_me:3955: \$? = $ac_status" >&5
d4041 1
a4041 1
echo "$as_me:3967: result: $ac_cv_func_mmap_fixed_mapped" >&5
d4058 1
a4058 1
echo "$as_me:3984: checking for $ac_func" >&5
d4064 1
a4064 1
#line 3990 "configure"
d4095 1
a4095 1
if { (eval echo "$as_me:4021: \"$ac_link\"") >&5
d4098 1
a4098 1
  echo "$as_me:4024: \$? = $ac_status" >&5
d4101 1
a4101 1
  { (eval echo "$as_me:4027: \"$ac_try\"") >&5
d4104 1
a4104 1
  echo "$as_me:4030: \$? = $ac_status" >&5
d4114 1
a4114 1
echo "$as_me:4040: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4131 1
a4131 1
echo "$as_me:4057: checking for $ac_func" >&5
d4137 1
a4137 1
#line 4063 "configure"
d4168 1
a4168 1
if { (eval echo "$as_me:4094: \"$ac_link\"") >&5
d4171 1
a4171 1
  echo "$as_me:4097: \$? = $ac_status" >&5
d4174 1
a4174 1
  { (eval echo "$as_me:4100: \"$ac_try\"") >&5
d4177 1
a4177 1
  echo "$as_me:4103: \$? = $ac_status" >&5
d4187 1
a4187 1
echo "$as_me:4113: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4203 1
a4203 1
echo "$as_me:4129: checking for mkstemp" >&5
d4209 1
a4209 1
#line 4135 "configure"
d4240 1
a4240 1
if { (eval echo "$as_me:4166: \"$ac_link\"") >&5
d4243 1
a4243 1
  echo "$as_me:4169: \$? = $ac_status" >&5
d4246 1
a4246 1
  { (eval echo "$as_me:4172: \"$ac_try\"") >&5
d4249 1
a4249 1
  echo "$as_me:4175: \$? = $ac_status" >&5
d4259 1
a4259 1
echo "$as_me:4185: result: $ac_cv_func_mkstemp" >&5
d4262 4
a4265 1
  :
d4276 1
a4276 1
echo "$as_me:4199: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4282 1
a4282 1
#line 4205 "configure"
d4300 1
a4300 1
if { (eval echo "$as_me:4223: \"$ac_compile\"") >&5
d4303 1
a4303 1
  echo "$as_me:4226: \$? = $ac_status" >&5
d4306 1
a4306 1
  { (eval echo "$as_me:4229: \"$ac_try\"") >&5
d4309 1
a4309 1
  echo "$as_me:4232: \$? = $ac_status" >&5
d4319 1
a4319 1
echo "$as_me:4242: result: $ac_cv_decl_sys_siglist" >&5
d4335 1
a4335 1
echo "$as_me:4258: checking whether ANSI array delete syntax supported" >&5
d4338 1
a4338 1
#line 4261 "configure"
d4350 1
a4350 1
if { (eval echo "$as_me:4273: \"$ac_compile\"") >&5
d4353 1
a4353 1
  echo "$as_me:4276: \$? = $ac_status" >&5
d4356 1
a4356 1
  { (eval echo "$as_me:4279: \"$ac_try\"") >&5
d4359 1
a4359 1
  echo "$as_me:4282: \$? = $ac_status" >&5
d4361 1
a4361 1
  echo "$as_me:4284: result: yes" >&5
d4366 1
a4366 1
echo "$as_me:4289: result: no" >&5
d4385 1
a4385 1
echo "$as_me:4308: checking traditional preprocessor" >&5
d4388 1
a4388 1
#line 4311 "configure"
d4400 1
a4400 1
if { (eval echo "$as_me:4323: \"$ac_compile\"") >&5
d4403 1
a4403 1
  echo "$as_me:4326: \$? = $ac_status" >&5
d4406 1
a4406 1
  { (eval echo "$as_me:4329: \"$ac_try\"") >&5
d4409 1
a4409 1
  echo "$as_me:4332: \$? = $ac_status" >&5
d4411 1
a4411 1
  echo "$as_me:4334: result: yes" >&5
d4419 1
a4419 1
echo "$as_me:4342: result: no" >&5
d4429 1
a4429 1
echo "$as_me:4352: checking w_coredump" >&5
d4432 1
a4432 1
  echo "$as_me:4355: result: no" >&5
d4436 1
a4436 1
#line 4359 "configure"
d4452 1
a4452 1
if { (eval echo "$as_me:4375: \"$ac_link\"") >&5
d4455 1
a4455 1
  echo "$as_me:4378: \$? = $ac_status" >&5
d4457 1
a4457 1
  { (eval echo "$as_me:4380: \"$ac_try\"") >&5
d4460 1
a4460 1
  echo "$as_me:4383: \$? = $ac_status" >&5
d4462 1
a4462 1
  echo "$as_me:4385: result: yes" >&5
d4471 1
a4471 1
echo "$as_me:4394: result: no" >&5
d4476 1
a4476 1
echo "$as_me:4399: checking default value for grops -b option" >&5
d4479 1
a4479 1
echo "$as_me:4402: result: $BROKEN_SPOOLER_FLAGS" >&5
d4482 1
a4482 1
echo "$as_me:4405: checking default paper size" >&5
d4527 1
a4527 1
echo "$as_me:4450: result: $PAGE" >&5
d4530 1
a4530 1
echo "$as_me:4453: checking for existing troff installation" >&5
d4533 1
a4533 1
	echo "$as_me:4456: result: yes" >&5
d4537 1
a4537 1
	echo "$as_me:4460: result: no" >&5
d4542 1
a4542 1
echo "$as_me:4465: checking for prefix of system macro packages" >&5
d4559 1
a4559 1
echo "$as_me:4482: result: $sys_tmac_prefix" >&5
d4563 1
a4563 1
echo "$as_me:4486: checking which system macro packages should be made available" >&5
d4599 1
a4599 1
echo "$as_me:4522: result: $tmac_wrap" >&5
d4714 1
a4714 1
{ echo "$as_me:4637: creating $CONFIG_STATUS" >&5
d4882 1
a4882 1
    { { echo "$as_me:4805: error: ambiguous option: $1
d4905 1
a4905 1
  -*) { { echo "$as_me:4828: error: unrecognized option: $1
d4910 1
a4910 1
  *) { { echo "$as_me:4833: error: invalid argument: $1" >&5
d5151 1
a5151 1
    { echo "$as_me:5074: creating $ac_file" >&5
d5169 1
a5169 1
         test -f "$f" || { { echo "$as_me:5092: error: cannot find input file: $f" >&5
d5182 1
a5182 1
           { { echo "$as_me:5105: error: cannot find input file: $f" >&5
@


1.21
log
@* src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
* src/libs/libgroff/mkstemp.cc: New file.
* src/libs/libgroff/mksdir.cc: New file.
* src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
(xtmpfile) [!HAVE_MKSTEMP]: Removed.
* src/libs/libgroff/Makefile.sub: Updated.
* src/include/lib.h: Add mksdir() prototype.
* src/include/posix.h: Define S_IXUSR if not yet defined.

* src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
(createAllPages): Use mksdir() instead of current code.
* src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
(main): [!HAVE_MKSTEMP]: Removed.

* aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
(GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
macros.
* configure.ac: Add tests for stdint.h, sys/time.h, and
gettimeofday().
Call new GROFF_xxx macros.
* configure: Regenerated.
* Makefile.in: Comments updated.
@
text
@d4444 7
a4450 1
echo "$as_me:4444: result: $PAGE" >&5
d4453 1
a4453 1
echo "$as_me:4447: checking for existing troff installation" >&5
d4456 1
a4456 1
	echo "$as_me:4450: result: yes" >&5
d4460 1
a4460 1
	echo "$as_me:4454: result: no" >&5
d4465 1
a4465 1
echo "$as_me:4459: checking for prefix of system macro packages" >&5
d4482 1
a4482 1
echo "$as_me:4476: result: $sys_tmac_prefix" >&5
d4486 1
a4486 1
echo "$as_me:4480: checking which system macro packages should be made available" >&5
d4522 1
a4522 1
echo "$as_me:4516: result: $tmac_wrap" >&5
d4637 1
a4637 1
{ echo "$as_me:4631: creating $CONFIG_STATUS" >&5
d4805 1
a4805 1
    { { echo "$as_me:4799: error: ambiguous option: $1
d4828 1
a4828 1
  -*) { { echo "$as_me:4822: error: unrecognized option: $1
d4833 1
a4833 1
  *) { { echo "$as_me:4827: error: invalid argument: $1" >&5
d5074 1
a5074 1
    { echo "$as_me:5068: creating $ac_file" >&5
d5092 1
a5092 1
         test -f "$f" || { { echo "$as_me:5086: error: cannot find input file: $f" >&5
d5105 1
a5105 1
           { { echo "$as_me:5099: error: cannot find input file: $f" >&5
@


1.20
log
@Replace strdup() with strsave().

* src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
(set_papersize): Use strsave() and a_delete.
(main): Use strsave().
* src/preproc/html/pre-html.cc (make_message, createAllPages,
removeAllPages): Use strsave() and a_delete.

* configure.ac: Remove test for strdup.
* configure: Regenerated.


* win32-diffs: Updated.
@
text
@d2664 1
a2664 1
                 string.h strings.h math.h
d3394 107
a3500 1
echo "$as_me:3394: checking for declaration of time_t" >&5
d3503 1
a3503 1
#line 3397 "configure"
d3515 1
a3515 1
if { (eval echo "$as_me:3409: \"$ac_compile\"") >&5
d3518 1
a3518 1
  echo "$as_me:3412: \$? = $ac_status" >&5
d3521 1
a3521 1
  { (eval echo "$as_me:3415: \"$ac_try\"") >&5
d3524 1
a3524 1
  echo "$as_me:3418: \$? = $ac_status" >&5
d3526 1
a3526 1
  echo "$as_me:3420: result: yes" >&5
d3531 1
a3531 1
echo "$as_me:3425: result: no" >&5
d3544 1
a3544 1
echo "$as_me:3438: checking return type of signal handlers" >&5
d3550 1
a3550 1
#line 3444 "configure"
d3572 1
a3572 1
if { (eval echo "$as_me:3466: \"$ac_compile\"") >&5
d3575 1
a3575 1
  echo "$as_me:3469: \$? = $ac_status" >&5
d3578 1
a3578 1
  { (eval echo "$as_me:3472: \"$ac_try\"") >&5
d3581 1
a3581 1
  echo "$as_me:3475: \$? = $ac_status" >&5
d3591 1
a3591 1
echo "$as_me:3485: result: $ac_cv_type_signal" >&5
d3598 1
a3598 1
echo "$as_me:3492: checking struct exception" >&5
d3601 1
a3601 1
#line 3495 "configure"
d3613 1
a3613 1
if { (eval echo "$as_me:3507: \"$ac_compile\"") >&5
d3616 1
a3616 1
  echo "$as_me:3510: \$? = $ac_status" >&5
d3619 1
a3619 1
  { (eval echo "$as_me:3513: \"$ac_try\"") >&5
d3622 1
a3622 1
  echo "$as_me:3516: \$? = $ac_status" >&5
d3624 1
a3624 1
  echo "$as_me:3518: result: yes" >&5
d3632 1
a3632 1
echo "$as_me:3526: result: no" >&5
d3636 1
a3636 1
echo "$as_me:3530: checking for sin in -lm" >&5
d3644 1
a3644 1
#line 3538 "configure"
d3663 1
a3663 1
if { (eval echo "$as_me:3557: \"$ac_link\"") >&5
d3666 1
a3666 1
  echo "$as_me:3560: \$? = $ac_status" >&5
d3669 1
a3669 1
  { (eval echo "$as_me:3563: \"$ac_try\"") >&5
d3672 1
a3672 1
  echo "$as_me:3566: \$? = $ac_status" >&5
d3683 1
a3683 1
echo "$as_me:3577: result: $ac_cv_lib_m_sin" >&5
d3692 1
a3692 1
echo "$as_me:3586: checking for $ac_header" >&5
d3698 1
a3698 1
#line 3592 "configure"
d3702 1
a3702 1
if { (eval echo "$as_me:3596: \"$ac_cpp conftest.$ac_ext\"") >&5
d3708 1
a3708 1
  echo "$as_me:3602: \$? = $ac_status" >&5
d3727 1
a3727 1
echo "$as_me:3621: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3740 1
a3740 1
echo "$as_me:3634: checking for $ac_func" >&5
d3746 1
a3746 1
#line 3640 "configure"
d3777 1
a3777 1
if { (eval echo "$as_me:3671: \"$ac_link\"") >&5
d3780 1
a3780 1
  echo "$as_me:3674: \$? = $ac_status" >&5
d3783 1
a3783 1
  { (eval echo "$as_me:3677: \"$ac_try\"") >&5
d3786 1
a3786 1
  echo "$as_me:3680: \$? = $ac_status" >&5
d3796 1
a3796 1
echo "$as_me:3690: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3806 1
a3806 1
echo "$as_me:3700: checking for working mmap" >&5
d3815 1
a3815 1
#line 3709 "configure"
d3947 1
a3947 1
if { (eval echo "$as_me:3841: \"$ac_link\"") >&5
d3950 1
a3950 1
  echo "$as_me:3844: \$? = $ac_status" >&5
d3952 1
a3952 1
  { (eval echo "$as_me:3846: \"$ac_try\"") >&5
d3955 1
a3955 1
  echo "$as_me:3849: \$? = $ac_status" >&5
d3967 1
a3967 1
echo "$as_me:3861: result: $ac_cv_func_mmap_fixed_mapped" >&5
d3984 1
a3984 1
echo "$as_me:3878: checking for $ac_func" >&5
d3990 1
a3990 1
#line 3884 "configure"
d4021 1
a4021 1
if { (eval echo "$as_me:3915: \"$ac_link\"") >&5
d4024 1
a4024 1
  echo "$as_me:3918: \$? = $ac_status" >&5
d4027 1
a4027 1
  { (eval echo "$as_me:3921: \"$ac_try\"") >&5
d4030 1
a4030 1
  echo "$as_me:3924: \$? = $ac_status" >&5
d4040 1
a4040 1
echo "$as_me:3934: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4054 1
a4054 1
for ac_func in rename strcasecmp strncasecmp strsep
d4057 1
a4057 1
echo "$as_me:3951: checking for $ac_func" >&5
d4063 1
a4063 1
#line 3957 "configure"
d4094 1
a4094 1
if { (eval echo "$as_me:3988: \"$ac_link\"") >&5
d4097 1
a4097 1
  echo "$as_me:3991: \$? = $ac_status" >&5
d4100 1
a4100 1
  { (eval echo "$as_me:3994: \"$ac_try\"") >&5
d4103 1
a4103 1
  echo "$as_me:3997: \$? = $ac_status" >&5
d4113 1
a4113 1
echo "$as_me:4007: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4123 7
a4129 1
echo "$as_me:4017: checking for mkstemp" >&5
d4135 1
a4135 1
#line 4023 "configure"
d4166 1
a4166 1
if { (eval echo "$as_me:4054: \"$ac_link\"") >&5
d4169 1
a4169 1
  echo "$as_me:4057: \$? = $ac_status" >&5
d4172 1
a4172 1
  { (eval echo "$as_me:4060: \"$ac_try\"") >&5
d4175 1
a4175 1
  echo "$as_me:4063: \$? = $ac_status" >&5
d4185 1
a4185 1
echo "$as_me:4073: result: $ac_cv_func_mkstemp" >&5
d4188 1
a4188 18
  cat >>confdefs.h <<\EOF
#define HAVE_MKSTEMP 1
EOF

echo "$as_me:4080: checking for mkstemp prototype in <stdlib.h>" >&5
echo $ECHO_N "checking for mkstemp prototype in <stdlib.h>... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line 4083 "configure"
#include "confdefs.h"
#include <stdlib.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "mkstemp" >/dev/null 2>&1; then
  echo "$as_me:4089: result: yes" >&5
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
#define HAVE_MKSTEMP_PROTO 1
EOF

d4190 1
a4190 2
  echo "$as_me:4095: result: no" >&5
echo "${ECHO_T}no" >&6
a4191 1
rm -f conftest*
d4193 5
a4197 1
fi
d4199 1
a4199 1
echo "$as_me:4102: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4205 1
a4205 1
#line 4108 "configure"
d4223 1
a4223 1
if { (eval echo "$as_me:4126: \"$ac_compile\"") >&5
d4226 1
a4226 1
  echo "$as_me:4129: \$? = $ac_status" >&5
d4229 1
a4229 1
  { (eval echo "$as_me:4132: \"$ac_try\"") >&5
d4232 1
a4232 1
  echo "$as_me:4135: \$? = $ac_status" >&5
d4242 1
a4242 1
echo "$as_me:4145: result: $ac_cv_decl_sys_siglist" >&5
d4258 1
a4258 1
echo "$as_me:4161: checking whether ANSI array delete syntax supported" >&5
d4261 1
a4261 1
#line 4164 "configure"
d4273 1
a4273 1
if { (eval echo "$as_me:4176: \"$ac_compile\"") >&5
d4276 1
a4276 1
  echo "$as_me:4179: \$? = $ac_status" >&5
d4279 1
a4279 1
  { (eval echo "$as_me:4182: \"$ac_try\"") >&5
d4282 1
a4282 1
  echo "$as_me:4185: \$? = $ac_status" >&5
d4284 1
a4284 1
  echo "$as_me:4187: result: yes" >&5
d4289 1
a4289 1
echo "$as_me:4192: result: no" >&5
d4308 1
a4308 1
echo "$as_me:4211: checking traditional preprocessor" >&5
d4311 1
a4311 1
#line 4214 "configure"
d4323 1
a4323 1
if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5
d4326 1
a4326 1
  echo "$as_me:4229: \$? = $ac_status" >&5
d4329 1
a4329 1
  { (eval echo "$as_me:4232: \"$ac_try\"") >&5
d4332 1
a4332 1
  echo "$as_me:4235: \$? = $ac_status" >&5
d4334 1
a4334 1
  echo "$as_me:4237: result: yes" >&5
d4342 1
a4342 1
echo "$as_me:4245: result: no" >&5
d4352 1
a4352 1
echo "$as_me:4255: checking w_coredump" >&5
d4355 1
a4355 1
  echo "$as_me:4258: result: no" >&5
d4359 1
a4359 1
#line 4262 "configure"
d4375 1
a4375 1
if { (eval echo "$as_me:4278: \"$ac_link\"") >&5
d4378 1
a4378 1
  echo "$as_me:4281: \$? = $ac_status" >&5
d4380 1
a4380 1
  { (eval echo "$as_me:4283: \"$ac_try\"") >&5
d4383 1
a4383 1
  echo "$as_me:4286: \$? = $ac_status" >&5
d4385 1
a4385 1
  echo "$as_me:4288: result: yes" >&5
d4394 1
a4394 1
echo "$as_me:4297: result: no" >&5
d4399 1
a4399 1
echo "$as_me:4302: checking default value for grops -b option" >&5
d4402 1
a4402 1
echo "$as_me:4305: result: $BROKEN_SPOOLER_FLAGS" >&5
d4405 1
a4405 1
echo "$as_me:4308: checking default paper size" >&5
d4444 1
a4444 1
echo "$as_me:4347: result: $PAGE" >&5
d4447 1
a4447 1
echo "$as_me:4350: checking for existing troff installation" >&5
d4450 1
a4450 1
	echo "$as_me:4353: result: yes" >&5
d4454 1
a4454 1
	echo "$as_me:4357: result: no" >&5
d4459 1
a4459 1
echo "$as_me:4362: checking for prefix of system macro packages" >&5
d4476 1
a4476 1
echo "$as_me:4379: result: $sys_tmac_prefix" >&5
d4480 1
a4480 1
echo "$as_me:4383: checking which system macro packages should be made available" >&5
d4516 1
a4516 1
echo "$as_me:4419: result: $tmac_wrap" >&5
d4631 1
a4631 1
{ echo "$as_me:4534: creating $CONFIG_STATUS" >&5
d4799 1
a4799 1
    { { echo "$as_me:4702: error: ambiguous option: $1
d4822 1
a4822 1
  -*) { { echo "$as_me:4725: error: unrecognized option: $1
d4827 1
a4827 1
  *) { { echo "$as_me:4730: error: invalid argument: $1" >&5
d5068 1
a5068 1
    { echo "$as_me:4971: creating $ac_file" >&5
d5086 1
a5086 1
         test -f "$f" || { { echo "$as_me:4989: error: cannot find input file: $f" >&5
d5099 1
a5099 1
           { { echo "$as_me:5002: error: cannot find input file: $f" >&5
@


1.19
log
@* aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
* configure: Regenerated.
@
text
@d3948 1
a3948 1
for ac_func in rename strcasecmp strncasecmp strsep strdup
@


1.18
log
@* aclocal.m4 (GROFF_PAGE): Fix page detection code.
* configure: Regenerated.
@
text
@a2727 1

d2735 1
a2735 1
#line 2736 "configure"
d2748 1
a2748 1
if { (eval echo "$as_me:2749: \"$ac_compile\"") >&5
d2751 1
a2751 1
  echo "$as_me:2752: \$? = $ac_status" >&5
d2754 1
a2754 1
  { (eval echo "$as_me:2755: \"$ac_try\"") >&5
d2757 1
a2757 1
  echo "$as_me:2758: \$? = $ac_status" >&5
d2759 1
a2759 1
  echo "$as_me:2760: result: yes" >&5
d2767 1
a2767 1
echo "$as_me:2768: result: no" >&5
d2783 1
a2783 1
echo "$as_me:2784: checking for return type of srand" >&5
d2786 1
a2786 1
#line 2787 "configure"
d2799 1
a2799 1
if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5
d2802 1
a2802 1
  echo "$as_me:2803: \$? = $ac_status" >&5
d2805 1
a2805 1
  { (eval echo "$as_me:2806: \"$ac_try\"") >&5
d2808 1
a2808 1
  echo "$as_me:2809: \$? = $ac_status" >&5
d2810 1
a2810 1
  echo "$as_me:2811: result: void" >&5
d2818 1
a2818 1
echo "$as_me:2819: result: int" >&5
d2828 1
a2828 1
echo "$as_me:2829: checking whether hypot must be declared" >&5
a2829 1

d2840 1
a2840 1
#line 2842 "configure"
d2868 1
a2868 1
if { (eval echo "$as_me:2870: \"$ac_compile\"") >&5
d2871 1
a2871 1
  echo "$as_me:2873: \$? = $ac_status" >&5
d2874 1
a2874 1
  { (eval echo "$as_me:2876: \"$ac_try\"") >&5
d2877 1
a2877 1
  echo "$as_me:2879: \$? = $ac_status" >&5
d2888 1
a2888 1
echo "$as_me:2890: result: $groff_cv_decl_needed_hypot" >&5
d2902 1
a2902 1
echo "$as_me:2904: checking whether popen must be declared" >&5
a2903 1

d2914 1
a2914 1
#line 2917 "configure"
d2942 1
a2942 1
if { (eval echo "$as_me:2945: \"$ac_compile\"") >&5
d2945 1
a2945 1
  echo "$as_me:2948: \$? = $ac_status" >&5
d2948 1
a2948 1
  { (eval echo "$as_me:2951: \"$ac_try\"") >&5
d2951 1
a2951 1
  echo "$as_me:2954: \$? = $ac_status" >&5
d2962 1
a2962 1
echo "$as_me:2965: result: $groff_cv_decl_needed_popen" >&5
d2976 1
a2976 1
echo "$as_me:2979: checking whether pclose must be declared" >&5
a2977 1

d2988 1
a2988 1
#line 2992 "configure"
d3016 1
a3016 1
if { (eval echo "$as_me:3020: \"$ac_compile\"") >&5
d3019 1
a3019 1
  echo "$as_me:3023: \$? = $ac_status" >&5
d3022 1
a3022 1
  { (eval echo "$as_me:3026: \"$ac_try\"") >&5
d3025 1
a3025 1
  echo "$as_me:3029: \$? = $ac_status" >&5
d3036 1
a3036 1
echo "$as_me:3040: result: $groff_cv_decl_needed_pclose" >&5
d3050 1
a3050 1
echo "$as_me:3054: checking whether putenv must be declared" >&5
a3051 1

d3062 1
a3062 1
#line 3067 "configure"
d3090 1
a3090 1
if { (eval echo "$as_me:3095: \"$ac_compile\"") >&5
d3093 1
a3093 1
  echo "$as_me:3098: \$? = $ac_status" >&5
d3096 1
a3096 1
  { (eval echo "$as_me:3101: \"$ac_try\"") >&5
d3099 1
a3099 1
  echo "$as_me:3104: \$? = $ac_status" >&5
d3110 1
a3110 1
echo "$as_me:3115: result: $groff_cv_decl_needed_putenv" >&5
d3124 1
a3124 1
echo "$as_me:3129: checking whether strncasecmp must be declared" >&5
a3125 1

d3136 1
a3136 1
#line 3142 "configure"
d3164 1
a3164 1
if { (eval echo "$as_me:3170: \"$ac_compile\"") >&5
d3167 1
a3167 1
  echo "$as_me:3173: \$? = $ac_status" >&5
d3170 1
a3170 1
  { (eval echo "$as_me:3176: \"$ac_try\"") >&5
d3173 1
a3173 1
  echo "$as_me:3179: \$? = $ac_status" >&5
d3184 1
a3184 1
echo "$as_me:3190: result: $groff_cv_decl_needed_strncasecmp" >&5
d3204 1
a3204 1
echo "$as_me:3210: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3207 1
a3207 1
#line 3213 "configure"
d3220 1
a3220 1
if { (eval echo "$as_me:3226: \"$ac_compile\"") >&5
d3223 1
a3223 1
  echo "$as_me:3229: \$? = $ac_status" >&5
d3226 1
a3226 1
  { (eval echo "$as_me:3232: \"$ac_try\"") >&5
d3229 1
a3229 1
  echo "$as_me:3235: \$? = $ac_status" >&5
d3231 1
a3231 1
  echo "$as_me:3237: result: yes" >&5
d3239 1
a3239 1
echo "$as_me:3245: result: no" >&5
d3249 1
a3249 1
echo "$as_me:3255: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3252 1
a3252 1
#line 3258 "configure"
d3265 1
a3265 1
if { (eval echo "$as_me:3271: \"$ac_compile\"") >&5
d3268 1
a3268 1
  echo "$as_me:3274: \$? = $ac_status" >&5
d3271 1
a3271 1
  { (eval echo "$as_me:3277: \"$ac_try\"") >&5
d3274 1
a3274 1
  echo "$as_me:3280: \$? = $ac_status" >&5
d3276 1
a3276 1
  echo "$as_me:3282: result: yes" >&5
d3284 1
a3284 1
echo "$as_me:3290: result: no" >&5
a3287 1

d3294 1
a3294 1
echo "$as_me:3301: checking C++ <osfcn.h>" >&5
d3297 1
a3297 1
#line 3304 "configure"
d3309 1
a3309 1
if { (eval echo "$as_me:3316: \"$ac_compile\"") >&5
d3312 1
a3312 1
  echo "$as_me:3319: \$? = $ac_status" >&5
d3315 1
a3315 1
  { (eval echo "$as_me:3322: \"$ac_try\"") >&5
d3318 1
a3318 1
  echo "$as_me:3325: \$? = $ac_status" >&5
d3320 1
a3320 1
  echo "$as_me:3327: result: yes" >&5
d3328 1
a3328 1
echo "$as_me:3335: result: no" >&5
d3344 1
a3344 1
echo "$as_me:3351: checking C++ <limits.h>" >&5
d3347 1
a3347 1
#line 3354 "configure"
d3359 1
a3359 1
if { (eval echo "$as_me:3366: \"$ac_compile\"") >&5
d3362 1
a3362 1
  echo "$as_me:3369: \$? = $ac_status" >&5
d3365 1
a3365 1
  { (eval echo "$as_me:3372: \"$ac_try\"") >&5
d3368 1
a3368 1
  echo "$as_me:3375: \$? = $ac_status" >&5
d3370 1
a3370 1
  echo "$as_me:3377: result: yes" >&5
d3378 1
a3378 1
echo "$as_me:3385: result: no" >&5
d3394 1
a3394 1
echo "$as_me:3401: checking for declaration of time_t" >&5
d3397 1
a3397 1
#line 3404 "configure"
d3409 1
a3409 1
if { (eval echo "$as_me:3416: \"$ac_compile\"") >&5
d3412 1
a3412 1
  echo "$as_me:3419: \$? = $ac_status" >&5
d3415 1
a3415 1
  { (eval echo "$as_me:3422: \"$ac_try\"") >&5
d3418 1
a3418 1
  echo "$as_me:3425: \$? = $ac_status" >&5
d3420 1
a3420 1
  echo "$as_me:3427: result: yes" >&5
d3425 1
a3425 1
echo "$as_me:3432: result: no" >&5
d3438 1
a3438 1
echo "$as_me:3445: checking return type of signal handlers" >&5
d3444 1
a3444 1
#line 3451 "configure"
d3466 1
a3466 1
if { (eval echo "$as_me:3473: \"$ac_compile\"") >&5
d3469 1
a3469 1
  echo "$as_me:3476: \$? = $ac_status" >&5
d3472 1
a3472 1
  { (eval echo "$as_me:3479: \"$ac_try\"") >&5
d3475 1
a3475 1
  echo "$as_me:3482: \$? = $ac_status" >&5
d3485 1
a3485 1
echo "$as_me:3492: result: $ac_cv_type_signal" >&5
d3492 1
a3492 1
echo "$as_me:3499: checking struct exception" >&5
d3495 1
a3495 1
#line 3502 "configure"
d3507 1
a3507 1
if { (eval echo "$as_me:3514: \"$ac_compile\"") >&5
d3510 1
a3510 1
  echo "$as_me:3517: \$? = $ac_status" >&5
d3513 1
a3513 1
  { (eval echo "$as_me:3520: \"$ac_try\"") >&5
d3516 1
a3516 1
  echo "$as_me:3523: \$? = $ac_status" >&5
d3518 1
a3518 1
  echo "$as_me:3525: result: yes" >&5
d3526 1
a3526 1
echo "$as_me:3533: result: no" >&5
d3530 1
a3530 1
echo "$as_me:3537: checking for sin in -lm" >&5
d3538 1
a3538 1
#line 3545 "configure"
d3557 1
a3557 1
if { (eval echo "$as_me:3564: \"$ac_link\"") >&5
d3560 1
a3560 1
  echo "$as_me:3567: \$? = $ac_status" >&5
d3563 1
a3563 1
  { (eval echo "$as_me:3570: \"$ac_try\"") >&5
d3566 1
a3566 1
  echo "$as_me:3573: \$? = $ac_status" >&5
d3577 1
a3577 1
echo "$as_me:3584: result: $ac_cv_lib_m_sin" >&5
d3586 1
a3586 1
echo "$as_me:3593: checking for $ac_header" >&5
d3592 1
a3592 1
#line 3599 "configure"
d3596 1
a3596 1
if { (eval echo "$as_me:3603: \"$ac_cpp conftest.$ac_ext\"") >&5
d3602 1
a3602 1
  echo "$as_me:3609: \$? = $ac_status" >&5
d3621 1
a3621 1
echo "$as_me:3628: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3634 1
a3634 1
echo "$as_me:3641: checking for $ac_func" >&5
d3640 1
a3640 1
#line 3647 "configure"
d3671 1
a3671 1
if { (eval echo "$as_me:3678: \"$ac_link\"") >&5
d3674 1
a3674 1
  echo "$as_me:3681: \$? = $ac_status" >&5
d3677 1
a3677 1
  { (eval echo "$as_me:3684: \"$ac_try\"") >&5
d3680 1
a3680 1
  echo "$as_me:3687: \$? = $ac_status" >&5
d3690 1
a3690 1
echo "$as_me:3697: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3700 1
a3700 1
echo "$as_me:3707: checking for working mmap" >&5
d3709 1
a3709 1
#line 3716 "configure"
d3841 1
a3841 1
if { (eval echo "$as_me:3848: \"$ac_link\"") >&5
d3844 1
a3844 1
  echo "$as_me:3851: \$? = $ac_status" >&5
d3846 1
a3846 1
  { (eval echo "$as_me:3853: \"$ac_try\"") >&5
d3849 1
a3849 1
  echo "$as_me:3856: \$? = $ac_status" >&5
d3861 1
a3861 1
echo "$as_me:3868: result: $ac_cv_func_mmap_fixed_mapped" >&5
d3878 1
a3878 1
echo "$as_me:3885: checking for $ac_func" >&5
d3884 1
a3884 1
#line 3891 "configure"
d3915 1
a3915 1
if { (eval echo "$as_me:3922: \"$ac_link\"") >&5
d3918 1
a3918 1
  echo "$as_me:3925: \$? = $ac_status" >&5
d3921 1
a3921 1
  { (eval echo "$as_me:3928: \"$ac_try\"") >&5
d3924 1
a3924 1
  echo "$as_me:3931: \$? = $ac_status" >&5
d3934 1
a3934 1
echo "$as_me:3941: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3951 1
a3951 1
echo "$as_me:3958: checking for $ac_func" >&5
d3957 1
a3957 1
#line 3964 "configure"
d3988 1
a3988 1
if { (eval echo "$as_me:3995: \"$ac_link\"") >&5
d3991 1
a3991 1
  echo "$as_me:3998: \$? = $ac_status" >&5
d3994 1
a3994 1
  { (eval echo "$as_me:4001: \"$ac_try\"") >&5
d3997 1
a3997 1
  echo "$as_me:4004: \$? = $ac_status" >&5
d4007 1
a4007 1
echo "$as_me:4014: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4017 1
a4017 1
echo "$as_me:4024: checking for mkstemp" >&5
d4023 1
a4023 1
#line 4030 "configure"
d4054 1
a4054 1
if { (eval echo "$as_me:4061: \"$ac_link\"") >&5
d4057 1
a4057 1
  echo "$as_me:4064: \$? = $ac_status" >&5
d4060 1
a4060 1
  { (eval echo "$as_me:4067: \"$ac_try\"") >&5
d4063 1
a4063 1
  echo "$as_me:4070: \$? = $ac_status" >&5
d4073 1
a4073 1
echo "$as_me:4080: result: $ac_cv_func_mkstemp" >&5
d4080 1
a4080 1
echo "$as_me:4087: checking for mkstemp prototype in <stdlib.h>" >&5
d4083 1
a4083 1
#line 4090 "configure"
d4089 1
a4089 1
  echo "$as_me:4096: result: yes" >&5
d4095 1
a4095 1
  echo "$as_me:4102: result: no" >&5
d4102 1
a4102 1
echo "$as_me:4109: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4108 1
a4108 1
#line 4115 "configure"
d4126 1
a4126 1
if { (eval echo "$as_me:4133: \"$ac_compile\"") >&5
d4129 1
a4129 1
  echo "$as_me:4136: \$? = $ac_status" >&5
d4132 1
a4132 1
  { (eval echo "$as_me:4139: \"$ac_try\"") >&5
d4135 1
a4135 1
  echo "$as_me:4142: \$? = $ac_status" >&5
d4145 1
a4145 1
echo "$as_me:4152: result: $ac_cv_decl_sys_siglist" >&5
d4161 1
a4161 1
echo "$as_me:4168: checking whether ANSI array delete syntax supported" >&5
d4164 1
a4164 1
#line 4171 "configure"
d4176 1
a4176 1
if { (eval echo "$as_me:4183: \"$ac_compile\"") >&5
d4179 1
a4179 1
  echo "$as_me:4186: \$? = $ac_status" >&5
d4182 1
a4182 1
  { (eval echo "$as_me:4189: \"$ac_try\"") >&5
d4185 1
a4185 1
  echo "$as_me:4192: \$? = $ac_status" >&5
d4187 1
a4187 1
  echo "$as_me:4194: result: yes" >&5
d4192 1
a4192 1
echo "$as_me:4199: result: no" >&5
d4211 1
a4211 1
echo "$as_me:4218: checking traditional preprocessor" >&5
d4214 1
a4214 1
#line 4221 "configure"
d4226 1
a4226 1
if { (eval echo "$as_me:4233: \"$ac_compile\"") >&5
d4229 1
a4229 1
  echo "$as_me:4236: \$? = $ac_status" >&5
d4232 1
a4232 1
  { (eval echo "$as_me:4239: \"$ac_try\"") >&5
d4235 1
a4235 1
  echo "$as_me:4242: \$? = $ac_status" >&5
d4237 1
a4237 1
  echo "$as_me:4244: result: yes" >&5
d4245 1
a4245 1
echo "$as_me:4252: result: no" >&5
d4255 1
a4255 1
echo "$as_me:4262: checking w_coredump" >&5
d4258 1
a4258 1
  echo "$as_me:4265: result: no" >&5
d4262 1
a4262 1
#line 4269 "configure"
d4278 1
a4278 1
if { (eval echo "$as_me:4285: \"$ac_link\"") >&5
d4281 1
a4281 1
  echo "$as_me:4288: \$? = $ac_status" >&5
d4283 1
a4283 1
  { (eval echo "$as_me:4290: \"$ac_try\"") >&5
d4286 1
a4286 1
  echo "$as_me:4293: \$? = $ac_status" >&5
d4288 1
a4288 1
  echo "$as_me:4295: result: yes" >&5
d4297 1
a4297 1
echo "$as_me:4304: result: no" >&5
d4302 1
a4302 1
echo "$as_me:4309: checking default value for grops -b option" >&5
d4305 1
a4305 1
echo "$as_me:4312: result: $BROKEN_SPOOLER_FLAGS" >&5
d4308 1
a4308 1
echo "$as_me:4315: checking default paper size" >&5
d4347 1
a4347 1
echo "$as_me:4354: result: $PAGE" >&5
d4350 1
a4350 1
echo "$as_me:4357: checking for existing troff installation" >&5
d4353 1
a4353 1
	echo "$as_me:4360: result: yes" >&5
d4357 1
a4357 1
	echo "$as_me:4364: result: no" >&5
d4362 1
a4362 1
echo "$as_me:4369: checking for prefix of system macro packages" >&5
d4379 1
a4379 1
echo "$as_me:4386: result: $sys_tmac_prefix" >&5
d4383 1
a4383 1
echo "$as_me:4390: checking which system macro packages should be made available" >&5
d4419 1
a4419 1
echo "$as_me:4426: result: $tmac_wrap" >&5
d4534 1
a4534 1
{ echo "$as_me:4541: creating $CONFIG_STATUS" >&5
d4702 1
a4702 1
    { { echo "$as_me:4709: error: ambiguous option: $1
d4725 1
a4725 1
  -*) { { echo "$as_me:4732: error: unrecognized option: $1
d4730 1
a4730 1
  *) { { echo "$as_me:4737: error: invalid argument: $1" >&5
d4971 1
a4971 1
    { echo "$as_me:4978: creating $ac_file" >&5
d4989 1
a4989 1
         test -f "$f" || { { echo "$as_me:4996: error: cannot find input file: $f" >&5
d5002 1
a5002 1
           { { echo "$as_me:5009: error: cannot find input file: $f" >&5
@


1.17
log
@* aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
* configure: Updated.
@
text
@a4333 2
	else
		PAGE=letter
d4341 2
a4342 1
		if test -z "$dom"; then
d4354 1
a4354 1
echo "$as_me:4355: result: $PAGE" >&5
d4357 1
a4357 1
echo "$as_me:4358: checking for existing troff installation" >&5
d4360 1
a4360 1
	echo "$as_me:4361: result: yes" >&5
d4364 1
a4364 1
	echo "$as_me:4365: result: no" >&5
d4369 1
a4369 1
echo "$as_me:4370: checking for prefix of system macro packages" >&5
d4386 1
a4386 1
echo "$as_me:4387: result: $sys_tmac_prefix" >&5
d4390 1
a4390 1
echo "$as_me:4391: checking which system macro packages should be made available" >&5
d4426 1
a4426 1
echo "$as_me:4427: result: $tmac_wrap" >&5
d4541 1
a4541 1
{ echo "$as_me:4542: creating $CONFIG_STATUS" >&5
d4709 1
a4709 1
    { { echo "$as_me:4710: error: ambiguous option: $1
d4732 1
a4732 1
  -*) { { echo "$as_me:4733: error: unrecognized option: $1
d4737 1
a4737 1
  *) { { echo "$as_me:4738: error: invalid argument: $1" >&5
d4978 1
a4978 1
    { echo "$as_me:4979: creating $ac_file" >&5
d4996 1
a4996 1
         test -f "$f" || { { echo "$as_me:4997: error: cannot find input file: $f" >&5
d5009 1
a5009 1
           { { echo "$as_me:5010: error: cannot find input file: $f" >&5
@


1.16
log
@Updated to autoconf 2.50.

* configure.in: Renamed to...
* configure.ac: This.
* aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
(GROFF_OS390): Updated.
* configure: Regenerated.
@
text
@d2848 1
a2848 1
#else
a2851 1
#endif
d2870 1
a2870 1
if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5
d2873 1
a2873 1
  echo "$as_me:2874: \$? = $ac_status" >&5
d2876 1
a2876 1
  { (eval echo "$as_me:2877: \"$ac_try\"") >&5
d2879 1
a2879 1
  echo "$as_me:2880: \$? = $ac_status" >&5
d2890 1
a2890 1
echo "$as_me:2891: result: $groff_cv_decl_needed_hypot" >&5
d2904 1
a2904 1
echo "$as_me:2905: checking whether popen must be declared" >&5
d2917 1
a2917 1
#line 2918 "configure"
d2923 1
a2923 1
#else
a2926 1
#endif
d2945 1
a2945 1
if { (eval echo "$as_me:2947: \"$ac_compile\"") >&5
d2948 1
a2948 1
  echo "$as_me:2950: \$? = $ac_status" >&5
d2951 1
a2951 1
  { (eval echo "$as_me:2953: \"$ac_try\"") >&5
d2954 1
a2954 1
  echo "$as_me:2956: \$? = $ac_status" >&5
d2965 1
a2965 1
echo "$as_me:2967: result: $groff_cv_decl_needed_popen" >&5
d2979 1
a2979 1
echo "$as_me:2981: checking whether pclose must be declared" >&5
d2992 1
a2992 1
#line 2994 "configure"
d2998 1
a2998 1
#else
a3001 1
#endif
d3020 1
a3020 1
if { (eval echo "$as_me:3023: \"$ac_compile\"") >&5
d3023 1
a3023 1
  echo "$as_me:3026: \$? = $ac_status" >&5
d3026 1
a3026 1
  { (eval echo "$as_me:3029: \"$ac_try\"") >&5
d3029 1
a3029 1
  echo "$as_me:3032: \$? = $ac_status" >&5
d3040 1
a3040 1
echo "$as_me:3043: result: $groff_cv_decl_needed_pclose" >&5
d3054 1
a3054 1
echo "$as_me:3057: checking whether putenv must be declared" >&5
d3067 1
a3067 1
#line 3070 "configure"
d3073 1
a3073 1
#else
a3076 1
#endif
d3095 1
a3095 1
if { (eval echo "$as_me:3099: \"$ac_compile\"") >&5
d3098 1
a3098 1
  echo "$as_me:3102: \$? = $ac_status" >&5
d3101 1
a3101 1
  { (eval echo "$as_me:3105: \"$ac_try\"") >&5
d3104 1
a3104 1
  echo "$as_me:3108: \$? = $ac_status" >&5
d3115 1
a3115 1
echo "$as_me:3119: result: $groff_cv_decl_needed_putenv" >&5
d3129 1
a3129 1
echo "$as_me:3133: checking whether strncasecmp must be declared" >&5
d3142 1
a3142 1
#line 3146 "configure"
d3148 1
a3148 1
#else
a3151 1
#endif
d3170 1
a3170 1
if { (eval echo "$as_me:3175: \"$ac_compile\"") >&5
d3173 1
a3173 1
  echo "$as_me:3178: \$? = $ac_status" >&5
d3176 1
a3176 1
  { (eval echo "$as_me:3181: \"$ac_try\"") >&5
d3179 1
a3179 1
  echo "$as_me:3184: \$? = $ac_status" >&5
d3190 1
a3190 1
echo "$as_me:3195: result: $groff_cv_decl_needed_strncasecmp" >&5
d3210 1
a3210 1
echo "$as_me:3215: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d3213 1
a3213 1
#line 3218 "configure"
d3226 1
a3226 1
if { (eval echo "$as_me:3231: \"$ac_compile\"") >&5
d3229 1
a3229 1
  echo "$as_me:3234: \$? = $ac_status" >&5
d3232 1
a3232 1
  { (eval echo "$as_me:3237: \"$ac_try\"") >&5
d3235 1
a3235 1
  echo "$as_me:3240: \$? = $ac_status" >&5
d3237 1
a3237 1
  echo "$as_me:3242: result: yes" >&5
d3245 1
a3245 1
echo "$as_me:3250: result: no" >&5
d3255 1
a3255 1
echo "$as_me:3260: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d3258 1
a3258 1
#line 3263 "configure"
d3271 1
a3271 1
if { (eval echo "$as_me:3276: \"$ac_compile\"") >&5
d3274 1
a3274 1
  echo "$as_me:3279: \$? = $ac_status" >&5
d3277 1
a3277 1
  { (eval echo "$as_me:3282: \"$ac_try\"") >&5
d3280 1
a3280 1
  echo "$as_me:3285: \$? = $ac_status" >&5
d3282 1
a3282 1
  echo "$as_me:3287: result: yes" >&5
d3290 1
a3290 1
echo "$as_me:3295: result: no" >&5
d3301 1
a3301 1
echo "$as_me:3306: checking C++ <osfcn.h>" >&5
d3304 1
a3304 1
#line 3309 "configure"
d3316 1
a3316 1
if { (eval echo "$as_me:3321: \"$ac_compile\"") >&5
d3319 1
a3319 1
  echo "$as_me:3324: \$? = $ac_status" >&5
d3322 1
a3322 1
  { (eval echo "$as_me:3327: \"$ac_try\"") >&5
d3325 1
a3325 1
  echo "$as_me:3330: \$? = $ac_status" >&5
d3327 1
a3327 1
  echo "$as_me:3332: result: yes" >&5
d3335 1
a3335 1
echo "$as_me:3340: result: no" >&5
d3351 1
a3351 1
echo "$as_me:3356: checking C++ <limits.h>" >&5
d3354 1
a3354 1
#line 3359 "configure"
d3366 1
a3366 1
if { (eval echo "$as_me:3371: \"$ac_compile\"") >&5
d3369 1
a3369 1
  echo "$as_me:3374: \$? = $ac_status" >&5
d3372 1
a3372 1
  { (eval echo "$as_me:3377: \"$ac_try\"") >&5
d3375 1
a3375 1
  echo "$as_me:3380: \$? = $ac_status" >&5
d3377 1
a3377 1
  echo "$as_me:3382: result: yes" >&5
d3385 1
a3385 1
echo "$as_me:3390: result: no" >&5
d3401 1
a3401 1
echo "$as_me:3406: checking for declaration of time_t" >&5
d3404 1
a3404 1
#line 3409 "configure"
d3416 1
a3416 1
if { (eval echo "$as_me:3421: \"$ac_compile\"") >&5
d3419 1
a3419 1
  echo "$as_me:3424: \$? = $ac_status" >&5
d3422 1
a3422 1
  { (eval echo "$as_me:3427: \"$ac_try\"") >&5
d3425 1
a3425 1
  echo "$as_me:3430: \$? = $ac_status" >&5
d3427 1
a3427 1
  echo "$as_me:3432: result: yes" >&5
d3432 1
a3432 1
echo "$as_me:3437: result: no" >&5
d3445 1
a3445 1
echo "$as_me:3450: checking return type of signal handlers" >&5
d3451 1
a3451 1
#line 3456 "configure"
d3473 1
a3473 1
if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
d3476 1
a3476 1
  echo "$as_me:3481: \$? = $ac_status" >&5
d3479 1
a3479 1
  { (eval echo "$as_me:3484: \"$ac_try\"") >&5
d3482 1
a3482 1
  echo "$as_me:3487: \$? = $ac_status" >&5
d3492 1
a3492 1
echo "$as_me:3497: result: $ac_cv_type_signal" >&5
d3499 1
a3499 1
echo "$as_me:3504: checking struct exception" >&5
d3502 1
a3502 1
#line 3507 "configure"
d3514 1
a3514 1
if { (eval echo "$as_me:3519: \"$ac_compile\"") >&5
d3517 1
a3517 1
  echo "$as_me:3522: \$? = $ac_status" >&5
d3520 1
a3520 1
  { (eval echo "$as_me:3525: \"$ac_try\"") >&5
d3523 1
a3523 1
  echo "$as_me:3528: \$? = $ac_status" >&5
d3525 1
a3525 1
  echo "$as_me:3530: result: yes" >&5
d3533 1
a3533 1
echo "$as_me:3538: result: no" >&5
d3537 1
a3537 1
echo "$as_me:3542: checking for sin in -lm" >&5
d3545 1
a3545 1
#line 3550 "configure"
d3564 1
a3564 1
if { (eval echo "$as_me:3569: \"$ac_link\"") >&5
d3567 1
a3567 1
  echo "$as_me:3572: \$? = $ac_status" >&5
d3570 1
a3570 1
  { (eval echo "$as_me:3575: \"$ac_try\"") >&5
d3573 1
a3573 1
  echo "$as_me:3578: \$? = $ac_status" >&5
d3584 1
a3584 1
echo "$as_me:3589: result: $ac_cv_lib_m_sin" >&5
d3593 1
a3593 1
echo "$as_me:3598: checking for $ac_header" >&5
d3599 1
a3599 1
#line 3604 "configure"
d3603 1
a3603 1
if { (eval echo "$as_me:3608: \"$ac_cpp conftest.$ac_ext\"") >&5
d3609 1
a3609 1
  echo "$as_me:3614: \$? = $ac_status" >&5
d3628 1
a3628 1
echo "$as_me:3633: result: `eval echo '${'$ac_ac_Header'}'`" >&5
d3641 1
a3641 1
echo "$as_me:3646: checking for $ac_func" >&5
d3647 1
a3647 1
#line 3652 "configure"
d3678 1
a3678 1
if { (eval echo "$as_me:3683: \"$ac_link\"") >&5
d3681 1
a3681 1
  echo "$as_me:3686: \$? = $ac_status" >&5
d3684 1
a3684 1
  { (eval echo "$as_me:3689: \"$ac_try\"") >&5
d3687 1
a3687 1
  echo "$as_me:3692: \$? = $ac_status" >&5
d3697 1
a3697 1
echo "$as_me:3702: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3707 1
a3707 1
echo "$as_me:3712: checking for working mmap" >&5
d3716 1
a3716 1
#line 3721 "configure"
d3848 1
a3848 1
if { (eval echo "$as_me:3853: \"$ac_link\"") >&5
d3851 1
a3851 1
  echo "$as_me:3856: \$? = $ac_status" >&5
d3853 1
a3853 1
  { (eval echo "$as_me:3858: \"$ac_try\"") >&5
d3856 1
a3856 1
  echo "$as_me:3861: \$? = $ac_status" >&5
d3868 1
a3868 1
echo "$as_me:3873: result: $ac_cv_func_mmap_fixed_mapped" >&5
d3885 1
a3885 1
echo "$as_me:3890: checking for $ac_func" >&5
d3891 1
a3891 1
#line 3896 "configure"
d3922 1
a3922 1
if { (eval echo "$as_me:3927: \"$ac_link\"") >&5
d3925 1
a3925 1
  echo "$as_me:3930: \$? = $ac_status" >&5
d3928 1
a3928 1
  { (eval echo "$as_me:3933: \"$ac_try\"") >&5
d3931 1
a3931 1
  echo "$as_me:3936: \$? = $ac_status" >&5
d3941 1
a3941 1
echo "$as_me:3946: result: `eval echo '${'$ac_ac_var'}'`" >&5
d3958 1
a3958 1
echo "$as_me:3963: checking for $ac_func" >&5
d3964 1
a3964 1
#line 3969 "configure"
d3995 1
a3995 1
if { (eval echo "$as_me:4000: \"$ac_link\"") >&5
d3998 1
a3998 1
  echo "$as_me:4003: \$? = $ac_status" >&5
d4001 1
a4001 1
  { (eval echo "$as_me:4006: \"$ac_try\"") >&5
d4004 1
a4004 1
  echo "$as_me:4009: \$? = $ac_status" >&5
d4014 1
a4014 1
echo "$as_me:4019: result: `eval echo '${'$ac_ac_var'}'`" >&5
d4024 1
a4024 1
echo "$as_me:4029: checking for mkstemp" >&5
d4030 1
a4030 1
#line 4035 "configure"
d4061 1
a4061 1
if { (eval echo "$as_me:4066: \"$ac_link\"") >&5
d4064 1
a4064 1
  echo "$as_me:4069: \$? = $ac_status" >&5
d4067 1
a4067 1
  { (eval echo "$as_me:4072: \"$ac_try\"") >&5
d4070 1
a4070 1
  echo "$as_me:4075: \$? = $ac_status" >&5
d4080 1
a4080 1
echo "$as_me:4085: result: $ac_cv_func_mkstemp" >&5
d4087 1
a4087 1
echo "$as_me:4092: checking for mkstemp prototype in <stdlib.h>" >&5
d4090 1
a4090 1
#line 4095 "configure"
d4096 1
a4096 1
  echo "$as_me:4101: result: yes" >&5
d4102 1
a4102 1
  echo "$as_me:4107: result: no" >&5
d4109 1
a4109 1
echo "$as_me:4114: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d4115 1
a4115 1
#line 4120 "configure"
d4133 1
a4133 1
if { (eval echo "$as_me:4138: \"$ac_compile\"") >&5
d4136 1
a4136 1
  echo "$as_me:4141: \$? = $ac_status" >&5
d4139 1
a4139 1
  { (eval echo "$as_me:4144: \"$ac_try\"") >&5
d4142 1
a4142 1
  echo "$as_me:4147: \$? = $ac_status" >&5
d4152 1
a4152 1
echo "$as_me:4157: result: $ac_cv_decl_sys_siglist" >&5
d4168 1
a4168 1
echo "$as_me:4173: checking whether ANSI array delete syntax supported" >&5
d4171 1
a4171 1
#line 4176 "configure"
d4183 1
a4183 1
if { (eval echo "$as_me:4188: \"$ac_compile\"") >&5
d4186 1
a4186 1
  echo "$as_me:4191: \$? = $ac_status" >&5
d4189 1
a4189 1
  { (eval echo "$as_me:4194: \"$ac_try\"") >&5
d4192 1
a4192 1
  echo "$as_me:4197: \$? = $ac_status" >&5
d4194 1
a4194 1
  echo "$as_me:4199: result: yes" >&5
d4199 1
a4199 1
echo "$as_me:4204: result: no" >&5
d4218 1
a4218 1
echo "$as_me:4223: checking traditional preprocessor" >&5
d4221 1
a4221 1
#line 4226 "configure"
d4233 1
a4233 1
if { (eval echo "$as_me:4238: \"$ac_compile\"") >&5
d4236 1
a4236 1
  echo "$as_me:4241: \$? = $ac_status" >&5
d4239 1
a4239 1
  { (eval echo "$as_me:4244: \"$ac_try\"") >&5
d4242 1
a4242 1
  echo "$as_me:4247: \$? = $ac_status" >&5
d4244 1
a4244 1
  echo "$as_me:4249: result: yes" >&5
d4252 1
a4252 1
echo "$as_me:4257: result: no" >&5
d4262 1
a4262 1
echo "$as_me:4267: checking w_coredump" >&5
d4265 1
a4265 1
  echo "$as_me:4270: result: no" >&5
d4269 1
a4269 1
#line 4274 "configure"
d4285 1
a4285 1
if { (eval echo "$as_me:4290: \"$ac_link\"") >&5
d4288 1
a4288 1
  echo "$as_me:4293: \$? = $ac_status" >&5
d4290 1
a4290 1
  { (eval echo "$as_me:4295: \"$ac_try\"") >&5
d4293 1
a4293 1
  echo "$as_me:4298: \$? = $ac_status" >&5
d4295 1
a4295 1
  echo "$as_me:4300: result: yes" >&5
d4304 1
a4304 1
echo "$as_me:4309: result: no" >&5
d4309 1
a4309 1
echo "$as_me:4314: checking default value for grops -b option" >&5
d4312 1
a4312 1
echo "$as_me:4317: result: $BROKEN_SPOOLER_FLAGS" >&5
d4315 1
a4315 1
echo "$as_me:4320: checking default paper size" >&5
d4355 1
a4355 1
echo "$as_me:4360: result: $PAGE" >&5
d4358 1
a4358 1
echo "$as_me:4363: checking for existing troff installation" >&5
d4361 1
a4361 1
	echo "$as_me:4366: result: yes" >&5
d4365 1
a4365 1
	echo "$as_me:4370: result: no" >&5
d4370 1
a4370 1
echo "$as_me:4375: checking for prefix of system macro packages" >&5
d4387 1
a4387 1
echo "$as_me:4392: result: $sys_tmac_prefix" >&5
d4391 1
a4391 1
echo "$as_me:4396: checking which system macro packages should be made available" >&5
d4427 1
a4427 1
echo "$as_me:4432: result: $tmac_wrap" >&5
d4542 1
a4542 1
{ echo "$as_me:4547: creating $CONFIG_STATUS" >&5
d4710 1
a4710 1
    { { echo "$as_me:4715: error: ambiguous option: $1
d4733 1
a4733 1
  -*) { { echo "$as_me:4738: error: unrecognized option: $1
d4738 1
a4738 1
  *) { { echo "$as_me:4743: error: invalid argument: $1" >&5
d4979 1
a4979 1
    { echo "$as_me:4984: creating $ac_file" >&5
d4997 1
a4997 1
         test -f "$f" || { { echo "$as_me:5002: error: cannot find input file: $f" >&5
d5010 1
a5010 1
           { { echo "$as_me:5015: error: cannot find input file: $f" >&5
@


1.15
log
@* configure.in: Move check for mkstemp() to...
* aclocal.m4 (GROFF_MKSTEMP): This new function.
* configure: Regenerated.

* src/include/groff-getopt.h: Don't use variable names in
declarations.


* configure.in: Add special check for mkstemp().
* src/libs/libgroff/tmpfile.cc: Use it.
* src/utils/indxbib/indxbib.cc: Ditto.
* src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
* src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
`const'.
@
text
@a1 1

d3 1
a3 2
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
d5 2
d10 73
a82 2
# Defaults:
ac_help=
d84 21
a104 1
# Any additions from configure.in:
d107 2
d111 1
a111 2
build=NONE
cache_file=./config.cache
a112 1
host=NONE
a113 1
nonopt=NONE
a121 1
target=NONE
d125 6
d144 6
a149 6
# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12
a153 1

d161 1
a161 4
  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac
d165 1
a165 1
  case "$ac_option" in
d170 1
a170 1
    bindir="$ac_optarg" ;;
d173 1
a173 1
    ac_prev=build ;;
d175 1
a175 1
    build="$ac_optarg" ;;
d182 4
a185 1
    cache_file="$ac_optarg" ;;
d191 1
a191 1
    datadir="$ac_optarg" ;;
d194 1
a194 1
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
d196 5
a200 5
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;
d203 1
a203 1
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
d205 6
a210 6
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
d213 1
a213 1
    eval "enable_${ac_feature}='$ac_optarg'" ;;
d222 1
a222 1
    exec_prefix="$ac_optarg" ;;
d228 6
a233 54
  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;
d236 1
a236 1
    ac_prev=host ;;
d238 1
a238 1
    host="$ac_optarg" ;;
d245 1
a245 1
    includedir="$ac_optarg" ;;
d250 1
a250 1
    infodir="$ac_optarg" ;;
d255 1
a255 1
    libdir="$ac_optarg" ;;
d262 1
a262 1
    libexecdir="$ac_optarg" ;;
d271 1
a271 1
    localstatedir="$ac_optarg" ;;
d276 1
a276 1
    mandir="$ac_optarg" ;;
d297 1
a297 1
    oldincludedir="$ac_optarg" ;;
d302 1
a302 1
    prefix="$ac_optarg" ;;
d309 1
a309 1
    program_prefix="$ac_optarg" ;;
d316 1
a316 1
    program_suffix="$ac_optarg" ;;
d333 1
a333 1
    program_transform_name="$ac_optarg" ;;
d343 1
a343 1
    sbindir="$ac_optarg" ;;
d354 1
a354 1
    sharedstatedir="$ac_optarg" ;;
d359 1
a359 1
    site="$ac_optarg" ;;
d364 1
a364 1
    srcdir="$ac_optarg" ;;
d371 1
a371 1
    sysconfdir="$ac_optarg" ;;
d374 1
a374 1
    ac_prev=target ;;
d376 1
a376 1
    target="$ac_optarg" ;;
d381 2
a382 3
  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;
d385 1
a385 1
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
d387 3
a389 3
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
d391 2
a392 2
    case "$ac_option" in
      *=*) ;;
d395 1
a395 1
    eval "with_${ac_package}='$ac_optarg'" ;;
d398 1
a398 1
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
d400 5
a404 5
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;
d415 1
a415 1
    x_includes="$ac_optarg" ;;
d422 1
a422 1
    x_libraries="$ac_optarg" ;;
d424 3
a426 1
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
d429 10
d440 5
a444 7
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
d451 3
a453 17
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
a454 6
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5
d456 4
a459 4
# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
d461 6
a466 8
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
d470 16
a485 9
# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
d487 2
a488 4
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
d490 1
a490 3
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=src/roff/groff/groff.cc
d497 1
a497 1
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
d508 2
a509 1
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
d511 2
a512 1
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
d515 207
a721 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d723 84
d817 3
a819 1
    echo "loading site script $ac_site_file"
d825 10
a834 2
  echo "loading cache $cache_file"
  . $cache_file
d836 41
a876 2
  echo "creating cache $cache_file"
  > $cache_file
a879 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d881 19
a899 14
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
d901 1
a901 1
  ac_n= ac_c='\c' ac_t=
d903 2
a904 1

d910 42
a951 1
# Extract the first word of "gcc", so it can be a program name with args.
d953 43
a995 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:532: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1000 11
a1010 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="gcc"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1013 1
a1013 1
CC="$ac_cv_prog_CC"
d1015 43
a1057 1
  echo "$ac_t""$CC" 1>&6
d1059 1
a1059 1
  echo "$ac_t""no" 1>&6
d1062 1
d1066 4
a1069 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:562: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
a1073 1
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
d1075 15
a1089 13
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1094 1
a1094 1
  if test $# -gt 0; then
d1099 1
a1099 1
    set dummy "$ac_dir/$ac_word" "$@@"
d1106 1
a1106 1
CC="$ac_cv_prog_CC"
d1108 2
a1109 1
  echo "$ac_t""$CC" 1>&6
d1111 2
a1112 1
  echo "$ac_t""no" 1>&6
d1115 11
a1125 9
  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:613: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1130 11
a1140 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1143 1
a1143 1
CC="$ac_cv_prog_CC"
d1145 2
a1146 1
  echo "$ac_t""$CC" 1>&6
d1148 6
a1153 1
  echo "$ac_t""no" 1>&6
d1155 34
a1188 4
 ;;
    esac
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
d1191 2
a1192 2
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:645: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1194 4
a1197 6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d1199 3
a1201 1
cat > conftest.$ac_ext << EOF
d1203 2
a1204 1
#line 656 "configure"
d1207 59
a1265 7
main(){return(0);}
EOF
if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
d1267 9
a1275 1
    ac_cv_prog_cc_cross=yes
d1277 50
d1328 3
a1330 11
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d1332 3
a1334 8
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:687: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
d1336 17
a1352 4
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:692: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1354 17
a1370 7
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
d1372 3
a1374 3
  ac_cv_prog_gcc=no
fi
fi
d1376 6
a1381 1
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
d1383 36
a1418 2
if test $ac_cv_prog_gcc = yes; then
  GCC=yes
d1420 7
a1426 2
  GCC=
fi
d1428 16
a1443 10
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:720: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
d1446 3
a1448 1
  ac_cv_prog_cc_g=no
d1450 1
a1450 2
rm -f conftest*

d1452 2
a1453 2

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
d1455 1
a1455 1
  CFLAGS="$ac_save_CFLAGS"
d1469 107
d1577 14
a1590 8
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:756: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1595 11
a1605 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CXX="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1608 1
a1608 1
CXX="$ac_cv_prog_CXX"
d1610 2
a1611 1
  echo "$ac_t""$CXX" 1>&6
d1613 2
a1614 1
  echo "$ac_t""no" 1>&6
d1617 26
a1642 1
test -n "$CXX" && break
a1643 1
test -n "$CXX" || CXX="gcc"
d1645 6
a1650 26

echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:788: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

cat > conftest.$ac_ext << EOF

#line 799 "configure"
#include "confdefs.h"

int main(){return(0);}
EOF
if { (eval echo configure:804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cxx_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cxx_cross=no
  else
    ac_cv_prog_cxx_cross=yes
  fi
d1652 2
a1653 3
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cxx_works=no
a1654 7
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d1656 5
a1660 3
echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
if test $ac_cv_prog_cxx_works = no; then
  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
a1661 4
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:830: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
d1663 4
a1666 4
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:835: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1668 9
a1676 3
  cat > conftest.C <<EOF
#ifdef __GNUC__
  yes;
d1678 37
a1714 3
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gxx=yes
d1716 3
a1718 3
  ac_cv_prog_gxx=no
fi
fi
d1720 3
a1722 1
echo "$ac_t""$ac_cv_prog_gxx" 1>&6
d1724 16
a1739 16
if test $ac_cv_prog_gxx = yes; then
  GXX=yes
else
  GXX=
fi

ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:863: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.cc
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
d1742 3
a1744 1
  ac_cv_prog_cxx_g=no
d1746 1
a1746 2
rm -f conftest*

d1748 2
a1749 2

echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
d1751 1
a1751 1
  CXXFLAGS="$ac_save_CXXFLAGS"
d1765 75
d1841 5
d1847 1
a1847 3

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d1849 3
a1851 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d1854 2
a1855 2
	echo $ac_n "checking that C++ compiler can compile simple program""... $ac_c" 1>&6
echo "configure:905: checking that C++ compiler can compile simple program" >&5
d1860 2
a1861 2
  cat > conftest.$ac_ext <<EOF
#line 911 "configure"
a1862 3
#ifdef __cplusplus
extern "C" void exit(int);
#endif
d1864 22
a1885 9
EOF
if { (eval echo configure:918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""no" 1>&6;{ echo "configure: error: a working C++ compiler is required" 1>&2; exit 1; }
d1887 1
a1887 1
rm -fr conftest*
a1888 1

d1890 2
a1891 2
	echo $ac_n "checking that C++ static constructors and destructors are called""... $ac_c" 1>&6
echo "configure:932: checking that C++ static constructors and destructors are called" >&5
d1896 2
a1897 2
  cat > conftest.$ac_ext <<EOF
#line 938 "configure"
a1898 3
#ifdef __cplusplus
extern "C" void exit(int);
#endif
d1912 29
a1940 17
EOF
if { (eval echo configure:957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""no" 1>&6;{ echo "configure: error: a working C++ compiler is required" 1>&2; exit 1; }
fi
rm -fr conftest*
fi

echo $ac_n "checking that header files support C++""... $ac_c" 1>&6
echo "configure:970: checking that header files support C++" >&5
cat > conftest.$ac_ext <<EOF
#line 972 "configure"
d1943 3
a1945 1
int main() {
d1947 25
a1971 10
; return 0; }
EOF
if { (eval echo configure:979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6;{ echo "configure: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" 1>&2; exit 1; }
d1973 1
a1973 1
rm -f conftest*
a1974 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d1976 8
a1983 8
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking whether character set is EBCDIC""... $ac_c" 1>&6
echo "configure:997: checking whether character set is EBCDIC" >&5
cat > conftest.$ac_ext <<EOF
#line 999 "configure"
d1986 3
a1988 1
int main() {
d1995 16
a2010 4
; return 0; }
EOF
if { (eval echo configure:1011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d2013 3
a2015 2
 echo "$ac_t""yes" 1>&6
 cat >> confdefs.h <<\EOF
d2020 3
a2022 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_ebcdic="no"
d2024 2
a2025 1
 echo "$ac_t""no" 1>&6
d2027 1
a2027 1
rm -f conftest*
a2028 1
groff_cv_os390="no"
d2030 2
a2031 2
	echo $ac_n "checking for OS/390 Unix""... $ac_c" 1>&6
echo "configure:1033: checking for OS/390 Unix" >&5
d2035 2
a2036 2
		groff_cv_os390="yes"
		echo "$ac_t""yes" 1>&6 ;;
d2038 2
a2039 1
		echo "$ac_t""no" 1>&6 ;;
d2045 1
a2045 1
# Extract the first word of "$ac_prog", so it can be a program name with args.
d2047 4
a2050 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1049: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LPR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2055 11
a2065 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_LPR="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
d2068 1
a2068 1
LPR="$ac_cv_prog_LPR"
d2070 2
a2071 1
  echo "$ac_t""$LPR" 1>&6
d2073 2
a2074 1
  echo "$ac_t""no" 1>&6
d2077 1
a2077 1
test -n "$LPR" && break
d2082 1
a2082 1
# Extract the first word of "$ac_prog", so it can be a program name with args.
d2084 4
a2087 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1083: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2092 11
a2102 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_LP="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
d2105 1
a2105 1
LP="$ac_cv_prog_LP"
d2107 2
a2108 1
  echo "$ac_t""$LP" 1>&6
d2110 2
a2111 1
  echo "$ac_t""no" 1>&6
d2114 1
a2114 1
test -n "$LP" && break
d2123 1
a2123 1
# Extract the first word of "$ac_prog", so it can be a program name with args.
d2125 4
a2128 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1121: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LPQ'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2133 11
a2143 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_LPQ="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
d2146 1
a2146 1
LPQ="$ac_cv_prog_LPQ"
d2148 2
a2149 1
  echo "$ac_t""$LPQ" 1>&6
d2151 2
a2152 1
  echo "$ac_t""no" 1>&6
d2155 1
a2155 1
test -n "$LPQ" && break
d2167 4
a2170 3
echo $ac_n "checking for command to use for printing PostScript files""... $ac_c" 1>&6
echo "configure:1160: checking for command to use for printing PostScript files" >&5
echo "$ac_t""$PSPRINT" 1>&6
d2172 2
a2173 2
echo $ac_n "checking for command to use for printing dvi files""... $ac_c" 1>&6
echo "configure:1164: checking for command to use for printing dvi files" >&5
d2182 2
a2183 1
echo "$ac_t""$DVIPRINT" 1>&6
d2186 4
a2189 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1177: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERLPATH'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2191 2
a2192 2
  case "$PERLPATH" in
  /*)
a2194 3
  ?:/*)			 
  ac_cv_path_PERLPATH="$PERLPATH" # Let the user override the test with a dos path.
  ;;
d2196 12
a2207 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do 
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_PERLPATH="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
d2212 2
a2213 1
PERLPATH="$ac_cv_path_PERLPATH"
d2215 2
a2216 1
  echo "$ac_t""$PERLPATH" 1>&6
d2218 2
a2219 1
  echo "$ac_t""no" 1>&6
d2224 1
a2224 1
# Extract the first word of "$ac_prog", so it can be a program name with args.
d2226 4
a2229 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1215: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2234 11
a2244 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_YACC="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
d2247 1
a2247 1
YACC="$ac_cv_prog_YACC"
d2249 2
a2250 1
  echo "$ac_t""$YACC" 1>&6
d2252 2
a2253 1
  echo "$ac_t""no" 1>&6
d2256 1
a2256 1
test -n "$YACC" && break
d2260 7
a2266 6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1248: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2271 11
a2281 11
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
d2284 1
a2284 1
RANLIB="$ac_cv_prog_RANLIB"
d2286 44
a2329 1
  echo "$ac_t""$RANLIB" 1>&6
d2331 1
a2331 1
  echo "$ac_t""no" 1>&6
d2344 4
d2351 7
a2357 5
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
d2368 1
d2373 2
a2374 2
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1308: checking for a BSD compatible install" >&5
d2376 2
a2377 2
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2379 1
a2379 1
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
d2381 1
d2383 4
a2386 2
    case "$ac_dir/" in
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
d2392 1
a2392 1
        if test -f $ac_dir/$ac_prog; then
d2394 1
a2394 1
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
d2397 4
a2409 1
  IFS="$ac_save_IFS"
d2413 1
a2413 1
    INSTALL="$ac_cv_path_install"
d2419 1
a2419 1
    INSTALL="$ac_install_sh"
d2422 2
a2423 1
echo "$ac_t""$INSTALL" 1>&6
d2429 1
a2429 1
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
d2433 6
a2438 17
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:1361: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
  rm -f conftestdata
  ac_cv_prog_LN_S="ln -s"
else
  ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
  echo "$ac_t""yes" 1>&6
d2440 2
a2441 1
  echo "$ac_t""no" 1>&6
d2444 2
a2445 2
echo $ac_n "checking for csh hash hack""... $ac_c" 1>&6
echo "configure:1382: checking for csh hash hack" >&5
d2454 2
a2455 1
	echo "$ac_t""yes" 1>&6; SH_SCRIPT_SED_CMD='1s/.*/:/'
d2457 2
a2458 1
	echo "$ac_t""no" 1>&6; SH_SCRIPT_SED_CMD='1s/a/a/'
d2462 7
a2468 2
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1398: checking how to run the C preprocessor" >&5
d2474 2
a2475 2
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2477 9
a2485 3
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
d2487 3
a2489 3
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 1413 "configure"
d2492 19
a2510 6
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2513 1
a2513 2
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
d2515 9
a2523 4
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 1430 "configure"
d2525 21
a2545 8
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
d2547 1
a2547 2
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
d2549 32
a2580 4
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 1447 "configure"
d2583 19
a2601 6
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2604 1
a2604 2
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
d2606 2
a2607 2
  rm -rf conftest*
  CPP=/lib/cpp
d2609 24
a2632 1
rm -f conftest*
d2634 9
a2642 1
rm -f conftest*
d2644 7
a2650 4
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
d2652 3
a2654 1
  ac_cv_prog_CPP="$CPP"
a2655 1
echo "$ac_t""$CPP" 1>&6
d2657 7
a2663 1
for ac_hdr in stdlib.h unistd.h dirent.h limits.h sys/dir.h \
d2666 29
a2694 17
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1482: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1487 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
d2696 1
a2696 2
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
d2698 1
a2698 2
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d2700 1
a2700 1
rm -f conftest*
d2702 5
a2706 5
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
d2708 1
a2708 3
 
else
  echo "$ac_t""no" 1>&6
d2712 2
a2713 2
echo $ac_n "checking for ISC 3.x or 4.x""... $ac_c" 1>&6
echo "configure:1519: checking for ISC 3.x or 4.x" >&5
d2716 3
a2718 2
	echo "$ac_t""yes" 1>&6
	cat >> confdefs.h <<\EOF
d2723 2
a2724 1
	echo "$ac_t""no" 1>&6
d2726 2
a2727 2
echo $ac_n "checking whether -D_POSIX_SOURCE is necessary""... $ac_c" 1>&6
echo "configure:1531: checking whether -D_POSIX_SOURCE is necessary" >&5
d2729 1
a2729 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2731 3
a2733 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2735 2
a2736 2
cat > conftest.$ac_ext <<EOF
#line 1541 "configure"
d2740 3
a2742 1
int main() {
d2744 18
a2761 5
; return 0; }
EOF
if { (eval echo configure:1549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d2766 4
a2769 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d2771 1
a2771 1
rm -f conftest*
a2772 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2774 3
a2776 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d2778 1
a2778 3

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2780 8
a2787 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking for return type of srand""... $ac_c" 1>&6
echo "configure:1578: checking for return type of srand" >&5
cat > conftest.$ac_ext <<EOF
#line 1580 "configure"
d2791 3
a2793 1
int main() {
d2795 18
a2812 5
; return 0; }
EOF
if { (eval echo configure:1588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""void" 1>&6;cat >> confdefs.h <<\EOF
d2817 4
a2820 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""int" 1>&6
d2822 1
a2822 1
rm -f conftest*
a2823 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2825 3
a2827 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d2829 2
a2830 2
echo $ac_n "checking whether hypot must be declared""... $ac_c" 1>&6
echo "configure:1609: checking whether hypot must be declared" >&5
d2832 1
a2832 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2834 3
a2836 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2838 2
a2839 2
if eval "test \"`echo '$''{'groff_cv_decl_needed_hypot'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2841 2
a2842 2
  cat > conftest.$ac_ext <<EOF
#line 1622 "configure"
d2862 3
a2864 1
int main() {
d2866 16
a2881 4
; return 0; }
EOF
if { (eval echo configure:1646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d2884 3
a2886 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_decl_needed_hypot=yes
d2888 1
a2888 1
rm -f conftest*
d2891 2
a2892 1
echo "$ac_t""$groff_cv_decl_needed_hypot" 1>&6
d2894 1
a2894 1
	cat >> confdefs.h <<\EOF
a2899 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2901 3
a2903 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d2905 2
a2906 2
echo $ac_n "checking whether popen must be declared""... $ac_c" 1>&6
echo "configure:1673: checking whether popen must be declared" >&5
d2908 1
a2908 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2910 3
a2912 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2914 2
a2915 2
if eval "test \"`echo '$''{'groff_cv_decl_needed_popen'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2917 2
a2918 2
  cat > conftest.$ac_ext <<EOF
#line 1686 "configure"
d2938 3
a2940 1
int main() {
d2942 16
a2957 4
; return 0; }
EOF
if { (eval echo configure:1710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d2960 3
a2962 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_decl_needed_popen=yes
d2964 1
a2964 1
rm -f conftest*
d2967 2
a2968 1
echo "$ac_t""$groff_cv_decl_needed_popen" 1>&6
d2970 1
a2970 1
	cat >> confdefs.h <<\EOF
a2975 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2977 3
a2979 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d2981 2
a2982 2
echo $ac_n "checking whether pclose must be declared""... $ac_c" 1>&6
echo "configure:1737: checking whether pclose must be declared" >&5
d2984 1
a2984 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d2986 3
a2988 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d2990 2
a2991 2
if eval "test \"`echo '$''{'groff_cv_decl_needed_pclose'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2993 2
a2994 2
  cat > conftest.$ac_ext <<EOF
#line 1750 "configure"
d3014 3
a3016 1
int main() {
d3018 16
a3033 4
; return 0; }
EOF
if { (eval echo configure:1774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3036 3
a3038 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_decl_needed_pclose=yes
d3040 1
a3040 1
rm -f conftest*
d3043 2
a3044 1
echo "$ac_t""$groff_cv_decl_needed_pclose" 1>&6
d3046 1
a3046 1
	cat >> confdefs.h <<\EOF
a3051 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3053 3
a3055 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d3057 2
a3058 2
echo $ac_n "checking whether putenv must be declared""... $ac_c" 1>&6
echo "configure:1801: checking whether putenv must be declared" >&5
d3060 1
a3060 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3062 3
a3064 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d3066 2
a3067 2
if eval "test \"`echo '$''{'groff_cv_decl_needed_putenv'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3069 2
a3070 2
  cat > conftest.$ac_ext <<EOF
#line 1814 "configure"
d3090 3
a3092 1
int main() {
d3094 16
a3109 4
; return 0; }
EOF
if { (eval echo configure:1838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3112 3
a3114 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_decl_needed_putenv=yes
d3116 1
a3116 1
rm -f conftest*
d3119 2
a3120 1
echo "$ac_t""$groff_cv_decl_needed_putenv" 1>&6
d3122 1
a3122 1
	cat >> confdefs.h <<\EOF
a3127 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3129 3
a3131 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d3133 2
a3134 2
echo $ac_n "checking whether strncasecmp must be declared""... $ac_c" 1>&6
echo "configure:1865: checking whether strncasecmp must be declared" >&5
d3136 1
a3136 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3138 3
a3140 3
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
d3142 2
a3143 2
if eval "test \"`echo '$''{'groff_cv_decl_needed_strncasecmp'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3145 2
a3146 2
  cat > conftest.$ac_ext <<EOF
#line 1878 "configure"
d3166 3
a3168 1
int main() {
d3170 16
a3185 4
; return 0; }
EOF
if { (eval echo configure:1902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3188 3
a3190 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  groff_cv_decl_needed_strncasecmp=yes
d3192 1
a3192 1
rm -f conftest*
d3195 2
a3196 1
echo "$ac_t""$groff_cv_decl_needed_strncasecmp" 1>&6
d3198 1
a3198 1
	cat >> confdefs.h <<\EOF
a3203 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3205 3
a3207 4
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

d3209 1
a3209 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3211 8
a3218 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking for sys_nerr in <errno.h> or <stdio.h>""... $ac_c" 1>&6
echo "configure:1937: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 1939 "configure"
d3222 3
a3224 1
int main() {
d3226 18
a3243 5
; return 0; }
EOF
if { (eval echo configure:1947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d3248 4
a3251 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d3253 1
a3253 1
rm -f conftest*
a3254 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3256 8
a3263 8
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking for sys_errlist in <errno.h> or <stdio.h>""... $ac_c" 1>&6
echo "configure:1968: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 1970 "configure"
d3267 3
a3269 1
int main() {
d3271 18
a3288 5
; return 0; }
EOF
if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d3293 4
a3296 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d3298 1
a3298 1
rm -f conftest*
d3300 1
a3300 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3302 8
a3309 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking C++ <osfcn.h>""... $ac_c" 1>&6
echo "configure:2000: checking C++ <osfcn.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 2002 "configure"
d3312 3
a3314 1
int main() {
d3316 18
a3333 5
; return 0; }
EOF
if { (eval echo configure:2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d3338 4
a3341 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d3343 1
a3343 1
rm -f conftest*
a3344 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3346 3
a3348 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d3350 1
a3350 3

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3352 8
a3359 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking C++ <limits.h>""... $ac_c" 1>&6
echo "configure:2038: checking C++ <limits.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 2040 "configure"
d3362 3
a3364 1
int main() {
d3366 18
a3383 5
; return 0; }
EOF
if { (eval echo configure:2047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d3388 4
a3391 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d3393 1
a3393 1
rm -f conftest*
a3394 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3396 3
a3398 4
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

d3400 1
a3400 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3402 8
a3409 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking for declaration of time_t""... $ac_c" 1>&6
echo "configure:2076: checking for declaration of time_t" >&5
cat > conftest.$ac_ext <<EOF
#line 2078 "configure"
d3412 3
a3414 1
int main() {
d3416 23
a3438 10
; return 0; }
EOF
if { (eval echo configure:2085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6;cat >> confdefs.h <<\EOF
d3443 1
a3443 1
rm -f conftest*
a3444 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d3446 8
a3453 8
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:2106: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3455 2
a3456 2
  cat > conftest.$ac_ext <<EOF
#line 2111 "configure"
d3461 1
a3461 1
#undef signal
d3469 3
a3471 1
int main() {
d3473 16
a3488 4
; return 0; }
EOF
if { (eval echo configure:2128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3491 3
a3493 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_type_signal=int
d3495 1
a3495 1
rm -f conftest*
d3497 2
d3500 1
a3500 2
echo "$ac_t""$ac_cv_type_signal" 1>&6
cat >> confdefs.h <<EOF
d3504 4
a3507 5

echo $ac_n "checking struct exception""... $ac_c" 1>&6
echo "configure:2147: checking struct exception" >&5
cat > conftest.$ac_ext <<EOF
#line 2149 "configure"
d3510 3
a3512 1
int main() {
d3514 18
a3531 5
; return 0; }
EOF
if { (eval echo configure:2156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d3536 10
a3545 11
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
fi
rm -f conftest*
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
echo "configure:2170: checking for sin in -lm" >&5
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3547 1
a3547 1
  ac_save_LIBS="$LIBS"
d3549 2
a3550 2
cat > conftest.$ac_ext <<EOF
#line 2178 "configure"
d3552 1
d3554 3
d3558 36
a3593 2
    builtin and then its argument prototype would still apply.  */
char sin();
d3595 7
a3601 7
int main() {
sin()
; return 0; }
EOF
if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
d3603 18
a3620 12
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  LIBM=-lm
d3622 1
a3622 1
  echo "$ac_t""no" 1>&6
d3624 2
a3625 21


for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2214: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2219 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
d3627 1
a3627 2
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
d3629 1
a3629 2
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d3631 1
a3631 1
rm -f conftest*
d3633 5
a3637 5
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
d3639 1
a3639 3
 
else
  echo "$ac_t""no" 1>&6
d3645 5
a3649 4
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2253: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3651 2
a3652 2
  cat > conftest.$ac_ext <<EOF
#line 2258 "configure"
d3655 1
a3655 1
    which can conflict with char $ac_func(); below.  */
d3658 3
d3662 3
a3664 4
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {
d3666 3
d3675 1
a3675 1
$ac_func();
d3678 29
a3706 1
; return 0; }
a3707 11
if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
a3708 9
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
d3712 4
a3715 4
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:2306: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3720 2
a3721 2
  cat > conftest.$ac_ext <<EOF
#line 2314 "configure"
a3722 1

d3735 1
a3735 1
   VM page cache was not coherent with the filesystem buffer cache
d3748 10
d3759 1
a3759 5
#ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
#  include <unistd.h>
# endif

d3761 1
a3761 1
# ifndef HAVE_SYS_PARAM_H
d3768 1
a3768 1
#  ifdef HAVE_SYS_PARAM_H
a3794 6
#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
char *malloc();
#endif

d3796 1
a3796 1
main()
d3798 52
a3849 59
	char *data, *data2, *data3;
	int i, pagesize;
	int fd;

	pagesize = getpagesize();

	/*
	 * First, make a file with some known garbage in it.
	 */
	data = malloc(pagesize);
	if (!data)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		*(data + i) = rand();
	umask(0);
	fd = creat("conftestmmap", 0600);
	if (fd < 0)
		exit(1);
	if (write(fd, data, pagesize) != pagesize)
		exit(1);
	close(fd);

	/*
	 * Next, try to mmap the file at a fixed address which
	 * already has something else allocated at it.  If we can,
	 * also make sure that we see the same garbage.
	 */
	fd = open("conftestmmap", O_RDWR);
	if (fd < 0)
		exit(1);
	data2 = malloc(2 * pagesize);
	if (!data2)
		exit(1);
	data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
	if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
	    MAP_PRIVATE | MAP_FIXED, fd, 0L))
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data2 + i))
			exit(1);

	/*
	 * Finally, make sure that changes to the mapped area
	 * do not percolate back to the file as seen by read().
	 * (This is a bug on some variants of i386 svr4.0.)
	 */
	for (i = 0; i < pagesize; ++i)
		*(data2 + i) = *(data2 + i) + 1;
	data3 = malloc(pagesize);
	if (!data3)
		exit(1);
	if (read(fd, data3, pagesize) != pagesize)
		exit(1);
	for (i = 0; i < pagesize; ++i)
		if (*(data + i) != *(data3 + i))
			exit(1);
	close(fd);
	unlink("conftestmmap");
	exit(0);
d3851 12
a3862 4

EOF
if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
d3865 4
a3868 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_func_mmap_fixed_mapped=no
d3870 1
a3870 1
rm -fr conftest*
a3871 1

d3873 3
d3877 1
a3877 3
echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then
  cat >> confdefs.h <<\EOF
d3882 1
d3886 1
d3889 5
a3893 4
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2481: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3895 2
a3896 2
  cat > conftest.$ac_ext <<EOF
#line 2486 "configure"
d3899 1
a3899 1
    which can conflict with char $ac_func(); below.  */
d3902 3
d3906 3
a3908 4
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {
d3910 3
d3919 1
a3919 1
$ac_func();
d3922 29
a3950 1
; return 0; }
a3951 11
if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
a3952 7
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
d3954 1
a3954 2
  echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
d3958 1
a3959 1
LIBS="$saved_libs"
d3962 5
a3966 4
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2539: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3968 2
a3969 2
  cat > conftest.$ac_ext <<EOF
#line 2544 "configure"
d3972 1
a3972 1
    which can conflict with char $ac_func(); below.  */
d3975 3
d3979 3
a3981 4
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {
d3983 3
d3992 1
a3992 1
$ac_func();
d3995 29
a4023 1
; return 0; }
a4024 11
if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
a4025 9
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
d4029 4
a4032 4
echo $ac_n "checking for mkstemp""... $ac_c" 1>&6
echo "configure:2592: checking for mkstemp" >&5
if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4034 2
a4035 2
  cat > conftest.$ac_ext <<EOF
#line 2597 "configure"
d4038 1
a4038 1
    which can conflict with char mkstemp(); below.  */
d4041 3
d4045 3
a4047 4
    builtin and then its argument prototype would still apply.  */
char mkstemp();

int main() {
d4049 3
d4058 1
a4058 1
mkstemp();
d4061 28
a4088 17
; return 0; }
EOF
if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_mkstemp=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_mkstemp=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'mkstemp`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
d4092 4
a4095 4
echo $ac_n "checking for mkstemp prototype in <stdlib.h>""... $ac_c" 1>&6
echo "configure:2639: checking for mkstemp prototype in <stdlib.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 2641 "configure"
d4098 1
a4098 1
EOF
d4101 2
a4102 2
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d4107 2
a4108 2
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
a4111 2
else
  echo "$ac_t""no" 1>&6
d4114 4
a4117 4
echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
echo "configure:2663: checking for sys_siglist declaration in signal.h or unistd.h" >&5
if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4119 2
a4120 2
  cat > conftest.$ac_ext <<EOF
#line 2668 "configure"
d4125 2
a4126 2
#ifdef HAVE_UNISTD_H
#include <unistd.h>
d4128 4
a4131 1
int main() {
d4133 16
a4148 4
; return 0; }
EOF
if { (eval echo configure:2680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d4151 3
a4153 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_decl_sys_siglist=no
d4155 1
a4155 1
rm -f conftest*
d4157 3
d4161 1
a4161 3
echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
if test $ac_cv_decl_sys_siglist = yes; then
  cat >> confdefs.h <<\EOF
d4167 1
a4167 3

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d4169 8
a4176 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking whether ANSI array delete syntax supported""... $ac_c" 1>&6
echo "configure:2709: checking whether ANSI array delete syntax supported" >&5
cat > conftest.$ac_ext <<EOF
#line 2711 "configure"
d4179 3
a4181 1
int main() {
d4183 23
a4205 10
; return 0; }
EOF
if { (eval echo configure:2718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6;cat >> confdefs.h <<\EOF
d4210 1
a4210 1
rm -f conftest*
a4211 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d4213 3
a4215 4
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

d4217 1
a4217 2
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d4219 8
a4226 8
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking traditional preprocessor""... $ac_c" 1>&6
echo "configure:2747: checking traditional preprocessor" >&5
cat > conftest.$ac_ext <<EOF
#line 2749 "configure"
d4229 3
a4231 1
int main() {
d4233 18
a4250 5
; return 0; }
EOF
if { (eval echo configure:2756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d4255 4
a4258 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d4260 1
a4260 1
rm -f conftest*
a4261 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d4263 3
a4265 3
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
d4267 2
a4268 2
echo $ac_n "checking w_coredump""... $ac_c" 1>&6
echo "configure:2777: checking w_coredump" >&5
d4270 2
a4271 1
  echo "$ac_t""no" 1>&6
d4273 2
a4274 2
  cat > conftest.$ac_ext <<EOF
#line 2782 "configure"
d4288 14
a4301 4
EOF
if { (eval echo configure:2797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d4306 5
a4310 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  echo "$ac_t""no" 1>&6
d4312 1
a4312 1
rm -fr conftest*
d4314 2
a4315 3

echo $ac_n "checking default value for grops -b option""... $ac_c" 1>&6
echo "configure:2813: checking default value for grops -b option" >&5
d4317 2
a4318 1
echo "$ac_t""$BROKEN_SPOOLER_FLAGS" 1>&6
d4320 2
a4321 2
echo $ac_n "checking default paper size""... $ac_c" 1>&6
echo "configure:2818: checking default paper size" >&5
d4360 2
a4361 1
echo "$ac_t""$PAGE" 1>&6
d4363 2
a4364 2
echo $ac_n "checking for existing troff installation""... $ac_c" 1>&6
echo "configure:2860: checking for existing troff installation" >&5
d4366 2
a4367 1
	echo "$ac_t""yes" 1>&6
d4370 2
a4371 1
	echo "$ac_t""no" 1>&6
d4375 2
a4376 2
echo $ac_n "checking for prefix of system macro packages""... $ac_c" 1>&6
echo "configure:2870: checking for prefix of system macro packages" >&5
d4392 2
a4393 1
echo "$ac_t""$sys_tmac_prefix" 1>&6
d4396 2
a4397 2
echo $ac_n "checking which system macro packages should be made available""... $ac_c" 1>&6
echo "configure:2890: checking which system macro packages should be made available" >&5
d4406 1
a4406 1
		esac 
d4432 2
a4433 1
echo "$ac_t""$tmac_wrap" 1>&6
d4436 3
a4438 2
trap '' 1 2 15
cat > confcache <<\EOF
d4441 3
a4443 2
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
d4445 2
a4446 8
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
d4448 6
a4453 1
EOF
d4459 25
a4483 17
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
d4485 2
a4486 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a4492 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d4497 4
a4500 3
# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
d4502 8
a4509 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a4511 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

d4515 88
a4602 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
if test "$groff_cv_os390" = "yes"; then
	DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`
d4604 29
a4632 1
	DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
a4633 1
rm -f conftest.defs
d4635 19
d4655 18
a4672 2
# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}
d4674 7
a4680 13
echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
d4682 5
a4686 2
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
d4688 18
a4705 1
  case "\$ac_option" in
d4707 39
a4745 8
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
d4747 1
d4750 44
a4793 2
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
a4794 1
trap 'rm -fr `echo "Makefile src/xditview/Imakefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
a4795 1
cat >> $CONFIG_STATUS <<EOF
d4797 5
a4801 53
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@top_builddir@@%$top_builddir%g
s%@@CC@@%$CC%g
s%@@CXX@@%$CXX%g
s%@@TTYDEVDIRS@@%$TTYDEVDIRS%g
s%@@LPR@@%$LPR%g
s%@@LP@@%$LP%g
s%@@LPQ@@%$LPQ%g
s%@@PSPRINT@@%$PSPRINT%g
s%@@DVIPRINT@@%$DVIPRINT%g
s%@@PERLPATH@@%$PERLPATH%g
s%@@YACC@@%$YACC%g
s%@@RANLIB@@%$RANLIB%g
s%@@INSTALL_PROGRAM@@%$INSTALL_PROGRAM%g
s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g
s%@@INSTALL_DATA@@%$INSTALL_DATA%g
s%@@LN_S@@%$LN_S%g
s%@@SH_SCRIPT_SED_CMD@@%$SH_SCRIPT_SED_CMD%g
s%@@CPP@@%$CPP%g
s%@@LIBM@@%$LIBM%g
s%@@LIBOBJS@@%$LIBOBJS%g
s%@@BROKEN_SPOOLER_FLAGS@@%$BROKEN_SPOOLER_FLAGS%g
s%@@PAGE@@%$PAGE%g
s%@@g@@%$g%g
s%@@sys_tmac_prefix@@%$sys_tmac_prefix%g
s%@@tmac_wrap@@%$tmac_wrap%g
d4803 67
d4871 1
d4874 17
a4890 22
cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
d4892 14
a4905 1
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
d4907 3
a4909 3
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
d4911 1
a4911 7
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi
EOF

cat >> $CONFIG_STATUS <<EOF
a4912 1
CONFIG_FILES=\${CONFIG_FILES-"Makefile src/xditview/Imakefile"}
d4914 2
a4915 2
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
d4917 8
a4924 4
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
d4927 28
a4954 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d4956 1
a4956 6
  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
d4958 1
a4958 1
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
d4963 10
a4972 5
  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
d4974 2
a4975 2
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
d4978 3
a4980 3
  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
d4983 58
a5040 18
  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@@configure_input@@%$configure_input%g
s%@@srcdir@@%$srcdir%g
s%@@top_srcdir@@%$top_srcdir%g
s%@@INSTALL@@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
d5042 1
a5043 1
cat >> $CONFIG_STATUS <<EOF
d5045 1
a5045 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d5047 1
a5047 1
exit 0
d5050 19
a5068 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.14
log
@For security reasons, don't use the current directory but the home
directory while searching and scanning troffrc and troffrc-end.
Similarly, replace the current directory with the home directory
in the font path.

* Makefile.in (fontpath, tmacpath): Remove current directory.

* src/libs/libgroff/searchpath.cc (search_path::search_path): Add
two parameters `add_home' and `add_current'.
(search_path::~search_path, search_path::command_line_dir,
search_path::open_file): Remove tests for `dirs' being zero.
* src/include/searchpath.h: Adjust.
* src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
`safer_macro_path'.
* src/libs/libgroff/fontfile.cc: Adjust `font_path'.

* src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
* src/roff/troff/input.cc: Use `mac_path', initialized with
`macro_path'.
(process_startup_file): Set `mac_path' to `safer_macro_path'.
* src/roff/troff/env.cc: Use `mac_path'.

* src/preproc/eqn/main.cc (main): Use `safer_macro_path'.

* NEWS, man/roff.man, src/roff/troff/troff.man,
src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Updated.


* src/include/lib.h: Don't include groff-getopt.h for OSF/1.

* aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
* configure.in: Fix typo in comment.
* configure: Regenerated.

* src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
dates.
@
text
@d2535 1
a2535 1
for ac_func in rename mkstemp strcasecmp strncasecmp strsep strdup
d2590 71
d2662 1
a2662 1
echo "configure:2592: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2667 1
a2667 1
#line 2597 "configure"
d2679 1
a2679 1
if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2708 1
a2708 1
echo "configure:2638: checking whether ANSI array delete syntax supported" >&5
d2710 1
a2710 1
#line 2640 "configure"
d2717 1
a2717 1
if { (eval echo configure:2647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2746 1
a2746 1
echo "configure:2676: checking traditional preprocessor" >&5
d2748 1
a2748 1
#line 2678 "configure"
d2755 1
a2755 1
if { (eval echo configure:2685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2776 1
a2776 1
echo "configure:2706: checking w_coredump" >&5
d2781 1
a2781 1
#line 2711 "configure"
d2796 1
a2796 1
if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2812 1
a2812 1
echo "configure:2742: checking default value for grops -b option" >&5
d2817 1
a2817 1
echo "configure:2747: checking default paper size" >&5
d2859 1
a2859 1
echo "configure:2789: checking for existing troff installation" >&5
d2869 1
a2869 1
echo "configure:2799: checking for prefix of system macro packages" >&5
d2889 1
a2889 1
echo "configure:2819: checking which system macro packages should be made available" >&5
@


1.13
log
@* aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
* configure: Updated.
* arch/djgpp/README, font/devutf8/NOTES: Use it.
* man/roff.man, tmac/groff_tmac.man: Use @@FONTPATH@@, @@FONTDIR@@, and
@@MACRODIR@@ instead of hard-coded directories.
@
text
@a1965 8

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

d1967 1
a1967 1
echo "configure:1976: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1969 1
a1969 1
#line 1978 "configure"
d1977 1
a1977 1
if { (eval echo configure:1986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a1989 7
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

d1999 1
a1999 1
echo "configure:2015: checking C++ <osfcn.h>" >&5
d2001 1
a2001 1
#line 2017 "configure"
d2008 1
a2008 1
if { (eval echo configure:2024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2037 1
a2037 1
echo "configure:2053: checking C++ <limits.h>" >&5
d2039 1
a2039 1
#line 2055 "configure"
d2046 1
a2046 1
if { (eval echo configure:2062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2075 1
a2075 1
echo "configure:2091: checking for declaration of time_t" >&5
d2077 1
a2077 1
#line 2093 "configure"
d2084 1
a2084 1
if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2105 1
a2105 1
echo "configure:2121: checking return type of signal handlers" >&5
d2110 1
a2110 1
#line 2126 "configure"
d2127 1
a2127 1
if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2146 1
a2146 1
echo "configure:2162: checking struct exception" >&5
d2148 1
a2148 1
#line 2164 "configure"
d2155 1
a2155 1
if { (eval echo configure:2171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2169 1
a2169 1
echo "configure:2185: checking for sin in -lm" >&5
d2177 1
a2177 1
#line 2193 "configure"
d2188 1
a2188 1
if { (eval echo configure:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2213 1
a2213 1
echo "configure:2229: checking for $ac_hdr" >&5
d2218 1
a2218 1
#line 2234 "configure"
d2223 1
a2223 1
{ (eval echo configure:2239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2252 1
a2252 1
echo "configure:2268: checking for $ac_func" >&5
d2257 1
a2257 1
#line 2273 "configure"
d2280 1
a2280 1
if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2305 1
a2305 1
echo "configure:2321: checking for working mmap" >&5
d2313 1
a2313 1
#line 2329 "configure"
d2453 1
a2453 1
if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2480 1
a2480 1
echo "configure:2496: checking for $ac_func" >&5
d2485 1
a2485 1
#line 2501 "configure"
d2508 1
a2508 1
if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2538 1
a2538 1
echo "configure:2554: checking for $ac_func" >&5
d2543 1
a2543 1
#line 2559 "configure"
d2566 1
a2566 1
if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2591 1
a2591 1
echo "configure:2607: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2596 1
a2596 1
#line 2612 "configure"
d2608 1
a2608 1
if { (eval echo configure:2624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2637 1
a2637 1
echo "configure:2653: checking whether ANSI array delete syntax supported" >&5
d2639 1
a2639 1
#line 2655 "configure"
d2646 1
a2646 1
if { (eval echo configure:2662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2675 1
a2675 1
echo "configure:2691: checking traditional preprocessor" >&5
d2677 1
a2677 1
#line 2693 "configure"
d2684 1
a2684 1
if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2705 1
a2705 1
echo "configure:2721: checking w_coredump" >&5
d2710 1
a2710 1
#line 2726 "configure"
d2725 1
a2725 1
if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2741 1
a2741 1
echo "configure:2757: checking default value for grops -b option" >&5
d2746 1
a2746 1
echo "configure:2762: checking default paper size" >&5
d2788 1
a2788 1
echo "configure:2804: checking for existing troff installation" >&5
d2798 1
a2798 1
echo "configure:2814: checking for prefix of system macro packages" >&5
d2818 1
a2818 1
echo "configure:2834: checking which system macro packages should be made available" >&5
@


1.12
log
@* configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
since some non-GNU sed programs can't handle null regexps.
* configure, src/preproc/eqn/Makefile.sub,
src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.

* src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
bug (string.h and strings.h are both needed according to latest
POSIX standard).
@
text
@d2768 7
d2803 1
a2803 1
echo "configure:2797: checking for existing troff installation" >&5
d2813 1
a2813 1
echo "configure:2807: checking for prefix of system macro packages" >&5
d2833 1
a2833 1
echo "configure:2827: checking which system macro packages should be made available" >&5
@


1.11
log
@Replaced specific checks for function declarations with a generic
routine taken from GNU bfd.

* aclocal.m4 (GROFF_NEED_DECLARATION): New function.
GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
* configure.in: Use it.
* src/devices/grolbp/lbp.cc, src/include/lib.h,
src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
src/roff/groff/groff.cc: Use it.
* Makefile.in, configure: Updated.


* src/devides/grolbp/lbp.h: Removed unused variables.
@
text
@d1392 1
a1392 1
	echo "$ac_t""no" 1>&6; SH_SCRIPT_SED_CMD=''
@


1.10
log
@* src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
strncasecmp().


* aclocal.m4 (GROFF_SRAND): New function to test the return value
of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
* configure.in: Use it.
* src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
* configure, Makefile.in: Updated.

* configure.in: Add test for strncasecmp().
* src/include/lib.h: Use it.
@
text
@d1476 2
a1477 1
for ac_hdr in unistd.h dirent.h limits.h sys/dir.h stdlib.h strings.h
d1481 1
a1481 1
echo "configure:1481: checking for $ac_hdr" >&5
d1486 1
a1486 1
#line 1486 "configure"
d1491 1
a1491 1
{ (eval echo configure:1491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1518 1
a1518 1
echo "configure:1518: checking for ISC 3.x or 4.x" >&5
d1530 1
a1530 1
echo "configure:1530: checking whether -D_POSIX_SOURCE is necessary" >&5
d1540 1
a1540 1
#line 1540 "configure"
d1548 1
a1548 1
if { (eval echo configure:1548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1576 2
a1577 2
echo $ac_n "checking declaration of putenv""... $ac_c" 1>&6
echo "configure:1577: checking declaration of putenv" >&5
d1579 1
a1579 1
#line 1579 "configure"
d1582 1
a1582 1
extern "C" { void putenv(int); }
d1587 1
a1587 1
if { (eval echo configure:1587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1589 4
a1592 1
  echo "$ac_t""no" 1>&6
d1597 1
a1597 4
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define STDLIB_H_DECLARES_PUTENV 1
EOF

d1607 2
d1617 5
a1621 4
echo $ac_n "checking declaration of popen""... $ac_c" 1>&6
echo "configure:1616: checking declaration of popen" >&5
cat > conftest.$ac_ext <<EOF
#line 1618 "configure"
d1623 1
d1625 16
a1640 1
extern "C" { void popen(int); }
d1642 1
a1642 1

d1645 1
a1645 1
if { (eval echo configure:1626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1647 1
a1647 1
  echo "$ac_t""no" 1>&6
d1652 9
a1660 2
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define STDIO_H_DECLARES_POPEN 1
a1663 1
rm -f conftest*
d1671 2
d1681 5
a1685 4
echo $ac_n "checking declaration of pclose""... $ac_c" 1>&6
echo "configure:1655: checking declaration of pclose" >&5
cat > conftest.$ac_ext <<EOF
#line 1657 "configure"
d1687 1
d1689 16
a1704 1
extern "C" { void pclose(int); }
d1706 1
a1706 1

d1709 1
a1709 1
if { (eval echo configure:1665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1711 1
a1711 1
  echo "$ac_t""no" 1>&6
d1716 9
a1724 2
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define STDIO_H_DECLARES_PCLOSE 1
a1727 1
rm -f conftest*
d1735 2
d1745 5
a1749 4
echo $ac_n "checking for return type of srand""... $ac_c" 1>&6
echo "configure:1694: checking for return type of srand" >&5
cat > conftest.$ac_ext <<EOF
#line 1696 "configure"
d1751 10
d1762 7
a1768 1
extern "C" { void srand(unsigned int); }
d1770 1
a1770 1

d1773 6
a1778 1
if { (eval echo configure:1704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1780 9
a1788 2
  echo "$ac_t""void" 1>&6;cat >> confdefs.h <<\EOF
#define RET_TYPE_SRAND_IS_VOID 1
d1791 49
d1844 1
a1844 1
  echo "$ac_t""int" 1>&6
d1847 9
d1863 2
d1873 5
a1877 4
echo $ac_n "checking for sys_nerr in <errno.h> or <stdio.h>""... $ac_c" 1>&6
echo "configure:1733: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
cat > conftest.$ac_ext <<EOF
#line 1735 "configure"
d1879 1
a1879 1
#include <errno.h>
d1881 16
d1898 1
a1898 1
int k; k = sys_nerr;
d1901 1
a1901 1
if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1903 1
a1903 4
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define HAVE_SYS_NERR 1
EOF

d1908 1
a1908 1
  echo "$ac_t""no" 1>&6
d1911 9
d1935 2
a1936 2
echo $ac_n "checking for sys_errlist in <errno.h> or <stdio.h>""... $ac_c" 1>&6
echo "configure:1772: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1938 1
a1938 1
#line 1774 "configure"
d1943 1
a1943 1
int k; k = (int)sys_errlist[0];
d1946 1
a1946 1
if { (eval echo configure:1782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1949 1
a1949 1
#define HAVE_SYS_ERRLIST 1
d1974 2
a1975 2
echo $ac_n "checking declaration of hypot""... $ac_c" 1>&6
echo "configure:1811: checking declaration of hypot" >&5
d1977 1
a1977 1
#line 1813 "configure"
d1979 2
a1980 2
#include <math.h>
extern "C" { double hypot(double,double); }
d1982 1
a1982 1

d1985 1
a1985 1
if { (eval echo configure:1821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1987 4
a1990 1
  echo "$ac_t""no" 1>&6
d1995 1
a1995 4
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define MATH_H_DECLARES_HYPOT 1
EOF

d2014 1
a2014 1
echo "configure:1850: checking C++ <osfcn.h>" >&5
d2016 1
a2016 1
#line 1852 "configure"
d2023 1
a2023 1
if { (eval echo configure:1859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2052 1
a2052 1
echo "configure:1888: checking C++ <limits.h>" >&5
d2054 1
a2054 1
#line 1890 "configure"
d2061 1
a2061 1
if { (eval echo configure:1897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2090 1
a2090 1
echo "configure:1926: checking for declaration of time_t" >&5
d2092 1
a2092 1
#line 1928 "configure"
d2099 1
a2099 1
if { (eval echo configure:1935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2120 1
a2120 1
echo "configure:1956: checking return type of signal handlers" >&5
d2125 1
a2125 1
#line 1961 "configure"
d2142 1
a2142 1
if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2161 1
a2161 1
echo "configure:1997: checking struct exception" >&5
d2163 1
a2163 1
#line 1999 "configure"
d2170 1
a2170 1
if { (eval echo configure:2006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2184 1
a2184 1
echo "configure:2020: checking for sin in -lm" >&5
d2192 1
a2192 1
#line 2028 "configure"
d2203 1
a2203 1
if { (eval echo configure:2039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2228 1
a2228 1
echo "configure:2064: checking for $ac_hdr" >&5
d2233 1
a2233 1
#line 2069 "configure"
d2238 1
a2238 1
{ (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2267 1
a2267 1
echo "configure:2103: checking for $ac_func" >&5
d2272 1
a2272 1
#line 2108 "configure"
d2295 1
a2295 1
if { (eval echo configure:2131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2320 1
a2320 1
echo "configure:2156: checking for working mmap" >&5
d2328 1
a2328 1
#line 2164 "configure"
d2468 1
a2468 1
if { (eval echo configure:2304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2495 1
a2495 1
echo "configure:2331: checking for $ac_func" >&5
d2500 1
a2500 1
#line 2336 "configure"
d2523 1
a2523 1
if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2553 1
a2553 1
echo "configure:2389: checking for $ac_func" >&5
d2558 1
a2558 1
#line 2394 "configure"
d2581 1
a2581 1
if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2606 1
a2606 1
echo "configure:2442: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2611 1
a2611 1
#line 2447 "configure"
d2623 1
a2623 1
if { (eval echo configure:2459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2652 1
a2652 1
echo "configure:2488: checking whether ANSI array delete syntax supported" >&5
d2654 1
a2654 1
#line 2490 "configure"
d2661 1
a2661 1
if { (eval echo configure:2497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2690 1
a2690 1
echo "configure:2526: checking traditional preprocessor" >&5
d2692 1
a2692 1
#line 2528 "configure"
d2699 1
a2699 1
if { (eval echo configure:2535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2720 1
a2720 1
echo "configure:2556: checking w_coredump" >&5
d2725 1
a2725 1
#line 2561 "configure"
d2740 1
a2740 1
if { (eval echo configure:2576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2756 1
a2756 1
echo "configure:2592: checking default value for grops -b option" >&5
d2761 1
a2761 1
echo "configure:2597: checking default paper size" >&5
d2796 1
a2796 1
echo "configure:2632: checking for existing troff installation" >&5
d2806 1
a2806 1
echo "configure:2642: checking for prefix of system macro packages" >&5
d2826 1
a2826 1
echo "configure:2662: checking which system macro packages should be made available" >&5
@


1.9
log
@* tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @@MANxEXT@@
expansion.
* NEWS: Document the three new man pages.

* aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
* configure: Updated.

* font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
@
text
@d1692 39
d1732 1
a1732 1
echo "configure:1694: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d1734 1
a1734 1
#line 1696 "configure"
d1742 1
a1742 1
if { (eval echo configure:1704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1771 1
a1771 1
echo "configure:1733: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1773 1
a1773 1
#line 1735 "configure"
d1781 1
a1781 1
if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1810 1
a1810 1
echo "configure:1772: checking declaration of hypot" >&5
d1812 1
a1812 1
#line 1774 "configure"
d1820 1
a1820 1
if { (eval echo configure:1782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1849 1
a1849 1
echo "configure:1811: checking C++ <osfcn.h>" >&5
d1851 1
a1851 1
#line 1813 "configure"
d1858 1
a1858 1
if { (eval echo configure:1820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1887 1
a1887 1
echo "configure:1849: checking C++ <limits.h>" >&5
d1889 1
a1889 1
#line 1851 "configure"
d1896 1
a1896 1
if { (eval echo configure:1858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1925 1
a1925 1
echo "configure:1887: checking for declaration of time_t" >&5
d1927 1
a1927 1
#line 1889 "configure"
d1934 1
a1934 1
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1955 1
a1955 1
echo "configure:1917: checking return type of signal handlers" >&5
d1960 1
a1960 1
#line 1922 "configure"
d1977 1
a1977 1
if { (eval echo configure:1939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1996 1
a1996 1
echo "configure:1958: checking struct exception" >&5
d1998 1
a1998 1
#line 1960 "configure"
d2005 1
a2005 1
if { (eval echo configure:1967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2019 1
a2019 1
echo "configure:1981: checking for sin in -lm" >&5
d2027 1
a2027 1
#line 1989 "configure"
d2038 1
a2038 1
if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2063 1
a2063 1
echo "configure:2025: checking for $ac_hdr" >&5
d2068 1
a2068 1
#line 2030 "configure"
d2073 1
a2073 1
{ (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2102 1
a2102 1
echo "configure:2064: checking for $ac_func" >&5
d2107 1
a2107 1
#line 2069 "configure"
d2130 1
a2130 1
if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2155 1
a2155 1
echo "configure:2117: checking for working mmap" >&5
d2163 1
a2163 1
#line 2125 "configure"
d2303 1
a2303 1
if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2330 1
a2330 1
echo "configure:2292: checking for $ac_func" >&5
d2335 1
a2335 1
#line 2297 "configure"
d2358 1
a2358 1
if { (eval echo configure:2320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2385 1
a2385 1
for ac_func in rename mkstemp strcasecmp strsep strdup
d2388 1
a2388 1
echo "configure:2350: checking for $ac_func" >&5
d2393 1
a2393 1
#line 2355 "configure"
d2416 1
a2416 1
if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2441 1
a2441 1
echo "configure:2403: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2446 1
a2446 1
#line 2408 "configure"
d2458 1
a2458 1
if { (eval echo configure:2420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2487 1
a2487 1
echo "configure:2449: checking whether ANSI array delete syntax supported" >&5
d2489 1
a2489 1
#line 2451 "configure"
d2496 1
a2496 1
if { (eval echo configure:2458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2525 1
a2525 1
echo "configure:2487: checking traditional preprocessor" >&5
d2527 1
a2527 1
#line 2489 "configure"
d2534 1
a2534 1
if { (eval echo configure:2496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2555 1
a2555 1
echo "configure:2517: checking w_coredump" >&5
d2560 1
a2560 1
#line 2522 "configure"
d2575 1
a2575 1
if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2591 1
a2591 1
echo "configure:2553: checking default value for grops -b option" >&5
d2596 1
a2596 1
echo "configure:2558: checking default paper size" >&5
d2631 1
a2631 1
echo "configure:2593: checking for existing troff installation" >&5
d2641 1
a2641 1
echo "configure:2603: checking for prefix of system macro packages" >&5
d2661 1
a2661 1
echo "configure:2623: checking which system macro packages should be made available" >&5
@


1.8
log
@* src/devices/grotty/grotty.man: Add cp1047 device.
* src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
Ditto.
* src/roff/groff/groff.man: Ditto.
* src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
* doc/groff.texinfo: Ditto.

* tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
for cp1047.


* man/groff_char.man: Add `pc' glyph.
* tmac/tmac.latin1: Replacing `md' glyph with `pc'.
* tmac/tmac.tty: Add `pc' glyph.
* tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
we use cp1047 output device.

* Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
there are still hardcoded latin1->unicode values in utf8's font
definition files.
* configure: Updated.
* NEWS: Minor clarification.  Updated.

* PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
Unix.
@
text
@a894 2


d904 1
a904 1
echo "configure:907: checking that C++ compiler can compile simple program" >&5
d910 1
a910 1
#line 913 "configure"
d917 1
a917 1
if { (eval echo configure:920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d931 1
a931 1
echo "configure:934: checking that C++ static constructors and destructors are called" >&5
d937 1
a937 1
#line 940 "configure"
d956 1
a956 1
if { (eval echo configure:959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d969 1
a969 1
echo "configure:972: checking that header files support C++" >&5
d971 1
a971 1
#line 974 "configure"
d978 1
a978 1
if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d996 1
a996 1
echo "configure:999: checking whether character set is EBCDIC" >&5
d998 1
a998 1
#line 1001 "configure"
d1010 1
a1010 1
if { (eval echo configure:1013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1032 1
a1032 1
echo "configure:1035: checking for OS/390 Unix" >&5
d1048 1
a1048 1
echo "configure:1051: checking for $ac_word" >&5
d1082 1
a1082 1
echo "configure:1085: checking for $ac_word" >&5
d1120 1
a1120 1
echo "configure:1123: checking for $ac_word" >&5
d1159 1
a1159 1
echo "configure:1162: checking for command to use for printing PostScript files" >&5
d1163 1
a1163 1
echo "configure:1166: checking for command to use for printing dvi files" >&5
d1176 1
a1176 1
echo "configure:1179: checking for $ac_word" >&5
d1214 1
a1214 1
echo "configure:1217: checking for $ac_word" >&5
d1247 1
a1247 1
echo "configure:1250: checking for $ac_word" >&5
d1307 1
a1307 1
echo "configure:1310: checking for a BSD compatible install" >&5
d1360 1
a1360 1
echo "configure:1363: checking whether ln -s works" >&5
d1381 1
a1381 1
echo "configure:1384: checking for csh hash hack" >&5
d1397 1
a1397 1
echo "configure:1400: checking how to run the C preprocessor" >&5
d1412 1
a1412 1
#line 1415 "configure"
d1418 1
a1418 1
{ (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1429 1
a1429 1
#line 1432 "configure"
d1435 1
a1435 1
{ (eval echo configure:1438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1446 1
a1446 1
#line 1449 "configure"
d1452 1
a1452 1
{ (eval echo configure:1455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1480 1
a1480 1
echo "configure:1483: checking for $ac_hdr" >&5
d1485 1
a1485 1
#line 1488 "configure"
d1490 1
a1490 1
{ (eval echo configure:1493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1517 1
a1517 1
echo "configure:1520: checking for ISC 3.x or 4.x" >&5
d1529 1
a1529 1
echo "configure:1532: checking whether -D_POSIX_SOURCE is necessary" >&5
d1539 1
a1539 1
#line 1542 "configure"
d1547 1
a1547 1
if { (eval echo configure:1550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1576 1
a1576 1
echo "configure:1579: checking declaration of putenv" >&5
d1578 1
a1578 1
#line 1581 "configure"
d1586 1
a1586 1
if { (eval echo configure:1589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1615 1
a1615 1
echo "configure:1618: checking declaration of popen" >&5
d1617 1
a1617 1
#line 1620 "configure"
d1625 1
a1625 1
if { (eval echo configure:1628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1654 1
a1654 1
echo "configure:1657: checking declaration of pclose" >&5
d1656 1
a1656 1
#line 1659 "configure"
d1664 1
a1664 1
if { (eval echo configure:1667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1693 1
a1693 1
echo "configure:1696: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d1695 1
a1695 1
#line 1698 "configure"
d1703 1
a1703 1
if { (eval echo configure:1706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1732 1
a1732 1
echo "configure:1735: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1734 1
a1734 1
#line 1737 "configure"
d1742 1
a1742 1
if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1771 1
a1771 1
echo "configure:1774: checking declaration of hypot" >&5
d1773 1
a1773 1
#line 1776 "configure"
d1781 1
a1781 1
if { (eval echo configure:1784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1810 1
a1810 1
echo "configure:1813: checking C++ <osfcn.h>" >&5
d1812 1
a1812 1
#line 1815 "configure"
d1819 1
a1819 1
if { (eval echo configure:1822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1848 1
a1848 1
echo "configure:1851: checking C++ <limits.h>" >&5
d1850 1
a1850 1
#line 1853 "configure"
d1857 1
a1857 1
if { (eval echo configure:1860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1886 1
a1886 1
echo "configure:1889: checking for declaration of time_t" >&5
d1888 1
a1888 1
#line 1891 "configure"
d1895 1
a1895 1
if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1916 1
a1916 1
echo "configure:1919: checking return type of signal handlers" >&5
d1921 1
a1921 1
#line 1924 "configure"
d1938 1
a1938 1
if { (eval echo configure:1941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1957 1
a1957 1
echo "configure:1960: checking struct exception" >&5
d1959 1
a1959 1
#line 1962 "configure"
d1966 1
a1966 1
if { (eval echo configure:1969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1980 1
a1980 1
echo "configure:1983: checking for sin in -lm" >&5
d1988 1
a1988 1
#line 1991 "configure"
d1999 1
a1999 1
if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2024 1
a2024 1
echo "configure:2027: checking for $ac_hdr" >&5
d2029 1
a2029 1
#line 2032 "configure"
d2034 1
a2034 1
{ (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2063 1
a2063 1
echo "configure:2066: checking for $ac_func" >&5
d2068 1
a2068 1
#line 2071 "configure"
d2091 1
a2091 1
if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2116 1
a2116 1
echo "configure:2119: checking for working mmap" >&5
d2124 1
a2124 1
#line 2127 "configure"
d2264 1
a2264 1
if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2291 1
a2291 1
echo "configure:2294: checking for $ac_func" >&5
d2296 1
a2296 1
#line 2299 "configure"
d2319 1
a2319 1
if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2349 1
a2349 1
echo "configure:2352: checking for $ac_func" >&5
d2354 1
a2354 1
#line 2357 "configure"
d2377 1
a2377 1
if { (eval echo configure:2380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2402 1
a2402 1
echo "configure:2405: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2407 1
a2407 1
#line 2410 "configure"
d2419 1
a2419 1
if { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2448 1
a2448 1
echo "configure:2451: checking whether ANSI array delete syntax supported" >&5
d2450 1
a2450 1
#line 2453 "configure"
d2457 1
a2457 1
if { (eval echo configure:2460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2486 1
a2486 1
echo "configure:2489: checking traditional preprocessor" >&5
d2488 1
a2488 1
#line 2491 "configure"
d2495 1
a2495 1
if { (eval echo configure:2498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2516 1
a2516 1
echo "configure:2519: checking w_coredump" >&5
d2521 1
a2521 1
#line 2524 "configure"
d2536 1
a2536 1
if { (eval echo configure:2539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2552 1
a2552 1
echo "configure:2555: checking default value for grops -b option" >&5
d2557 1
a2557 1
echo "configure:2560: checking default paper size" >&5
d2592 1
a2592 1
echo "configure:2595: checking for existing troff installation" >&5
d2602 1
a2602 1
echo "configure:2605: checking for prefix of system macro packages" >&5
d2622 1
a2622 1
echo "configure:2625: checking which system macro packages should be made available" >&5
@


1.7
log
@Adding EBCDIC code page 1047.

* fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub,
fonts/devcp1047/DESC.proto: New files.

* aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
either ascii/latin1 or cp1047.
* Makefile.in: Use it.
* configure: Updated.

Replacing and/or adding `md' (mathdot) glyph with `pc'
(periodcentered) in all text fonts.

* fonts/*/*: Change it.


* aclocal.m4 (GROFF_OS390): Fixing compiler flags.

* configure.in: Add check for strings.h.
* src/include/driver.h: Use HAVE_STRINGS_H.
* src/devices/grolbp/lpb.cc: Remove string.h.

* src/include/groff-getopt.h: New file.  It will be used instead of
getopt.h (to be included in lib.h) to avoid endless problems with
picky C++ compilers.
* src/include/lib.h: Use groff-getopt.h.
* src/include/Makefile.sub: Updated.

* configure: Updated.
* Makefile.in: Updated.

* NEWS: Mention EBCDIC support.


* TODO: Some additions.


* src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
of mso request.


* src/roff/troff/troff.man: Minor fixes.
@
text
@d1026 1
a1026 1
 TTYDEVDIRS="font/devascii font/devlatin1"
@


1.6
log
@* aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
the generic `n' if under OS/390 Unix.

* configure.in: Call GROFF_EBCDIC and GROFF_OS390.

* configure: Regenerated.
@
text
@d1014 4
a1017 1
  groff_cv_ebcdic="yes";echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d1025 3
a1027 1
  groff_cv_ebcdic="no";echo "$ac_t""no" 1>&6
d1030 1
d1034 1
a1034 1
echo "configure:1029: checking for OS/390 Unix" >&5
d1037 1
a1037 1
		CFLAGS="$CFLAGS -D_ALL_SOURCE -D_X_OPEN_SOURCE_EXTENDED=1"
d1050 1
a1050 1
echo "configure:1045: checking for $ac_word" >&5
d1084 1
a1084 1
echo "configure:1079: checking for $ac_word" >&5
d1122 1
a1122 1
echo "configure:1117: checking for $ac_word" >&5
d1161 1
a1161 1
echo "configure:1156: checking for command to use for printing PostScript files" >&5
d1165 1
a1165 1
echo "configure:1160: checking for command to use for printing dvi files" >&5
d1178 1
a1178 1
echo "configure:1173: checking for $ac_word" >&5
d1216 1
a1216 1
echo "configure:1211: checking for $ac_word" >&5
d1249 1
a1249 1
echo "configure:1244: checking for $ac_word" >&5
d1309 1
a1309 1
echo "configure:1304: checking for a BSD compatible install" >&5
d1362 1
a1362 1
echo "configure:1357: checking whether ln -s works" >&5
d1383 1
a1383 1
echo "configure:1378: checking for csh hash hack" >&5
d1399 1
a1399 1
echo "configure:1394: checking how to run the C preprocessor" >&5
d1414 1
a1414 1
#line 1409 "configure"
d1420 1
a1420 1
{ (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1431 1
a1431 1
#line 1426 "configure"
d1437 1
a1437 1
{ (eval echo configure:1432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1448 1
a1448 1
#line 1443 "configure"
d1454 1
a1454 1
{ (eval echo configure:1449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1478 1
a1478 1
for ac_hdr in unistd.h dirent.h limits.h sys/dir.h stdlib.h
d1482 1
a1482 1
echo "configure:1477: checking for $ac_hdr" >&5
d1487 1
a1487 1
#line 1482 "configure"
d1492 1
a1492 1
{ (eval echo configure:1487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1519 1
a1519 1
echo "configure:1514: checking for ISC 3.x or 4.x" >&5
d1531 1
a1531 1
echo "configure:1526: checking whether -D_POSIX_SOURCE is necessary" >&5
d1541 1
a1541 1
#line 1536 "configure"
d1549 1
a1549 1
if { (eval echo configure:1544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1578 1
a1578 1
echo "configure:1573: checking declaration of putenv" >&5
d1580 1
a1580 1
#line 1575 "configure"
d1588 1
a1588 1
if { (eval echo configure:1583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1617 1
a1617 1
echo "configure:1612: checking declaration of popen" >&5
d1619 1
a1619 1
#line 1614 "configure"
d1627 1
a1627 1
if { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1656 1
a1656 1
echo "configure:1651: checking declaration of pclose" >&5
d1658 1
a1658 1
#line 1653 "configure"
d1666 1
a1666 1
if { (eval echo configure:1661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1695 1
a1695 1
echo "configure:1690: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d1697 1
a1697 1
#line 1692 "configure"
d1705 1
a1705 1
if { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1734 1
a1734 1
echo "configure:1729: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1736 1
a1736 1
#line 1731 "configure"
d1744 1
a1744 1
if { (eval echo configure:1739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1773 1
a1773 1
echo "configure:1768: checking declaration of hypot" >&5
d1775 1
a1775 1
#line 1770 "configure"
d1783 1
a1783 1
if { (eval echo configure:1778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1812 1
a1812 1
echo "configure:1807: checking C++ <osfcn.h>" >&5
d1814 1
a1814 1
#line 1809 "configure"
d1821 1
a1821 1
if { (eval echo configure:1816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1850 1
a1850 1
echo "configure:1845: checking C++ <limits.h>" >&5
d1852 1
a1852 1
#line 1847 "configure"
d1859 1
a1859 1
if { (eval echo configure:1854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1888 1
a1888 1
echo "configure:1883: checking for declaration of time_t" >&5
d1890 1
a1890 1
#line 1885 "configure"
d1897 1
a1897 1
if { (eval echo configure:1892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1918 1
a1918 1
echo "configure:1913: checking return type of signal handlers" >&5
d1923 1
a1923 1
#line 1918 "configure"
d1940 1
a1940 1
if { (eval echo configure:1935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1959 1
a1959 1
echo "configure:1954: checking struct exception" >&5
d1961 1
a1961 1
#line 1956 "configure"
d1968 1
a1968 1
if { (eval echo configure:1963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1982 1
a1982 1
echo "configure:1977: checking for sin in -lm" >&5
d1990 1
a1990 1
#line 1985 "configure"
d2001 1
a2001 1
if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2026 1
a2026 1
echo "configure:2021: checking for $ac_hdr" >&5
d2031 1
a2031 1
#line 2026 "configure"
d2036 1
a2036 1
{ (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2065 1
a2065 1
echo "configure:2060: checking for $ac_func" >&5
d2070 1
a2070 1
#line 2065 "configure"
d2093 1
a2093 1
if { (eval echo configure:2088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2118 1
a2118 1
echo "configure:2113: checking for working mmap" >&5
d2126 1
a2126 1
#line 2121 "configure"
d2266 1
a2266 1
if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2293 1
a2293 1
echo "configure:2288: checking for $ac_func" >&5
d2298 1
a2298 1
#line 2293 "configure"
d2321 1
a2321 1
if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2351 1
a2351 1
echo "configure:2346: checking for $ac_func" >&5
d2356 1
a2356 1
#line 2351 "configure"
d2379 1
a2379 1
if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2404 1
a2404 1
echo "configure:2399: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2409 1
a2409 1
#line 2404 "configure"
d2421 1
a2421 1
if { (eval echo configure:2416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2450 1
a2450 1
echo "configure:2445: checking whether ANSI array delete syntax supported" >&5
d2452 1
a2452 1
#line 2447 "configure"
d2459 1
a2459 1
if { (eval echo configure:2454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2488 1
a2488 1
echo "configure:2483: checking traditional preprocessor" >&5
d2490 1
a2490 1
#line 2485 "configure"
d2497 1
a2497 1
if { (eval echo configure:2492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2518 1
a2518 1
echo "configure:2513: checking w_coredump" >&5
d2523 1
a2523 1
#line 2518 "configure"
d2538 1
a2538 1
if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2554 1
a2554 1
echo "configure:2549: checking default value for grops -b option" >&5
d2559 1
a2559 1
echo "configure:2554: checking default paper size" >&5
d2594 1
a2594 1
echo "configure:2589: checking for existing troff installation" >&5
d2604 1
a2604 1
echo "configure:2599: checking for prefix of system macro packages" >&5
d2624 1
a2624 1
echo "configure:2619: checking which system macro packages should be made available" >&5
d2814 1
@


1.5
log
@* configure.in: Added test for strdup.

* src/devices/grolbp/lbp.cc: Added a strdup() version in case none
is available.

Replaced dynamic allocation of arrays `[...]' with `new' operator.

Other minor fixes.
@
text
@a525 1

a527 1

d531 1
a531 1
echo "configure:534: checking for $ac_word" >&5
d561 1
a561 1
echo "configure:564: checking for $ac_word" >&5
d612 1
a612 1
echo "configure:615: checking for $ac_word" >&5
d644 1
a644 1
echo "configure:647: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d655 1
a655 1
#line 658 "configure"
d660 1
a660 1
if { (eval echo configure:663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d686 1
a686 1
echo "configure:689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d691 1
a691 1
echo "configure:694: checking whether we are using GNU C" >&5
d700 1
a700 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d719 1
a719 1
echo "configure:722: checking whether ${CC-cc} accepts -g" >&5
d755 1
a755 1
echo "configure:758: checking for $ac_word" >&5
d787 1
a787 1
echo "configure:790: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
d798 1
a798 1
#line 801 "configure"
d803 1
a803 1
if { (eval echo configure:806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d829 1
a829 1
echo "configure:832: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
d834 1
a834 1
echo "configure:837: checking whether we are using GNU C++" >&5
d843 1
a843 1
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d862 1
a862 1
echo "configure:865: checking whether ${CXX-g++} accepts -g" >&5
d906 1
a906 1
echo "configure:909: checking that C++ compiler can compile simple program" >&5
d912 1
a912 1
#line 915 "configure"
d919 1
a919 1
if { (eval echo configure:922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d933 1
a933 1
echo "configure:936: checking that C++ static constructors and destructors are called" >&5
d939 1
a939 1
#line 942 "configure"
d958 1
a958 1
if { (eval echo configure:961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d971 1
a971 1
echo "configure:974: checking that header files support C++" >&5
d973 1
a973 1
#line 976 "configure"
d980 1
a980 1
if { (eval echo configure:983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d997 5
d1003 35
d1044 1
a1044 1
echo "configure:1007: checking for $ac_word" >&5
d1078 1
a1078 1
echo "configure:1041: checking for $ac_word" >&5
d1116 1
a1116 1
echo "configure:1079: checking for $ac_word" >&5
d1155 1
a1155 1
echo "configure:1118: checking for command to use for printing PostScript files" >&5
d1159 1
a1159 1
echo "configure:1122: checking for command to use for printing dvi files" >&5
d1172 1
a1172 1
echo "configure:1135: checking for $ac_word" >&5
d1210 1
a1210 1
echo "configure:1173: checking for $ac_word" >&5
d1243 1
a1243 1
echo "configure:1206: checking for $ac_word" >&5
a1290 1

d1303 1
a1303 1
echo "configure:1267: checking for a BSD compatible install" >&5
d1356 1
a1356 1
echo "configure:1320: checking whether ln -s works" >&5
d1377 1
a1377 1
echo "configure:1341: checking for csh hash hack" >&5
d1393 1
a1393 1
echo "configure:1357: checking how to run the C preprocessor" >&5
d1408 1
a1408 1
#line 1372 "configure"
d1414 1
a1414 1
{ (eval echo configure:1378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1425 1
a1425 1
#line 1389 "configure"
d1431 1
a1431 1
{ (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1442 1
a1442 1
#line 1406 "configure"
d1448 1
a1448 1
{ (eval echo configure:1412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1476 1
a1476 1
echo "configure:1440: checking for $ac_hdr" >&5
d1481 1
a1481 1
#line 1445 "configure"
d1486 1
a1486 1
{ (eval echo configure:1450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1513 1
a1513 1
echo "configure:1477: checking for ISC 3.x or 4.x" >&5
d1525 1
a1525 1
echo "configure:1489: checking whether -D_POSIX_SOURCE is necessary" >&5
d1535 1
a1535 1
#line 1499 "configure"
d1543 1
a1543 1
if { (eval echo configure:1507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1572 1
a1572 1
echo "configure:1536: checking declaration of putenv" >&5
d1574 1
a1574 1
#line 1538 "configure"
d1582 1
a1582 1
if { (eval echo configure:1546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1611 1
a1611 1
echo "configure:1575: checking declaration of popen" >&5
d1613 1
a1613 1
#line 1577 "configure"
d1621 1
a1621 1
if { (eval echo configure:1585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1650 1
a1650 1
echo "configure:1614: checking declaration of pclose" >&5
d1652 1
a1652 1
#line 1616 "configure"
d1660 1
a1660 1
if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1689 1
a1689 1
echo "configure:1653: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d1691 1
a1691 1
#line 1655 "configure"
d1699 1
a1699 1
if { (eval echo configure:1663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1728 1
a1728 1
echo "configure:1692: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1730 1
a1730 1
#line 1694 "configure"
d1738 1
a1738 1
if { (eval echo configure:1702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1767 1
a1767 1
echo "configure:1731: checking declaration of hypot" >&5
d1769 1
a1769 1
#line 1733 "configure"
d1777 1
a1777 1
if { (eval echo configure:1741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1806 1
a1806 1
echo "configure:1770: checking C++ <osfcn.h>" >&5
d1808 1
a1808 1
#line 1772 "configure"
d1815 1
a1815 1
if { (eval echo configure:1779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1844 1
a1844 1
echo "configure:1808: checking C++ <limits.h>" >&5
d1846 1
a1846 1
#line 1810 "configure"
d1853 1
a1853 1
if { (eval echo configure:1817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1882 1
a1882 1
echo "configure:1846: checking for declaration of time_t" >&5
d1884 1
a1884 1
#line 1848 "configure"
d1891 1
a1891 1
if { (eval echo configure:1855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1912 1
a1912 1
echo "configure:1876: checking return type of signal handlers" >&5
d1917 1
a1917 1
#line 1881 "configure"
d1934 1
a1934 1
if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1953 1
a1953 1
echo "configure:1917: checking struct exception" >&5
d1955 1
a1955 1
#line 1919 "configure"
d1962 1
a1962 1
if { (eval echo configure:1926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1976 1
a1976 1
echo "configure:1940: checking for sin in -lm" >&5
d1984 1
a1984 1
#line 1948 "configure"
d1995 1
a1995 1
if { (eval echo configure:1959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2015 1

d2020 1
a2020 1
echo "configure:1985: checking for $ac_hdr" >&5
d2025 1
a2025 1
#line 1990 "configure"
d2030 1
a2030 1
{ (eval echo configure:1995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2059 1
a2059 1
echo "configure:2024: checking for $ac_func" >&5
d2064 1
a2064 1
#line 2029 "configure"
d2087 1
a2087 1
if { (eval echo configure:2052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2112 1
a2112 1
echo "configure:2077: checking for working mmap" >&5
d2120 1
a2120 1
#line 2085 "configure"
d2260 1
a2260 1
if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2287 1
a2287 1
echo "configure:2252: checking for $ac_func" >&5
d2292 1
a2292 1
#line 2257 "configure"
d2315 1
a2315 1
if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2345 1
a2345 1
echo "configure:2310: checking for $ac_func" >&5
d2350 1
a2350 1
#line 2315 "configure"
d2373 1
a2373 1
if { (eval echo configure:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2398 1
a2398 1
echo "configure:2363: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2403 1
a2403 1
#line 2368 "configure"
d2415 1
a2415 1
if { (eval echo configure:2380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2444 1
a2444 1
echo "configure:2409: checking whether ANSI array delete syntax supported" >&5
d2446 1
a2446 1
#line 2411 "configure"
d2453 1
a2453 1
if { (eval echo configure:2418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2482 1
a2482 1
echo "configure:2447: checking traditional preprocessor" >&5
d2484 1
a2484 1
#line 2449 "configure"
d2491 1
a2491 1
if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2512 1
a2512 1
echo "configure:2477: checking w_coredump" >&5
d2517 1
a2517 1
#line 2482 "configure"
d2532 1
a2532 1
if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2548 1
a2548 1
echo "configure:2513: checking default value for grops -b option" >&5
d2553 1
a2553 1
echo "configure:2518: checking default paper size" >&5
d2588 1
a2588 1
echo "configure:2553: checking for existing troff installation" >&5
a2596 1

d2598 1
a2598 1
echo "configure:2564: checking for prefix of system macro packages" >&5
d2618 1
a2618 1
echo "configure:2584: checking which system macro packages should be made available" >&5
a2654 1

d2729 5
a2733 1
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
@


1.4
log
@* tmac/groff_man.man: Completely revised to cover everything in
tmac.an.


Adding a request `evc' to copy environments.

* src/roff/troff/env.cc (environment::copy, environment_copy):
Implement it.
* src/roff/troff/env.h: Add prototype.


Adding strsep() -- Solaris 8 doesn't have it.

* configure.in: Test it.
* src/devices/grolbp/lbp.cc: Add code.


* NEWS, PROJECTS: Updated.
@
text
@d2306 1
a2306 1
for ac_func in rename mkstemp strcasecmp strsep
@


1.3
log
@* Makefile.in: Fixing $(subdir).

* README, NEWS: Small fixes.

* test-groff: Adding path to grolbp.

* configure.in: The (new) file src/xditview/Imakefile.in will be
also configured -- it is now possible to build gxditview in a
directory different from $srcdir.
@
text
@d2306 1
a2306 1
for ac_func in rename mkstemp strcasecmp
@


1.2
log
@Adding GNU getopt to the groff distribution.

* src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
New files.
* src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
* aclocal.a4: Remove GROFF_GETOPT function.
* configure.in, Makefile.in, PROBLEMS: Update.
* src/include/lib.h: Replace getopt tests with getopt.h.
* src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.

* doc/groff.texinfo: Further checking/updating.  Adding more index
entries.


* src/devices/grolbp/grolbp.man: Added a comment line at the
beginning of the file (similar to shell scripts) which indicates
that `tbl' should be used as a preprocessor.
@
text
@d2621 1
d2735 1
a2735 1
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d2832 1
a2832 1
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
@


1.1
log
@Initial revision
@
text
@d1534 2
a1535 2
echo $ac_n "checking declaration of getopt in stdlib.h""... $ac_c" 1>&6
echo "configure:1536: checking declaration of getopt in stdlib.h" >&5
d1540 1
a1540 1
extern "C" { void getopt(int); }
a1552 64
#define STDLIB_H_DECLARES_GETOPT 1
EOF

fi
rm -f conftest*
echo $ac_n "checking declaration of getopt in unistd.h""... $ac_c" 1>&6
echo "configure:1560: checking declaration of getopt in unistd.h" >&5
cat > conftest.$ac_ext <<EOF
#line 1562 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <unistd.h>
extern "C" { void getopt(int); }
int main() {

; return 0; }
EOF
if { (eval echo configure:1571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
#define UNISTD_H_DECLARES_GETOPT 1
EOF

fi
rm -f conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross


ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking declaration of putenv""... $ac_c" 1>&6
echo "configure:1600: checking declaration of putenv" >&5
cat > conftest.$ac_ext <<EOF
#line 1602 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" { void putenv(int); }
int main() {

; return 0; }
EOF
if { (eval echo configure:1610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF
d1574 1
a1574 1
echo "configure:1639: checking declaration of popen" >&5
d1576 1
a1576 1
#line 1641 "configure"
d1584 1
a1584 1
if { (eval echo configure:1649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1613 1
a1613 1
echo "configure:1678: checking declaration of pclose" >&5
d1615 1
a1615 1
#line 1680 "configure"
d1623 1
a1623 1
if { (eval echo configure:1688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1652 1
a1652 1
echo "configure:1717: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
d1654 1
a1654 1
#line 1719 "configure"
d1662 1
a1662 1
if { (eval echo configure:1727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1691 1
a1691 1
echo "configure:1756: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
d1693 1
a1693 1
#line 1758 "configure"
d1701 1
a1701 1
if { (eval echo configure:1766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1730 1
a1730 1
echo "configure:1795: checking declaration of hypot" >&5
d1732 1
a1732 1
#line 1797 "configure"
d1740 1
a1740 1
if { (eval echo configure:1805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1769 1
a1769 1
echo "configure:1834: checking C++ <osfcn.h>" >&5
d1771 1
a1771 1
#line 1836 "configure"
d1778 1
a1778 1
if { (eval echo configure:1843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1807 1
a1807 1
echo "configure:1872: checking C++ <limits.h>" >&5
d1809 1
a1809 1
#line 1874 "configure"
d1816 1
a1816 1
if { (eval echo configure:1881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1845 1
a1845 1
echo "configure:1910: checking for declaration of time_t" >&5
d1847 1
a1847 1
#line 1912 "configure"
d1854 1
a1854 1
if { (eval echo configure:1919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1875 1
a1875 1
echo "configure:1940: checking return type of signal handlers" >&5
d1880 1
a1880 1
#line 1945 "configure"
d1897 1
a1897 1
if { (eval echo configure:1962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1916 1
a1916 1
echo "configure:1981: checking struct exception" >&5
d1918 1
a1918 1
#line 1983 "configure"
d1925 1
a1925 1
if { (eval echo configure:1990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1939 1
a1939 1
echo "configure:2004: checking for sin in -lm" >&5
d1947 1
a1947 1
#line 2012 "configure"
d1958 1
a1958 1
if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1984 1
a1984 1
echo "configure:2049: checking for $ac_hdr" >&5
d1989 1
a1989 1
#line 2054 "configure"
d1994 1
a1994 1
{ (eval echo configure:2059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2023 1
a2023 1
echo "configure:2088: checking for $ac_func" >&5
d2028 1
a2028 1
#line 2093 "configure"
d2051 1
a2051 1
if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2076 1
a2076 1
echo "configure:2141: checking for working mmap" >&5
d2084 1
a2084 1
#line 2149 "configure"
d2224 1
a2224 1
if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2251 1
a2251 1
echo "configure:2316: checking for $ac_func" >&5
d2256 1
a2256 1
#line 2321 "configure"
d2279 1
a2279 1
if { (eval echo configure:2344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2309 1
a2309 1
echo "configure:2374: checking for $ac_func" >&5
d2314 1
a2314 1
#line 2379 "configure"
d2337 1
a2337 1
if { (eval echo configure:2402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2362 1
a2362 1
echo "configure:2427: checking for sys_siglist declaration in signal.h or unistd.h" >&5
d2367 1
a2367 1
#line 2432 "configure"
d2379 1
a2379 1
if { (eval echo configure:2444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2408 1
a2408 1
echo "configure:2473: checking whether ANSI array delete syntax supported" >&5
d2410 1
a2410 1
#line 2475 "configure"
d2417 1
a2417 1
if { (eval echo configure:2482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2446 1
a2446 1
echo "configure:2511: checking traditional preprocessor" >&5
d2448 1
a2448 1
#line 2513 "configure"
d2455 1
a2455 1
if { (eval echo configure:2520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2476 1
a2476 1
echo "configure:2541: checking w_coredump" >&5
d2481 1
a2481 1
#line 2546 "configure"
d2496 1
a2496 1
if { (eval echo configure:2561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2512 1
a2512 1
echo "configure:2577: checking default value for grops -b option" >&5
d2517 1
a2517 1
echo "configure:2582: checking default paper size" >&5
d2552 1
a2552 1
echo "configure:2617: checking for existing troff installation" >&5
d2563 1
a2563 1
echo "configure:2628: checking for prefix of system macro packages" >&5
d2583 1
a2583 1
echo "configure:2648: checking which system macro packages should be made available" >&5
@


1.1.1.1
log
@groff pre-1.16 with new directory structure
@
text
@@
