aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2000-02-17 20:04:15 +0000
committerKen Raeburn2000-02-17 20:04:15 +0000
commit3b3cc4a4899022e6f12bd9cfdbb854111f8443e6 (patch)
tree215f380fc80789dc7e8489bb11ec75f3604927fa
parente3d4de904d1cea029c3321c435441d708c5316d9 (diff)
downloademacs-3b3cc4a4899022e6f12bd9cfdbb854111f8443e6.tar.gz
emacs-3b3cc4a4899022e6f12bd9cfdbb854111f8443e6.zip
include -lz and -ljpeg when testing for -ltiff
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure259
-rw-r--r--configure.in5
3 files changed, 140 insertions, 129 deletions
diff --git a/ChangeLog b/ChangeLog
index bcc3f88d283..be36fdd0fd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-02-17 Ken Raeburn <raeburn@gnu.org>
2
3 * configure.in: Include -lz and -ljpeg (if it's available) when
4 testing for the tiff library.
5
12000-02-17 Gerd Moellmann <gerd@gnu.org> 62000-02-17 Gerd Moellmann <gerd@gnu.org>
2 7
3 * configure.in: Remove LISP_FLOAT_TYPE. 8 * configure.in: Remove LISP_FLOAT_TYPE.
diff --git a/configure b/configure
index 5e4f5699810..9235ac35e74 100755
--- a/configure
+++ b/configure
@@ -4483,16 +4483,19 @@ rm -f conftest*
4483fi 4483fi
4484if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4484if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4485 echo "$ac_t""yes" 1>&6 4485 echo "$ac_t""yes" 1>&6
4486 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4486 tifflibs="-lX11 -lz -lm"
4487echo "configure:4488: checking for TIFFGetVersion in -ltiff" >&5 4487 # At least one tiff package requires the jpeg library.
4488 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4489 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4490echo "configure:4491: checking for TIFFGetVersion in -ltiff" >&5
4488ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4491ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4489if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4492if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4490 echo $ac_n "(cached) $ac_c" 1>&6 4493 echo $ac_n "(cached) $ac_c" 1>&6
4491else 4494else
4492 ac_save_LIBS="$LIBS" 4495 ac_save_LIBS="$LIBS"
4493LIBS="-ltiff -lX11 -lm $LIBS" 4496LIBS="-ltiff $tifflibs $LIBS"
4494cat > conftest.$ac_ext <<EOF 4497cat > conftest.$ac_ext <<EOF
4495#line 4496 "configure" 4498#line 4499 "configure"
4496#include "confdefs.h" 4499#include "confdefs.h"
4497/* Override any gcc2 internal prototype to avoid an error. */ 4500/* Override any gcc2 internal prototype to avoid an error. */
4498/* We use char because int might match the return type of a gcc2 4501/* We use char because int might match the return type of a gcc2
@@ -4503,7 +4506,7 @@ int main() {
4503TIFFGetVersion() 4506TIFFGetVersion()
4504; return 0; } 4507; return 0; }
4505EOF 4508EOF
4506if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4509if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4507 rm -rf conftest* 4510 rm -rf conftest*
4508 eval "ac_cv_lib_$ac_lib_var=yes" 4511 eval "ac_cv_lib_$ac_lib_var=yes"
4509else 4512else
@@ -4546,17 +4549,17 @@ if test "${HAVE_X11}" = "yes"; then
4546 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4549 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4547 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4550 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4548echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4551echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4549echo "configure:4550: checking for gif_lib.h" >&5 4552echo "configure:4553: checking for gif_lib.h" >&5
4550if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4553if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4551 echo $ac_n "(cached) $ac_c" 1>&6 4554 echo $ac_n "(cached) $ac_c" 1>&6
4552else 4555else
4553 cat > conftest.$ac_ext <<EOF 4556 cat > conftest.$ac_ext <<EOF
4554#line 4555 "configure" 4557#line 4558 "configure"
4555#include "confdefs.h" 4558#include "confdefs.h"
4556#include <gif_lib.h> 4559#include <gif_lib.h>
4557EOF 4560EOF
4558ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4561ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4559{ (eval echo configure:4560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4562{ (eval echo configure:4563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4560ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4563ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4561if test -z "$ac_err"; then 4564if test -z "$ac_err"; then
4562 rm -rf conftest* 4565 rm -rf conftest*
@@ -4573,7 +4576,7 @@ fi
4573if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4576if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4574 echo "$ac_t""yes" 1>&6 4577 echo "$ac_t""yes" 1>&6
4575 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4578 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4576echo "configure:4577: checking for DGifOpen in -lungif" >&5 4579echo "configure:4580: checking for DGifOpen in -lungif" >&5
4577ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4580ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4578if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4579 echo $ac_n "(cached) $ac_c" 1>&6 4582 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4581,7 +4584,7 @@ else
4581 ac_save_LIBS="$LIBS" 4584 ac_save_LIBS="$LIBS"
4582LIBS="-lungif -lX11 $LIBS" 4585LIBS="-lungif -lX11 $LIBS"
4583cat > conftest.$ac_ext <<EOF 4586cat > conftest.$ac_ext <<EOF
4584#line 4585 "configure" 4587#line 4588 "configure"
4585#include "confdefs.h" 4588#include "confdefs.h"
4586/* Override any gcc2 internal prototype to avoid an error. */ 4589/* Override any gcc2 internal prototype to avoid an error. */
4587/* We use char because int might match the return type of a gcc2 4590/* We use char because int might match the return type of a gcc2
@@ -4592,7 +4595,7 @@ int main() {
4592DGifOpen() 4595DGifOpen()
4593; return 0; } 4596; return 0; }
4594EOF 4597EOF
4595if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4598if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4596 rm -rf conftest* 4599 rm -rf conftest*
4597 eval "ac_cv_lib_$ac_lib_var=yes" 4600 eval "ac_cv_lib_$ac_lib_var=yes"
4598else 4601else
@@ -4629,19 +4632,19 @@ fi
4629 4632
4630# If netdb.h doesn't declare h_errno, we must declare it by hand. 4633# If netdb.h doesn't declare h_errno, we must declare it by hand.
4631echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4634echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4632echo "configure:4633: checking whether netdb declares h_errno" >&5 4635echo "configure:4636: checking whether netdb declares h_errno" >&5
4633if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4636if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4634 echo $ac_n "(cached) $ac_c" 1>&6 4637 echo $ac_n "(cached) $ac_c" 1>&6
4635else 4638else
4636 cat > conftest.$ac_ext <<EOF 4639 cat > conftest.$ac_ext <<EOF
4637#line 4638 "configure" 4640#line 4641 "configure"
4638#include "confdefs.h" 4641#include "confdefs.h"
4639#include <netdb.h> 4642#include <netdb.h>
4640int main() { 4643int main() {
4641return h_errno; 4644return h_errno;
4642; return 0; } 4645; return 0; }
4643EOF 4646EOF
4644if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4647if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4645 rm -rf conftest* 4648 rm -rf conftest*
4646 emacs_cv_netdb_declares_h_errno=yes 4649 emacs_cv_netdb_declares_h_errno=yes
4647else 4650else
@@ -4664,19 +4667,19 @@ fi
4664# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4667# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4665# for constant arguments. Useless! 4668# for constant arguments. Useless!
4666echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4669echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4667echo "configure:4668: checking for working alloca.h" >&5 4670echo "configure:4671: checking for working alloca.h" >&5
4668if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4671if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4669 echo $ac_n "(cached) $ac_c" 1>&6 4672 echo $ac_n "(cached) $ac_c" 1>&6
4670else 4673else
4671 cat > conftest.$ac_ext <<EOF 4674 cat > conftest.$ac_ext <<EOF
4672#line 4673 "configure" 4675#line 4676 "configure"
4673#include "confdefs.h" 4676#include "confdefs.h"
4674#include <alloca.h> 4677#include <alloca.h>
4675int main() { 4678int main() {
4676char *p = alloca(2 * sizeof(int)); 4679char *p = alloca(2 * sizeof(int));
4677; return 0; } 4680; return 0; }
4678EOF 4681EOF
4679if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4682if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4680 rm -rf conftest* 4683 rm -rf conftest*
4681 ac_cv_header_alloca_h=yes 4684 ac_cv_header_alloca_h=yes
4682else 4685else
@@ -4697,12 +4700,12 @@ EOF
4697fi 4700fi
4698 4701
4699echo $ac_n "checking for alloca""... $ac_c" 1>&6 4702echo $ac_n "checking for alloca""... $ac_c" 1>&6
4700echo "configure:4701: checking for alloca" >&5 4703echo "configure:4704: checking for alloca" >&5
4701if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4704if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4702 echo $ac_n "(cached) $ac_c" 1>&6 4705 echo $ac_n "(cached) $ac_c" 1>&6
4703else 4706else
4704 cat > conftest.$ac_ext <<EOF 4707 cat > conftest.$ac_ext <<EOF
4705#line 4706 "configure" 4708#line 4709 "configure"
4706#include "confdefs.h" 4709#include "confdefs.h"
4707 4710
4708#ifdef __GNUC__ 4711#ifdef __GNUC__
@@ -4730,7 +4733,7 @@ int main() {
4730char *p = (char *) alloca(1); 4733char *p = (char *) alloca(1);
4731; return 0; } 4734; return 0; }
4732EOF 4735EOF
4733if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4736if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4734 rm -rf conftest* 4737 rm -rf conftest*
4735 ac_cv_func_alloca_works=yes 4738 ac_cv_func_alloca_works=yes
4736else 4739else
@@ -4762,12 +4765,12 @@ EOF
4762 4765
4763 4766
4764echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4767echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4765echo "configure:4766: checking whether alloca needs Cray hooks" >&5 4768echo "configure:4769: checking whether alloca needs Cray hooks" >&5
4766if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4769if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4767 echo $ac_n "(cached) $ac_c" 1>&6 4770 echo $ac_n "(cached) $ac_c" 1>&6
4768else 4771else
4769 cat > conftest.$ac_ext <<EOF 4772 cat > conftest.$ac_ext <<EOF
4770#line 4771 "configure" 4773#line 4774 "configure"
4771#include "confdefs.h" 4774#include "confdefs.h"
4772#if defined(CRAY) && ! defined(CRAY2) 4775#if defined(CRAY) && ! defined(CRAY2)
4773webecray 4776webecray
@@ -4792,12 +4795,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4792if test $ac_cv_os_cray = yes; then 4795if test $ac_cv_os_cray = yes; then
4793for ac_func in _getb67 GETB67 getb67; do 4796for ac_func in _getb67 GETB67 getb67; do
4794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4795echo "configure:4796: checking for $ac_func" >&5 4798echo "configure:4799: checking for $ac_func" >&5
4796if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4799if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4797 echo $ac_n "(cached) $ac_c" 1>&6 4800 echo $ac_n "(cached) $ac_c" 1>&6
4798else 4801else
4799 cat > conftest.$ac_ext <<EOF 4802 cat > conftest.$ac_ext <<EOF
4800#line 4801 "configure" 4803#line 4804 "configure"
4801#include "confdefs.h" 4804#include "confdefs.h"
4802/* System header to define __stub macros and hopefully few prototypes, 4805/* System header to define __stub macros and hopefully few prototypes,
4803 which can conflict with char $ac_func(); below. */ 4806 which can conflict with char $ac_func(); below. */
@@ -4820,7 +4823,7 @@ $ac_func();
4820 4823
4821; return 0; } 4824; return 0; }
4822EOF 4825EOF
4823if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4826if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4824 rm -rf conftest* 4827 rm -rf conftest*
4825 eval "ac_cv_func_$ac_func=yes" 4828 eval "ac_cv_func_$ac_func=yes"
4826else 4829else
@@ -4847,7 +4850,7 @@ done
4847fi 4850fi
4848 4851
4849echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4852echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4850echo "configure:4851: checking stack direction for C alloca" >&5 4853echo "configure:4854: checking stack direction for C alloca" >&5
4851if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4854if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4852 echo $ac_n "(cached) $ac_c" 1>&6 4855 echo $ac_n "(cached) $ac_c" 1>&6
4853else 4856else
@@ -4855,7 +4858,7 @@ else
4855 ac_cv_c_stack_direction=0 4858 ac_cv_c_stack_direction=0
4856else 4859else
4857 cat > conftest.$ac_ext <<EOF 4860 cat > conftest.$ac_ext <<EOF
4858#line 4859 "configure" 4861#line 4862 "configure"
4859#include "confdefs.h" 4862#include "confdefs.h"
4860find_stack_direction () 4863find_stack_direction ()
4861{ 4864{
@@ -4874,7 +4877,7 @@ main ()
4874 exit (find_stack_direction() < 0); 4877 exit (find_stack_direction() < 0);
4875} 4878}
4876EOF 4879EOF
4877if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4880if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4878then 4881then
4879 ac_cv_c_stack_direction=1 4882 ac_cv_c_stack_direction=1
4880else 4883else
@@ -4899,7 +4902,7 @@ fi
4899# fmod, logb, and frexp are found in -lm on most systems. 4902# fmod, logb, and frexp are found in -lm on most systems.
4900# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4903# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4901echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4904echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4902echo "configure:4903: checking for sqrt in -lm" >&5 4905echo "configure:4906: checking for sqrt in -lm" >&5
4903ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4906ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4904if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4905 echo $ac_n "(cached) $ac_c" 1>&6 4908 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4907,7 +4910,7 @@ else
4907 ac_save_LIBS="$LIBS" 4910 ac_save_LIBS="$LIBS"
4908LIBS="-lm $LIBS" 4911LIBS="-lm $LIBS"
4909cat > conftest.$ac_ext <<EOF 4912cat > conftest.$ac_ext <<EOF
4910#line 4911 "configure" 4913#line 4914 "configure"
4911#include "confdefs.h" 4914#include "confdefs.h"
4912/* Override any gcc2 internal prototype to avoid an error. */ 4915/* Override any gcc2 internal prototype to avoid an error. */
4913/* We use char because int might match the return type of a gcc2 4916/* We use char because int might match the return type of a gcc2
@@ -4918,7 +4921,7 @@ int main() {
4918sqrt() 4921sqrt()
4919; return 0; } 4922; return 0; }
4920EOF 4923EOF
4921if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4924if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4922 rm -rf conftest* 4925 rm -rf conftest*
4923 eval "ac_cv_lib_$ac_lib_var=yes" 4926 eval "ac_cv_lib_$ac_lib_var=yes"
4924else 4927else
@@ -4948,7 +4951,7 @@ fi
4948 4951
4949# Check for mail-locking functions in a "mail" library 4952# Check for mail-locking functions in a "mail" library
4950echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4953echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4951echo "configure:4952: checking for maillock in -lmail" >&5 4954echo "configure:4955: checking for maillock in -lmail" >&5
4952ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4955ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4953if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4956if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4954 echo $ac_n "(cached) $ac_c" 1>&6 4957 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4956,7 +4959,7 @@ else
4956 ac_save_LIBS="$LIBS" 4959 ac_save_LIBS="$LIBS"
4957LIBS="-lmail $LIBS" 4960LIBS="-lmail $LIBS"
4958cat > conftest.$ac_ext <<EOF 4961cat > conftest.$ac_ext <<EOF
4959#line 4960 "configure" 4962#line 4963 "configure"
4960#include "confdefs.h" 4963#include "confdefs.h"
4961/* Override any gcc2 internal prototype to avoid an error. */ 4964/* Override any gcc2 internal prototype to avoid an error. */
4962/* We use char because int might match the return type of a gcc2 4965/* We use char because int might match the return type of a gcc2
@@ -4967,7 +4970,7 @@ int main() {
4967maillock() 4970maillock()
4968; return 0; } 4971; return 0; }
4969EOF 4972EOF
4970if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4973if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4971 rm -rf conftest* 4974 rm -rf conftest*
4972 eval "ac_cv_lib_$ac_lib_var=yes" 4975 eval "ac_cv_lib_$ac_lib_var=yes"
4973else 4976else
@@ -4995,7 +4998,7 @@ else
4995fi 4998fi
4996 4999
4997echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5000echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
4998echo "configure:4999: checking for maillock in -llockfile" >&5 5001echo "configure:5002: checking for maillock in -llockfile" >&5
4999ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5002ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5000if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5001 echo $ac_n "(cached) $ac_c" 1>&6 5004 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5003,7 +5006,7 @@ else
5003 ac_save_LIBS="$LIBS" 5006 ac_save_LIBS="$LIBS"
5004LIBS="-llockfile $LIBS" 5007LIBS="-llockfile $LIBS"
5005cat > conftest.$ac_ext <<EOF 5008cat > conftest.$ac_ext <<EOF
5006#line 5007 "configure" 5009#line 5010 "configure"
5007#include "confdefs.h" 5010#include "confdefs.h"
5008/* Override any gcc2 internal prototype to avoid an error. */ 5011/* Override any gcc2 internal prototype to avoid an error. */
5009/* We use char because int might match the return type of a gcc2 5012/* We use char because int might match the return type of a gcc2
@@ -5014,7 +5017,7 @@ int main() {
5014maillock() 5017maillock()
5015; return 0; } 5018; return 0; }
5016EOF 5019EOF
5017if { (eval echo configure:5018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5020if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5018 rm -rf conftest* 5021 rm -rf conftest*
5019 eval "ac_cv_lib_$ac_lib_var=yes" 5022 eval "ac_cv_lib_$ac_lib_var=yes"
5020else 5023else
@@ -5048,7 +5051,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5048 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5051 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5049set dummy liblockfile.so; ac_word=$2 5052set dummy liblockfile.so; ac_word=$2
5050echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5053echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5051echo "configure:5052: checking for $ac_word" >&5 5054echo "configure:5055: checking for $ac_word" >&5
5052if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5055if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5053 echo $ac_n "(cached) $ac_c" 1>&6 5056 echo $ac_n "(cached) $ac_c" 1>&6
5054else 5057else
@@ -5089,12 +5092,12 @@ fi
5089for ac_func in touchlock 5092for ac_func in touchlock
5090do 5093do
5091echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5094echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5092echo "configure:5093: checking for $ac_func" >&5 5095echo "configure:5096: checking for $ac_func" >&5
5093if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5096if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5094 echo $ac_n "(cached) $ac_c" 1>&6 5097 echo $ac_n "(cached) $ac_c" 1>&6
5095else 5098else
5096 cat > conftest.$ac_ext <<EOF 5099 cat > conftest.$ac_ext <<EOF
5097#line 5098 "configure" 5100#line 5101 "configure"
5098#include "confdefs.h" 5101#include "confdefs.h"
5099/* System header to define __stub macros and hopefully few prototypes, 5102/* System header to define __stub macros and hopefully few prototypes,
5100 which can conflict with char $ac_func(); below. */ 5103 which can conflict with char $ac_func(); below. */
@@ -5117,7 +5120,7 @@ $ac_func();
5117 5120
5118; return 0; } 5121; return 0; }
5119EOF 5122EOF
5120if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5123if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5121 rm -rf conftest* 5124 rm -rf conftest*
5122 eval "ac_cv_func_$ac_func=yes" 5125 eval "ac_cv_func_$ac_func=yes"
5123else 5126else
@@ -5145,17 +5148,17 @@ for ac_hdr in maillock.h
5145do 5148do
5146ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5149ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5147echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5150echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5148echo "configure:5149: checking for $ac_hdr" >&5 5151echo "configure:5152: checking for $ac_hdr" >&5
5149if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5152if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5150 echo $ac_n "(cached) $ac_c" 1>&6 5153 echo $ac_n "(cached) $ac_c" 1>&6
5151else 5154else
5152 cat > conftest.$ac_ext <<EOF 5155 cat > conftest.$ac_ext <<EOF
5153#line 5154 "configure" 5156#line 5157 "configure"
5154#include "confdefs.h" 5157#include "confdefs.h"
5155#include <$ac_hdr> 5158#include <$ac_hdr>
5156EOF 5159EOF
5157ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5160ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5158{ (eval echo configure:5159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5161{ (eval echo configure:5162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5159ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5162ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5160if test -z "$ac_err"; then 5163if test -z "$ac_err"; then
5161 rm -rf conftest* 5164 rm -rf conftest*
@@ -5190,12 +5193,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5190__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5193__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5191do 5194do
5192echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5195echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5193echo "configure:5194: checking for $ac_func" >&5 5196echo "configure:5197: checking for $ac_func" >&5
5194if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5197if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5195 echo $ac_n "(cached) $ac_c" 1>&6 5198 echo $ac_n "(cached) $ac_c" 1>&6
5196else 5199else
5197 cat > conftest.$ac_ext <<EOF 5200 cat > conftest.$ac_ext <<EOF
5198#line 5199 "configure" 5201#line 5202 "configure"
5199#include "confdefs.h" 5202#include "confdefs.h"
5200/* System header to define __stub macros and hopefully few prototypes, 5203/* System header to define __stub macros and hopefully few prototypes,
5201 which can conflict with char $ac_func(); below. */ 5204 which can conflict with char $ac_func(); below. */
@@ -5218,7 +5221,7 @@ $ac_func();
5218 5221
5219; return 0; } 5222; return 0; }
5220EOF 5223EOF
5221if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5224if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5222 rm -rf conftest* 5225 rm -rf conftest*
5223 eval "ac_cv_func_$ac_func=yes" 5226 eval "ac_cv_func_$ac_func=yes"
5224else 5227else
@@ -5248,7 +5251,7 @@ done
5248# It's better to believe a function is not available 5251# It's better to believe a function is not available
5249# than to expect to find it in ncurses. 5252# than to expect to find it in ncurses.
5250echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5253echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5251echo "configure:5252: checking for tparm in -lncurses" >&5 5254echo "configure:5255: checking for tparm in -lncurses" >&5
5252ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5255ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5253if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5254 echo $ac_n "(cached) $ac_c" 1>&6 5257 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5256,7 +5259,7 @@ else
5256 ac_save_LIBS="$LIBS" 5259 ac_save_LIBS="$LIBS"
5257LIBS="-lncurses $LIBS" 5260LIBS="-lncurses $LIBS"
5258cat > conftest.$ac_ext <<EOF 5261cat > conftest.$ac_ext <<EOF
5259#line 5260 "configure" 5262#line 5263 "configure"
5260#include "confdefs.h" 5263#include "confdefs.h"
5261/* Override any gcc2 internal prototype to avoid an error. */ 5264/* Override any gcc2 internal prototype to avoid an error. */
5262/* We use char because int might match the return type of a gcc2 5265/* We use char because int might match the return type of a gcc2
@@ -5267,7 +5270,7 @@ int main() {
5267tparm() 5270tparm()
5268; return 0; } 5271; return 0; }
5269EOF 5272EOF
5270if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5273if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5271 rm -rf conftest* 5274 rm -rf conftest*
5272 eval "ac_cv_lib_$ac_lib_var=yes" 5275 eval "ac_cv_lib_$ac_lib_var=yes"
5273else 5276else
@@ -5298,7 +5301,7 @@ fi
5298# These tell us which Kerberos-related libraries to use. 5301# These tell us which Kerberos-related libraries to use.
5299if test "${with_kerberos+set}" = set; then 5302if test "${with_kerberos+set}" = set; then
5300 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5303 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5301echo "configure:5302: checking for com_err in -lcom_err" >&5 5304echo "configure:5305: checking for com_err in -lcom_err" >&5
5302ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5305ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5303if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5306if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5304 echo $ac_n "(cached) $ac_c" 1>&6 5307 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5306,7 +5309,7 @@ else
5306 ac_save_LIBS="$LIBS" 5309 ac_save_LIBS="$LIBS"
5307LIBS="-lcom_err $LIBS" 5310LIBS="-lcom_err $LIBS"
5308cat > conftest.$ac_ext <<EOF 5311cat > conftest.$ac_ext <<EOF
5309#line 5310 "configure" 5312#line 5313 "configure"
5310#include "confdefs.h" 5313#include "confdefs.h"
5311/* Override any gcc2 internal prototype to avoid an error. */ 5314/* Override any gcc2 internal prototype to avoid an error. */
5312/* We use char because int might match the return type of a gcc2 5315/* We use char because int might match the return type of a gcc2
@@ -5317,7 +5320,7 @@ int main() {
5317com_err() 5320com_err()
5318; return 0; } 5321; return 0; }
5319EOF 5322EOF
5320if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5323if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5321 rm -rf conftest* 5324 rm -rf conftest*
5322 eval "ac_cv_lib_$ac_lib_var=yes" 5325 eval "ac_cv_lib_$ac_lib_var=yes"
5323else 5326else
@@ -5345,7 +5348,7 @@ else
5345fi 5348fi
5346 5349
5347 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5350 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5348echo "configure:5349: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5351echo "configure:5352: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5349ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5352ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5350if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5353if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5351 echo $ac_n "(cached) $ac_c" 1>&6 5354 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5353,7 +5356,7 @@ else
5353 ac_save_LIBS="$LIBS" 5356 ac_save_LIBS="$LIBS"
5354LIBS="-lk5crypto $LIBS" 5357LIBS="-lk5crypto $LIBS"
5355cat > conftest.$ac_ext <<EOF 5358cat > conftest.$ac_ext <<EOF
5356#line 5357 "configure" 5359#line 5360 "configure"
5357#include "confdefs.h" 5360#include "confdefs.h"
5358/* Override any gcc2 internal prototype to avoid an error. */ 5361/* Override any gcc2 internal prototype to avoid an error. */
5359/* We use char because int might match the return type of a gcc2 5362/* We use char because int might match the return type of a gcc2
@@ -5364,7 +5367,7 @@ int main() {
5364mit_des_cbc_encrypt() 5367mit_des_cbc_encrypt()
5365; return 0; } 5368; return 0; }
5366EOF 5369EOF
5367if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5370if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5368 rm -rf conftest* 5371 rm -rf conftest*
5369 eval "ac_cv_lib_$ac_lib_var=yes" 5372 eval "ac_cv_lib_$ac_lib_var=yes"
5370else 5373else
@@ -5392,7 +5395,7 @@ else
5392fi 5395fi
5393 5396
5394 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5397 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5395echo "configure:5396: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5398echo "configure:5399: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5396ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5399ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5397if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5400if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5398 echo $ac_n "(cached) $ac_c" 1>&6 5401 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5400,7 +5403,7 @@ else
5400 ac_save_LIBS="$LIBS" 5403 ac_save_LIBS="$LIBS"
5401LIBS="-lcrypto $LIBS" 5404LIBS="-lcrypto $LIBS"
5402cat > conftest.$ac_ext <<EOF 5405cat > conftest.$ac_ext <<EOF
5403#line 5404 "configure" 5406#line 5407 "configure"
5404#include "confdefs.h" 5407#include "confdefs.h"
5405/* Override any gcc2 internal prototype to avoid an error. */ 5408/* Override any gcc2 internal prototype to avoid an error. */
5406/* We use char because int might match the return type of a gcc2 5409/* We use char because int might match the return type of a gcc2
@@ -5411,7 +5414,7 @@ int main() {
5411mit_des_cbc_encrypt() 5414mit_des_cbc_encrypt()
5412; return 0; } 5415; return 0; }
5413EOF 5416EOF
5414if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5417if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5415 rm -rf conftest* 5418 rm -rf conftest*
5416 eval "ac_cv_lib_$ac_lib_var=yes" 5419 eval "ac_cv_lib_$ac_lib_var=yes"
5417else 5420else
@@ -5439,7 +5442,7 @@ else
5439fi 5442fi
5440 5443
5441 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5444 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5442echo "configure:5443: checking for krb5_init_context in -lkrb5" >&5 5445echo "configure:5446: checking for krb5_init_context in -lkrb5" >&5
5443ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5446ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5444if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5447if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5445 echo $ac_n "(cached) $ac_c" 1>&6 5448 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5447,7 +5450,7 @@ else
5447 ac_save_LIBS="$LIBS" 5450 ac_save_LIBS="$LIBS"
5448LIBS="-lkrb5 $LIBS" 5451LIBS="-lkrb5 $LIBS"
5449cat > conftest.$ac_ext <<EOF 5452cat > conftest.$ac_ext <<EOF
5450#line 5451 "configure" 5453#line 5454 "configure"
5451#include "confdefs.h" 5454#include "confdefs.h"
5452/* Override any gcc2 internal prototype to avoid an error. */ 5455/* Override any gcc2 internal prototype to avoid an error. */
5453/* We use char because int might match the return type of a gcc2 5456/* We use char because int might match the return type of a gcc2
@@ -5458,7 +5461,7 @@ int main() {
5458krb5_init_context() 5461krb5_init_context()
5459; return 0; } 5462; return 0; }
5460EOF 5463EOF
5461if { (eval echo configure:5462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5464if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5462 rm -rf conftest* 5465 rm -rf conftest*
5463 eval "ac_cv_lib_$ac_lib_var=yes" 5466 eval "ac_cv_lib_$ac_lib_var=yes"
5464else 5467else
@@ -5487,7 +5490,7 @@ fi
5487 5490
5488 if test "${with_kerberos5+set}" != set; then 5491 if test "${with_kerberos5+set}" != set; then
5489 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5492 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5490echo "configure:5491: checking for des_cbc_encrypt in -ldes425" >&5 5493echo "configure:5494: checking for des_cbc_encrypt in -ldes425" >&5
5491ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5494ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5492if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5495if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5493 echo $ac_n "(cached) $ac_c" 1>&6 5496 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5495,7 +5498,7 @@ else
5495 ac_save_LIBS="$LIBS" 5498 ac_save_LIBS="$LIBS"
5496LIBS="-ldes425 $LIBS" 5499LIBS="-ldes425 $LIBS"
5497cat > conftest.$ac_ext <<EOF 5500cat > conftest.$ac_ext <<EOF
5498#line 5499 "configure" 5501#line 5502 "configure"
5499#include "confdefs.h" 5502#include "confdefs.h"
5500/* Override any gcc2 internal prototype to avoid an error. */ 5503/* Override any gcc2 internal prototype to avoid an error. */
5501/* We use char because int might match the return type of a gcc2 5504/* We use char because int might match the return type of a gcc2
@@ -5506,7 +5509,7 @@ int main() {
5506des_cbc_encrypt() 5509des_cbc_encrypt()
5507; return 0; } 5510; return 0; }
5508EOF 5511EOF
5509if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5512if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5510 rm -rf conftest* 5513 rm -rf conftest*
5511 eval "ac_cv_lib_$ac_lib_var=yes" 5514 eval "ac_cv_lib_$ac_lib_var=yes"
5512else 5515else
@@ -5532,7 +5535,7 @@ EOF
5532else 5535else
5533 echo "$ac_t""no" 1>&6 5536 echo "$ac_t""no" 1>&6
5534echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5537echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5535echo "configure:5536: checking for des_cbc_encrypt in -ldes" >&5 5538echo "configure:5539: checking for des_cbc_encrypt in -ldes" >&5
5536ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5539ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5537if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5540if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5538 echo $ac_n "(cached) $ac_c" 1>&6 5541 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5540,7 +5543,7 @@ else
5540 ac_save_LIBS="$LIBS" 5543 ac_save_LIBS="$LIBS"
5541LIBS="-ldes $LIBS" 5544LIBS="-ldes $LIBS"
5542cat > conftest.$ac_ext <<EOF 5545cat > conftest.$ac_ext <<EOF
5543#line 5544 "configure" 5546#line 5547 "configure"
5544#include "confdefs.h" 5547#include "confdefs.h"
5545/* Override any gcc2 internal prototype to avoid an error. */ 5548/* Override any gcc2 internal prototype to avoid an error. */
5546/* We use char because int might match the return type of a gcc2 5549/* We use char because int might match the return type of a gcc2
@@ -5551,7 +5554,7 @@ int main() {
5551des_cbc_encrypt() 5554des_cbc_encrypt()
5552; return 0; } 5555; return 0; }
5553EOF 5556EOF
5554if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5557if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5555 rm -rf conftest* 5558 rm -rf conftest*
5556 eval "ac_cv_lib_$ac_lib_var=yes" 5559 eval "ac_cv_lib_$ac_lib_var=yes"
5557else 5560else
@@ -5581,7 +5584,7 @@ fi
5581fi 5584fi
5582 5585
5583 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5586 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5584echo "configure:5585: checking for krb_get_cred in -lkrb4" >&5 5587echo "configure:5588: checking for krb_get_cred in -lkrb4" >&5
5585ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5588ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5586if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5589if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5587 echo $ac_n "(cached) $ac_c" 1>&6 5590 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5589,7 +5592,7 @@ else
5589 ac_save_LIBS="$LIBS" 5592 ac_save_LIBS="$LIBS"
5590LIBS="-lkrb4 $LIBS" 5593LIBS="-lkrb4 $LIBS"
5591cat > conftest.$ac_ext <<EOF 5594cat > conftest.$ac_ext <<EOF
5592#line 5593 "configure" 5595#line 5596 "configure"
5593#include "confdefs.h" 5596#include "confdefs.h"
5594/* Override any gcc2 internal prototype to avoid an error. */ 5597/* Override any gcc2 internal prototype to avoid an error. */
5595/* We use char because int might match the return type of a gcc2 5598/* We use char because int might match the return type of a gcc2
@@ -5600,7 +5603,7 @@ int main() {
5600krb_get_cred() 5603krb_get_cred()
5601; return 0; } 5604; return 0; }
5602EOF 5605EOF
5603if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5606if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5604 rm -rf conftest* 5607 rm -rf conftest*
5605 eval "ac_cv_lib_$ac_lib_var=yes" 5608 eval "ac_cv_lib_$ac_lib_var=yes"
5606else 5609else
@@ -5626,7 +5629,7 @@ EOF
5626else 5629else
5627 echo "$ac_t""no" 1>&6 5630 echo "$ac_t""no" 1>&6
5628echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5631echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5629echo "configure:5630: checking for krb_get_cred in -lkrb" >&5 5632echo "configure:5633: checking for krb_get_cred in -lkrb" >&5
5630ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5633ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5631if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5634if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5632 echo $ac_n "(cached) $ac_c" 1>&6 5635 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5634,7 +5637,7 @@ else
5634 ac_save_LIBS="$LIBS" 5637 ac_save_LIBS="$LIBS"
5635LIBS="-lkrb $LIBS" 5638LIBS="-lkrb $LIBS"
5636cat > conftest.$ac_ext <<EOF 5639cat > conftest.$ac_ext <<EOF
5637#line 5638 "configure" 5640#line 5641 "configure"
5638#include "confdefs.h" 5641#include "confdefs.h"
5639/* Override any gcc2 internal prototype to avoid an error. */ 5642/* Override any gcc2 internal prototype to avoid an error. */
5640/* We use char because int might match the return type of a gcc2 5643/* We use char because int might match the return type of a gcc2
@@ -5645,7 +5648,7 @@ int main() {
5645krb_get_cred() 5648krb_get_cred()
5646; return 0; } 5649; return 0; }
5647EOF 5650EOF
5648if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5651if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5649 rm -rf conftest* 5652 rm -rf conftest*
5650 eval "ac_cv_lib_$ac_lib_var=yes" 5653 eval "ac_cv_lib_$ac_lib_var=yes"
5651else 5654else
@@ -5681,17 +5684,17 @@ fi
5681do 5684do
5682ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5685ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5683echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5686echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5684echo "configure:5685: checking for $ac_hdr" >&5 5687echo "configure:5688: checking for $ac_hdr" >&5
5685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5688if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5686 echo $ac_n "(cached) $ac_c" 1>&6 5689 echo $ac_n "(cached) $ac_c" 1>&6
5687else 5690else
5688 cat > conftest.$ac_ext <<EOF 5691 cat > conftest.$ac_ext <<EOF
5689#line 5690 "configure" 5692#line 5693 "configure"
5690#include "confdefs.h" 5693#include "confdefs.h"
5691#include <$ac_hdr> 5694#include <$ac_hdr>
5692EOF 5695EOF
5693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5696ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5694{ (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5697{ (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5698ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5696if test -z "$ac_err"; then 5699if test -z "$ac_err"; then
5697 rm -rf conftest* 5700 rm -rf conftest*
@@ -5722,17 +5725,17 @@ done
5722do 5725do
5723ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5726ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5724echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5727echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5725echo "configure:5726: checking for $ac_hdr" >&5 5728echo "configure:5729: checking for $ac_hdr" >&5
5726if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5729if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5727 echo $ac_n "(cached) $ac_c" 1>&6 5730 echo $ac_n "(cached) $ac_c" 1>&6
5728else 5731else
5729 cat > conftest.$ac_ext <<EOF 5732 cat > conftest.$ac_ext <<EOF
5730#line 5731 "configure" 5733#line 5734 "configure"
5731#include "confdefs.h" 5734#include "confdefs.h"
5732#include <$ac_hdr> 5735#include <$ac_hdr>
5733EOF 5736EOF
5734ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5737ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5735{ (eval echo configure:5736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5738{ (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5736ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5739ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5737if test -z "$ac_err"; then 5740if test -z "$ac_err"; then
5738 rm -rf conftest* 5741 rm -rf conftest*
@@ -5759,17 +5762,17 @@ for ac_hdr in kerberosIV/des.h
5759do 5762do
5760ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5763ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5761echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5764echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5762echo "configure:5763: checking for $ac_hdr" >&5 5765echo "configure:5766: checking for $ac_hdr" >&5
5763if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5766if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5764 echo $ac_n "(cached) $ac_c" 1>&6 5767 echo $ac_n "(cached) $ac_c" 1>&6
5765else 5768else
5766 cat > conftest.$ac_ext <<EOF 5769 cat > conftest.$ac_ext <<EOF
5767#line 5768 "configure" 5770#line 5771 "configure"
5768#include "confdefs.h" 5771#include "confdefs.h"
5769#include <$ac_hdr> 5772#include <$ac_hdr>
5770EOF 5773EOF
5771ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5774ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5772{ (eval echo configure:5773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5775{ (eval echo configure:5776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5773ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5776ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5774if test -z "$ac_err"; then 5777if test -z "$ac_err"; then
5775 rm -rf conftest* 5778 rm -rf conftest*
@@ -5796,17 +5799,17 @@ for ac_hdr in kerberos/des.h
5796do 5799do
5797ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5800ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5798echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5801echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5799echo "configure:5800: checking for $ac_hdr" >&5 5802echo "configure:5803: checking for $ac_hdr" >&5
5800if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5803if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5801 echo $ac_n "(cached) $ac_c" 1>&6 5804 echo $ac_n "(cached) $ac_c" 1>&6
5802else 5805else
5803 cat > conftest.$ac_ext <<EOF 5806 cat > conftest.$ac_ext <<EOF
5804#line 5805 "configure" 5807#line 5808 "configure"
5805#include "confdefs.h" 5808#include "confdefs.h"
5806#include <$ac_hdr> 5809#include <$ac_hdr>
5807EOF 5810EOF
5808ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5811ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5809{ (eval echo configure:5810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5812{ (eval echo configure:5813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5810ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5813ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5811if test -z "$ac_err"; then 5814if test -z "$ac_err"; then
5812 rm -rf conftest* 5815 rm -rf conftest*
@@ -5842,17 +5845,17 @@ done
5842do 5845do
5843ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5846ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5844echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5847echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5845echo "configure:5846: checking for $ac_hdr" >&5 5848echo "configure:5849: checking for $ac_hdr" >&5
5846if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5849if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5847 echo $ac_n "(cached) $ac_c" 1>&6 5850 echo $ac_n "(cached) $ac_c" 1>&6
5848else 5851else
5849 cat > conftest.$ac_ext <<EOF 5852 cat > conftest.$ac_ext <<EOF
5850#line 5851 "configure" 5853#line 5854 "configure"
5851#include "confdefs.h" 5854#include "confdefs.h"
5852#include <$ac_hdr> 5855#include <$ac_hdr>
5853EOF 5856EOF
5854ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5857ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5855{ (eval echo configure:5856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5858{ (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5856ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5859ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5857if test -z "$ac_err"; then 5860if test -z "$ac_err"; then
5858 rm -rf conftest* 5861 rm -rf conftest*
@@ -5879,17 +5882,17 @@ for ac_hdr in kerberosIV/krb.h
5879do 5882do
5880ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5883ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5881echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5884echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5882echo "configure:5883: checking for $ac_hdr" >&5 5885echo "configure:5886: checking for $ac_hdr" >&5
5883if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5886if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5884 echo $ac_n "(cached) $ac_c" 1>&6 5887 echo $ac_n "(cached) $ac_c" 1>&6
5885else 5888else
5886 cat > conftest.$ac_ext <<EOF 5889 cat > conftest.$ac_ext <<EOF
5887#line 5888 "configure" 5890#line 5891 "configure"
5888#include "confdefs.h" 5891#include "confdefs.h"
5889#include <$ac_hdr> 5892#include <$ac_hdr>
5890EOF 5893EOF
5891ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5894ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5892{ (eval echo configure:5893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5895{ (eval echo configure:5896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5893ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5896ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5894if test -z "$ac_err"; then 5897if test -z "$ac_err"; then
5895 rm -rf conftest* 5898 rm -rf conftest*
@@ -5916,17 +5919,17 @@ for ac_hdr in kerberos/krb.h
5916do 5919do
5917ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5920ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5918echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5921echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5919echo "configure:5920: checking for $ac_hdr" >&5 5922echo "configure:5923: checking for $ac_hdr" >&5
5920if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5923if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5921 echo $ac_n "(cached) $ac_c" 1>&6 5924 echo $ac_n "(cached) $ac_c" 1>&6
5922else 5925else
5923 cat > conftest.$ac_ext <<EOF 5926 cat > conftest.$ac_ext <<EOF
5924#line 5925 "configure" 5927#line 5928 "configure"
5925#include "confdefs.h" 5928#include "confdefs.h"
5926#include <$ac_hdr> 5929#include <$ac_hdr>
5927EOF 5930EOF
5928ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5931ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5929{ (eval echo configure:5930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5932{ (eval echo configure:5933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5930ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5933ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5931if test -z "$ac_err"; then 5934if test -z "$ac_err"; then
5932 rm -rf conftest* 5935 rm -rf conftest*
@@ -5963,17 +5966,17 @@ done
5963do 5966do
5964ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5967ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5965echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5968echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5966echo "configure:5967: checking for $ac_hdr" >&5 5969echo "configure:5970: checking for $ac_hdr" >&5
5967if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5970if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5968 echo $ac_n "(cached) $ac_c" 1>&6 5971 echo $ac_n "(cached) $ac_c" 1>&6
5969else 5972else
5970 cat > conftest.$ac_ext <<EOF 5973 cat > conftest.$ac_ext <<EOF
5971#line 5972 "configure" 5974#line 5975 "configure"
5972#include "confdefs.h" 5975#include "confdefs.h"
5973#include <$ac_hdr> 5976#include <$ac_hdr>
5974EOF 5977EOF
5975ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5976{ (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5979{ (eval echo configure:5980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5977ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5980ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5978if test -z "$ac_err"; then 5981if test -z "$ac_err"; then
5979 rm -rf conftest* 5982 rm -rf conftest*
@@ -6004,7 +6007,7 @@ fi
6004# Solaris requires -lintl if you want strerror (which calls dgettext) 6007# Solaris requires -lintl if you want strerror (which calls dgettext)
6005# to return localized messages. 6008# to return localized messages.
6006echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6009echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6007echo "configure:6008: checking for dgettext in -lintl" >&5 6010echo "configure:6011: checking for dgettext in -lintl" >&5
6008ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6011ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6009if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6012if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6010 echo $ac_n "(cached) $ac_c" 1>&6 6013 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6012,7 +6015,7 @@ else
6012 ac_save_LIBS="$LIBS" 6015 ac_save_LIBS="$LIBS"
6013LIBS="-lintl $LIBS" 6016LIBS="-lintl $LIBS"
6014cat > conftest.$ac_ext <<EOF 6017cat > conftest.$ac_ext <<EOF
6015#line 6016 "configure" 6018#line 6019 "configure"
6016#include "confdefs.h" 6019#include "confdefs.h"
6017/* Override any gcc2 internal prototype to avoid an error. */ 6020/* Override any gcc2 internal prototype to avoid an error. */
6018/* We use char because int might match the return type of a gcc2 6021/* We use char because int might match the return type of a gcc2
@@ -6023,7 +6026,7 @@ int main() {
6023dgettext() 6026dgettext()
6024; return 0; } 6027; return 0; }
6025EOF 6028EOF
6026if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6029if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6027 rm -rf conftest* 6030 rm -rf conftest*
6028 eval "ac_cv_lib_$ac_lib_var=yes" 6031 eval "ac_cv_lib_$ac_lib_var=yes"
6029else 6032else
@@ -6052,7 +6055,7 @@ fi
6052 6055
6053 6056
6054echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6057echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6055echo "configure:6056: checking whether localtime caches TZ" >&5 6058echo "configure:6059: checking whether localtime caches TZ" >&5
6056if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6059if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6057 echo $ac_n "(cached) $ac_c" 1>&6 6060 echo $ac_n "(cached) $ac_c" 1>&6
6058else 6061else
@@ -6062,7 +6065,7 @@ if test "$cross_compiling" = yes; then
6062emacs_cv_localtime_cache=yes 6065emacs_cv_localtime_cache=yes
6063else 6066else
6064 cat > conftest.$ac_ext <<EOF 6067 cat > conftest.$ac_ext <<EOF
6065#line 6066 "configure" 6068#line 6069 "configure"
6066#include "confdefs.h" 6069#include "confdefs.h"
6067#include <time.h> 6070#include <time.h>
6068extern char **environ; 6071extern char **environ;
@@ -6094,7 +6097,7 @@ main()
6094 exit (0); 6097 exit (0);
6095} 6098}
6096EOF 6099EOF
6097if { (eval echo configure:6098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6100if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6098then 6101then
6099 emacs_cv_localtime_cache=no 6102 emacs_cv_localtime_cache=no
6100else 6103else
@@ -6122,12 +6125,12 @@ fi
6122 6125
6123if test "x$HAVE_TIMEVAL" = xyes; then 6126if test "x$HAVE_TIMEVAL" = xyes; then
6124echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6127echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6125echo "configure:6126: checking whether gettimeofday can accept two arguments" >&5 6128echo "configure:6129: checking whether gettimeofday can accept two arguments" >&5
6126if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6129if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6127 echo $ac_n "(cached) $ac_c" 1>&6 6130 echo $ac_n "(cached) $ac_c" 1>&6
6128else 6131else
6129 cat > conftest.$ac_ext <<EOF 6132 cat > conftest.$ac_ext <<EOF
6130#line 6131 "configure" 6133#line 6134 "configure"
6131#include "confdefs.h" 6134#include "confdefs.h"
6132 6135
6133#ifdef TIME_WITH_SYS_TIME 6136#ifdef TIME_WITH_SYS_TIME
@@ -6149,7 +6152,7 @@ int main() {
6149 6152
6150; return 0; } 6153; return 0; }
6151EOF 6154EOF
6152if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6155if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6153 rm -rf conftest* 6156 rm -rf conftest*
6154 emacs_cv_gettimeofday_two_arguments=yes 6157 emacs_cv_gettimeofday_two_arguments=yes
6155else 6158else
@@ -6172,12 +6175,12 @@ fi
6172 6175
6173ok_so_far=yes 6176ok_so_far=yes
6174echo $ac_n "checking for socket""... $ac_c" 1>&6 6177echo $ac_n "checking for socket""... $ac_c" 1>&6
6175echo "configure:6176: checking for socket" >&5 6178echo "configure:6179: checking for socket" >&5
6176if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6179if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6177 echo $ac_n "(cached) $ac_c" 1>&6 6180 echo $ac_n "(cached) $ac_c" 1>&6
6178else 6181else
6179 cat > conftest.$ac_ext <<EOF 6182 cat > conftest.$ac_ext <<EOF
6180#line 6181 "configure" 6183#line 6184 "configure"
6181#include "confdefs.h" 6184#include "confdefs.h"
6182/* System header to define __stub macros and hopefully few prototypes, 6185/* System header to define __stub macros and hopefully few prototypes,
6183 which can conflict with char socket(); below. */ 6186 which can conflict with char socket(); below. */
@@ -6200,7 +6203,7 @@ socket();
6200 6203
6201; return 0; } 6204; return 0; }
6202EOF 6205EOF
6203if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6206if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6204 rm -rf conftest* 6207 rm -rf conftest*
6205 eval "ac_cv_func_socket=yes" 6208 eval "ac_cv_func_socket=yes"
6206else 6209else
@@ -6223,17 +6226,17 @@ fi
6223if test $ok_so_far = yes; then 6226if test $ok_so_far = yes; then
6224 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6227 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6225echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6228echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6226echo "configure:6227: checking for netinet/in.h" >&5 6229echo "configure:6230: checking for netinet/in.h" >&5
6227if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6230if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6228 echo $ac_n "(cached) $ac_c" 1>&6 6231 echo $ac_n "(cached) $ac_c" 1>&6
6229else 6232else
6230 cat > conftest.$ac_ext <<EOF 6233 cat > conftest.$ac_ext <<EOF
6231#line 6232 "configure" 6234#line 6235 "configure"
6232#include "confdefs.h" 6235#include "confdefs.h"
6233#include <netinet/in.h> 6236#include <netinet/in.h>
6234EOF 6237EOF
6235ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6238ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6236{ (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6239{ (eval echo configure:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6237ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6240ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6238if test -z "$ac_err"; then 6241if test -z "$ac_err"; then
6239 rm -rf conftest* 6242 rm -rf conftest*
@@ -6259,17 +6262,17 @@ fi
6259if test $ok_so_far = yes; then 6262if test $ok_so_far = yes; then
6260 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6263 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6261echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6264echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6262echo "configure:6263: checking for arpa/inet.h" >&5 6265echo "configure:6266: checking for arpa/inet.h" >&5
6263if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6266if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6264 echo $ac_n "(cached) $ac_c" 1>&6 6267 echo $ac_n "(cached) $ac_c" 1>&6
6265else 6268else
6266 cat > conftest.$ac_ext <<EOF 6269 cat > conftest.$ac_ext <<EOF
6267#line 6268 "configure" 6270#line 6271 "configure"
6268#include "confdefs.h" 6271#include "confdefs.h"
6269#include <arpa/inet.h> 6272#include <arpa/inet.h>
6270EOF 6273EOF
6271ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6274ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6272{ (eval echo configure:6273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6275{ (eval echo configure:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6273ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6276ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6274if test -z "$ac_err"; then 6277if test -z "$ac_err"; then
6275 rm -rf conftest* 6278 rm -rf conftest*
@@ -6307,7 +6310,7 @@ EOF
6307fi 6310fi
6308 6311
6309echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6312echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6310echo "configure:6311: checking whether system supports dynamic ptys" >&5 6313echo "configure:6314: checking whether system supports dynamic ptys" >&5
6311if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6314if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6312 echo "$ac_t""yes" 1>&6 6315 echo "$ac_t""yes" 1>&6
6313 cat >> confdefs.h <<\EOF 6316 cat >> confdefs.h <<\EOF
@@ -6319,12 +6322,12 @@ else
6319fi 6322fi
6320 6323
6321echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6324echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6322echo "configure:6323: checking for pid_t" >&5 6325echo "configure:6326: checking for pid_t" >&5
6323if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6326if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6324 echo $ac_n "(cached) $ac_c" 1>&6 6327 echo $ac_n "(cached) $ac_c" 1>&6
6325else 6328else
6326 cat > conftest.$ac_ext <<EOF 6329 cat > conftest.$ac_ext <<EOF
6327#line 6328 "configure" 6330#line 6331 "configure"
6328#include "confdefs.h" 6331#include "confdefs.h"
6329#include <sys/types.h> 6332#include <sys/types.h>
6330#if STDC_HEADERS 6333#if STDC_HEADERS
@@ -6353,17 +6356,17 @@ fi
6353 6356
6354ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6357ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6355echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6358echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6356echo "configure:6357: checking for vfork.h" >&5 6359echo "configure:6360: checking for vfork.h" >&5
6357if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6360if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6358 echo $ac_n "(cached) $ac_c" 1>&6 6361 echo $ac_n "(cached) $ac_c" 1>&6
6359else 6362else
6360 cat > conftest.$ac_ext <<EOF 6363 cat > conftest.$ac_ext <<EOF
6361#line 6362 "configure" 6364#line 6365 "configure"
6362#include "confdefs.h" 6365#include "confdefs.h"
6363#include <vfork.h> 6366#include <vfork.h>
6364EOF 6367EOF
6365ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6368ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6366{ (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6369{ (eval echo configure:6370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6367ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6370ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6368if test -z "$ac_err"; then 6371if test -z "$ac_err"; then
6369 rm -rf conftest* 6372 rm -rf conftest*
@@ -6388,18 +6391,18 @@ else
6388fi 6391fi
6389 6392
6390echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6393echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6391echo "configure:6392: checking for working vfork" >&5 6394echo "configure:6395: checking for working vfork" >&5
6392if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6395if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6393 echo $ac_n "(cached) $ac_c" 1>&6 6396 echo $ac_n "(cached) $ac_c" 1>&6
6394else 6397else
6395 if test "$cross_compiling" = yes; then 6398 if test "$cross_compiling" = yes; then
6396 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6399 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6397echo "configure:6398: checking for vfork" >&5 6400echo "configure:6401: checking for vfork" >&5
6398if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6401if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6399 echo $ac_n "(cached) $ac_c" 1>&6 6402 echo $ac_n "(cached) $ac_c" 1>&6
6400else 6403else
6401 cat > conftest.$ac_ext <<EOF 6404 cat > conftest.$ac_ext <<EOF
6402#line 6403 "configure" 6405#line 6406 "configure"
6403#include "confdefs.h" 6406#include "confdefs.h"
6404/* System header to define __stub macros and hopefully few prototypes, 6407/* System header to define __stub macros and hopefully few prototypes,
6405 which can conflict with char vfork(); below. */ 6408 which can conflict with char vfork(); below. */
@@ -6422,7 +6425,7 @@ vfork();
6422 6425
6423; return 0; } 6426; return 0; }
6424EOF 6427EOF
6425if { (eval echo configure:6426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6428if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6426 rm -rf conftest* 6429 rm -rf conftest*
6427 eval "ac_cv_func_vfork=yes" 6430 eval "ac_cv_func_vfork=yes"
6428else 6431else
@@ -6444,7 +6447,7 @@ fi
6444ac_cv_func_vfork_works=$ac_cv_func_vfork 6447ac_cv_func_vfork_works=$ac_cv_func_vfork
6445else 6448else
6446 cat > conftest.$ac_ext <<EOF 6449 cat > conftest.$ac_ext <<EOF
6447#line 6448 "configure" 6450#line 6451 "configure"
6448#include "confdefs.h" 6451#include "confdefs.h"
6449/* Thanks to Paul Eggert for this test. */ 6452/* Thanks to Paul Eggert for this test. */
6450#include <stdio.h> 6453#include <stdio.h>
@@ -6539,7 +6542,7 @@ main() {
6539 } 6542 }
6540} 6543}
6541EOF 6544EOF
6542if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6545if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6543then 6546then
6544 ac_cv_func_vfork_works=yes 6547 ac_cv_func_vfork_works=yes
6545else 6548else
diff --git a/configure.in b/configure.in
index 81393e1145c..2c999c2ce5f 100644
--- a/configure.in
+++ b/configure.in
@@ -1740,7 +1740,10 @@ if test "${HAVE_X11}" = "yes"; then
1740 old_c_flags="${CFLAGS}" 1740 old_c_flags="${CFLAGS}"
1741 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 1741 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
1742 AC_CHECK_HEADER(tiffio.h, 1742 AC_CHECK_HEADER(tiffio.h,
1743 AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , -lX11 -lm)) 1743 tifflibs="-lX11 -lz -lm"
1744 # At least one tiff package requires the jpeg library.
1745 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
1746 AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , $tifflibs))
1744 CFLAGS="${old_c_flags}" 1747 CFLAGS="${old_c_flags}"
1745 fi 1748 fi
1746 1749