aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-01-10 15:24:55 +0000
committerGerd Moellmann2001-01-10 15:24:55 +0000
commit457b792c1ee8d3d0708c181c0f65eee35bb6ce23 (patch)
treed6d0a4b93d3bc2218cd0e969138120a9761bf98d
parentbffc71d670d20d5ea88aa86dda8b4c04c1bc3073 (diff)
downloademacs-457b792c1ee8d3d0708c181c0f65eee35bb6ce23.tar.gz
emacs-457b792c1ee8d3d0708c181c0f65eee35bb6ce23.zip
*** empty log message ***
-rw-r--r--ChangeLog10
-rwxr-xr-xconfigure591
-rw-r--r--lisp/ChangeLog6
-rw-r--r--man/basic.texi25
-rw-r--r--man/mule.texi7
-rw-r--r--src/ChangeLog5
6 files changed, 355 insertions, 289 deletions
diff --git a/ChangeLog b/ChangeLog
index 28e55eeac01..a1dcb593d1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
12001-01-10 Dave Love <fx@gnu.org>
2
3 * configure.in: Don't reset LIBS at end of -lXmu test. Test for
4 -lXext.
5 (HAVE_XKBGETKEYBOARD): Fix reporting of result.
6 (HAVE_LIBXP): Remove -lXt from AC_CHECK_LIB.
7 (HAVE_XAW3D, HAVE_XPM, HAVE_JPEG, HAVE_PNG, HAVE_TIFF, HAVE_GIF):
8 Don't frob CFLAGS. Remove extra X libs from AC_CHECK_LIB
9 (now in $LIBS).
10
12001-01-08 Eli Zaretskii <eliz@is.elta.co.il> 112001-01-08 Eli Zaretskii <eliz@is.elta.co.il>
2 12
3 * config.bat: Run the preprocessor with -traditional. 13 * config.bat: Run the preprocessor with -traditional.
diff --git a/configure b/configure
index 3b9d004ec14..befe1a6a49d 100755
--- a/configure
+++ b/configure
@@ -4549,8 +4549,7 @@ else
4549 emacs_xkb=no 4549 emacs_xkb=no
4550fi 4550fi
4551rm -f conftest* 4551rm -f conftest*
4552 echo $ac_n "checking $emacs_xkb""... $ac_c" 1>&6 4552 echo "$ac_t""$emacs_xkb" 1>&6
4553echo "configure:4554: checking $emacs_xkb" >&5
4554 if test $emacs_xkb = yes; then 4553 if test $emacs_xkb = yes; then
4555 cat >> confdefs.h <<\EOF 4554 cat >> confdefs.h <<\EOF
4556#define HAVE_XKBGETKEYBOARD 1 4555#define HAVE_XKBGETKEYBOARD 1
@@ -4562,12 +4561,12 @@ EOF
4562XScreenNumberOfScreen XSetWMProtocols 4561XScreenNumberOfScreen XSetWMProtocols
4563do 4562do
4564echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4563echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4565echo "configure:4566: checking for $ac_func" >&5 4564echo "configure:4565: checking for $ac_func" >&5
4566if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4565if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4567 echo $ac_n "(cached) $ac_c" 1>&6 4566 echo $ac_n "(cached) $ac_c" 1>&6
4568else 4567else
4569 cat > conftest.$ac_ext <<EOF 4568 cat > conftest.$ac_ext <<EOF
4570#line 4571 "configure" 4569#line 4570 "configure"
4571#include "confdefs.h" 4570#include "confdefs.h"
4572/* System header to define __stub macros and hopefully few prototypes, 4571/* System header to define __stub macros and hopefully few prototypes,
4573 which can conflict with char $ac_func(); below. */ 4572 which can conflict with char $ac_func(); below. */
@@ -4590,7 +4589,7 @@ $ac_func();
4590 4589
4591; return 0; } 4590; return 0; }
4592EOF 4591EOF
4593if { (eval echo configure:4594: \"$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
4594 rm -rf conftest* 4593 rm -rf conftest*
4595 eval "ac_cv_func_$ac_func=yes" 4594 eval "ac_cv_func_$ac_func=yes"
4596else 4595else
@@ -4618,12 +4617,12 @@ fi
4618 4617
4619if test "${window_system}" = "x11"; then 4618if test "${window_system}" = "x11"; then
4620 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4619 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4621echo "configure:4622: checking X11 version 6" >&5 4620echo "configure:4621: checking X11 version 6" >&5
4622 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4621 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4623 echo $ac_n "(cached) $ac_c" 1>&6 4622 echo $ac_n "(cached) $ac_c" 1>&6
4624else 4623else
4625 cat > conftest.$ac_ext <<EOF 4624 cat > conftest.$ac_ext <<EOF
4626#line 4627 "configure" 4625#line 4626 "configure"
4627#include "confdefs.h" 4626#include "confdefs.h"
4628#include <X11/Xlib.h> 4627#include <X11/Xlib.h>
4629int main() { 4628int main() {
@@ -4633,7 +4632,7 @@ fail;
4633 4632
4634; return 0; } 4633; return 0; }
4635EOF 4634EOF
4636if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4635if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4637 rm -rf conftest* 4636 rm -rf conftest*
4638 emacs_cv_x11_version_6=yes 4637 emacs_cv_x11_version_6=yes
4639else 4638else
@@ -4658,12 +4657,12 @@ fi
4658 4657
4659if test "${window_system}" = "x11"; then 4658if test "${window_system}" = "x11"; then
4660 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4659 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4661echo "configure:4662: checking X11 version 5" >&5 4660echo "configure:4661: checking X11 version 5" >&5
4662 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4661 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4663 echo $ac_n "(cached) $ac_c" 1>&6 4662 echo $ac_n "(cached) $ac_c" 1>&6
4664else 4663else
4665 cat > conftest.$ac_ext <<EOF 4664 cat > conftest.$ac_ext <<EOF
4666#line 4667 "configure" 4665#line 4666 "configure"
4667#include "confdefs.h" 4666#include "confdefs.h"
4668#include <X11/Xlib.h> 4667#include <X11/Xlib.h>
4669int main() { 4668int main() {
@@ -4673,7 +4672,7 @@ fail;
4673 4672
4674; return 0; } 4673; return 0; }
4675EOF 4674EOF
4676if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4675if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4677 rm -rf conftest* 4676 rm -rf conftest*
4678 emacs_cv_x11_version_5=yes 4677 emacs_cv_x11_version_5=yes
4679else 4678else
@@ -4701,12 +4700,12 @@ fi
4701if test x"${USE_X_TOOLKIT}" = xmaybe; then 4700if test x"${USE_X_TOOLKIT}" = xmaybe; then
4702 if test x"${HAVE_X11R5}" = xyes; then 4701 if test x"${HAVE_X11R5}" = xyes; then
4703 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4702 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4704echo "configure:4705: checking X11 version 5 with Xaw" >&5 4703echo "configure:4704: checking X11 version 5 with Xaw" >&5
4705 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4704 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4706 echo $ac_n "(cached) $ac_c" 1>&6 4705 echo $ac_n "(cached) $ac_c" 1>&6
4707else 4706else
4708 cat > conftest.$ac_ext <<EOF 4707 cat > conftest.$ac_ext <<EOF
4709#line 4710 "configure" 4708#line 4709 "configure"
4710#include "confdefs.h" 4709#include "confdefs.h"
4711 4710
4712#include <X11/Intrinsic.h> 4711#include <X11/Intrinsic.h>
@@ -4715,7 +4714,7 @@ int main() {
4715 4714
4716; return 0; } 4715; return 0; }
4717EOF 4716EOF
4718if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4717if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4719 rm -rf conftest* 4718 rm -rf conftest*
4720 emacs_cv_x11_version_5_with_xaw=yes 4719 emacs_cv_x11_version_5_with_xaw=yes
4721else 4720else
@@ -4743,12 +4742,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4743 4742
4744if test "${USE_X_TOOLKIT}" != "none"; then 4743if test "${USE_X_TOOLKIT}" != "none"; then
4745 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4744 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4746echo "configure:4747: checking X11 toolkit version" >&5 4745echo "configure:4746: checking X11 toolkit version" >&5
4747 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4746 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4748 echo $ac_n "(cached) $ac_c" 1>&6 4747 echo $ac_n "(cached) $ac_c" 1>&6
4749else 4748else
4750 cat > conftest.$ac_ext <<EOF 4749 cat > conftest.$ac_ext <<EOF
4751#line 4752 "configure" 4750#line 4751 "configure"
4752#include "confdefs.h" 4751#include "confdefs.h"
4753#include <X11/Intrinsic.h> 4752#include <X11/Intrinsic.h>
4754int main() { 4753int main() {
@@ -4758,7 +4757,7 @@ fail;
4758 4757
4759; return 0; } 4758; return 0; }
4760EOF 4759EOF
4761if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4760if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4762 rm -rf conftest* 4761 rm -rf conftest*
4763 emacs_cv_x11_toolkit_version_6=yes 4762 emacs_cv_x11_toolkit_version_6=yes
4764else 4763else
@@ -4788,7 +4787,7 @@ EOF
4788 LIBS="-lXt $LIBS" 4787 LIBS="-lXt $LIBS"
4789 fi 4788 fi
4790 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4789 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4791echo "configure:4792: checking for XmuConvertStandardSelection in -lXmu" >&5 4790echo "configure:4791: checking for XmuConvertStandardSelection in -lXmu" >&5
4792ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4791ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4793if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4792if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4794 echo $ac_n "(cached) $ac_c" 1>&6 4793 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4796,7 +4795,7 @@ else
4796 ac_save_LIBS="$LIBS" 4795 ac_save_LIBS="$LIBS"
4797LIBS="-lXmu $LIBS" 4796LIBS="-lXmu $LIBS"
4798cat > conftest.$ac_ext <<EOF 4797cat > conftest.$ac_ext <<EOF
4799#line 4800 "configure" 4798#line 4799 "configure"
4800#include "confdefs.h" 4799#include "confdefs.h"
4801/* Override any gcc2 internal prototype to avoid an error. */ 4800/* Override any gcc2 internal prototype to avoid an error. */
4802/* We use char because int might match the return type of a gcc2 4801/* We use char because int might match the return type of a gcc2
@@ -4807,7 +4806,7 @@ int main() {
4807XmuConvertStandardSelection() 4806XmuConvertStandardSelection()
4808; return 0; } 4807; return 0; }
4809EOF 4808EOF
4810if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4809if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4811 rm -rf conftest* 4810 rm -rf conftest*
4812 eval "ac_cv_lib_$ac_lib_var=yes" 4811 eval "ac_cv_lib_$ac_lib_var=yes"
4813else 4812else
@@ -4834,17 +4833,70 @@ else
4834 echo "$ac_t""no" 1>&6 4833 echo "$ac_t""no" 1>&6
4835fi 4834fi
4836 4835
4837 LIBS="$OLDLIBS" 4836 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
4837fi
4838
4839# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
4840if test "${HAVE_X11}" = "yes"; then
4841 if test "${USE_X_TOOLKIT}" != "none"; then
4842 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
4843echo "configure:4844: checking for XShapeQueryExtension in -lXext" >&5
4844ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
4845if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4846 echo $ac_n "(cached) $ac_c" 1>&6
4847else
4848 ac_save_LIBS="$LIBS"
4849LIBS="-lXext $LIBS"
4850cat > conftest.$ac_ext <<EOF
4851#line 4852 "configure"
4852#include "confdefs.h"
4853/* Override any gcc2 internal prototype to avoid an error. */
4854/* We use char because int might match the return type of a gcc2
4855 builtin and then its argument prototype would still apply. */
4856char XShapeQueryExtension();
4857
4858int main() {
4859XShapeQueryExtension()
4860; return 0; }
4861EOF
4862if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4863 rm -rf conftest*
4864 eval "ac_cv_lib_$ac_lib_var=yes"
4865else
4866 echo "configure: failed program was:" >&5
4867 cat conftest.$ac_ext >&5
4868 rm -rf conftest*
4869 eval "ac_cv_lib_$ac_lib_var=no"
4870fi
4871rm -f conftest*
4872LIBS="$ac_save_LIBS"
4873
4874fi
4875if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4876 echo "$ac_t""yes" 1>&6
4877 ac_tr_lib=HAVE_LIB`echo Xext | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4878 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4879 cat >> confdefs.h <<EOF
4880#define $ac_tr_lib 1
4881EOF
4882
4883 LIBS="-lXext $LIBS"
4884
4885else
4886 echo "$ac_t""no" 1>&6
4887fi
4888
4889 fi
4838fi 4890fi
4839 4891
4840if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4892if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4841 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4893 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4842echo "configure:4843: checking for Motif version 2.1" >&5 4894echo "configure:4895: checking for Motif version 2.1" >&5
4843if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4895if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4844 echo $ac_n "(cached) $ac_c" 1>&6 4896 echo $ac_n "(cached) $ac_c" 1>&6
4845else 4897else
4846 cat > conftest.$ac_ext <<EOF 4898 cat > conftest.$ac_ext <<EOF
4847#line 4848 "configure" 4899#line 4900 "configure"
4848#include "confdefs.h" 4900#include "confdefs.h"
4849#include <Xm/Xm.h> 4901#include <Xm/Xm.h>
4850int main() { 4902int main() {
@@ -4855,7 +4907,7 @@ Motif version prior to 2.1.
4855#endif 4907#endif
4856; return 0; } 4908; return 0; }
4857EOF 4909EOF
4858if { (eval echo configure:4859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4910if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4859 rm -rf conftest* 4911 rm -rf conftest*
4860 emacs_cv_motif_version_2_1=yes 4912 emacs_cv_motif_version_2_1=yes
4861else 4913else
@@ -4876,15 +4928,15 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4876EOF 4928EOF
4877 4929
4878 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4930 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4879echo "configure:4880: checking for XpCreateContext in -lXp" >&5 4931echo "configure:4932: checking for XpCreateContext in -lXp" >&5
4880ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4932ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4881if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4933if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4882 echo $ac_n "(cached) $ac_c" 1>&6 4934 echo $ac_n "(cached) $ac_c" 1>&6
4883else 4935else
4884 ac_save_LIBS="$LIBS" 4936 ac_save_LIBS="$LIBS"
4885LIBS="-lXp -lXext $LIBS" 4937LIBS="-lXp $LIBS"
4886cat > conftest.$ac_ext <<EOF 4938cat > conftest.$ac_ext <<EOF
4887#line 4888 "configure" 4939#line 4940 "configure"
4888#include "confdefs.h" 4940#include "confdefs.h"
4889/* Override any gcc2 internal prototype to avoid an error. */ 4941/* Override any gcc2 internal prototype to avoid an error. */
4890/* We use char because int might match the return type of a gcc2 4942/* We use char because int might match the return type of a gcc2
@@ -4895,7 +4947,7 @@ int main() {
4895XpCreateContext() 4947XpCreateContext()
4896; return 0; } 4948; return 0; }
4897EOF 4949EOF
4898if { (eval echo configure:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4950if { (eval echo configure:4951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4899 rm -rf conftest* 4951 rm -rf conftest*
4900 eval "ac_cv_lib_$ac_lib_var=yes" 4952 eval "ac_cv_lib_$ac_lib_var=yes"
4901else 4953else
@@ -4928,21 +4980,19 @@ fi
4928HAVE_XAW3D=no 4980HAVE_XAW3D=no
4929if test "${HAVE_X11}" = "yes"; then 4981if test "${HAVE_X11}" = "yes"; then
4930 if test "${USE_X_TOOLKIT}" != "none"; then 4982 if test "${USE_X_TOOLKIT}" != "none"; then
4931 old_c_flags="${CFLAGS}"
4932 CFLAGS="${LD_SWITCH_X_SITE}"
4933 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4983 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4934echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4984echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4935echo "configure:4936: checking for X11/Xaw3d/Scrollbar.h" >&5 4985echo "configure:4986: checking for X11/Xaw3d/Scrollbar.h" >&5
4936if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4986if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4937 echo $ac_n "(cached) $ac_c" 1>&6 4987 echo $ac_n "(cached) $ac_c" 1>&6
4938else 4988else
4939 cat > conftest.$ac_ext <<EOF 4989 cat > conftest.$ac_ext <<EOF
4940#line 4941 "configure" 4990#line 4991 "configure"
4941#include "confdefs.h" 4991#include "confdefs.h"
4942#include <X11/Xaw3d/Scrollbar.h> 4992#include <X11/Xaw3d/Scrollbar.h>
4943EOF 4993EOF
4944ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4994ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4945{ (eval echo configure:4946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4995{ (eval echo configure:4996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4946ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4996ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4947if test -z "$ac_err"; then 4997if test -z "$ac_err"; then
4948 rm -rf conftest* 4998 rm -rf conftest*
@@ -4959,15 +5009,15 @@ fi
4959if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5009if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4960 echo "$ac_t""yes" 1>&6 5010 echo "$ac_t""yes" 1>&6
4961 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 5011 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4962echo "configure:4963: checking for XawScrollbarSetThumb in -lXaw3d" >&5 5012echo "configure:5013: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4963ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 5013ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5014if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4965 echo $ac_n "(cached) $ac_c" 1>&6 5015 echo $ac_n "(cached) $ac_c" 1>&6
4966else 5016else
4967 ac_save_LIBS="$LIBS" 5017 ac_save_LIBS="$LIBS"
4968LIBS="-lXaw3d -lX11 $LIBS" 5018LIBS="-lXaw3d $LIBS"
4969cat > conftest.$ac_ext <<EOF 5019cat > conftest.$ac_ext <<EOF
4970#line 4971 "configure" 5020#line 5021 "configure"
4971#include "confdefs.h" 5021#include "confdefs.h"
4972/* Override any gcc2 internal prototype to avoid an error. */ 5022/* Override any gcc2 internal prototype to avoid an error. */
4973/* We use char because int might match the return type of a gcc2 5023/* We use char because int might match the return type of a gcc2
@@ -4978,7 +5028,7 @@ int main() {
4978XawScrollbarSetThumb() 5028XawScrollbarSetThumb()
4979; return 0; } 5029; return 0; }
4980EOF 5030EOF
4981if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5031if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4982 rm -rf conftest* 5032 rm -rf conftest*
4983 eval "ac_cv_lib_$ac_lib_var=yes" 5033 eval "ac_cv_lib_$ac_lib_var=yes"
4984else 5034else
@@ -5002,8 +5052,6 @@ else
5002 echo "$ac_t""no" 1>&6 5052 echo "$ac_t""no" 1>&6
5003fi 5053fi
5004 5054
5005 CFLAGS="${old_c_flags}"
5006
5007 if test "${HAVE_XAW3D}" = "yes"; then 5055 if test "${HAVE_XAW3D}" = "yes"; then
5008 cat >> confdefs.h <<\EOF 5056 cat >> confdefs.h <<\EOF
5009#define HAVE_XAW3D 1 5057#define HAVE_XAW3D 1
@@ -5046,21 +5094,19 @@ fi
5046HAVE_XPM=no 5094HAVE_XPM=no
5047if test "${HAVE_X11}" = "yes"; then 5095if test "${HAVE_X11}" = "yes"; then
5048 if test "${with_xpm}" != "no"; then 5096 if test "${with_xpm}" != "no"; then
5049 old_c_flags="${CFLAGS}"
5050 CFLAGS="${LD_SWITCH_X_SITE}"
5051 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 5097 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
5052echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 5098echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
5053echo "configure:5054: checking for X11/xpm.h" >&5 5099echo "configure:5100: checking for X11/xpm.h" >&5
5054if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5100if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5055 echo $ac_n "(cached) $ac_c" 1>&6 5101 echo $ac_n "(cached) $ac_c" 1>&6
5056else 5102else
5057 cat > conftest.$ac_ext <<EOF 5103 cat > conftest.$ac_ext <<EOF
5058#line 5059 "configure" 5104#line 5105 "configure"
5059#include "confdefs.h" 5105#include "confdefs.h"
5060#include <X11/xpm.h> 5106#include <X11/xpm.h>
5061EOF 5107EOF
5062ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5108ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5063{ (eval echo configure:5064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5109{ (eval echo configure:5110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5064ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5110ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5065if test -z "$ac_err"; then 5111if test -z "$ac_err"; then
5066 rm -rf conftest* 5112 rm -rf conftest*
@@ -5077,7 +5123,7 @@ fi
5077if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5123if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5078 echo "$ac_t""yes" 1>&6 5124 echo "$ac_t""yes" 1>&6
5079 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 5125 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
5080echo "configure:5081: checking for XpmReadFileToPixmap in -lXpm" >&5 5126echo "configure:5127: checking for XpmReadFileToPixmap in -lXpm" >&5
5081ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 5127ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
5082if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5128if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5083 echo $ac_n "(cached) $ac_c" 1>&6 5129 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5085,7 +5131,7 @@ else
5085 ac_save_LIBS="$LIBS" 5131 ac_save_LIBS="$LIBS"
5086LIBS="-lXpm -lX11 $LIBS" 5132LIBS="-lXpm -lX11 $LIBS"
5087cat > conftest.$ac_ext <<EOF 5133cat > conftest.$ac_ext <<EOF
5088#line 5089 "configure" 5134#line 5135 "configure"
5089#include "confdefs.h" 5135#include "confdefs.h"
5090/* Override any gcc2 internal prototype to avoid an error. */ 5136/* Override any gcc2 internal prototype to avoid an error. */
5091/* We use char because int might match the return type of a gcc2 5137/* We use char because int might match the return type of a gcc2
@@ -5096,7 +5142,7 @@ int main() {
5096XpmReadFileToPixmap() 5142XpmReadFileToPixmap()
5097; return 0; } 5143; return 0; }
5098EOF 5144EOF
5099if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5145if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5100 rm -rf conftest* 5146 rm -rf conftest*
5101 eval "ac_cv_lib_$ac_lib_var=yes" 5147 eval "ac_cv_lib_$ac_lib_var=yes"
5102else 5148else
@@ -5122,9 +5168,9 @@ fi
5122 5168
5123 if test "${HAVE_XPM}" = "yes"; then 5169 if test "${HAVE_XPM}" = "yes"; then
5124 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 5170 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6
5125echo "configure:5126: checking for XpmReturnAllocPixels preprocessor define" >&5 5171echo "configure:5172: checking for XpmReturnAllocPixels preprocessor define" >&5
5126 cat > conftest.$ac_ext <<EOF 5172 cat > conftest.$ac_ext <<EOF
5127#line 5128 "configure" 5173#line 5174 "configure"
5128#include "confdefs.h" 5174#include "confdefs.h"
5129#include "X11/xpm.h" 5175#include "X11/xpm.h"
5130#ifndef XpmReturnAllocPixels 5176#ifndef XpmReturnAllocPixels
@@ -5143,7 +5189,6 @@ fi
5143rm -f conftest* 5189rm -f conftest*
5144 5190
5145 fi 5191 fi
5146 CFLAGS="${old_c_flags}"
5147 if test "${HAVE_XPM}" = "yes"; then 5192 if test "${HAVE_XPM}" = "yes"; then
5148 echo "$ac_t""yes" 1>&6 5193 echo "$ac_t""yes" 1>&6
5149 else 5194 else
@@ -5163,21 +5208,19 @@ fi
5163HAVE_JPEG=no 5208HAVE_JPEG=no
5164if test "${HAVE_X11}" = "yes"; then 5209if test "${HAVE_X11}" = "yes"; then
5165 if test "${with_jpeg}" != "no"; then 5210 if test "${with_jpeg}" != "no"; then
5166 old_c_flags="${CFLAGS}"
5167 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5168 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 5211 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
5169echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 5212echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
5170echo "configure:5171: checking for jerror.h" >&5 5213echo "configure:5214: checking for jerror.h" >&5
5171if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5214if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5172 echo $ac_n "(cached) $ac_c" 1>&6 5215 echo $ac_n "(cached) $ac_c" 1>&6
5173else 5216else
5174 cat > conftest.$ac_ext <<EOF 5217 cat > conftest.$ac_ext <<EOF
5175#line 5176 "configure" 5218#line 5219 "configure"
5176#include "confdefs.h" 5219#include "confdefs.h"
5177#include <jerror.h> 5220#include <jerror.h>
5178EOF 5221EOF
5179ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5222ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5180{ (eval echo configure:5181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5223{ (eval echo configure:5224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5181ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5224ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5182if test -z "$ac_err"; then 5225if test -z "$ac_err"; then
5183 rm -rf conftest* 5226 rm -rf conftest*
@@ -5194,15 +5237,15 @@ fi
5194if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5237if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5195 echo "$ac_t""yes" 1>&6 5238 echo "$ac_t""yes" 1>&6
5196 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 5239 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
5197echo "configure:5198: checking for jpeg_destroy_compress in -ljpeg" >&5 5240echo "configure:5241: checking for jpeg_destroy_compress in -ljpeg" >&5
5198ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 5241ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
5199if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5242if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5200 echo $ac_n "(cached) $ac_c" 1>&6 5243 echo $ac_n "(cached) $ac_c" 1>&6
5201else 5244else
5202 ac_save_LIBS="$LIBS" 5245 ac_save_LIBS="$LIBS"
5203LIBS="-ljpeg -lX11 $LIBS" 5246LIBS="-ljpeg $LIBS"
5204cat > conftest.$ac_ext <<EOF 5247cat > conftest.$ac_ext <<EOF
5205#line 5206 "configure" 5248#line 5249 "configure"
5206#include "confdefs.h" 5249#include "confdefs.h"
5207/* Override any gcc2 internal prototype to avoid an error. */ 5250/* Override any gcc2 internal prototype to avoid an error. */
5208/* We use char because int might match the return type of a gcc2 5251/* We use char because int might match the return type of a gcc2
@@ -5213,7 +5256,7 @@ int main() {
5213jpeg_destroy_compress() 5256jpeg_destroy_compress()
5214; return 0; } 5257; return 0; }
5215EOF 5258EOF
5216if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5259if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5217 rm -rf conftest* 5260 rm -rf conftest*
5218 eval "ac_cv_lib_$ac_lib_var=yes" 5261 eval "ac_cv_lib_$ac_lib_var=yes"
5219else 5262else
@@ -5237,7 +5280,6 @@ else
5237 echo "$ac_t""no" 1>&6 5280 echo "$ac_t""no" 1>&6
5238fi 5281fi
5239 5282
5240 CFLAGS="${old_c_flags}"
5241 fi 5283 fi
5242 5284
5243 if test "${HAVE_JPEG}" = "yes"; then 5285 if test "${HAVE_JPEG}" = "yes"; then
@@ -5252,21 +5294,19 @@ fi
5252HAVE_PNG=no 5294HAVE_PNG=no
5253if test "${HAVE_X11}" = "yes"; then 5295if test "${HAVE_X11}" = "yes"; then
5254 if test "${with_png}" != "no"; then 5296 if test "${with_png}" != "no"; then
5255 old_c_flags="${CFLAGS}"
5256 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5257 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 5297 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
5258echo $ac_n "checking for png.h""... $ac_c" 1>&6 5298echo $ac_n "checking for png.h""... $ac_c" 1>&6
5259echo "configure:5260: checking for png.h" >&5 5299echo "configure:5300: checking for png.h" >&5
5260if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5300if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5261 echo $ac_n "(cached) $ac_c" 1>&6 5301 echo $ac_n "(cached) $ac_c" 1>&6
5262else 5302else
5263 cat > conftest.$ac_ext <<EOF 5303 cat > conftest.$ac_ext <<EOF
5264#line 5265 "configure" 5304#line 5305 "configure"
5265#include "confdefs.h" 5305#include "confdefs.h"
5266#include <png.h> 5306#include <png.h>
5267EOF 5307EOF
5268ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5308ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5269{ (eval echo configure:5270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5309{ (eval echo configure:5310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5270ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5310ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5271if test -z "$ac_err"; then 5311if test -z "$ac_err"; then
5272 rm -rf conftest* 5312 rm -rf conftest*
@@ -5283,15 +5323,15 @@ fi
5283if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5323if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5284 echo "$ac_t""yes" 1>&6 5324 echo "$ac_t""yes" 1>&6
5285 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 5325 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6
5286echo "configure:5287: checking for png_get_channels in -lpng" >&5 5326echo "configure:5327: checking for png_get_channels in -lpng" >&5
5287ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` 5327ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'`
5288if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5328if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5289 echo $ac_n "(cached) $ac_c" 1>&6 5329 echo $ac_n "(cached) $ac_c" 1>&6
5290else 5330else
5291 ac_save_LIBS="$LIBS" 5331 ac_save_LIBS="$LIBS"
5292LIBS="-lpng -lX11 -lz -lm $LIBS" 5332LIBS="-lpng -lz -lm $LIBS"
5293cat > conftest.$ac_ext <<EOF 5333cat > conftest.$ac_ext <<EOF
5294#line 5295 "configure" 5334#line 5335 "configure"
5295#include "confdefs.h" 5335#include "confdefs.h"
5296/* Override any gcc2 internal prototype to avoid an error. */ 5336/* Override any gcc2 internal prototype to avoid an error. */
5297/* We use char because int might match the return type of a gcc2 5337/* We use char because int might match the return type of a gcc2
@@ -5302,7 +5342,7 @@ int main() {
5302png_get_channels() 5342png_get_channels()
5303; return 0; } 5343; return 0; }
5304EOF 5344EOF
5305if { (eval echo configure:5306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5345if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5306 rm -rf conftest* 5346 rm -rf conftest*
5307 eval "ac_cv_lib_$ac_lib_var=yes" 5347 eval "ac_cv_lib_$ac_lib_var=yes"
5308else 5348else
@@ -5326,7 +5366,6 @@ else
5326 echo "$ac_t""no" 1>&6 5366 echo "$ac_t""no" 1>&6
5327fi 5367fi
5328 5368
5329 CFLAGS="${old_c_flags}"
5330 fi 5369 fi
5331 5370
5332 if test "${HAVE_PNG}" = "yes"; then 5371 if test "${HAVE_PNG}" = "yes"; then
@@ -5341,21 +5380,19 @@ fi
5341HAVE_TIFF=no 5380HAVE_TIFF=no
5342if test "${HAVE_X11}" = "yes"; then 5381if test "${HAVE_X11}" = "yes"; then
5343 if test "${with_tiff}" != "no"; then 5382 if test "${with_tiff}" != "no"; then
5344 old_c_flags="${CFLAGS}"
5345 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5346 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 5383 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
5347echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 5384echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
5348echo "configure:5349: checking for tiffio.h" >&5 5385echo "configure:5386: checking for tiffio.h" >&5
5349if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5386if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5350 echo $ac_n "(cached) $ac_c" 1>&6 5387 echo $ac_n "(cached) $ac_c" 1>&6
5351else 5388else
5352 cat > conftest.$ac_ext <<EOF 5389 cat > conftest.$ac_ext <<EOF
5353#line 5354 "configure" 5390#line 5391 "configure"
5354#include "confdefs.h" 5391#include "confdefs.h"
5355#include <tiffio.h> 5392#include <tiffio.h>
5356EOF 5393EOF
5357ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5394ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5358{ (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5395{ (eval echo configure:5396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5359ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5396ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5360if test -z "$ac_err"; then 5397if test -z "$ac_err"; then
5361 rm -rf conftest* 5398 rm -rf conftest*
@@ -5371,11 +5408,11 @@ rm -f conftest*
5371fi 5408fi
5372if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5409if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5373 echo "$ac_t""yes" 1>&6 5410 echo "$ac_t""yes" 1>&6
5374 tifflibs="-lX11 -lz -lm" 5411 tifflibs="-lz -lm"
5375 # At least one tiff package requires the jpeg library. 5412 # At least one tiff package requires the jpeg library.
5376 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 5413 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
5377 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 5414 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
5378echo "configure:5379: checking for TIFFGetVersion in -ltiff" >&5 5415echo "configure:5416: checking for TIFFGetVersion in -ltiff" >&5
5379ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 5416ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
5380if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5417if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5381 echo $ac_n "(cached) $ac_c" 1>&6 5418 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5383,7 +5420,7 @@ else
5383 ac_save_LIBS="$LIBS" 5420 ac_save_LIBS="$LIBS"
5384LIBS="-ltiff $tifflibs $LIBS" 5421LIBS="-ltiff $tifflibs $LIBS"
5385cat > conftest.$ac_ext <<EOF 5422cat > conftest.$ac_ext <<EOF
5386#line 5387 "configure" 5423#line 5424 "configure"
5387#include "confdefs.h" 5424#include "confdefs.h"
5388/* Override any gcc2 internal prototype to avoid an error. */ 5425/* Override any gcc2 internal prototype to avoid an error. */
5389/* We use char because int might match the return type of a gcc2 5426/* We use char because int might match the return type of a gcc2
@@ -5394,7 +5431,7 @@ int main() {
5394TIFFGetVersion() 5431TIFFGetVersion()
5395; return 0; } 5432; return 0; }
5396EOF 5433EOF
5397if { (eval echo configure:5398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5434if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5398 rm -rf conftest* 5435 rm -rf conftest*
5399 eval "ac_cv_lib_$ac_lib_var=yes" 5436 eval "ac_cv_lib_$ac_lib_var=yes"
5400else 5437else
@@ -5418,7 +5455,6 @@ else
5418 echo "$ac_t""no" 1>&6 5455 echo "$ac_t""no" 1>&6
5419fi 5456fi
5420 5457
5421 CFLAGS="${old_c_flags}"
5422 fi 5458 fi
5423 5459
5424 if test "${HAVE_TIFF}" = "yes"; then 5460 if test "${HAVE_TIFF}" = "yes"; then
@@ -5433,21 +5469,19 @@ fi
5433HAVE_GIF=no 5469HAVE_GIF=no
5434if test "${HAVE_X11}" = "yes"; then 5470if test "${HAVE_X11}" = "yes"; then
5435 if test "${with_gif}" != "no"; then 5471 if test "${with_gif}" != "no"; then
5436 old_c_flags="${CFLAGS}"
5437 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5438 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 5472 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
5439echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 5473echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
5440echo "configure:5441: checking for gif_lib.h" >&5 5474echo "configure:5475: checking for gif_lib.h" >&5
5441if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5475if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5442 echo $ac_n "(cached) $ac_c" 1>&6 5476 echo $ac_n "(cached) $ac_c" 1>&6
5443else 5477else
5444 cat > conftest.$ac_ext <<EOF 5478 cat > conftest.$ac_ext <<EOF
5445#line 5446 "configure" 5479#line 5480 "configure"
5446#include "confdefs.h" 5480#include "confdefs.h"
5447#include <gif_lib.h> 5481#include <gif_lib.h>
5448EOF 5482EOF
5449ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5483ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5450{ (eval echo configure:5451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5484{ (eval echo configure:5485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5451ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5485ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5452if test -z "$ac_err"; then 5486if test -z "$ac_err"; then
5453 rm -rf conftest* 5487 rm -rf conftest*
@@ -5464,15 +5498,15 @@ fi
5464if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5498if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5465 echo "$ac_t""yes" 1>&6 5499 echo "$ac_t""yes" 1>&6
5466 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 5500 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
5467echo "configure:5468: checking for DGifOpen in -lungif" >&5 5501echo "configure:5502: checking for DGifOpen in -lungif" >&5
5468ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 5502ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
5469if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5503if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5470 echo $ac_n "(cached) $ac_c" 1>&6 5504 echo $ac_n "(cached) $ac_c" 1>&6
5471else 5505else
5472 ac_save_LIBS="$LIBS" 5506 ac_save_LIBS="$LIBS"
5473LIBS="-lungif -lX11 $LIBS" 5507LIBS="-lungif $LIBS"
5474cat > conftest.$ac_ext <<EOF 5508cat > conftest.$ac_ext <<EOF
5475#line 5476 "configure" 5509#line 5510 "configure"
5476#include "confdefs.h" 5510#include "confdefs.h"
5477/* Override any gcc2 internal prototype to avoid an error. */ 5511/* Override any gcc2 internal prototype to avoid an error. */
5478/* We use char because int might match the return type of a gcc2 5512/* We use char because int might match the return type of a gcc2
@@ -5483,7 +5517,7 @@ int main() {
5483DGifOpen() 5517DGifOpen()
5484; return 0; } 5518; return 0; }
5485EOF 5519EOF
5486if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5520if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5487 rm -rf conftest* 5521 rm -rf conftest*
5488 eval "ac_cv_lib_$ac_lib_var=yes" 5522 eval "ac_cv_lib_$ac_lib_var=yes"
5489else 5523else
@@ -5507,7 +5541,6 @@ else
5507 echo "$ac_t""no" 1>&6 5541 echo "$ac_t""no" 1>&6
5508fi 5542fi
5509 5543
5510 CFLAGS="${old_c_flags}"
5511 fi 5544 fi
5512 5545
5513 if test "${HAVE_GIF}" = "yes"; then 5546 if test "${HAVE_GIF}" = "yes"; then
@@ -5520,19 +5553,19 @@ fi
5520 5553
5521# If netdb.h doesn't declare h_errno, we must declare it by hand. 5554# If netdb.h doesn't declare h_errno, we must declare it by hand.
5522echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5555echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
5523echo "configure:5524: checking whether netdb declares h_errno" >&5 5556echo "configure:5557: checking whether netdb declares h_errno" >&5
5524if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5557if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
5525 echo $ac_n "(cached) $ac_c" 1>&6 5558 echo $ac_n "(cached) $ac_c" 1>&6
5526else 5559else
5527 cat > conftest.$ac_ext <<EOF 5560 cat > conftest.$ac_ext <<EOF
5528#line 5529 "configure" 5561#line 5562 "configure"
5529#include "confdefs.h" 5562#include "confdefs.h"
5530#include <netdb.h> 5563#include <netdb.h>
5531int main() { 5564int main() {
5532return h_errno; 5565return h_errno;
5533; return 0; } 5566; return 0; }
5534EOF 5567EOF
5535if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5568if { (eval echo configure:5569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5536 rm -rf conftest* 5569 rm -rf conftest*
5537 emacs_cv_netdb_declares_h_errno=yes 5570 emacs_cv_netdb_declares_h_errno=yes
5538else 5571else
@@ -5555,19 +5588,19 @@ fi
5555# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5588# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5556# for constant arguments. Useless! 5589# for constant arguments. Useless!
5557echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5590echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5558echo "configure:5559: checking for working alloca.h" >&5 5591echo "configure:5592: checking for working alloca.h" >&5
5559if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5592if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5560 echo $ac_n "(cached) $ac_c" 1>&6 5593 echo $ac_n "(cached) $ac_c" 1>&6
5561else 5594else
5562 cat > conftest.$ac_ext <<EOF 5595 cat > conftest.$ac_ext <<EOF
5563#line 5564 "configure" 5596#line 5597 "configure"
5564#include "confdefs.h" 5597#include "confdefs.h"
5565#include <alloca.h> 5598#include <alloca.h>
5566int main() { 5599int main() {
5567char *p = alloca(2 * sizeof(int)); 5600char *p = alloca(2 * sizeof(int));
5568; return 0; } 5601; return 0; }
5569EOF 5602EOF
5570if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5603if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5571 rm -rf conftest* 5604 rm -rf conftest*
5572 ac_cv_header_alloca_h=yes 5605 ac_cv_header_alloca_h=yes
5573else 5606else
@@ -5588,12 +5621,12 @@ EOF
5588fi 5621fi
5589 5622
5590echo $ac_n "checking for alloca""... $ac_c" 1>&6 5623echo $ac_n "checking for alloca""... $ac_c" 1>&6
5591echo "configure:5592: checking for alloca" >&5 5624echo "configure:5625: checking for alloca" >&5
5592if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5625if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5593 echo $ac_n "(cached) $ac_c" 1>&6 5626 echo $ac_n "(cached) $ac_c" 1>&6
5594else 5627else
5595 cat > conftest.$ac_ext <<EOF 5628 cat > conftest.$ac_ext <<EOF
5596#line 5597 "configure" 5629#line 5630 "configure"
5597#include "confdefs.h" 5630#include "confdefs.h"
5598 5631
5599#ifdef __GNUC__ 5632#ifdef __GNUC__
@@ -5621,7 +5654,7 @@ int main() {
5621char *p = (char *) alloca(1); 5654char *p = (char *) alloca(1);
5622; return 0; } 5655; return 0; }
5623EOF 5656EOF
5624if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5657if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5625 rm -rf conftest* 5658 rm -rf conftest*
5626 ac_cv_func_alloca_works=yes 5659 ac_cv_func_alloca_works=yes
5627else 5660else
@@ -5653,12 +5686,12 @@ EOF
5653 5686
5654 5687
5655echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5688echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5656echo "configure:5657: checking whether alloca needs Cray hooks" >&5 5689echo "configure:5690: checking whether alloca needs Cray hooks" >&5
5657if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5690if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5658 echo $ac_n "(cached) $ac_c" 1>&6 5691 echo $ac_n "(cached) $ac_c" 1>&6
5659else 5692else
5660 cat > conftest.$ac_ext <<EOF 5693 cat > conftest.$ac_ext <<EOF
5661#line 5662 "configure" 5694#line 5695 "configure"
5662#include "confdefs.h" 5695#include "confdefs.h"
5663#if defined(CRAY) && ! defined(CRAY2) 5696#if defined(CRAY) && ! defined(CRAY2)
5664webecray 5697webecray
@@ -5683,12 +5716,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5683if test $ac_cv_os_cray = yes; then 5716if test $ac_cv_os_cray = yes; then
5684for ac_func in _getb67 GETB67 getb67; do 5717for ac_func in _getb67 GETB67 getb67; do
5685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5686echo "configure:5687: checking for $ac_func" >&5 5719echo "configure:5720: checking for $ac_func" >&5
5687if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5720if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5688 echo $ac_n "(cached) $ac_c" 1>&6 5721 echo $ac_n "(cached) $ac_c" 1>&6
5689else 5722else
5690 cat > conftest.$ac_ext <<EOF 5723 cat > conftest.$ac_ext <<EOF
5691#line 5692 "configure" 5724#line 5725 "configure"
5692#include "confdefs.h" 5725#include "confdefs.h"
5693/* System header to define __stub macros and hopefully few prototypes, 5726/* System header to define __stub macros and hopefully few prototypes,
5694 which can conflict with char $ac_func(); below. */ 5727 which can conflict with char $ac_func(); below. */
@@ -5711,7 +5744,7 @@ $ac_func();
5711 5744
5712; return 0; } 5745; return 0; }
5713EOF 5746EOF
5714if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5747if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5715 rm -rf conftest* 5748 rm -rf conftest*
5716 eval "ac_cv_func_$ac_func=yes" 5749 eval "ac_cv_func_$ac_func=yes"
5717else 5750else
@@ -5738,7 +5771,7 @@ done
5738fi 5771fi
5739 5772
5740echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5773echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5741echo "configure:5742: checking stack direction for C alloca" >&5 5774echo "configure:5775: checking stack direction for C alloca" >&5
5742if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5775if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5743 echo $ac_n "(cached) $ac_c" 1>&6 5776 echo $ac_n "(cached) $ac_c" 1>&6
5744else 5777else
@@ -5746,7 +5779,7 @@ else
5746 ac_cv_c_stack_direction=0 5779 ac_cv_c_stack_direction=0
5747else 5780else
5748 cat > conftest.$ac_ext <<EOF 5781 cat > conftest.$ac_ext <<EOF
5749#line 5750 "configure" 5782#line 5783 "configure"
5750#include "confdefs.h" 5783#include "confdefs.h"
5751find_stack_direction () 5784find_stack_direction ()
5752{ 5785{
@@ -5765,7 +5798,7 @@ main ()
5765 exit (find_stack_direction() < 0); 5798 exit (find_stack_direction() < 0);
5766} 5799}
5767EOF 5800EOF
5768if { (eval echo configure:5769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5801if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5769then 5802then
5770 ac_cv_c_stack_direction=1 5803 ac_cv_c_stack_direction=1
5771else 5804else
@@ -5790,7 +5823,7 @@ fi
5790# fmod, logb, and frexp are found in -lm on most systems. 5823# fmod, logb, and frexp are found in -lm on most systems.
5791# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5824# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5792echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5825echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5793echo "configure:5794: checking for sqrt in -lm" >&5 5826echo "configure:5827: checking for sqrt in -lm" >&5
5794ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5827ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5795if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5828if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5796 echo $ac_n "(cached) $ac_c" 1>&6 5829 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5798,7 +5831,7 @@ else
5798 ac_save_LIBS="$LIBS" 5831 ac_save_LIBS="$LIBS"
5799LIBS="-lm $LIBS" 5832LIBS="-lm $LIBS"
5800cat > conftest.$ac_ext <<EOF 5833cat > conftest.$ac_ext <<EOF
5801#line 5802 "configure" 5834#line 5835 "configure"
5802#include "confdefs.h" 5835#include "confdefs.h"
5803/* Override any gcc2 internal prototype to avoid an error. */ 5836/* Override any gcc2 internal prototype to avoid an error. */
5804/* We use char because int might match the return type of a gcc2 5837/* We use char because int might match the return type of a gcc2
@@ -5809,7 +5842,7 @@ int main() {
5809sqrt() 5842sqrt()
5810; return 0; } 5843; return 0; }
5811EOF 5844EOF
5812if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5845if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5813 rm -rf conftest* 5846 rm -rf conftest*
5814 eval "ac_cv_lib_$ac_lib_var=yes" 5847 eval "ac_cv_lib_$ac_lib_var=yes"
5815else 5848else
@@ -5839,7 +5872,7 @@ fi
5839 5872
5840# Check for mail-locking functions in a "mail" library 5873# Check for mail-locking functions in a "mail" library
5841echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5874echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5842echo "configure:5843: checking for maillock in -lmail" >&5 5875echo "configure:5876: checking for maillock in -lmail" >&5
5843ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5876ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5844if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5877if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5845 echo $ac_n "(cached) $ac_c" 1>&6 5878 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5847,7 +5880,7 @@ else
5847 ac_save_LIBS="$LIBS" 5880 ac_save_LIBS="$LIBS"
5848LIBS="-lmail $LIBS" 5881LIBS="-lmail $LIBS"
5849cat > conftest.$ac_ext <<EOF 5882cat > conftest.$ac_ext <<EOF
5850#line 5851 "configure" 5883#line 5884 "configure"
5851#include "confdefs.h" 5884#include "confdefs.h"
5852/* Override any gcc2 internal prototype to avoid an error. */ 5885/* Override any gcc2 internal prototype to avoid an error. */
5853/* We use char because int might match the return type of a gcc2 5886/* We use char because int might match the return type of a gcc2
@@ -5858,7 +5891,7 @@ int main() {
5858maillock() 5891maillock()
5859; return 0; } 5892; return 0; }
5860EOF 5893EOF
5861if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5894if { (eval echo configure:5895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5862 rm -rf conftest* 5895 rm -rf conftest*
5863 eval "ac_cv_lib_$ac_lib_var=yes" 5896 eval "ac_cv_lib_$ac_lib_var=yes"
5864else 5897else
@@ -5886,7 +5919,7 @@ else
5886fi 5919fi
5887 5920
5888echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5921echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5889echo "configure:5890: checking for maillock in -llockfile" >&5 5922echo "configure:5923: checking for maillock in -llockfile" >&5
5890ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5923ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5891if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5924if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5892 echo $ac_n "(cached) $ac_c" 1>&6 5925 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5894,7 +5927,7 @@ else
5894 ac_save_LIBS="$LIBS" 5927 ac_save_LIBS="$LIBS"
5895LIBS="-llockfile $LIBS" 5928LIBS="-llockfile $LIBS"
5896cat > conftest.$ac_ext <<EOF 5929cat > conftest.$ac_ext <<EOF
5897#line 5898 "configure" 5930#line 5931 "configure"
5898#include "confdefs.h" 5931#include "confdefs.h"
5899/* Override any gcc2 internal prototype to avoid an error. */ 5932/* Override any gcc2 internal prototype to avoid an error. */
5900/* We use char because int might match the return type of a gcc2 5933/* We use char because int might match the return type of a gcc2
@@ -5905,7 +5938,7 @@ int main() {
5905maillock() 5938maillock()
5906; return 0; } 5939; return 0; }
5907EOF 5940EOF
5908if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5941if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5909 rm -rf conftest* 5942 rm -rf conftest*
5910 eval "ac_cv_lib_$ac_lib_var=yes" 5943 eval "ac_cv_lib_$ac_lib_var=yes"
5911else 5944else
@@ -5939,7 +5972,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5939 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5972 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5940set dummy liblockfile.so; ac_word=$2 5973set dummy liblockfile.so; ac_word=$2
5941echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5974echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5942echo "configure:5943: checking for $ac_word" >&5 5975echo "configure:5976: checking for $ac_word" >&5
5943if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5976if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5944 echo $ac_n "(cached) $ac_c" 1>&6 5977 echo $ac_n "(cached) $ac_c" 1>&6
5945else 5978else
@@ -5980,12 +6013,12 @@ fi
5980for ac_func in touchlock 6013for ac_func in touchlock
5981do 6014do
5982echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6015echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5983echo "configure:5984: checking for $ac_func" >&5 6016echo "configure:6017: checking for $ac_func" >&5
5984if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6017if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5985 echo $ac_n "(cached) $ac_c" 1>&6 6018 echo $ac_n "(cached) $ac_c" 1>&6
5986else 6019else
5987 cat > conftest.$ac_ext <<EOF 6020 cat > conftest.$ac_ext <<EOF
5988#line 5989 "configure" 6021#line 6022 "configure"
5989#include "confdefs.h" 6022#include "confdefs.h"
5990/* System header to define __stub macros and hopefully few prototypes, 6023/* System header to define __stub macros and hopefully few prototypes,
5991 which can conflict with char $ac_func(); below. */ 6024 which can conflict with char $ac_func(); below. */
@@ -6008,7 +6041,7 @@ $ac_func();
6008 6041
6009; return 0; } 6042; return 0; }
6010EOF 6043EOF
6011if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6044if { (eval echo configure:6045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6012 rm -rf conftest* 6045 rm -rf conftest*
6013 eval "ac_cv_func_$ac_func=yes" 6046 eval "ac_cv_func_$ac_func=yes"
6014else 6047else
@@ -6036,17 +6069,17 @@ for ac_hdr in maillock.h
6036do 6069do
6037ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6070ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6038echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6071echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6039echo "configure:6040: checking for $ac_hdr" >&5 6072echo "configure:6073: checking for $ac_hdr" >&5
6040if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6073if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6041 echo $ac_n "(cached) $ac_c" 1>&6 6074 echo $ac_n "(cached) $ac_c" 1>&6
6042else 6075else
6043 cat > conftest.$ac_ext <<EOF 6076 cat > conftest.$ac_ext <<EOF
6044#line 6045 "configure" 6077#line 6078 "configure"
6045#include "confdefs.h" 6078#include "confdefs.h"
6046#include <$ac_hdr> 6079#include <$ac_hdr>
6047EOF 6080EOF
6048ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6081ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6049{ (eval echo configure:6050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6082{ (eval echo configure:6083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6050ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6083ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6051if test -z "$ac_err"; then 6084if test -z "$ac_err"; then
6052 rm -rf conftest* 6085 rm -rf conftest*
@@ -6082,12 +6115,12 @@ __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
6082gai_strerror mkstemp 6115gai_strerror mkstemp
6083do 6116do
6084echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6117echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6085echo "configure:6086: checking for $ac_func" >&5 6118echo "configure:6119: checking for $ac_func" >&5
6086if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6119if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6087 echo $ac_n "(cached) $ac_c" 1>&6 6120 echo $ac_n "(cached) $ac_c" 1>&6
6088else 6121else
6089 cat > conftest.$ac_ext <<EOF 6122 cat > conftest.$ac_ext <<EOF
6090#line 6091 "configure" 6123#line 6124 "configure"
6091#include "confdefs.h" 6124#include "confdefs.h"
6092/* System header to define __stub macros and hopefully few prototypes, 6125/* System header to define __stub macros and hopefully few prototypes,
6093 which can conflict with char $ac_func(); below. */ 6126 which can conflict with char $ac_func(); below. */
@@ -6110,7 +6143,7 @@ $ac_func();
6110 6143
6111; return 0; } 6144; return 0; }
6112EOF 6145EOF
6113if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6146if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6114 rm -rf conftest* 6147 rm -rf conftest*
6115 eval "ac_cv_func_$ac_func=yes" 6148 eval "ac_cv_func_$ac_func=yes"
6116else 6149else
@@ -6139,17 +6172,17 @@ for ac_hdr in sys/time.h unistd.h
6139do 6172do
6140ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6173ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6141echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6174echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6142echo "configure:6143: checking for $ac_hdr" >&5 6175echo "configure:6176: checking for $ac_hdr" >&5
6143if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6176if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6144 echo $ac_n "(cached) $ac_c" 1>&6 6177 echo $ac_n "(cached) $ac_c" 1>&6
6145else 6178else
6146 cat > conftest.$ac_ext <<EOF 6179 cat > conftest.$ac_ext <<EOF
6147#line 6148 "configure" 6180#line 6181 "configure"
6148#include "confdefs.h" 6181#include "confdefs.h"
6149#include <$ac_hdr> 6182#include <$ac_hdr>
6150EOF 6183EOF
6151ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6184ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6152{ (eval echo configure:6153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6185{ (eval echo configure:6186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6153ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6186ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6154if test -z "$ac_err"; then 6187if test -z "$ac_err"; then
6155 rm -rf conftest* 6188 rm -rf conftest*
@@ -6178,12 +6211,12 @@ done
6178for ac_func in alarm 6211for ac_func in alarm
6179do 6212do
6180echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6213echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6181echo "configure:6182: checking for $ac_func" >&5 6214echo "configure:6215: checking for $ac_func" >&5
6182if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6215if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6183 echo $ac_n "(cached) $ac_c" 1>&6 6216 echo $ac_n "(cached) $ac_c" 1>&6
6184else 6217else
6185 cat > conftest.$ac_ext <<EOF 6218 cat > conftest.$ac_ext <<EOF
6186#line 6187 "configure" 6219#line 6220 "configure"
6187#include "confdefs.h" 6220#include "confdefs.h"
6188/* System header to define __stub macros and hopefully few prototypes, 6221/* System header to define __stub macros and hopefully few prototypes,
6189 which can conflict with char $ac_func(); below. */ 6222 which can conflict with char $ac_func(); below. */
@@ -6206,7 +6239,7 @@ $ac_func();
6206 6239
6207; return 0; } 6240; return 0; }
6208EOF 6241EOF
6209if { (eval echo configure:6210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6242if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6210 rm -rf conftest* 6243 rm -rf conftest*
6211 eval "ac_cv_func_$ac_func=yes" 6244 eval "ac_cv_func_$ac_func=yes"
6212else 6245else
@@ -6231,7 +6264,7 @@ fi
6231done 6264done
6232 6265
6233echo $ac_n "checking for working mktime""... $ac_c" 1>&6 6266echo $ac_n "checking for working mktime""... $ac_c" 1>&6
6234echo "configure:6235: checking for working mktime" >&5 6267echo "configure:6268: checking for working mktime" >&5
6235if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 6268if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
6236 echo $ac_n "(cached) $ac_c" 1>&6 6269 echo $ac_n "(cached) $ac_c" 1>&6
6237else 6270else
@@ -6239,7 +6272,7 @@ else
6239 ac_cv_func_working_mktime=no 6272 ac_cv_func_working_mktime=no
6240else 6273else
6241 cat > conftest.$ac_ext <<EOF 6274 cat > conftest.$ac_ext <<EOF
6242#line 6243 "configure" 6275#line 6276 "configure"
6243#include "confdefs.h" 6276#include "confdefs.h"
6244/* Test program from Paul Eggert (eggert@twinsun.com) 6277/* Test program from Paul Eggert (eggert@twinsun.com)
6245 and Tony Leneis (tony@plaza.ds.adp.com). */ 6278 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -6388,7 +6421,7 @@ main ()
6388 exit (0); 6421 exit (0);
6389} 6422}
6390EOF 6423EOF
6391if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6424if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6392then 6425then
6393 ac_cv_func_working_mktime=yes 6426 ac_cv_func_working_mktime=yes
6394else 6427else
@@ -6420,7 +6453,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
6420# On Solaris, -lkvm requires nlist from -lelf, so check that first 6453# On Solaris, -lkvm requires nlist from -lelf, so check that first
6421# to get the right answer into the cache. 6454# to get the right answer into the cache.
6422echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 6455echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6423echo "configure:6424: checking for elf_begin in -lelf" >&5 6456echo "configure:6457: checking for elf_begin in -lelf" >&5
6424ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 6457ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6425if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6458if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6426 echo $ac_n "(cached) $ac_c" 1>&6 6459 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6428,7 +6461,7 @@ else
6428 ac_save_LIBS="$LIBS" 6461 ac_save_LIBS="$LIBS"
6429LIBS="-lelf $LIBS" 6462LIBS="-lelf $LIBS"
6430cat > conftest.$ac_ext <<EOF 6463cat > conftest.$ac_ext <<EOF
6431#line 6432 "configure" 6464#line 6465 "configure"
6432#include "confdefs.h" 6465#include "confdefs.h"
6433/* Override any gcc2 internal prototype to avoid an error. */ 6466/* Override any gcc2 internal prototype to avoid an error. */
6434/* We use char because int might match the return type of a gcc2 6467/* We use char because int might match the return type of a gcc2
@@ -6439,7 +6472,7 @@ int main() {
6439elf_begin() 6472elf_begin()
6440; return 0; } 6473; return 0; }
6441EOF 6474EOF
6442if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6475if { (eval echo configure:6476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6443 rm -rf conftest* 6476 rm -rf conftest*
6444 eval "ac_cv_lib_$ac_lib_var=yes" 6477 eval "ac_cv_lib_$ac_lib_var=yes"
6445else 6478else
@@ -6460,7 +6493,7 @@ else
6460fi 6493fi
6461 6494
6462echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 6495echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6463echo "configure:6464: checking for kvm_open in -lkvm" >&5 6496echo "configure:6497: checking for kvm_open in -lkvm" >&5
6464ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 6497ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6465if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6498if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6466 echo $ac_n "(cached) $ac_c" 1>&6 6499 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6468,7 +6501,7 @@ else
6468 ac_save_LIBS="$LIBS" 6501 ac_save_LIBS="$LIBS"
6469LIBS="-lkvm $LIBS" 6502LIBS="-lkvm $LIBS"
6470cat > conftest.$ac_ext <<EOF 6503cat > conftest.$ac_ext <<EOF
6471#line 6472 "configure" 6504#line 6505 "configure"
6472#include "confdefs.h" 6505#include "confdefs.h"
6473/* Override any gcc2 internal prototype to avoid an error. */ 6506/* Override any gcc2 internal prototype to avoid an error. */
6474/* We use char because int might match the return type of a gcc2 6507/* We use char because int might match the return type of a gcc2
@@ -6479,7 +6512,7 @@ int main() {
6479kvm_open() 6512kvm_open()
6480; return 0; } 6513; return 0; }
6481EOF 6514EOF
6482if { (eval echo configure:6483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6515if { (eval echo configure:6516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6483 rm -rf conftest* 6516 rm -rf conftest*
6484 eval "ac_cv_lib_$ac_lib_var=yes" 6517 eval "ac_cv_lib_$ac_lib_var=yes"
6485else 6518else
@@ -6501,7 +6534,7 @@ fi
6501 6534
6502# Check for the 4.4BSD definition of getloadavg. 6535# Check for the 4.4BSD definition of getloadavg.
6503echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 6536echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6504echo "configure:6505: checking for getloadavg in -lutil" >&5 6537echo "configure:6538: checking for getloadavg in -lutil" >&5
6505ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 6538ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6506if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6539if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6507 echo $ac_n "(cached) $ac_c" 1>&6 6540 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6509,7 +6542,7 @@ else
6509 ac_save_LIBS="$LIBS" 6542 ac_save_LIBS="$LIBS"
6510LIBS="-lutil $LIBS" 6543LIBS="-lutil $LIBS"
6511cat > conftest.$ac_ext <<EOF 6544cat > conftest.$ac_ext <<EOF
6512#line 6513 "configure" 6545#line 6546 "configure"
6513#include "confdefs.h" 6546#include "confdefs.h"
6514/* Override any gcc2 internal prototype to avoid an error. */ 6547/* Override any gcc2 internal prototype to avoid an error. */
6515/* We use char because int might match the return type of a gcc2 6548/* We use char because int might match the return type of a gcc2
@@ -6520,7 +6553,7 @@ int main() {
6520getloadavg() 6553getloadavg()
6521; return 0; } 6554; return 0; }
6522EOF 6555EOF
6523if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6556if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6524 rm -rf conftest* 6557 rm -rf conftest*
6525 eval "ac_cv_lib_$ac_lib_var=yes" 6558 eval "ac_cv_lib_$ac_lib_var=yes"
6526else 6559else
@@ -6546,7 +6579,7 @@ if test $ac_have_func = no; then
6546 # Since it is not a standard part of AIX, it might be installed locally. 6579 # Since it is not a standard part of AIX, it might be installed locally.
6547 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 6580 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
6548 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 6581 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
6549echo "configure:6550: checking for getloadavg in -lgetloadavg" >&5 6582echo "configure:6583: checking for getloadavg in -lgetloadavg" >&5
6550ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6583ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6551if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6552 echo $ac_n "(cached) $ac_c" 1>&6 6585 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6554,7 +6587,7 @@ else
6554 ac_save_LIBS="$LIBS" 6587 ac_save_LIBS="$LIBS"
6555LIBS="-lgetloadavg $LIBS" 6588LIBS="-lgetloadavg $LIBS"
6556cat > conftest.$ac_ext <<EOF 6589cat > conftest.$ac_ext <<EOF
6557#line 6558 "configure" 6590#line 6591 "configure"
6558#include "confdefs.h" 6591#include "confdefs.h"
6559/* Override any gcc2 internal prototype to avoid an error. */ 6592/* Override any gcc2 internal prototype to avoid an error. */
6560/* We use char because int might match the return type of a gcc2 6593/* We use char because int might match the return type of a gcc2
@@ -6565,7 +6598,7 @@ int main() {
6565getloadavg() 6598getloadavg()
6566; return 0; } 6599; return 0; }
6567EOF 6600EOF
6568if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6601if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6569 rm -rf conftest* 6602 rm -rf conftest*
6570 eval "ac_cv_lib_$ac_lib_var=yes" 6603 eval "ac_cv_lib_$ac_lib_var=yes"
6571else 6604else
@@ -6592,12 +6625,12 @@ fi
6592for ac_func in getloadavg 6625for ac_func in getloadavg
6593do 6626do
6594echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6595echo "configure:6596: checking for $ac_func" >&5 6628echo "configure:6629: checking for $ac_func" >&5
6596if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6629if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6597 echo $ac_n "(cached) $ac_c" 1>&6 6630 echo $ac_n "(cached) $ac_c" 1>&6
6598else 6631else
6599 cat > conftest.$ac_ext <<EOF 6632 cat > conftest.$ac_ext <<EOF
6600#line 6601 "configure" 6633#line 6634 "configure"
6601#include "confdefs.h" 6634#include "confdefs.h"
6602/* System header to define __stub macros and hopefully few prototypes, 6635/* System header to define __stub macros and hopefully few prototypes,
6603 which can conflict with char $ac_func(); below. */ 6636 which can conflict with char $ac_func(); below. */
@@ -6620,7 +6653,7 @@ $ac_func();
6620 6653
6621; return 0; } 6654; return 0; }
6622EOF 6655EOF
6623if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6656if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6624 rm -rf conftest* 6657 rm -rf conftest*
6625 eval "ac_cv_func_$ac_func=yes" 6658 eval "ac_cv_func_$ac_func=yes"
6626else 6659else
@@ -6658,17 +6691,17 @@ else
6658 ac_have_func=no 6691 ac_have_func=no
6659 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6692 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6660echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6693echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6661echo "configure:6662: checking for sys/dg_sys_info.h" >&5 6694echo "configure:6695: checking for sys/dg_sys_info.h" >&5
6662if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6695if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6663 echo $ac_n "(cached) $ac_c" 1>&6 6696 echo $ac_n "(cached) $ac_c" 1>&6
6664else 6697else
6665 cat > conftest.$ac_ext <<EOF 6698 cat > conftest.$ac_ext <<EOF
6666#line 6667 "configure" 6699#line 6700 "configure"
6667#include "confdefs.h" 6700#include "confdefs.h"
6668#include <sys/dg_sys_info.h> 6701#include <sys/dg_sys_info.h>
6669EOF 6702EOF
6670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6703ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6671{ (eval echo configure:6672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6704{ (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6672ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6705ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6673if test -z "$ac_err"; then 6706if test -z "$ac_err"; then
6674 rm -rf conftest* 6707 rm -rf conftest*
@@ -6689,7 +6722,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6689EOF 6722EOF
6690 6723
6691 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6724 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6692echo "configure:6693: checking for dg_sys_info in -ldgc" >&5 6725echo "configure:6726: checking for dg_sys_info in -ldgc" >&5
6693ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6726ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6694if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6727if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6695 echo $ac_n "(cached) $ac_c" 1>&6 6728 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6697,7 +6730,7 @@ else
6697 ac_save_LIBS="$LIBS" 6730 ac_save_LIBS="$LIBS"
6698LIBS="-ldgc $LIBS" 6731LIBS="-ldgc $LIBS"
6699cat > conftest.$ac_ext <<EOF 6732cat > conftest.$ac_ext <<EOF
6700#line 6701 "configure" 6733#line 6734 "configure"
6701#include "confdefs.h" 6734#include "confdefs.h"
6702/* Override any gcc2 internal prototype to avoid an error. */ 6735/* Override any gcc2 internal prototype to avoid an error. */
6703/* We use char because int might match the return type of a gcc2 6736/* We use char because int might match the return type of a gcc2
@@ -6708,7 +6741,7 @@ int main() {
6708dg_sys_info() 6741dg_sys_info()
6709; return 0; } 6742; return 0; }
6710EOF 6743EOF
6711if { (eval echo configure:6712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6744if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6712 rm -rf conftest* 6745 rm -rf conftest*
6713 eval "ac_cv_lib_$ac_lib_var=yes" 6746 eval "ac_cv_lib_$ac_lib_var=yes"
6714else 6747else
@@ -6753,17 +6786,17 @@ EOF
6753 if test $ac_have_func = no; then 6786 if test $ac_have_func = no; then
6754 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6787 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6755echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6788echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6756echo "configure:6757: checking for inq_stats/cpustats.h" >&5 6789echo "configure:6790: checking for inq_stats/cpustats.h" >&5
6757if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6790if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6758 echo $ac_n "(cached) $ac_c" 1>&6 6791 echo $ac_n "(cached) $ac_c" 1>&6
6759else 6792else
6760 cat > conftest.$ac_ext <<EOF 6793 cat > conftest.$ac_ext <<EOF
6761#line 6762 "configure" 6794#line 6795 "configure"
6762#include "confdefs.h" 6795#include "confdefs.h"
6763#include <inq_stats/cpustats.h> 6796#include <inq_stats/cpustats.h>
6764EOF 6797EOF
6765ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6798ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6766{ (eval echo configure:6767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6799{ (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6767ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6800ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6768if test -z "$ac_err"; then 6801if test -z "$ac_err"; then
6769 rm -rf conftest* 6802 rm -rf conftest*
@@ -6796,17 +6829,17 @@ fi
6796 if test $ac_have_func = no; then 6829 if test $ac_have_func = no; then
6797 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6830 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6798echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6831echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6799echo "configure:6800: checking for sys/cpustats.h" >&5 6832echo "configure:6833: checking for sys/cpustats.h" >&5
6800if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6833if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6801 echo $ac_n "(cached) $ac_c" 1>&6 6834 echo $ac_n "(cached) $ac_c" 1>&6
6802else 6835else
6803 cat > conftest.$ac_ext <<EOF 6836 cat > conftest.$ac_ext <<EOF
6804#line 6805 "configure" 6837#line 6838 "configure"
6805#include "confdefs.h" 6838#include "confdefs.h"
6806#include <sys/cpustats.h> 6839#include <sys/cpustats.h>
6807EOF 6840EOF
6808ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6841ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6809{ (eval echo configure:6810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6842{ (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6810ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6843ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6811if test -z "$ac_err"; then 6844if test -z "$ac_err"; then
6812 rm -rf conftest* 6845 rm -rf conftest*
@@ -6837,17 +6870,17 @@ fi
6837do 6870do
6838ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6871ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6839echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6872echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6840echo "configure:6841: checking for $ac_hdr" >&5 6873echo "configure:6874: checking for $ac_hdr" >&5
6841if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6874if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6842 echo $ac_n "(cached) $ac_c" 1>&6 6875 echo $ac_n "(cached) $ac_c" 1>&6
6843else 6876else
6844 cat > conftest.$ac_ext <<EOF 6877 cat > conftest.$ac_ext <<EOF
6845#line 6846 "configure" 6878#line 6879 "configure"
6846#include "confdefs.h" 6879#include "confdefs.h"
6847#include <$ac_hdr> 6880#include <$ac_hdr>
6848EOF 6881EOF
6849ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6882ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6850{ (eval echo configure:6851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6883{ (eval echo configure:6884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6851ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6884ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6852if test -z "$ac_err"; then 6885if test -z "$ac_err"; then
6853 rm -rf conftest* 6886 rm -rf conftest*
@@ -6877,17 +6910,17 @@ done
6877 6910
6878 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6911 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6879echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6912echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6880echo "configure:6881: checking for nlist.h" >&5 6913echo "configure:6914: checking for nlist.h" >&5
6881if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6914if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6882 echo $ac_n "(cached) $ac_c" 1>&6 6915 echo $ac_n "(cached) $ac_c" 1>&6
6883else 6916else
6884 cat > conftest.$ac_ext <<EOF 6917 cat > conftest.$ac_ext <<EOF
6885#line 6886 "configure" 6918#line 6919 "configure"
6886#include "confdefs.h" 6919#include "confdefs.h"
6887#include <nlist.h> 6920#include <nlist.h>
6888EOF 6921EOF
6889ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6922ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6890{ (eval echo configure:6891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6923{ (eval echo configure:6924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6891ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6924ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6892if test -z "$ac_err"; then 6925if test -z "$ac_err"; then
6893 rm -rf conftest* 6926 rm -rf conftest*
@@ -6908,19 +6941,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6908EOF 6941EOF
6909 6942
6910 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6943 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6911echo "configure:6912: checking for n_un in struct nlist" >&5 6944echo "configure:6945: checking for n_un in struct nlist" >&5
6912if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6945if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6913 echo $ac_n "(cached) $ac_c" 1>&6 6946 echo $ac_n "(cached) $ac_c" 1>&6
6914else 6947else
6915 cat > conftest.$ac_ext <<EOF 6948 cat > conftest.$ac_ext <<EOF
6916#line 6917 "configure" 6949#line 6950 "configure"
6917#include "confdefs.h" 6950#include "confdefs.h"
6918#include <nlist.h> 6951#include <nlist.h>
6919int main() { 6952int main() {
6920struct nlist n; n.n_un.n_name = 0; 6953struct nlist n; n.n_un.n_name = 0;
6921; return 0; } 6954; return 0; }
6922EOF 6955EOF
6923if { (eval echo configure:6924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6956if { (eval echo configure:6957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6924 rm -rf conftest* 6957 rm -rf conftest*
6925 ac_cv_struct_nlist_n_un=yes 6958 ac_cv_struct_nlist_n_un=yes
6926else 6959else
@@ -6947,12 +6980,12 @@ fi # Do not have getloadavg in system libraries.
6947 6980
6948# Some definitions of getloadavg require that the program be installed setgid. 6981# Some definitions of getloadavg require that the program be installed setgid.
6949echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6982echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6950echo "configure:6951: checking whether getloadavg requires setgid" >&5 6983echo "configure:6984: checking whether getloadavg requires setgid" >&5
6951if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6984if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6952 echo $ac_n "(cached) $ac_c" 1>&6 6985 echo $ac_n "(cached) $ac_c" 1>&6
6953else 6986else
6954 cat > conftest.$ac_ext <<EOF 6987 cat > conftest.$ac_ext <<EOF
6955#line 6956 "configure" 6988#line 6989 "configure"
6956#include "confdefs.h" 6989#include "confdefs.h"
6957#include "$srcdir/getloadavg.c" 6990#include "$srcdir/getloadavg.c"
6958#ifdef LDAV_PRIVILEGED 6991#ifdef LDAV_PRIVILEGED
@@ -6983,7 +7016,7 @@ fi
6983 7016
6984if test $ac_cv_func_getloadavg_setgid = yes; then 7017if test $ac_cv_func_getloadavg_setgid = yes; then
6985 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 7018 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6986echo "configure:6987: checking group of /dev/kmem" >&5 7019echo "configure:7020: checking group of /dev/kmem" >&5
6987if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 7020if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6988 echo $ac_n "(cached) $ac_c" 1>&6 7021 echo $ac_n "(cached) $ac_c" 1>&6
6989else 7022else
@@ -7004,27 +7037,27 @@ fi
7004 7037
7005 7038
7006echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 7039echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
7007echo "configure:7008: checking for _LARGEFILE_SOURCE value needed for large files" >&5 7040echo "configure:7041: checking for _LARGEFILE_SOURCE value needed for large files" >&5
7008if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 7041if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
7009 echo $ac_n "(cached) $ac_c" 1>&6 7042 echo $ac_n "(cached) $ac_c" 1>&6
7010else 7043else
7011 ac_cv_sys_largefile_source=no 7044 ac_cv_sys_largefile_source=no
7012 cat > conftest.$ac_ext <<EOF 7045 cat > conftest.$ac_ext <<EOF
7013#line 7014 "configure" 7046#line 7047 "configure"
7014#include "confdefs.h" 7047#include "confdefs.h"
7015#include <stdio.h> 7048#include <stdio.h>
7016int main() { 7049int main() {
7017return !fseeko; 7050return !fseeko;
7018; return 0; } 7051; return 0; }
7019EOF 7052EOF
7020if { (eval echo configure:7021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7053if { (eval echo configure:7054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7021 : 7054 :
7022else 7055else
7023 echo "configure: failed program was:" >&5 7056 echo "configure: failed program was:" >&5
7024 cat conftest.$ac_ext >&5 7057 cat conftest.$ac_ext >&5
7025 rm -rf conftest* 7058 rm -rf conftest*
7026 cat > conftest.$ac_ext <<EOF 7059 cat > conftest.$ac_ext <<EOF
7027#line 7028 "configure" 7060#line 7061 "configure"
7028#include "confdefs.h" 7061#include "confdefs.h"
7029#define _LARGEFILE_SOURCE 1 7062#define _LARGEFILE_SOURCE 1
7030#include <stdio.h> 7063#include <stdio.h>
@@ -7033,7 +7066,7 @@ int main() {
7033return !fseeko; 7066return !fseeko;
7034; return 0; } 7067; return 0; }
7035EOF 7068EOF
7036if { (eval echo configure:7037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7069if { (eval echo configure:7070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7037 rm -rf conftest* 7070 rm -rf conftest*
7038 ac_cv_sys_largefile_source=1 7071 ac_cv_sys_largefile_source=1
7039else 7072else
@@ -7057,20 +7090,20 @@ EOF
7057 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 7090 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
7058 7091
7059 echo $ac_n "checking for fseeko""... $ac_c" 1>&6 7092 echo $ac_n "checking for fseeko""... $ac_c" 1>&6
7060echo "configure:7061: checking for fseeko" >&5 7093echo "configure:7094: checking for fseeko" >&5
7061if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then 7094if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then
7062 echo $ac_n "(cached) $ac_c" 1>&6 7095 echo $ac_n "(cached) $ac_c" 1>&6
7063else 7096else
7064 ac_cv_func_fseeko=no 7097 ac_cv_func_fseeko=no
7065 cat > conftest.$ac_ext <<EOF 7098 cat > conftest.$ac_ext <<EOF
7066#line 7067 "configure" 7099#line 7100 "configure"
7067#include "confdefs.h" 7100#include "confdefs.h"
7068#include <stdio.h> 7101#include <stdio.h>
7069int main() { 7102int main() {
7070return fseeko && fseeko (stdin, 0, 0); 7103return fseeko && fseeko (stdin, 0, 0);
7071; return 0; } 7104; return 0; }
7072EOF 7105EOF
7073if { (eval echo configure:7074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7106if { (eval echo configure:7107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7074 rm -rf conftest* 7107 rm -rf conftest*
7075 ac_cv_func_fseeko=yes 7108 ac_cv_func_fseeko=yes
7076else 7109else
@@ -7092,12 +7125,12 @@ EOF
7092for ac_func in grantpt 7125for ac_func in grantpt
7093do 7126do
7094echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7127echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7095echo "configure:7096: checking for $ac_func" >&5 7128echo "configure:7129: checking for $ac_func" >&5
7096if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7129if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7097 echo $ac_n "(cached) $ac_c" 1>&6 7130 echo $ac_n "(cached) $ac_c" 1>&6
7098else 7131else
7099 cat > conftest.$ac_ext <<EOF 7132 cat > conftest.$ac_ext <<EOF
7100#line 7101 "configure" 7133#line 7134 "configure"
7101#include "confdefs.h" 7134#include "confdefs.h"
7102/* System header to define __stub macros and hopefully few prototypes, 7135/* System header to define __stub macros and hopefully few prototypes,
7103 which can conflict with char $ac_func(); below. */ 7136 which can conflict with char $ac_func(); below. */
@@ -7120,7 +7153,7 @@ $ac_func();
7120 7153
7121; return 0; } 7154; return 0; }
7122EOF 7155EOF
7123if { (eval echo configure:7124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7156if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7124 rm -rf conftest* 7157 rm -rf conftest*
7125 eval "ac_cv_func_$ac_func=yes" 7158 eval "ac_cv_func_$ac_func=yes"
7126else 7159else
@@ -7149,12 +7182,12 @@ done
7149for ac_func in getpt 7182for ac_func in getpt
7150do 7183do
7151echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7184echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7152echo "configure:7153: checking for $ac_func" >&5 7185echo "configure:7186: checking for $ac_func" >&5
7153if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7186if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7154 echo $ac_n "(cached) $ac_c" 1>&6 7187 echo $ac_n "(cached) $ac_c" 1>&6
7155else 7188else
7156 cat > conftest.$ac_ext <<EOF 7189 cat > conftest.$ac_ext <<EOF
7157#line 7158 "configure" 7190#line 7191 "configure"
7158#include "confdefs.h" 7191#include "confdefs.h"
7159/* System header to define __stub macros and hopefully few prototypes, 7192/* System header to define __stub macros and hopefully few prototypes,
7160 which can conflict with char $ac_func(); below. */ 7193 which can conflict with char $ac_func(); below. */
@@ -7177,7 +7210,7 @@ $ac_func();
7177 7210
7178; return 0; } 7211; return 0; }
7179EOF 7212EOF
7180if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7213if { (eval echo configure:7214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7181 rm -rf conftest* 7214 rm -rf conftest*
7182 eval "ac_cv_func_$ac_func=yes" 7215 eval "ac_cv_func_$ac_func=yes"
7183else 7216else
@@ -7207,7 +7240,7 @@ done
7207# It's better to believe a function is not available 7240# It's better to believe a function is not available
7208# than to expect to find it in ncurses. 7241# than to expect to find it in ncurses.
7209echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 7242echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7210echo "configure:7211: checking for tparm in -lncurses" >&5 7243echo "configure:7244: checking for tparm in -lncurses" >&5
7211ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 7244ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7212if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7245if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7213 echo $ac_n "(cached) $ac_c" 1>&6 7246 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7215,7 +7248,7 @@ else
7215 ac_save_LIBS="$LIBS" 7248 ac_save_LIBS="$LIBS"
7216LIBS="-lncurses $LIBS" 7249LIBS="-lncurses $LIBS"
7217cat > conftest.$ac_ext <<EOF 7250cat > conftest.$ac_ext <<EOF
7218#line 7219 "configure" 7251#line 7252 "configure"
7219#include "confdefs.h" 7252#include "confdefs.h"
7220/* Override any gcc2 internal prototype to avoid an error. */ 7253/* Override any gcc2 internal prototype to avoid an error. */
7221/* We use char because int might match the return type of a gcc2 7254/* We use char because int might match the return type of a gcc2
@@ -7226,7 +7259,7 @@ int main() {
7226tparm() 7259tparm()
7227; return 0; } 7260; return 0; }
7228EOF 7261EOF
7229if { (eval echo configure:7230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7262if { (eval echo configure:7263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7230 rm -rf conftest* 7263 rm -rf conftest*
7231 eval "ac_cv_lib_$ac_lib_var=yes" 7264 eval "ac_cv_lib_$ac_lib_var=yes"
7232else 7265else
@@ -7257,7 +7290,7 @@ fi
7257# These tell us which Kerberos-related libraries to use. 7290# These tell us which Kerberos-related libraries to use.
7258if test "${with_kerberos+set}" = set; then 7291if test "${with_kerberos+set}" = set; then
7259 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 7292 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
7260echo "configure:7261: checking for com_err in -lcom_err" >&5 7293echo "configure:7294: checking for com_err in -lcom_err" >&5
7261ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7294ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7262if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7295if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7263 echo $ac_n "(cached) $ac_c" 1>&6 7296 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7265,7 +7298,7 @@ else
7265 ac_save_LIBS="$LIBS" 7298 ac_save_LIBS="$LIBS"
7266LIBS="-lcom_err $LIBS" 7299LIBS="-lcom_err $LIBS"
7267cat > conftest.$ac_ext <<EOF 7300cat > conftest.$ac_ext <<EOF
7268#line 7269 "configure" 7301#line 7302 "configure"
7269#include "confdefs.h" 7302#include "confdefs.h"
7270/* Override any gcc2 internal prototype to avoid an error. */ 7303/* Override any gcc2 internal prototype to avoid an error. */
7271/* We use char because int might match the return type of a gcc2 7304/* We use char because int might match the return type of a gcc2
@@ -7276,7 +7309,7 @@ int main() {
7276com_err() 7309com_err()
7277; return 0; } 7310; return 0; }
7278EOF 7311EOF
7279if { (eval echo configure:7280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7312if { (eval echo configure:7313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7280 rm -rf conftest* 7313 rm -rf conftest*
7281 eval "ac_cv_lib_$ac_lib_var=yes" 7314 eval "ac_cv_lib_$ac_lib_var=yes"
7282else 7315else
@@ -7304,7 +7337,7 @@ else
7304fi 7337fi
7305 7338
7306 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7339 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7307echo "configure:7308: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7340echo "configure:7341: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7308ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7341ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7309if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7342if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7310 echo $ac_n "(cached) $ac_c" 1>&6 7343 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7312,7 +7345,7 @@ else
7312 ac_save_LIBS="$LIBS" 7345 ac_save_LIBS="$LIBS"
7313LIBS="-lk5crypto $LIBS" 7346LIBS="-lk5crypto $LIBS"
7314cat > conftest.$ac_ext <<EOF 7347cat > conftest.$ac_ext <<EOF
7315#line 7316 "configure" 7348#line 7349 "configure"
7316#include "confdefs.h" 7349#include "confdefs.h"
7317/* Override any gcc2 internal prototype to avoid an error. */ 7350/* Override any gcc2 internal prototype to avoid an error. */
7318/* We use char because int might match the return type of a gcc2 7351/* We use char because int might match the return type of a gcc2
@@ -7323,7 +7356,7 @@ int main() {
7323mit_des_cbc_encrypt() 7356mit_des_cbc_encrypt()
7324; return 0; } 7357; return 0; }
7325EOF 7358EOF
7326if { (eval echo configure:7327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7359if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7327 rm -rf conftest* 7360 rm -rf conftest*
7328 eval "ac_cv_lib_$ac_lib_var=yes" 7361 eval "ac_cv_lib_$ac_lib_var=yes"
7329else 7362else
@@ -7351,7 +7384,7 @@ else
7351fi 7384fi
7352 7385
7353 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7386 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7354echo "configure:7355: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7387echo "configure:7388: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7355ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7388ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7356if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7389if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7357 echo $ac_n "(cached) $ac_c" 1>&6 7390 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7359,7 +7392,7 @@ else
7359 ac_save_LIBS="$LIBS" 7392 ac_save_LIBS="$LIBS"
7360LIBS="-lcrypto $LIBS" 7393LIBS="-lcrypto $LIBS"
7361cat > conftest.$ac_ext <<EOF 7394cat > conftest.$ac_ext <<EOF
7362#line 7363 "configure" 7395#line 7396 "configure"
7363#include "confdefs.h" 7396#include "confdefs.h"
7364/* Override any gcc2 internal prototype to avoid an error. */ 7397/* Override any gcc2 internal prototype to avoid an error. */
7365/* We use char because int might match the return type of a gcc2 7398/* We use char because int might match the return type of a gcc2
@@ -7370,7 +7403,7 @@ int main() {
7370mit_des_cbc_encrypt() 7403mit_des_cbc_encrypt()
7371; return 0; } 7404; return 0; }
7372EOF 7405EOF
7373if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7406if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7374 rm -rf conftest* 7407 rm -rf conftest*
7375 eval "ac_cv_lib_$ac_lib_var=yes" 7408 eval "ac_cv_lib_$ac_lib_var=yes"
7376else 7409else
@@ -7398,7 +7431,7 @@ else
7398fi 7431fi
7399 7432
7400 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7433 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7401echo "configure:7402: checking for krb5_init_context in -lkrb5" >&5 7434echo "configure:7435: checking for krb5_init_context in -lkrb5" >&5
7402ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7435ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7403if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7436if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7404 echo $ac_n "(cached) $ac_c" 1>&6 7437 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7406,7 +7439,7 @@ else
7406 ac_save_LIBS="$LIBS" 7439 ac_save_LIBS="$LIBS"
7407LIBS="-lkrb5 $LIBS" 7440LIBS="-lkrb5 $LIBS"
7408cat > conftest.$ac_ext <<EOF 7441cat > conftest.$ac_ext <<EOF
7409#line 7410 "configure" 7442#line 7443 "configure"
7410#include "confdefs.h" 7443#include "confdefs.h"
7411/* Override any gcc2 internal prototype to avoid an error. */ 7444/* Override any gcc2 internal prototype to avoid an error. */
7412/* We use char because int might match the return type of a gcc2 7445/* We use char because int might match the return type of a gcc2
@@ -7417,7 +7450,7 @@ int main() {
7417krb5_init_context() 7450krb5_init_context()
7418; return 0; } 7451; return 0; }
7419EOF 7452EOF
7420if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7453if { (eval echo configure:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7421 rm -rf conftest* 7454 rm -rf conftest*
7422 eval "ac_cv_lib_$ac_lib_var=yes" 7455 eval "ac_cv_lib_$ac_lib_var=yes"
7423else 7456else
@@ -7446,7 +7479,7 @@ fi
7446 7479
7447 if test "${with_kerberos5+set}" != set; then 7480 if test "${with_kerberos5+set}" != set; then
7448 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7481 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7449echo "configure:7450: checking for des_cbc_encrypt in -ldes425" >&5 7482echo "configure:7483: checking for des_cbc_encrypt in -ldes425" >&5
7450ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7483ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7451if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7484if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7452 echo $ac_n "(cached) $ac_c" 1>&6 7485 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7454,7 +7487,7 @@ else
7454 ac_save_LIBS="$LIBS" 7487 ac_save_LIBS="$LIBS"
7455LIBS="-ldes425 $LIBS" 7488LIBS="-ldes425 $LIBS"
7456cat > conftest.$ac_ext <<EOF 7489cat > conftest.$ac_ext <<EOF
7457#line 7458 "configure" 7490#line 7491 "configure"
7458#include "confdefs.h" 7491#include "confdefs.h"
7459/* Override any gcc2 internal prototype to avoid an error. */ 7492/* Override any gcc2 internal prototype to avoid an error. */
7460/* We use char because int might match the return type of a gcc2 7493/* We use char because int might match the return type of a gcc2
@@ -7465,7 +7498,7 @@ int main() {
7465des_cbc_encrypt() 7498des_cbc_encrypt()
7466; return 0; } 7499; return 0; }
7467EOF 7500EOF
7468if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7501if { (eval echo configure:7502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7469 rm -rf conftest* 7502 rm -rf conftest*
7470 eval "ac_cv_lib_$ac_lib_var=yes" 7503 eval "ac_cv_lib_$ac_lib_var=yes"
7471else 7504else
@@ -7491,7 +7524,7 @@ EOF
7491else 7524else
7492 echo "$ac_t""no" 1>&6 7525 echo "$ac_t""no" 1>&6
7493echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7526echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7494echo "configure:7495: checking for des_cbc_encrypt in -ldes" >&5 7527echo "configure:7528: checking for des_cbc_encrypt in -ldes" >&5
7495ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7528ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7496if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7529if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7497 echo $ac_n "(cached) $ac_c" 1>&6 7530 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7499,7 +7532,7 @@ else
7499 ac_save_LIBS="$LIBS" 7532 ac_save_LIBS="$LIBS"
7500LIBS="-ldes $LIBS" 7533LIBS="-ldes $LIBS"
7501cat > conftest.$ac_ext <<EOF 7534cat > conftest.$ac_ext <<EOF
7502#line 7503 "configure" 7535#line 7536 "configure"
7503#include "confdefs.h" 7536#include "confdefs.h"
7504/* Override any gcc2 internal prototype to avoid an error. */ 7537/* Override any gcc2 internal prototype to avoid an error. */
7505/* We use char because int might match the return type of a gcc2 7538/* We use char because int might match the return type of a gcc2
@@ -7510,7 +7543,7 @@ int main() {
7510des_cbc_encrypt() 7543des_cbc_encrypt()
7511; return 0; } 7544; return 0; }
7512EOF 7545EOF
7513if { (eval echo configure:7514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7546if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7514 rm -rf conftest* 7547 rm -rf conftest*
7515 eval "ac_cv_lib_$ac_lib_var=yes" 7548 eval "ac_cv_lib_$ac_lib_var=yes"
7516else 7549else
@@ -7540,7 +7573,7 @@ fi
7540fi 7573fi
7541 7574
7542 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7575 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7543echo "configure:7544: checking for krb_get_cred in -lkrb4" >&5 7576echo "configure:7577: checking for krb_get_cred in -lkrb4" >&5
7544ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7577ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7545if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7578if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7546 echo $ac_n "(cached) $ac_c" 1>&6 7579 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7548,7 +7581,7 @@ else
7548 ac_save_LIBS="$LIBS" 7581 ac_save_LIBS="$LIBS"
7549LIBS="-lkrb4 $LIBS" 7582LIBS="-lkrb4 $LIBS"
7550cat > conftest.$ac_ext <<EOF 7583cat > conftest.$ac_ext <<EOF
7551#line 7552 "configure" 7584#line 7585 "configure"
7552#include "confdefs.h" 7585#include "confdefs.h"
7553/* Override any gcc2 internal prototype to avoid an error. */ 7586/* Override any gcc2 internal prototype to avoid an error. */
7554/* We use char because int might match the return type of a gcc2 7587/* We use char because int might match the return type of a gcc2
@@ -7559,7 +7592,7 @@ int main() {
7559krb_get_cred() 7592krb_get_cred()
7560; return 0; } 7593; return 0; }
7561EOF 7594EOF
7562if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7595if { (eval echo configure:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7563 rm -rf conftest* 7596 rm -rf conftest*
7564 eval "ac_cv_lib_$ac_lib_var=yes" 7597 eval "ac_cv_lib_$ac_lib_var=yes"
7565else 7598else
@@ -7585,7 +7618,7 @@ EOF
7585else 7618else
7586 echo "$ac_t""no" 1>&6 7619 echo "$ac_t""no" 1>&6
7587echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7620echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7588echo "configure:7589: checking for krb_get_cred in -lkrb" >&5 7621echo "configure:7622: checking for krb_get_cred in -lkrb" >&5
7589ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7622ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7590if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7623if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7591 echo $ac_n "(cached) $ac_c" 1>&6 7624 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7593,7 +7626,7 @@ else
7593 ac_save_LIBS="$LIBS" 7626 ac_save_LIBS="$LIBS"
7594LIBS="-lkrb $LIBS" 7627LIBS="-lkrb $LIBS"
7595cat > conftest.$ac_ext <<EOF 7628cat > conftest.$ac_ext <<EOF
7596#line 7597 "configure" 7629#line 7630 "configure"
7597#include "confdefs.h" 7630#include "confdefs.h"
7598/* Override any gcc2 internal prototype to avoid an error. */ 7631/* Override any gcc2 internal prototype to avoid an error. */
7599/* We use char because int might match the return type of a gcc2 7632/* We use char because int might match the return type of a gcc2
@@ -7604,7 +7637,7 @@ int main() {
7604krb_get_cred() 7637krb_get_cred()
7605; return 0; } 7638; return 0; }
7606EOF 7639EOF
7607if { (eval echo configure:7608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7640if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7608 rm -rf conftest* 7641 rm -rf conftest*
7609 eval "ac_cv_lib_$ac_lib_var=yes" 7642 eval "ac_cv_lib_$ac_lib_var=yes"
7610else 7643else
@@ -7640,17 +7673,17 @@ fi
7640do 7673do
7641ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7674ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7642echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7675echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7643echo "configure:7644: checking for $ac_hdr" >&5 7676echo "configure:7677: checking for $ac_hdr" >&5
7644if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7677if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6 7678 echo $ac_n "(cached) $ac_c" 1>&6
7646else 7679else
7647 cat > conftest.$ac_ext <<EOF 7680 cat > conftest.$ac_ext <<EOF
7648#line 7649 "configure" 7681#line 7682 "configure"
7649#include "confdefs.h" 7682#include "confdefs.h"
7650#include <$ac_hdr> 7683#include <$ac_hdr>
7651EOF 7684EOF
7652ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7685ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7653{ (eval echo configure:7654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7686{ (eval echo configure:7687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7654ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7687ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7655if test -z "$ac_err"; then 7688if test -z "$ac_err"; then
7656 rm -rf conftest* 7689 rm -rf conftest*
@@ -7681,17 +7714,17 @@ done
7681do 7714do
7682ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7715ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7683echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7716echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7684echo "configure:7685: checking for $ac_hdr" >&5 7717echo "configure:7718: checking for $ac_hdr" >&5
7685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7718if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7686 echo $ac_n "(cached) $ac_c" 1>&6 7719 echo $ac_n "(cached) $ac_c" 1>&6
7687else 7720else
7688 cat > conftest.$ac_ext <<EOF 7721 cat > conftest.$ac_ext <<EOF
7689#line 7690 "configure" 7722#line 7723 "configure"
7690#include "confdefs.h" 7723#include "confdefs.h"
7691#include <$ac_hdr> 7724#include <$ac_hdr>
7692EOF 7725EOF
7693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7726ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7694{ (eval echo configure:7695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7727{ (eval echo configure:7728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7728ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7696if test -z "$ac_err"; then 7729if test -z "$ac_err"; then
7697 rm -rf conftest* 7730 rm -rf conftest*
@@ -7718,17 +7751,17 @@ for ac_hdr in kerberosIV/des.h
7718do 7751do
7719ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7752ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7720echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7753echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7721echo "configure:7722: checking for $ac_hdr" >&5 7754echo "configure:7755: checking for $ac_hdr" >&5
7722if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7755if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7723 echo $ac_n "(cached) $ac_c" 1>&6 7756 echo $ac_n "(cached) $ac_c" 1>&6
7724else 7757else
7725 cat > conftest.$ac_ext <<EOF 7758 cat > conftest.$ac_ext <<EOF
7726#line 7727 "configure" 7759#line 7760 "configure"
7727#include "confdefs.h" 7760#include "confdefs.h"
7728#include <$ac_hdr> 7761#include <$ac_hdr>
7729EOF 7762EOF
7730ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7763ac_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; } 7764{ (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7732ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7765ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7733if test -z "$ac_err"; then 7766if test -z "$ac_err"; then
7734 rm -rf conftest* 7767 rm -rf conftest*
@@ -7755,17 +7788,17 @@ for ac_hdr in kerberos/des.h
7755do 7788do
7756ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7789ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7757echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7790echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7758echo "configure:7759: checking for $ac_hdr" >&5 7791echo "configure:7792: checking for $ac_hdr" >&5
7759if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7792if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7760 echo $ac_n "(cached) $ac_c" 1>&6 7793 echo $ac_n "(cached) $ac_c" 1>&6
7761else 7794else
7762 cat > conftest.$ac_ext <<EOF 7795 cat > conftest.$ac_ext <<EOF
7763#line 7764 "configure" 7796#line 7797 "configure"
7764#include "confdefs.h" 7797#include "confdefs.h"
7765#include <$ac_hdr> 7798#include <$ac_hdr>
7766EOF 7799EOF
7767ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7800ac_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; } 7801{ (eval echo configure:7802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7769ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7802ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7770if test -z "$ac_err"; then 7803if test -z "$ac_err"; then
7771 rm -rf conftest* 7804 rm -rf conftest*
@@ -7801,17 +7834,17 @@ done
7801do 7834do
7802ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7835ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7803echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7836echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7804echo "configure:7805: checking for $ac_hdr" >&5 7837echo "configure:7838: checking for $ac_hdr" >&5
7805if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7838if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7806 echo $ac_n "(cached) $ac_c" 1>&6 7839 echo $ac_n "(cached) $ac_c" 1>&6
7807else 7840else
7808 cat > conftest.$ac_ext <<EOF 7841 cat > conftest.$ac_ext <<EOF
7809#line 7810 "configure" 7842#line 7843 "configure"
7810#include "confdefs.h" 7843#include "confdefs.h"
7811#include <$ac_hdr> 7844#include <$ac_hdr>
7812EOF 7845EOF
7813ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7814{ (eval echo configure:7815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7847{ (eval echo configure:7848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7815ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7848ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7816if test -z "$ac_err"; then 7849if test -z "$ac_err"; then
7817 rm -rf conftest* 7850 rm -rf conftest*
@@ -7838,17 +7871,17 @@ for ac_hdr in kerberosIV/krb.h
7838do 7871do
7839ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7872ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7840echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7873echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7841echo "configure:7842: checking for $ac_hdr" >&5 7874echo "configure:7875: checking for $ac_hdr" >&5
7842if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7875if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7843 echo $ac_n "(cached) $ac_c" 1>&6 7876 echo $ac_n "(cached) $ac_c" 1>&6
7844else 7877else
7845 cat > conftest.$ac_ext <<EOF 7878 cat > conftest.$ac_ext <<EOF
7846#line 7847 "configure" 7879#line 7880 "configure"
7847#include "confdefs.h" 7880#include "confdefs.h"
7848#include <$ac_hdr> 7881#include <$ac_hdr>
7849EOF 7882EOF
7850ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7883ac_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; } 7884{ (eval echo configure:7885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7852ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7885ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7853if test -z "$ac_err"; then 7886if test -z "$ac_err"; then
7854 rm -rf conftest* 7887 rm -rf conftest*
@@ -7875,17 +7908,17 @@ for ac_hdr in kerberos/krb.h
7875do 7908do
7876ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7909ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7877echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7910echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7878echo "configure:7879: checking for $ac_hdr" >&5 7911echo "configure:7912: checking for $ac_hdr" >&5
7879if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7912if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7880 echo $ac_n "(cached) $ac_c" 1>&6 7913 echo $ac_n "(cached) $ac_c" 1>&6
7881else 7914else
7882 cat > conftest.$ac_ext <<EOF 7915 cat > conftest.$ac_ext <<EOF
7883#line 7884 "configure" 7916#line 7917 "configure"
7884#include "confdefs.h" 7917#include "confdefs.h"
7885#include <$ac_hdr> 7918#include <$ac_hdr>
7886EOF 7919EOF
7887ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7920ac_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; } 7921{ (eval echo configure:7922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7889ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7922ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7890if test -z "$ac_err"; then 7923if test -z "$ac_err"; then
7891 rm -rf conftest* 7924 rm -rf conftest*
@@ -7922,17 +7955,17 @@ done
7922do 7955do
7923ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7956ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7924echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7957echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7925echo "configure:7926: checking for $ac_hdr" >&5 7958echo "configure:7959: checking for $ac_hdr" >&5
7926if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7959if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7927 echo $ac_n "(cached) $ac_c" 1>&6 7960 echo $ac_n "(cached) $ac_c" 1>&6
7928else 7961else
7929 cat > conftest.$ac_ext <<EOF 7962 cat > conftest.$ac_ext <<EOF
7930#line 7931 "configure" 7963#line 7964 "configure"
7931#include "confdefs.h" 7964#include "confdefs.h"
7932#include <$ac_hdr> 7965#include <$ac_hdr>
7933EOF 7966EOF
7934ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7967ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7935{ (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7968{ (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7936ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7969ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7937if test -z "$ac_err"; then 7970if test -z "$ac_err"; then
7938 rm -rf conftest* 7971 rm -rf conftest*
@@ -7963,7 +7996,7 @@ fi
7963# Solaris requires -lintl if you want strerror (which calls dgettext) 7996# Solaris requires -lintl if you want strerror (which calls dgettext)
7964# to return localized messages. 7997# to return localized messages.
7965echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7998echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7966echo "configure:7967: checking for dgettext in -lintl" >&5 7999echo "configure:8000: checking for dgettext in -lintl" >&5
7967ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 8000ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7968if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 8001if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7969 echo $ac_n "(cached) $ac_c" 1>&6 8002 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7971,7 +8004,7 @@ else
7971 ac_save_LIBS="$LIBS" 8004 ac_save_LIBS="$LIBS"
7972LIBS="-lintl $LIBS" 8005LIBS="-lintl $LIBS"
7973cat > conftest.$ac_ext <<EOF 8006cat > conftest.$ac_ext <<EOF
7974#line 7975 "configure" 8007#line 8008 "configure"
7975#include "confdefs.h" 8008#include "confdefs.h"
7976/* Override any gcc2 internal prototype to avoid an error. */ 8009/* Override any gcc2 internal prototype to avoid an error. */
7977/* We use char because int might match the return type of a gcc2 8010/* We use char because int might match the return type of a gcc2
@@ -7982,7 +8015,7 @@ int main() {
7982dgettext() 8015dgettext()
7983; return 0; } 8016; return 0; }
7984EOF 8017EOF
7985if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8018if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7986 rm -rf conftest* 8019 rm -rf conftest*
7987 eval "ac_cv_lib_$ac_lib_var=yes" 8020 eval "ac_cv_lib_$ac_lib_var=yes"
7988else 8021else
@@ -8011,7 +8044,7 @@ fi
8011 8044
8012 8045
8013echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8046echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8014echo "configure:8015: checking whether localtime caches TZ" >&5 8047echo "configure:8048: checking whether localtime caches TZ" >&5
8015if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 8048if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
8016 echo $ac_n "(cached) $ac_c" 1>&6 8049 echo $ac_n "(cached) $ac_c" 1>&6
8017else 8050else
@@ -8021,7 +8054,7 @@ if test "$cross_compiling" = yes; then
8021emacs_cv_localtime_cache=yes 8054emacs_cv_localtime_cache=yes
8022else 8055else
8023 cat > conftest.$ac_ext <<EOF 8056 cat > conftest.$ac_ext <<EOF
8024#line 8025 "configure" 8057#line 8058 "configure"
8025#include "confdefs.h" 8058#include "confdefs.h"
8026#include <time.h> 8059#include <time.h>
8027extern char **environ; 8060extern char **environ;
@@ -8053,7 +8086,7 @@ main()
8053 exit (0); 8086 exit (0);
8054} 8087}
8055EOF 8088EOF
8056if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8089if { (eval echo configure:8090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8057then 8090then
8058 emacs_cv_localtime_cache=no 8091 emacs_cv_localtime_cache=no
8059else 8092else
@@ -8083,12 +8116,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
8083 for ac_func in gettimeofday 8116 for ac_func in gettimeofday
8084do 8117do
8085echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8118echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8086echo "configure:8087: checking for $ac_func" >&5 8119echo "configure:8120: checking for $ac_func" >&5
8087if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 8120if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8088 echo $ac_n "(cached) $ac_c" 1>&6 8121 echo $ac_n "(cached) $ac_c" 1>&6
8089else 8122else
8090 cat > conftest.$ac_ext <<EOF 8123 cat > conftest.$ac_ext <<EOF
8091#line 8092 "configure" 8124#line 8125 "configure"
8092#include "confdefs.h" 8125#include "confdefs.h"
8093/* System header to define __stub macros and hopefully few prototypes, 8126/* System header to define __stub macros and hopefully few prototypes,
8094 which can conflict with char $ac_func(); below. */ 8127 which can conflict with char $ac_func(); below. */
@@ -8111,7 +8144,7 @@ $ac_func();
8111 8144
8112; return 0; } 8145; return 0; }
8113EOF 8146EOF
8114if { (eval echo configure:8115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8147if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8115 rm -rf conftest* 8148 rm -rf conftest*
8116 eval "ac_cv_func_$ac_func=yes" 8149 eval "ac_cv_func_$ac_func=yes"
8117else 8150else
@@ -8136,12 +8169,12 @@ fi
8136done 8169done
8137 8170
8138 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 8171 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
8139echo "configure:8140: checking whether gettimeofday can accept two arguments" >&5 8172echo "configure:8173: checking whether gettimeofday can accept two arguments" >&5
8140if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 8173if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
8141 echo $ac_n "(cached) $ac_c" 1>&6 8174 echo $ac_n "(cached) $ac_c" 1>&6
8142else 8175else
8143 cat > conftest.$ac_ext <<EOF 8176 cat > conftest.$ac_ext <<EOF
8144#line 8145 "configure" 8177#line 8178 "configure"
8145#include "confdefs.h" 8178#include "confdefs.h"
8146 8179
8147#ifdef TIME_WITH_SYS_TIME 8180#ifdef TIME_WITH_SYS_TIME
@@ -8159,7 +8192,7 @@ struct timeval time;
8159 gettimeofday (&time, 0); 8192 gettimeofday (&time, 0);
8160; return 0; } 8193; return 0; }
8161EOF 8194EOF
8162if { (eval echo configure:8163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8195if { (eval echo configure:8196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8163 rm -rf conftest* 8196 rm -rf conftest*
8164 emacs_cv_gettimeofday_two_arguments=yes 8197 emacs_cv_gettimeofday_two_arguments=yes
8165else 8198else
@@ -8182,25 +8215,25 @@ fi
8182 8215
8183if test "$ac_cv_func_gettimeofday" = yes; then 8216if test "$ac_cv_func_gettimeofday" = yes; then
8184 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 8217 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
8185echo "configure:8186: checking for struct timezone" >&5 8218echo "configure:8219: checking for struct timezone" >&5
8186if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 8219if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
8187 echo $ac_n "(cached) $ac_c" 1>&6 8220 echo $ac_n "(cached) $ac_c" 1>&6
8188else 8221else
8189 cat > conftest.$ac_ext <<EOF 8222 cat > conftest.$ac_ext <<EOF
8190#line 8191 "configure" 8223#line 8224 "configure"
8191#include "confdefs.h" 8224#include "confdefs.h"
8192#include <sys/time.h> 8225#include <sys/time.h>
8193int main() { 8226int main() {
8194struct timezone tz; 8227struct timezone tz;
8195; return 0; } 8228; return 0; }
8196EOF 8229EOF
8197if { (eval echo configure:8198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8230if { (eval echo configure:8231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8198 rm -rf conftest* 8231 rm -rf conftest*
8199 if test "$cross_compiling" = yes; then 8232 if test "$cross_compiling" = yes; then
8200 emacs_cv_struct_timezone=yes 8233 emacs_cv_struct_timezone=yes
8201else 8234else
8202 cat > conftest.$ac_ext <<EOF 8235 cat > conftest.$ac_ext <<EOF
8203#line 8204 "configure" 8236#line 8237 "configure"
8204#include "confdefs.h" 8237#include "confdefs.h"
8205 8238
8206#ifdef TIME_WITH_SYS_TIME 8239#ifdef TIME_WITH_SYS_TIME
@@ -8219,7 +8252,7 @@ main () {
8219 exit (gettimeofday (&time, &dummy)); 8252 exit (gettimeofday (&time, &dummy));
8220} 8253}
8221EOF 8254EOF
8222if { (eval echo configure:8223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8255if { (eval echo configure:8256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8223then 8256then
8224 emacs_cv_struct_timezone=yes 8257 emacs_cv_struct_timezone=yes
8225else 8258else
@@ -8245,12 +8278,12 @@ fi
8245 8278
8246ok_so_far=yes 8279ok_so_far=yes
8247echo $ac_n "checking for socket""... $ac_c" 1>&6 8280echo $ac_n "checking for socket""... $ac_c" 1>&6
8248echo "configure:8249: checking for socket" >&5 8281echo "configure:8282: checking for socket" >&5
8249if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8282if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
8250 echo $ac_n "(cached) $ac_c" 1>&6 8283 echo $ac_n "(cached) $ac_c" 1>&6
8251else 8284else
8252 cat > conftest.$ac_ext <<EOF 8285 cat > conftest.$ac_ext <<EOF
8253#line 8254 "configure" 8286#line 8287 "configure"
8254#include "confdefs.h" 8287#include "confdefs.h"
8255/* System header to define __stub macros and hopefully few prototypes, 8288/* System header to define __stub macros and hopefully few prototypes,
8256 which can conflict with char socket(); below. */ 8289 which can conflict with char socket(); below. */
@@ -8273,7 +8306,7 @@ socket();
8273 8306
8274; return 0; } 8307; return 0; }
8275EOF 8308EOF
8276if { (eval echo configure:8277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8309if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8277 rm -rf conftest* 8310 rm -rf conftest*
8278 eval "ac_cv_func_socket=yes" 8311 eval "ac_cv_func_socket=yes"
8279else 8312else
@@ -8296,17 +8329,17 @@ fi
8296if test $ok_so_far = yes; then 8329if test $ok_so_far = yes; then
8297 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8330 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8298echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8331echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8299echo "configure:8300: checking for netinet/in.h" >&5 8332echo "configure:8333: checking for netinet/in.h" >&5
8300if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8333if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8301 echo $ac_n "(cached) $ac_c" 1>&6 8334 echo $ac_n "(cached) $ac_c" 1>&6
8302else 8335else
8303 cat > conftest.$ac_ext <<EOF 8336 cat > conftest.$ac_ext <<EOF
8304#line 8305 "configure" 8337#line 8338 "configure"
8305#include "confdefs.h" 8338#include "confdefs.h"
8306#include <netinet/in.h> 8339#include <netinet/in.h>
8307EOF 8340EOF
8308ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8309{ (eval echo configure:8310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8342{ (eval echo configure:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8310ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8311if test -z "$ac_err"; then 8344if test -z "$ac_err"; then
8312 rm -rf conftest* 8345 rm -rf conftest*
@@ -8332,17 +8365,17 @@ fi
8332if test $ok_so_far = yes; then 8365if test $ok_so_far = yes; then
8333 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8366 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8334echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8367echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8335echo "configure:8336: checking for arpa/inet.h" >&5 8368echo "configure:8369: checking for arpa/inet.h" >&5
8336if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8369if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8337 echo $ac_n "(cached) $ac_c" 1>&6 8370 echo $ac_n "(cached) $ac_c" 1>&6
8338else 8371else
8339 cat > conftest.$ac_ext <<EOF 8372 cat > conftest.$ac_ext <<EOF
8340#line 8341 "configure" 8373#line 8374 "configure"
8341#include "confdefs.h" 8374#include "confdefs.h"
8342#include <arpa/inet.h> 8375#include <arpa/inet.h>
8343EOF 8376EOF
8344ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8377ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8345{ (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8378{ (eval echo configure:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8346ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8379ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8347if test -z "$ac_err"; then 8380if test -z "$ac_err"; then
8348 rm -rf conftest* 8381 rm -rf conftest*
@@ -8380,7 +8413,7 @@ EOF
8380fi 8413fi
8381 8414
8382echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8415echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8383echo "configure:8384: checking whether system supports dynamic ptys" >&5 8416echo "configure:8417: checking whether system supports dynamic ptys" >&5
8384if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8417if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8385 echo "$ac_t""yes" 1>&6 8418 echo "$ac_t""yes" 1>&6
8386 cat >> confdefs.h <<\EOF 8419 cat >> confdefs.h <<\EOF
@@ -8392,12 +8425,12 @@ else
8392fi 8425fi
8393 8426
8394echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8427echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8395echo "configure:8396: checking for pid_t" >&5 8428echo "configure:8429: checking for pid_t" >&5
8396if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8429if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8397 echo $ac_n "(cached) $ac_c" 1>&6 8430 echo $ac_n "(cached) $ac_c" 1>&6
8398else 8431else
8399 cat > conftest.$ac_ext <<EOF 8432 cat > conftest.$ac_ext <<EOF
8400#line 8401 "configure" 8433#line 8434 "configure"
8401#include "confdefs.h" 8434#include "confdefs.h"
8402#include <sys/types.h> 8435#include <sys/types.h>
8403#if STDC_HEADERS 8436#if STDC_HEADERS
@@ -8426,17 +8459,17 @@ fi
8426 8459
8427ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8460ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8428echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8461echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8429echo "configure:8430: checking for vfork.h" >&5 8462echo "configure:8463: checking for vfork.h" >&5
8430if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8463if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8431 echo $ac_n "(cached) $ac_c" 1>&6 8464 echo $ac_n "(cached) $ac_c" 1>&6
8432else 8465else
8433 cat > conftest.$ac_ext <<EOF 8466 cat > conftest.$ac_ext <<EOF
8434#line 8435 "configure" 8467#line 8468 "configure"
8435#include "confdefs.h" 8468#include "confdefs.h"
8436#include <vfork.h> 8469#include <vfork.h>
8437EOF 8470EOF
8438ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8471ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8439{ (eval echo configure:8440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8472{ (eval echo configure:8473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8440ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8473ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8441if test -z "$ac_err"; then 8474if test -z "$ac_err"; then
8442 rm -rf conftest* 8475 rm -rf conftest*
@@ -8461,18 +8494,18 @@ else
8461fi 8494fi
8462 8495
8463echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8496echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8464echo "configure:8465: checking for working vfork" >&5 8497echo "configure:8498: checking for working vfork" >&5
8465if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8498if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6 8499 echo $ac_n "(cached) $ac_c" 1>&6
8467else 8500else
8468 if test "$cross_compiling" = yes; then 8501 if test "$cross_compiling" = yes; then
8469 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8502 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8470echo "configure:8471: checking for vfork" >&5 8503echo "configure:8504: checking for vfork" >&5
8471if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8504if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8472 echo $ac_n "(cached) $ac_c" 1>&6 8505 echo $ac_n "(cached) $ac_c" 1>&6
8473else 8506else
8474 cat > conftest.$ac_ext <<EOF 8507 cat > conftest.$ac_ext <<EOF
8475#line 8476 "configure" 8508#line 8509 "configure"
8476#include "confdefs.h" 8509#include "confdefs.h"
8477/* System header to define __stub macros and hopefully few prototypes, 8510/* System header to define __stub macros and hopefully few prototypes,
8478 which can conflict with char vfork(); below. */ 8511 which can conflict with char vfork(); below. */
@@ -8495,7 +8528,7 @@ vfork();
8495 8528
8496; return 0; } 8529; return 0; }
8497EOF 8530EOF
8498if { (eval echo configure:8499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8531if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8499 rm -rf conftest* 8532 rm -rf conftest*
8500 eval "ac_cv_func_vfork=yes" 8533 eval "ac_cv_func_vfork=yes"
8501else 8534else
@@ -8517,7 +8550,7 @@ fi
8517ac_cv_func_vfork_works=$ac_cv_func_vfork 8550ac_cv_func_vfork_works=$ac_cv_func_vfork
8518else 8551else
8519 cat > conftest.$ac_ext <<EOF 8552 cat > conftest.$ac_ext <<EOF
8520#line 8521 "configure" 8553#line 8554 "configure"
8521#include "confdefs.h" 8554#include "confdefs.h"
8522/* Thanks to Paul Eggert for this test. */ 8555/* Thanks to Paul Eggert for this test. */
8523#include <stdio.h> 8556#include <stdio.h>
@@ -8612,7 +8645,7 @@ main() {
8612 } 8645 }
8613} 8646}
8614EOF 8647EOF
8615if { (eval echo configure:8616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8648if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8616then 8649then
8617 ac_cv_func_vfork_works=yes 8650 ac_cv_func_vfork_works=yes
8618else 8651else
@@ -8637,12 +8670,12 @@ fi
8637 8670
8638# Fixme: This should be replaced when we have autoconf 2.14. 8671# Fixme: This should be replaced when we have autoconf 2.14.
8639echo $ac_n "checking for size_t""... $ac_c" 1>&6 8672echo $ac_n "checking for size_t""... $ac_c" 1>&6
8640echo "configure:8641: checking for size_t" >&5 8673echo "configure:8674: checking for size_t" >&5
8641if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 8674if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8642 echo $ac_n "(cached) $ac_c" 1>&6 8675 echo $ac_n "(cached) $ac_c" 1>&6
8643else 8676else
8644 cat > conftest.$ac_ext <<EOF 8677 cat > conftest.$ac_ext <<EOF
8645#line 8646 "configure" 8678#line 8679 "configure"
8646#include "confdefs.h" 8679#include "confdefs.h"
8647#include <sys/types.h> 8680#include <sys/types.h>
8648#if STDC_HEADERS 8681#if STDC_HEADERS
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d96df90b492..2130504178e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12001-01-10 Gerd Moellmann <gerd@gnu.org>
2
3 * simple.el (set-variable): Force a thorough redisplay for the
4 case that the variable has an effect on the display, like
5 `tab-width' has.
6
12001-01-10 Andre Spiegel <spiegel@gnu.org> 72001-01-10 Andre Spiegel <spiegel@gnu.org>
2 8
3 * vc.el: Add documentation for backend interface. 9 * vc.el: Add documentation for backend interface.
diff --git a/man/basic.texi b/man/basic.texi
index f75a446f27e..c323e1064b1 100644
--- a/man/basic.texi
+++ b/man/basic.texi
@@ -464,11 +464,16 @@ nonblank line.
464@cindex wrapping 464@cindex wrapping
465@cindex line wrapping 465@cindex line wrapping
466 If you add too many characters to one line without breaking it with 466 If you add too many characters to one line without breaking it with
467@key{RET}, the line will grow to occupy two (or more) lines on the screen, 467@key{RET}, the line will grow to occupy two (or more) lines on the
468with a @samp{\} at the extreme right margin of all but the last of them. 468screen. On terminals, one or more @samp{\} characters are displayed
469The @samp{\} says that the following screen line is not really a distinct 469at the extreme right margin of all but the last of them. The @samp{\}
470line in the text, but just the @dfn{continuation} of a line too long to fit 470characters say that the following screen line is not really a distinct
471the screen. Continuation is also called @dfn{line wrapping}. 471line in the text, but just the @dfn{continuation} of a line too long
472to fit the screen. Continuation is also called @dfn{line wrapping}.
473More than one @samp{\} is displayed for a wrapped character which is
474wider than one column. On window systems, small bitmaps are displayed
475in the fringes to the left and right of the window to indicate line
476wrapping.
472 477
473 Sometimes it is nice to have Emacs insert newlines automatically when 478 Sometimes it is nice to have Emacs insert newlines automatically when
474a line gets too long. Continuation on the screen does not do that. Use 479a line gets too long. Continuation on the screen does not do that. Use
@@ -478,10 +483,12 @@ Auto Fill mode (@pxref{Filling}) if that's what you want.
478@findex toggle-truncate-lines 483@findex toggle-truncate-lines
479@cindex truncation 484@cindex truncation
480 As an alternative to continuation, Emacs can display long lines by 485 As an alternative to continuation, Emacs can display long lines by
481@dfn{truncation}. This means that all the characters that do not fit in 486@dfn{truncation}. This means that all the characters that do not fit
482the width of the screen or window do not appear at all. They remain in 487in the width of the screen or window do not appear at all. They
483the buffer, temporarily invisible. @samp{$} is used in the last column 488remain in the buffer, temporarily invisible. On terminals, @samp{$}
484instead of @samp{\} to inform you that truncation is in effect. 489is used in the last column instead of @samp{\} to inform you that
490truncation is in effect. On window systems, a small bitmap in the
491fringe to the right of the window indicates line truncation.
485 492
486 Truncation instead of continuation happens whenever horizontal 493 Truncation instead of continuation happens whenever horizontal
487scrolling is in use, and optionally in all side-by-side windows 494scrolling is in use, and optionally in all side-by-side windows
diff --git a/man/mule.texi b/man/mule.texi
index ae6b1444dd5..d127563efa6 100644
--- a/man/mule.texi
+++ b/man/mule.texi
@@ -79,12 +79,17 @@ cases) in the @kbd{C-q} command (@pxref{Multibyte Conversion}).
79 79
80@kindex C-h h 80@kindex C-h h
81@findex view-hello-file 81@findex view-hello-file
82@cindex undisplayable characters
83@cindex ?
84@cindex ??
82 The command @kbd{C-h h} (@code{view-hello-file}) displays the file 85 The command @kbd{C-h h} (@code{view-hello-file}) displays the file
83@file{etc/HELLO}, which shows how to say ``hello'' in many languages. 86@file{etc/HELLO}, which shows how to say ``hello'' in many languages.
84This illustrates various scripts. If the font you're using doesn't have 87This illustrates various scripts. If the font you're using doesn't have
85characters for all those different languages, you will see some hollow 88characters for all those different languages, you will see some hollow
86boxes instead of characters; see @ref{Fontsets}. On non-windowing 89boxes instead of characters; see @ref{Fontsets}. On non-windowing
87displays, @samp{?} is displayed in place of the hollow box. 90displays, @samp{?} is displayed in place of the hollow box. More than
91one @samp{?} is displayed for undisplayable characters that are wider
92than one column.
88 93
89@findex list-charset-chars 94@findex list-charset-chars
90@cindex characters in a certain charset 95@cindex characters in a certain charset
diff --git a/src/ChangeLog b/src/ChangeLog
index c98e9782bbd..123b8ae05e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-01-10 Dave Love <fx@gnu.org>
2
3 * Makefile.in (${etc}DOC): Depend on ${shortlisp} and
4 ${SOME_MACHINE_LISP}, not ${lisp}.
5
12001-01-10 Gerd Moellmann <gerd@gnu.org> 62001-01-10 Gerd Moellmann <gerd@gnu.org>
2 7
3 * xdisp.c (display_line): On ttys, produce more than one 8 * xdisp.c (display_line): On ttys, produce more than one