aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-04-16 14:54:52 +0000
committerDave Love2000-04-16 14:54:52 +0000
commitb5de8dc08423bd015456d012ed19f28a553931ed (patch)
tree298f78a18282ede9c7487b9004c6e360d98845ca
parent3dd2781ec09a0868ac42073aa8e46c40a0d7b8ff (diff)
downloademacs-b5de8dc08423bd015456d012ed19f28a553931ed.tar.gz
emacs-b5de8dc08423bd015456d012ed19f28a553931ed.zip
*** empty log message ***
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure1039
2 files changed, 955 insertions, 89 deletions
diff --git a/ChangeLog b/ChangeLog
index dfdaf830f4f..8155fe81d9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -80,11 +80,6 @@
80 80
81 * configure.in: Remove -G0 from Irix NON_GCC_TEST_OPTIONS. 81 * configure.in: Remove -G0 from Irix NON_GCC_TEST_OPTIONS.
82 82
832000-01-18 gerd <gerd@dlpx1>
84
85 * configure.in (HAVE_GIF): Check for DGifOpen instead of
86 DGifOpenFileName.
87
882000-01-18 Gerd Moellmann <gerd@gnu.org> 832000-01-18 Gerd Moellmann <gerd@gnu.org>
89 84
90 * configure.in (HAVE_GIF): Check for DGifOpen instead of 85 * configure.in (HAVE_GIF): Check for DGifOpen instead of
diff --git a/configure b/configure
index d798dfbca21..20890ac1c52 100755
--- a/configure
+++ b/configure
@@ -2891,7 +2891,7 @@ else
2891int main() { 2891int main() {
2892 2892
2893/* Ultrix mips cc rejects this. */ 2893/* Ultrix mips cc rejects this. */
2894typedef int charset[2]; const charset x; 2894typedef int charset[2]; const charset x = {0,0};
2895/* SunOS 4.1.1 cc rejects this. */ 2895/* SunOS 4.1.1 cc rejects this. */
2896char const *const *ccp; 2896char const *const *ccp;
2897char **p; 2897char **p;
@@ -4875,7 +4875,7 @@ else
4875#include "confdefs.h" 4875#include "confdefs.h"
4876#include <alloca.h> 4876#include <alloca.h>
4877int main() { 4877int main() {
4878char *p = alloca(2 * sizeof(int)); 4878void *p = alloca(2 * sizeof(int));
4879; return 0; } 4879; return 0; }
4880EOF 4880EOF
4881if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4881if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -5389,7 +5389,7 @@ rename closedir mkdir rmdir sysinfo \
5389random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 5389random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
5390strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 5390strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5391utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 5391utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5392__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5392__fpending ftello mblen mbrlen strsignal setitimer ualarm
5393do 5393do
5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5394echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5395echo "configure:5396: checking for $ac_func" >&5 5395echo "configure:5396: checking for $ac_func" >&5
@@ -5445,12 +5445,880 @@ fi
5445done 5445done
5446 5446
5447 5447
5448for ac_hdr in sys/time.h unistd.h
5449do
5450ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5451echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5452echo "configure:5453: checking for $ac_hdr" >&5
5453if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5454 echo $ac_n "(cached) $ac_c" 1>&6
5455else
5456 cat > conftest.$ac_ext <<EOF
5457#line 5458 "configure"
5458#include "confdefs.h"
5459#include <$ac_hdr>
5460EOF
5461ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5462{ (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5463ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5464if test -z "$ac_err"; then
5465 rm -rf conftest*
5466 eval "ac_cv_header_$ac_safe=yes"
5467else
5468 echo "$ac_err" >&5
5469 echo "configure: failed program was:" >&5
5470 cat conftest.$ac_ext >&5
5471 rm -rf conftest*
5472 eval "ac_cv_header_$ac_safe=no"
5473fi
5474rm -f conftest*
5475fi
5476if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5477 echo "$ac_t""yes" 1>&6
5478 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5479 cat >> confdefs.h <<EOF
5480#define $ac_tr_hdr 1
5481EOF
5482
5483else
5484 echo "$ac_t""no" 1>&6
5485fi
5486done
5487
5488for ac_func in alarm
5489do
5490echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5491echo "configure:5492: checking for $ac_func" >&5
5492if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5493 echo $ac_n "(cached) $ac_c" 1>&6
5494else
5495 cat > conftest.$ac_ext <<EOF
5496#line 5497 "configure"
5497#include "confdefs.h"
5498/* System header to define __stub macros and hopefully few prototypes,
5499 which can conflict with char $ac_func(); below. */
5500#include <assert.h>
5501/* Override any gcc2 internal prototype to avoid an error. */
5502/* We use char because int might match the return type of a gcc2
5503 builtin and then its argument prototype would still apply. */
5504char $ac_func();
5505
5506int main() {
5507
5508/* The GNU C library defines this for functions which it implements
5509 to always fail with ENOSYS. Some functions are actually named
5510 something starting with __ and the normal name is an alias. */
5511#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5512choke me
5513#else
5514$ac_func();
5515#endif
5516
5517; return 0; }
5518EOF
5519if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5520 rm -rf conftest*
5521 eval "ac_cv_func_$ac_func=yes"
5522else
5523 echo "configure: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5525 rm -rf conftest*
5526 eval "ac_cv_func_$ac_func=no"
5527fi
5528rm -f conftest*
5529fi
5530
5531if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5532 echo "$ac_t""yes" 1>&6
5533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5534 cat >> confdefs.h <<EOF
5535#define $ac_tr_func 1
5536EOF
5537
5538else
5539 echo "$ac_t""no" 1>&6
5540fi
5541done
5542
5543echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5544echo "configure:5545: checking for working mktime" >&5
5545if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5546 echo $ac_n "(cached) $ac_c" 1>&6
5547else
5548 if test "$cross_compiling" = yes; then
5549 ac_cv_func_working_mktime=no
5550else
5551 cat > conftest.$ac_ext <<EOF
5552#line 5553 "configure"
5553#include "confdefs.h"
5554/* Test program from Paul Eggert (eggert@twinsun.com)
5555 and Tony Leneis (tony@plaza.ds.adp.com). */
5556#if TIME_WITH_SYS_TIME
5557# include <sys/time.h>
5558# include <time.h>
5559#else
5560# if HAVE_SYS_TIME_H
5561# include <sys/time.h>
5562# else
5563# include <time.h>
5564# endif
5565#endif
5566
5567#if HAVE_UNISTD_H
5568# include <unistd.h>
5569#endif
5570
5571#if !HAVE_ALARM
5572# define alarm(X) /* empty */
5573#endif
5574
5575/* Work around redefinition to rpl_putenv by other config tests. */
5576#undef putenv
5577
5578static time_t time_t_max;
5579
5580/* Values we'll use to set the TZ environment variable. */
5581static const char *const tz_strings[] = {
5582 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
5583 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
5584};
5585#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
5586
5587/* Fail if mktime fails to convert a date in the spring-forward gap.
5588 Based on a problem report from Andreas Jaeger. */
5589static void
5590spring_forward_gap ()
5591{
5592 /* glibc (up to about 1998-10-07) failed this test) */
5593 struct tm tm;
5594
5595 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
5596 instead of "TZ=America/Vancouver" in order to detect the bug even
5597 on systems that don't support the Olson extension, or don't have the
5598 full zoneinfo tables installed. */
5599 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
5600
5601 tm.tm_year = 98;
5602 tm.tm_mon = 3;
5603 tm.tm_mday = 5;
5604 tm.tm_hour = 2;
5605 tm.tm_min = 0;
5606 tm.tm_sec = 0;
5607 tm.tm_isdst = -1;
5608 if (mktime (&tm) == (time_t)-1)
5609 exit (1);
5610}
5611
5612static void
5613mktime_test (now)
5614 time_t now;
5615{
5616 struct tm *lt;
5617 if ((lt = localtime (&now)) && mktime (lt) != now)
5618 exit (1);
5619 now = time_t_max - now;
5620 if ((lt = localtime (&now)) && mktime (lt) != now)
5621 exit (1);
5622}
5623
5624static void
5625irix_6_4_bug ()
5626{
5627 /* Based on code from Ariel Faigon. */
5628 struct tm tm;
5629 tm.tm_year = 96;
5630 tm.tm_mon = 3;
5631 tm.tm_mday = 0;
5632 tm.tm_hour = 0;
5633 tm.tm_min = 0;
5634 tm.tm_sec = 0;
5635 tm.tm_isdst = -1;
5636 mktime (&tm);
5637 if (tm.tm_mon != 2 || tm.tm_mday != 31)
5638 exit (1);
5639}
5640
5641static void
5642bigtime_test (j)
5643 int j;
5644{
5645 struct tm tm;
5646 time_t now;
5647 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
5648 now = mktime (&tm);
5649 if (now != (time_t) -1)
5650 {
5651 struct tm *lt = localtime (&now);
5652 if (! (lt
5653 && lt->tm_year == tm.tm_year
5654 && lt->tm_mon == tm.tm_mon
5655 && lt->tm_mday == tm.tm_mday
5656 && lt->tm_hour == tm.tm_hour
5657 && lt->tm_min == tm.tm_min
5658 && lt->tm_sec == tm.tm_sec
5659 && lt->tm_yday == tm.tm_yday
5660 && lt->tm_wday == tm.tm_wday
5661 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
5662 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
5663 exit (1);
5664 }
5665}
5666
5667int
5668main ()
5669{
5670 time_t t, delta;
5671 int i, j;
5672
5673 /* This test makes some buggy mktime implementations loop.
5674 Give up after 60 seconds; a mktime slower than that
5675 isn't worth using anyway. */
5676 alarm (60);
5677
5678 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
5679 continue;
5680 time_t_max--;
5681 delta = time_t_max / 997; /* a suitable prime number */
5682 for (i = 0; i < N_STRINGS; i++)
5683 {
5684 if (tz_strings[i])
5685 putenv (tz_strings[i]);
5686
5687 for (t = 0; t <= time_t_max - delta; t += delta)
5688 mktime_test (t);
5689 mktime_test ((time_t) 60 * 60);
5690 mktime_test ((time_t) 60 * 60 * 24);
5691
5692 for (j = 1; 0 < j; j *= 2)
5693 bigtime_test (j);
5694 bigtime_test (j - 1);
5695 }
5696 irix_6_4_bug ();
5697 spring_forward_gap ();
5698 exit (0);
5699}
5700EOF
5701if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5702then
5703 ac_cv_func_working_mktime=yes
5704else
5705 echo "configure: failed program was:" >&5
5706 cat conftest.$ac_ext >&5
5707 rm -fr conftest*
5708 ac_cv_func_working_mktime=no
5709fi
5710rm -fr conftest*
5711fi
5712
5713fi
5714
5715echo "$ac_t""$ac_cv_func_working_mktime" 1>&6
5716if test $ac_cv_func_working_mktime = no; then
5717 LIBOBJS="$LIBOBJS mktime.${ac_objext}"
5718fi
5719
5720if test "$ac_cv_func_working_mktime" = no; then
5721 cat >> confdefs.h <<\EOF
5722#define BROKEN_MKTIME 1
5723EOF
5724
5725fi
5726
5727ac_have_func=no # yes means we've found a way to get the load average.
5728
5729# Some systems with -lutil have (and need) -lkvm as well, some do not.
5730# On Solaris, -lkvm requires nlist from -lelf, so check that first
5731# to get the right answer into the cache.
5732echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
5733echo "configure:5734: checking for elf_begin in -lelf" >&5
5734ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
5735if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5736 echo $ac_n "(cached) $ac_c" 1>&6
5737else
5738 ac_save_LIBS="$LIBS"
5739LIBS="-lelf $LIBS"
5740cat > conftest.$ac_ext <<EOF
5741#line 5742 "configure"
5742#include "confdefs.h"
5743/* Override any gcc2 internal prototype to avoid an error. */
5744/* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5746char elf_begin();
5747
5748int main() {
5749elf_begin()
5750; return 0; }
5751EOF
5752if { (eval echo configure:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5753 rm -rf conftest*
5754 eval "ac_cv_lib_$ac_lib_var=yes"
5755else
5756 echo "configure: failed program was:" >&5
5757 cat conftest.$ac_ext >&5
5758 rm -rf conftest*
5759 eval "ac_cv_lib_$ac_lib_var=no"
5760fi
5761rm -f conftest*
5762LIBS="$ac_save_LIBS"
5763
5764fi
5765if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5766 echo "$ac_t""yes" 1>&6
5767 LIBS="-lelf $LIBS"
5768else
5769 echo "$ac_t""no" 1>&6
5770fi
5771
5772echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
5773echo "configure:5774: checking for kvm_open in -lkvm" >&5
5774ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
5775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5776 echo $ac_n "(cached) $ac_c" 1>&6
5777else
5778 ac_save_LIBS="$LIBS"
5779LIBS="-lkvm $LIBS"
5780cat > conftest.$ac_ext <<EOF
5781#line 5782 "configure"
5782#include "confdefs.h"
5783/* Override any gcc2 internal prototype to avoid an error. */
5784/* We use char because int might match the return type of a gcc2
5785 builtin and then its argument prototype would still apply. */
5786char kvm_open();
5787
5788int main() {
5789kvm_open()
5790; return 0; }
5791EOF
5792if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5793 rm -rf conftest*
5794 eval "ac_cv_lib_$ac_lib_var=yes"
5795else
5796 echo "configure: failed program was:" >&5
5797 cat conftest.$ac_ext >&5
5798 rm -rf conftest*
5799 eval "ac_cv_lib_$ac_lib_var=no"
5800fi
5801rm -f conftest*
5802LIBS="$ac_save_LIBS"
5803
5804fi
5805if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5806 echo "$ac_t""yes" 1>&6
5807 LIBS="-lkvm $LIBS"
5808else
5809 echo "$ac_t""no" 1>&6
5810fi
5811
5812# Check for the 4.4BSD definition of getloadavg.
5813echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
5814echo "configure:5815: checking for getloadavg in -lutil" >&5
5815ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
5816if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5817 echo $ac_n "(cached) $ac_c" 1>&6
5818else
5819 ac_save_LIBS="$LIBS"
5820LIBS="-lutil $LIBS"
5821cat > conftest.$ac_ext <<EOF
5822#line 5823 "configure"
5823#include "confdefs.h"
5824/* Override any gcc2 internal prototype to avoid an error. */
5825/* We use char because int might match the return type of a gcc2
5826 builtin and then its argument prototype would still apply. */
5827char getloadavg();
5828
5829int main() {
5830getloadavg()
5831; return 0; }
5832EOF
5833if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5834 rm -rf conftest*
5835 eval "ac_cv_lib_$ac_lib_var=yes"
5836else
5837 echo "configure: failed program was:" >&5
5838 cat conftest.$ac_ext >&5
5839 rm -rf conftest*
5840 eval "ac_cv_lib_$ac_lib_var=no"
5841fi
5842rm -f conftest*
5843LIBS="$ac_save_LIBS"
5844
5845fi
5846if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5847 echo "$ac_t""yes" 1>&6
5848 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
5849else
5850 echo "$ac_t""no" 1>&6
5851fi
5852
5853
5854if test $ac_have_func = no; then
5855 # There is a commonly available library for RS/6000 AIX.
5856 # Since it is not a standard part of AIX, it might be installed locally.
5857 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
5858 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
5859echo "configure:5860: checking for getloadavg in -lgetloadavg" >&5
5860ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
5861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5862 echo $ac_n "(cached) $ac_c" 1>&6
5863else
5864 ac_save_LIBS="$LIBS"
5865LIBS="-lgetloadavg $LIBS"
5866cat > conftest.$ac_ext <<EOF
5867#line 5868 "configure"
5868#include "confdefs.h"
5869/* Override any gcc2 internal prototype to avoid an error. */
5870/* We use char because int might match the return type of a gcc2
5871 builtin and then its argument prototype would still apply. */
5872char getloadavg();
5873
5874int main() {
5875getloadavg()
5876; return 0; }
5877EOF
5878if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5879 rm -rf conftest*
5880 eval "ac_cv_lib_$ac_lib_var=yes"
5881else
5882 echo "configure: failed program was:" >&5
5883 cat conftest.$ac_ext >&5
5884 rm -rf conftest*
5885 eval "ac_cv_lib_$ac_lib_var=no"
5886fi
5887rm -f conftest*
5888LIBS="$ac_save_LIBS"
5889
5890fi
5891if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5892 echo "$ac_t""yes" 1>&6
5893 LIBS="-lgetloadavg $LIBS"
5894else
5895 echo "$ac_t""no" 1>&6
5896LIBS="$ac_getloadavg_LIBS"
5897fi
5898
5899fi
5900
5901# Make sure it is really in the library, if we think we found it.
5902for ac_func in getloadavg
5903do
5904echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5905echo "configure:5906: checking for $ac_func" >&5
5906if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5907 echo $ac_n "(cached) $ac_c" 1>&6
5908else
5909 cat > conftest.$ac_ext <<EOF
5910#line 5911 "configure"
5911#include "confdefs.h"
5912/* System header to define __stub macros and hopefully few prototypes,
5913 which can conflict with char $ac_func(); below. */
5914#include <assert.h>
5915/* Override any gcc2 internal prototype to avoid an error. */
5916/* We use char because int might match the return type of a gcc2
5917 builtin and then its argument prototype would still apply. */
5918char $ac_func();
5919
5920int main() {
5921
5922/* The GNU C library defines this for functions which it implements
5923 to always fail with ENOSYS. Some functions are actually named
5924 something starting with __ and the normal name is an alias. */
5925#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5926choke me
5927#else
5928$ac_func();
5929#endif
5930
5931; return 0; }
5932EOF
5933if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5934 rm -rf conftest*
5935 eval "ac_cv_func_$ac_func=yes"
5936else
5937 echo "configure: failed program was:" >&5
5938 cat conftest.$ac_ext >&5
5939 rm -rf conftest*
5940 eval "ac_cv_func_$ac_func=no"
5941fi
5942rm -f conftest*
5943fi
5944
5945if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5946 echo "$ac_t""yes" 1>&6
5947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5948 cat >> confdefs.h <<EOF
5949#define $ac_tr_func 1
5950EOF
5951
5952else
5953 echo "$ac_t""no" 1>&6
5954LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
5955fi
5956done
5957
5958
5959
5960if test $ac_cv_func_getloadavg = yes; then
5961 cat >> confdefs.h <<\EOF
5962#define HAVE_GETLOADAVG 1
5963EOF
5964
5965 ac_have_func=yes
5966else
5967 # Figure out what our getloadavg.c needs.
5968 ac_have_func=no
5969 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
5970echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
5971echo "configure:5972: checking for sys/dg_sys_info.h" >&5
5972if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5973 echo $ac_n "(cached) $ac_c" 1>&6
5974else
5975 cat > conftest.$ac_ext <<EOF
5976#line 5977 "configure"
5977#include "confdefs.h"
5978#include <sys/dg_sys_info.h>
5979EOF
5980ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5981{ (eval echo configure:5982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5982ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5983if test -z "$ac_err"; then
5984 rm -rf conftest*
5985 eval "ac_cv_header_$ac_safe=yes"
5986else
5987 echo "$ac_err" >&5
5988 echo "configure: failed program was:" >&5
5989 cat conftest.$ac_ext >&5
5990 rm -rf conftest*
5991 eval "ac_cv_header_$ac_safe=no"
5992fi
5993rm -f conftest*
5994fi
5995if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5996 echo "$ac_t""yes" 1>&6
5997 ac_have_func=yes; cat >> confdefs.h <<\EOF
5998#define DGUX 1
5999EOF
6000
6001 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6002echo "configure:6003: checking for dg_sys_info in -ldgc" >&5
6003ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6004if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6005 echo $ac_n "(cached) $ac_c" 1>&6
6006else
6007 ac_save_LIBS="$LIBS"
6008LIBS="-ldgc $LIBS"
6009cat > conftest.$ac_ext <<EOF
6010#line 6011 "configure"
6011#include "confdefs.h"
6012/* Override any gcc2 internal prototype to avoid an error. */
6013/* We use char because int might match the return type of a gcc2
6014 builtin and then its argument prototype would still apply. */
6015char dg_sys_info();
6016
6017int main() {
6018dg_sys_info()
6019; return 0; }
6020EOF
6021if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6022 rm -rf conftest*
6023 eval "ac_cv_lib_$ac_lib_var=yes"
6024else
6025 echo "configure: failed program was:" >&5
6026 cat conftest.$ac_ext >&5
6027 rm -rf conftest*
6028 eval "ac_cv_lib_$ac_lib_var=no"
6029fi
6030rm -f conftest*
6031LIBS="$ac_save_LIBS"
6032
6033fi
6034if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6035 echo "$ac_t""yes" 1>&6
6036 ac_tr_lib=HAVE_LIB`echo dgc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6037 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6038 cat >> confdefs.h <<EOF
6039#define $ac_tr_lib 1
6040EOF
6041
6042 LIBS="-ldgc $LIBS"
6043
6044else
6045 echo "$ac_t""no" 1>&6
6046fi
6047
6048else
6049 echo "$ac_t""no" 1>&6
6050fi
6051
6052
6053 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
6054 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
6055 # Irix 4.0.5F has the header but not the library.
6056 if test $ac_have_func = no && test $ac_cv_lib_elf_elf_begin = yes; then
6057 ac_have_func=yes; cat >> confdefs.h <<\EOF
6058#define SVR4 1
6059EOF
6060
6061 fi
6062
6063 if test $ac_have_func = no; then
6064 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6065echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6066echo "configure:6067: checking for inq_stats/cpustats.h" >&5
6067if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6068 echo $ac_n "(cached) $ac_c" 1>&6
6069else
6070 cat > conftest.$ac_ext <<EOF
6071#line 6072 "configure"
6072#include "confdefs.h"
6073#include <inq_stats/cpustats.h>
6074EOF
6075ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6076{ (eval echo configure:6077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6077ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6078if test -z "$ac_err"; then
6079 rm -rf conftest*
6080 eval "ac_cv_header_$ac_safe=yes"
6081else
6082 echo "$ac_err" >&5
6083 echo "configure: failed program was:" >&5
6084 cat conftest.$ac_ext >&5
6085 rm -rf conftest*
6086 eval "ac_cv_header_$ac_safe=no"
6087fi
6088rm -f conftest*
6089fi
6090if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6091 echo "$ac_t""yes" 1>&6
6092 ac_have_func=yes; cat >> confdefs.h <<\EOF
6093#define UMAX 1
6094EOF
6095
6096 cat >> confdefs.h <<\EOF
6097#define UMAX4_3 1
6098EOF
6099
6100else
6101 echo "$ac_t""no" 1>&6
6102fi
6103
6104 fi
6105
6106 if test $ac_have_func = no; then
6107 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6108echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6109echo "configure:6110: checking for sys/cpustats.h" >&5
6110if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6111 echo $ac_n "(cached) $ac_c" 1>&6
6112else
6113 cat > conftest.$ac_ext <<EOF
6114#line 6115 "configure"
6115#include "confdefs.h"
6116#include <sys/cpustats.h>
6117EOF
6118ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6119{ (eval echo configure:6120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6120ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6121if test -z "$ac_err"; then
6122 rm -rf conftest*
6123 eval "ac_cv_header_$ac_safe=yes"
6124else
6125 echo "$ac_err" >&5
6126 echo "configure: failed program was:" >&5
6127 cat conftest.$ac_ext >&5
6128 rm -rf conftest*
6129 eval "ac_cv_header_$ac_safe=no"
6130fi
6131rm -f conftest*
6132fi
6133if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6134 echo "$ac_t""yes" 1>&6
6135 ac_have_func=yes; cat >> confdefs.h <<\EOF
6136#define UMAX 1
6137EOF
6138
6139else
6140 echo "$ac_t""no" 1>&6
6141fi
6142
6143 fi
6144
6145 if test $ac_have_func = no; then
6146 for ac_hdr in mach/mach.h
6147do
6148ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6149echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6150echo "configure:6151: checking for $ac_hdr" >&5
6151if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6152 echo $ac_n "(cached) $ac_c" 1>&6
6153else
6154 cat > conftest.$ac_ext <<EOF
6155#line 6156 "configure"
6156#include "confdefs.h"
6157#include <$ac_hdr>
6158EOF
6159ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6160{ (eval echo configure:6161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6161ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6162if test -z "$ac_err"; then
6163 rm -rf conftest*
6164 eval "ac_cv_header_$ac_safe=yes"
6165else
6166 echo "$ac_err" >&5
6167 echo "configure: failed program was:" >&5
6168 cat conftest.$ac_ext >&5
6169 rm -rf conftest*
6170 eval "ac_cv_header_$ac_safe=no"
6171fi
6172rm -f conftest*
6173fi
6174if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6175 echo "$ac_t""yes" 1>&6
6176 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6177 cat >> confdefs.h <<EOF
6178#define $ac_tr_hdr 1
6179EOF
6180
6181else
6182 echo "$ac_t""no" 1>&6
6183fi
6184done
6185
6186 fi
6187
6188 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6189echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6190echo "configure:6191: checking for nlist.h" >&5
6191if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6193else
6194 cat > conftest.$ac_ext <<EOF
6195#line 6196 "configure"
6196#include "confdefs.h"
6197#include <nlist.h>
6198EOF
6199ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6200{ (eval echo configure:6201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6201ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6202if test -z "$ac_err"; then
6203 rm -rf conftest*
6204 eval "ac_cv_header_$ac_safe=yes"
6205else
6206 echo "$ac_err" >&5
6207 echo "configure: failed program was:" >&5
6208 cat conftest.$ac_ext >&5
6209 rm -rf conftest*
6210 eval "ac_cv_header_$ac_safe=no"
6211fi
6212rm -f conftest*
6213fi
6214if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6215 echo "$ac_t""yes" 1>&6
6216 cat >> confdefs.h <<\EOF
6217#define NLIST_STRUCT 1
6218EOF
6219
6220 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6221echo "configure:6222: checking for n_un in struct nlist" >&5
6222if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6223 echo $ac_n "(cached) $ac_c" 1>&6
6224else
6225 cat > conftest.$ac_ext <<EOF
6226#line 6227 "configure"
6227#include "confdefs.h"
6228#include <nlist.h>
6229int main() {
6230struct nlist n; n.n_un.n_name = 0;
6231; return 0; }
6232EOF
6233if { (eval echo configure:6234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6234 rm -rf conftest*
6235 ac_cv_struct_nlist_n_un=yes
6236else
6237 echo "configure: failed program was:" >&5
6238 cat conftest.$ac_ext >&5
6239 rm -rf conftest*
6240 ac_cv_struct_nlist_n_un=no
6241fi
6242rm -f conftest*
6243fi
6244
6245echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6
6246 if test $ac_cv_struct_nlist_n_un = yes; then
6247 cat >> confdefs.h <<\EOF
6248#define NLIST_NAME_UNION 1
6249EOF
6250
6251 fi
6252
6253else
6254 echo "$ac_t""no" 1>&6
6255fi
6256fi # Do not have getloadavg in system libraries.
6257
6258# Some definitions of getloadavg require that the program be installed setgid.
6259echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6260echo "configure:6261: checking whether getloadavg requires setgid" >&5
6261if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6262 echo $ac_n "(cached) $ac_c" 1>&6
6263else
6264 cat > conftest.$ac_ext <<EOF
6265#line 6266 "configure"
6266#include "confdefs.h"
6267#include "$srcdir/getloadavg.c"
6268#ifdef LDAV_PRIVILEGED
6269Yowza Am I SETGID yet
6270#endif
6271EOF
6272if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6273 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
6274 rm -rf conftest*
6275 ac_cv_func_getloadavg_setgid=yes
6276else
6277 rm -rf conftest*
6278 ac_cv_func_getloadavg_setgid=no
6279fi
6280rm -f conftest*
6281
6282fi
6283
6284echo "$ac_t""$ac_cv_func_getloadavg_setgid" 1>&6
6285if test $ac_cv_func_getloadavg_setgid = yes; then
6286 NEED_SETGID=true; cat >> confdefs.h <<\EOF
6287#define GETLOADAVG_PRIVILEGED 1
6288EOF
6289
6290else
6291 NEED_SETGID=false
6292fi
6293
6294if test $ac_cv_func_getloadavg_setgid = yes; then
6295 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6296echo "configure:6297: checking group of /dev/kmem" >&5
6297if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6298 echo $ac_n "(cached) $ac_c" 1>&6
6299else
6300 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
6301 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
6302 # If we got an error (system does not support symlinks), try without -L.
6303 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
6304 ac_cv_group_kmem=`echo $ac_ls_output \
6305 | sed -ne 's/[ ][ ]*/ /g;
6306 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
6307 / /s/.* //;p;'`
6308
6309fi
6310
6311echo "$ac_t""$ac_cv_group_kmem" 1>&6
6312 KMEM_GROUP=$ac_cv_group_kmem
6313fi
6314
6315
5448# Check this now, so that we will NOT find the above functions in ncurses. 6316# Check this now, so that we will NOT find the above functions in ncurses.
5449# That is because we have not set up to link ncurses in lib-src. 6317# That is because we have not set up to link ncurses in lib-src.
5450# It's better to believe a function is not available 6318# It's better to believe a function is not available
5451# than to expect to find it in ncurses. 6319# than to expect to find it in ncurses.
5452echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6320echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5453echo "configure:5454: checking for tparm in -lncurses" >&5 6321echo "configure:6322: checking for tparm in -lncurses" >&5
5454ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6322ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5455if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6323if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5456 echo $ac_n "(cached) $ac_c" 1>&6 6324 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5458,7 +6326,7 @@ else
5458 ac_save_LIBS="$LIBS" 6326 ac_save_LIBS="$LIBS"
5459LIBS="-lncurses $LIBS" 6327LIBS="-lncurses $LIBS"
5460cat > conftest.$ac_ext <<EOF 6328cat > conftest.$ac_ext <<EOF
5461#line 5462 "configure" 6329#line 6330 "configure"
5462#include "confdefs.h" 6330#include "confdefs.h"
5463/* Override any gcc2 internal prototype to avoid an error. */ 6331/* Override any gcc2 internal prototype to avoid an error. */
5464/* We use char because int might match the return type of a gcc2 6332/* We use char because int might match the return type of a gcc2
@@ -5469,7 +6337,7 @@ int main() {
5469tparm() 6337tparm()
5470; return 0; } 6338; return 0; }
5471EOF 6339EOF
5472if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6340if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5473 rm -rf conftest* 6341 rm -rf conftest*
5474 eval "ac_cv_lib_$ac_lib_var=yes" 6342 eval "ac_cv_lib_$ac_lib_var=yes"
5475else 6343else
@@ -5500,7 +6368,7 @@ fi
5500# These tell us which Kerberos-related libraries to use. 6368# These tell us which Kerberos-related libraries to use.
5501if test "${with_kerberos+set}" = set; then 6369if test "${with_kerberos+set}" = set; then
5502 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 6370 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5503echo "configure:5504: checking for com_err in -lcom_err" >&5 6371echo "configure:6372: checking for com_err in -lcom_err" >&5
5504ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 6372ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5505if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6373if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5506 echo $ac_n "(cached) $ac_c" 1>&6 6374 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5508,7 +6376,7 @@ else
5508 ac_save_LIBS="$LIBS" 6376 ac_save_LIBS="$LIBS"
5509LIBS="-lcom_err $LIBS" 6377LIBS="-lcom_err $LIBS"
5510cat > conftest.$ac_ext <<EOF 6378cat > conftest.$ac_ext <<EOF
5511#line 5512 "configure" 6379#line 6380 "configure"
5512#include "confdefs.h" 6380#include "confdefs.h"
5513/* Override any gcc2 internal prototype to avoid an error. */ 6381/* Override any gcc2 internal prototype to avoid an error. */
5514/* We use char because int might match the return type of a gcc2 6382/* We use char because int might match the return type of a gcc2
@@ -5519,7 +6387,7 @@ int main() {
5519com_err() 6387com_err()
5520; return 0; } 6388; return 0; }
5521EOF 6389EOF
5522if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6390if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5523 rm -rf conftest* 6391 rm -rf conftest*
5524 eval "ac_cv_lib_$ac_lib_var=yes" 6392 eval "ac_cv_lib_$ac_lib_var=yes"
5525else 6393else
@@ -5547,7 +6415,7 @@ else
5547fi 6415fi
5548 6416
5549 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 6417 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5550echo "configure:5551: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 6418echo "configure:6419: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5551ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6419ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5552if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6420if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5553 echo $ac_n "(cached) $ac_c" 1>&6 6421 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5555,7 +6423,7 @@ else
5555 ac_save_LIBS="$LIBS" 6423 ac_save_LIBS="$LIBS"
5556LIBS="-lk5crypto $LIBS" 6424LIBS="-lk5crypto $LIBS"
5557cat > conftest.$ac_ext <<EOF 6425cat > conftest.$ac_ext <<EOF
5558#line 5559 "configure" 6426#line 6427 "configure"
5559#include "confdefs.h" 6427#include "confdefs.h"
5560/* Override any gcc2 internal prototype to avoid an error. */ 6428/* Override any gcc2 internal prototype to avoid an error. */
5561/* We use char because int might match the return type of a gcc2 6429/* We use char because int might match the return type of a gcc2
@@ -5566,7 +6434,7 @@ int main() {
5566mit_des_cbc_encrypt() 6434mit_des_cbc_encrypt()
5567; return 0; } 6435; return 0; }
5568EOF 6436EOF
5569if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6437if { (eval echo configure:6438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5570 rm -rf conftest* 6438 rm -rf conftest*
5571 eval "ac_cv_lib_$ac_lib_var=yes" 6439 eval "ac_cv_lib_$ac_lib_var=yes"
5572else 6440else
@@ -5594,7 +6462,7 @@ else
5594fi 6462fi
5595 6463
5596 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 6464 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5597echo "configure:5598: checking for mit_des_cbc_encrypt in -lcrypto" >&5 6465echo "configure:6466: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5598ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6466ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6467if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5600 echo $ac_n "(cached) $ac_c" 1>&6 6468 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5602,7 +6470,7 @@ else
5602 ac_save_LIBS="$LIBS" 6470 ac_save_LIBS="$LIBS"
5603LIBS="-lcrypto $LIBS" 6471LIBS="-lcrypto $LIBS"
5604cat > conftest.$ac_ext <<EOF 6472cat > conftest.$ac_ext <<EOF
5605#line 5606 "configure" 6473#line 6474 "configure"
5606#include "confdefs.h" 6474#include "confdefs.h"
5607/* Override any gcc2 internal prototype to avoid an error. */ 6475/* Override any gcc2 internal prototype to avoid an error. */
5608/* We use char because int might match the return type of a gcc2 6476/* We use char because int might match the return type of a gcc2
@@ -5613,7 +6481,7 @@ int main() {
5613mit_des_cbc_encrypt() 6481mit_des_cbc_encrypt()
5614; return 0; } 6482; return 0; }
5615EOF 6483EOF
5616if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6484if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5617 rm -rf conftest* 6485 rm -rf conftest*
5618 eval "ac_cv_lib_$ac_lib_var=yes" 6486 eval "ac_cv_lib_$ac_lib_var=yes"
5619else 6487else
@@ -5641,7 +6509,7 @@ else
5641fi 6509fi
5642 6510
5643 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 6511 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5644echo "configure:5645: checking for krb5_init_context in -lkrb5" >&5 6512echo "configure:6513: checking for krb5_init_context in -lkrb5" >&5
5645ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 6513ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5646if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6514if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5647 echo $ac_n "(cached) $ac_c" 1>&6 6515 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5649,7 +6517,7 @@ else
5649 ac_save_LIBS="$LIBS" 6517 ac_save_LIBS="$LIBS"
5650LIBS="-lkrb5 $LIBS" 6518LIBS="-lkrb5 $LIBS"
5651cat > conftest.$ac_ext <<EOF 6519cat > conftest.$ac_ext <<EOF
5652#line 5653 "configure" 6520#line 6521 "configure"
5653#include "confdefs.h" 6521#include "confdefs.h"
5654/* Override any gcc2 internal prototype to avoid an error. */ 6522/* Override any gcc2 internal prototype to avoid an error. */
5655/* We use char because int might match the return type of a gcc2 6523/* We use char because int might match the return type of a gcc2
@@ -5660,7 +6528,7 @@ int main() {
5660krb5_init_context() 6528krb5_init_context()
5661; return 0; } 6529; return 0; }
5662EOF 6530EOF
5663if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6531if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5664 rm -rf conftest* 6532 rm -rf conftest*
5665 eval "ac_cv_lib_$ac_lib_var=yes" 6533 eval "ac_cv_lib_$ac_lib_var=yes"
5666else 6534else
@@ -5689,7 +6557,7 @@ fi
5689 6557
5690 if test "${with_kerberos5+set}" != set; then 6558 if test "${with_kerberos5+set}" != set; then
5691 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 6559 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5692echo "configure:5693: checking for des_cbc_encrypt in -ldes425" >&5 6560echo "configure:6561: checking for des_cbc_encrypt in -ldes425" >&5
5693ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6561ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5694if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6562if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5695 echo $ac_n "(cached) $ac_c" 1>&6 6563 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5697,7 +6565,7 @@ else
5697 ac_save_LIBS="$LIBS" 6565 ac_save_LIBS="$LIBS"
5698LIBS="-ldes425 $LIBS" 6566LIBS="-ldes425 $LIBS"
5699cat > conftest.$ac_ext <<EOF 6567cat > conftest.$ac_ext <<EOF
5700#line 5701 "configure" 6568#line 6569 "configure"
5701#include "confdefs.h" 6569#include "confdefs.h"
5702/* Override any gcc2 internal prototype to avoid an error. */ 6570/* Override any gcc2 internal prototype to avoid an error. */
5703/* We use char because int might match the return type of a gcc2 6571/* We use char because int might match the return type of a gcc2
@@ -5708,7 +6576,7 @@ int main() {
5708des_cbc_encrypt() 6576des_cbc_encrypt()
5709; return 0; } 6577; return 0; }
5710EOF 6578EOF
5711if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6579if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5712 rm -rf conftest* 6580 rm -rf conftest*
5713 eval "ac_cv_lib_$ac_lib_var=yes" 6581 eval "ac_cv_lib_$ac_lib_var=yes"
5714else 6582else
@@ -5734,7 +6602,7 @@ EOF
5734else 6602else
5735 echo "$ac_t""no" 1>&6 6603 echo "$ac_t""no" 1>&6
5736echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6604echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5737echo "configure:5738: checking for des_cbc_encrypt in -ldes" >&5 6605echo "configure:6606: checking for des_cbc_encrypt in -ldes" >&5
5738ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6606ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5739if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6607if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5740 echo $ac_n "(cached) $ac_c" 1>&6 6608 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5742,7 +6610,7 @@ else
5742 ac_save_LIBS="$LIBS" 6610 ac_save_LIBS="$LIBS"
5743LIBS="-ldes $LIBS" 6611LIBS="-ldes $LIBS"
5744cat > conftest.$ac_ext <<EOF 6612cat > conftest.$ac_ext <<EOF
5745#line 5746 "configure" 6613#line 6614 "configure"
5746#include "confdefs.h" 6614#include "confdefs.h"
5747/* Override any gcc2 internal prototype to avoid an error. */ 6615/* Override any gcc2 internal prototype to avoid an error. */
5748/* We use char because int might match the return type of a gcc2 6616/* We use char because int might match the return type of a gcc2
@@ -5753,7 +6621,7 @@ int main() {
5753des_cbc_encrypt() 6621des_cbc_encrypt()
5754; return 0; } 6622; return 0; }
5755EOF 6623EOF
5756if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6624if { (eval echo configure:6625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5757 rm -rf conftest* 6625 rm -rf conftest*
5758 eval "ac_cv_lib_$ac_lib_var=yes" 6626 eval "ac_cv_lib_$ac_lib_var=yes"
5759else 6627else
@@ -5783,7 +6651,7 @@ fi
5783fi 6651fi
5784 6652
5785 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6653 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5786echo "configure:5787: checking for krb_get_cred in -lkrb4" >&5 6654echo "configure:6655: checking for krb_get_cred in -lkrb4" >&5
5787ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6655ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5788if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6656if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5789 echo $ac_n "(cached) $ac_c" 1>&6 6657 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5791,7 +6659,7 @@ else
5791 ac_save_LIBS="$LIBS" 6659 ac_save_LIBS="$LIBS"
5792LIBS="-lkrb4 $LIBS" 6660LIBS="-lkrb4 $LIBS"
5793cat > conftest.$ac_ext <<EOF 6661cat > conftest.$ac_ext <<EOF
5794#line 5795 "configure" 6662#line 6663 "configure"
5795#include "confdefs.h" 6663#include "confdefs.h"
5796/* Override any gcc2 internal prototype to avoid an error. */ 6664/* Override any gcc2 internal prototype to avoid an error. */
5797/* We use char because int might match the return type of a gcc2 6665/* We use char because int might match the return type of a gcc2
@@ -5802,7 +6670,7 @@ int main() {
5802krb_get_cred() 6670krb_get_cred()
5803; return 0; } 6671; return 0; }
5804EOF 6672EOF
5805if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6673if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5806 rm -rf conftest* 6674 rm -rf conftest*
5807 eval "ac_cv_lib_$ac_lib_var=yes" 6675 eval "ac_cv_lib_$ac_lib_var=yes"
5808else 6676else
@@ -5828,7 +6696,7 @@ EOF
5828else 6696else
5829 echo "$ac_t""no" 1>&6 6697 echo "$ac_t""no" 1>&6
5830echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6698echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5831echo "configure:5832: checking for krb_get_cred in -lkrb" >&5 6699echo "configure:6700: checking for krb_get_cred in -lkrb" >&5
5832ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6700ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5833if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6701if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5834 echo $ac_n "(cached) $ac_c" 1>&6 6702 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5836,7 +6704,7 @@ else
5836 ac_save_LIBS="$LIBS" 6704 ac_save_LIBS="$LIBS"
5837LIBS="-lkrb $LIBS" 6705LIBS="-lkrb $LIBS"
5838cat > conftest.$ac_ext <<EOF 6706cat > conftest.$ac_ext <<EOF
5839#line 5840 "configure" 6707#line 6708 "configure"
5840#include "confdefs.h" 6708#include "confdefs.h"
5841/* Override any gcc2 internal prototype to avoid an error. */ 6709/* Override any gcc2 internal prototype to avoid an error. */
5842/* We use char because int might match the return type of a gcc2 6710/* We use char because int might match the return type of a gcc2
@@ -5847,7 +6715,7 @@ int main() {
5847krb_get_cred() 6715krb_get_cred()
5848; return 0; } 6716; return 0; }
5849EOF 6717EOF
5850if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6718if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5851 rm -rf conftest* 6719 rm -rf conftest*
5852 eval "ac_cv_lib_$ac_lib_var=yes" 6720 eval "ac_cv_lib_$ac_lib_var=yes"
5853else 6721else
@@ -5883,17 +6751,17 @@ fi
5883do 6751do
5884ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6752ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5885echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6753echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5886echo "configure:5887: checking for $ac_hdr" >&5 6754echo "configure:6755: checking for $ac_hdr" >&5
5887if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6755if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5888 echo $ac_n "(cached) $ac_c" 1>&6 6756 echo $ac_n "(cached) $ac_c" 1>&6
5889else 6757else
5890 cat > conftest.$ac_ext <<EOF 6758 cat > conftest.$ac_ext <<EOF
5891#line 5892 "configure" 6759#line 6760 "configure"
5892#include "confdefs.h" 6760#include "confdefs.h"
5893#include <$ac_hdr> 6761#include <$ac_hdr>
5894EOF 6762EOF
5895ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6763ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5896{ (eval echo configure:5897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6764{ (eval echo configure:6765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5897ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6765ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5898if test -z "$ac_err"; then 6766if test -z "$ac_err"; then
5899 rm -rf conftest* 6767 rm -rf conftest*
@@ -5924,17 +6792,17 @@ done
5924do 6792do
5925ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6793ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5926echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6794echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5927echo "configure:5928: checking for $ac_hdr" >&5 6795echo "configure:6796: checking for $ac_hdr" >&5
5928if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6796if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5929 echo $ac_n "(cached) $ac_c" 1>&6 6797 echo $ac_n "(cached) $ac_c" 1>&6
5930else 6798else
5931 cat > conftest.$ac_ext <<EOF 6799 cat > conftest.$ac_ext <<EOF
5932#line 5933 "configure" 6800#line 6801 "configure"
5933#include "confdefs.h" 6801#include "confdefs.h"
5934#include <$ac_hdr> 6802#include <$ac_hdr>
5935EOF 6803EOF
5936ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6804ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5937{ (eval echo configure:5938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6805{ (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5938ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6806ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5939if test -z "$ac_err"; then 6807if test -z "$ac_err"; then
5940 rm -rf conftest* 6808 rm -rf conftest*
@@ -5961,17 +6829,17 @@ for ac_hdr in kerberosIV/des.h
5961do 6829do
5962ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6830ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5963echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6831echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5964echo "configure:5965: checking for $ac_hdr" >&5 6832echo "configure:6833: checking for $ac_hdr" >&5
5965if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6833if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5966 echo $ac_n "(cached) $ac_c" 1>&6 6834 echo $ac_n "(cached) $ac_c" 1>&6
5967else 6835else
5968 cat > conftest.$ac_ext <<EOF 6836 cat > conftest.$ac_ext <<EOF
5969#line 5970 "configure" 6837#line 6838 "configure"
5970#include "confdefs.h" 6838#include "confdefs.h"
5971#include <$ac_hdr> 6839#include <$ac_hdr>
5972EOF 6840EOF
5973ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6841ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5974{ (eval echo configure:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6842{ (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5975ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6843ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5976if test -z "$ac_err"; then 6844if test -z "$ac_err"; then
5977 rm -rf conftest* 6845 rm -rf conftest*
@@ -5998,17 +6866,17 @@ for ac_hdr in kerberos/des.h
5998do 6866do
5999ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6867ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6000echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6868echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6001echo "configure:6002: checking for $ac_hdr" >&5 6869echo "configure:6870: checking for $ac_hdr" >&5
6002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6870if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6 6871 echo $ac_n "(cached) $ac_c" 1>&6
6004else 6872else
6005 cat > conftest.$ac_ext <<EOF 6873 cat > conftest.$ac_ext <<EOF
6006#line 6007 "configure" 6874#line 6875 "configure"
6007#include "confdefs.h" 6875#include "confdefs.h"
6008#include <$ac_hdr> 6876#include <$ac_hdr>
6009EOF 6877EOF
6010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6878ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6011{ (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6879{ (eval echo configure:6880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6880ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6013if test -z "$ac_err"; then 6881if test -z "$ac_err"; then
6014 rm -rf conftest* 6882 rm -rf conftest*
@@ -6044,17 +6912,17 @@ done
6044do 6912do
6045ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6913ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6046echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6914echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6047echo "configure:6048: checking for $ac_hdr" >&5 6915echo "configure:6916: checking for $ac_hdr" >&5
6048if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6916if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6049 echo $ac_n "(cached) $ac_c" 1>&6 6917 echo $ac_n "(cached) $ac_c" 1>&6
6050else 6918else
6051 cat > conftest.$ac_ext <<EOF 6919 cat > conftest.$ac_ext <<EOF
6052#line 6053 "configure" 6920#line 6921 "configure"
6053#include "confdefs.h" 6921#include "confdefs.h"
6054#include <$ac_hdr> 6922#include <$ac_hdr>
6055EOF 6923EOF
6056ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6057{ (eval echo configure:6058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6925{ (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6058ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6926ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6059if test -z "$ac_err"; then 6927if test -z "$ac_err"; then
6060 rm -rf conftest* 6928 rm -rf conftest*
@@ -6081,17 +6949,17 @@ for ac_hdr in kerberosIV/krb.h
6081do 6949do
6082ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6950ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6083echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6951echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6084echo "configure:6085: checking for $ac_hdr" >&5 6952echo "configure:6953: checking for $ac_hdr" >&5
6085if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6953if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6086 echo $ac_n "(cached) $ac_c" 1>&6 6954 echo $ac_n "(cached) $ac_c" 1>&6
6087else 6955else
6088 cat > conftest.$ac_ext <<EOF 6956 cat > conftest.$ac_ext <<EOF
6089#line 6090 "configure" 6957#line 6958 "configure"
6090#include "confdefs.h" 6958#include "confdefs.h"
6091#include <$ac_hdr> 6959#include <$ac_hdr>
6092EOF 6960EOF
6093ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6961ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6094{ (eval echo configure:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6962{ (eval echo configure:6963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6095ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6096if test -z "$ac_err"; then 6964if test -z "$ac_err"; then
6097 rm -rf conftest* 6965 rm -rf conftest*
@@ -6118,17 +6986,17 @@ for ac_hdr in kerberos/krb.h
6118do 6986do
6119ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6987ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6120echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6988echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6121echo "configure:6122: checking for $ac_hdr" >&5 6989echo "configure:6990: checking for $ac_hdr" >&5
6122if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6990if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6123 echo $ac_n "(cached) $ac_c" 1>&6 6991 echo $ac_n "(cached) $ac_c" 1>&6
6124else 6992else
6125 cat > conftest.$ac_ext <<EOF 6993 cat > conftest.$ac_ext <<EOF
6126#line 6127 "configure" 6994#line 6995 "configure"
6127#include "confdefs.h" 6995#include "confdefs.h"
6128#include <$ac_hdr> 6996#include <$ac_hdr>
6129EOF 6997EOF
6130ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6998ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6131{ (eval echo configure:6132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6999{ (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6132ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7000ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6133if test -z "$ac_err"; then 7001if test -z "$ac_err"; then
6134 rm -rf conftest* 7002 rm -rf conftest*
@@ -6165,17 +7033,17 @@ done
6165do 7033do
6166ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7034ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6167echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7035echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6168echo "configure:6169: checking for $ac_hdr" >&5 7036echo "configure:7037: checking for $ac_hdr" >&5
6169if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7037if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6 7038 echo $ac_n "(cached) $ac_c" 1>&6
6171else 7039else
6172 cat > conftest.$ac_ext <<EOF 7040 cat > conftest.$ac_ext <<EOF
6173#line 6174 "configure" 7041#line 7042 "configure"
6174#include "confdefs.h" 7042#include "confdefs.h"
6175#include <$ac_hdr> 7043#include <$ac_hdr>
6176EOF 7044EOF
6177ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7045ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6178{ (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7046{ (eval echo configure:7047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6179ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7047ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6180if test -z "$ac_err"; then 7048if test -z "$ac_err"; then
6181 rm -rf conftest* 7049 rm -rf conftest*
@@ -6206,7 +7074,7 @@ fi
6206# Solaris requires -lintl if you want strerror (which calls dgettext) 7074# Solaris requires -lintl if you want strerror (which calls dgettext)
6207# to return localized messages. 7075# to return localized messages.
6208echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7076echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6209echo "configure:6210: checking for dgettext in -lintl" >&5 7077echo "configure:7078: checking for dgettext in -lintl" >&5
6210ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7078ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7079if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6212 echo $ac_n "(cached) $ac_c" 1>&6 7080 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6214,7 +7082,7 @@ else
6214 ac_save_LIBS="$LIBS" 7082 ac_save_LIBS="$LIBS"
6215LIBS="-lintl $LIBS" 7083LIBS="-lintl $LIBS"
6216cat > conftest.$ac_ext <<EOF 7084cat > conftest.$ac_ext <<EOF
6217#line 6218 "configure" 7085#line 7086 "configure"
6218#include "confdefs.h" 7086#include "confdefs.h"
6219/* Override any gcc2 internal prototype to avoid an error. */ 7087/* Override any gcc2 internal prototype to avoid an error. */
6220/* We use char because int might match the return type of a gcc2 7088/* We use char because int might match the return type of a gcc2
@@ -6225,7 +7093,7 @@ int main() {
6225dgettext() 7093dgettext()
6226; return 0; } 7094; return 0; }
6227EOF 7095EOF
6228if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7096if { (eval echo configure:7097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6229 rm -rf conftest* 7097 rm -rf conftest*
6230 eval "ac_cv_lib_$ac_lib_var=yes" 7098 eval "ac_cv_lib_$ac_lib_var=yes"
6231else 7099else
@@ -6254,7 +7122,7 @@ fi
6254 7122
6255 7123
6256echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7124echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6257echo "configure:6258: checking whether localtime caches TZ" >&5 7125echo "configure:7126: checking whether localtime caches TZ" >&5
6258if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7126if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6259 echo $ac_n "(cached) $ac_c" 1>&6 7127 echo $ac_n "(cached) $ac_c" 1>&6
6260else 7128else
@@ -6264,7 +7132,7 @@ if test "$cross_compiling" = yes; then
6264emacs_cv_localtime_cache=yes 7132emacs_cv_localtime_cache=yes
6265else 7133else
6266 cat > conftest.$ac_ext <<EOF 7134 cat > conftest.$ac_ext <<EOF
6267#line 6268 "configure" 7135#line 7136 "configure"
6268#include "confdefs.h" 7136#include "confdefs.h"
6269#include <time.h> 7137#include <time.h>
6270extern char **environ; 7138extern char **environ;
@@ -6296,7 +7164,7 @@ main()
6296 exit (0); 7164 exit (0);
6297} 7165}
6298EOF 7166EOF
6299if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7167if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6300then 7168then
6301 emacs_cv_localtime_cache=no 7169 emacs_cv_localtime_cache=no
6302else 7170else
@@ -6324,12 +7192,12 @@ fi
6324 7192
6325if test "x$HAVE_TIMEVAL" = xyes; then 7193if test "x$HAVE_TIMEVAL" = xyes; then
6326echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7194echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6327echo "configure:6328: checking whether gettimeofday can accept two arguments" >&5 7195echo "configure:7196: checking whether gettimeofday can accept two arguments" >&5
6328if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7196if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6329 echo $ac_n "(cached) $ac_c" 1>&6 7197 echo $ac_n "(cached) $ac_c" 1>&6
6330else 7198else
6331 cat > conftest.$ac_ext <<EOF 7199 cat > conftest.$ac_ext <<EOF
6332#line 6333 "configure" 7200#line 7201 "configure"
6333#include "confdefs.h" 7201#include "confdefs.h"
6334 7202
6335#ifdef TIME_WITH_SYS_TIME 7203#ifdef TIME_WITH_SYS_TIME
@@ -6351,7 +7219,7 @@ int main() {
6351 7219
6352; return 0; } 7220; return 0; }
6353EOF 7221EOF
6354if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7222if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6355 rm -rf conftest* 7223 rm -rf conftest*
6356 emacs_cv_gettimeofday_two_arguments=yes 7224 emacs_cv_gettimeofday_two_arguments=yes
6357else 7225else
@@ -6374,12 +7242,12 @@ fi
6374 7242
6375ok_so_far=yes 7243ok_so_far=yes
6376echo $ac_n "checking for socket""... $ac_c" 1>&6 7244echo $ac_n "checking for socket""... $ac_c" 1>&6
6377echo "configure:6378: checking for socket" >&5 7245echo "configure:7246: checking for socket" >&5
6378if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7246if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6379 echo $ac_n "(cached) $ac_c" 1>&6 7247 echo $ac_n "(cached) $ac_c" 1>&6
6380else 7248else
6381 cat > conftest.$ac_ext <<EOF 7249 cat > conftest.$ac_ext <<EOF
6382#line 6383 "configure" 7250#line 7251 "configure"
6383#include "confdefs.h" 7251#include "confdefs.h"
6384/* System header to define __stub macros and hopefully few prototypes, 7252/* System header to define __stub macros and hopefully few prototypes,
6385 which can conflict with char socket(); below. */ 7253 which can conflict with char socket(); below. */
@@ -6402,7 +7270,7 @@ socket();
6402 7270
6403; return 0; } 7271; return 0; }
6404EOF 7272EOF
6405if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7273if { (eval echo configure:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6406 rm -rf conftest* 7274 rm -rf conftest*
6407 eval "ac_cv_func_socket=yes" 7275 eval "ac_cv_func_socket=yes"
6408else 7276else
@@ -6425,17 +7293,17 @@ fi
6425if test $ok_so_far = yes; then 7293if test $ok_so_far = yes; then
6426 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 7294 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6427echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 7295echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6428echo "configure:6429: checking for netinet/in.h" >&5 7296echo "configure:7297: checking for netinet/in.h" >&5
6429if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7297if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6430 echo $ac_n "(cached) $ac_c" 1>&6 7298 echo $ac_n "(cached) $ac_c" 1>&6
6431else 7299else
6432 cat > conftest.$ac_ext <<EOF 7300 cat > conftest.$ac_ext <<EOF
6433#line 6434 "configure" 7301#line 7302 "configure"
6434#include "confdefs.h" 7302#include "confdefs.h"
6435#include <netinet/in.h> 7303#include <netinet/in.h>
6436EOF 7304EOF
6437ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7305ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6438{ (eval echo configure:6439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7306{ (eval echo configure:7307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6439ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7307ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6440if test -z "$ac_err"; then 7308if test -z "$ac_err"; then
6441 rm -rf conftest* 7309 rm -rf conftest*
@@ -6461,17 +7329,17 @@ fi
6461if test $ok_so_far = yes; then 7329if test $ok_so_far = yes; then
6462 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 7330 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6463echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 7331echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6464echo "configure:6465: checking for arpa/inet.h" >&5 7332echo "configure:7333: checking for arpa/inet.h" >&5
6465if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7333if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6466 echo $ac_n "(cached) $ac_c" 1>&6 7334 echo $ac_n "(cached) $ac_c" 1>&6
6467else 7335else
6468 cat > conftest.$ac_ext <<EOF 7336 cat > conftest.$ac_ext <<EOF
6469#line 6470 "configure" 7337#line 7338 "configure"
6470#include "confdefs.h" 7338#include "confdefs.h"
6471#include <arpa/inet.h> 7339#include <arpa/inet.h>
6472EOF 7340EOF
6473ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6474{ (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7342{ (eval echo configure:7343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6475ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6476if test -z "$ac_err"; then 7344if test -z "$ac_err"; then
6477 rm -rf conftest* 7345 rm -rf conftest*
@@ -6509,7 +7377,7 @@ EOF
6509fi 7377fi
6510 7378
6511echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 7379echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6512echo "configure:6513: checking whether system supports dynamic ptys" >&5 7380echo "configure:7381: checking whether system supports dynamic ptys" >&5
6513if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 7381if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6514 echo "$ac_t""yes" 1>&6 7382 echo "$ac_t""yes" 1>&6
6515 cat >> confdefs.h <<\EOF 7383 cat >> confdefs.h <<\EOF
@@ -6521,12 +7389,12 @@ else
6521fi 7389fi
6522 7390
6523echo $ac_n "checking for pid_t""... $ac_c" 1>&6 7391echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6524echo "configure:6525: checking for pid_t" >&5 7392echo "configure:7393: checking for pid_t" >&5
6525if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 7393if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6526 echo $ac_n "(cached) $ac_c" 1>&6 7394 echo $ac_n "(cached) $ac_c" 1>&6
6527else 7395else
6528 cat > conftest.$ac_ext <<EOF 7396 cat > conftest.$ac_ext <<EOF
6529#line 6530 "configure" 7397#line 7398 "configure"
6530#include "confdefs.h" 7398#include "confdefs.h"
6531#include <sys/types.h> 7399#include <sys/types.h>
6532#if STDC_HEADERS 7400#if STDC_HEADERS
@@ -6555,17 +7423,17 @@ fi
6555 7423
6556ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7424ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6557echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7425echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6558echo "configure:6559: checking for vfork.h" >&5 7426echo "configure:7427: checking for vfork.h" >&5
6559if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7427if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6 7428 echo $ac_n "(cached) $ac_c" 1>&6
6561else 7429else
6562 cat > conftest.$ac_ext <<EOF 7430 cat > conftest.$ac_ext <<EOF
6563#line 6564 "configure" 7431#line 7432 "configure"
6564#include "confdefs.h" 7432#include "confdefs.h"
6565#include <vfork.h> 7433#include <vfork.h>
6566EOF 7434EOF
6567ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7435ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6568{ (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7436{ (eval echo configure:7437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6569ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7437ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6570if test -z "$ac_err"; then 7438if test -z "$ac_err"; then
6571 rm -rf conftest* 7439 rm -rf conftest*
@@ -6590,18 +7458,18 @@ else
6590fi 7458fi
6591 7459
6592echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7460echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6593echo "configure:6594: checking for working vfork" >&5 7461echo "configure:7462: checking for working vfork" >&5
6594if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 7462if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6595 echo $ac_n "(cached) $ac_c" 1>&6 7463 echo $ac_n "(cached) $ac_c" 1>&6
6596else 7464else
6597 if test "$cross_compiling" = yes; then 7465 if test "$cross_compiling" = yes; then
6598 echo $ac_n "checking for vfork""... $ac_c" 1>&6 7466 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6599echo "configure:6600: checking for vfork" >&5 7467echo "configure:7468: checking for vfork" >&5
6600if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 7468if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6601 echo $ac_n "(cached) $ac_c" 1>&6 7469 echo $ac_n "(cached) $ac_c" 1>&6
6602else 7470else
6603 cat > conftest.$ac_ext <<EOF 7471 cat > conftest.$ac_ext <<EOF
6604#line 6605 "configure" 7472#line 7473 "configure"
6605#include "confdefs.h" 7473#include "confdefs.h"
6606/* System header to define __stub macros and hopefully few prototypes, 7474/* System header to define __stub macros and hopefully few prototypes,
6607 which can conflict with char vfork(); below. */ 7475 which can conflict with char vfork(); below. */
@@ -6624,7 +7492,7 @@ vfork();
6624 7492
6625; return 0; } 7493; return 0; }
6626EOF 7494EOF
6627if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7495if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6628 rm -rf conftest* 7496 rm -rf conftest*
6629 eval "ac_cv_func_vfork=yes" 7497 eval "ac_cv_func_vfork=yes"
6630else 7498else
@@ -6646,7 +7514,7 @@ fi
6646ac_cv_func_vfork_works=$ac_cv_func_vfork 7514ac_cv_func_vfork_works=$ac_cv_func_vfork
6647else 7515else
6648 cat > conftest.$ac_ext <<EOF 7516 cat > conftest.$ac_ext <<EOF
6649#line 6650 "configure" 7517#line 7518 "configure"
6650#include "confdefs.h" 7518#include "confdefs.h"
6651/* Thanks to Paul Eggert for this test. */ 7519/* Thanks to Paul Eggert for this test. */
6652#include <stdio.h> 7520#include <stdio.h>
@@ -6741,7 +7609,7 @@ main() {
6741 } 7609 }
6742} 7610}
6743EOF 7611EOF
6744if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7612if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6745then 7613then
6746 ac_cv_func_vfork_works=yes 7614 ac_cv_func_vfork_works=yes
6747else 7615else
@@ -7072,6 +7940,9 @@ s%@RANLIB@%$RANLIB%g
7072s%@SET_MAKE@%$SET_MAKE%g 7940s%@SET_MAKE@%$SET_MAKE%g
7073s%@ALLOCA@%$ALLOCA%g 7941s%@ALLOCA@%$ALLOCA%g
7074s%@liblockfile@%$liblockfile%g 7942s%@liblockfile@%$liblockfile%g
7943s%@LIBOBJS@%$LIBOBJS%g
7944s%@NEED_SETGID@%$NEED_SETGID%g
7945s%@KMEM_GROUP@%$KMEM_GROUP%g
7075s%@version@%$version%g 7946s%@version@%$version%g
7076s%@configuration@%$configuration%g 7947s%@configuration@%$configuration%g
7077s%@canonical@%$canonical%g 7948s%@canonical@%$canonical%g