aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-16 11:23:12 +0000
committerGerd Moellmann2001-10-16 11:23:12 +0000
commit3efcf1ddcd36f63a94845e8df2135ad02706fe8e (patch)
treed10a2d82cdbdc00c30a828922e6c281bbab2f624
parent1811b1b3d65a03a97e2f9303734eb8f5504aa87a (diff)
downloademacs-other-branches/gerd_big.tar.gz
emacs-other-branches/gerd_big.zip
*** empty log message ***other-branches/gerd_big
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure575
-rw-r--r--configure.in1
-rw-r--r--src/ChangeLog48
4 files changed, 364 insertions, 264 deletions
diff --git a/ChangeLog b/ChangeLog
index ed76ac1d7c2..2ac41e85b25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12001-10-16 Gerd Moellmann <gerd@gnu.org>
2
3 * configure.in: Check for libgmp.
4
12001-05-28 Gerd Moellmann <gerd@gnu.org> 52001-05-28 Gerd Moellmann <gerd@gnu.org>
2 6
3 * make-dist (LANG): Set LC_ALL and LANGUAGE to C, unset 7 * make-dist (LANG): Set LC_ALL and LANGUAGE to C, unset
diff --git a/configure b/configure
index c24154128c5..4ea5318c578 100755
--- a/configure
+++ b/configure
@@ -4433,9 +4433,56 @@ else
4433 echo "$ac_t""no" 1>&6 4433 echo "$ac_t""no" 1>&6
4434fi 4434fi
4435 4435
4436echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6
4437echo "configure:4438: checking for mpz_init in -lgmp" >&5
4438ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'`
4439if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4440 echo $ac_n "(cached) $ac_c" 1>&6
4441else
4442 ac_save_LIBS="$LIBS"
4443LIBS="-lgmp $LIBS"
4444cat > conftest.$ac_ext <<EOF
4445#line 4446 "configure"
4446#include "confdefs.h"
4447/* Override any gcc2 internal prototype to avoid an error. */
4448/* We use char because int might match the return type of a gcc2
4449 builtin and then its argument prototype would still apply. */
4450char mpz_init();
4451
4452int main() {
4453mpz_init()
4454; return 0; }
4455EOF
4456if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4457 rm -rf conftest*
4458 eval "ac_cv_lib_$ac_lib_var=yes"
4459else
4460 echo "configure: failed program was:" >&5
4461 cat conftest.$ac_ext >&5
4462 rm -rf conftest*
4463 eval "ac_cv_lib_$ac_lib_var=no"
4464fi
4465rm -f conftest*
4466LIBS="$ac_save_LIBS"
4467
4468fi
4469if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4470 echo "$ac_t""yes" 1>&6
4471 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4472 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4473 cat >> confdefs.h <<EOF
4474#define $ac_tr_lib 1
4475EOF
4476
4477 LIBS="-lgmp $LIBS"
4478
4479else
4480 echo "$ac_t""no" 1>&6
4481fi
4482
4436 4483
4437echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 4484echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
4438echo "configure:4439: checking for XFree86 in /usr/X386" >&5 4485echo "configure:4486: checking for XFree86 in /usr/X386" >&5
4439if test -d /usr/X386/include; then 4486if test -d /usr/X386/include; then
4440 HAVE_XFREE386=yes 4487 HAVE_XFREE386=yes
4441 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 4488 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -4467,16 +4514,16 @@ if test "${HAVE_X11}" = "yes"; then
4467 4514
4468 if test "${opsys}" = "gnu-linux"; then 4515 if test "${opsys}" = "gnu-linux"; then
4469 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 4516 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
4470echo "configure:4471: checking whether X on GNU/Linux needs -b to link" >&5 4517echo "configure:4518: checking whether X on GNU/Linux needs -b to link" >&5
4471 cat > conftest.$ac_ext <<EOF 4518 cat > conftest.$ac_ext <<EOF
4472#line 4473 "configure" 4519#line 4520 "configure"
4473#include "confdefs.h" 4520#include "confdefs.h"
4474 4521
4475int main() { 4522int main() {
4476XOpenDisplay ("foo"); 4523XOpenDisplay ("foo");
4477; return 0; } 4524; return 0; }
4478EOF 4525EOF
4479if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4526if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4480 rm -rf conftest* 4527 rm -rf conftest*
4481 xlinux_first_failure=no 4528 xlinux_first_failure=no
4482else 4529else
@@ -4496,14 +4543,14 @@ rm -f conftest*
4496 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 4543 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
4497 LIBS="$LIBS -b i486-linuxaout" 4544 LIBS="$LIBS -b i486-linuxaout"
4498 cat > conftest.$ac_ext <<EOF 4545 cat > conftest.$ac_ext <<EOF
4499#line 4500 "configure" 4546#line 4547 "configure"
4500#include "confdefs.h" 4547#include "confdefs.h"
4501 4548
4502int main() { 4549int main() {
4503XOpenDisplay ("foo"); 4550XOpenDisplay ("foo");
4504; return 0; } 4551; return 0; }
4505EOF 4552EOF
4506if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4553if { (eval echo configure:4554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4507 rm -rf conftest* 4554 rm -rf conftest*
4508 xlinux_second_failure=no 4555 xlinux_second_failure=no
4509else 4556else
@@ -4532,9 +4579,9 @@ rm -f conftest*
4532 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 4579 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
4533 # header files included from there. 4580 # header files included from there.
4534 echo $ac_n "checking for Xkb""... $ac_c" 1>&6 4581 echo $ac_n "checking for Xkb""... $ac_c" 1>&6
4535echo "configure:4536: checking for Xkb" >&5 4582echo "configure:4583: checking for Xkb" >&5
4536 cat > conftest.$ac_ext <<EOF 4583 cat > conftest.$ac_ext <<EOF
4537#line 4538 "configure" 4584#line 4585 "configure"
4538#include "confdefs.h" 4585#include "confdefs.h"
4539#include <X11/Xlib.h> 4586#include <X11/Xlib.h>
4540#include <X11/XKBlib.h> 4587#include <X11/XKBlib.h>
@@ -4542,7 +4589,7 @@ int main() {
4542XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); 4589XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
4543; return 0; } 4590; return 0; }
4544EOF 4591EOF
4545if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4592if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4546 rm -rf conftest* 4593 rm -rf conftest*
4547 emacs_xkb=yes 4594 emacs_xkb=yes
4548else 4595else
@@ -4564,12 +4611,12 @@ EOF
4564XScreenNumberOfScreen XSetWMProtocols 4611XScreenNumberOfScreen XSetWMProtocols
4565do 4612do
4566echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4613echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4567echo "configure:4568: checking for $ac_func" >&5 4614echo "configure:4615: checking for $ac_func" >&5
4568if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4615if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4569 echo $ac_n "(cached) $ac_c" 1>&6 4616 echo $ac_n "(cached) $ac_c" 1>&6
4570else 4617else
4571 cat > conftest.$ac_ext <<EOF 4618 cat > conftest.$ac_ext <<EOF
4572#line 4573 "configure" 4619#line 4620 "configure"
4573#include "confdefs.h" 4620#include "confdefs.h"
4574/* System header to define __stub macros and hopefully few prototypes, 4621/* System header to define __stub macros and hopefully few prototypes,
4575 which can conflict with char $ac_func(); below. */ 4622 which can conflict with char $ac_func(); below. */
@@ -4592,7 +4639,7 @@ $ac_func();
4592 4639
4593; return 0; } 4640; return 0; }
4594EOF 4641EOF
4595if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4642if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4596 rm -rf conftest* 4643 rm -rf conftest*
4597 eval "ac_cv_func_$ac_func=yes" 4644 eval "ac_cv_func_$ac_func=yes"
4598else 4645else
@@ -4620,12 +4667,12 @@ fi
4620 4667
4621if test "${window_system}" = "x11"; then 4668if test "${window_system}" = "x11"; then
4622 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4669 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4623echo "configure:4624: checking X11 version 6" >&5 4670echo "configure:4671: checking X11 version 6" >&5
4624 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4671 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4625 echo $ac_n "(cached) $ac_c" 1>&6 4672 echo $ac_n "(cached) $ac_c" 1>&6
4626else 4673else
4627 cat > conftest.$ac_ext <<EOF 4674 cat > conftest.$ac_ext <<EOF
4628#line 4629 "configure" 4675#line 4676 "configure"
4629#include "confdefs.h" 4676#include "confdefs.h"
4630#include <X11/Xlib.h> 4677#include <X11/Xlib.h>
4631int main() { 4678int main() {
@@ -4635,7 +4682,7 @@ fail;
4635 4682
4636; return 0; } 4683; return 0; }
4637EOF 4684EOF
4638if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4685if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4639 rm -rf conftest* 4686 rm -rf conftest*
4640 emacs_cv_x11_version_6=yes 4687 emacs_cv_x11_version_6=yes
4641else 4688else
@@ -4660,12 +4707,12 @@ fi
4660 4707
4661if test "${window_system}" = "x11"; then 4708if test "${window_system}" = "x11"; then
4662 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4709 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4663echo "configure:4664: checking X11 version 5" >&5 4710echo "configure:4711: checking X11 version 5" >&5
4664 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4711 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4665 echo $ac_n "(cached) $ac_c" 1>&6 4712 echo $ac_n "(cached) $ac_c" 1>&6
4666else 4713else
4667 cat > conftest.$ac_ext <<EOF 4714 cat > conftest.$ac_ext <<EOF
4668#line 4669 "configure" 4715#line 4716 "configure"
4669#include "confdefs.h" 4716#include "confdefs.h"
4670#include <X11/Xlib.h> 4717#include <X11/Xlib.h>
4671int main() { 4718int main() {
@@ -4675,7 +4722,7 @@ fail;
4675 4722
4676; return 0; } 4723; return 0; }
4677EOF 4724EOF
4678if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4725if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4679 rm -rf conftest* 4726 rm -rf conftest*
4680 emacs_cv_x11_version_5=yes 4727 emacs_cv_x11_version_5=yes
4681else 4728else
@@ -4703,12 +4750,12 @@ fi
4703if test x"${USE_X_TOOLKIT}" = xmaybe; then 4750if test x"${USE_X_TOOLKIT}" = xmaybe; then
4704 if test x"${HAVE_X11R5}" = xyes; then 4751 if test x"${HAVE_X11R5}" = xyes; then
4705 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4752 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4706echo "configure:4707: checking X11 version 5 with Xaw" >&5 4753echo "configure:4754: checking X11 version 5 with Xaw" >&5
4707 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4754 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4708 echo $ac_n "(cached) $ac_c" 1>&6 4755 echo $ac_n "(cached) $ac_c" 1>&6
4709else 4756else
4710 cat > conftest.$ac_ext <<EOF 4757 cat > conftest.$ac_ext <<EOF
4711#line 4712 "configure" 4758#line 4759 "configure"
4712#include "confdefs.h" 4759#include "confdefs.h"
4713 4760
4714#include <X11/Intrinsic.h> 4761#include <X11/Intrinsic.h>
@@ -4717,7 +4764,7 @@ int main() {
4717 4764
4718; return 0; } 4765; return 0; }
4719EOF 4766EOF
4720if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4767if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4721 rm -rf conftest* 4768 rm -rf conftest*
4722 emacs_cv_x11_version_5_with_xaw=yes 4769 emacs_cv_x11_version_5_with_xaw=yes
4723else 4770else
@@ -4745,12 +4792,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4745 4792
4746if test "${USE_X_TOOLKIT}" != "none"; then 4793if test "${USE_X_TOOLKIT}" != "none"; then
4747 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4794 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4748echo "configure:4749: checking X11 toolkit version" >&5 4795echo "configure:4796: checking X11 toolkit version" >&5
4749 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4796 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4750 echo $ac_n "(cached) $ac_c" 1>&6 4797 echo $ac_n "(cached) $ac_c" 1>&6
4751else 4798else
4752 cat > conftest.$ac_ext <<EOF 4799 cat > conftest.$ac_ext <<EOF
4753#line 4754 "configure" 4800#line 4801 "configure"
4754#include "confdefs.h" 4801#include "confdefs.h"
4755#include <X11/Intrinsic.h> 4802#include <X11/Intrinsic.h>
4756int main() { 4803int main() {
@@ -4760,7 +4807,7 @@ fail;
4760 4807
4761; return 0; } 4808; return 0; }
4762EOF 4809EOF
4763if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4810if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4764 rm -rf conftest* 4811 rm -rf conftest*
4765 emacs_cv_x11_toolkit_version_6=yes 4812 emacs_cv_x11_toolkit_version_6=yes
4766else 4813else
@@ -4790,7 +4837,7 @@ EOF
4790 LIBS="-lXt $LIBS" 4837 LIBS="-lXt $LIBS"
4791 fi 4838 fi
4792 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4839 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4793echo "configure:4794: checking for XmuConvertStandardSelection in -lXmu" >&5 4840echo "configure:4841: checking for XmuConvertStandardSelection in -lXmu" >&5
4794ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4841ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4795if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4842if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4796 echo $ac_n "(cached) $ac_c" 1>&6 4843 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4798,7 +4845,7 @@ else
4798 ac_save_LIBS="$LIBS" 4845 ac_save_LIBS="$LIBS"
4799LIBS="-lXmu $LIBS" 4846LIBS="-lXmu $LIBS"
4800cat > conftest.$ac_ext <<EOF 4847cat > conftest.$ac_ext <<EOF
4801#line 4802 "configure" 4848#line 4849 "configure"
4802#include "confdefs.h" 4849#include "confdefs.h"
4803/* Override any gcc2 internal prototype to avoid an error. */ 4850/* Override any gcc2 internal prototype to avoid an error. */
4804/* We use char because int might match the return type of a gcc2 4851/* We use char because int might match the return type of a gcc2
@@ -4809,7 +4856,7 @@ int main() {
4809XmuConvertStandardSelection() 4856XmuConvertStandardSelection()
4810; return 0; } 4857; return 0; }
4811EOF 4858EOF
4812if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4859if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4813 rm -rf conftest* 4860 rm -rf conftest*
4814 eval "ac_cv_lib_$ac_lib_var=yes" 4861 eval "ac_cv_lib_$ac_lib_var=yes"
4815else 4862else
@@ -4843,7 +4890,7 @@ fi
4843if test "${HAVE_X11}" = "yes"; then 4890if test "${HAVE_X11}" = "yes"; then
4844 if test "${USE_X_TOOLKIT}" != "none"; then 4891 if test "${USE_X_TOOLKIT}" != "none"; then
4845 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 4892 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
4846echo "configure:4847: checking for XShapeQueryExtension in -lXext" >&5 4893echo "configure:4894: checking for XShapeQueryExtension in -lXext" >&5
4847ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` 4894ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
4848if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4895if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4849 echo $ac_n "(cached) $ac_c" 1>&6 4896 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4851,7 +4898,7 @@ else
4851 ac_save_LIBS="$LIBS" 4898 ac_save_LIBS="$LIBS"
4852LIBS="-lXext $LIBS" 4899LIBS="-lXext $LIBS"
4853cat > conftest.$ac_ext <<EOF 4900cat > conftest.$ac_ext <<EOF
4854#line 4855 "configure" 4901#line 4902 "configure"
4855#include "confdefs.h" 4902#include "confdefs.h"
4856/* Override any gcc2 internal prototype to avoid an error. */ 4903/* Override any gcc2 internal prototype to avoid an error. */
4857/* We use char because int might match the return type of a gcc2 4904/* We use char because int might match the return type of a gcc2
@@ -4862,7 +4909,7 @@ int main() {
4862XShapeQueryExtension() 4909XShapeQueryExtension()
4863; return 0; } 4910; return 0; }
4864EOF 4911EOF
4865if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4912if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4866 rm -rf conftest* 4913 rm -rf conftest*
4867 eval "ac_cv_lib_$ac_lib_var=yes" 4914 eval "ac_cv_lib_$ac_lib_var=yes"
4868else 4915else
@@ -4894,12 +4941,12 @@ fi
4894 4941
4895if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4942if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4896 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4943 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4897echo "configure:4898: checking for Motif version 2.1" >&5 4944echo "configure:4945: checking for Motif version 2.1" >&5
4898if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4945if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4899 echo $ac_n "(cached) $ac_c" 1>&6 4946 echo $ac_n "(cached) $ac_c" 1>&6
4900else 4947else
4901 cat > conftest.$ac_ext <<EOF 4948 cat > conftest.$ac_ext <<EOF
4902#line 4903 "configure" 4949#line 4950 "configure"
4903#include "confdefs.h" 4950#include "confdefs.h"
4904#include <Xm/Xm.h> 4951#include <Xm/Xm.h>
4905int main() { 4952int main() {
@@ -4910,7 +4957,7 @@ Motif version prior to 2.1.
4910#endif 4957#endif
4911; return 0; } 4958; return 0; }
4912EOF 4959EOF
4913if { (eval echo configure:4914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4960if { (eval echo configure:4961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4914 rm -rf conftest* 4961 rm -rf conftest*
4915 emacs_cv_motif_version_2_1=yes 4962 emacs_cv_motif_version_2_1=yes
4916else 4963else
@@ -4931,7 +4978,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4931EOF 4978EOF
4932 4979
4933 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4980 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4934echo "configure:4935: checking for XpCreateContext in -lXp" >&5 4981echo "configure:4982: checking for XpCreateContext in -lXp" >&5
4935ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4982ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4936if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4983if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4937 echo $ac_n "(cached) $ac_c" 1>&6 4984 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4939,7 +4986,7 @@ else
4939 ac_save_LIBS="$LIBS" 4986 ac_save_LIBS="$LIBS"
4940LIBS="-lXp $LIBS" 4987LIBS="-lXp $LIBS"
4941cat > conftest.$ac_ext <<EOF 4988cat > conftest.$ac_ext <<EOF
4942#line 4943 "configure" 4989#line 4990 "configure"
4943#include "confdefs.h" 4990#include "confdefs.h"
4944/* Override any gcc2 internal prototype to avoid an error. */ 4991/* Override any gcc2 internal prototype to avoid an error. */
4945/* We use char because int might match the return type of a gcc2 4992/* We use char because int might match the return type of a gcc2
@@ -4950,7 +4997,7 @@ int main() {
4950XpCreateContext() 4997XpCreateContext()
4951; return 0; } 4998; return 0; }
4952EOF 4999EOF
4953if { (eval echo configure:4954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5000if { (eval echo configure:5001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4954 rm -rf conftest* 5001 rm -rf conftest*
4955 eval "ac_cv_lib_$ac_lib_var=yes" 5002 eval "ac_cv_lib_$ac_lib_var=yes"
4956else 5003else
@@ -4985,17 +5032,17 @@ if test "${HAVE_X11}" = "yes"; then
4985 if test "${USE_X_TOOLKIT}" != "none"; then 5032 if test "${USE_X_TOOLKIT}" != "none"; then
4986 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 5033 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4987echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 5034echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4988echo "configure:4989: checking for X11/Xaw3d/Scrollbar.h" >&5 5035echo "configure:5036: checking for X11/Xaw3d/Scrollbar.h" >&5
4989if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5036if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4990 echo $ac_n "(cached) $ac_c" 1>&6 5037 echo $ac_n "(cached) $ac_c" 1>&6
4991else 5038else
4992 cat > conftest.$ac_ext <<EOF 5039 cat > conftest.$ac_ext <<EOF
4993#line 4994 "configure" 5040#line 5041 "configure"
4994#include "confdefs.h" 5041#include "confdefs.h"
4995#include <X11/Xaw3d/Scrollbar.h> 5042#include <X11/Xaw3d/Scrollbar.h>
4996EOF 5043EOF
4997ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5044ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4998{ (eval echo configure:4999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5045{ (eval echo configure:5046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4999ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5046ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5000if test -z "$ac_err"; then 5047if test -z "$ac_err"; then
5001 rm -rf conftest* 5048 rm -rf conftest*
@@ -5012,7 +5059,7 @@ fi
5012if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5059if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5013 echo "$ac_t""yes" 1>&6 5060 echo "$ac_t""yes" 1>&6
5014 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 5061 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
5015echo "configure:5016: checking for XawScrollbarSetThumb in -lXaw3d" >&5 5062echo "configure:5063: checking for XawScrollbarSetThumb in -lXaw3d" >&5
5016ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 5063ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
5017if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5064if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5018 echo $ac_n "(cached) $ac_c" 1>&6 5065 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5020,7 +5067,7 @@ else
5020 ac_save_LIBS="$LIBS" 5067 ac_save_LIBS="$LIBS"
5021LIBS="-lXaw3d $LIBS" 5068LIBS="-lXaw3d $LIBS"
5022cat > conftest.$ac_ext <<EOF 5069cat > conftest.$ac_ext <<EOF
5023#line 5024 "configure" 5070#line 5071 "configure"
5024#include "confdefs.h" 5071#include "confdefs.h"
5025/* Override any gcc2 internal prototype to avoid an error. */ 5072/* Override any gcc2 internal prototype to avoid an error. */
5026/* We use char because int might match the return type of a gcc2 5073/* We use char because int might match the return type of a gcc2
@@ -5031,7 +5078,7 @@ int main() {
5031XawScrollbarSetThumb() 5078XawScrollbarSetThumb()
5032; return 0; } 5079; return 0; }
5033EOF 5080EOF
5034if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5081if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5035 rm -rf conftest* 5082 rm -rf conftest*
5036 eval "ac_cv_lib_$ac_lib_var=yes" 5083 eval "ac_cv_lib_$ac_lib_var=yes"
5037else 5084else
@@ -5099,17 +5146,17 @@ if test "${HAVE_X11}" = "yes"; then
5099 if test "${with_xpm}" != "no"; then 5146 if test "${with_xpm}" != "no"; then
5100 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 5147 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
5101echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 5148echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
5102echo "configure:5103: checking for X11/xpm.h" >&5 5149echo "configure:5150: checking for X11/xpm.h" >&5
5103if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5150if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5104 echo $ac_n "(cached) $ac_c" 1>&6 5151 echo $ac_n "(cached) $ac_c" 1>&6
5105else 5152else
5106 cat > conftest.$ac_ext <<EOF 5153 cat > conftest.$ac_ext <<EOF
5107#line 5108 "configure" 5154#line 5155 "configure"
5108#include "confdefs.h" 5155#include "confdefs.h"
5109#include <X11/xpm.h> 5156#include <X11/xpm.h>
5110EOF 5157EOF
5111ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5158ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5112{ (eval echo configure:5113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5159{ (eval echo configure:5160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5113ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5160ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5114if test -z "$ac_err"; then 5161if test -z "$ac_err"; then
5115 rm -rf conftest* 5162 rm -rf conftest*
@@ -5126,7 +5173,7 @@ fi
5126if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5173if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5127 echo "$ac_t""yes" 1>&6 5174 echo "$ac_t""yes" 1>&6
5128 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 5175 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
5129echo "configure:5130: checking for XpmReadFileToPixmap in -lXpm" >&5 5176echo "configure:5177: checking for XpmReadFileToPixmap in -lXpm" >&5
5130ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 5177ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
5131if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5178if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5132 echo $ac_n "(cached) $ac_c" 1>&6 5179 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5134,7 +5181,7 @@ else
5134 ac_save_LIBS="$LIBS" 5181 ac_save_LIBS="$LIBS"
5135LIBS="-lXpm -lX11 $LIBS" 5182LIBS="-lXpm -lX11 $LIBS"
5136cat > conftest.$ac_ext <<EOF 5183cat > conftest.$ac_ext <<EOF
5137#line 5138 "configure" 5184#line 5185 "configure"
5138#include "confdefs.h" 5185#include "confdefs.h"
5139/* Override any gcc2 internal prototype to avoid an error. */ 5186/* Override any gcc2 internal prototype to avoid an error. */
5140/* We use char because int might match the return type of a gcc2 5187/* We use char because int might match the return type of a gcc2
@@ -5145,7 +5192,7 @@ int main() {
5145XpmReadFileToPixmap() 5192XpmReadFileToPixmap()
5146; return 0; } 5193; return 0; }
5147EOF 5194EOF
5148if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5195if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5149 rm -rf conftest* 5196 rm -rf conftest*
5150 eval "ac_cv_lib_$ac_lib_var=yes" 5197 eval "ac_cv_lib_$ac_lib_var=yes"
5151else 5198else
@@ -5171,9 +5218,9 @@ fi
5171 5218
5172 if test "${HAVE_XPM}" = "yes"; then 5219 if test "${HAVE_XPM}" = "yes"; then
5173 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 5220 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6
5174echo "configure:5175: checking for XpmReturnAllocPixels preprocessor define" >&5 5221echo "configure:5222: checking for XpmReturnAllocPixels preprocessor define" >&5
5175 cat > conftest.$ac_ext <<EOF 5222 cat > conftest.$ac_ext <<EOF
5176#line 5177 "configure" 5223#line 5224 "configure"
5177#include "confdefs.h" 5224#include "confdefs.h"
5178#include "X11/xpm.h" 5225#include "X11/xpm.h"
5179#ifndef XpmReturnAllocPixels 5226#ifndef XpmReturnAllocPixels
@@ -5214,17 +5261,17 @@ if test "${HAVE_X11}" = "yes"; then
5214 if test "${with_jpeg}" != "no"; then 5261 if test "${with_jpeg}" != "no"; then
5215 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 5262 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
5216echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 5263echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
5217echo "configure:5218: checking for jerror.h" >&5 5264echo "configure:5265: checking for jerror.h" >&5
5218if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5265if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5219 echo $ac_n "(cached) $ac_c" 1>&6 5266 echo $ac_n "(cached) $ac_c" 1>&6
5220else 5267else
5221 cat > conftest.$ac_ext <<EOF 5268 cat > conftest.$ac_ext <<EOF
5222#line 5223 "configure" 5269#line 5270 "configure"
5223#include "confdefs.h" 5270#include "confdefs.h"
5224#include <jerror.h> 5271#include <jerror.h>
5225EOF 5272EOF
5226ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5273ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5227{ (eval echo configure:5228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5274{ (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5228ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5275ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5229if test -z "$ac_err"; then 5276if test -z "$ac_err"; then
5230 rm -rf conftest* 5277 rm -rf conftest*
@@ -5241,7 +5288,7 @@ fi
5241if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5288if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5242 echo "$ac_t""yes" 1>&6 5289 echo "$ac_t""yes" 1>&6
5243 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 5290 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
5244echo "configure:5245: checking for jpeg_destroy_compress in -ljpeg" >&5 5291echo "configure:5292: checking for jpeg_destroy_compress in -ljpeg" >&5
5245ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 5292ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
5246if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5247 echo $ac_n "(cached) $ac_c" 1>&6 5294 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5249,7 +5296,7 @@ else
5249 ac_save_LIBS="$LIBS" 5296 ac_save_LIBS="$LIBS"
5250LIBS="-ljpeg $LIBS" 5297LIBS="-ljpeg $LIBS"
5251cat > conftest.$ac_ext <<EOF 5298cat > conftest.$ac_ext <<EOF
5252#line 5253 "configure" 5299#line 5300 "configure"
5253#include "confdefs.h" 5300#include "confdefs.h"
5254/* Override any gcc2 internal prototype to avoid an error. */ 5301/* Override any gcc2 internal prototype to avoid an error. */
5255/* We use char because int might match the return type of a gcc2 5302/* We use char because int might match the return type of a gcc2
@@ -5260,7 +5307,7 @@ int main() {
5260jpeg_destroy_compress() 5307jpeg_destroy_compress()
5261; return 0; } 5308; return 0; }
5262EOF 5309EOF
5263if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5310if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5264 rm -rf conftest* 5311 rm -rf conftest*
5265 eval "ac_cv_lib_$ac_lib_var=yes" 5312 eval "ac_cv_lib_$ac_lib_var=yes"
5266else 5313else
@@ -5300,17 +5347,17 @@ if test "${HAVE_X11}" = "yes"; then
5300 if test "${with_png}" != "no"; then 5347 if test "${with_png}" != "no"; then
5301 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 5348 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
5302echo $ac_n "checking for png.h""... $ac_c" 1>&6 5349echo $ac_n "checking for png.h""... $ac_c" 1>&6
5303echo "configure:5304: checking for png.h" >&5 5350echo "configure:5351: checking for png.h" >&5
5304if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5351if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5305 echo $ac_n "(cached) $ac_c" 1>&6 5352 echo $ac_n "(cached) $ac_c" 1>&6
5306else 5353else
5307 cat > conftest.$ac_ext <<EOF 5354 cat > conftest.$ac_ext <<EOF
5308#line 5309 "configure" 5355#line 5356 "configure"
5309#include "confdefs.h" 5356#include "confdefs.h"
5310#include <png.h> 5357#include <png.h>
5311EOF 5358EOF
5312ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5359ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5313{ (eval echo configure:5314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5360{ (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5314ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5361ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5315if test -z "$ac_err"; then 5362if test -z "$ac_err"; then
5316 rm -rf conftest* 5363 rm -rf conftest*
@@ -5327,7 +5374,7 @@ fi
5327if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5374if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5328 echo "$ac_t""yes" 1>&6 5375 echo "$ac_t""yes" 1>&6
5329 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 5376 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6
5330echo "configure:5331: checking for png_get_channels in -lpng" >&5 5377echo "configure:5378: checking for png_get_channels in -lpng" >&5
5331ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` 5378ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'`
5332if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5379if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5333 echo $ac_n "(cached) $ac_c" 1>&6 5380 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5335,7 +5382,7 @@ else
5335 ac_save_LIBS="$LIBS" 5382 ac_save_LIBS="$LIBS"
5336LIBS="-lpng -lz -lm $LIBS" 5383LIBS="-lpng -lz -lm $LIBS"
5337cat > conftest.$ac_ext <<EOF 5384cat > conftest.$ac_ext <<EOF
5338#line 5339 "configure" 5385#line 5386 "configure"
5339#include "confdefs.h" 5386#include "confdefs.h"
5340/* Override any gcc2 internal prototype to avoid an error. */ 5387/* Override any gcc2 internal prototype to avoid an error. */
5341/* We use char because int might match the return type of a gcc2 5388/* We use char because int might match the return type of a gcc2
@@ -5346,7 +5393,7 @@ int main() {
5346png_get_channels() 5393png_get_channels()
5347; return 0; } 5394; return 0; }
5348EOF 5395EOF
5349if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5396if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5350 rm -rf conftest* 5397 rm -rf conftest*
5351 eval "ac_cv_lib_$ac_lib_var=yes" 5398 eval "ac_cv_lib_$ac_lib_var=yes"
5352else 5399else
@@ -5386,17 +5433,17 @@ if test "${HAVE_X11}" = "yes"; then
5386 if test "${with_tiff}" != "no"; then 5433 if test "${with_tiff}" != "no"; then
5387 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 5434 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
5388echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 5435echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
5389echo "configure:5390: checking for tiffio.h" >&5 5436echo "configure:5437: checking for tiffio.h" >&5
5390if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5437if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5391 echo $ac_n "(cached) $ac_c" 1>&6 5438 echo $ac_n "(cached) $ac_c" 1>&6
5392else 5439else
5393 cat > conftest.$ac_ext <<EOF 5440 cat > conftest.$ac_ext <<EOF
5394#line 5395 "configure" 5441#line 5442 "configure"
5395#include "confdefs.h" 5442#include "confdefs.h"
5396#include <tiffio.h> 5443#include <tiffio.h>
5397EOF 5444EOF
5398ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5399{ (eval echo configure:5400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5446{ (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5400ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5401if test -z "$ac_err"; then 5448if test -z "$ac_err"; then
5402 rm -rf conftest* 5449 rm -rf conftest*
@@ -5416,7 +5463,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5416 # At least one tiff package requires the jpeg library. 5463 # At least one tiff package requires the jpeg library.
5417 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 5464 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
5418 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 5465 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
5419echo "configure:5420: checking for TIFFGetVersion in -ltiff" >&5 5466echo "configure:5467: checking for TIFFGetVersion in -ltiff" >&5
5420ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 5467ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
5421if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5468if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5422 echo $ac_n "(cached) $ac_c" 1>&6 5469 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5424,7 +5471,7 @@ else
5424 ac_save_LIBS="$LIBS" 5471 ac_save_LIBS="$LIBS"
5425LIBS="-ltiff $tifflibs $LIBS" 5472LIBS="-ltiff $tifflibs $LIBS"
5426cat > conftest.$ac_ext <<EOF 5473cat > conftest.$ac_ext <<EOF
5427#line 5428 "configure" 5474#line 5475 "configure"
5428#include "confdefs.h" 5475#include "confdefs.h"
5429/* Override any gcc2 internal prototype to avoid an error. */ 5476/* Override any gcc2 internal prototype to avoid an error. */
5430/* We use char because int might match the return type of a gcc2 5477/* We use char because int might match the return type of a gcc2
@@ -5435,7 +5482,7 @@ int main() {
5435TIFFGetVersion() 5482TIFFGetVersion()
5436; return 0; } 5483; return 0; }
5437EOF 5484EOF
5438if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5485if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5439 rm -rf conftest* 5486 rm -rf conftest*
5440 eval "ac_cv_lib_$ac_lib_var=yes" 5487 eval "ac_cv_lib_$ac_lib_var=yes"
5441else 5488else
@@ -5475,17 +5522,17 @@ if test "${HAVE_X11}" = "yes"; then
5475 if test "${with_gif}" != "no"; then 5522 if test "${with_gif}" != "no"; then
5476 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 5523 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
5477echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 5524echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
5478echo "configure:5479: checking for gif_lib.h" >&5 5525echo "configure:5526: checking for gif_lib.h" >&5
5479if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5526if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5480 echo $ac_n "(cached) $ac_c" 1>&6 5527 echo $ac_n "(cached) $ac_c" 1>&6
5481else 5528else
5482 cat > conftest.$ac_ext <<EOF 5529 cat > conftest.$ac_ext <<EOF
5483#line 5484 "configure" 5530#line 5531 "configure"
5484#include "confdefs.h" 5531#include "confdefs.h"
5485#include <gif_lib.h> 5532#include <gif_lib.h>
5486EOF 5533EOF
5487ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5534ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5488{ (eval echo configure:5489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5535{ (eval echo configure:5536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5489ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5536ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5490if test -z "$ac_err"; then 5537if test -z "$ac_err"; then
5491 rm -rf conftest* 5538 rm -rf conftest*
@@ -5502,7 +5549,7 @@ fi
5502if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5549if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5503 echo "$ac_t""yes" 1>&6 5550 echo "$ac_t""yes" 1>&6
5504 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 5551 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
5505echo "configure:5506: checking for DGifOpen in -lungif" >&5 5552echo "configure:5553: checking for DGifOpen in -lungif" >&5
5506ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 5553ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
5507if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5554if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5508 echo $ac_n "(cached) $ac_c" 1>&6 5555 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5510,7 +5557,7 @@ else
5510 ac_save_LIBS="$LIBS" 5557 ac_save_LIBS="$LIBS"
5511LIBS="-lungif $LIBS" 5558LIBS="-lungif $LIBS"
5512cat > conftest.$ac_ext <<EOF 5559cat > conftest.$ac_ext <<EOF
5513#line 5514 "configure" 5560#line 5561 "configure"
5514#include "confdefs.h" 5561#include "confdefs.h"
5515/* Override any gcc2 internal prototype to avoid an error. */ 5562/* Override any gcc2 internal prototype to avoid an error. */
5516/* We use char because int might match the return type of a gcc2 5563/* We use char because int might match the return type of a gcc2
@@ -5521,7 +5568,7 @@ int main() {
5521DGifOpen() 5568DGifOpen()
5522; return 0; } 5569; return 0; }
5523EOF 5570EOF
5524if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5571if { (eval echo configure:5572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5525 rm -rf conftest* 5572 rm -rf conftest*
5526 eval "ac_cv_lib_$ac_lib_var=yes" 5573 eval "ac_cv_lib_$ac_lib_var=yes"
5527else 5574else
@@ -5557,19 +5604,19 @@ fi
5557 5604
5558# If netdb.h doesn't declare h_errno, we must declare it by hand. 5605# If netdb.h doesn't declare h_errno, we must declare it by hand.
5559echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5606echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
5560echo "configure:5561: checking whether netdb declares h_errno" >&5 5607echo "configure:5608: checking whether netdb declares h_errno" >&5
5561if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5608if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
5562 echo $ac_n "(cached) $ac_c" 1>&6 5609 echo $ac_n "(cached) $ac_c" 1>&6
5563else 5610else
5564 cat > conftest.$ac_ext <<EOF 5611 cat > conftest.$ac_ext <<EOF
5565#line 5566 "configure" 5612#line 5613 "configure"
5566#include "confdefs.h" 5613#include "confdefs.h"
5567#include <netdb.h> 5614#include <netdb.h>
5568int main() { 5615int main() {
5569return h_errno; 5616return h_errno;
5570; return 0; } 5617; return 0; }
5571EOF 5618EOF
5572if { (eval echo configure:5573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5619if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5573 rm -rf conftest* 5620 rm -rf conftest*
5574 emacs_cv_netdb_declares_h_errno=yes 5621 emacs_cv_netdb_declares_h_errno=yes
5575else 5622else
@@ -5592,19 +5639,19 @@ fi
5592# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5639# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5593# for constant arguments. Useless! 5640# for constant arguments. Useless!
5594echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5641echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5595echo "configure:5596: checking for working alloca.h" >&5 5642echo "configure:5643: checking for working alloca.h" >&5
5596if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5643if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5597 echo $ac_n "(cached) $ac_c" 1>&6 5644 echo $ac_n "(cached) $ac_c" 1>&6
5598else 5645else
5599 cat > conftest.$ac_ext <<EOF 5646 cat > conftest.$ac_ext <<EOF
5600#line 5601 "configure" 5647#line 5648 "configure"
5601#include "confdefs.h" 5648#include "confdefs.h"
5602#include <alloca.h> 5649#include <alloca.h>
5603int main() { 5650int main() {
5604char *p = alloca(2 * sizeof(int)); 5651char *p = alloca(2 * sizeof(int));
5605; return 0; } 5652; return 0; }
5606EOF 5653EOF
5607if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5654if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5608 rm -rf conftest* 5655 rm -rf conftest*
5609 ac_cv_header_alloca_h=yes 5656 ac_cv_header_alloca_h=yes
5610else 5657else
@@ -5625,12 +5672,12 @@ EOF
5625fi 5672fi
5626 5673
5627echo $ac_n "checking for alloca""... $ac_c" 1>&6 5674echo $ac_n "checking for alloca""... $ac_c" 1>&6
5628echo "configure:5629: checking for alloca" >&5 5675echo "configure:5676: checking for alloca" >&5
5629if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5676if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5630 echo $ac_n "(cached) $ac_c" 1>&6 5677 echo $ac_n "(cached) $ac_c" 1>&6
5631else 5678else
5632 cat > conftest.$ac_ext <<EOF 5679 cat > conftest.$ac_ext <<EOF
5633#line 5634 "configure" 5680#line 5681 "configure"
5634#include "confdefs.h" 5681#include "confdefs.h"
5635 5682
5636#ifdef __GNUC__ 5683#ifdef __GNUC__
@@ -5658,7 +5705,7 @@ int main() {
5658char *p = (char *) alloca(1); 5705char *p = (char *) alloca(1);
5659; return 0; } 5706; return 0; }
5660EOF 5707EOF
5661if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5708if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5662 rm -rf conftest* 5709 rm -rf conftest*
5663 ac_cv_func_alloca_works=yes 5710 ac_cv_func_alloca_works=yes
5664else 5711else
@@ -5690,12 +5737,12 @@ EOF
5690 5737
5691 5738
5692echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5739echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5693echo "configure:5694: checking whether alloca needs Cray hooks" >&5 5740echo "configure:5741: checking whether alloca needs Cray hooks" >&5
5694if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5741if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5695 echo $ac_n "(cached) $ac_c" 1>&6 5742 echo $ac_n "(cached) $ac_c" 1>&6
5696else 5743else
5697 cat > conftest.$ac_ext <<EOF 5744 cat > conftest.$ac_ext <<EOF
5698#line 5699 "configure" 5745#line 5746 "configure"
5699#include "confdefs.h" 5746#include "confdefs.h"
5700#if defined(CRAY) && ! defined(CRAY2) 5747#if defined(CRAY) && ! defined(CRAY2)
5701webecray 5748webecray
@@ -5720,12 +5767,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5720if test $ac_cv_os_cray = yes; then 5767if test $ac_cv_os_cray = yes; then
5721for ac_func in _getb67 GETB67 getb67; do 5768for ac_func in _getb67 GETB67 getb67; do
5722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5723echo "configure:5724: checking for $ac_func" >&5 5770echo "configure:5771: checking for $ac_func" >&5
5724if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5771if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6 5772 echo $ac_n "(cached) $ac_c" 1>&6
5726else 5773else
5727 cat > conftest.$ac_ext <<EOF 5774 cat > conftest.$ac_ext <<EOF
5728#line 5729 "configure" 5775#line 5776 "configure"
5729#include "confdefs.h" 5776#include "confdefs.h"
5730/* System header to define __stub macros and hopefully few prototypes, 5777/* System header to define __stub macros and hopefully few prototypes,
5731 which can conflict with char $ac_func(); below. */ 5778 which can conflict with char $ac_func(); below. */
@@ -5748,7 +5795,7 @@ $ac_func();
5748 5795
5749; return 0; } 5796; return 0; }
5750EOF 5797EOF
5751if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5798if { (eval echo configure:5799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5752 rm -rf conftest* 5799 rm -rf conftest*
5753 eval "ac_cv_func_$ac_func=yes" 5800 eval "ac_cv_func_$ac_func=yes"
5754else 5801else
@@ -5775,7 +5822,7 @@ done
5775fi 5822fi
5776 5823
5777echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5824echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5778echo "configure:5779: checking stack direction for C alloca" >&5 5825echo "configure:5826: checking stack direction for C alloca" >&5
5779if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5826if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5780 echo $ac_n "(cached) $ac_c" 1>&6 5827 echo $ac_n "(cached) $ac_c" 1>&6
5781else 5828else
@@ -5783,7 +5830,7 @@ else
5783 ac_cv_c_stack_direction=0 5830 ac_cv_c_stack_direction=0
5784else 5831else
5785 cat > conftest.$ac_ext <<EOF 5832 cat > conftest.$ac_ext <<EOF
5786#line 5787 "configure" 5833#line 5834 "configure"
5787#include "confdefs.h" 5834#include "confdefs.h"
5788find_stack_direction () 5835find_stack_direction ()
5789{ 5836{
@@ -5802,7 +5849,7 @@ main ()
5802 exit (find_stack_direction() < 0); 5849 exit (find_stack_direction() < 0);
5803} 5850}
5804EOF 5851EOF
5805if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5852if { (eval echo configure:5853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5806then 5853then
5807 ac_cv_c_stack_direction=1 5854 ac_cv_c_stack_direction=1
5808else 5855else
@@ -5827,7 +5874,7 @@ fi
5827# fmod, logb, and frexp are found in -lm on most systems. 5874# fmod, logb, and frexp are found in -lm on most systems.
5828# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5875# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5829echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5876echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5830echo "configure:5831: checking for sqrt in -lm" >&5 5877echo "configure:5878: checking for sqrt in -lm" >&5
5831ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5878ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5832if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5879if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5833 echo $ac_n "(cached) $ac_c" 1>&6 5880 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5835,7 +5882,7 @@ else
5835 ac_save_LIBS="$LIBS" 5882 ac_save_LIBS="$LIBS"
5836LIBS="-lm $LIBS" 5883LIBS="-lm $LIBS"
5837cat > conftest.$ac_ext <<EOF 5884cat > conftest.$ac_ext <<EOF
5838#line 5839 "configure" 5885#line 5886 "configure"
5839#include "confdefs.h" 5886#include "confdefs.h"
5840/* Override any gcc2 internal prototype to avoid an error. */ 5887/* Override any gcc2 internal prototype to avoid an error. */
5841/* We use char because int might match the return type of a gcc2 5888/* We use char because int might match the return type of a gcc2
@@ -5846,7 +5893,7 @@ int main() {
5846sqrt() 5893sqrt()
5847; return 0; } 5894; return 0; }
5848EOF 5895EOF
5849if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5896if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5850 rm -rf conftest* 5897 rm -rf conftest*
5851 eval "ac_cv_lib_$ac_lib_var=yes" 5898 eval "ac_cv_lib_$ac_lib_var=yes"
5852else 5899else
@@ -5876,7 +5923,7 @@ fi
5876 5923
5877# Check for mail-locking functions in a "mail" library 5924# Check for mail-locking functions in a "mail" library
5878echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5925echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5879echo "configure:5880: checking for maillock in -lmail" >&5 5926echo "configure:5927: checking for maillock in -lmail" >&5
5880ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5927ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5881if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5928if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5882 echo $ac_n "(cached) $ac_c" 1>&6 5929 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5884,7 +5931,7 @@ else
5884 ac_save_LIBS="$LIBS" 5931 ac_save_LIBS="$LIBS"
5885LIBS="-lmail $LIBS" 5932LIBS="-lmail $LIBS"
5886cat > conftest.$ac_ext <<EOF 5933cat > conftest.$ac_ext <<EOF
5887#line 5888 "configure" 5934#line 5935 "configure"
5888#include "confdefs.h" 5935#include "confdefs.h"
5889/* Override any gcc2 internal prototype to avoid an error. */ 5936/* Override any gcc2 internal prototype to avoid an error. */
5890/* We use char because int might match the return type of a gcc2 5937/* We use char because int might match the return type of a gcc2
@@ -5895,7 +5942,7 @@ int main() {
5895maillock() 5942maillock()
5896; return 0; } 5943; return 0; }
5897EOF 5944EOF
5898if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5945if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5899 rm -rf conftest* 5946 rm -rf conftest*
5900 eval "ac_cv_lib_$ac_lib_var=yes" 5947 eval "ac_cv_lib_$ac_lib_var=yes"
5901else 5948else
@@ -5923,7 +5970,7 @@ else
5923fi 5970fi
5924 5971
5925echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5972echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5926echo "configure:5927: checking for maillock in -llockfile" >&5 5973echo "configure:5974: checking for maillock in -llockfile" >&5
5927ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5974ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5928if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5975if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5929 echo $ac_n "(cached) $ac_c" 1>&6 5976 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5931,7 +5978,7 @@ else
5931 ac_save_LIBS="$LIBS" 5978 ac_save_LIBS="$LIBS"
5932LIBS="-llockfile $LIBS" 5979LIBS="-llockfile $LIBS"
5933cat > conftest.$ac_ext <<EOF 5980cat > conftest.$ac_ext <<EOF
5934#line 5935 "configure" 5981#line 5982 "configure"
5935#include "confdefs.h" 5982#include "confdefs.h"
5936/* Override any gcc2 internal prototype to avoid an error. */ 5983/* Override any gcc2 internal prototype to avoid an error. */
5937/* We use char because int might match the return type of a gcc2 5984/* We use char because int might match the return type of a gcc2
@@ -5942,7 +5989,7 @@ int main() {
5942maillock() 5989maillock()
5943; return 0; } 5990; return 0; }
5944EOF 5991EOF
5945if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5992if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5946 rm -rf conftest* 5993 rm -rf conftest*
5947 eval "ac_cv_lib_$ac_lib_var=yes" 5994 eval "ac_cv_lib_$ac_lib_var=yes"
5948else 5995else
@@ -5976,7 +6023,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5976 # Extract the first word of "liblockfile.so", so it can be a program name with args. 6023 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5977set dummy liblockfile.so; ac_word=$2 6024set dummy liblockfile.so; ac_word=$2
5978echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 6025echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5979echo "configure:5980: checking for $ac_word" >&5 6026echo "configure:6027: checking for $ac_word" >&5
5980if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 6027if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5981 echo $ac_n "(cached) $ac_c" 1>&6 6028 echo $ac_n "(cached) $ac_c" 1>&6
5982else 6029else
@@ -6017,12 +6064,12 @@ fi
6017for ac_func in touchlock 6064for ac_func in touchlock
6018do 6065do
6019echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6066echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6020echo "configure:6021: checking for $ac_func" >&5 6067echo "configure:6068: checking for $ac_func" >&5
6021if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6068if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6022 echo $ac_n "(cached) $ac_c" 1>&6 6069 echo $ac_n "(cached) $ac_c" 1>&6
6023else 6070else
6024 cat > conftest.$ac_ext <<EOF 6071 cat > conftest.$ac_ext <<EOF
6025#line 6026 "configure" 6072#line 6073 "configure"
6026#include "confdefs.h" 6073#include "confdefs.h"
6027/* System header to define __stub macros and hopefully few prototypes, 6074/* System header to define __stub macros and hopefully few prototypes,
6028 which can conflict with char $ac_func(); below. */ 6075 which can conflict with char $ac_func(); below. */
@@ -6045,7 +6092,7 @@ $ac_func();
6045 6092
6046; return 0; } 6093; return 0; }
6047EOF 6094EOF
6048if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6095if { (eval echo configure:6096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6049 rm -rf conftest* 6096 rm -rf conftest*
6050 eval "ac_cv_func_$ac_func=yes" 6097 eval "ac_cv_func_$ac_func=yes"
6051else 6098else
@@ -6073,17 +6120,17 @@ for ac_hdr in maillock.h
6073do 6120do
6074ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6121ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6075echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6122echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6076echo "configure:6077: checking for $ac_hdr" >&5 6123echo "configure:6124: checking for $ac_hdr" >&5
6077if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6124if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6078 echo $ac_n "(cached) $ac_c" 1>&6 6125 echo $ac_n "(cached) $ac_c" 1>&6
6079else 6126else
6080 cat > conftest.$ac_ext <<EOF 6127 cat > conftest.$ac_ext <<EOF
6081#line 6082 "configure" 6128#line 6129 "configure"
6082#include "confdefs.h" 6129#include "confdefs.h"
6083#include <$ac_hdr> 6130#include <$ac_hdr>
6084EOF 6131EOF
6085ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6132ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6086{ (eval echo configure:6087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6133{ (eval echo configure:6134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6087ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6134ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6088if test -z "$ac_err"; then 6135if test -z "$ac_err"; then
6089 rm -rf conftest* 6136 rm -rf conftest*
@@ -6119,12 +6166,12 @@ __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
6119gai_strerror mkstemp 6166gai_strerror mkstemp
6120do 6167do
6121echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6168echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6122echo "configure:6123: checking for $ac_func" >&5 6169echo "configure:6170: checking for $ac_func" >&5
6123if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6170if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6124 echo $ac_n "(cached) $ac_c" 1>&6 6171 echo $ac_n "(cached) $ac_c" 1>&6
6125else 6172else
6126 cat > conftest.$ac_ext <<EOF 6173 cat > conftest.$ac_ext <<EOF
6127#line 6128 "configure" 6174#line 6175 "configure"
6128#include "confdefs.h" 6175#include "confdefs.h"
6129/* System header to define __stub macros and hopefully few prototypes, 6176/* System header to define __stub macros and hopefully few prototypes,
6130 which can conflict with char $ac_func(); below. */ 6177 which can conflict with char $ac_func(); below. */
@@ -6147,7 +6194,7 @@ $ac_func();
6147 6194
6148; return 0; } 6195; return 0; }
6149EOF 6196EOF
6150if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6197if { (eval echo configure:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6151 rm -rf conftest* 6198 rm -rf conftest*
6152 eval "ac_cv_func_$ac_func=yes" 6199 eval "ac_cv_func_$ac_func=yes"
6153else 6200else
@@ -6176,17 +6223,17 @@ for ac_hdr in sys/time.h unistd.h
6176do 6223do
6177ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6224ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6178echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6225echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6179echo "configure:6180: checking for $ac_hdr" >&5 6226echo "configure:6227: checking for $ac_hdr" >&5
6180if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6227if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6181 echo $ac_n "(cached) $ac_c" 1>&6 6228 echo $ac_n "(cached) $ac_c" 1>&6
6182else 6229else
6183 cat > conftest.$ac_ext <<EOF 6230 cat > conftest.$ac_ext <<EOF
6184#line 6185 "configure" 6231#line 6232 "configure"
6185#include "confdefs.h" 6232#include "confdefs.h"
6186#include <$ac_hdr> 6233#include <$ac_hdr>
6187EOF 6234EOF
6188ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6235ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6189{ (eval echo configure:6190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6236{ (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6190ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6237ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6191if test -z "$ac_err"; then 6238if test -z "$ac_err"; then
6192 rm -rf conftest* 6239 rm -rf conftest*
@@ -6215,12 +6262,12 @@ done
6215for ac_func in alarm 6262for ac_func in alarm
6216do 6263do
6217echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6264echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6218echo "configure:6219: checking for $ac_func" >&5 6265echo "configure:6266: checking for $ac_func" >&5
6219if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6266if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6220 echo $ac_n "(cached) $ac_c" 1>&6 6267 echo $ac_n "(cached) $ac_c" 1>&6
6221else 6268else
6222 cat > conftest.$ac_ext <<EOF 6269 cat > conftest.$ac_ext <<EOF
6223#line 6224 "configure" 6270#line 6271 "configure"
6224#include "confdefs.h" 6271#include "confdefs.h"
6225/* System header to define __stub macros and hopefully few prototypes, 6272/* System header to define __stub macros and hopefully few prototypes,
6226 which can conflict with char $ac_func(); below. */ 6273 which can conflict with char $ac_func(); below. */
@@ -6243,7 +6290,7 @@ $ac_func();
6243 6290
6244; return 0; } 6291; return 0; }
6245EOF 6292EOF
6246if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6293if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6247 rm -rf conftest* 6294 rm -rf conftest*
6248 eval "ac_cv_func_$ac_func=yes" 6295 eval "ac_cv_func_$ac_func=yes"
6249else 6296else
@@ -6268,7 +6315,7 @@ fi
6268done 6315done
6269 6316
6270echo $ac_n "checking for working mktime""... $ac_c" 1>&6 6317echo $ac_n "checking for working mktime""... $ac_c" 1>&6
6271echo "configure:6272: checking for working mktime" >&5 6318echo "configure:6319: checking for working mktime" >&5
6272if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 6319if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
6273 echo $ac_n "(cached) $ac_c" 1>&6 6320 echo $ac_n "(cached) $ac_c" 1>&6
6274else 6321else
@@ -6276,7 +6323,7 @@ else
6276 ac_cv_func_working_mktime=no 6323 ac_cv_func_working_mktime=no
6277else 6324else
6278 cat > conftest.$ac_ext <<EOF 6325 cat > conftest.$ac_ext <<EOF
6279#line 6280 "configure" 6326#line 6327 "configure"
6280#include "confdefs.h" 6327#include "confdefs.h"
6281/* Test program from Paul Eggert (eggert@twinsun.com) 6328/* Test program from Paul Eggert (eggert@twinsun.com)
6282 and Tony Leneis (tony@plaza.ds.adp.com). */ 6329 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -6425,7 +6472,7 @@ main ()
6425 exit (0); 6472 exit (0);
6426} 6473}
6427EOF 6474EOF
6428if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6475if { (eval echo configure:6476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6429then 6476then
6430 ac_cv_func_working_mktime=yes 6477 ac_cv_func_working_mktime=yes
6431else 6478else
@@ -6457,7 +6504,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
6457# On Solaris, -lkvm requires nlist from -lelf, so check that first 6504# On Solaris, -lkvm requires nlist from -lelf, so check that first
6458# to get the right answer into the cache. 6505# to get the right answer into the cache.
6459echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 6506echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6460echo "configure:6461: checking for elf_begin in -lelf" >&5 6507echo "configure:6508: checking for elf_begin in -lelf" >&5
6461ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 6508ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6462if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6509if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6463 echo $ac_n "(cached) $ac_c" 1>&6 6510 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6465,7 +6512,7 @@ else
6465 ac_save_LIBS="$LIBS" 6512 ac_save_LIBS="$LIBS"
6466LIBS="-lelf $LIBS" 6513LIBS="-lelf $LIBS"
6467cat > conftest.$ac_ext <<EOF 6514cat > conftest.$ac_ext <<EOF
6468#line 6469 "configure" 6515#line 6516 "configure"
6469#include "confdefs.h" 6516#include "confdefs.h"
6470/* Override any gcc2 internal prototype to avoid an error. */ 6517/* Override any gcc2 internal prototype to avoid an error. */
6471/* We use char because int might match the return type of a gcc2 6518/* We use char because int might match the return type of a gcc2
@@ -6476,7 +6523,7 @@ int main() {
6476elf_begin() 6523elf_begin()
6477; return 0; } 6524; return 0; }
6478EOF 6525EOF
6479if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6526if { (eval echo configure:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6480 rm -rf conftest* 6527 rm -rf conftest*
6481 eval "ac_cv_lib_$ac_lib_var=yes" 6528 eval "ac_cv_lib_$ac_lib_var=yes"
6482else 6529else
@@ -6497,7 +6544,7 @@ else
6497fi 6544fi
6498 6545
6499echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 6546echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6500echo "configure:6501: checking for kvm_open in -lkvm" >&5 6547echo "configure:6548: checking for kvm_open in -lkvm" >&5
6501ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 6548ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6502if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6549if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6503 echo $ac_n "(cached) $ac_c" 1>&6 6550 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6505,7 +6552,7 @@ else
6505 ac_save_LIBS="$LIBS" 6552 ac_save_LIBS="$LIBS"
6506LIBS="-lkvm $LIBS" 6553LIBS="-lkvm $LIBS"
6507cat > conftest.$ac_ext <<EOF 6554cat > conftest.$ac_ext <<EOF
6508#line 6509 "configure" 6555#line 6556 "configure"
6509#include "confdefs.h" 6556#include "confdefs.h"
6510/* Override any gcc2 internal prototype to avoid an error. */ 6557/* Override any gcc2 internal prototype to avoid an error. */
6511/* We use char because int might match the return type of a gcc2 6558/* We use char because int might match the return type of a gcc2
@@ -6516,7 +6563,7 @@ int main() {
6516kvm_open() 6563kvm_open()
6517; return 0; } 6564; return 0; }
6518EOF 6565EOF
6519if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6566if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6520 rm -rf conftest* 6567 rm -rf conftest*
6521 eval "ac_cv_lib_$ac_lib_var=yes" 6568 eval "ac_cv_lib_$ac_lib_var=yes"
6522else 6569else
@@ -6538,7 +6585,7 @@ fi
6538 6585
6539# Check for the 4.4BSD definition of getloadavg. 6586# Check for the 4.4BSD definition of getloadavg.
6540echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 6587echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6541echo "configure:6542: checking for getloadavg in -lutil" >&5 6588echo "configure:6589: checking for getloadavg in -lutil" >&5
6542ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 6589ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6543if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6590if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6544 echo $ac_n "(cached) $ac_c" 1>&6 6591 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6546,7 +6593,7 @@ else
6546 ac_save_LIBS="$LIBS" 6593 ac_save_LIBS="$LIBS"
6547LIBS="-lutil $LIBS" 6594LIBS="-lutil $LIBS"
6548cat > conftest.$ac_ext <<EOF 6595cat > conftest.$ac_ext <<EOF
6549#line 6550 "configure" 6596#line 6597 "configure"
6550#include "confdefs.h" 6597#include "confdefs.h"
6551/* Override any gcc2 internal prototype to avoid an error. */ 6598/* Override any gcc2 internal prototype to avoid an error. */
6552/* We use char because int might match the return type of a gcc2 6599/* We use char because int might match the return type of a gcc2
@@ -6557,7 +6604,7 @@ int main() {
6557getloadavg() 6604getloadavg()
6558; return 0; } 6605; return 0; }
6559EOF 6606EOF
6560if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6607if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6561 rm -rf conftest* 6608 rm -rf conftest*
6562 eval "ac_cv_lib_$ac_lib_var=yes" 6609 eval "ac_cv_lib_$ac_lib_var=yes"
6563else 6610else
@@ -6583,7 +6630,7 @@ if test $ac_have_func = no; then
6583 # Since it is not a standard part of AIX, it might be installed locally. 6630 # Since it is not a standard part of AIX, it might be installed locally.
6584 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 6631 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
6585 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 6632 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
6586echo "configure:6587: checking for getloadavg in -lgetloadavg" >&5 6633echo "configure:6634: checking for getloadavg in -lgetloadavg" >&5
6587ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6634ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6588if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6635if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6589 echo $ac_n "(cached) $ac_c" 1>&6 6636 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6591,7 +6638,7 @@ else
6591 ac_save_LIBS="$LIBS" 6638 ac_save_LIBS="$LIBS"
6592LIBS="-lgetloadavg $LIBS" 6639LIBS="-lgetloadavg $LIBS"
6593cat > conftest.$ac_ext <<EOF 6640cat > conftest.$ac_ext <<EOF
6594#line 6595 "configure" 6641#line 6642 "configure"
6595#include "confdefs.h" 6642#include "confdefs.h"
6596/* Override any gcc2 internal prototype to avoid an error. */ 6643/* Override any gcc2 internal prototype to avoid an error. */
6597/* We use char because int might match the return type of a gcc2 6644/* We use char because int might match the return type of a gcc2
@@ -6602,7 +6649,7 @@ int main() {
6602getloadavg() 6649getloadavg()
6603; return 0; } 6650; return 0; }
6604EOF 6651EOF
6605if { (eval echo configure:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6652if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6606 rm -rf conftest* 6653 rm -rf conftest*
6607 eval "ac_cv_lib_$ac_lib_var=yes" 6654 eval "ac_cv_lib_$ac_lib_var=yes"
6608else 6655else
@@ -6629,12 +6676,12 @@ fi
6629for ac_func in getloadavg 6676for ac_func in getloadavg
6630do 6677do
6631echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6678echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6632echo "configure:6633: checking for $ac_func" >&5 6679echo "configure:6680: checking for $ac_func" >&5
6633if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6680if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6634 echo $ac_n "(cached) $ac_c" 1>&6 6681 echo $ac_n "(cached) $ac_c" 1>&6
6635else 6682else
6636 cat > conftest.$ac_ext <<EOF 6683 cat > conftest.$ac_ext <<EOF
6637#line 6638 "configure" 6684#line 6685 "configure"
6638#include "confdefs.h" 6685#include "confdefs.h"
6639/* System header to define __stub macros and hopefully few prototypes, 6686/* System header to define __stub macros and hopefully few prototypes,
6640 which can conflict with char $ac_func(); below. */ 6687 which can conflict with char $ac_func(); below. */
@@ -6657,7 +6704,7 @@ $ac_func();
6657 6704
6658; return 0; } 6705; return 0; }
6659EOF 6706EOF
6660if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6707if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6661 rm -rf conftest* 6708 rm -rf conftest*
6662 eval "ac_cv_func_$ac_func=yes" 6709 eval "ac_cv_func_$ac_func=yes"
6663else 6710else
@@ -6695,17 +6742,17 @@ else
6695 ac_have_func=no 6742 ac_have_func=no
6696 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6743 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6697echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6744echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6698echo "configure:6699: checking for sys/dg_sys_info.h" >&5 6745echo "configure:6746: checking for sys/dg_sys_info.h" >&5
6699if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6746if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6700 echo $ac_n "(cached) $ac_c" 1>&6 6747 echo $ac_n "(cached) $ac_c" 1>&6
6701else 6748else
6702 cat > conftest.$ac_ext <<EOF 6749 cat > conftest.$ac_ext <<EOF
6703#line 6704 "configure" 6750#line 6751 "configure"
6704#include "confdefs.h" 6751#include "confdefs.h"
6705#include <sys/dg_sys_info.h> 6752#include <sys/dg_sys_info.h>
6706EOF 6753EOF
6707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6754ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6708{ (eval echo configure:6709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6755{ (eval echo configure:6756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6709ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6756ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6710if test -z "$ac_err"; then 6757if test -z "$ac_err"; then
6711 rm -rf conftest* 6758 rm -rf conftest*
@@ -6726,7 +6773,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6726EOF 6773EOF
6727 6774
6728 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6775 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6729echo "configure:6730: checking for dg_sys_info in -ldgc" >&5 6776echo "configure:6777: checking for dg_sys_info in -ldgc" >&5
6730ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6777ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6731if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6778if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6732 echo $ac_n "(cached) $ac_c" 1>&6 6779 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6734,7 +6781,7 @@ else
6734 ac_save_LIBS="$LIBS" 6781 ac_save_LIBS="$LIBS"
6735LIBS="-ldgc $LIBS" 6782LIBS="-ldgc $LIBS"
6736cat > conftest.$ac_ext <<EOF 6783cat > conftest.$ac_ext <<EOF
6737#line 6738 "configure" 6784#line 6785 "configure"
6738#include "confdefs.h" 6785#include "confdefs.h"
6739/* Override any gcc2 internal prototype to avoid an error. */ 6786/* Override any gcc2 internal prototype to avoid an error. */
6740/* We use char because int might match the return type of a gcc2 6787/* We use char because int might match the return type of a gcc2
@@ -6745,7 +6792,7 @@ int main() {
6745dg_sys_info() 6792dg_sys_info()
6746; return 0; } 6793; return 0; }
6747EOF 6794EOF
6748if { (eval echo configure:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6795if { (eval echo configure:6796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6749 rm -rf conftest* 6796 rm -rf conftest*
6750 eval "ac_cv_lib_$ac_lib_var=yes" 6797 eval "ac_cv_lib_$ac_lib_var=yes"
6751else 6798else
@@ -6790,17 +6837,17 @@ EOF
6790 if test $ac_have_func = no; then 6837 if test $ac_have_func = no; then
6791 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6838 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6792echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6839echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6793echo "configure:6794: checking for inq_stats/cpustats.h" >&5 6840echo "configure:6841: checking for inq_stats/cpustats.h" >&5
6794if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6841if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6795 echo $ac_n "(cached) $ac_c" 1>&6 6842 echo $ac_n "(cached) $ac_c" 1>&6
6796else 6843else
6797 cat > conftest.$ac_ext <<EOF 6844 cat > conftest.$ac_ext <<EOF
6798#line 6799 "configure" 6845#line 6846 "configure"
6799#include "confdefs.h" 6846#include "confdefs.h"
6800#include <inq_stats/cpustats.h> 6847#include <inq_stats/cpustats.h>
6801EOF 6848EOF
6802ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6849ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6803{ (eval echo configure:6804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6850{ (eval echo configure:6851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6804ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6851ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6805if test -z "$ac_err"; then 6852if test -z "$ac_err"; then
6806 rm -rf conftest* 6853 rm -rf conftest*
@@ -6833,17 +6880,17 @@ fi
6833 if test $ac_have_func = no; then 6880 if test $ac_have_func = no; then
6834 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6881 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6835echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6882echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6836echo "configure:6837: checking for sys/cpustats.h" >&5 6883echo "configure:6884: checking for sys/cpustats.h" >&5
6837if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6884if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6838 echo $ac_n "(cached) $ac_c" 1>&6 6885 echo $ac_n "(cached) $ac_c" 1>&6
6839else 6886else
6840 cat > conftest.$ac_ext <<EOF 6887 cat > conftest.$ac_ext <<EOF
6841#line 6842 "configure" 6888#line 6889 "configure"
6842#include "confdefs.h" 6889#include "confdefs.h"
6843#include <sys/cpustats.h> 6890#include <sys/cpustats.h>
6844EOF 6891EOF
6845ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6892ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6846{ (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6893{ (eval echo configure:6894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6847ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6894ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6848if test -z "$ac_err"; then 6895if test -z "$ac_err"; then
6849 rm -rf conftest* 6896 rm -rf conftest*
@@ -6874,17 +6921,17 @@ fi
6874do 6921do
6875ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6922ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6876echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6923echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6877echo "configure:6878: checking for $ac_hdr" >&5 6924echo "configure:6925: checking for $ac_hdr" >&5
6878if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6925if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6879 echo $ac_n "(cached) $ac_c" 1>&6 6926 echo $ac_n "(cached) $ac_c" 1>&6
6880else 6927else
6881 cat > conftest.$ac_ext <<EOF 6928 cat > conftest.$ac_ext <<EOF
6882#line 6883 "configure" 6929#line 6930 "configure"
6883#include "confdefs.h" 6930#include "confdefs.h"
6884#include <$ac_hdr> 6931#include <$ac_hdr>
6885EOF 6932EOF
6886ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6933ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6887{ (eval echo configure:6888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6934{ (eval echo configure:6935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6888ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6935ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6889if test -z "$ac_err"; then 6936if test -z "$ac_err"; then
6890 rm -rf conftest* 6937 rm -rf conftest*
@@ -6914,17 +6961,17 @@ done
6914 6961
6915 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6962 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6916echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6963echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6917echo "configure:6918: checking for nlist.h" >&5 6964echo "configure:6965: checking for nlist.h" >&5
6918if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6965if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6919 echo $ac_n "(cached) $ac_c" 1>&6 6966 echo $ac_n "(cached) $ac_c" 1>&6
6920else 6967else
6921 cat > conftest.$ac_ext <<EOF 6968 cat > conftest.$ac_ext <<EOF
6922#line 6923 "configure" 6969#line 6970 "configure"
6923#include "confdefs.h" 6970#include "confdefs.h"
6924#include <nlist.h> 6971#include <nlist.h>
6925EOF 6972EOF
6926ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6973ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6927{ (eval echo configure:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6974{ (eval echo configure:6975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6928ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6975ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6929if test -z "$ac_err"; then 6976if test -z "$ac_err"; then
6930 rm -rf conftest* 6977 rm -rf conftest*
@@ -6945,19 +6992,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6945EOF 6992EOF
6946 6993
6947 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6994 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6948echo "configure:6949: checking for n_un in struct nlist" >&5 6995echo "configure:6996: checking for n_un in struct nlist" >&5
6949if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6996if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6950 echo $ac_n "(cached) $ac_c" 1>&6 6997 echo $ac_n "(cached) $ac_c" 1>&6
6951else 6998else
6952 cat > conftest.$ac_ext <<EOF 6999 cat > conftest.$ac_ext <<EOF
6953#line 6954 "configure" 7000#line 7001 "configure"
6954#include "confdefs.h" 7001#include "confdefs.h"
6955#include <nlist.h> 7002#include <nlist.h>
6956int main() { 7003int main() {
6957struct nlist n; n.n_un.n_name = 0; 7004struct nlist n; n.n_un.n_name = 0;
6958; return 0; } 7005; return 0; }
6959EOF 7006EOF
6960if { (eval echo configure:6961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7007if { (eval echo configure:7008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6961 rm -rf conftest* 7008 rm -rf conftest*
6962 ac_cv_struct_nlist_n_un=yes 7009 ac_cv_struct_nlist_n_un=yes
6963else 7010else
@@ -6984,12 +7031,12 @@ fi # Do not have getloadavg in system libraries.
6984 7031
6985# Some definitions of getloadavg require that the program be installed setgid. 7032# Some definitions of getloadavg require that the program be installed setgid.
6986echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 7033echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6987echo "configure:6988: checking whether getloadavg requires setgid" >&5 7034echo "configure:7035: checking whether getloadavg requires setgid" >&5
6988if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 7035if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6989 echo $ac_n "(cached) $ac_c" 1>&6 7036 echo $ac_n "(cached) $ac_c" 1>&6
6990else 7037else
6991 cat > conftest.$ac_ext <<EOF 7038 cat > conftest.$ac_ext <<EOF
6992#line 6993 "configure" 7039#line 7040 "configure"
6993#include "confdefs.h" 7040#include "confdefs.h"
6994#include "$srcdir/getloadavg.c" 7041#include "$srcdir/getloadavg.c"
6995#ifdef LDAV_PRIVILEGED 7042#ifdef LDAV_PRIVILEGED
@@ -7020,7 +7067,7 @@ fi
7020 7067
7021if test $ac_cv_func_getloadavg_setgid = yes; then 7068if test $ac_cv_func_getloadavg_setgid = yes; then
7022 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 7069 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
7023echo "configure:7024: checking group of /dev/kmem" >&5 7070echo "configure:7071: checking group of /dev/kmem" >&5
7024if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 7071if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
7025 echo $ac_n "(cached) $ac_c" 1>&6 7072 echo $ac_n "(cached) $ac_c" 1>&6
7026else 7073else
@@ -7041,27 +7088,27 @@ fi
7041 7088
7042 7089
7043echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 7090echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
7044echo "configure:7045: checking for _LARGEFILE_SOURCE value needed for large files" >&5 7091echo "configure:7092: checking for _LARGEFILE_SOURCE value needed for large files" >&5
7045if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 7092if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
7046 echo $ac_n "(cached) $ac_c" 1>&6 7093 echo $ac_n "(cached) $ac_c" 1>&6
7047else 7094else
7048 ac_cv_sys_largefile_source=no 7095 ac_cv_sys_largefile_source=no
7049 cat > conftest.$ac_ext <<EOF 7096 cat > conftest.$ac_ext <<EOF
7050#line 7051 "configure" 7097#line 7098 "configure"
7051#include "confdefs.h" 7098#include "confdefs.h"
7052#include <stdio.h> 7099#include <stdio.h>
7053int main() { 7100int main() {
7054return !fseeko; 7101return !fseeko;
7055; return 0; } 7102; return 0; }
7056EOF 7103EOF
7057if { (eval echo configure:7058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7104if { (eval echo configure:7105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7058 : 7105 :
7059else 7106else
7060 echo "configure: failed program was:" >&5 7107 echo "configure: failed program was:" >&5
7061 cat conftest.$ac_ext >&5 7108 cat conftest.$ac_ext >&5
7062 rm -rf conftest* 7109 rm -rf conftest*
7063 cat > conftest.$ac_ext <<EOF 7110 cat > conftest.$ac_ext <<EOF
7064#line 7065 "configure" 7111#line 7112 "configure"
7065#include "confdefs.h" 7112#include "confdefs.h"
7066#define _LARGEFILE_SOURCE 1 7113#define _LARGEFILE_SOURCE 1
7067#include <stdio.h> 7114#include <stdio.h>
@@ -7070,7 +7117,7 @@ int main() {
7070return !fseeko; 7117return !fseeko;
7071; return 0; } 7118; return 0; }
7072EOF 7119EOF
7073if { (eval echo configure:7074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7120if { (eval echo configure:7121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7074 rm -rf conftest* 7121 rm -rf conftest*
7075 ac_cv_sys_largefile_source=1 7122 ac_cv_sys_largefile_source=1
7076else 7123else
@@ -7094,20 +7141,20 @@ EOF
7094 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 7141 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
7095 7142
7096 echo $ac_n "checking for fseeko""... $ac_c" 1>&6 7143 echo $ac_n "checking for fseeko""... $ac_c" 1>&6
7097echo "configure:7098: checking for fseeko" >&5 7144echo "configure:7145: checking for fseeko" >&5
7098if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then 7145if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then
7099 echo $ac_n "(cached) $ac_c" 1>&6 7146 echo $ac_n "(cached) $ac_c" 1>&6
7100else 7147else
7101 ac_cv_func_fseeko=no 7148 ac_cv_func_fseeko=no
7102 cat > conftest.$ac_ext <<EOF 7149 cat > conftest.$ac_ext <<EOF
7103#line 7104 "configure" 7150#line 7151 "configure"
7104#include "confdefs.h" 7151#include "confdefs.h"
7105#include <stdio.h> 7152#include <stdio.h>
7106int main() { 7153int main() {
7107return fseeko && fseeko (stdin, 0, 0); 7154return fseeko && fseeko (stdin, 0, 0);
7108; return 0; } 7155; return 0; }
7109EOF 7156EOF
7110if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7157if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7111 rm -rf conftest* 7158 rm -rf conftest*
7112 ac_cv_func_fseeko=yes 7159 ac_cv_func_fseeko=yes
7113else 7160else
@@ -7129,12 +7176,12 @@ EOF
7129for ac_func in grantpt 7176for ac_func in grantpt
7130do 7177do
7131echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7178echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7132echo "configure:7133: checking for $ac_func" >&5 7179echo "configure:7180: checking for $ac_func" >&5
7133if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7180if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7134 echo $ac_n "(cached) $ac_c" 1>&6 7181 echo $ac_n "(cached) $ac_c" 1>&6
7135else 7182else
7136 cat > conftest.$ac_ext <<EOF 7183 cat > conftest.$ac_ext <<EOF
7137#line 7138 "configure" 7184#line 7185 "configure"
7138#include "confdefs.h" 7185#include "confdefs.h"
7139/* System header to define __stub macros and hopefully few prototypes, 7186/* System header to define __stub macros and hopefully few prototypes,
7140 which can conflict with char $ac_func(); below. */ 7187 which can conflict with char $ac_func(); below. */
@@ -7157,7 +7204,7 @@ $ac_func();
7157 7204
7158; return 0; } 7205; return 0; }
7159EOF 7206EOF
7160if { (eval echo configure:7161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7207if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7161 rm -rf conftest* 7208 rm -rf conftest*
7162 eval "ac_cv_func_$ac_func=yes" 7209 eval "ac_cv_func_$ac_func=yes"
7163else 7210else
@@ -7186,12 +7233,12 @@ done
7186for ac_func in getpt 7233for ac_func in getpt
7187do 7234do
7188echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7235echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7189echo "configure:7190: checking for $ac_func" >&5 7236echo "configure:7237: checking for $ac_func" >&5
7190if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7237if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7191 echo $ac_n "(cached) $ac_c" 1>&6 7238 echo $ac_n "(cached) $ac_c" 1>&6
7192else 7239else
7193 cat > conftest.$ac_ext <<EOF 7240 cat > conftest.$ac_ext <<EOF
7194#line 7195 "configure" 7241#line 7242 "configure"
7195#include "confdefs.h" 7242#include "confdefs.h"
7196/* System header to define __stub macros and hopefully few prototypes, 7243/* System header to define __stub macros and hopefully few prototypes,
7197 which can conflict with char $ac_func(); below. */ 7244 which can conflict with char $ac_func(); below. */
@@ -7214,7 +7261,7 @@ $ac_func();
7214 7261
7215; return 0; } 7262; return 0; }
7216EOF 7263EOF
7217if { (eval echo configure:7218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7264if { (eval echo configure:7265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7218 rm -rf conftest* 7265 rm -rf conftest*
7219 eval "ac_cv_func_$ac_func=yes" 7266 eval "ac_cv_func_$ac_func=yes"
7220else 7267else
@@ -7244,7 +7291,7 @@ done
7244# It's better to believe a function is not available 7291# It's better to believe a function is not available
7245# than to expect to find it in ncurses. 7292# than to expect to find it in ncurses.
7246echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 7293echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7247echo "configure:7248: checking for tparm in -lncurses" >&5 7294echo "configure:7295: checking for tparm in -lncurses" >&5
7248ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 7295ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7249if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7296if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7250 echo $ac_n "(cached) $ac_c" 1>&6 7297 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7252,7 +7299,7 @@ else
7252 ac_save_LIBS="$LIBS" 7299 ac_save_LIBS="$LIBS"
7253LIBS="-lncurses $LIBS" 7300LIBS="-lncurses $LIBS"
7254cat > conftest.$ac_ext <<EOF 7301cat > conftest.$ac_ext <<EOF
7255#line 7256 "configure" 7302#line 7303 "configure"
7256#include "confdefs.h" 7303#include "confdefs.h"
7257/* Override any gcc2 internal prototype to avoid an error. */ 7304/* Override any gcc2 internal prototype to avoid an error. */
7258/* We use char because int might match the return type of a gcc2 7305/* We use char because int might match the return type of a gcc2
@@ -7263,7 +7310,7 @@ int main() {
7263tparm() 7310tparm()
7264; return 0; } 7311; return 0; }
7265EOF 7312EOF
7266if { (eval echo configure:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7313if { (eval echo configure:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7267 rm -rf conftest* 7314 rm -rf conftest*
7268 eval "ac_cv_lib_$ac_lib_var=yes" 7315 eval "ac_cv_lib_$ac_lib_var=yes"
7269else 7316else
@@ -7294,7 +7341,7 @@ fi
7294# These tell us which Kerberos-related libraries to use. 7341# These tell us which Kerberos-related libraries to use.
7295if test "${with_kerberos+set}" = set; then 7342if test "${with_kerberos+set}" = set; then
7296 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 7343 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
7297echo "configure:7298: checking for com_err in -lcom_err" >&5 7344echo "configure:7345: checking for com_err in -lcom_err" >&5
7298ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7345ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7299if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7346if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7300 echo $ac_n "(cached) $ac_c" 1>&6 7347 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7302,7 +7349,7 @@ else
7302 ac_save_LIBS="$LIBS" 7349 ac_save_LIBS="$LIBS"
7303LIBS="-lcom_err $LIBS" 7350LIBS="-lcom_err $LIBS"
7304cat > conftest.$ac_ext <<EOF 7351cat > conftest.$ac_ext <<EOF
7305#line 7306 "configure" 7352#line 7353 "configure"
7306#include "confdefs.h" 7353#include "confdefs.h"
7307/* Override any gcc2 internal prototype to avoid an error. */ 7354/* Override any gcc2 internal prototype to avoid an error. */
7308/* We use char because int might match the return type of a gcc2 7355/* We use char because int might match the return type of a gcc2
@@ -7313,7 +7360,7 @@ int main() {
7313com_err() 7360com_err()
7314; return 0; } 7361; return 0; }
7315EOF 7362EOF
7316if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7363if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7317 rm -rf conftest* 7364 rm -rf conftest*
7318 eval "ac_cv_lib_$ac_lib_var=yes" 7365 eval "ac_cv_lib_$ac_lib_var=yes"
7319else 7366else
@@ -7341,7 +7388,7 @@ else
7341fi 7388fi
7342 7389
7343 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7390 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7344echo "configure:7345: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7391echo "configure:7392: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7345ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7392ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7346if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7393if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7347 echo $ac_n "(cached) $ac_c" 1>&6 7394 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7349,7 +7396,7 @@ else
7349 ac_save_LIBS="$LIBS" 7396 ac_save_LIBS="$LIBS"
7350LIBS="-lk5crypto $LIBS" 7397LIBS="-lk5crypto $LIBS"
7351cat > conftest.$ac_ext <<EOF 7398cat > conftest.$ac_ext <<EOF
7352#line 7353 "configure" 7399#line 7400 "configure"
7353#include "confdefs.h" 7400#include "confdefs.h"
7354/* Override any gcc2 internal prototype to avoid an error. */ 7401/* Override any gcc2 internal prototype to avoid an error. */
7355/* We use char because int might match the return type of a gcc2 7402/* We use char because int might match the return type of a gcc2
@@ -7360,7 +7407,7 @@ int main() {
7360mit_des_cbc_encrypt() 7407mit_des_cbc_encrypt()
7361; return 0; } 7408; return 0; }
7362EOF 7409EOF
7363if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7410if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7364 rm -rf conftest* 7411 rm -rf conftest*
7365 eval "ac_cv_lib_$ac_lib_var=yes" 7412 eval "ac_cv_lib_$ac_lib_var=yes"
7366else 7413else
@@ -7388,7 +7435,7 @@ else
7388fi 7435fi
7389 7436
7390 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7437 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7391echo "configure:7392: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7438echo "configure:7439: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7392ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7439ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7393if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7440if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7394 echo $ac_n "(cached) $ac_c" 1>&6 7441 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7396,7 +7443,7 @@ else
7396 ac_save_LIBS="$LIBS" 7443 ac_save_LIBS="$LIBS"
7397LIBS="-lcrypto $LIBS" 7444LIBS="-lcrypto $LIBS"
7398cat > conftest.$ac_ext <<EOF 7445cat > conftest.$ac_ext <<EOF
7399#line 7400 "configure" 7446#line 7447 "configure"
7400#include "confdefs.h" 7447#include "confdefs.h"
7401/* Override any gcc2 internal prototype to avoid an error. */ 7448/* Override any gcc2 internal prototype to avoid an error. */
7402/* We use char because int might match the return type of a gcc2 7449/* We use char because int might match the return type of a gcc2
@@ -7407,7 +7454,7 @@ int main() {
7407mit_des_cbc_encrypt() 7454mit_des_cbc_encrypt()
7408; return 0; } 7455; return 0; }
7409EOF 7456EOF
7410if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7457if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7411 rm -rf conftest* 7458 rm -rf conftest*
7412 eval "ac_cv_lib_$ac_lib_var=yes" 7459 eval "ac_cv_lib_$ac_lib_var=yes"
7413else 7460else
@@ -7435,7 +7482,7 @@ else
7435fi 7482fi
7436 7483
7437 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7484 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7438echo "configure:7439: checking for krb5_init_context in -lkrb5" >&5 7485echo "configure:7486: checking for krb5_init_context in -lkrb5" >&5
7439ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7486ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7440if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7487if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7441 echo $ac_n "(cached) $ac_c" 1>&6 7488 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7443,7 +7490,7 @@ else
7443 ac_save_LIBS="$LIBS" 7490 ac_save_LIBS="$LIBS"
7444LIBS="-lkrb5 $LIBS" 7491LIBS="-lkrb5 $LIBS"
7445cat > conftest.$ac_ext <<EOF 7492cat > conftest.$ac_ext <<EOF
7446#line 7447 "configure" 7493#line 7494 "configure"
7447#include "confdefs.h" 7494#include "confdefs.h"
7448/* Override any gcc2 internal prototype to avoid an error. */ 7495/* Override any gcc2 internal prototype to avoid an error. */
7449/* We use char because int might match the return type of a gcc2 7496/* We use char because int might match the return type of a gcc2
@@ -7454,7 +7501,7 @@ int main() {
7454krb5_init_context() 7501krb5_init_context()
7455; return 0; } 7502; return 0; }
7456EOF 7503EOF
7457if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7504if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7458 rm -rf conftest* 7505 rm -rf conftest*
7459 eval "ac_cv_lib_$ac_lib_var=yes" 7506 eval "ac_cv_lib_$ac_lib_var=yes"
7460else 7507else
@@ -7483,7 +7530,7 @@ fi
7483 7530
7484 if test "${with_kerberos5+set}" != set; then 7531 if test "${with_kerberos5+set}" != set; then
7485 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7532 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7486echo "configure:7487: checking for des_cbc_encrypt in -ldes425" >&5 7533echo "configure:7534: checking for des_cbc_encrypt in -ldes425" >&5
7487ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7534ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7488if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7535if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7489 echo $ac_n "(cached) $ac_c" 1>&6 7536 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7491,7 +7538,7 @@ else
7491 ac_save_LIBS="$LIBS" 7538 ac_save_LIBS="$LIBS"
7492LIBS="-ldes425 $LIBS" 7539LIBS="-ldes425 $LIBS"
7493cat > conftest.$ac_ext <<EOF 7540cat > conftest.$ac_ext <<EOF
7494#line 7495 "configure" 7541#line 7542 "configure"
7495#include "confdefs.h" 7542#include "confdefs.h"
7496/* Override any gcc2 internal prototype to avoid an error. */ 7543/* Override any gcc2 internal prototype to avoid an error. */
7497/* We use char because int might match the return type of a gcc2 7544/* We use char because int might match the return type of a gcc2
@@ -7502,7 +7549,7 @@ int main() {
7502des_cbc_encrypt() 7549des_cbc_encrypt()
7503; return 0; } 7550; return 0; }
7504EOF 7551EOF
7505if { (eval echo configure:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7552if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7506 rm -rf conftest* 7553 rm -rf conftest*
7507 eval "ac_cv_lib_$ac_lib_var=yes" 7554 eval "ac_cv_lib_$ac_lib_var=yes"
7508else 7555else
@@ -7528,7 +7575,7 @@ EOF
7528else 7575else
7529 echo "$ac_t""no" 1>&6 7576 echo "$ac_t""no" 1>&6
7530echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7577echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7531echo "configure:7532: checking for des_cbc_encrypt in -ldes" >&5 7578echo "configure:7579: checking for des_cbc_encrypt in -ldes" >&5
7532ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7579ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7533if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7580if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7534 echo $ac_n "(cached) $ac_c" 1>&6 7581 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7536,7 +7583,7 @@ else
7536 ac_save_LIBS="$LIBS" 7583 ac_save_LIBS="$LIBS"
7537LIBS="-ldes $LIBS" 7584LIBS="-ldes $LIBS"
7538cat > conftest.$ac_ext <<EOF 7585cat > conftest.$ac_ext <<EOF
7539#line 7540 "configure" 7586#line 7587 "configure"
7540#include "confdefs.h" 7587#include "confdefs.h"
7541/* Override any gcc2 internal prototype to avoid an error. */ 7588/* Override any gcc2 internal prototype to avoid an error. */
7542/* We use char because int might match the return type of a gcc2 7589/* We use char because int might match the return type of a gcc2
@@ -7547,7 +7594,7 @@ int main() {
7547des_cbc_encrypt() 7594des_cbc_encrypt()
7548; return 0; } 7595; return 0; }
7549EOF 7596EOF
7550if { (eval echo configure:7551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7597if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7551 rm -rf conftest* 7598 rm -rf conftest*
7552 eval "ac_cv_lib_$ac_lib_var=yes" 7599 eval "ac_cv_lib_$ac_lib_var=yes"
7553else 7600else
@@ -7577,7 +7624,7 @@ fi
7577fi 7624fi
7578 7625
7579 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7626 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7580echo "configure:7581: checking for krb_get_cred in -lkrb4" >&5 7627echo "configure:7628: checking for krb_get_cred in -lkrb4" >&5
7581ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7628ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7582if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7629if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7583 echo $ac_n "(cached) $ac_c" 1>&6 7630 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7585,7 +7632,7 @@ else
7585 ac_save_LIBS="$LIBS" 7632 ac_save_LIBS="$LIBS"
7586LIBS="-lkrb4 $LIBS" 7633LIBS="-lkrb4 $LIBS"
7587cat > conftest.$ac_ext <<EOF 7634cat > conftest.$ac_ext <<EOF
7588#line 7589 "configure" 7635#line 7636 "configure"
7589#include "confdefs.h" 7636#include "confdefs.h"
7590/* Override any gcc2 internal prototype to avoid an error. */ 7637/* Override any gcc2 internal prototype to avoid an error. */
7591/* We use char because int might match the return type of a gcc2 7638/* We use char because int might match the return type of a gcc2
@@ -7596,7 +7643,7 @@ int main() {
7596krb_get_cred() 7643krb_get_cred()
7597; return 0; } 7644; return 0; }
7598EOF 7645EOF
7599if { (eval echo configure:7600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7646if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7600 rm -rf conftest* 7647 rm -rf conftest*
7601 eval "ac_cv_lib_$ac_lib_var=yes" 7648 eval "ac_cv_lib_$ac_lib_var=yes"
7602else 7649else
@@ -7622,7 +7669,7 @@ EOF
7622else 7669else
7623 echo "$ac_t""no" 1>&6 7670 echo "$ac_t""no" 1>&6
7624echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7671echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7625echo "configure:7626: checking for krb_get_cred in -lkrb" >&5 7672echo "configure:7673: checking for krb_get_cred in -lkrb" >&5
7626ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7673ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7627if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7674if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7628 echo $ac_n "(cached) $ac_c" 1>&6 7675 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7630,7 +7677,7 @@ else
7630 ac_save_LIBS="$LIBS" 7677 ac_save_LIBS="$LIBS"
7631LIBS="-lkrb $LIBS" 7678LIBS="-lkrb $LIBS"
7632cat > conftest.$ac_ext <<EOF 7679cat > conftest.$ac_ext <<EOF
7633#line 7634 "configure" 7680#line 7681 "configure"
7634#include "confdefs.h" 7681#include "confdefs.h"
7635/* Override any gcc2 internal prototype to avoid an error. */ 7682/* Override any gcc2 internal prototype to avoid an error. */
7636/* We use char because int might match the return type of a gcc2 7683/* We use char because int might match the return type of a gcc2
@@ -7641,7 +7688,7 @@ int main() {
7641krb_get_cred() 7688krb_get_cred()
7642; return 0; } 7689; return 0; }
7643EOF 7690EOF
7644if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7691if { (eval echo configure:7692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7645 rm -rf conftest* 7692 rm -rf conftest*
7646 eval "ac_cv_lib_$ac_lib_var=yes" 7693 eval "ac_cv_lib_$ac_lib_var=yes"
7647else 7694else
@@ -7677,17 +7724,17 @@ fi
7677do 7724do
7678ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7725ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7679echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7726echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7680echo "configure:7681: checking for $ac_hdr" >&5 7727echo "configure:7728: checking for $ac_hdr" >&5
7681if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7728if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6 7729 echo $ac_n "(cached) $ac_c" 1>&6
7683else 7730else
7684 cat > conftest.$ac_ext <<EOF 7731 cat > conftest.$ac_ext <<EOF
7685#line 7686 "configure" 7732#line 7733 "configure"
7686#include "confdefs.h" 7733#include "confdefs.h"
7687#include <$ac_hdr> 7734#include <$ac_hdr>
7688EOF 7735EOF
7689ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7736ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7690{ (eval echo configure:7691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7737{ (eval echo configure:7738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7691ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7738ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7692if test -z "$ac_err"; then 7739if test -z "$ac_err"; then
7693 rm -rf conftest* 7740 rm -rf conftest*
@@ -7718,17 +7765,17 @@ done
7718do 7765do
7719ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7766ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7720echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7767echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7721echo "configure:7722: checking for $ac_hdr" >&5 7768echo "configure:7769: checking for $ac_hdr" >&5
7722if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7769if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7723 echo $ac_n "(cached) $ac_c" 1>&6 7770 echo $ac_n "(cached) $ac_c" 1>&6
7724else 7771else
7725 cat > conftest.$ac_ext <<EOF 7772 cat > conftest.$ac_ext <<EOF
7726#line 7727 "configure" 7773#line 7774 "configure"
7727#include "confdefs.h" 7774#include "confdefs.h"
7728#include <$ac_hdr> 7775#include <$ac_hdr>
7729EOF 7776EOF
7730ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7777ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7731{ (eval echo configure:7732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7778{ (eval echo configure:7779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7732ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7779ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7733if test -z "$ac_err"; then 7780if test -z "$ac_err"; then
7734 rm -rf conftest* 7781 rm -rf conftest*
@@ -7755,17 +7802,17 @@ for ac_hdr in kerberosIV/des.h
7755do 7802do
7756ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7803ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7757echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7804echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7758echo "configure:7759: checking for $ac_hdr" >&5 7805echo "configure:7806: checking for $ac_hdr" >&5
7759if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7806if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7760 echo $ac_n "(cached) $ac_c" 1>&6 7807 echo $ac_n "(cached) $ac_c" 1>&6
7761else 7808else
7762 cat > conftest.$ac_ext <<EOF 7809 cat > conftest.$ac_ext <<EOF
7763#line 7764 "configure" 7810#line 7811 "configure"
7764#include "confdefs.h" 7811#include "confdefs.h"
7765#include <$ac_hdr> 7812#include <$ac_hdr>
7766EOF 7813EOF
7767ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7814ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7768{ (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7815{ (eval echo configure:7816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7769ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7816ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7770if test -z "$ac_err"; then 7817if test -z "$ac_err"; then
7771 rm -rf conftest* 7818 rm -rf conftest*
@@ -7792,17 +7839,17 @@ for ac_hdr in kerberos/des.h
7792do 7839do
7793ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7840ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7794echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7841echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7795echo "configure:7796: checking for $ac_hdr" >&5 7842echo "configure:7843: checking for $ac_hdr" >&5
7796if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7843if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7797 echo $ac_n "(cached) $ac_c" 1>&6 7844 echo $ac_n "(cached) $ac_c" 1>&6
7798else 7845else
7799 cat > conftest.$ac_ext <<EOF 7846 cat > conftest.$ac_ext <<EOF
7800#line 7801 "configure" 7847#line 7848 "configure"
7801#include "confdefs.h" 7848#include "confdefs.h"
7802#include <$ac_hdr> 7849#include <$ac_hdr>
7803EOF 7850EOF
7804ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7851ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7805{ (eval echo configure:7806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7852{ (eval echo configure:7853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7806ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7853ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7807if test -z "$ac_err"; then 7854if test -z "$ac_err"; then
7808 rm -rf conftest* 7855 rm -rf conftest*
@@ -7838,17 +7885,17 @@ done
7838do 7885do
7839ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7886ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7840echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7887echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7841echo "configure:7842: checking for $ac_hdr" >&5 7888echo "configure:7889: checking for $ac_hdr" >&5
7842if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7889if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7843 echo $ac_n "(cached) $ac_c" 1>&6 7890 echo $ac_n "(cached) $ac_c" 1>&6
7844else 7891else
7845 cat > conftest.$ac_ext <<EOF 7892 cat > conftest.$ac_ext <<EOF
7846#line 7847 "configure" 7893#line 7894 "configure"
7847#include "confdefs.h" 7894#include "confdefs.h"
7848#include <$ac_hdr> 7895#include <$ac_hdr>
7849EOF 7896EOF
7850ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7897ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7851{ (eval echo configure:7852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7898{ (eval echo configure:7899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7852ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7899ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7853if test -z "$ac_err"; then 7900if test -z "$ac_err"; then
7854 rm -rf conftest* 7901 rm -rf conftest*
@@ -7875,17 +7922,17 @@ for ac_hdr in kerberosIV/krb.h
7875do 7922do
7876ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7923ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7877echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7924echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7878echo "configure:7879: checking for $ac_hdr" >&5 7925echo "configure:7926: checking for $ac_hdr" >&5
7879if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7926if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7880 echo $ac_n "(cached) $ac_c" 1>&6 7927 echo $ac_n "(cached) $ac_c" 1>&6
7881else 7928else
7882 cat > conftest.$ac_ext <<EOF 7929 cat > conftest.$ac_ext <<EOF
7883#line 7884 "configure" 7930#line 7931 "configure"
7884#include "confdefs.h" 7931#include "confdefs.h"
7885#include <$ac_hdr> 7932#include <$ac_hdr>
7886EOF 7933EOF
7887ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7934ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7888{ (eval echo configure:7889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7935{ (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7889ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7936ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7890if test -z "$ac_err"; then 7937if test -z "$ac_err"; then
7891 rm -rf conftest* 7938 rm -rf conftest*
@@ -7912,17 +7959,17 @@ for ac_hdr in kerberos/krb.h
7912do 7959do
7913ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7960ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7914echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7961echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7915echo "configure:7916: checking for $ac_hdr" >&5 7962echo "configure:7963: checking for $ac_hdr" >&5
7916if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7963if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7917 echo $ac_n "(cached) $ac_c" 1>&6 7964 echo $ac_n "(cached) $ac_c" 1>&6
7918else 7965else
7919 cat > conftest.$ac_ext <<EOF 7966 cat > conftest.$ac_ext <<EOF
7920#line 7921 "configure" 7967#line 7968 "configure"
7921#include "confdefs.h" 7968#include "confdefs.h"
7922#include <$ac_hdr> 7969#include <$ac_hdr>
7923EOF 7970EOF
7924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7971ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7925{ (eval echo configure:7926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7972{ (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7926ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7973ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7927if test -z "$ac_err"; then 7974if test -z "$ac_err"; then
7928 rm -rf conftest* 7975 rm -rf conftest*
@@ -7959,17 +8006,17 @@ done
7959do 8006do
7960ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 8007ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7961echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 8008echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7962echo "configure:7963: checking for $ac_hdr" >&5 8009echo "configure:8010: checking for $ac_hdr" >&5
7963if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8010if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7964 echo $ac_n "(cached) $ac_c" 1>&6 8011 echo $ac_n "(cached) $ac_c" 1>&6
7965else 8012else
7966 cat > conftest.$ac_ext <<EOF 8013 cat > conftest.$ac_ext <<EOF
7967#line 7968 "configure" 8014#line 8015 "configure"
7968#include "confdefs.h" 8015#include "confdefs.h"
7969#include <$ac_hdr> 8016#include <$ac_hdr>
7970EOF 8017EOF
7971ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8018ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7972{ (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8019{ (eval echo configure:8020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7973ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8020ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7974if test -z "$ac_err"; then 8021if test -z "$ac_err"; then
7975 rm -rf conftest* 8022 rm -rf conftest*
@@ -8000,7 +8047,7 @@ fi
8000# Solaris requires -lintl if you want strerror (which calls dgettext) 8047# Solaris requires -lintl if you want strerror (which calls dgettext)
8001# to return localized messages. 8048# to return localized messages.
8002echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 8049echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
8003echo "configure:8004: checking for dgettext in -lintl" >&5 8050echo "configure:8051: checking for dgettext in -lintl" >&5
8004ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 8051ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
8005if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 8052if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8006 echo $ac_n "(cached) $ac_c" 1>&6 8053 echo $ac_n "(cached) $ac_c" 1>&6
@@ -8008,7 +8055,7 @@ else
8008 ac_save_LIBS="$LIBS" 8055 ac_save_LIBS="$LIBS"
8009LIBS="-lintl $LIBS" 8056LIBS="-lintl $LIBS"
8010cat > conftest.$ac_ext <<EOF 8057cat > conftest.$ac_ext <<EOF
8011#line 8012 "configure" 8058#line 8059 "configure"
8012#include "confdefs.h" 8059#include "confdefs.h"
8013/* Override any gcc2 internal prototype to avoid an error. */ 8060/* Override any gcc2 internal prototype to avoid an error. */
8014/* We use char because int might match the return type of a gcc2 8061/* We use char because int might match the return type of a gcc2
@@ -8019,7 +8066,7 @@ int main() {
8019dgettext() 8066dgettext()
8020; return 0; } 8067; return 0; }
8021EOF 8068EOF
8022if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8069if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8023 rm -rf conftest* 8070 rm -rf conftest*
8024 eval "ac_cv_lib_$ac_lib_var=yes" 8071 eval "ac_cv_lib_$ac_lib_var=yes"
8025else 8072else
@@ -8048,7 +8095,7 @@ fi
8048 8095
8049 8096
8050echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8097echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8051echo "configure:8052: checking whether localtime caches TZ" >&5 8098echo "configure:8099: checking whether localtime caches TZ" >&5
8052if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 8099if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
8053 echo $ac_n "(cached) $ac_c" 1>&6 8100 echo $ac_n "(cached) $ac_c" 1>&6
8054else 8101else
@@ -8058,7 +8105,7 @@ if test "$cross_compiling" = yes; then
8058emacs_cv_localtime_cache=yes 8105emacs_cv_localtime_cache=yes
8059else 8106else
8060 cat > conftest.$ac_ext <<EOF 8107 cat > conftest.$ac_ext <<EOF
8061#line 8062 "configure" 8108#line 8109 "configure"
8062#include "confdefs.h" 8109#include "confdefs.h"
8063#include <time.h> 8110#include <time.h>
8064extern char **environ; 8111extern char **environ;
@@ -8090,7 +8137,7 @@ main()
8090 exit (0); 8137 exit (0);
8091} 8138}
8092EOF 8139EOF
8093if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8140if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8094then 8141then
8095 emacs_cv_localtime_cache=no 8142 emacs_cv_localtime_cache=no
8096else 8143else
@@ -8120,12 +8167,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
8120 for ac_func in gettimeofday 8167 for ac_func in gettimeofday
8121do 8168do
8122echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8169echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8123echo "configure:8124: checking for $ac_func" >&5 8170echo "configure:8171: checking for $ac_func" >&5
8124if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 8171if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8125 echo $ac_n "(cached) $ac_c" 1>&6 8172 echo $ac_n "(cached) $ac_c" 1>&6
8126else 8173else
8127 cat > conftest.$ac_ext <<EOF 8174 cat > conftest.$ac_ext <<EOF
8128#line 8129 "configure" 8175#line 8176 "configure"
8129#include "confdefs.h" 8176#include "confdefs.h"
8130/* System header to define __stub macros and hopefully few prototypes, 8177/* System header to define __stub macros and hopefully few prototypes,
8131 which can conflict with char $ac_func(); below. */ 8178 which can conflict with char $ac_func(); below. */
@@ -8148,7 +8195,7 @@ $ac_func();
8148 8195
8149; return 0; } 8196; return 0; }
8150EOF 8197EOF
8151if { (eval echo configure:8152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8198if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8152 rm -rf conftest* 8199 rm -rf conftest*
8153 eval "ac_cv_func_$ac_func=yes" 8200 eval "ac_cv_func_$ac_func=yes"
8154else 8201else
@@ -8173,12 +8220,12 @@ fi
8173done 8220done
8174 8221
8175 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 8222 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
8176echo "configure:8177: checking whether gettimeofday can accept two arguments" >&5 8223echo "configure:8224: checking whether gettimeofday can accept two arguments" >&5
8177if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 8224if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
8178 echo $ac_n "(cached) $ac_c" 1>&6 8225 echo $ac_n "(cached) $ac_c" 1>&6
8179else 8226else
8180 cat > conftest.$ac_ext <<EOF 8227 cat > conftest.$ac_ext <<EOF
8181#line 8182 "configure" 8228#line 8229 "configure"
8182#include "confdefs.h" 8229#include "confdefs.h"
8183 8230
8184#ifdef TIME_WITH_SYS_TIME 8231#ifdef TIME_WITH_SYS_TIME
@@ -8196,7 +8243,7 @@ struct timeval time;
8196 gettimeofday (&time, 0); 8243 gettimeofday (&time, 0);
8197; return 0; } 8244; return 0; }
8198EOF 8245EOF
8199if { (eval echo configure:8200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8246if { (eval echo configure:8247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8200 rm -rf conftest* 8247 rm -rf conftest*
8201 emacs_cv_gettimeofday_two_arguments=yes 8248 emacs_cv_gettimeofday_two_arguments=yes
8202else 8249else
@@ -8219,25 +8266,25 @@ fi
8219 8266
8220if test "$ac_cv_func_gettimeofday" = yes; then 8267if test "$ac_cv_func_gettimeofday" = yes; then
8221 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 8268 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
8222echo "configure:8223: checking for struct timezone" >&5 8269echo "configure:8270: checking for struct timezone" >&5
8223if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 8270if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
8224 echo $ac_n "(cached) $ac_c" 1>&6 8271 echo $ac_n "(cached) $ac_c" 1>&6
8225else 8272else
8226 cat > conftest.$ac_ext <<EOF 8273 cat > conftest.$ac_ext <<EOF
8227#line 8228 "configure" 8274#line 8275 "configure"
8228#include "confdefs.h" 8275#include "confdefs.h"
8229#include <sys/time.h> 8276#include <sys/time.h>
8230int main() { 8277int main() {
8231struct timezone tz; 8278struct timezone tz;
8232; return 0; } 8279; return 0; }
8233EOF 8280EOF
8234if { (eval echo configure:8235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8281if { (eval echo configure:8282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8235 rm -rf conftest* 8282 rm -rf conftest*
8236 if test "$cross_compiling" = yes; then 8283 if test "$cross_compiling" = yes; then
8237 emacs_cv_struct_timezone=yes 8284 emacs_cv_struct_timezone=yes
8238else 8285else
8239 cat > conftest.$ac_ext <<EOF 8286 cat > conftest.$ac_ext <<EOF
8240#line 8241 "configure" 8287#line 8288 "configure"
8241#include "confdefs.h" 8288#include "confdefs.h"
8242 8289
8243#ifdef TIME_WITH_SYS_TIME 8290#ifdef TIME_WITH_SYS_TIME
@@ -8256,7 +8303,7 @@ main () {
8256 exit (gettimeofday (&time, &dummy)); 8303 exit (gettimeofday (&time, &dummy));
8257} 8304}
8258EOF 8305EOF
8259if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8306if { (eval echo configure:8307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8260then 8307then
8261 emacs_cv_struct_timezone=yes 8308 emacs_cv_struct_timezone=yes
8262else 8309else
@@ -8282,12 +8329,12 @@ fi
8282 8329
8283ok_so_far=yes 8330ok_so_far=yes
8284echo $ac_n "checking for socket""... $ac_c" 1>&6 8331echo $ac_n "checking for socket""... $ac_c" 1>&6
8285echo "configure:8286: checking for socket" >&5 8332echo "configure:8333: checking for socket" >&5
8286if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8333if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
8287 echo $ac_n "(cached) $ac_c" 1>&6 8334 echo $ac_n "(cached) $ac_c" 1>&6
8288else 8335else
8289 cat > conftest.$ac_ext <<EOF 8336 cat > conftest.$ac_ext <<EOF
8290#line 8291 "configure" 8337#line 8338 "configure"
8291#include "confdefs.h" 8338#include "confdefs.h"
8292/* System header to define __stub macros and hopefully few prototypes, 8339/* System header to define __stub macros and hopefully few prototypes,
8293 which can conflict with char socket(); below. */ 8340 which can conflict with char socket(); below. */
@@ -8310,7 +8357,7 @@ socket();
8310 8357
8311; return 0; } 8358; return 0; }
8312EOF 8359EOF
8313if { (eval echo configure:8314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8360if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8314 rm -rf conftest* 8361 rm -rf conftest*
8315 eval "ac_cv_func_socket=yes" 8362 eval "ac_cv_func_socket=yes"
8316else 8363else
@@ -8333,17 +8380,17 @@ fi
8333if test $ok_so_far = yes; then 8380if test $ok_so_far = yes; then
8334 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8381 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8335echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8382echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8336echo "configure:8337: checking for netinet/in.h" >&5 8383echo "configure:8384: checking for netinet/in.h" >&5
8337if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8384if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8338 echo $ac_n "(cached) $ac_c" 1>&6 8385 echo $ac_n "(cached) $ac_c" 1>&6
8339else 8386else
8340 cat > conftest.$ac_ext <<EOF 8387 cat > conftest.$ac_ext <<EOF
8341#line 8342 "configure" 8388#line 8389 "configure"
8342#include "confdefs.h" 8389#include "confdefs.h"
8343#include <netinet/in.h> 8390#include <netinet/in.h>
8344EOF 8391EOF
8345ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8392ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8346{ (eval echo configure:8347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8393{ (eval echo configure:8394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8347ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8394ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8348if test -z "$ac_err"; then 8395if test -z "$ac_err"; then
8349 rm -rf conftest* 8396 rm -rf conftest*
@@ -8369,17 +8416,17 @@ fi
8369if test $ok_so_far = yes; then 8416if test $ok_so_far = yes; then
8370 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8417 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8371echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8418echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8372echo "configure:8373: checking for arpa/inet.h" >&5 8419echo "configure:8420: checking for arpa/inet.h" >&5
8373if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8420if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8374 echo $ac_n "(cached) $ac_c" 1>&6 8421 echo $ac_n "(cached) $ac_c" 1>&6
8375else 8422else
8376 cat > conftest.$ac_ext <<EOF 8423 cat > conftest.$ac_ext <<EOF
8377#line 8378 "configure" 8424#line 8425 "configure"
8378#include "confdefs.h" 8425#include "confdefs.h"
8379#include <arpa/inet.h> 8426#include <arpa/inet.h>
8380EOF 8427EOF
8381ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8428ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8382{ (eval echo configure:8383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8429{ (eval echo configure:8430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8383ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8430ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8384if test -z "$ac_err"; then 8431if test -z "$ac_err"; then
8385 rm -rf conftest* 8432 rm -rf conftest*
@@ -8417,7 +8464,7 @@ EOF
8417fi 8464fi
8418 8465
8419echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8466echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8420echo "configure:8421: checking whether system supports dynamic ptys" >&5 8467echo "configure:8468: checking whether system supports dynamic ptys" >&5
8421if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8468if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8422 echo "$ac_t""yes" 1>&6 8469 echo "$ac_t""yes" 1>&6
8423 cat >> confdefs.h <<\EOF 8470 cat >> confdefs.h <<\EOF
@@ -8429,12 +8476,12 @@ else
8429fi 8476fi
8430 8477
8431echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8478echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8432echo "configure:8433: checking for pid_t" >&5 8479echo "configure:8480: checking for pid_t" >&5
8433if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8480if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8434 echo $ac_n "(cached) $ac_c" 1>&6 8481 echo $ac_n "(cached) $ac_c" 1>&6
8435else 8482else
8436 cat > conftest.$ac_ext <<EOF 8483 cat > conftest.$ac_ext <<EOF
8437#line 8438 "configure" 8484#line 8485 "configure"
8438#include "confdefs.h" 8485#include "confdefs.h"
8439#include <sys/types.h> 8486#include <sys/types.h>
8440#if STDC_HEADERS 8487#if STDC_HEADERS
@@ -8463,17 +8510,17 @@ fi
8463 8510
8464ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8511ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8465echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8512echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8466echo "configure:8467: checking for vfork.h" >&5 8513echo "configure:8514: checking for vfork.h" >&5
8467if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8514if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8468 echo $ac_n "(cached) $ac_c" 1>&6 8515 echo $ac_n "(cached) $ac_c" 1>&6
8469else 8516else
8470 cat > conftest.$ac_ext <<EOF 8517 cat > conftest.$ac_ext <<EOF
8471#line 8472 "configure" 8518#line 8519 "configure"
8472#include "confdefs.h" 8519#include "confdefs.h"
8473#include <vfork.h> 8520#include <vfork.h>
8474EOF 8521EOF
8475ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8476{ (eval echo configure:8477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8523{ (eval echo configure:8524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8477ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8524ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8478if test -z "$ac_err"; then 8525if test -z "$ac_err"; then
8479 rm -rf conftest* 8526 rm -rf conftest*
@@ -8498,18 +8545,18 @@ else
8498fi 8545fi
8499 8546
8500echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8547echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8501echo "configure:8502: checking for working vfork" >&5 8548echo "configure:8549: checking for working vfork" >&5
8502if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8549if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8503 echo $ac_n "(cached) $ac_c" 1>&6 8550 echo $ac_n "(cached) $ac_c" 1>&6
8504else 8551else
8505 if test "$cross_compiling" = yes; then 8552 if test "$cross_compiling" = yes; then
8506 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8553 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8507echo "configure:8508: checking for vfork" >&5 8554echo "configure:8555: checking for vfork" >&5
8508if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8555if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6 8556 echo $ac_n "(cached) $ac_c" 1>&6
8510else 8557else
8511 cat > conftest.$ac_ext <<EOF 8558 cat > conftest.$ac_ext <<EOF
8512#line 8513 "configure" 8559#line 8560 "configure"
8513#include "confdefs.h" 8560#include "confdefs.h"
8514/* System header to define __stub macros and hopefully few prototypes, 8561/* System header to define __stub macros and hopefully few prototypes,
8515 which can conflict with char vfork(); below. */ 8562 which can conflict with char vfork(); below. */
@@ -8532,7 +8579,7 @@ vfork();
8532 8579
8533; return 0; } 8580; return 0; }
8534EOF 8581EOF
8535if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8582if { (eval echo configure:8583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8536 rm -rf conftest* 8583 rm -rf conftest*
8537 eval "ac_cv_func_vfork=yes" 8584 eval "ac_cv_func_vfork=yes"
8538else 8585else
@@ -8554,7 +8601,7 @@ fi
8554ac_cv_func_vfork_works=$ac_cv_func_vfork 8601ac_cv_func_vfork_works=$ac_cv_func_vfork
8555else 8602else
8556 cat > conftest.$ac_ext <<EOF 8603 cat > conftest.$ac_ext <<EOF
8557#line 8558 "configure" 8604#line 8605 "configure"
8558#include "confdefs.h" 8605#include "confdefs.h"
8559/* Thanks to Paul Eggert for this test. */ 8606/* Thanks to Paul Eggert for this test. */
8560#include <stdio.h> 8607#include <stdio.h>
@@ -8649,7 +8696,7 @@ main() {
8649 } 8696 }
8650} 8697}
8651EOF 8698EOF
8652if { (eval echo configure:8653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8699if { (eval echo configure:8700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8653then 8700then
8654 ac_cv_func_vfork_works=yes 8701 ac_cv_func_vfork_works=yes
8655else 8702else
@@ -8674,12 +8721,12 @@ fi
8674 8721
8675# Fixme: This should be replaced when we have autoconf 2.14. 8722# Fixme: This should be replaced when we have autoconf 2.14.
8676echo $ac_n "checking for size_t""... $ac_c" 1>&6 8723echo $ac_n "checking for size_t""... $ac_c" 1>&6
8677echo "configure:8678: checking for size_t" >&5 8724echo "configure:8725: checking for size_t" >&5
8678if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 8725if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8679 echo $ac_n "(cached) $ac_c" 1>&6 8726 echo $ac_n "(cached) $ac_c" 1>&6
8680else 8727else
8681 cat > conftest.$ac_ext <<EOF 8728 cat > conftest.$ac_ext <<EOF
8682#line 8683 "configure" 8729#line 8730 "configure"
8683#include "confdefs.h" 8730#include "confdefs.h"
8684#include <sys/types.h> 8731#include <sys/types.h>
8685#if STDC_HEADERS 8732#if STDC_HEADERS
@@ -8873,7 +8920,7 @@ test "${exec_prefix}" != NONE &&
8873## C preprocessor. 8920## C preprocessor.
8874 8921
8875cat > conftest.$ac_ext <<EOF 8922cat > conftest.$ac_ext <<EOF
8876#line 8877 "configure" 8923#line 8924 "configure"
8877#include "confdefs.h" 8924#include "confdefs.h"
8878yes..yes 8925yes..yes
8879EOF 8926EOF
diff --git a/configure.in b/configure.in
index 00d283daac5..1e4fee58e4d 100644
--- a/configure.in
+++ b/configure.in
@@ -1570,6 +1570,7 @@ dnl FIXME replace main with a function we actually want from this library.
1570AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd") 1570AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
1571 1571
1572AC_CHECK_LIB(pthreads, cma_open) 1572AC_CHECK_LIB(pthreads, cma_open)
1573AC_CHECK_LIB(gmp, mpz_init)
1573 1574
1574AC_MSG_CHECKING(for XFree86 in /usr/X386) 1575AC_MSG_CHECKING(for XFree86 in /usr/X386)
1575if test -d /usr/X386/include; then 1576if test -d /usr/X386/include; then
diff --git a/src/ChangeLog b/src/ChangeLog
index 3c851d1c7f6..11124d69aeb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,51 @@
12001-10-16 Gerd Moellmann <gerd@gnu.org>
2
3 * print.c (print_object) [HAVE_LIBGMP]: Print bignums.
4
5 * lread.c (read_bigint) [HAVE_LIBGMP]: New function.
6 (read_integer, read1) [HAVE_LIBGMP]: Read bigints.
7
8 * lisp.h [HAVE_LIBGMP]: Add bignums.
9 (make_fixnum): Renamed from make_number.
10
11 * floatfns.c (extract_float, Fabs, Ffloat) [HAVE_LIBGMP]: Handle
12 bigints.
13
14 * data.c (Qbignum, Qfixnum): New variables.
15 (wrong_type_argument, Fchar_or_string_p): Use FIXNUMP instead of
16 INTEGERP.
17 (Ftype_of) [HAVE_LIBGMP]: Return `fixnum' for Lisp_Int, `bignum'
18 for Lisp_Bignum.
19 (Fintegerp) [HAVE_LIBGMP]: Return t for bignums.
20 (fixnump, bignump, bitint_arith_driver) [HAVE_LIBGMP]: New functions.
21 (arith_driver) [HAVE_LIBGMP]: Handle implicit coercion to big ints.
22 (float_arith_driver) [HAVE_LIBGMP]: Handle coercion of bigints to
23 floats.
24 (Fadd1, Fsub1, Flognot) [HAVE_LIBGMP]: Handle bigints.
25 (syms_of_data): Initialize Qbignum and Qfixnum, defsubr bignump
26 and fixnump.
27
28 * config.in (HAVE_LIBGMP): Add.
29
30 * alloc.c [HAVE_LIBGMP]: Add bignum functionality.
31 (enum mem_type): Add MEM_TYPE_BIGNUM.
32 (make_fixnum): Renamed from make_number.
33
34 * abbrev.c, buffer.c, bytecode.c, callint.c, callproc.c
35 * casefiddle.c, casetab.c, category.c, category.h, ccl.c:
36 * charset.c, cmds.c, coding.c, composite.c, composite.h:
37 * dired.c, dispnew.c, disptab.h, doc.c, editfns.c, emacs.c:
38 * eval.c, fileio.c, fns.c, fontset.c, frame.c, frame.h:
39 * indent.c, insdel.c, intervals.c, intervals.h, keyboard.c:
40 * keymap.c, macros.c, marker.c, minibuf.c, mocklisp.c:
41 * msdos.c, process.c, search.c, sound.c, sunfns.c, syntax.c:
42 * syntax.h, sysdep.c, term.c, textprop.c, undo.c, w32console.c:
43 * w32fns.c, w32menu.c, w32proc.c, w32term.c, window.c, xdisp.c:
44 * xfaces.c, xfns.c, xmenu.c, xrdb.c, xselect.c:
45 Use make_fixnum instead of make_number, FIXNUMP instead of INTEGERP.
46
47 * Makefile.in: Link with libgmp if HAVE_LIBGMP.
48
12001-05-29 Gerd Moellmann <gerd@gnu.org> 492001-05-29 Gerd Moellmann <gerd@gnu.org>
2 50
3 * xmenu.c (single_submenu, xmenu_show) [!HAVE_MULTILINGUAL_MENU]: 51 * xmenu.c (single_submenu, xmenu_show) [!HAVE_MULTILINGUAL_MENU]: