diff options
| author | Dave Love | 2000-04-16 14:54:52 +0000 |
|---|---|---|
| committer | Dave Love | 2000-04-16 14:54:52 +0000 |
| commit | b5de8dc08423bd015456d012ed19f28a553931ed (patch) | |
| tree | 298f78a18282ede9c7487b9004c6e360d98845ca | |
| parent | 3dd2781ec09a0868ac42073aa8e46c40a0d7b8ff (diff) | |
| download | emacs-b5de8dc08423bd015456d012ed19f28a553931ed.tar.gz emacs-b5de8dc08423bd015456d012ed19f28a553931ed.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 1039 |
2 files changed, 955 insertions, 89 deletions
| @@ -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 | ||
| 83 | 2000-01-18 gerd <gerd@dlpx1> | ||
| 84 | |||
| 85 | * configure.in (HAVE_GIF): Check for DGifOpen instead of | ||
| 86 | DGifOpenFileName. | ||
| 87 | |||
| 88 | 2000-01-18 Gerd Moellmann <gerd@gnu.org> | 83 | 2000-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 |
| @@ -2891,7 +2891,7 @@ else | |||
| 2891 | int main() { | 2891 | int main() { |
| 2892 | 2892 | ||
| 2893 | /* Ultrix mips cc rejects this. */ | 2893 | /* Ultrix mips cc rejects this. */ |
| 2894 | typedef int charset[2]; const charset x; | 2894 | typedef int charset[2]; const charset x = {0,0}; |
| 2895 | /* SunOS 4.1.1 cc rejects this. */ | 2895 | /* SunOS 4.1.1 cc rejects this. */ |
| 2896 | char const *const *ccp; | 2896 | char const *const *ccp; |
| 2897 | char **p; | 2897 | char **p; |
| @@ -4875,7 +4875,7 @@ else | |||
| 4875 | #include "confdefs.h" | 4875 | #include "confdefs.h" |
| 4876 | #include <alloca.h> | 4876 | #include <alloca.h> |
| 4877 | int main() { | 4877 | int main() { |
| 4878 | char *p = alloca(2 * sizeof(int)); | 4878 | void *p = alloca(2 * sizeof(int)); |
| 4879 | ; return 0; } | 4879 | ; return 0; } |
| 4880 | EOF | 4880 | EOF |
| 4881 | if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4881 | if { (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 \ | |||
| 5389 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 5389 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
| 5390 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5390 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
| 5391 | utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5391 | utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
| 5392 | __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5392 | __fpending ftello mblen mbrlen strsignal setitimer ualarm |
| 5393 | do | 5393 | do |
| 5394 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5394 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5395 | echo "configure:5396: checking for $ac_func" >&5 | 5395 | echo "configure:5396: checking for $ac_func" >&5 |
| @@ -5445,12 +5445,880 @@ fi | |||
| 5445 | done | 5445 | done |
| 5446 | 5446 | ||
| 5447 | 5447 | ||
| 5448 | for ac_hdr in sys/time.h unistd.h | ||
| 5449 | do | ||
| 5450 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5451 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5452 | echo "configure:5453: checking for $ac_hdr" >&5 | ||
| 5453 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5454 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5455 | else | ||
| 5456 | cat > conftest.$ac_ext <<EOF | ||
| 5457 | #line 5458 "configure" | ||
| 5458 | #include "confdefs.h" | ||
| 5459 | #include <$ac_hdr> | ||
| 5460 | EOF | ||
| 5461 | ac_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; } | ||
| 5463 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5464 | if test -z "$ac_err"; then | ||
| 5465 | rm -rf conftest* | ||
| 5466 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5467 | else | ||
| 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" | ||
| 5473 | fi | ||
| 5474 | rm -f conftest* | ||
| 5475 | fi | ||
| 5476 | if 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 | ||
| 5481 | EOF | ||
| 5482 | |||
| 5483 | else | ||
| 5484 | echo "$ac_t""no" 1>&6 | ||
| 5485 | fi | ||
| 5486 | done | ||
| 5487 | |||
| 5488 | for ac_func in alarm | ||
| 5489 | do | ||
| 5490 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | ||
| 5491 | echo "configure:5492: checking for $ac_func" >&5 | ||
| 5492 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | ||
| 5493 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5494 | else | ||
| 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. */ | ||
| 5504 | char $ac_func(); | ||
| 5505 | |||
| 5506 | int 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) | ||
| 5512 | choke me | ||
| 5513 | #else | ||
| 5514 | $ac_func(); | ||
| 5515 | #endif | ||
| 5516 | |||
| 5517 | ; return 0; } | ||
| 5518 | EOF | ||
| 5519 | if { (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" | ||
| 5522 | else | ||
| 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" | ||
| 5527 | fi | ||
| 5528 | rm -f conftest* | ||
| 5529 | fi | ||
| 5530 | |||
| 5531 | if 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 | ||
| 5536 | EOF | ||
| 5537 | |||
| 5538 | else | ||
| 5539 | echo "$ac_t""no" 1>&6 | ||
| 5540 | fi | ||
| 5541 | done | ||
| 5542 | |||
| 5543 | echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | ||
| 5544 | echo "configure:5545: checking for working mktime" >&5 | ||
| 5545 | if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | ||
| 5546 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5547 | else | ||
| 5548 | if test "$cross_compiling" = yes; then | ||
| 5549 | ac_cv_func_working_mktime=no | ||
| 5550 | else | ||
| 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 | |||
| 5578 | static time_t time_t_max; | ||
| 5579 | |||
| 5580 | /* Values we'll use to set the TZ environment variable. */ | ||
| 5581 | static 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. */ | ||
| 5589 | static void | ||
| 5590 | spring_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 | |||
| 5612 | static void | ||
| 5613 | mktime_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 | |||
| 5624 | static void | ||
| 5625 | irix_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 | |||
| 5641 | static void | ||
| 5642 | bigtime_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 | |||
| 5667 | int | ||
| 5668 | main () | ||
| 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 | } | ||
| 5700 | EOF | ||
| 5701 | if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | ||
| 5702 | then | ||
| 5703 | ac_cv_func_working_mktime=yes | ||
| 5704 | else | ||
| 5705 | echo "configure: failed program was:" >&5 | ||
| 5706 | cat conftest.$ac_ext >&5 | ||
| 5707 | rm -fr conftest* | ||
| 5708 | ac_cv_func_working_mktime=no | ||
| 5709 | fi | ||
| 5710 | rm -fr conftest* | ||
| 5711 | fi | ||
| 5712 | |||
| 5713 | fi | ||
| 5714 | |||
| 5715 | echo "$ac_t""$ac_cv_func_working_mktime" 1>&6 | ||
| 5716 | if test $ac_cv_func_working_mktime = no; then | ||
| 5717 | LIBOBJS="$LIBOBJS mktime.${ac_objext}" | ||
| 5718 | fi | ||
| 5719 | |||
| 5720 | if test "$ac_cv_func_working_mktime" = no; then | ||
| 5721 | cat >> confdefs.h <<\EOF | ||
| 5722 | #define BROKEN_MKTIME 1 | ||
| 5723 | EOF | ||
| 5724 | |||
| 5725 | fi | ||
| 5726 | |||
| 5727 | ac_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. | ||
| 5732 | echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | ||
| 5733 | echo "configure:5734: checking for elf_begin in -lelf" >&5 | ||
| 5734 | ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | ||
| 5735 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5736 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5737 | else | ||
| 5738 | ac_save_LIBS="$LIBS" | ||
| 5739 | LIBS="-lelf $LIBS" | ||
| 5740 | cat > 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. */ | ||
| 5746 | char elf_begin(); | ||
| 5747 | |||
| 5748 | int main() { | ||
| 5749 | elf_begin() | ||
| 5750 | ; return 0; } | ||
| 5751 | EOF | ||
| 5752 | if { (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" | ||
| 5755 | else | ||
| 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" | ||
| 5760 | fi | ||
| 5761 | rm -f conftest* | ||
| 5762 | LIBS="$ac_save_LIBS" | ||
| 5763 | |||
| 5764 | fi | ||
| 5765 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5766 | echo "$ac_t""yes" 1>&6 | ||
| 5767 | LIBS="-lelf $LIBS" | ||
| 5768 | else | ||
| 5769 | echo "$ac_t""no" 1>&6 | ||
| 5770 | fi | ||
| 5771 | |||
| 5772 | echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | ||
| 5773 | echo "configure:5774: checking for kvm_open in -lkvm" >&5 | ||
| 5774 | ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | ||
| 5775 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5776 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5777 | else | ||
| 5778 | ac_save_LIBS="$LIBS" | ||
| 5779 | LIBS="-lkvm $LIBS" | ||
| 5780 | cat > 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. */ | ||
| 5786 | char kvm_open(); | ||
| 5787 | |||
| 5788 | int main() { | ||
| 5789 | kvm_open() | ||
| 5790 | ; return 0; } | ||
| 5791 | EOF | ||
| 5792 | if { (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" | ||
| 5795 | else | ||
| 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" | ||
| 5800 | fi | ||
| 5801 | rm -f conftest* | ||
| 5802 | LIBS="$ac_save_LIBS" | ||
| 5803 | |||
| 5804 | fi | ||
| 5805 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5806 | echo "$ac_t""yes" 1>&6 | ||
| 5807 | LIBS="-lkvm $LIBS" | ||
| 5808 | else | ||
| 5809 | echo "$ac_t""no" 1>&6 | ||
| 5810 | fi | ||
| 5811 | |||
| 5812 | # Check for the 4.4BSD definition of getloadavg. | ||
| 5813 | echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | ||
| 5814 | echo "configure:5815: checking for getloadavg in -lutil" >&5 | ||
| 5815 | ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | ||
| 5816 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5817 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5818 | else | ||
| 5819 | ac_save_LIBS="$LIBS" | ||
| 5820 | LIBS="-lutil $LIBS" | ||
| 5821 | cat > 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. */ | ||
| 5827 | char getloadavg(); | ||
| 5828 | |||
| 5829 | int main() { | ||
| 5830 | getloadavg() | ||
| 5831 | ; return 0; } | ||
| 5832 | EOF | ||
| 5833 | if { (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" | ||
| 5836 | else | ||
| 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" | ||
| 5841 | fi | ||
| 5842 | rm -f conftest* | ||
| 5843 | LIBS="$ac_save_LIBS" | ||
| 5844 | |||
| 5845 | fi | ||
| 5846 | if 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 | ||
| 5849 | else | ||
| 5850 | echo "$ac_t""no" 1>&6 | ||
| 5851 | fi | ||
| 5852 | |||
| 5853 | |||
| 5854 | if 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 | ||
| 5859 | echo "configure:5860: checking for getloadavg in -lgetloadavg" >&5 | ||
| 5860 | ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | ||
| 5861 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5862 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5863 | else | ||
| 5864 | ac_save_LIBS="$LIBS" | ||
| 5865 | LIBS="-lgetloadavg $LIBS" | ||
| 5866 | cat > 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. */ | ||
| 5872 | char getloadavg(); | ||
| 5873 | |||
| 5874 | int main() { | ||
| 5875 | getloadavg() | ||
| 5876 | ; return 0; } | ||
| 5877 | EOF | ||
| 5878 | if { (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" | ||
| 5881 | else | ||
| 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" | ||
| 5886 | fi | ||
| 5887 | rm -f conftest* | ||
| 5888 | LIBS="$ac_save_LIBS" | ||
| 5889 | |||
| 5890 | fi | ||
| 5891 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5892 | echo "$ac_t""yes" 1>&6 | ||
| 5893 | LIBS="-lgetloadavg $LIBS" | ||
| 5894 | else | ||
| 5895 | echo "$ac_t""no" 1>&6 | ||
| 5896 | LIBS="$ac_getloadavg_LIBS" | ||
| 5897 | fi | ||
| 5898 | |||
| 5899 | fi | ||
| 5900 | |||
| 5901 | # Make sure it is really in the library, if we think we found it. | ||
| 5902 | for ac_func in getloadavg | ||
| 5903 | do | ||
| 5904 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | ||
| 5905 | echo "configure:5906: checking for $ac_func" >&5 | ||
| 5906 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | ||
| 5907 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5908 | else | ||
| 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. */ | ||
| 5918 | char $ac_func(); | ||
| 5919 | |||
| 5920 | int 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) | ||
| 5926 | choke me | ||
| 5927 | #else | ||
| 5928 | $ac_func(); | ||
| 5929 | #endif | ||
| 5930 | |||
| 5931 | ; return 0; } | ||
| 5932 | EOF | ||
| 5933 | if { (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" | ||
| 5936 | else | ||
| 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" | ||
| 5941 | fi | ||
| 5942 | rm -f conftest* | ||
| 5943 | fi | ||
| 5944 | |||
| 5945 | if 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 | ||
| 5950 | EOF | ||
| 5951 | |||
| 5952 | else | ||
| 5953 | echo "$ac_t""no" 1>&6 | ||
| 5954 | LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" | ||
| 5955 | fi | ||
| 5956 | done | ||
| 5957 | |||
| 5958 | |||
| 5959 | |||
| 5960 | if test $ac_cv_func_getloadavg = yes; then | ||
| 5961 | cat >> confdefs.h <<\EOF | ||
| 5962 | #define HAVE_GETLOADAVG 1 | ||
| 5963 | EOF | ||
| 5964 | |||
| 5965 | ac_have_func=yes | ||
| 5966 | else | ||
| 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_%'` | ||
| 5970 | echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | ||
| 5971 | echo "configure:5972: checking for sys/dg_sys_info.h" >&5 | ||
| 5972 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5973 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5974 | else | ||
| 5975 | cat > conftest.$ac_ext <<EOF | ||
| 5976 | #line 5977 "configure" | ||
| 5977 | #include "confdefs.h" | ||
| 5978 | #include <sys/dg_sys_info.h> | ||
| 5979 | EOF | ||
| 5980 | ac_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; } | ||
| 5982 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5983 | if test -z "$ac_err"; then | ||
| 5984 | rm -rf conftest* | ||
| 5985 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5986 | else | ||
| 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" | ||
| 5992 | fi | ||
| 5993 | rm -f conftest* | ||
| 5994 | fi | ||
| 5995 | if 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 | ||
| 5999 | EOF | ||
| 6000 | |||
| 6001 | echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | ||
| 6002 | echo "configure:6003: checking for dg_sys_info in -ldgc" >&5 | ||
| 6003 | ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | ||
| 6004 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 6005 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6006 | else | ||
| 6007 | ac_save_LIBS="$LIBS" | ||
| 6008 | LIBS="-ldgc $LIBS" | ||
| 6009 | cat > 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. */ | ||
| 6015 | char dg_sys_info(); | ||
| 6016 | |||
| 6017 | int main() { | ||
| 6018 | dg_sys_info() | ||
| 6019 | ; return 0; } | ||
| 6020 | EOF | ||
| 6021 | if { (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" | ||
| 6024 | else | ||
| 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" | ||
| 6029 | fi | ||
| 6030 | rm -f conftest* | ||
| 6031 | LIBS="$ac_save_LIBS" | ||
| 6032 | |||
| 6033 | fi | ||
| 6034 | if 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 | ||
| 6040 | EOF | ||
| 6041 | |||
| 6042 | LIBS="-ldgc $LIBS" | ||
| 6043 | |||
| 6044 | else | ||
| 6045 | echo "$ac_t""no" 1>&6 | ||
| 6046 | fi | ||
| 6047 | |||
| 6048 | else | ||
| 6049 | echo "$ac_t""no" 1>&6 | ||
| 6050 | fi | ||
| 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 | ||
| 6059 | EOF | ||
| 6060 | |||
| 6061 | fi | ||
| 6062 | |||
| 6063 | if test $ac_have_func = no; then | ||
| 6064 | ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | ||
| 6065 | echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | ||
| 6066 | echo "configure:6067: checking for inq_stats/cpustats.h" >&5 | ||
| 6067 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 6068 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6069 | else | ||
| 6070 | cat > conftest.$ac_ext <<EOF | ||
| 6071 | #line 6072 "configure" | ||
| 6072 | #include "confdefs.h" | ||
| 6073 | #include <inq_stats/cpustats.h> | ||
| 6074 | EOF | ||
| 6075 | ac_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; } | ||
| 6077 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 6078 | if test -z "$ac_err"; then | ||
| 6079 | rm -rf conftest* | ||
| 6080 | eval "ac_cv_header_$ac_safe=yes" | ||
| 6081 | else | ||
| 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" | ||
| 6087 | fi | ||
| 6088 | rm -f conftest* | ||
| 6089 | fi | ||
| 6090 | if 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 | ||
| 6094 | EOF | ||
| 6095 | |||
| 6096 | cat >> confdefs.h <<\EOF | ||
| 6097 | #define UMAX4_3 1 | ||
| 6098 | EOF | ||
| 6099 | |||
| 6100 | else | ||
| 6101 | echo "$ac_t""no" 1>&6 | ||
| 6102 | fi | ||
| 6103 | |||
| 6104 | fi | ||
| 6105 | |||
| 6106 | if test $ac_have_func = no; then | ||
| 6107 | ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | ||
| 6108 | echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | ||
| 6109 | echo "configure:6110: checking for sys/cpustats.h" >&5 | ||
| 6110 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 6111 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6112 | else | ||
| 6113 | cat > conftest.$ac_ext <<EOF | ||
| 6114 | #line 6115 "configure" | ||
| 6115 | #include "confdefs.h" | ||
| 6116 | #include <sys/cpustats.h> | ||
| 6117 | EOF | ||
| 6118 | ac_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; } | ||
| 6120 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 6121 | if test -z "$ac_err"; then | ||
| 6122 | rm -rf conftest* | ||
| 6123 | eval "ac_cv_header_$ac_safe=yes" | ||
| 6124 | else | ||
| 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" | ||
| 6130 | fi | ||
| 6131 | rm -f conftest* | ||
| 6132 | fi | ||
| 6133 | if 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 | ||
| 6137 | EOF | ||
| 6138 | |||
| 6139 | else | ||
| 6140 | echo "$ac_t""no" 1>&6 | ||
| 6141 | fi | ||
| 6142 | |||
| 6143 | fi | ||
| 6144 | |||
| 6145 | if test $ac_have_func = no; then | ||
| 6146 | for ac_hdr in mach/mach.h | ||
| 6147 | do | ||
| 6148 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 6149 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 6150 | echo "configure:6151: checking for $ac_hdr" >&5 | ||
| 6151 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 6152 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6153 | else | ||
| 6154 | cat > conftest.$ac_ext <<EOF | ||
| 6155 | #line 6156 "configure" | ||
| 6156 | #include "confdefs.h" | ||
| 6157 | #include <$ac_hdr> | ||
| 6158 | EOF | ||
| 6159 | ac_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; } | ||
| 6161 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 6162 | if test -z "$ac_err"; then | ||
| 6163 | rm -rf conftest* | ||
| 6164 | eval "ac_cv_header_$ac_safe=yes" | ||
| 6165 | else | ||
| 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" | ||
| 6171 | fi | ||
| 6172 | rm -f conftest* | ||
| 6173 | fi | ||
| 6174 | if 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 | ||
| 6179 | EOF | ||
| 6180 | |||
| 6181 | else | ||
| 6182 | echo "$ac_t""no" 1>&6 | ||
| 6183 | fi | ||
| 6184 | done | ||
| 6185 | |||
| 6186 | fi | ||
| 6187 | |||
| 6188 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | ||
| 6189 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | ||
| 6190 | echo "configure:6191: checking for nlist.h" >&5 | ||
| 6191 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 6192 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6193 | else | ||
| 6194 | cat > conftest.$ac_ext <<EOF | ||
| 6195 | #line 6196 "configure" | ||
| 6196 | #include "confdefs.h" | ||
| 6197 | #include <nlist.h> | ||
| 6198 | EOF | ||
| 6199 | ac_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; } | ||
| 6201 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 6202 | if test -z "$ac_err"; then | ||
| 6203 | rm -rf conftest* | ||
| 6204 | eval "ac_cv_header_$ac_safe=yes" | ||
| 6205 | else | ||
| 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" | ||
| 6211 | fi | ||
| 6212 | rm -f conftest* | ||
| 6213 | fi | ||
| 6214 | if 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 | ||
| 6218 | EOF | ||
| 6219 | |||
| 6220 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | ||
| 6221 | echo "configure:6222: checking for n_un in struct nlist" >&5 | ||
| 6222 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | ||
| 6223 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6224 | else | ||
| 6225 | cat > conftest.$ac_ext <<EOF | ||
| 6226 | #line 6227 "configure" | ||
| 6227 | #include "confdefs.h" | ||
| 6228 | #include <nlist.h> | ||
| 6229 | int main() { | ||
| 6230 | struct nlist n; n.n_un.n_name = 0; | ||
| 6231 | ; return 0; } | ||
| 6232 | EOF | ||
| 6233 | if { (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 | ||
| 6236 | else | ||
| 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 | ||
| 6241 | fi | ||
| 6242 | rm -f conftest* | ||
| 6243 | fi | ||
| 6244 | |||
| 6245 | echo "$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 | ||
| 6249 | EOF | ||
| 6250 | |||
| 6251 | fi | ||
| 6252 | |||
| 6253 | else | ||
| 6254 | echo "$ac_t""no" 1>&6 | ||
| 6255 | fi | ||
| 6256 | fi # Do not have getloadavg in system libraries. | ||
| 6257 | |||
| 6258 | # Some definitions of getloadavg require that the program be installed setgid. | ||
| 6259 | echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | ||
| 6260 | echo "configure:6261: checking whether getloadavg requires setgid" >&5 | ||
| 6261 | if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | ||
| 6262 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6263 | else | ||
| 6264 | cat > conftest.$ac_ext <<EOF | ||
| 6265 | #line 6266 "configure" | ||
| 6266 | #include "confdefs.h" | ||
| 6267 | #include "$srcdir/getloadavg.c" | ||
| 6268 | #ifdef LDAV_PRIVILEGED | ||
| 6269 | Yowza Am I SETGID yet | ||
| 6270 | #endif | ||
| 6271 | EOF | ||
| 6272 | if (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 | ||
| 6276 | else | ||
| 6277 | rm -rf conftest* | ||
| 6278 | ac_cv_func_getloadavg_setgid=no | ||
| 6279 | fi | ||
| 6280 | rm -f conftest* | ||
| 6281 | |||
| 6282 | fi | ||
| 6283 | |||
| 6284 | echo "$ac_t""$ac_cv_func_getloadavg_setgid" 1>&6 | ||
| 6285 | if test $ac_cv_func_getloadavg_setgid = yes; then | ||
| 6286 | NEED_SETGID=true; cat >> confdefs.h <<\EOF | ||
| 6287 | #define GETLOADAVG_PRIVILEGED 1 | ||
| 6288 | EOF | ||
| 6289 | |||
| 6290 | else | ||
| 6291 | NEED_SETGID=false | ||
| 6292 | fi | ||
| 6293 | |||
| 6294 | if test $ac_cv_func_getloadavg_setgid = yes; then | ||
| 6295 | echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | ||
| 6296 | echo "configure:6297: checking group of /dev/kmem" >&5 | ||
| 6297 | if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | ||
| 6298 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 6299 | else | ||
| 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 | |||
| 6309 | fi | ||
| 6310 | |||
| 6311 | echo "$ac_t""$ac_cv_group_kmem" 1>&6 | ||
| 6312 | KMEM_GROUP=$ac_cv_group_kmem | ||
| 6313 | fi | ||
| 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. |
| 5452 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 6320 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
| 5453 | echo "configure:5454: checking for tparm in -lncurses" >&5 | 6321 | echo "configure:6322: checking for tparm in -lncurses" >&5 |
| 5454 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 6322 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
| 5455 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6323 | if 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" |
| 5459 | LIBS="-lncurses $LIBS" | 6327 | LIBS="-lncurses $LIBS" |
| 5460 | cat > conftest.$ac_ext <<EOF | 6328 | cat > 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() { | |||
| 5469 | tparm() | 6337 | tparm() |
| 5470 | ; return 0; } | 6338 | ; return 0; } |
| 5471 | EOF | 6339 | EOF |
| 5472 | if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6340 | if { (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" |
| 5475 | else | 6343 | else |
| @@ -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. |
| 5501 | if test "${with_kerberos+set}" = set; then | 6369 | if 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 |
| 5503 | echo "configure:5504: checking for com_err in -lcom_err" >&5 | 6371 | echo "configure:6372: checking for com_err in -lcom_err" >&5 |
| 5504 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 6372 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
| 5505 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6373 | if 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" |
| 5509 | LIBS="-lcom_err $LIBS" | 6377 | LIBS="-lcom_err $LIBS" |
| 5510 | cat > conftest.$ac_ext <<EOF | 6378 | cat > 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() { | |||
| 5519 | com_err() | 6387 | com_err() |
| 5520 | ; return 0; } | 6388 | ; return 0; } |
| 5521 | EOF | 6389 | EOF |
| 5522 | if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6390 | if { (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" |
| 5525 | else | 6393 | else |
| @@ -5547,7 +6415,7 @@ else | |||
| 5547 | fi | 6415 | fi |
| 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 |
| 5550 | echo "configure:5551: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 6418 | echo "configure:6419: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 5551 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6419 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 5552 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6420 | if 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" |
| 5556 | LIBS="-lk5crypto $LIBS" | 6424 | LIBS="-lk5crypto $LIBS" |
| 5557 | cat > conftest.$ac_ext <<EOF | 6425 | cat > 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() { | |||
| 5566 | mit_des_cbc_encrypt() | 6434 | mit_des_cbc_encrypt() |
| 5567 | ; return 0; } | 6435 | ; return 0; } |
| 5568 | EOF | 6436 | EOF |
| 5569 | if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6437 | if { (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" |
| 5572 | else | 6440 | else |
| @@ -5594,7 +6462,7 @@ else | |||
| 5594 | fi | 6462 | fi |
| 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 |
| 5597 | echo "configure:5598: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 6465 | echo "configure:6466: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 5598 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6466 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 5599 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6467 | if 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" |
| 5603 | LIBS="-lcrypto $LIBS" | 6471 | LIBS="-lcrypto $LIBS" |
| 5604 | cat > conftest.$ac_ext <<EOF | 6472 | cat > 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() { | |||
| 5613 | mit_des_cbc_encrypt() | 6481 | mit_des_cbc_encrypt() |
| 5614 | ; return 0; } | 6482 | ; return 0; } |
| 5615 | EOF | 6483 | EOF |
| 5616 | if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6484 | if { (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" |
| 5619 | else | 6487 | else |
| @@ -5641,7 +6509,7 @@ else | |||
| 5641 | fi | 6509 | fi |
| 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 |
| 5644 | echo "configure:5645: checking for krb5_init_context in -lkrb5" >&5 | 6512 | echo "configure:6513: checking for krb5_init_context in -lkrb5" >&5 |
| 5645 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 6513 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
| 5646 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6514 | if 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" |
| 5650 | LIBS="-lkrb5 $LIBS" | 6518 | LIBS="-lkrb5 $LIBS" |
| 5651 | cat > conftest.$ac_ext <<EOF | 6519 | cat > 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() { | |||
| 5660 | krb5_init_context() | 6528 | krb5_init_context() |
| 5661 | ; return 0; } | 6529 | ; return 0; } |
| 5662 | EOF | 6530 | EOF |
| 5663 | if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6531 | if { (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" |
| 5666 | else | 6534 | else |
| @@ -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 |
| 5692 | echo "configure:5693: checking for des_cbc_encrypt in -ldes425" >&5 | 6560 | echo "configure:6561: checking for des_cbc_encrypt in -ldes425" >&5 |
| 5693 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6561 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 5694 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6562 | if 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" |
| 5698 | LIBS="-ldes425 $LIBS" | 6566 | LIBS="-ldes425 $LIBS" |
| 5699 | cat > conftest.$ac_ext <<EOF | 6567 | cat > 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() { | |||
| 5708 | des_cbc_encrypt() | 6576 | des_cbc_encrypt() |
| 5709 | ; return 0; } | 6577 | ; return 0; } |
| 5710 | EOF | 6578 | EOF |
| 5711 | if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6579 | if { (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" |
| 5714 | else | 6582 | else |
| @@ -5734,7 +6602,7 @@ EOF | |||
| 5734 | else | 6602 | else |
| 5735 | echo "$ac_t""no" 1>&6 | 6603 | echo "$ac_t""no" 1>&6 |
| 5736 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 6604 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
| 5737 | echo "configure:5738: checking for des_cbc_encrypt in -ldes" >&5 | 6605 | echo "configure:6606: checking for des_cbc_encrypt in -ldes" >&5 |
| 5738 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6606 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
| 5739 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6607 | if 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" |
| 5743 | LIBS="-ldes $LIBS" | 6611 | LIBS="-ldes $LIBS" |
| 5744 | cat > conftest.$ac_ext <<EOF | 6612 | cat > 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() { | |||
| 5753 | des_cbc_encrypt() | 6621 | des_cbc_encrypt() |
| 5754 | ; return 0; } | 6622 | ; return 0; } |
| 5755 | EOF | 6623 | EOF |
| 5756 | if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6624 | if { (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" |
| 5759 | else | 6627 | else |
| @@ -5783,7 +6651,7 @@ fi | |||
| 5783 | fi | 6651 | fi |
| 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 |
| 5786 | echo "configure:5787: checking for krb_get_cred in -lkrb4" >&5 | 6654 | echo "configure:6655: checking for krb_get_cred in -lkrb4" >&5 |
| 5787 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6655 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 5788 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6656 | if 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" |
| 5792 | LIBS="-lkrb4 $LIBS" | 6660 | LIBS="-lkrb4 $LIBS" |
| 5793 | cat > conftest.$ac_ext <<EOF | 6661 | cat > 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() { | |||
| 5802 | krb_get_cred() | 6670 | krb_get_cred() |
| 5803 | ; return 0; } | 6671 | ; return 0; } |
| 5804 | EOF | 6672 | EOF |
| 5805 | if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6673 | if { (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" |
| 5808 | else | 6676 | else |
| @@ -5828,7 +6696,7 @@ EOF | |||
| 5828 | else | 6696 | else |
| 5829 | echo "$ac_t""no" 1>&6 | 6697 | echo "$ac_t""no" 1>&6 |
| 5830 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 6698 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
| 5831 | echo "configure:5832: checking for krb_get_cred in -lkrb" >&5 | 6699 | echo "configure:6700: checking for krb_get_cred in -lkrb" >&5 |
| 5832 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6700 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
| 5833 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6701 | if 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" |
| 5837 | LIBS="-lkrb $LIBS" | 6705 | LIBS="-lkrb $LIBS" |
| 5838 | cat > conftest.$ac_ext <<EOF | 6706 | cat > 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() { | |||
| 5847 | krb_get_cred() | 6715 | krb_get_cred() |
| 5848 | ; return 0; } | 6716 | ; return 0; } |
| 5849 | EOF | 6717 | EOF |
| 5850 | if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6718 | if { (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" |
| 5853 | else | 6721 | else |
| @@ -5883,17 +6751,17 @@ fi | |||
| 5883 | do | 6751 | do |
| 5884 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6752 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5885 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6753 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5886 | echo "configure:5887: checking for $ac_hdr" >&5 | 6754 | echo "configure:6755: checking for $ac_hdr" >&5 |
| 5887 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6755 | if 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 |
| 5889 | else | 6757 | else |
| 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> |
| 5894 | EOF | 6762 | EOF |
| 5895 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6763 | ac_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; } |
| 5897 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6765 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5898 | if test -z "$ac_err"; then | 6766 | if test -z "$ac_err"; then |
| 5899 | rm -rf conftest* | 6767 | rm -rf conftest* |
| @@ -5924,17 +6792,17 @@ done | |||
| 5924 | do | 6792 | do |
| 5925 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6793 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5926 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6794 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5927 | echo "configure:5928: checking for $ac_hdr" >&5 | 6795 | echo "configure:6796: checking for $ac_hdr" >&5 |
| 5928 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6796 | if 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 |
| 5930 | else | 6798 | else |
| 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> |
| 5935 | EOF | 6803 | EOF |
| 5936 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6804 | ac_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; } |
| 5938 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6806 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5939 | if test -z "$ac_err"; then | 6807 | if test -z "$ac_err"; then |
| 5940 | rm -rf conftest* | 6808 | rm -rf conftest* |
| @@ -5961,17 +6829,17 @@ for ac_hdr in kerberosIV/des.h | |||
| 5961 | do | 6829 | do |
| 5962 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6830 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5963 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6831 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5964 | echo "configure:5965: checking for $ac_hdr" >&5 | 6832 | echo "configure:6833: checking for $ac_hdr" >&5 |
| 5965 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6833 | if 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 |
| 5967 | else | 6835 | else |
| 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> |
| 5972 | EOF | 6840 | EOF |
| 5973 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6841 | ac_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; } |
| 5975 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6843 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5976 | if test -z "$ac_err"; then | 6844 | if test -z "$ac_err"; then |
| 5977 | rm -rf conftest* | 6845 | rm -rf conftest* |
| @@ -5998,17 +6866,17 @@ for ac_hdr in kerberos/des.h | |||
| 5998 | do | 6866 | do |
| 5999 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6867 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6000 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6868 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6001 | echo "configure:6002: checking for $ac_hdr" >&5 | 6869 | echo "configure:6870: checking for $ac_hdr" >&5 |
| 6002 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6870 | if 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 |
| 6004 | else | 6872 | else |
| 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> |
| 6009 | EOF | 6877 | EOF |
| 6010 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6878 | ac_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; } |
| 6012 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6880 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6013 | if test -z "$ac_err"; then | 6881 | if test -z "$ac_err"; then |
| 6014 | rm -rf conftest* | 6882 | rm -rf conftest* |
| @@ -6044,17 +6912,17 @@ done | |||
| 6044 | do | 6912 | do |
| 6045 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6913 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6046 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6914 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6047 | echo "configure:6048: checking for $ac_hdr" >&5 | 6915 | echo "configure:6916: checking for $ac_hdr" >&5 |
| 6048 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6916 | if 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 |
| 6050 | else | 6918 | else |
| 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> |
| 6055 | EOF | 6923 | EOF |
| 6056 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6924 | ac_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; } |
| 6058 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6926 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6059 | if test -z "$ac_err"; then | 6927 | if test -z "$ac_err"; then |
| 6060 | rm -rf conftest* | 6928 | rm -rf conftest* |
| @@ -6081,17 +6949,17 @@ for ac_hdr in kerberosIV/krb.h | |||
| 6081 | do | 6949 | do |
| 6082 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6950 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6083 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6951 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6084 | echo "configure:6085: checking for $ac_hdr" >&5 | 6952 | echo "configure:6953: checking for $ac_hdr" >&5 |
| 6085 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6953 | if 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 |
| 6087 | else | 6955 | else |
| 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> |
| 6092 | EOF | 6960 | EOF |
| 6093 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6961 | ac_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; } |
| 6095 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6963 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6096 | if test -z "$ac_err"; then | 6964 | if test -z "$ac_err"; then |
| 6097 | rm -rf conftest* | 6965 | rm -rf conftest* |
| @@ -6118,17 +6986,17 @@ for ac_hdr in kerberos/krb.h | |||
| 6118 | do | 6986 | do |
| 6119 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6987 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6120 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6988 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6121 | echo "configure:6122: checking for $ac_hdr" >&5 | 6989 | echo "configure:6990: checking for $ac_hdr" >&5 |
| 6122 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6990 | if 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 |
| 6124 | else | 6992 | else |
| 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> |
| 6129 | EOF | 6997 | EOF |
| 6130 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6998 | ac_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; } |
| 6132 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7000 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6133 | if test -z "$ac_err"; then | 7001 | if test -z "$ac_err"; then |
| 6134 | rm -rf conftest* | 7002 | rm -rf conftest* |
| @@ -6165,17 +7033,17 @@ done | |||
| 6165 | do | 7033 | do |
| 6166 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7034 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6167 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7035 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6168 | echo "configure:6169: checking for $ac_hdr" >&5 | 7036 | echo "configure:7037: checking for $ac_hdr" >&5 |
| 6169 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7037 | if 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 |
| 6171 | else | 7039 | else |
| 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> |
| 6176 | EOF | 7044 | EOF |
| 6177 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7045 | ac_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; } |
| 6179 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7047 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6180 | if test -z "$ac_err"; then | 7048 | if 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. |
| 6208 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 7076 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
| 6209 | echo "configure:6210: checking for dgettext in -lintl" >&5 | 7077 | echo "configure:7078: checking for dgettext in -lintl" >&5 |
| 6210 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 7078 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
| 6211 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7079 | if 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" |
| 6215 | LIBS="-lintl $LIBS" | 7083 | LIBS="-lintl $LIBS" |
| 6216 | cat > conftest.$ac_ext <<EOF | 7084 | cat > 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() { | |||
| 6225 | dgettext() | 7093 | dgettext() |
| 6226 | ; return 0; } | 7094 | ; return 0; } |
| 6227 | EOF | 7095 | EOF |
| 6228 | if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7096 | if { (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" |
| 6231 | else | 7099 | else |
| @@ -6254,7 +7122,7 @@ fi | |||
| 6254 | 7122 | ||
| 6255 | 7123 | ||
| 6256 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7124 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 6257 | echo "configure:6258: checking whether localtime caches TZ" >&5 | 7125 | echo "configure:7126: checking whether localtime caches TZ" >&5 |
| 6258 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 7126 | if 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 |
| 6260 | else | 7128 | else |
| @@ -6264,7 +7132,7 @@ if test "$cross_compiling" = yes; then | |||
| 6264 | emacs_cv_localtime_cache=yes | 7132 | emacs_cv_localtime_cache=yes |
| 6265 | else | 7133 | else |
| 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> |
| 6270 | extern char **environ; | 7138 | extern char **environ; |
| @@ -6296,7 +7164,7 @@ main() | |||
| 6296 | exit (0); | 7164 | exit (0); |
| 6297 | } | 7165 | } |
| 6298 | EOF | 7166 | EOF |
| 6299 | if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7167 | if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 6300 | then | 7168 | then |
| 6301 | emacs_cv_localtime_cache=no | 7169 | emacs_cv_localtime_cache=no |
| 6302 | else | 7170 | else |
| @@ -6324,12 +7192,12 @@ fi | |||
| 6324 | 7192 | ||
| 6325 | if test "x$HAVE_TIMEVAL" = xyes; then | 7193 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 6326 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 7194 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
| 6327 | echo "configure:6328: checking whether gettimeofday can accept two arguments" >&5 | 7195 | echo "configure:7196: checking whether gettimeofday can accept two arguments" >&5 |
| 6328 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 7196 | if 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 |
| 6330 | else | 7198 | else |
| 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; } |
| 6353 | EOF | 7221 | EOF |
| 6354 | if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7222 | if { (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 |
| 6357 | else | 7225 | else |
| @@ -6374,12 +7242,12 @@ fi | |||
| 6374 | 7242 | ||
| 6375 | ok_so_far=yes | 7243 | ok_so_far=yes |
| 6376 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 7244 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 6377 | echo "configure:6378: checking for socket" >&5 | 7245 | echo "configure:7246: checking for socket" >&5 |
| 6378 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 7246 | if 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 |
| 6380 | else | 7248 | else |
| 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; } |
| 6404 | EOF | 7272 | EOF |
| 6405 | if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7273 | if { (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" |
| 6408 | else | 7276 | else |
| @@ -6425,17 +7293,17 @@ fi | |||
| 6425 | if test $ok_so_far = yes; then | 7293 | if 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_%'` |
| 6427 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 7295 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 6428 | echo "configure:6429: checking for netinet/in.h" >&5 | 7296 | echo "configure:7297: checking for netinet/in.h" >&5 |
| 6429 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7297 | if 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 |
| 6431 | else | 7299 | else |
| 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> |
| 6436 | EOF | 7304 | EOF |
| 6437 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7305 | ac_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; } |
| 6439 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7307 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6440 | if test -z "$ac_err"; then | 7308 | if test -z "$ac_err"; then |
| 6441 | rm -rf conftest* | 7309 | rm -rf conftest* |
| @@ -6461,17 +7329,17 @@ fi | |||
| 6461 | if test $ok_so_far = yes; then | 7329 | if 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_%'` |
| 6463 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 7331 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 6464 | echo "configure:6465: checking for arpa/inet.h" >&5 | 7332 | echo "configure:7333: checking for arpa/inet.h" >&5 |
| 6465 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7333 | if 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 |
| 6467 | else | 7335 | else |
| 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> |
| 6472 | EOF | 7340 | EOF |
| 6473 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7341 | ac_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; } |
| 6475 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7343 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6476 | if test -z "$ac_err"; then | 7344 | if test -z "$ac_err"; then |
| 6477 | rm -rf conftest* | 7345 | rm -rf conftest* |
| @@ -6509,7 +7377,7 @@ EOF | |||
| 6509 | fi | 7377 | fi |
| 6510 | 7378 | ||
| 6511 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 7379 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
| 6512 | echo "configure:6513: checking whether system supports dynamic ptys" >&5 | 7380 | echo "configure:7381: checking whether system supports dynamic ptys" >&5 |
| 6513 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 7381 | if 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 | |||
| 6521 | fi | 7389 | fi |
| 6522 | 7390 | ||
| 6523 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 7391 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 6524 | echo "configure:6525: checking for pid_t" >&5 | 7392 | echo "configure:7393: checking for pid_t" >&5 |
| 6525 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 7393 | if 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 |
| 6527 | else | 7395 | else |
| 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 | ||
| 6556 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7424 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 6557 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7425 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 6558 | echo "configure:6559: checking for vfork.h" >&5 | 7426 | echo "configure:7427: checking for vfork.h" >&5 |
| 6559 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7427 | if 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 |
| 6561 | else | 7429 | else |
| 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> |
| 6566 | EOF | 7434 | EOF |
| 6567 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7435 | ac_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; } |
| 6569 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7437 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6570 | if test -z "$ac_err"; then | 7438 | if test -z "$ac_err"; then |
| 6571 | rm -rf conftest* | 7439 | rm -rf conftest* |
| @@ -6590,18 +7458,18 @@ else | |||
| 6590 | fi | 7458 | fi |
| 6591 | 7459 | ||
| 6592 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7460 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 6593 | echo "configure:6594: checking for working vfork" >&5 | 7461 | echo "configure:7462: checking for working vfork" >&5 |
| 6594 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 7462 | if 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 |
| 6596 | else | 7464 | else |
| 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 |
| 6599 | echo "configure:6600: checking for vfork" >&5 | 7467 | echo "configure:7468: checking for vfork" >&5 |
| 6600 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 7468 | if 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 |
| 6602 | else | 7470 | else |
| 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; } |
| 6626 | EOF | 7494 | EOF |
| 6627 | if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7495 | if { (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" |
| 6630 | else | 7498 | else |
| @@ -6646,7 +7514,7 @@ fi | |||
| 6646 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 7514 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 6647 | else | 7515 | else |
| 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 | } |
| 6743 | EOF | 7611 | EOF |
| 6744 | if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7612 | if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 6745 | then | 7613 | then |
| 6746 | ac_cv_func_vfork_works=yes | 7614 | ac_cv_func_vfork_works=yes |
| 6747 | else | 7615 | else |
| @@ -7072,6 +7940,9 @@ s%@RANLIB@%$RANLIB%g | |||
| 7072 | s%@SET_MAKE@%$SET_MAKE%g | 7940 | s%@SET_MAKE@%$SET_MAKE%g |
| 7073 | s%@ALLOCA@%$ALLOCA%g | 7941 | s%@ALLOCA@%$ALLOCA%g |
| 7074 | s%@liblockfile@%$liblockfile%g | 7942 | s%@liblockfile@%$liblockfile%g |
| 7943 | s%@LIBOBJS@%$LIBOBJS%g | ||
| 7944 | s%@NEED_SETGID@%$NEED_SETGID%g | ||
| 7945 | s%@KMEM_GROUP@%$KMEM_GROUP%g | ||
| 7075 | s%@version@%$version%g | 7946 | s%@version@%$version%g |
| 7076 | s%@configuration@%$configuration%g | 7947 | s%@configuration@%$configuration%g |
| 7077 | s%@canonical@%$canonical%g | 7948 | s%@canonical@%$canonical%g |