Mercurial > emacs
comparison configure @ 30140:a567b99dd7d3
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 10 Jul 2000 20:38:23 +0000 |
parents | fbb3614484f9 |
children | 65d8fb2ca198 |
comparison
equal
deleted
inserted
replaced
30139:1311deba5ed3 | 30140:a567b99dd7d3 |
---|---|
4593 fi | 4593 fi |
4594 rm -f conftest* | 4594 rm -f conftest* |
4595 fi | 4595 fi |
4596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4597 echo "$ac_t""yes" 1>&6 | 4597 echo "$ac_t""yes" 1>&6 |
4598 echo $ac_n "checking for XpmReturnAllocPixels in -lXpm""... $ac_c" 1>&6 | 4598 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4599 echo "configure:4600: checking for XpmReturnAllocPixels in -lXpm" >&5 | 4599 echo "configure:4600: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4600 ac_lib_var=`echo Xpm'_'XpmReturnAllocPixels | sed 'y%./+-%__p_%'` | 4600 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4601 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4601 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4602 echo $ac_n "(cached) $ac_c" 1>&6 | 4602 echo $ac_n "(cached) $ac_c" 1>&6 |
4603 else | 4603 else |
4604 ac_save_LIBS="$LIBS" | 4604 ac_save_LIBS="$LIBS" |
4605 LIBS="-lXpm -lX11 $LIBS" | 4605 LIBS="-lXpm -lX11 $LIBS" |
4607 #line 4608 "configure" | 4607 #line 4608 "configure" |
4608 #include "confdefs.h" | 4608 #include "confdefs.h" |
4609 /* Override any gcc2 internal prototype to avoid an error. */ | 4609 /* Override any gcc2 internal prototype to avoid an error. */ |
4610 /* We use char because int might match the return type of a gcc2 | 4610 /* We use char because int might match the return type of a gcc2 |
4611 builtin and then its argument prototype would still apply. */ | 4611 builtin and then its argument prototype would still apply. */ |
4612 char XpmReturnAllocPixels(); | 4612 char XpmReadFileToPixmap(); |
4613 | 4613 |
4614 int main() { | 4614 int main() { |
4615 XpmReturnAllocPixels() | 4615 XpmReadFileToPixmap() |
4616 ; return 0; } | 4616 ; return 0; } |
4617 EOF | 4617 EOF |
4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4619 rm -rf conftest* | 4619 rm -rf conftest* |
4620 eval "ac_cv_lib_$ac_lib_var=yes" | 4620 eval "ac_cv_lib_$ac_lib_var=yes" |
4637 | 4637 |
4638 else | 4638 else |
4639 echo "$ac_t""no" 1>&6 | 4639 echo "$ac_t""no" 1>&6 |
4640 fi | 4640 fi |
4641 | 4641 |
4642 if test "${HAVE_XPM}" = "yes"; then | |
4643 cat > conftest.$ac_ext <<EOF | |
4644 #line 4645 "configure" | |
4645 #include "confdefs.h" | |
4646 #include "X11/xpm.h" | |
4647 #ifndef XpmReturnAllocPixels | |
4648 no_return_alloc_pixels | |
4649 #endif | |
4650 | |
4651 EOF | |
4652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4653 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then | |
4654 rm -rf conftest* | |
4655 HAVE_XPM=no | |
4656 else | |
4657 rm -rf conftest* | |
4658 HAVE_XPM=yes | |
4659 fi | |
4660 rm -f conftest* | |
4661 | |
4662 fi | |
4642 CFLAGS="${old_c_flags}" | 4663 CFLAGS="${old_c_flags}" |
4643 fi | 4664 fi |
4644 | 4665 |
4645 if test "${HAVE_XPM}" = "yes"; then | 4666 if test "${HAVE_XPM}" = "yes"; then |
4646 cat >> confdefs.h <<\EOF | 4667 cat >> confdefs.h <<\EOF |
4656 if test "${with_jpeg}" != "no"; then | 4677 if test "${with_jpeg}" != "no"; then |
4657 old_c_flags="${CFLAGS}" | 4678 old_c_flags="${CFLAGS}" |
4658 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4679 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4659 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4680 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4660 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4681 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4661 echo "configure:4662: checking for jerror.h" >&5 | 4682 echo "configure:4683: checking for jerror.h" >&5 |
4662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4663 echo $ac_n "(cached) $ac_c" 1>&6 | 4684 echo $ac_n "(cached) $ac_c" 1>&6 |
4664 else | 4685 else |
4665 cat > conftest.$ac_ext <<EOF | 4686 cat > conftest.$ac_ext <<EOF |
4666 #line 4667 "configure" | 4687 #line 4688 "configure" |
4667 #include "confdefs.h" | 4688 #include "confdefs.h" |
4668 #include <jerror.h> | 4689 #include <jerror.h> |
4669 EOF | 4690 EOF |
4670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4671 { (eval echo configure:4672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4692 { (eval echo configure:4693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4673 if test -z "$ac_err"; then | 4694 if test -z "$ac_err"; then |
4674 rm -rf conftest* | 4695 rm -rf conftest* |
4675 eval "ac_cv_header_$ac_safe=yes" | 4696 eval "ac_cv_header_$ac_safe=yes" |
4676 else | 4697 else |
4683 rm -f conftest* | 4704 rm -f conftest* |
4684 fi | 4705 fi |
4685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4686 echo "$ac_t""yes" 1>&6 | 4707 echo "$ac_t""yes" 1>&6 |
4687 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4708 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4688 echo "configure:4689: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4709 echo "configure:4710: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4689 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4710 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4691 echo $ac_n "(cached) $ac_c" 1>&6 | 4712 echo $ac_n "(cached) $ac_c" 1>&6 |
4692 else | 4713 else |
4693 ac_save_LIBS="$LIBS" | 4714 ac_save_LIBS="$LIBS" |
4694 LIBS="-ljpeg -lX11 $LIBS" | 4715 LIBS="-ljpeg -lX11 $LIBS" |
4695 cat > conftest.$ac_ext <<EOF | 4716 cat > conftest.$ac_ext <<EOF |
4696 #line 4697 "configure" | 4717 #line 4718 "configure" |
4697 #include "confdefs.h" | 4718 #include "confdefs.h" |
4698 /* Override any gcc2 internal prototype to avoid an error. */ | 4719 /* Override any gcc2 internal prototype to avoid an error. */ |
4699 /* We use char because int might match the return type of a gcc2 | 4720 /* We use char because int might match the return type of a gcc2 |
4700 builtin and then its argument prototype would still apply. */ | 4721 builtin and then its argument prototype would still apply. */ |
4701 char jpeg_destroy_compress(); | 4722 char jpeg_destroy_compress(); |
4702 | 4723 |
4703 int main() { | 4724 int main() { |
4704 jpeg_destroy_compress() | 4725 jpeg_destroy_compress() |
4705 ; return 0; } | 4726 ; return 0; } |
4706 EOF | 4727 EOF |
4707 if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4708 rm -rf conftest* | 4729 rm -rf conftest* |
4709 eval "ac_cv_lib_$ac_lib_var=yes" | 4730 eval "ac_cv_lib_$ac_lib_var=yes" |
4710 else | 4731 else |
4711 echo "configure: failed program was:" >&5 | 4732 echo "configure: failed program was:" >&5 |
4712 cat conftest.$ac_ext >&5 | 4733 cat conftest.$ac_ext >&5 |
4745 if test "${with_png}" != "no"; then | 4766 if test "${with_png}" != "no"; then |
4746 old_c_flags="${CFLAGS}" | 4767 old_c_flags="${CFLAGS}" |
4747 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4768 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4748 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4769 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4749 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4770 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4750 echo "configure:4751: checking for png.h" >&5 | 4771 echo "configure:4772: checking for png.h" >&5 |
4751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4752 echo $ac_n "(cached) $ac_c" 1>&6 | 4773 echo $ac_n "(cached) $ac_c" 1>&6 |
4753 else | 4774 else |
4754 cat > conftest.$ac_ext <<EOF | 4775 cat > conftest.$ac_ext <<EOF |
4755 #line 4756 "configure" | 4776 #line 4777 "configure" |
4756 #include "confdefs.h" | 4777 #include "confdefs.h" |
4757 #include <png.h> | 4778 #include <png.h> |
4758 EOF | 4779 EOF |
4759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4760 { (eval echo configure:4761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4781 { (eval echo configure:4782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4762 if test -z "$ac_err"; then | 4783 if test -z "$ac_err"; then |
4763 rm -rf conftest* | 4784 rm -rf conftest* |
4764 eval "ac_cv_header_$ac_safe=yes" | 4785 eval "ac_cv_header_$ac_safe=yes" |
4765 else | 4786 else |
4772 rm -f conftest* | 4793 rm -f conftest* |
4773 fi | 4794 fi |
4774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4775 echo "$ac_t""yes" 1>&6 | 4796 echo "$ac_t""yes" 1>&6 |
4776 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4797 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4777 echo "configure:4778: checking for png_set_expand in -lpng" >&5 | 4798 echo "configure:4799: checking for png_set_expand in -lpng" >&5 |
4778 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4799 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4800 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4780 echo $ac_n "(cached) $ac_c" 1>&6 | 4801 echo $ac_n "(cached) $ac_c" 1>&6 |
4781 else | 4802 else |
4782 ac_save_LIBS="$LIBS" | 4803 ac_save_LIBS="$LIBS" |
4783 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4804 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4784 cat > conftest.$ac_ext <<EOF | 4805 cat > conftest.$ac_ext <<EOF |
4785 #line 4786 "configure" | 4806 #line 4807 "configure" |
4786 #include "confdefs.h" | 4807 #include "confdefs.h" |
4787 /* Override any gcc2 internal prototype to avoid an error. */ | 4808 /* Override any gcc2 internal prototype to avoid an error. */ |
4788 /* We use char because int might match the return type of a gcc2 | 4809 /* We use char because int might match the return type of a gcc2 |
4789 builtin and then its argument prototype would still apply. */ | 4810 builtin and then its argument prototype would still apply. */ |
4790 char png_set_expand(); | 4811 char png_set_expand(); |
4791 | 4812 |
4792 int main() { | 4813 int main() { |
4793 png_set_expand() | 4814 png_set_expand() |
4794 ; return 0; } | 4815 ; return 0; } |
4795 EOF | 4816 EOF |
4796 if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4797 rm -rf conftest* | 4818 rm -rf conftest* |
4798 eval "ac_cv_lib_$ac_lib_var=yes" | 4819 eval "ac_cv_lib_$ac_lib_var=yes" |
4799 else | 4820 else |
4800 echo "configure: failed program was:" >&5 | 4821 echo "configure: failed program was:" >&5 |
4801 cat conftest.$ac_ext >&5 | 4822 cat conftest.$ac_ext >&5 |
4834 if test "${with_tiff}" != "no"; then | 4855 if test "${with_tiff}" != "no"; then |
4835 old_c_flags="${CFLAGS}" | 4856 old_c_flags="${CFLAGS}" |
4836 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4857 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4837 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4858 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4838 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4859 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4839 echo "configure:4840: checking for tiffio.h" >&5 | 4860 echo "configure:4861: checking for tiffio.h" >&5 |
4840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4841 echo $ac_n "(cached) $ac_c" 1>&6 | 4862 echo $ac_n "(cached) $ac_c" 1>&6 |
4842 else | 4863 else |
4843 cat > conftest.$ac_ext <<EOF | 4864 cat > conftest.$ac_ext <<EOF |
4844 #line 4845 "configure" | 4865 #line 4866 "configure" |
4845 #include "confdefs.h" | 4866 #include "confdefs.h" |
4846 #include <tiffio.h> | 4867 #include <tiffio.h> |
4847 EOF | 4868 EOF |
4848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4849 { (eval echo configure:4850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4870 { (eval echo configure:4871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4851 if test -z "$ac_err"; then | 4872 if test -z "$ac_err"; then |
4852 rm -rf conftest* | 4873 rm -rf conftest* |
4853 eval "ac_cv_header_$ac_safe=yes" | 4874 eval "ac_cv_header_$ac_safe=yes" |
4854 else | 4875 else |
4864 echo "$ac_t""yes" 1>&6 | 4885 echo "$ac_t""yes" 1>&6 |
4865 tifflibs="-lX11 -lz -lm" | 4886 tifflibs="-lX11 -lz -lm" |
4866 # At least one tiff package requires the jpeg library. | 4887 # At least one tiff package requires the jpeg library. |
4867 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4888 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4868 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4889 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4869 echo "configure:4870: checking for TIFFGetVersion in -ltiff" >&5 | 4890 echo "configure:4891: checking for TIFFGetVersion in -ltiff" >&5 |
4870 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4891 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4872 echo $ac_n "(cached) $ac_c" 1>&6 | 4893 echo $ac_n "(cached) $ac_c" 1>&6 |
4873 else | 4894 else |
4874 ac_save_LIBS="$LIBS" | 4895 ac_save_LIBS="$LIBS" |
4875 LIBS="-ltiff $tifflibs $LIBS" | 4896 LIBS="-ltiff $tifflibs $LIBS" |
4876 cat > conftest.$ac_ext <<EOF | 4897 cat > conftest.$ac_ext <<EOF |
4877 #line 4878 "configure" | 4898 #line 4899 "configure" |
4878 #include "confdefs.h" | 4899 #include "confdefs.h" |
4879 /* Override any gcc2 internal prototype to avoid an error. */ | 4900 /* Override any gcc2 internal prototype to avoid an error. */ |
4880 /* We use char because int might match the return type of a gcc2 | 4901 /* We use char because int might match the return type of a gcc2 |
4881 builtin and then its argument prototype would still apply. */ | 4902 builtin and then its argument prototype would still apply. */ |
4882 char TIFFGetVersion(); | 4903 char TIFFGetVersion(); |
4883 | 4904 |
4884 int main() { | 4905 int main() { |
4885 TIFFGetVersion() | 4906 TIFFGetVersion() |
4886 ; return 0; } | 4907 ; return 0; } |
4887 EOF | 4908 EOF |
4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4889 rm -rf conftest* | 4910 rm -rf conftest* |
4890 eval "ac_cv_lib_$ac_lib_var=yes" | 4911 eval "ac_cv_lib_$ac_lib_var=yes" |
4891 else | 4912 else |
4892 echo "configure: failed program was:" >&5 | 4913 echo "configure: failed program was:" >&5 |
4893 cat conftest.$ac_ext >&5 | 4914 cat conftest.$ac_ext >&5 |
4926 if test "${with_gif}" != "no"; then | 4947 if test "${with_gif}" != "no"; then |
4927 old_c_flags="${CFLAGS}" | 4948 old_c_flags="${CFLAGS}" |
4928 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4949 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4929 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4950 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4930 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4951 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4931 echo "configure:4932: checking for gif_lib.h" >&5 | 4952 echo "configure:4953: checking for gif_lib.h" >&5 |
4932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4953 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4933 echo $ac_n "(cached) $ac_c" 1>&6 | 4954 echo $ac_n "(cached) $ac_c" 1>&6 |
4934 else | 4955 else |
4935 cat > conftest.$ac_ext <<EOF | 4956 cat > conftest.$ac_ext <<EOF |
4936 #line 4937 "configure" | 4957 #line 4958 "configure" |
4937 #include "confdefs.h" | 4958 #include "confdefs.h" |
4938 #include <gif_lib.h> | 4959 #include <gif_lib.h> |
4939 EOF | 4960 EOF |
4940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4941 { (eval echo configure:4942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4962 { (eval echo configure:4963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4943 if test -z "$ac_err"; then | 4964 if test -z "$ac_err"; then |
4944 rm -rf conftest* | 4965 rm -rf conftest* |
4945 eval "ac_cv_header_$ac_safe=yes" | 4966 eval "ac_cv_header_$ac_safe=yes" |
4946 else | 4967 else |
4953 rm -f conftest* | 4974 rm -f conftest* |
4954 fi | 4975 fi |
4955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4976 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4956 echo "$ac_t""yes" 1>&6 | 4977 echo "$ac_t""yes" 1>&6 |
4957 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4978 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4958 echo "configure:4959: checking for DGifOpen in -lungif" >&5 | 4979 echo "configure:4980: checking for DGifOpen in -lungif" >&5 |
4959 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4980 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4961 echo $ac_n "(cached) $ac_c" 1>&6 | 4982 echo $ac_n "(cached) $ac_c" 1>&6 |
4962 else | 4983 else |
4963 ac_save_LIBS="$LIBS" | 4984 ac_save_LIBS="$LIBS" |
4964 LIBS="-lungif -lX11 $LIBS" | 4985 LIBS="-lungif -lX11 $LIBS" |
4965 cat > conftest.$ac_ext <<EOF | 4986 cat > conftest.$ac_ext <<EOF |
4966 #line 4967 "configure" | 4987 #line 4988 "configure" |
4967 #include "confdefs.h" | 4988 #include "confdefs.h" |
4968 /* Override any gcc2 internal prototype to avoid an error. */ | 4989 /* Override any gcc2 internal prototype to avoid an error. */ |
4969 /* We use char because int might match the return type of a gcc2 | 4990 /* We use char because int might match the return type of a gcc2 |
4970 builtin and then its argument prototype would still apply. */ | 4991 builtin and then its argument prototype would still apply. */ |
4971 char DGifOpen(); | 4992 char DGifOpen(); |
4972 | 4993 |
4973 int main() { | 4994 int main() { |
4974 DGifOpen() | 4995 DGifOpen() |
4975 ; return 0; } | 4996 ; return 0; } |
4976 EOF | 4997 EOF |
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4998 if { (eval echo configure:4999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4978 rm -rf conftest* | 4999 rm -rf conftest* |
4979 eval "ac_cv_lib_$ac_lib_var=yes" | 5000 eval "ac_cv_lib_$ac_lib_var=yes" |
4980 else | 5001 else |
4981 echo "configure: failed program was:" >&5 | 5002 echo "configure: failed program was:" >&5 |
4982 cat conftest.$ac_ext >&5 | 5003 cat conftest.$ac_ext >&5 |
5009 fi | 5030 fi |
5010 fi | 5031 fi |
5011 | 5032 |
5012 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5033 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
5013 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5034 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
5014 echo "configure:5015: checking whether netdb declares h_errno" >&5 | 5035 echo "configure:5036: checking whether netdb declares h_errno" >&5 |
5015 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5036 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
5016 echo $ac_n "(cached) $ac_c" 1>&6 | 5037 echo $ac_n "(cached) $ac_c" 1>&6 |
5017 else | 5038 else |
5018 cat > conftest.$ac_ext <<EOF | 5039 cat > conftest.$ac_ext <<EOF |
5019 #line 5020 "configure" | 5040 #line 5041 "configure" |
5020 #include "confdefs.h" | 5041 #include "confdefs.h" |
5021 #include <netdb.h> | 5042 #include <netdb.h> |
5022 int main() { | 5043 int main() { |
5023 return h_errno; | 5044 return h_errno; |
5024 ; return 0; } | 5045 ; return 0; } |
5025 EOF | 5046 EOF |
5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5047 if { (eval echo configure:5048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5027 rm -rf conftest* | 5048 rm -rf conftest* |
5028 emacs_cv_netdb_declares_h_errno=yes | 5049 emacs_cv_netdb_declares_h_errno=yes |
5029 else | 5050 else |
5030 echo "configure: failed program was:" >&5 | 5051 echo "configure: failed program was:" >&5 |
5031 cat conftest.$ac_ext >&5 | 5052 cat conftest.$ac_ext >&5 |
5044 fi | 5065 fi |
5045 | 5066 |
5046 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5067 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
5047 # for constant arguments. Useless! | 5068 # for constant arguments. Useless! |
5048 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5069 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
5049 echo "configure:5050: checking for working alloca.h" >&5 | 5070 echo "configure:5071: checking for working alloca.h" >&5 |
5050 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5071 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
5051 echo $ac_n "(cached) $ac_c" 1>&6 | 5072 echo $ac_n "(cached) $ac_c" 1>&6 |
5052 else | 5073 else |
5053 cat > conftest.$ac_ext <<EOF | 5074 cat > conftest.$ac_ext <<EOF |
5054 #line 5055 "configure" | 5075 #line 5076 "configure" |
5055 #include "confdefs.h" | 5076 #include "confdefs.h" |
5056 #include <alloca.h> | 5077 #include <alloca.h> |
5057 int main() { | 5078 int main() { |
5058 char *p = alloca(2 * sizeof(int)); | 5079 char *p = alloca(2 * sizeof(int)); |
5059 ; return 0; } | 5080 ; return 0; } |
5060 EOF | 5081 EOF |
5061 if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5082 if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5062 rm -rf conftest* | 5083 rm -rf conftest* |
5063 ac_cv_header_alloca_h=yes | 5084 ac_cv_header_alloca_h=yes |
5064 else | 5085 else |
5065 echo "configure: failed program was:" >&5 | 5086 echo "configure: failed program was:" >&5 |
5066 cat conftest.$ac_ext >&5 | 5087 cat conftest.$ac_ext >&5 |
5077 EOF | 5098 EOF |
5078 | 5099 |
5079 fi | 5100 fi |
5080 | 5101 |
5081 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5102 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
5082 echo "configure:5083: checking for alloca" >&5 | 5103 echo "configure:5104: checking for alloca" >&5 |
5083 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5104 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
5084 echo $ac_n "(cached) $ac_c" 1>&6 | 5105 echo $ac_n "(cached) $ac_c" 1>&6 |
5085 else | 5106 else |
5086 cat > conftest.$ac_ext <<EOF | 5107 cat > conftest.$ac_ext <<EOF |
5087 #line 5088 "configure" | 5108 #line 5109 "configure" |
5088 #include "confdefs.h" | 5109 #include "confdefs.h" |
5089 | 5110 |
5090 #ifdef __GNUC__ | 5111 #ifdef __GNUC__ |
5091 # define alloca __builtin_alloca | 5112 # define alloca __builtin_alloca |
5092 #else | 5113 #else |
5110 | 5131 |
5111 int main() { | 5132 int main() { |
5112 char *p = (char *) alloca(1); | 5133 char *p = (char *) alloca(1); |
5113 ; return 0; } | 5134 ; return 0; } |
5114 EOF | 5135 EOF |
5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5116 rm -rf conftest* | 5137 rm -rf conftest* |
5117 ac_cv_func_alloca_works=yes | 5138 ac_cv_func_alloca_works=yes |
5118 else | 5139 else |
5119 echo "configure: failed program was:" >&5 | 5140 echo "configure: failed program was:" >&5 |
5120 cat conftest.$ac_ext >&5 | 5141 cat conftest.$ac_ext >&5 |
5142 #define C_ALLOCA 1 | 5163 #define C_ALLOCA 1 |
5143 EOF | 5164 EOF |
5144 | 5165 |
5145 | 5166 |
5146 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5167 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5147 echo "configure:5148: checking whether alloca needs Cray hooks" >&5 | 5168 echo "configure:5169: checking whether alloca needs Cray hooks" >&5 |
5148 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5169 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5149 echo $ac_n "(cached) $ac_c" 1>&6 | 5170 echo $ac_n "(cached) $ac_c" 1>&6 |
5150 else | 5171 else |
5151 cat > conftest.$ac_ext <<EOF | 5172 cat > conftest.$ac_ext <<EOF |
5152 #line 5153 "configure" | 5173 #line 5174 "configure" |
5153 #include "confdefs.h" | 5174 #include "confdefs.h" |
5154 #if defined(CRAY) && ! defined(CRAY2) | 5175 #if defined(CRAY) && ! defined(CRAY2) |
5155 webecray | 5176 webecray |
5156 #else | 5177 #else |
5157 wenotbecray | 5178 wenotbecray |
5172 | 5193 |
5173 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5194 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5174 if test $ac_cv_os_cray = yes; then | 5195 if test $ac_cv_os_cray = yes; then |
5175 for ac_func in _getb67 GETB67 getb67; do | 5196 for ac_func in _getb67 GETB67 getb67; do |
5176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5177 echo "configure:5178: checking for $ac_func" >&5 | 5198 echo "configure:5199: checking for $ac_func" >&5 |
5178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5179 echo $ac_n "(cached) $ac_c" 1>&6 | 5200 echo $ac_n "(cached) $ac_c" 1>&6 |
5180 else | 5201 else |
5181 cat > conftest.$ac_ext <<EOF | 5202 cat > conftest.$ac_ext <<EOF |
5182 #line 5183 "configure" | 5203 #line 5204 "configure" |
5183 #include "confdefs.h" | 5204 #include "confdefs.h" |
5184 /* System header to define __stub macros and hopefully few prototypes, | 5205 /* System header to define __stub macros and hopefully few prototypes, |
5185 which can conflict with char $ac_func(); below. */ | 5206 which can conflict with char $ac_func(); below. */ |
5186 #include <assert.h> | 5207 #include <assert.h> |
5187 /* Override any gcc2 internal prototype to avoid an error. */ | 5208 /* Override any gcc2 internal prototype to avoid an error. */ |
5200 $ac_func(); | 5221 $ac_func(); |
5201 #endif | 5222 #endif |
5202 | 5223 |
5203 ; return 0; } | 5224 ; return 0; } |
5204 EOF | 5225 EOF |
5205 if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5226 if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5206 rm -rf conftest* | 5227 rm -rf conftest* |
5207 eval "ac_cv_func_$ac_func=yes" | 5228 eval "ac_cv_func_$ac_func=yes" |
5208 else | 5229 else |
5209 echo "configure: failed program was:" >&5 | 5230 echo "configure: failed program was:" >&5 |
5210 cat conftest.$ac_ext >&5 | 5231 cat conftest.$ac_ext >&5 |
5227 | 5248 |
5228 done | 5249 done |
5229 fi | 5250 fi |
5230 | 5251 |
5231 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5252 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5232 echo "configure:5233: checking stack direction for C alloca" >&5 | 5253 echo "configure:5254: checking stack direction for C alloca" >&5 |
5233 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5254 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5234 echo $ac_n "(cached) $ac_c" 1>&6 | 5255 echo $ac_n "(cached) $ac_c" 1>&6 |
5235 else | 5256 else |
5236 if test "$cross_compiling" = yes; then | 5257 if test "$cross_compiling" = yes; then |
5237 ac_cv_c_stack_direction=0 | 5258 ac_cv_c_stack_direction=0 |
5238 else | 5259 else |
5239 cat > conftest.$ac_ext <<EOF | 5260 cat > conftest.$ac_ext <<EOF |
5240 #line 5241 "configure" | 5261 #line 5262 "configure" |
5241 #include "confdefs.h" | 5262 #include "confdefs.h" |
5242 find_stack_direction () | 5263 find_stack_direction () |
5243 { | 5264 { |
5244 static char *addr = 0; | 5265 static char *addr = 0; |
5245 auto char dummy; | 5266 auto char dummy; |
5254 main () | 5275 main () |
5255 { | 5276 { |
5256 exit (find_stack_direction() < 0); | 5277 exit (find_stack_direction() < 0); |
5257 } | 5278 } |
5258 EOF | 5279 EOF |
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5280 if { (eval echo configure:5281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5260 then | 5281 then |
5261 ac_cv_c_stack_direction=1 | 5282 ac_cv_c_stack_direction=1 |
5262 else | 5283 else |
5263 echo "configure: failed program was:" >&5 | 5284 echo "configure: failed program was:" >&5 |
5264 cat conftest.$ac_ext >&5 | 5285 cat conftest.$ac_ext >&5 |
5279 | 5300 |
5280 | 5301 |
5281 # fmod, logb, and frexp are found in -lm on most systems. | 5302 # fmod, logb, and frexp are found in -lm on most systems. |
5282 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5303 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5283 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5304 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5284 echo "configure:5285: checking for sqrt in -lm" >&5 | 5305 echo "configure:5306: checking for sqrt in -lm" >&5 |
5285 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5306 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5287 echo $ac_n "(cached) $ac_c" 1>&6 | 5308 echo $ac_n "(cached) $ac_c" 1>&6 |
5288 else | 5309 else |
5289 ac_save_LIBS="$LIBS" | 5310 ac_save_LIBS="$LIBS" |
5290 LIBS="-lm $LIBS" | 5311 LIBS="-lm $LIBS" |
5291 cat > conftest.$ac_ext <<EOF | 5312 cat > conftest.$ac_ext <<EOF |
5292 #line 5293 "configure" | 5313 #line 5314 "configure" |
5293 #include "confdefs.h" | 5314 #include "confdefs.h" |
5294 /* Override any gcc2 internal prototype to avoid an error. */ | 5315 /* Override any gcc2 internal prototype to avoid an error. */ |
5295 /* We use char because int might match the return type of a gcc2 | 5316 /* We use char because int might match the return type of a gcc2 |
5296 builtin and then its argument prototype would still apply. */ | 5317 builtin and then its argument prototype would still apply. */ |
5297 char sqrt(); | 5318 char sqrt(); |
5298 | 5319 |
5299 int main() { | 5320 int main() { |
5300 sqrt() | 5321 sqrt() |
5301 ; return 0; } | 5322 ; return 0; } |
5302 EOF | 5323 EOF |
5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5324 if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5304 rm -rf conftest* | 5325 rm -rf conftest* |
5305 eval "ac_cv_lib_$ac_lib_var=yes" | 5326 eval "ac_cv_lib_$ac_lib_var=yes" |
5306 else | 5327 else |
5307 echo "configure: failed program was:" >&5 | 5328 echo "configure: failed program was:" >&5 |
5308 cat conftest.$ac_ext >&5 | 5329 cat conftest.$ac_ext >&5 |
5328 fi | 5349 fi |
5329 | 5350 |
5330 | 5351 |
5331 # Check for mail-locking functions in a "mail" library | 5352 # Check for mail-locking functions in a "mail" library |
5332 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5353 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5333 echo "configure:5334: checking for maillock in -lmail" >&5 | 5354 echo "configure:5355: checking for maillock in -lmail" >&5 |
5334 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5355 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5335 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5336 echo $ac_n "(cached) $ac_c" 1>&6 | 5357 echo $ac_n "(cached) $ac_c" 1>&6 |
5337 else | 5358 else |
5338 ac_save_LIBS="$LIBS" | 5359 ac_save_LIBS="$LIBS" |
5339 LIBS="-lmail $LIBS" | 5360 LIBS="-lmail $LIBS" |
5340 cat > conftest.$ac_ext <<EOF | 5361 cat > conftest.$ac_ext <<EOF |
5341 #line 5342 "configure" | 5362 #line 5363 "configure" |
5342 #include "confdefs.h" | 5363 #include "confdefs.h" |
5343 /* Override any gcc2 internal prototype to avoid an error. */ | 5364 /* Override any gcc2 internal prototype to avoid an error. */ |
5344 /* We use char because int might match the return type of a gcc2 | 5365 /* We use char because int might match the return type of a gcc2 |
5345 builtin and then its argument prototype would still apply. */ | 5366 builtin and then its argument prototype would still apply. */ |
5346 char maillock(); | 5367 char maillock(); |
5347 | 5368 |
5348 int main() { | 5369 int main() { |
5349 maillock() | 5370 maillock() |
5350 ; return 0; } | 5371 ; return 0; } |
5351 EOF | 5372 EOF |
5352 if { (eval echo configure:5353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5373 if { (eval echo configure:5374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5353 rm -rf conftest* | 5374 rm -rf conftest* |
5354 eval "ac_cv_lib_$ac_lib_var=yes" | 5375 eval "ac_cv_lib_$ac_lib_var=yes" |
5355 else | 5376 else |
5356 echo "configure: failed program was:" >&5 | 5377 echo "configure: failed program was:" >&5 |
5357 cat conftest.$ac_ext >&5 | 5378 cat conftest.$ac_ext >&5 |
5375 else | 5396 else |
5376 echo "$ac_t""no" 1>&6 | 5397 echo "$ac_t""no" 1>&6 |
5377 fi | 5398 fi |
5378 | 5399 |
5379 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5400 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5380 echo "configure:5381: checking for maillock in -llockfile" >&5 | 5401 echo "configure:5402: checking for maillock in -llockfile" >&5 |
5381 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5402 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5382 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5383 echo $ac_n "(cached) $ac_c" 1>&6 | 5404 echo $ac_n "(cached) $ac_c" 1>&6 |
5384 else | 5405 else |
5385 ac_save_LIBS="$LIBS" | 5406 ac_save_LIBS="$LIBS" |
5386 LIBS="-llockfile $LIBS" | 5407 LIBS="-llockfile $LIBS" |
5387 cat > conftest.$ac_ext <<EOF | 5408 cat > conftest.$ac_ext <<EOF |
5388 #line 5389 "configure" | 5409 #line 5410 "configure" |
5389 #include "confdefs.h" | 5410 #include "confdefs.h" |
5390 /* Override any gcc2 internal prototype to avoid an error. */ | 5411 /* Override any gcc2 internal prototype to avoid an error. */ |
5391 /* We use char because int might match the return type of a gcc2 | 5412 /* We use char because int might match the return type of a gcc2 |
5392 builtin and then its argument prototype would still apply. */ | 5413 builtin and then its argument prototype would still apply. */ |
5393 char maillock(); | 5414 char maillock(); |
5394 | 5415 |
5395 int main() { | 5416 int main() { |
5396 maillock() | 5417 maillock() |
5397 ; return 0; } | 5418 ; return 0; } |
5398 EOF | 5419 EOF |
5399 if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5400 rm -rf conftest* | 5421 rm -rf conftest* |
5401 eval "ac_cv_lib_$ac_lib_var=yes" | 5422 eval "ac_cv_lib_$ac_lib_var=yes" |
5402 else | 5423 else |
5403 echo "configure: failed program was:" >&5 | 5424 echo "configure: failed program was:" >&5 |
5404 cat conftest.$ac_ext >&5 | 5425 cat conftest.$ac_ext >&5 |
5428 # (no liblockfile.a installed), ensure that we don't need to. | 5449 # (no liblockfile.a installed), ensure that we don't need to. |
5429 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5450 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5430 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5451 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5431 set dummy liblockfile.so; ac_word=$2 | 5452 set dummy liblockfile.so; ac_word=$2 |
5432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5433 echo "configure:5434: checking for $ac_word" >&5 | 5454 echo "configure:5455: checking for $ac_word" >&5 |
5434 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5455 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5435 echo $ac_n "(cached) $ac_c" 1>&6 | 5456 echo $ac_n "(cached) $ac_c" 1>&6 |
5436 else | 5457 else |
5437 if test -n "$liblockfile"; then | 5458 if test -n "$liblockfile"; then |
5438 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5459 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5469 else : | 5490 else : |
5470 fi | 5491 fi |
5471 for ac_func in touchlock | 5492 for ac_func in touchlock |
5472 do | 5493 do |
5473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5474 echo "configure:5475: checking for $ac_func" >&5 | 5495 echo "configure:5496: checking for $ac_func" >&5 |
5475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5476 echo $ac_n "(cached) $ac_c" 1>&6 | 5497 echo $ac_n "(cached) $ac_c" 1>&6 |
5477 else | 5498 else |
5478 cat > conftest.$ac_ext <<EOF | 5499 cat > conftest.$ac_ext <<EOF |
5479 #line 5480 "configure" | 5500 #line 5501 "configure" |
5480 #include "confdefs.h" | 5501 #include "confdefs.h" |
5481 /* System header to define __stub macros and hopefully few prototypes, | 5502 /* System header to define __stub macros and hopefully few prototypes, |
5482 which can conflict with char $ac_func(); below. */ | 5503 which can conflict with char $ac_func(); below. */ |
5483 #include <assert.h> | 5504 #include <assert.h> |
5484 /* Override any gcc2 internal prototype to avoid an error. */ | 5505 /* Override any gcc2 internal prototype to avoid an error. */ |
5497 $ac_func(); | 5518 $ac_func(); |
5498 #endif | 5519 #endif |
5499 | 5520 |
5500 ; return 0; } | 5521 ; return 0; } |
5501 EOF | 5522 EOF |
5502 if { (eval echo configure:5503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5523 if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5503 rm -rf conftest* | 5524 rm -rf conftest* |
5504 eval "ac_cv_func_$ac_func=yes" | 5525 eval "ac_cv_func_$ac_func=yes" |
5505 else | 5526 else |
5506 echo "configure: failed program was:" >&5 | 5527 echo "configure: failed program was:" >&5 |
5507 cat conftest.$ac_ext >&5 | 5528 cat conftest.$ac_ext >&5 |
5525 | 5546 |
5526 for ac_hdr in maillock.h | 5547 for ac_hdr in maillock.h |
5527 do | 5548 do |
5528 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5529 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5530 echo "configure:5531: checking for $ac_hdr" >&5 | 5551 echo "configure:5552: checking for $ac_hdr" >&5 |
5531 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5532 echo $ac_n "(cached) $ac_c" 1>&6 | 5553 echo $ac_n "(cached) $ac_c" 1>&6 |
5533 else | 5554 else |
5534 cat > conftest.$ac_ext <<EOF | 5555 cat > conftest.$ac_ext <<EOF |
5535 #line 5536 "configure" | 5556 #line 5557 "configure" |
5536 #include "confdefs.h" | 5557 #include "confdefs.h" |
5537 #include <$ac_hdr> | 5558 #include <$ac_hdr> |
5538 EOF | 5559 EOF |
5539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5540 { (eval echo configure:5541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5561 { (eval echo configure:5562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5542 if test -z "$ac_err"; then | 5563 if test -z "$ac_err"; then |
5543 rm -rf conftest* | 5564 rm -rf conftest* |
5544 eval "ac_cv_header_$ac_safe=yes" | 5565 eval "ac_cv_header_$ac_safe=yes" |
5545 else | 5566 else |
5570 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5591 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5571 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 5592 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
5572 __fpending mblen mbrlen strsignal setitimer ualarm | 5593 __fpending mblen mbrlen strsignal setitimer ualarm |
5573 do | 5594 do |
5574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5575 echo "configure:5576: checking for $ac_func" >&5 | 5596 echo "configure:5597: checking for $ac_func" >&5 |
5576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5577 echo $ac_n "(cached) $ac_c" 1>&6 | 5598 echo $ac_n "(cached) $ac_c" 1>&6 |
5578 else | 5599 else |
5579 cat > conftest.$ac_ext <<EOF | 5600 cat > conftest.$ac_ext <<EOF |
5580 #line 5581 "configure" | 5601 #line 5602 "configure" |
5581 #include "confdefs.h" | 5602 #include "confdefs.h" |
5582 /* System header to define __stub macros and hopefully few prototypes, | 5603 /* System header to define __stub macros and hopefully few prototypes, |
5583 which can conflict with char $ac_func(); below. */ | 5604 which can conflict with char $ac_func(); below. */ |
5584 #include <assert.h> | 5605 #include <assert.h> |
5585 /* Override any gcc2 internal prototype to avoid an error. */ | 5606 /* Override any gcc2 internal prototype to avoid an error. */ |
5598 $ac_func(); | 5619 $ac_func(); |
5599 #endif | 5620 #endif |
5600 | 5621 |
5601 ; return 0; } | 5622 ; return 0; } |
5602 EOF | 5623 EOF |
5603 if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5624 if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5604 rm -rf conftest* | 5625 rm -rf conftest* |
5605 eval "ac_cv_func_$ac_func=yes" | 5626 eval "ac_cv_func_$ac_func=yes" |
5606 else | 5627 else |
5607 echo "configure: failed program was:" >&5 | 5628 echo "configure: failed program was:" >&5 |
5608 cat conftest.$ac_ext >&5 | 5629 cat conftest.$ac_ext >&5 |
5627 | 5648 |
5628 for ac_hdr in sys/time.h unistd.h | 5649 for ac_hdr in sys/time.h unistd.h |
5629 do | 5650 do |
5630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5651 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5652 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5632 echo "configure:5633: checking for $ac_hdr" >&5 | 5653 echo "configure:5654: checking for $ac_hdr" >&5 |
5633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5654 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5634 echo $ac_n "(cached) $ac_c" 1>&6 | 5655 echo $ac_n "(cached) $ac_c" 1>&6 |
5635 else | 5656 else |
5636 cat > conftest.$ac_ext <<EOF | 5657 cat > conftest.$ac_ext <<EOF |
5637 #line 5638 "configure" | 5658 #line 5659 "configure" |
5638 #include "confdefs.h" | 5659 #include "confdefs.h" |
5639 #include <$ac_hdr> | 5660 #include <$ac_hdr> |
5640 EOF | 5661 EOF |
5641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5642 { (eval echo configure:5643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5663 { (eval echo configure:5664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5644 if test -z "$ac_err"; then | 5665 if test -z "$ac_err"; then |
5645 rm -rf conftest* | 5666 rm -rf conftest* |
5646 eval "ac_cv_header_$ac_safe=yes" | 5667 eval "ac_cv_header_$ac_safe=yes" |
5647 else | 5668 else |
5666 done | 5687 done |
5667 | 5688 |
5668 for ac_func in alarm | 5689 for ac_func in alarm |
5669 do | 5690 do |
5670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5671 echo "configure:5672: checking for $ac_func" >&5 | 5692 echo "configure:5693: checking for $ac_func" >&5 |
5672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5673 echo $ac_n "(cached) $ac_c" 1>&6 | 5694 echo $ac_n "(cached) $ac_c" 1>&6 |
5674 else | 5695 else |
5675 cat > conftest.$ac_ext <<EOF | 5696 cat > conftest.$ac_ext <<EOF |
5676 #line 5677 "configure" | 5697 #line 5698 "configure" |
5677 #include "confdefs.h" | 5698 #include "confdefs.h" |
5678 /* System header to define __stub macros and hopefully few prototypes, | 5699 /* System header to define __stub macros and hopefully few prototypes, |
5679 which can conflict with char $ac_func(); below. */ | 5700 which can conflict with char $ac_func(); below. */ |
5680 #include <assert.h> | 5701 #include <assert.h> |
5681 /* Override any gcc2 internal prototype to avoid an error. */ | 5702 /* Override any gcc2 internal prototype to avoid an error. */ |
5694 $ac_func(); | 5715 $ac_func(); |
5695 #endif | 5716 #endif |
5696 | 5717 |
5697 ; return 0; } | 5718 ; return 0; } |
5698 EOF | 5719 EOF |
5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5700 rm -rf conftest* | 5721 rm -rf conftest* |
5701 eval "ac_cv_func_$ac_func=yes" | 5722 eval "ac_cv_func_$ac_func=yes" |
5702 else | 5723 else |
5703 echo "configure: failed program was:" >&5 | 5724 echo "configure: failed program was:" >&5 |
5704 cat conftest.$ac_ext >&5 | 5725 cat conftest.$ac_ext >&5 |
5719 echo "$ac_t""no" 1>&6 | 5740 echo "$ac_t""no" 1>&6 |
5720 fi | 5741 fi |
5721 done | 5742 done |
5722 | 5743 |
5723 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 5744 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
5724 echo "configure:5725: checking for working mktime" >&5 | 5745 echo "configure:5746: checking for working mktime" >&5 |
5725 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 5746 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
5726 echo $ac_n "(cached) $ac_c" 1>&6 | 5747 echo $ac_n "(cached) $ac_c" 1>&6 |
5727 else | 5748 else |
5728 if test "$cross_compiling" = yes; then | 5749 if test "$cross_compiling" = yes; then |
5729 ac_cv_func_working_mktime=no | 5750 ac_cv_func_working_mktime=no |
5730 else | 5751 else |
5731 cat > conftest.$ac_ext <<EOF | 5752 cat > conftest.$ac_ext <<EOF |
5732 #line 5733 "configure" | 5753 #line 5754 "configure" |
5733 #include "confdefs.h" | 5754 #include "confdefs.h" |
5734 /* Test program from Paul Eggert (eggert@twinsun.com) | 5755 /* Test program from Paul Eggert (eggert@twinsun.com) |
5735 and Tony Leneis (tony@plaza.ds.adp.com). */ | 5756 and Tony Leneis (tony@plaza.ds.adp.com). */ |
5736 #if TIME_WITH_SYS_TIME | 5757 #if TIME_WITH_SYS_TIME |
5737 # include <sys/time.h> | 5758 # include <sys/time.h> |
5876 irix_6_4_bug (); | 5897 irix_6_4_bug (); |
5877 spring_forward_gap (); | 5898 spring_forward_gap (); |
5878 exit (0); | 5899 exit (0); |
5879 } | 5900 } |
5880 EOF | 5901 EOF |
5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5882 then | 5903 then |
5883 ac_cv_func_working_mktime=yes | 5904 ac_cv_func_working_mktime=yes |
5884 else | 5905 else |
5885 echo "configure: failed program was:" >&5 | 5906 echo "configure: failed program was:" >&5 |
5886 cat conftest.$ac_ext >&5 | 5907 cat conftest.$ac_ext >&5 |
5908 | 5929 |
5909 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 5930 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
5910 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 5931 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
5911 # to get the right answer into the cache. | 5932 # to get the right answer into the cache. |
5912 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 5933 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
5913 echo "configure:5914: checking for elf_begin in -lelf" >&5 | 5934 echo "configure:5935: checking for elf_begin in -lelf" >&5 |
5914 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 5935 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
5915 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5936 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5916 echo $ac_n "(cached) $ac_c" 1>&6 | 5937 echo $ac_n "(cached) $ac_c" 1>&6 |
5917 else | 5938 else |
5918 ac_save_LIBS="$LIBS" | 5939 ac_save_LIBS="$LIBS" |
5919 LIBS="-lelf $LIBS" | 5940 LIBS="-lelf $LIBS" |
5920 cat > conftest.$ac_ext <<EOF | 5941 cat > conftest.$ac_ext <<EOF |
5921 #line 5922 "configure" | 5942 #line 5943 "configure" |
5922 #include "confdefs.h" | 5943 #include "confdefs.h" |
5923 /* Override any gcc2 internal prototype to avoid an error. */ | 5944 /* Override any gcc2 internal prototype to avoid an error. */ |
5924 /* We use char because int might match the return type of a gcc2 | 5945 /* We use char because int might match the return type of a gcc2 |
5925 builtin and then its argument prototype would still apply. */ | 5946 builtin and then its argument prototype would still apply. */ |
5926 char elf_begin(); | 5947 char elf_begin(); |
5927 | 5948 |
5928 int main() { | 5949 int main() { |
5929 elf_begin() | 5950 elf_begin() |
5930 ; return 0; } | 5951 ; return 0; } |
5931 EOF | 5952 EOF |
5932 if { (eval echo configure:5933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5953 if { (eval echo configure:5954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5933 rm -rf conftest* | 5954 rm -rf conftest* |
5934 eval "ac_cv_lib_$ac_lib_var=yes" | 5955 eval "ac_cv_lib_$ac_lib_var=yes" |
5935 else | 5956 else |
5936 echo "configure: failed program was:" >&5 | 5957 echo "configure: failed program was:" >&5 |
5937 cat conftest.$ac_ext >&5 | 5958 cat conftest.$ac_ext >&5 |
5948 else | 5969 else |
5949 echo "$ac_t""no" 1>&6 | 5970 echo "$ac_t""no" 1>&6 |
5950 fi | 5971 fi |
5951 | 5972 |
5952 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 5973 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
5953 echo "configure:5954: checking for kvm_open in -lkvm" >&5 | 5974 echo "configure:5975: checking for kvm_open in -lkvm" >&5 |
5954 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 5975 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
5955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5956 echo $ac_n "(cached) $ac_c" 1>&6 | 5977 echo $ac_n "(cached) $ac_c" 1>&6 |
5957 else | 5978 else |
5958 ac_save_LIBS="$LIBS" | 5979 ac_save_LIBS="$LIBS" |
5959 LIBS="-lkvm $LIBS" | 5980 LIBS="-lkvm $LIBS" |
5960 cat > conftest.$ac_ext <<EOF | 5981 cat > conftest.$ac_ext <<EOF |
5961 #line 5962 "configure" | 5982 #line 5983 "configure" |
5962 #include "confdefs.h" | 5983 #include "confdefs.h" |
5963 /* Override any gcc2 internal prototype to avoid an error. */ | 5984 /* Override any gcc2 internal prototype to avoid an error. */ |
5964 /* We use char because int might match the return type of a gcc2 | 5985 /* We use char because int might match the return type of a gcc2 |
5965 builtin and then its argument prototype would still apply. */ | 5986 builtin and then its argument prototype would still apply. */ |
5966 char kvm_open(); | 5987 char kvm_open(); |
5967 | 5988 |
5968 int main() { | 5989 int main() { |
5969 kvm_open() | 5990 kvm_open() |
5970 ; return 0; } | 5991 ; return 0; } |
5971 EOF | 5992 EOF |
5972 if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5973 rm -rf conftest* | 5994 rm -rf conftest* |
5974 eval "ac_cv_lib_$ac_lib_var=yes" | 5995 eval "ac_cv_lib_$ac_lib_var=yes" |
5975 else | 5996 else |
5976 echo "configure: failed program was:" >&5 | 5997 echo "configure: failed program was:" >&5 |
5977 cat conftest.$ac_ext >&5 | 5998 cat conftest.$ac_ext >&5 |
5989 echo "$ac_t""no" 1>&6 | 6010 echo "$ac_t""no" 1>&6 |
5990 fi | 6011 fi |
5991 | 6012 |
5992 # Check for the 4.4BSD definition of getloadavg. | 6013 # Check for the 4.4BSD definition of getloadavg. |
5993 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6014 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
5994 echo "configure:5995: checking for getloadavg in -lutil" >&5 | 6015 echo "configure:6016: checking for getloadavg in -lutil" >&5 |
5995 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6016 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
5996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5997 echo $ac_n "(cached) $ac_c" 1>&6 | 6018 echo $ac_n "(cached) $ac_c" 1>&6 |
5998 else | 6019 else |
5999 ac_save_LIBS="$LIBS" | 6020 ac_save_LIBS="$LIBS" |
6000 LIBS="-lutil $LIBS" | 6021 LIBS="-lutil $LIBS" |
6001 cat > conftest.$ac_ext <<EOF | 6022 cat > conftest.$ac_ext <<EOF |
6002 #line 6003 "configure" | 6023 #line 6024 "configure" |
6003 #include "confdefs.h" | 6024 #include "confdefs.h" |
6004 /* Override any gcc2 internal prototype to avoid an error. */ | 6025 /* Override any gcc2 internal prototype to avoid an error. */ |
6005 /* We use char because int might match the return type of a gcc2 | 6026 /* We use char because int might match the return type of a gcc2 |
6006 builtin and then its argument prototype would still apply. */ | 6027 builtin and then its argument prototype would still apply. */ |
6007 char getloadavg(); | 6028 char getloadavg(); |
6008 | 6029 |
6009 int main() { | 6030 int main() { |
6010 getloadavg() | 6031 getloadavg() |
6011 ; return 0; } | 6032 ; return 0; } |
6012 EOF | 6033 EOF |
6013 if { (eval echo configure:6014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6014 rm -rf conftest* | 6035 rm -rf conftest* |
6015 eval "ac_cv_lib_$ac_lib_var=yes" | 6036 eval "ac_cv_lib_$ac_lib_var=yes" |
6016 else | 6037 else |
6017 echo "configure: failed program was:" >&5 | 6038 echo "configure: failed program was:" >&5 |
6018 cat conftest.$ac_ext >&5 | 6039 cat conftest.$ac_ext >&5 |
6034 if test $ac_have_func = no; then | 6055 if test $ac_have_func = no; then |
6035 # There is a commonly available library for RS/6000 AIX. | 6056 # There is a commonly available library for RS/6000 AIX. |
6036 # Since it is not a standard part of AIX, it might be installed locally. | 6057 # Since it is not a standard part of AIX, it might be installed locally. |
6037 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6058 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
6038 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6059 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
6039 echo "configure:6040: checking for getloadavg in -lgetloadavg" >&5 | 6060 echo "configure:6061: checking for getloadavg in -lgetloadavg" >&5 |
6040 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6061 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
6041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6062 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6042 echo $ac_n "(cached) $ac_c" 1>&6 | 6063 echo $ac_n "(cached) $ac_c" 1>&6 |
6043 else | 6064 else |
6044 ac_save_LIBS="$LIBS" | 6065 ac_save_LIBS="$LIBS" |
6045 LIBS="-lgetloadavg $LIBS" | 6066 LIBS="-lgetloadavg $LIBS" |
6046 cat > conftest.$ac_ext <<EOF | 6067 cat > conftest.$ac_ext <<EOF |
6047 #line 6048 "configure" | 6068 #line 6069 "configure" |
6048 #include "confdefs.h" | 6069 #include "confdefs.h" |
6049 /* Override any gcc2 internal prototype to avoid an error. */ | 6070 /* Override any gcc2 internal prototype to avoid an error. */ |
6050 /* We use char because int might match the return type of a gcc2 | 6071 /* We use char because int might match the return type of a gcc2 |
6051 builtin and then its argument prototype would still apply. */ | 6072 builtin and then its argument prototype would still apply. */ |
6052 char getloadavg(); | 6073 char getloadavg(); |
6053 | 6074 |
6054 int main() { | 6075 int main() { |
6055 getloadavg() | 6076 getloadavg() |
6056 ; return 0; } | 6077 ; return 0; } |
6057 EOF | 6078 EOF |
6058 if { (eval echo configure:6059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6079 if { (eval echo configure:6080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6059 rm -rf conftest* | 6080 rm -rf conftest* |
6060 eval "ac_cv_lib_$ac_lib_var=yes" | 6081 eval "ac_cv_lib_$ac_lib_var=yes" |
6061 else | 6082 else |
6062 echo "configure: failed program was:" >&5 | 6083 echo "configure: failed program was:" >&5 |
6063 cat conftest.$ac_ext >&5 | 6084 cat conftest.$ac_ext >&5 |
6080 | 6101 |
6081 # Make sure it is really in the library, if we think we found it. | 6102 # Make sure it is really in the library, if we think we found it. |
6082 for ac_func in getloadavg | 6103 for ac_func in getloadavg |
6083 do | 6104 do |
6084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6085 echo "configure:6086: checking for $ac_func" >&5 | 6106 echo "configure:6107: checking for $ac_func" >&5 |
6086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6087 echo $ac_n "(cached) $ac_c" 1>&6 | 6108 echo $ac_n "(cached) $ac_c" 1>&6 |
6088 else | 6109 else |
6089 cat > conftest.$ac_ext <<EOF | 6110 cat > conftest.$ac_ext <<EOF |
6090 #line 6091 "configure" | 6111 #line 6112 "configure" |
6091 #include "confdefs.h" | 6112 #include "confdefs.h" |
6092 /* System header to define __stub macros and hopefully few prototypes, | 6113 /* System header to define __stub macros and hopefully few prototypes, |
6093 which can conflict with char $ac_func(); below. */ | 6114 which can conflict with char $ac_func(); below. */ |
6094 #include <assert.h> | 6115 #include <assert.h> |
6095 /* Override any gcc2 internal prototype to avoid an error. */ | 6116 /* Override any gcc2 internal prototype to avoid an error. */ |
6108 $ac_func(); | 6129 $ac_func(); |
6109 #endif | 6130 #endif |
6110 | 6131 |
6111 ; return 0; } | 6132 ; return 0; } |
6112 EOF | 6133 EOF |
6113 if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6114 rm -rf conftest* | 6135 rm -rf conftest* |
6115 eval "ac_cv_func_$ac_func=yes" | 6136 eval "ac_cv_func_$ac_func=yes" |
6116 else | 6137 else |
6117 echo "configure: failed program was:" >&5 | 6138 echo "configure: failed program was:" >&5 |
6118 cat conftest.$ac_ext >&5 | 6139 cat conftest.$ac_ext >&5 |
6146 else | 6167 else |
6147 # Figure out what our getloadavg.c needs. | 6168 # Figure out what our getloadavg.c needs. |
6148 ac_have_func=no | 6169 ac_have_func=no |
6149 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6170 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
6150 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6171 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
6151 echo "configure:6152: checking for sys/dg_sys_info.h" >&5 | 6172 echo "configure:6173: checking for sys/dg_sys_info.h" >&5 |
6152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6153 echo $ac_n "(cached) $ac_c" 1>&6 | 6174 echo $ac_n "(cached) $ac_c" 1>&6 |
6154 else | 6175 else |
6155 cat > conftest.$ac_ext <<EOF | 6176 cat > conftest.$ac_ext <<EOF |
6156 #line 6157 "configure" | 6177 #line 6178 "configure" |
6157 #include "confdefs.h" | 6178 #include "confdefs.h" |
6158 #include <sys/dg_sys_info.h> | 6179 #include <sys/dg_sys_info.h> |
6159 EOF | 6180 EOF |
6160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6161 { (eval echo configure:6162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6182 { (eval echo configure:6183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6163 if test -z "$ac_err"; then | 6184 if test -z "$ac_err"; then |
6164 rm -rf conftest* | 6185 rm -rf conftest* |
6165 eval "ac_cv_header_$ac_safe=yes" | 6186 eval "ac_cv_header_$ac_safe=yes" |
6166 else | 6187 else |
6177 ac_have_func=yes; cat >> confdefs.h <<\EOF | 6198 ac_have_func=yes; cat >> confdefs.h <<\EOF |
6178 #define DGUX 1 | 6199 #define DGUX 1 |
6179 EOF | 6200 EOF |
6180 | 6201 |
6181 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6202 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
6182 echo "configure:6183: checking for dg_sys_info in -ldgc" >&5 | 6203 echo "configure:6204: checking for dg_sys_info in -ldgc" >&5 |
6183 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6204 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
6184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6205 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6185 echo $ac_n "(cached) $ac_c" 1>&6 | 6206 echo $ac_n "(cached) $ac_c" 1>&6 |
6186 else | 6207 else |
6187 ac_save_LIBS="$LIBS" | 6208 ac_save_LIBS="$LIBS" |
6188 LIBS="-ldgc $LIBS" | 6209 LIBS="-ldgc $LIBS" |
6189 cat > conftest.$ac_ext <<EOF | 6210 cat > conftest.$ac_ext <<EOF |
6190 #line 6191 "configure" | 6211 #line 6212 "configure" |
6191 #include "confdefs.h" | 6212 #include "confdefs.h" |
6192 /* Override any gcc2 internal prototype to avoid an error. */ | 6213 /* Override any gcc2 internal prototype to avoid an error. */ |
6193 /* We use char because int might match the return type of a gcc2 | 6214 /* We use char because int might match the return type of a gcc2 |
6194 builtin and then its argument prototype would still apply. */ | 6215 builtin and then its argument prototype would still apply. */ |
6195 char dg_sys_info(); | 6216 char dg_sys_info(); |
6196 | 6217 |
6197 int main() { | 6218 int main() { |
6198 dg_sys_info() | 6219 dg_sys_info() |
6199 ; return 0; } | 6220 ; return 0; } |
6200 EOF | 6221 EOF |
6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6202 rm -rf conftest* | 6223 rm -rf conftest* |
6203 eval "ac_cv_lib_$ac_lib_var=yes" | 6224 eval "ac_cv_lib_$ac_lib_var=yes" |
6204 else | 6225 else |
6205 echo "configure: failed program was:" >&5 | 6226 echo "configure: failed program was:" >&5 |
6206 cat conftest.$ac_ext >&5 | 6227 cat conftest.$ac_ext >&5 |
6241 fi | 6262 fi |
6242 | 6263 |
6243 if test $ac_have_func = no; then | 6264 if test $ac_have_func = no; then |
6244 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6265 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
6245 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6266 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
6246 echo "configure:6247: checking for inq_stats/cpustats.h" >&5 | 6267 echo "configure:6268: checking for inq_stats/cpustats.h" >&5 |
6247 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6268 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6248 echo $ac_n "(cached) $ac_c" 1>&6 | 6269 echo $ac_n "(cached) $ac_c" 1>&6 |
6249 else | 6270 else |
6250 cat > conftest.$ac_ext <<EOF | 6271 cat > conftest.$ac_ext <<EOF |
6251 #line 6252 "configure" | 6272 #line 6273 "configure" |
6252 #include "confdefs.h" | 6273 #include "confdefs.h" |
6253 #include <inq_stats/cpustats.h> | 6274 #include <inq_stats/cpustats.h> |
6254 EOF | 6275 EOF |
6255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6256 { (eval echo configure:6257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6277 { (eval echo configure:6278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6258 if test -z "$ac_err"; then | 6279 if test -z "$ac_err"; then |
6259 rm -rf conftest* | 6280 rm -rf conftest* |
6260 eval "ac_cv_header_$ac_safe=yes" | 6281 eval "ac_cv_header_$ac_safe=yes" |
6261 else | 6282 else |
6284 fi | 6305 fi |
6285 | 6306 |
6286 if test $ac_have_func = no; then | 6307 if test $ac_have_func = no; then |
6287 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6308 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
6288 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6309 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
6289 echo "configure:6290: checking for sys/cpustats.h" >&5 | 6310 echo "configure:6311: checking for sys/cpustats.h" >&5 |
6290 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6311 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6291 echo $ac_n "(cached) $ac_c" 1>&6 | 6312 echo $ac_n "(cached) $ac_c" 1>&6 |
6292 else | 6313 else |
6293 cat > conftest.$ac_ext <<EOF | 6314 cat > conftest.$ac_ext <<EOF |
6294 #line 6295 "configure" | 6315 #line 6316 "configure" |
6295 #include "confdefs.h" | 6316 #include "confdefs.h" |
6296 #include <sys/cpustats.h> | 6317 #include <sys/cpustats.h> |
6297 EOF | 6318 EOF |
6298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6299 { (eval echo configure:6300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6320 { (eval echo configure:6321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6301 if test -z "$ac_err"; then | 6322 if test -z "$ac_err"; then |
6302 rm -rf conftest* | 6323 rm -rf conftest* |
6303 eval "ac_cv_header_$ac_safe=yes" | 6324 eval "ac_cv_header_$ac_safe=yes" |
6304 else | 6325 else |
6325 if test $ac_have_func = no; then | 6346 if test $ac_have_func = no; then |
6326 for ac_hdr in mach/mach.h | 6347 for ac_hdr in mach/mach.h |
6327 do | 6348 do |
6328 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6349 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6329 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6350 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6330 echo "configure:6331: checking for $ac_hdr" >&5 | 6351 echo "configure:6352: checking for $ac_hdr" >&5 |
6331 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6332 echo $ac_n "(cached) $ac_c" 1>&6 | 6353 echo $ac_n "(cached) $ac_c" 1>&6 |
6333 else | 6354 else |
6334 cat > conftest.$ac_ext <<EOF | 6355 cat > conftest.$ac_ext <<EOF |
6335 #line 6336 "configure" | 6356 #line 6357 "configure" |
6336 #include "confdefs.h" | 6357 #include "confdefs.h" |
6337 #include <$ac_hdr> | 6358 #include <$ac_hdr> |
6338 EOF | 6359 EOF |
6339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6340 { (eval echo configure:6341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6361 { (eval echo configure:6362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6342 if test -z "$ac_err"; then | 6363 if test -z "$ac_err"; then |
6343 rm -rf conftest* | 6364 rm -rf conftest* |
6344 eval "ac_cv_header_$ac_safe=yes" | 6365 eval "ac_cv_header_$ac_safe=yes" |
6345 else | 6366 else |
6365 | 6386 |
6366 fi | 6387 fi |
6367 | 6388 |
6368 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6389 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
6369 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6390 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
6370 echo "configure:6371: checking for nlist.h" >&5 | 6391 echo "configure:6392: checking for nlist.h" >&5 |
6371 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6392 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6372 echo $ac_n "(cached) $ac_c" 1>&6 | 6393 echo $ac_n "(cached) $ac_c" 1>&6 |
6373 else | 6394 else |
6374 cat > conftest.$ac_ext <<EOF | 6395 cat > conftest.$ac_ext <<EOF |
6375 #line 6376 "configure" | 6396 #line 6397 "configure" |
6376 #include "confdefs.h" | 6397 #include "confdefs.h" |
6377 #include <nlist.h> | 6398 #include <nlist.h> |
6378 EOF | 6399 EOF |
6379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6380 { (eval echo configure:6381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6401 { (eval echo configure:6402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6382 if test -z "$ac_err"; then | 6403 if test -z "$ac_err"; then |
6383 rm -rf conftest* | 6404 rm -rf conftest* |
6384 eval "ac_cv_header_$ac_safe=yes" | 6405 eval "ac_cv_header_$ac_safe=yes" |
6385 else | 6406 else |
6396 cat >> confdefs.h <<\EOF | 6417 cat >> confdefs.h <<\EOF |
6397 #define NLIST_STRUCT 1 | 6418 #define NLIST_STRUCT 1 |
6398 EOF | 6419 EOF |
6399 | 6420 |
6400 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 6421 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
6401 echo "configure:6402: checking for n_un in struct nlist" >&5 | 6422 echo "configure:6423: checking for n_un in struct nlist" >&5 |
6402 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 6423 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
6403 echo $ac_n "(cached) $ac_c" 1>&6 | 6424 echo $ac_n "(cached) $ac_c" 1>&6 |
6404 else | 6425 else |
6405 cat > conftest.$ac_ext <<EOF | 6426 cat > conftest.$ac_ext <<EOF |
6406 #line 6407 "configure" | 6427 #line 6428 "configure" |
6407 #include "confdefs.h" | 6428 #include "confdefs.h" |
6408 #include <nlist.h> | 6429 #include <nlist.h> |
6409 int main() { | 6430 int main() { |
6410 struct nlist n; n.n_un.n_name = 0; | 6431 struct nlist n; n.n_un.n_name = 0; |
6411 ; return 0; } | 6432 ; return 0; } |
6412 EOF | 6433 EOF |
6413 if { (eval echo configure:6414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6434 if { (eval echo configure:6435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6414 rm -rf conftest* | 6435 rm -rf conftest* |
6415 ac_cv_struct_nlist_n_un=yes | 6436 ac_cv_struct_nlist_n_un=yes |
6416 else | 6437 else |
6417 echo "configure: failed program was:" >&5 | 6438 echo "configure: failed program was:" >&5 |
6418 cat conftest.$ac_ext >&5 | 6439 cat conftest.$ac_ext >&5 |
6435 fi | 6456 fi |
6436 fi # Do not have getloadavg in system libraries. | 6457 fi # Do not have getloadavg in system libraries. |
6437 | 6458 |
6438 # Some definitions of getloadavg require that the program be installed setgid. | 6459 # Some definitions of getloadavg require that the program be installed setgid. |
6439 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 6460 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
6440 echo "configure:6441: checking whether getloadavg requires setgid" >&5 | 6461 echo "configure:6462: checking whether getloadavg requires setgid" >&5 |
6441 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 6462 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
6442 echo $ac_n "(cached) $ac_c" 1>&6 | 6463 echo $ac_n "(cached) $ac_c" 1>&6 |
6443 else | 6464 else |
6444 cat > conftest.$ac_ext <<EOF | 6465 cat > conftest.$ac_ext <<EOF |
6445 #line 6446 "configure" | 6466 #line 6467 "configure" |
6446 #include "confdefs.h" | 6467 #include "confdefs.h" |
6447 #include "$srcdir/getloadavg.c" | 6468 #include "$srcdir/getloadavg.c" |
6448 #ifdef LDAV_PRIVILEGED | 6469 #ifdef LDAV_PRIVILEGED |
6449 Yowza Am I SETGID yet | 6470 Yowza Am I SETGID yet |
6450 #endif | 6471 #endif |
6471 NEED_SETGID=false | 6492 NEED_SETGID=false |
6472 fi | 6493 fi |
6473 | 6494 |
6474 if test $ac_cv_func_getloadavg_setgid = yes; then | 6495 if test $ac_cv_func_getloadavg_setgid = yes; then |
6475 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 6496 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
6476 echo "configure:6477: checking group of /dev/kmem" >&5 | 6497 echo "configure:6498: checking group of /dev/kmem" >&5 |
6477 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 6498 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
6478 echo $ac_n "(cached) $ac_c" 1>&6 | 6499 echo $ac_n "(cached) $ac_c" 1>&6 |
6479 else | 6500 else |
6480 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 6501 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
6481 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 6502 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
6500 fi | 6521 fi |
6501 | 6522 |
6502 if test "$enable_largefile" != no; then | 6523 if test "$enable_largefile" != no; then |
6503 | 6524 |
6504 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 | 6525 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 |
6505 echo "configure:6506: checking for special C compiler options needed for large files" >&5 | 6526 echo "configure:6527: checking for special C compiler options needed for large files" >&5 |
6506 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then | 6527 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then |
6507 echo $ac_n "(cached) $ac_c" 1>&6 | 6528 echo $ac_n "(cached) $ac_c" 1>&6 |
6508 else | 6529 else |
6509 ac_cv_sys_largefile_CC=no | 6530 ac_cv_sys_largefile_CC=no |
6510 if test "$GCC" != yes; then | 6531 if test "$GCC" != yes; then |
6511 # IRIX 6.2 and later do not support large files by default, | 6532 # IRIX 6.2 and later do not support large files by default, |
6512 # so use the C compiler's -n32 option if that helps. | 6533 # so use the C compiler's -n32 option if that helps. |
6513 cat > conftest.$ac_ext <<EOF | 6534 cat > conftest.$ac_ext <<EOF |
6514 #line 6515 "configure" | 6535 #line 6536 "configure" |
6515 #include "confdefs.h" | 6536 #include "confdefs.h" |
6516 #include <sys/types.h> | 6537 #include <sys/types.h> |
6517 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6538 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6518 | 6539 |
6519 int main() { | 6540 int main() { |
6520 | 6541 |
6521 ; return 0; } | 6542 ; return 0; } |
6522 EOF | 6543 EOF |
6523 if { (eval echo configure:6524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6544 if { (eval echo configure:6545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6524 : | 6545 : |
6525 else | 6546 else |
6526 echo "configure: failed program was:" >&5 | 6547 echo "configure: failed program was:" >&5 |
6527 cat conftest.$ac_ext >&5 | 6548 cat conftest.$ac_ext >&5 |
6528 rm -rf conftest* | 6549 rm -rf conftest* |
6529 ac_save_CC="$CC" | 6550 ac_save_CC="$CC" |
6530 CC="$CC -n32" | 6551 CC="$CC -n32" |
6531 cat > conftest.$ac_ext <<EOF | 6552 cat > conftest.$ac_ext <<EOF |
6532 #line 6533 "configure" | 6553 #line 6554 "configure" |
6533 #include "confdefs.h" | 6554 #include "confdefs.h" |
6534 #include <sys/types.h> | 6555 #include <sys/types.h> |
6535 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6556 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6536 | 6557 |
6537 int main() { | 6558 int main() { |
6538 | 6559 |
6539 ; return 0; } | 6560 ; return 0; } |
6540 EOF | 6561 EOF |
6541 if { (eval echo configure:6542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6562 if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6542 rm -rf conftest* | 6563 rm -rf conftest* |
6543 ac_cv_sys_largefile_CC=' -n32' | 6564 ac_cv_sys_largefile_CC=' -n32' |
6544 else | 6565 else |
6545 echo "configure: failed program was:" >&5 | 6566 echo "configure: failed program was:" >&5 |
6546 cat conftest.$ac_ext >&5 | 6567 cat conftest.$ac_ext >&5 |
6556 if test "$ac_cv_sys_largefile_CC" != no; then | 6577 if test "$ac_cv_sys_largefile_CC" != no; then |
6557 CC="$CC$ac_cv_sys_largefile_CC" | 6578 CC="$CC$ac_cv_sys_largefile_CC" |
6558 fi | 6579 fi |
6559 | 6580 |
6560 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 | 6581 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 |
6561 echo "configure:6562: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 6582 echo "configure:6583: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
6562 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then | 6583 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then |
6563 echo $ac_n "(cached) $ac_c" 1>&6 | 6584 echo $ac_n "(cached) $ac_c" 1>&6 |
6564 else | 6585 else |
6565 ac_cv_sys_file_offset_bits=no | 6586 ac_cv_sys_file_offset_bits=no |
6566 cat > conftest.$ac_ext <<EOF | 6587 cat > conftest.$ac_ext <<EOF |
6567 #line 6568 "configure" | 6588 #line 6589 "configure" |
6568 #include "confdefs.h" | 6589 #include "confdefs.h" |
6569 #include <sys/types.h> | 6590 #include <sys/types.h> |
6570 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6591 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6571 | 6592 |
6572 | 6593 |
6573 | 6594 |
6574 int main() { | 6595 int main() { |
6575 | 6596 |
6576 ; return 0; } | 6597 ; return 0; } |
6577 EOF | 6598 EOF |
6578 if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6599 if { (eval echo configure:6600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6579 : | 6600 : |
6580 else | 6601 else |
6581 echo "configure: failed program was:" >&5 | 6602 echo "configure: failed program was:" >&5 |
6582 cat conftest.$ac_ext >&5 | 6603 cat conftest.$ac_ext >&5 |
6583 rm -rf conftest* | 6604 rm -rf conftest* |
6584 cat > conftest.$ac_ext <<EOF | 6605 cat > conftest.$ac_ext <<EOF |
6585 #line 6586 "configure" | 6606 #line 6607 "configure" |
6586 #include "confdefs.h" | 6607 #include "confdefs.h" |
6587 #define _FILE_OFFSET_BITS 64 | 6608 #define _FILE_OFFSET_BITS 64 |
6588 #include <sys/types.h> | 6609 #include <sys/types.h> |
6589 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6610 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6590 | 6611 |
6592 | 6613 |
6593 int main() { | 6614 int main() { |
6594 | 6615 |
6595 ; return 0; } | 6616 ; return 0; } |
6596 EOF | 6617 EOF |
6597 if { (eval echo configure:6598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6618 if { (eval echo configure:6619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6598 rm -rf conftest* | 6619 rm -rf conftest* |
6599 ac_cv_sys_file_offset_bits=64 | 6620 ac_cv_sys_file_offset_bits=64 |
6600 else | 6621 else |
6601 echo "configure: failed program was:" >&5 | 6622 echo "configure: failed program was:" >&5 |
6602 cat conftest.$ac_ext >&5 | 6623 cat conftest.$ac_ext >&5 |
6612 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 6633 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
6613 EOF | 6634 EOF |
6614 | 6635 |
6615 fi | 6636 fi |
6616 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 | 6637 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 |
6617 echo "configure:6618: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 6638 echo "configure:6639: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
6618 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then | 6639 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then |
6619 echo $ac_n "(cached) $ac_c" 1>&6 | 6640 echo $ac_n "(cached) $ac_c" 1>&6 |
6620 else | 6641 else |
6621 ac_cv_sys_largefile_source=no | 6642 ac_cv_sys_largefile_source=no |
6622 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6623 #line 6624 "configure" | 6644 #line 6645 "configure" |
6624 #include "confdefs.h" | 6645 #include "confdefs.h" |
6625 #include <sys/types.h> | 6646 #include <sys/types.h> |
6626 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6647 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6627 | 6648 |
6628 #include <stdio.h> | 6649 #include <stdio.h> |
6629 | 6650 |
6630 int main() { | 6651 int main() { |
6631 return !ftello; | 6652 return !ftello; |
6632 ; return 0; } | 6653 ; return 0; } |
6633 EOF | 6654 EOF |
6634 if { (eval echo configure:6635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6655 if { (eval echo configure:6656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6635 : | 6656 : |
6636 else | 6657 else |
6637 echo "configure: failed program was:" >&5 | 6658 echo "configure: failed program was:" >&5 |
6638 cat conftest.$ac_ext >&5 | 6659 cat conftest.$ac_ext >&5 |
6639 rm -rf conftest* | 6660 rm -rf conftest* |
6640 cat > conftest.$ac_ext <<EOF | 6661 cat > conftest.$ac_ext <<EOF |
6641 #line 6642 "configure" | 6662 #line 6663 "configure" |
6642 #include "confdefs.h" | 6663 #include "confdefs.h" |
6643 #define _LARGEFILE_SOURCE 1 | 6664 #define _LARGEFILE_SOURCE 1 |
6644 #include <sys/types.h> | 6665 #include <sys/types.h> |
6645 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6666 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6646 | 6667 |
6648 | 6669 |
6649 int main() { | 6670 int main() { |
6650 return !ftello; | 6671 return !ftello; |
6651 ; return 0; } | 6672 ; return 0; } |
6652 EOF | 6673 EOF |
6653 if { (eval echo configure:6654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6674 if { (eval echo configure:6675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6654 rm -rf conftest* | 6675 rm -rf conftest* |
6655 ac_cv_sys_largefile_source=1 | 6676 ac_cv_sys_largefile_source=1 |
6656 else | 6677 else |
6657 echo "configure: failed program was:" >&5 | 6678 echo "configure: failed program was:" >&5 |
6658 cat conftest.$ac_ext >&5 | 6679 cat conftest.$ac_ext >&5 |
6668 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 6689 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
6669 EOF | 6690 EOF |
6670 | 6691 |
6671 fi | 6692 fi |
6672 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 | 6693 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 |
6673 echo "configure:6674: checking for _LARGE_FILES value needed for large files" >&5 | 6694 echo "configure:6695: checking for _LARGE_FILES value needed for large files" >&5 |
6674 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then | 6695 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then |
6675 echo $ac_n "(cached) $ac_c" 1>&6 | 6696 echo $ac_n "(cached) $ac_c" 1>&6 |
6676 else | 6697 else |
6677 ac_cv_sys_large_files=no | 6698 ac_cv_sys_large_files=no |
6678 cat > conftest.$ac_ext <<EOF | 6699 cat > conftest.$ac_ext <<EOF |
6679 #line 6680 "configure" | 6700 #line 6701 "configure" |
6680 #include "confdefs.h" | 6701 #include "confdefs.h" |
6681 #include <sys/types.h> | 6702 #include <sys/types.h> |
6682 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6703 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6683 | 6704 |
6684 | 6705 |
6685 | 6706 |
6686 int main() { | 6707 int main() { |
6687 | 6708 |
6688 ; return 0; } | 6709 ; return 0; } |
6689 EOF | 6710 EOF |
6690 if { (eval echo configure:6691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6711 if { (eval echo configure:6712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6691 : | 6712 : |
6692 else | 6713 else |
6693 echo "configure: failed program was:" >&5 | 6714 echo "configure: failed program was:" >&5 |
6694 cat conftest.$ac_ext >&5 | 6715 cat conftest.$ac_ext >&5 |
6695 rm -rf conftest* | 6716 rm -rf conftest* |
6696 cat > conftest.$ac_ext <<EOF | 6717 cat > conftest.$ac_ext <<EOF |
6697 #line 6698 "configure" | 6718 #line 6719 "configure" |
6698 #include "confdefs.h" | 6719 #include "confdefs.h" |
6699 #define _LARGE_FILES 1 | 6720 #define _LARGE_FILES 1 |
6700 #include <sys/types.h> | 6721 #include <sys/types.h> |
6701 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6722 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6702 | 6723 |
6704 | 6725 |
6705 int main() { | 6726 int main() { |
6706 | 6727 |
6707 ; return 0; } | 6728 ; return 0; } |
6708 EOF | 6729 EOF |
6709 if { (eval echo configure:6710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6730 if { (eval echo configure:6731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6710 rm -rf conftest* | 6731 rm -rf conftest* |
6711 ac_cv_sys_large_files=1 | 6732 ac_cv_sys_large_files=1 |
6712 else | 6733 else |
6713 echo "configure: failed program was:" >&5 | 6734 echo "configure: failed program was:" >&5 |
6714 cat conftest.$ac_ext >&5 | 6735 cat conftest.$ac_ext >&5 |
6724 #define _LARGE_FILES $ac_cv_sys_large_files | 6745 #define _LARGE_FILES $ac_cv_sys_large_files |
6725 EOF | 6746 EOF |
6726 | 6747 |
6727 fi | 6748 fi |
6728 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 | 6749 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 |
6729 echo "configure:6730: checking for _XOPEN_SOURCE value needed for large files" >&5 | 6750 echo "configure:6751: checking for _XOPEN_SOURCE value needed for large files" >&5 |
6730 if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then | 6751 if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then |
6731 echo $ac_n "(cached) $ac_c" 1>&6 | 6752 echo $ac_n "(cached) $ac_c" 1>&6 |
6732 else | 6753 else |
6733 ac_cv_sys_xopen_source=no | 6754 ac_cv_sys_xopen_source=no |
6734 cat > conftest.$ac_ext <<EOF | 6755 cat > conftest.$ac_ext <<EOF |
6735 #line 6736 "configure" | 6756 #line 6757 "configure" |
6736 #include "confdefs.h" | 6757 #include "confdefs.h" |
6737 #include <sys/types.h> | 6758 #include <sys/types.h> |
6738 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6759 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6739 | 6760 |
6740 #include <stdio.h> | 6761 #include <stdio.h> |
6741 | 6762 |
6742 int main() { | 6763 int main() { |
6743 return !ftello; | 6764 return !ftello; |
6744 ; return 0; } | 6765 ; return 0; } |
6745 EOF | 6766 EOF |
6746 if { (eval echo configure:6747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6767 if { (eval echo configure:6768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6747 : | 6768 : |
6748 else | 6769 else |
6749 echo "configure: failed program was:" >&5 | 6770 echo "configure: failed program was:" >&5 |
6750 cat conftest.$ac_ext >&5 | 6771 cat conftest.$ac_ext >&5 |
6751 rm -rf conftest* | 6772 rm -rf conftest* |
6752 cat > conftest.$ac_ext <<EOF | 6773 cat > conftest.$ac_ext <<EOF |
6753 #line 6754 "configure" | 6774 #line 6775 "configure" |
6754 #include "confdefs.h" | 6775 #include "confdefs.h" |
6755 #define _XOPEN_SOURCE 500 | 6776 #define _XOPEN_SOURCE 500 |
6756 #include <sys/types.h> | 6777 #include <sys/types.h> |
6757 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 6778 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
6758 | 6779 |
6760 | 6781 |
6761 int main() { | 6782 int main() { |
6762 return !ftello; | 6783 return !ftello; |
6763 ; return 0; } | 6784 ; return 0; } |
6764 EOF | 6785 EOF |
6765 if { (eval echo configure:6766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6786 if { (eval echo configure:6787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6766 rm -rf conftest* | 6787 rm -rf conftest* |
6767 ac_cv_sys_xopen_source=500 | 6788 ac_cv_sys_xopen_source=500 |
6768 else | 6789 else |
6769 echo "configure: failed program was:" >&5 | 6790 echo "configure: failed program was:" >&5 |
6770 cat conftest.$ac_ext >&5 | 6791 cat conftest.$ac_ext >&5 |
6784 fi | 6805 fi |
6785 | 6806 |
6786 for ac_func in ftello | 6807 for ac_func in ftello |
6787 do | 6808 do |
6788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6789 echo "configure:6790: checking for $ac_func" >&5 | 6810 echo "configure:6811: checking for $ac_func" >&5 |
6790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6791 echo $ac_n "(cached) $ac_c" 1>&6 | 6812 echo $ac_n "(cached) $ac_c" 1>&6 |
6792 else | 6813 else |
6793 cat > conftest.$ac_ext <<EOF | 6814 cat > conftest.$ac_ext <<EOF |
6794 #line 6795 "configure" | 6815 #line 6816 "configure" |
6795 #include "confdefs.h" | 6816 #include "confdefs.h" |
6796 /* System header to define __stub macros and hopefully few prototypes, | 6817 /* System header to define __stub macros and hopefully few prototypes, |
6797 which can conflict with char $ac_func(); below. */ | 6818 which can conflict with char $ac_func(); below. */ |
6798 #include <assert.h> | 6819 #include <assert.h> |
6799 /* Override any gcc2 internal prototype to avoid an error. */ | 6820 /* Override any gcc2 internal prototype to avoid an error. */ |
6812 $ac_func(); | 6833 $ac_func(); |
6813 #endif | 6834 #endif |
6814 | 6835 |
6815 ; return 0; } | 6836 ; return 0; } |
6816 EOF | 6837 EOF |
6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6838 if { (eval echo configure:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6818 rm -rf conftest* | 6839 rm -rf conftest* |
6819 eval "ac_cv_func_$ac_func=yes" | 6840 eval "ac_cv_func_$ac_func=yes" |
6820 else | 6841 else |
6821 echo "configure: failed program was:" >&5 | 6842 echo "configure: failed program was:" >&5 |
6822 cat conftest.$ac_ext >&5 | 6843 cat conftest.$ac_ext >&5 |
6842 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE | 6863 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE |
6843 # if we need it. | 6864 # if we need it. |
6844 for ac_func in grantpt | 6865 for ac_func in grantpt |
6845 do | 6866 do |
6846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6847 echo "configure:6848: checking for $ac_func" >&5 | 6868 echo "configure:6869: checking for $ac_func" >&5 |
6848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6849 echo $ac_n "(cached) $ac_c" 1>&6 | 6870 echo $ac_n "(cached) $ac_c" 1>&6 |
6850 else | 6871 else |
6851 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6852 #line 6853 "configure" | 6873 #line 6874 "configure" |
6853 #include "confdefs.h" | 6874 #include "confdefs.h" |
6854 /* System header to define __stub macros and hopefully few prototypes, | 6875 /* System header to define __stub macros and hopefully few prototypes, |
6855 which can conflict with char $ac_func(); below. */ | 6876 which can conflict with char $ac_func(); below. */ |
6856 #include <assert.h> | 6877 #include <assert.h> |
6857 /* Override any gcc2 internal prototype to avoid an error. */ | 6878 /* Override any gcc2 internal prototype to avoid an error. */ |
6870 $ac_func(); | 6891 $ac_func(); |
6871 #endif | 6892 #endif |
6872 | 6893 |
6873 ; return 0; } | 6894 ; return 0; } |
6874 EOF | 6895 EOF |
6875 if { (eval echo configure:6876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6896 if { (eval echo configure:6897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6876 rm -rf conftest* | 6897 rm -rf conftest* |
6877 eval "ac_cv_func_$ac_func=yes" | 6898 eval "ac_cv_func_$ac_func=yes" |
6878 else | 6899 else |
6879 echo "configure: failed program was:" >&5 | 6900 echo "configure: failed program was:" >&5 |
6880 cat conftest.$ac_ext >&5 | 6901 cat conftest.$ac_ext >&5 |
6899 | 6920 |
6900 # PTY-related GNU extensions. | 6921 # PTY-related GNU extensions. |
6901 for ac_func in getpt | 6922 for ac_func in getpt |
6902 do | 6923 do |
6903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6904 echo "configure:6905: checking for $ac_func" >&5 | 6925 echo "configure:6926: checking for $ac_func" >&5 |
6905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6906 echo $ac_n "(cached) $ac_c" 1>&6 | 6927 echo $ac_n "(cached) $ac_c" 1>&6 |
6907 else | 6928 else |
6908 cat > conftest.$ac_ext <<EOF | 6929 cat > conftest.$ac_ext <<EOF |
6909 #line 6910 "configure" | 6930 #line 6931 "configure" |
6910 #include "confdefs.h" | 6931 #include "confdefs.h" |
6911 /* System header to define __stub macros and hopefully few prototypes, | 6932 /* System header to define __stub macros and hopefully few prototypes, |
6912 which can conflict with char $ac_func(); below. */ | 6933 which can conflict with char $ac_func(); below. */ |
6913 #include <assert.h> | 6934 #include <assert.h> |
6914 /* Override any gcc2 internal prototype to avoid an error. */ | 6935 /* Override any gcc2 internal prototype to avoid an error. */ |
6927 $ac_func(); | 6948 $ac_func(); |
6928 #endif | 6949 #endif |
6929 | 6950 |
6930 ; return 0; } | 6951 ; return 0; } |
6931 EOF | 6952 EOF |
6932 if { (eval echo configure:6933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6953 if { (eval echo configure:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6933 rm -rf conftest* | 6954 rm -rf conftest* |
6934 eval "ac_cv_func_$ac_func=yes" | 6955 eval "ac_cv_func_$ac_func=yes" |
6935 else | 6956 else |
6936 echo "configure: failed program was:" >&5 | 6957 echo "configure: failed program was:" >&5 |
6937 cat conftest.$ac_ext >&5 | 6958 cat conftest.$ac_ext >&5 |
6957 # Check this now, so that we will NOT find the above functions in ncurses. | 6978 # Check this now, so that we will NOT find the above functions in ncurses. |
6958 # That is because we have not set up to link ncurses in lib-src. | 6979 # That is because we have not set up to link ncurses in lib-src. |
6959 # It's better to believe a function is not available | 6980 # It's better to believe a function is not available |
6960 # than to expect to find it in ncurses. | 6981 # than to expect to find it in ncurses. |
6961 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 6982 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
6962 echo "configure:6963: checking for tparm in -lncurses" >&5 | 6983 echo "configure:6984: checking for tparm in -lncurses" >&5 |
6963 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 6984 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
6964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6965 echo $ac_n "(cached) $ac_c" 1>&6 | 6986 echo $ac_n "(cached) $ac_c" 1>&6 |
6966 else | 6987 else |
6967 ac_save_LIBS="$LIBS" | 6988 ac_save_LIBS="$LIBS" |
6968 LIBS="-lncurses $LIBS" | 6989 LIBS="-lncurses $LIBS" |
6969 cat > conftest.$ac_ext <<EOF | 6990 cat > conftest.$ac_ext <<EOF |
6970 #line 6971 "configure" | 6991 #line 6992 "configure" |
6971 #include "confdefs.h" | 6992 #include "confdefs.h" |
6972 /* Override any gcc2 internal prototype to avoid an error. */ | 6993 /* Override any gcc2 internal prototype to avoid an error. */ |
6973 /* We use char because int might match the return type of a gcc2 | 6994 /* We use char because int might match the return type of a gcc2 |
6974 builtin and then its argument prototype would still apply. */ | 6995 builtin and then its argument prototype would still apply. */ |
6975 char tparm(); | 6996 char tparm(); |
6976 | 6997 |
6977 int main() { | 6998 int main() { |
6978 tparm() | 6999 tparm() |
6979 ; return 0; } | 7000 ; return 0; } |
6980 EOF | 7001 EOF |
6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6982 rm -rf conftest* | 7003 rm -rf conftest* |
6983 eval "ac_cv_lib_$ac_lib_var=yes" | 7004 eval "ac_cv_lib_$ac_lib_var=yes" |
6984 else | 7005 else |
6985 echo "configure: failed program was:" >&5 | 7006 echo "configure: failed program was:" >&5 |
6986 cat conftest.$ac_ext >&5 | 7007 cat conftest.$ac_ext >&5 |
7007 | 7028 |
7008 | 7029 |
7009 # These tell us which Kerberos-related libraries to use. | 7030 # These tell us which Kerberos-related libraries to use. |
7010 if test "${with_kerberos+set}" = set; then | 7031 if test "${with_kerberos+set}" = set; then |
7011 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7032 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
7012 echo "configure:7013: checking for com_err in -lcom_err" >&5 | 7033 echo "configure:7034: checking for com_err in -lcom_err" >&5 |
7013 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7034 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
7014 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7015 echo $ac_n "(cached) $ac_c" 1>&6 | 7036 echo $ac_n "(cached) $ac_c" 1>&6 |
7016 else | 7037 else |
7017 ac_save_LIBS="$LIBS" | 7038 ac_save_LIBS="$LIBS" |
7018 LIBS="-lcom_err $LIBS" | 7039 LIBS="-lcom_err $LIBS" |
7019 cat > conftest.$ac_ext <<EOF | 7040 cat > conftest.$ac_ext <<EOF |
7020 #line 7021 "configure" | 7041 #line 7042 "configure" |
7021 #include "confdefs.h" | 7042 #include "confdefs.h" |
7022 /* Override any gcc2 internal prototype to avoid an error. */ | 7043 /* Override any gcc2 internal prototype to avoid an error. */ |
7023 /* We use char because int might match the return type of a gcc2 | 7044 /* We use char because int might match the return type of a gcc2 |
7024 builtin and then its argument prototype would still apply. */ | 7045 builtin and then its argument prototype would still apply. */ |
7025 char com_err(); | 7046 char com_err(); |
7026 | 7047 |
7027 int main() { | 7048 int main() { |
7028 com_err() | 7049 com_err() |
7029 ; return 0; } | 7050 ; return 0; } |
7030 EOF | 7051 EOF |
7031 if { (eval echo configure:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7032 rm -rf conftest* | 7053 rm -rf conftest* |
7033 eval "ac_cv_lib_$ac_lib_var=yes" | 7054 eval "ac_cv_lib_$ac_lib_var=yes" |
7034 else | 7055 else |
7035 echo "configure: failed program was:" >&5 | 7056 echo "configure: failed program was:" >&5 |
7036 cat conftest.$ac_ext >&5 | 7057 cat conftest.$ac_ext >&5 |
7054 else | 7075 else |
7055 echo "$ac_t""no" 1>&6 | 7076 echo "$ac_t""no" 1>&6 |
7056 fi | 7077 fi |
7057 | 7078 |
7058 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7079 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
7059 echo "configure:7060: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7080 echo "configure:7081: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
7060 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7081 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7082 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7062 echo $ac_n "(cached) $ac_c" 1>&6 | 7083 echo $ac_n "(cached) $ac_c" 1>&6 |
7063 else | 7084 else |
7064 ac_save_LIBS="$LIBS" | 7085 ac_save_LIBS="$LIBS" |
7065 LIBS="-lk5crypto $LIBS" | 7086 LIBS="-lk5crypto $LIBS" |
7066 cat > conftest.$ac_ext <<EOF | 7087 cat > conftest.$ac_ext <<EOF |
7067 #line 7068 "configure" | 7088 #line 7089 "configure" |
7068 #include "confdefs.h" | 7089 #include "confdefs.h" |
7069 /* Override any gcc2 internal prototype to avoid an error. */ | 7090 /* Override any gcc2 internal prototype to avoid an error. */ |
7070 /* We use char because int might match the return type of a gcc2 | 7091 /* We use char because int might match the return type of a gcc2 |
7071 builtin and then its argument prototype would still apply. */ | 7092 builtin and then its argument prototype would still apply. */ |
7072 char mit_des_cbc_encrypt(); | 7093 char mit_des_cbc_encrypt(); |
7073 | 7094 |
7074 int main() { | 7095 int main() { |
7075 mit_des_cbc_encrypt() | 7096 mit_des_cbc_encrypt() |
7076 ; return 0; } | 7097 ; return 0; } |
7077 EOF | 7098 EOF |
7078 if { (eval echo configure:7079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7099 if { (eval echo configure:7100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7079 rm -rf conftest* | 7100 rm -rf conftest* |
7080 eval "ac_cv_lib_$ac_lib_var=yes" | 7101 eval "ac_cv_lib_$ac_lib_var=yes" |
7081 else | 7102 else |
7082 echo "configure: failed program was:" >&5 | 7103 echo "configure: failed program was:" >&5 |
7083 cat conftest.$ac_ext >&5 | 7104 cat conftest.$ac_ext >&5 |
7101 else | 7122 else |
7102 echo "$ac_t""no" 1>&6 | 7123 echo "$ac_t""no" 1>&6 |
7103 fi | 7124 fi |
7104 | 7125 |
7105 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7126 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
7106 echo "configure:7107: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7127 echo "configure:7128: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
7107 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7128 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7108 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7129 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7109 echo $ac_n "(cached) $ac_c" 1>&6 | 7130 echo $ac_n "(cached) $ac_c" 1>&6 |
7110 else | 7131 else |
7111 ac_save_LIBS="$LIBS" | 7132 ac_save_LIBS="$LIBS" |
7112 LIBS="-lcrypto $LIBS" | 7133 LIBS="-lcrypto $LIBS" |
7113 cat > conftest.$ac_ext <<EOF | 7134 cat > conftest.$ac_ext <<EOF |
7114 #line 7115 "configure" | 7135 #line 7136 "configure" |
7115 #include "confdefs.h" | 7136 #include "confdefs.h" |
7116 /* Override any gcc2 internal prototype to avoid an error. */ | 7137 /* Override any gcc2 internal prototype to avoid an error. */ |
7117 /* We use char because int might match the return type of a gcc2 | 7138 /* We use char because int might match the return type of a gcc2 |
7118 builtin and then its argument prototype would still apply. */ | 7139 builtin and then its argument prototype would still apply. */ |
7119 char mit_des_cbc_encrypt(); | 7140 char mit_des_cbc_encrypt(); |
7120 | 7141 |
7121 int main() { | 7142 int main() { |
7122 mit_des_cbc_encrypt() | 7143 mit_des_cbc_encrypt() |
7123 ; return 0; } | 7144 ; return 0; } |
7124 EOF | 7145 EOF |
7125 if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7146 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7126 rm -rf conftest* | 7147 rm -rf conftest* |
7127 eval "ac_cv_lib_$ac_lib_var=yes" | 7148 eval "ac_cv_lib_$ac_lib_var=yes" |
7128 else | 7149 else |
7129 echo "configure: failed program was:" >&5 | 7150 echo "configure: failed program was:" >&5 |
7130 cat conftest.$ac_ext >&5 | 7151 cat conftest.$ac_ext >&5 |
7148 else | 7169 else |
7149 echo "$ac_t""no" 1>&6 | 7170 echo "$ac_t""no" 1>&6 |
7150 fi | 7171 fi |
7151 | 7172 |
7152 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7173 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
7153 echo "configure:7154: checking for krb5_init_context in -lkrb5" >&5 | 7174 echo "configure:7175: checking for krb5_init_context in -lkrb5" >&5 |
7154 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7175 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
7155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7156 echo $ac_n "(cached) $ac_c" 1>&6 | 7177 echo $ac_n "(cached) $ac_c" 1>&6 |
7157 else | 7178 else |
7158 ac_save_LIBS="$LIBS" | 7179 ac_save_LIBS="$LIBS" |
7159 LIBS="-lkrb5 $LIBS" | 7180 LIBS="-lkrb5 $LIBS" |
7160 cat > conftest.$ac_ext <<EOF | 7181 cat > conftest.$ac_ext <<EOF |
7161 #line 7162 "configure" | 7182 #line 7183 "configure" |
7162 #include "confdefs.h" | 7183 #include "confdefs.h" |
7163 /* Override any gcc2 internal prototype to avoid an error. */ | 7184 /* Override any gcc2 internal prototype to avoid an error. */ |
7164 /* We use char because int might match the return type of a gcc2 | 7185 /* We use char because int might match the return type of a gcc2 |
7165 builtin and then its argument prototype would still apply. */ | 7186 builtin and then its argument prototype would still apply. */ |
7166 char krb5_init_context(); | 7187 char krb5_init_context(); |
7167 | 7188 |
7168 int main() { | 7189 int main() { |
7169 krb5_init_context() | 7190 krb5_init_context() |
7170 ; return 0; } | 7191 ; return 0; } |
7171 EOF | 7192 EOF |
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7173 rm -rf conftest* | 7194 rm -rf conftest* |
7174 eval "ac_cv_lib_$ac_lib_var=yes" | 7195 eval "ac_cv_lib_$ac_lib_var=yes" |
7175 else | 7196 else |
7176 echo "configure: failed program was:" >&5 | 7197 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7198 cat conftest.$ac_ext >&5 |
7196 echo "$ac_t""no" 1>&6 | 7217 echo "$ac_t""no" 1>&6 |
7197 fi | 7218 fi |
7198 | 7219 |
7199 if test "${with_kerberos5+set}" != set; then | 7220 if test "${with_kerberos5+set}" != set; then |
7200 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
7201 echo "configure:7202: checking for des_cbc_encrypt in -ldes425" >&5 | 7222 echo "configure:7223: checking for des_cbc_encrypt in -ldes425" >&5 |
7202 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7223 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7224 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7204 echo $ac_n "(cached) $ac_c" 1>&6 | 7225 echo $ac_n "(cached) $ac_c" 1>&6 |
7205 else | 7226 else |
7206 ac_save_LIBS="$LIBS" | 7227 ac_save_LIBS="$LIBS" |
7207 LIBS="-ldes425 $LIBS" | 7228 LIBS="-ldes425 $LIBS" |
7208 cat > conftest.$ac_ext <<EOF | 7229 cat > conftest.$ac_ext <<EOF |
7209 #line 7210 "configure" | 7230 #line 7231 "configure" |
7210 #include "confdefs.h" | 7231 #include "confdefs.h" |
7211 /* Override any gcc2 internal prototype to avoid an error. */ | 7232 /* Override any gcc2 internal prototype to avoid an error. */ |
7212 /* We use char because int might match the return type of a gcc2 | 7233 /* We use char because int might match the return type of a gcc2 |
7213 builtin and then its argument prototype would still apply. */ | 7234 builtin and then its argument prototype would still apply. */ |
7214 char des_cbc_encrypt(); | 7235 char des_cbc_encrypt(); |
7215 | 7236 |
7216 int main() { | 7237 int main() { |
7217 des_cbc_encrypt() | 7238 des_cbc_encrypt() |
7218 ; return 0; } | 7239 ; return 0; } |
7219 EOF | 7240 EOF |
7220 if { (eval echo configure:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7241 if { (eval echo configure:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7221 rm -rf conftest* | 7242 rm -rf conftest* |
7222 eval "ac_cv_lib_$ac_lib_var=yes" | 7243 eval "ac_cv_lib_$ac_lib_var=yes" |
7223 else | 7244 else |
7224 echo "configure: failed program was:" >&5 | 7245 echo "configure: failed program was:" >&5 |
7225 cat conftest.$ac_ext >&5 | 7246 cat conftest.$ac_ext >&5 |
7241 LIBS="-ldes425 $LIBS" | 7262 LIBS="-ldes425 $LIBS" |
7242 | 7263 |
7243 else | 7264 else |
7244 echo "$ac_t""no" 1>&6 | 7265 echo "$ac_t""no" 1>&6 |
7245 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7266 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
7246 echo "configure:7247: checking for des_cbc_encrypt in -ldes" >&5 | 7267 echo "configure:7268: checking for des_cbc_encrypt in -ldes" >&5 |
7247 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7268 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7249 echo $ac_n "(cached) $ac_c" 1>&6 | 7270 echo $ac_n "(cached) $ac_c" 1>&6 |
7250 else | 7271 else |
7251 ac_save_LIBS="$LIBS" | 7272 ac_save_LIBS="$LIBS" |
7252 LIBS="-ldes $LIBS" | 7273 LIBS="-ldes $LIBS" |
7253 cat > conftest.$ac_ext <<EOF | 7274 cat > conftest.$ac_ext <<EOF |
7254 #line 7255 "configure" | 7275 #line 7276 "configure" |
7255 #include "confdefs.h" | 7276 #include "confdefs.h" |
7256 /* Override any gcc2 internal prototype to avoid an error. */ | 7277 /* Override any gcc2 internal prototype to avoid an error. */ |
7257 /* We use char because int might match the return type of a gcc2 | 7278 /* We use char because int might match the return type of a gcc2 |
7258 builtin and then its argument prototype would still apply. */ | 7279 builtin and then its argument prototype would still apply. */ |
7259 char des_cbc_encrypt(); | 7280 char des_cbc_encrypt(); |
7260 | 7281 |
7261 int main() { | 7282 int main() { |
7262 des_cbc_encrypt() | 7283 des_cbc_encrypt() |
7263 ; return 0; } | 7284 ; return 0; } |
7264 EOF | 7285 EOF |
7265 if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7286 if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7266 rm -rf conftest* | 7287 rm -rf conftest* |
7267 eval "ac_cv_lib_$ac_lib_var=yes" | 7288 eval "ac_cv_lib_$ac_lib_var=yes" |
7268 else | 7289 else |
7269 echo "configure: failed program was:" >&5 | 7290 echo "configure: failed program was:" >&5 |
7270 cat conftest.$ac_ext >&5 | 7291 cat conftest.$ac_ext >&5 |
7290 fi | 7311 fi |
7291 | 7312 |
7292 fi | 7313 fi |
7293 | 7314 |
7294 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7315 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
7295 echo "configure:7296: checking for krb_get_cred in -lkrb4" >&5 | 7316 echo "configure:7317: checking for krb_get_cred in -lkrb4" >&5 |
7296 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7317 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7318 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7298 echo $ac_n "(cached) $ac_c" 1>&6 | 7319 echo $ac_n "(cached) $ac_c" 1>&6 |
7299 else | 7320 else |
7300 ac_save_LIBS="$LIBS" | 7321 ac_save_LIBS="$LIBS" |
7301 LIBS="-lkrb4 $LIBS" | 7322 LIBS="-lkrb4 $LIBS" |
7302 cat > conftest.$ac_ext <<EOF | 7323 cat > conftest.$ac_ext <<EOF |
7303 #line 7304 "configure" | 7324 #line 7325 "configure" |
7304 #include "confdefs.h" | 7325 #include "confdefs.h" |
7305 /* Override any gcc2 internal prototype to avoid an error. */ | 7326 /* Override any gcc2 internal prototype to avoid an error. */ |
7306 /* We use char because int might match the return type of a gcc2 | 7327 /* We use char because int might match the return type of a gcc2 |
7307 builtin and then its argument prototype would still apply. */ | 7328 builtin and then its argument prototype would still apply. */ |
7308 char krb_get_cred(); | 7329 char krb_get_cred(); |
7309 | 7330 |
7310 int main() { | 7331 int main() { |
7311 krb_get_cred() | 7332 krb_get_cred() |
7312 ; return 0; } | 7333 ; return 0; } |
7313 EOF | 7334 EOF |
7314 if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7335 if { (eval echo configure:7336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7315 rm -rf conftest* | 7336 rm -rf conftest* |
7316 eval "ac_cv_lib_$ac_lib_var=yes" | 7337 eval "ac_cv_lib_$ac_lib_var=yes" |
7317 else | 7338 else |
7318 echo "configure: failed program was:" >&5 | 7339 echo "configure: failed program was:" >&5 |
7319 cat conftest.$ac_ext >&5 | 7340 cat conftest.$ac_ext >&5 |
7335 LIBS="-lkrb4 $LIBS" | 7356 LIBS="-lkrb4 $LIBS" |
7336 | 7357 |
7337 else | 7358 else |
7338 echo "$ac_t""no" 1>&6 | 7359 echo "$ac_t""no" 1>&6 |
7339 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7360 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
7340 echo "configure:7341: checking for krb_get_cred in -lkrb" >&5 | 7361 echo "configure:7362: checking for krb_get_cred in -lkrb" >&5 |
7341 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7362 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7343 echo $ac_n "(cached) $ac_c" 1>&6 | 7364 echo $ac_n "(cached) $ac_c" 1>&6 |
7344 else | 7365 else |
7345 ac_save_LIBS="$LIBS" | 7366 ac_save_LIBS="$LIBS" |
7346 LIBS="-lkrb $LIBS" | 7367 LIBS="-lkrb $LIBS" |
7347 cat > conftest.$ac_ext <<EOF | 7368 cat > conftest.$ac_ext <<EOF |
7348 #line 7349 "configure" | 7369 #line 7370 "configure" |
7349 #include "confdefs.h" | 7370 #include "confdefs.h" |
7350 /* Override any gcc2 internal prototype to avoid an error. */ | 7371 /* Override any gcc2 internal prototype to avoid an error. */ |
7351 /* We use char because int might match the return type of a gcc2 | 7372 /* We use char because int might match the return type of a gcc2 |
7352 builtin and then its argument prototype would still apply. */ | 7373 builtin and then its argument prototype would still apply. */ |
7353 char krb_get_cred(); | 7374 char krb_get_cred(); |
7354 | 7375 |
7355 int main() { | 7376 int main() { |
7356 krb_get_cred() | 7377 krb_get_cred() |
7357 ; return 0; } | 7378 ; return 0; } |
7358 EOF | 7379 EOF |
7359 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7380 if { (eval echo configure:7381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7360 rm -rf conftest* | 7381 rm -rf conftest* |
7361 eval "ac_cv_lib_$ac_lib_var=yes" | 7382 eval "ac_cv_lib_$ac_lib_var=yes" |
7362 else | 7383 else |
7363 echo "configure: failed program was:" >&5 | 7384 echo "configure: failed program was:" >&5 |
7364 cat conftest.$ac_ext >&5 | 7385 cat conftest.$ac_ext >&5 |
7390 if test "${with_kerberos5+set}" = set; then | 7411 if test "${with_kerberos5+set}" = set; then |
7391 for ac_hdr in krb5.h | 7412 for ac_hdr in krb5.h |
7392 do | 7413 do |
7393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7395 echo "configure:7396: checking for $ac_hdr" >&5 | 7416 echo "configure:7417: checking for $ac_hdr" >&5 |
7396 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7397 echo $ac_n "(cached) $ac_c" 1>&6 | 7418 echo $ac_n "(cached) $ac_c" 1>&6 |
7398 else | 7419 else |
7399 cat > conftest.$ac_ext <<EOF | 7420 cat > conftest.$ac_ext <<EOF |
7400 #line 7401 "configure" | 7421 #line 7422 "configure" |
7401 #include "confdefs.h" | 7422 #include "confdefs.h" |
7402 #include <$ac_hdr> | 7423 #include <$ac_hdr> |
7403 EOF | 7424 EOF |
7404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7405 { (eval echo configure:7406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7426 { (eval echo configure:7427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7407 if test -z "$ac_err"; then | 7428 if test -z "$ac_err"; then |
7408 rm -rf conftest* | 7429 rm -rf conftest* |
7409 eval "ac_cv_header_$ac_safe=yes" | 7430 eval "ac_cv_header_$ac_safe=yes" |
7410 else | 7431 else |
7431 else | 7452 else |
7432 for ac_hdr in des.h | 7453 for ac_hdr in des.h |
7433 do | 7454 do |
7434 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7455 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7456 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7436 echo "configure:7437: checking for $ac_hdr" >&5 | 7457 echo "configure:7458: checking for $ac_hdr" >&5 |
7437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7438 echo $ac_n "(cached) $ac_c" 1>&6 | 7459 echo $ac_n "(cached) $ac_c" 1>&6 |
7439 else | 7460 else |
7440 cat > conftest.$ac_ext <<EOF | 7461 cat > conftest.$ac_ext <<EOF |
7441 #line 7442 "configure" | 7462 #line 7463 "configure" |
7442 #include "confdefs.h" | 7463 #include "confdefs.h" |
7443 #include <$ac_hdr> | 7464 #include <$ac_hdr> |
7444 EOF | 7465 EOF |
7445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7446 { (eval echo configure:7447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7448 if test -z "$ac_err"; then | 7469 if test -z "$ac_err"; then |
7449 rm -rf conftest* | 7470 rm -rf conftest* |
7450 eval "ac_cv_header_$ac_safe=yes" | 7471 eval "ac_cv_header_$ac_safe=yes" |
7451 else | 7472 else |
7468 echo "$ac_t""no" 1>&6 | 7489 echo "$ac_t""no" 1>&6 |
7469 for ac_hdr in kerberosIV/des.h | 7490 for ac_hdr in kerberosIV/des.h |
7470 do | 7491 do |
7471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7492 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7473 echo "configure:7474: checking for $ac_hdr" >&5 | 7494 echo "configure:7495: checking for $ac_hdr" >&5 |
7474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7475 echo $ac_n "(cached) $ac_c" 1>&6 | 7496 echo $ac_n "(cached) $ac_c" 1>&6 |
7476 else | 7497 else |
7477 cat > conftest.$ac_ext <<EOF | 7498 cat > conftest.$ac_ext <<EOF |
7478 #line 7479 "configure" | 7499 #line 7500 "configure" |
7479 #include "confdefs.h" | 7500 #include "confdefs.h" |
7480 #include <$ac_hdr> | 7501 #include <$ac_hdr> |
7481 EOF | 7502 EOF |
7482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7483 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7504 { (eval echo configure:7505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7485 if test -z "$ac_err"; then | 7506 if test -z "$ac_err"; then |
7486 rm -rf conftest* | 7507 rm -rf conftest* |
7487 eval "ac_cv_header_$ac_safe=yes" | 7508 eval "ac_cv_header_$ac_safe=yes" |
7488 else | 7509 else |
7505 echo "$ac_t""no" 1>&6 | 7526 echo "$ac_t""no" 1>&6 |
7506 for ac_hdr in kerberos/des.h | 7527 for ac_hdr in kerberos/des.h |
7507 do | 7528 do |
7508 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7529 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7509 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7530 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7510 echo "configure:7511: checking for $ac_hdr" >&5 | 7531 echo "configure:7532: checking for $ac_hdr" >&5 |
7511 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7512 echo $ac_n "(cached) $ac_c" 1>&6 | 7533 echo $ac_n "(cached) $ac_c" 1>&6 |
7513 else | 7534 else |
7514 cat > conftest.$ac_ext <<EOF | 7535 cat > conftest.$ac_ext <<EOF |
7515 #line 7516 "configure" | 7536 #line 7537 "configure" |
7516 #include "confdefs.h" | 7537 #include "confdefs.h" |
7517 #include <$ac_hdr> | 7538 #include <$ac_hdr> |
7518 EOF | 7539 EOF |
7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7541 { (eval echo configure:7542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7522 if test -z "$ac_err"; then | 7543 if test -z "$ac_err"; then |
7523 rm -rf conftest* | 7544 rm -rf conftest* |
7524 eval "ac_cv_header_$ac_safe=yes" | 7545 eval "ac_cv_header_$ac_safe=yes" |
7525 else | 7546 else |
7551 | 7572 |
7552 for ac_hdr in krb.h | 7573 for ac_hdr in krb.h |
7553 do | 7574 do |
7554 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7555 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7556 echo "configure:7557: checking for $ac_hdr" >&5 | 7577 echo "configure:7578: checking for $ac_hdr" >&5 |
7557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7558 echo $ac_n "(cached) $ac_c" 1>&6 | 7579 echo $ac_n "(cached) $ac_c" 1>&6 |
7559 else | 7580 else |
7560 cat > conftest.$ac_ext <<EOF | 7581 cat > conftest.$ac_ext <<EOF |
7561 #line 7562 "configure" | 7582 #line 7583 "configure" |
7562 #include "confdefs.h" | 7583 #include "confdefs.h" |
7563 #include <$ac_hdr> | 7584 #include <$ac_hdr> |
7564 EOF | 7585 EOF |
7565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7566 { (eval echo configure:7567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7587 { (eval echo configure:7588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7568 if test -z "$ac_err"; then | 7589 if test -z "$ac_err"; then |
7569 rm -rf conftest* | 7590 rm -rf conftest* |
7570 eval "ac_cv_header_$ac_safe=yes" | 7591 eval "ac_cv_header_$ac_safe=yes" |
7571 else | 7592 else |
7588 echo "$ac_t""no" 1>&6 | 7609 echo "$ac_t""no" 1>&6 |
7589 for ac_hdr in kerberosIV/krb.h | 7610 for ac_hdr in kerberosIV/krb.h |
7590 do | 7611 do |
7591 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7612 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7592 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7613 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7593 echo "configure:7594: checking for $ac_hdr" >&5 | 7614 echo "configure:7615: checking for $ac_hdr" >&5 |
7594 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7615 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7595 echo $ac_n "(cached) $ac_c" 1>&6 | 7616 echo $ac_n "(cached) $ac_c" 1>&6 |
7596 else | 7617 else |
7597 cat > conftest.$ac_ext <<EOF | 7618 cat > conftest.$ac_ext <<EOF |
7598 #line 7599 "configure" | 7619 #line 7620 "configure" |
7599 #include "confdefs.h" | 7620 #include "confdefs.h" |
7600 #include <$ac_hdr> | 7621 #include <$ac_hdr> |
7601 EOF | 7622 EOF |
7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7624 { (eval echo configure:7625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7605 if test -z "$ac_err"; then | 7626 if test -z "$ac_err"; then |
7606 rm -rf conftest* | 7627 rm -rf conftest* |
7607 eval "ac_cv_header_$ac_safe=yes" | 7628 eval "ac_cv_header_$ac_safe=yes" |
7608 else | 7629 else |
7625 echo "$ac_t""no" 1>&6 | 7646 echo "$ac_t""no" 1>&6 |
7626 for ac_hdr in kerberos/krb.h | 7647 for ac_hdr in kerberos/krb.h |
7627 do | 7648 do |
7628 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7649 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7629 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7650 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7630 echo "configure:7631: checking for $ac_hdr" >&5 | 7651 echo "configure:7652: checking for $ac_hdr" >&5 |
7631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7632 echo $ac_n "(cached) $ac_c" 1>&6 | 7653 echo $ac_n "(cached) $ac_c" 1>&6 |
7633 else | 7654 else |
7634 cat > conftest.$ac_ext <<EOF | 7655 cat > conftest.$ac_ext <<EOF |
7635 #line 7636 "configure" | 7656 #line 7657 "configure" |
7636 #include "confdefs.h" | 7657 #include "confdefs.h" |
7637 #include <$ac_hdr> | 7658 #include <$ac_hdr> |
7638 EOF | 7659 EOF |
7639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7640 { (eval echo configure:7641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7661 { (eval echo configure:7662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7642 if test -z "$ac_err"; then | 7663 if test -z "$ac_err"; then |
7643 rm -rf conftest* | 7664 rm -rf conftest* |
7644 eval "ac_cv_header_$ac_safe=yes" | 7665 eval "ac_cv_header_$ac_safe=yes" |
7645 else | 7666 else |
7672 fi | 7693 fi |
7673 for ac_hdr in com_err.h | 7694 for ac_hdr in com_err.h |
7674 do | 7695 do |
7675 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7696 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7697 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7677 echo "configure:7678: checking for $ac_hdr" >&5 | 7698 echo "configure:7699: checking for $ac_hdr" >&5 |
7678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7679 echo $ac_n "(cached) $ac_c" 1>&6 | 7700 echo $ac_n "(cached) $ac_c" 1>&6 |
7680 else | 7701 else |
7681 cat > conftest.$ac_ext <<EOF | 7702 cat > conftest.$ac_ext <<EOF |
7682 #line 7683 "configure" | 7703 #line 7704 "configure" |
7683 #include "confdefs.h" | 7704 #include "confdefs.h" |
7684 #include <$ac_hdr> | 7705 #include <$ac_hdr> |
7685 EOF | 7706 EOF |
7686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7687 { (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7708 { (eval echo configure:7709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7689 if test -z "$ac_err"; then | 7710 if test -z "$ac_err"; then |
7690 rm -rf conftest* | 7711 rm -rf conftest* |
7691 eval "ac_cv_header_$ac_safe=yes" | 7712 eval "ac_cv_header_$ac_safe=yes" |
7692 else | 7713 else |
7713 fi | 7734 fi |
7714 | 7735 |
7715 # Solaris requires -lintl if you want strerror (which calls dgettext) | 7736 # Solaris requires -lintl if you want strerror (which calls dgettext) |
7716 # to return localized messages. | 7737 # to return localized messages. |
7717 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 7738 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
7718 echo "configure:7719: checking for dgettext in -lintl" >&5 | 7739 echo "configure:7740: checking for dgettext in -lintl" >&5 |
7719 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 7740 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
7720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7721 echo $ac_n "(cached) $ac_c" 1>&6 | 7742 echo $ac_n "(cached) $ac_c" 1>&6 |
7722 else | 7743 else |
7723 ac_save_LIBS="$LIBS" | 7744 ac_save_LIBS="$LIBS" |
7724 LIBS="-lintl $LIBS" | 7745 LIBS="-lintl $LIBS" |
7725 cat > conftest.$ac_ext <<EOF | 7746 cat > conftest.$ac_ext <<EOF |
7726 #line 7727 "configure" | 7747 #line 7748 "configure" |
7727 #include "confdefs.h" | 7748 #include "confdefs.h" |
7728 /* Override any gcc2 internal prototype to avoid an error. */ | 7749 /* Override any gcc2 internal prototype to avoid an error. */ |
7729 /* We use char because int might match the return type of a gcc2 | 7750 /* We use char because int might match the return type of a gcc2 |
7730 builtin and then its argument prototype would still apply. */ | 7751 builtin and then its argument prototype would still apply. */ |
7731 char dgettext(); | 7752 char dgettext(); |
7732 | 7753 |
7733 int main() { | 7754 int main() { |
7734 dgettext() | 7755 dgettext() |
7735 ; return 0; } | 7756 ; return 0; } |
7736 EOF | 7757 EOF |
7737 if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7738 rm -rf conftest* | 7759 rm -rf conftest* |
7739 eval "ac_cv_lib_$ac_lib_var=yes" | 7760 eval "ac_cv_lib_$ac_lib_var=yes" |
7740 else | 7761 else |
7741 echo "configure: failed program was:" >&5 | 7762 echo "configure: failed program was:" >&5 |
7742 cat conftest.$ac_ext >&5 | 7763 cat conftest.$ac_ext >&5 |
7761 echo "$ac_t""no" 1>&6 | 7782 echo "$ac_t""no" 1>&6 |
7762 fi | 7783 fi |
7763 | 7784 |
7764 | 7785 |
7765 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7786 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7766 echo "configure:7767: checking whether localtime caches TZ" >&5 | 7787 echo "configure:7788: checking whether localtime caches TZ" >&5 |
7767 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 7788 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
7768 echo $ac_n "(cached) $ac_c" 1>&6 | 7789 echo $ac_n "(cached) $ac_c" 1>&6 |
7769 else | 7790 else |
7770 if test x$ac_cv_func_tzset = xyes; then | 7791 if test x$ac_cv_func_tzset = xyes; then |
7771 if test "$cross_compiling" = yes; then | 7792 if test "$cross_compiling" = yes; then |
7772 # If we have tzset, assume the worst when cross-compiling. | 7793 # If we have tzset, assume the worst when cross-compiling. |
7773 emacs_cv_localtime_cache=yes | 7794 emacs_cv_localtime_cache=yes |
7774 else | 7795 else |
7775 cat > conftest.$ac_ext <<EOF | 7796 cat > conftest.$ac_ext <<EOF |
7776 #line 7777 "configure" | 7797 #line 7798 "configure" |
7777 #include "confdefs.h" | 7798 #include "confdefs.h" |
7778 #include <time.h> | 7799 #include <time.h> |
7779 extern char **environ; | 7800 extern char **environ; |
7780 unset_TZ () | 7801 unset_TZ () |
7781 { | 7802 { |
7803 if (localtime (&now)->tm_hour != hour_unset) | 7824 if (localtime (&now)->tm_hour != hour_unset) |
7804 exit (1); | 7825 exit (1); |
7805 exit (0); | 7826 exit (0); |
7806 } | 7827 } |
7807 EOF | 7828 EOF |
7808 if { (eval echo configure:7809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7809 then | 7830 then |
7810 emacs_cv_localtime_cache=no | 7831 emacs_cv_localtime_cache=no |
7811 else | 7832 else |
7812 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7813 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7833 | 7854 |
7834 if test "x$HAVE_TIMEVAL" = xyes; then | 7855 if test "x$HAVE_TIMEVAL" = xyes; then |
7835 for ac_func in gettimeofday | 7856 for ac_func in gettimeofday |
7836 do | 7857 do |
7837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7838 echo "configure:7839: checking for $ac_func" >&5 | 7859 echo "configure:7860: checking for $ac_func" >&5 |
7839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7840 echo $ac_n "(cached) $ac_c" 1>&6 | 7861 echo $ac_n "(cached) $ac_c" 1>&6 |
7841 else | 7862 else |
7842 cat > conftest.$ac_ext <<EOF | 7863 cat > conftest.$ac_ext <<EOF |
7843 #line 7844 "configure" | 7864 #line 7865 "configure" |
7844 #include "confdefs.h" | 7865 #include "confdefs.h" |
7845 /* System header to define __stub macros and hopefully few prototypes, | 7866 /* System header to define __stub macros and hopefully few prototypes, |
7846 which can conflict with char $ac_func(); below. */ | 7867 which can conflict with char $ac_func(); below. */ |
7847 #include <assert.h> | 7868 #include <assert.h> |
7848 /* Override any gcc2 internal prototype to avoid an error. */ | 7869 /* Override any gcc2 internal prototype to avoid an error. */ |
7861 $ac_func(); | 7882 $ac_func(); |
7862 #endif | 7883 #endif |
7863 | 7884 |
7864 ; return 0; } | 7885 ; return 0; } |
7865 EOF | 7886 EOF |
7866 if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7887 if { (eval echo configure:7888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7867 rm -rf conftest* | 7888 rm -rf conftest* |
7868 eval "ac_cv_func_$ac_func=yes" | 7889 eval "ac_cv_func_$ac_func=yes" |
7869 else | 7890 else |
7870 echo "configure: failed program was:" >&5 | 7891 echo "configure: failed program was:" >&5 |
7871 cat conftest.$ac_ext >&5 | 7892 cat conftest.$ac_ext >&5 |
7886 echo "$ac_t""no" 1>&6 | 7907 echo "$ac_t""no" 1>&6 |
7887 fi | 7908 fi |
7888 done | 7909 done |
7889 | 7910 |
7890 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 7911 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
7891 echo "configure:7892: checking whether gettimeofday can accept two arguments" >&5 | 7912 echo "configure:7913: checking whether gettimeofday can accept two arguments" >&5 |
7892 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 7913 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
7893 echo $ac_n "(cached) $ac_c" 1>&6 | 7914 echo $ac_n "(cached) $ac_c" 1>&6 |
7894 else | 7915 else |
7895 cat > conftest.$ac_ext <<EOF | 7916 cat > conftest.$ac_ext <<EOF |
7896 #line 7897 "configure" | 7917 #line 7918 "configure" |
7897 #include "confdefs.h" | 7918 #include "confdefs.h" |
7898 | 7919 |
7899 #ifdef TIME_WITH_SYS_TIME | 7920 #ifdef TIME_WITH_SYS_TIME |
7900 #include <sys/time.h> | 7921 #include <sys/time.h> |
7901 #include <time.h> | 7922 #include <time.h> |
7909 int main() { | 7930 int main() { |
7910 struct timeval time; | 7931 struct timeval time; |
7911 gettimeofday (&time, 0); | 7932 gettimeofday (&time, 0); |
7912 ; return 0; } | 7933 ; return 0; } |
7913 EOF | 7934 EOF |
7914 if { (eval echo configure:7915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7935 if { (eval echo configure:7936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7915 rm -rf conftest* | 7936 rm -rf conftest* |
7916 emacs_cv_gettimeofday_two_arguments=yes | 7937 emacs_cv_gettimeofday_two_arguments=yes |
7917 else | 7938 else |
7918 echo "configure: failed program was:" >&5 | 7939 echo "configure: failed program was:" >&5 |
7919 cat conftest.$ac_ext >&5 | 7940 cat conftest.$ac_ext >&5 |
7932 fi | 7953 fi |
7933 fi | 7954 fi |
7934 | 7955 |
7935 if test "$ac_cv_func_gettimeofday" = yes; then | 7956 if test "$ac_cv_func_gettimeofday" = yes; then |
7936 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
7937 echo "configure:7938: checking for struct timezone" >&5 | 7958 echo "configure:7959: checking for struct timezone" >&5 |
7938 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 7959 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
7939 echo $ac_n "(cached) $ac_c" 1>&6 | 7960 echo $ac_n "(cached) $ac_c" 1>&6 |
7940 else | 7961 else |
7941 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7942 #line 7943 "configure" | 7963 #line 7964 "configure" |
7943 #include "confdefs.h" | 7964 #include "confdefs.h" |
7944 #include <sys/time.h> | 7965 #include <sys/time.h> |
7945 int main() { | 7966 int main() { |
7946 struct timezone tz; | 7967 struct timezone tz; |
7947 ; return 0; } | 7968 ; return 0; } |
7948 EOF | 7969 EOF |
7949 if { (eval echo configure:7950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7970 if { (eval echo configure:7971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7950 rm -rf conftest* | 7971 rm -rf conftest* |
7951 if test "$cross_compiling" = yes; then | 7972 if test "$cross_compiling" = yes; then |
7952 emacs_cv_struct_timezone=yes | 7973 emacs_cv_struct_timezone=yes |
7953 else | 7974 else |
7954 cat > conftest.$ac_ext <<EOF | 7975 cat > conftest.$ac_ext <<EOF |
7955 #line 7956 "configure" | 7976 #line 7977 "configure" |
7956 #include "confdefs.h" | 7977 #include "confdefs.h" |
7957 | 7978 |
7958 #ifdef TIME_WITH_SYS_TIME | 7979 #ifdef TIME_WITH_SYS_TIME |
7959 #include <sys/time.h> | 7980 #include <sys/time.h> |
7960 #include <time.h> | 7981 #include <time.h> |
7969 struct timeval time; | 7990 struct timeval time; |
7970 struct timezone dummy; | 7991 struct timezone dummy; |
7971 exit (gettimeofday (&time, &dummy)); | 7992 exit (gettimeofday (&time, &dummy)); |
7972 } | 7993 } |
7973 EOF | 7994 EOF |
7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7995 if { (eval echo configure:7996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7975 then | 7996 then |
7976 emacs_cv_struct_timezone=yes | 7997 emacs_cv_struct_timezone=yes |
7977 else | 7998 else |
7978 echo "configure: failed program was:" >&5 | 7999 echo "configure: failed program was:" >&5 |
7979 cat conftest.$ac_ext >&5 | 8000 cat conftest.$ac_ext >&5 |
7995 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 | 8016 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 |
7996 fi | 8017 fi |
7997 | 8018 |
7998 ok_so_far=yes | 8019 ok_so_far=yes |
7999 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8020 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8000 echo "configure:8001: checking for socket" >&5 | 8021 echo "configure:8022: checking for socket" >&5 |
8001 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8022 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
8002 echo $ac_n "(cached) $ac_c" 1>&6 | 8023 echo $ac_n "(cached) $ac_c" 1>&6 |
8003 else | 8024 else |
8004 cat > conftest.$ac_ext <<EOF | 8025 cat > conftest.$ac_ext <<EOF |
8005 #line 8006 "configure" | 8026 #line 8027 "configure" |
8006 #include "confdefs.h" | 8027 #include "confdefs.h" |
8007 /* System header to define __stub macros and hopefully few prototypes, | 8028 /* System header to define __stub macros and hopefully few prototypes, |
8008 which can conflict with char socket(); below. */ | 8029 which can conflict with char socket(); below. */ |
8009 #include <assert.h> | 8030 #include <assert.h> |
8010 /* Override any gcc2 internal prototype to avoid an error. */ | 8031 /* Override any gcc2 internal prototype to avoid an error. */ |
8023 socket(); | 8044 socket(); |
8024 #endif | 8045 #endif |
8025 | 8046 |
8026 ; return 0; } | 8047 ; return 0; } |
8027 EOF | 8048 EOF |
8028 if { (eval echo configure:8029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8049 if { (eval echo configure:8050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8029 rm -rf conftest* | 8050 rm -rf conftest* |
8030 eval "ac_cv_func_socket=yes" | 8051 eval "ac_cv_func_socket=yes" |
8031 else | 8052 else |
8032 echo "configure: failed program was:" >&5 | 8053 echo "configure: failed program was:" >&5 |
8033 cat conftest.$ac_ext >&5 | 8054 cat conftest.$ac_ext >&5 |
8046 fi | 8067 fi |
8047 | 8068 |
8048 if test $ok_so_far = yes; then | 8069 if test $ok_so_far = yes; then |
8049 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8070 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8050 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8071 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8051 echo "configure:8052: checking for netinet/in.h" >&5 | 8072 echo "configure:8073: checking for netinet/in.h" >&5 |
8052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8053 echo $ac_n "(cached) $ac_c" 1>&6 | 8074 echo $ac_n "(cached) $ac_c" 1>&6 |
8054 else | 8075 else |
8055 cat > conftest.$ac_ext <<EOF | 8076 cat > conftest.$ac_ext <<EOF |
8056 #line 8057 "configure" | 8077 #line 8078 "configure" |
8057 #include "confdefs.h" | 8078 #include "confdefs.h" |
8058 #include <netinet/in.h> | 8079 #include <netinet/in.h> |
8059 EOF | 8080 EOF |
8060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8061 { (eval echo configure:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8082 { (eval echo configure:8083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8063 if test -z "$ac_err"; then | 8084 if test -z "$ac_err"; then |
8064 rm -rf conftest* | 8085 rm -rf conftest* |
8065 eval "ac_cv_header_$ac_safe=yes" | 8086 eval "ac_cv_header_$ac_safe=yes" |
8066 else | 8087 else |
8082 | 8103 |
8083 fi | 8104 fi |
8084 if test $ok_so_far = yes; then | 8105 if test $ok_so_far = yes; then |
8085 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8106 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8086 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8107 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8087 echo "configure:8088: checking for arpa/inet.h" >&5 | 8108 echo "configure:8109: checking for arpa/inet.h" >&5 |
8088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8089 echo $ac_n "(cached) $ac_c" 1>&6 | 8110 echo $ac_n "(cached) $ac_c" 1>&6 |
8090 else | 8111 else |
8091 cat > conftest.$ac_ext <<EOF | 8112 cat > conftest.$ac_ext <<EOF |
8092 #line 8093 "configure" | 8113 #line 8114 "configure" |
8093 #include "confdefs.h" | 8114 #include "confdefs.h" |
8094 #include <arpa/inet.h> | 8115 #include <arpa/inet.h> |
8095 EOF | 8116 EOF |
8096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8097 { (eval echo configure:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8118 { (eval echo configure:8119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8099 if test -z "$ac_err"; then | 8120 if test -z "$ac_err"; then |
8100 rm -rf conftest* | 8121 rm -rf conftest* |
8101 eval "ac_cv_header_$ac_safe=yes" | 8122 eval "ac_cv_header_$ac_safe=yes" |
8102 else | 8123 else |
8130 EOF | 8151 EOF |
8131 | 8152 |
8132 fi | 8153 fi |
8133 | 8154 |
8134 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8155 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
8135 echo "configure:8136: checking whether system supports dynamic ptys" >&5 | 8156 echo "configure:8157: checking whether system supports dynamic ptys" >&5 |
8136 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8157 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
8137 echo "$ac_t""yes" 1>&6 | 8158 echo "$ac_t""yes" 1>&6 |
8138 cat >> confdefs.h <<\EOF | 8159 cat >> confdefs.h <<\EOF |
8139 #define HAVE_DEV_PTMX 1 | 8160 #define HAVE_DEV_PTMX 1 |
8140 EOF | 8161 EOF |
8142 else | 8163 else |
8143 echo "$ac_t""no" 1>&6 | 8164 echo "$ac_t""no" 1>&6 |
8144 fi | 8165 fi |
8145 | 8166 |
8146 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8167 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
8147 echo "configure:8148: checking for pid_t" >&5 | 8168 echo "configure:8169: checking for pid_t" >&5 |
8148 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8169 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8149 echo $ac_n "(cached) $ac_c" 1>&6 | 8170 echo $ac_n "(cached) $ac_c" 1>&6 |
8150 else | 8171 else |
8151 cat > conftest.$ac_ext <<EOF | 8172 cat > conftest.$ac_ext <<EOF |
8152 #line 8153 "configure" | 8173 #line 8174 "configure" |
8153 #include "confdefs.h" | 8174 #include "confdefs.h" |
8154 #include <sys/types.h> | 8175 #include <sys/types.h> |
8155 #if STDC_HEADERS | 8176 #if STDC_HEADERS |
8156 #include <stdlib.h> | 8177 #include <stdlib.h> |
8157 #include <stddef.h> | 8178 #include <stddef.h> |
8176 | 8197 |
8177 fi | 8198 fi |
8178 | 8199 |
8179 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8200 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8180 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8201 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8181 echo "configure:8182: checking for vfork.h" >&5 | 8202 echo "configure:8203: checking for vfork.h" >&5 |
8182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8183 echo $ac_n "(cached) $ac_c" 1>&6 | 8204 echo $ac_n "(cached) $ac_c" 1>&6 |
8184 else | 8205 else |
8185 cat > conftest.$ac_ext <<EOF | 8206 cat > conftest.$ac_ext <<EOF |
8186 #line 8187 "configure" | 8207 #line 8208 "configure" |
8187 #include "confdefs.h" | 8208 #include "confdefs.h" |
8188 #include <vfork.h> | 8209 #include <vfork.h> |
8189 EOF | 8210 EOF |
8190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8191 { (eval echo configure:8192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8212 { (eval echo configure:8213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8193 if test -z "$ac_err"; then | 8214 if test -z "$ac_err"; then |
8194 rm -rf conftest* | 8215 rm -rf conftest* |
8195 eval "ac_cv_header_$ac_safe=yes" | 8216 eval "ac_cv_header_$ac_safe=yes" |
8196 else | 8217 else |
8211 else | 8232 else |
8212 echo "$ac_t""no" 1>&6 | 8233 echo "$ac_t""no" 1>&6 |
8213 fi | 8234 fi |
8214 | 8235 |
8215 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8236 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8216 echo "configure:8217: checking for working vfork" >&5 | 8237 echo "configure:8238: checking for working vfork" >&5 |
8217 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8238 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
8218 echo $ac_n "(cached) $ac_c" 1>&6 | 8239 echo $ac_n "(cached) $ac_c" 1>&6 |
8219 else | 8240 else |
8220 if test "$cross_compiling" = yes; then | 8241 if test "$cross_compiling" = yes; then |
8221 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8242 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
8222 echo "configure:8223: checking for vfork" >&5 | 8243 echo "configure:8244: checking for vfork" >&5 |
8223 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8244 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
8224 echo $ac_n "(cached) $ac_c" 1>&6 | 8245 echo $ac_n "(cached) $ac_c" 1>&6 |
8225 else | 8246 else |
8226 cat > conftest.$ac_ext <<EOF | 8247 cat > conftest.$ac_ext <<EOF |
8227 #line 8228 "configure" | 8248 #line 8249 "configure" |
8228 #include "confdefs.h" | 8249 #include "confdefs.h" |
8229 /* System header to define __stub macros and hopefully few prototypes, | 8250 /* System header to define __stub macros and hopefully few prototypes, |
8230 which can conflict with char vfork(); below. */ | 8251 which can conflict with char vfork(); below. */ |
8231 #include <assert.h> | 8252 #include <assert.h> |
8232 /* Override any gcc2 internal prototype to avoid an error. */ | 8253 /* Override any gcc2 internal prototype to avoid an error. */ |
8245 vfork(); | 8266 vfork(); |
8246 #endif | 8267 #endif |
8247 | 8268 |
8248 ; return 0; } | 8269 ; return 0; } |
8249 EOF | 8270 EOF |
8250 if { (eval echo configure:8251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8251 rm -rf conftest* | 8272 rm -rf conftest* |
8252 eval "ac_cv_func_vfork=yes" | 8273 eval "ac_cv_func_vfork=yes" |
8253 else | 8274 else |
8254 echo "configure: failed program was:" >&5 | 8275 echo "configure: failed program was:" >&5 |
8255 cat conftest.$ac_ext >&5 | 8276 cat conftest.$ac_ext >&5 |
8267 fi | 8288 fi |
8268 | 8289 |
8269 ac_cv_func_vfork_works=$ac_cv_func_vfork | 8290 ac_cv_func_vfork_works=$ac_cv_func_vfork |
8270 else | 8291 else |
8271 cat > conftest.$ac_ext <<EOF | 8292 cat > conftest.$ac_ext <<EOF |
8272 #line 8273 "configure" | 8293 #line 8294 "configure" |
8273 #include "confdefs.h" | 8294 #include "confdefs.h" |
8274 /* Thanks to Paul Eggert for this test. */ | 8295 /* Thanks to Paul Eggert for this test. */ |
8275 #include <stdio.h> | 8296 #include <stdio.h> |
8276 #include <sys/types.h> | 8297 #include <sys/types.h> |
8277 #include <sys/stat.h> | 8298 #include <sys/stat.h> |
8362 || fstat(fileno(stdout), &st) != 0 | 8383 || fstat(fileno(stdout), &st) != 0 |
8363 ); | 8384 ); |
8364 } | 8385 } |
8365 } | 8386 } |
8366 EOF | 8387 EOF |
8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8368 then | 8389 then |
8369 ac_cv_func_vfork_works=yes | 8390 ac_cv_func_vfork_works=yes |
8370 else | 8391 else |
8371 echo "configure: failed program was:" >&5 | 8392 echo "configure: failed program was:" >&5 |
8372 cat conftest.$ac_ext >&5 | 8393 cat conftest.$ac_ext >&5 |