4710 |
|
|
4711 |
|
|
4712 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
4713 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
for ac_hdr in readline/readline.h |
4714 |
echo "configure:4715: checking for main in -lreadline" >&5 |
do |
4715 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4716 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4717 |
|
echo "configure:4718: checking for $ac_hdr" >&5 |
4718 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4719 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
4720 |
|
else |
4721 |
|
cat > conftest.$ac_ext <<EOF |
4722 |
|
#line 4723 "configure" |
4723 |
|
#include "confdefs.h" |
4724 |
|
#include <$ac_hdr> |
4725 |
|
EOF |
4726 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4727 |
|
{ (eval echo configure:4728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4728 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4729 |
|
if test -z "$ac_err"; then |
4730 |
|
rm -rf conftest* |
4731 |
|
eval "ac_cv_header_$ac_safe=yes" |
4732 |
|
else |
4733 |
|
echo "$ac_err" >&5 |
4734 |
|
echo "configure: failed program was:" >&5 |
4735 |
|
cat conftest.$ac_ext >&5 |
4736 |
|
rm -rf conftest* |
4737 |
|
eval "ac_cv_header_$ac_safe=no" |
4738 |
|
fi |
4739 |
|
rm -f conftest* |
4740 |
|
fi |
4741 |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4742 |
|
echo "$ac_t""yes" 1>&6 |
4743 |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
4744 |
|
cat >> confdefs.h <<EOF |
4745 |
|
#define $ac_tr_hdr 1 |
4746 |
|
EOF |
4747 |
|
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
4748 |
|
echo "configure:4749: checking for main in -lreadline" >&5 |
4749 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
4750 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4751 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4753 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
4754 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
4755 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4756 |
#line 4723 "configure" |
#line 4757 "configure" |
4757 |
#include "confdefs.h" |
#include "confdefs.h" |
4758 |
|
|
4759 |
int main() { |
int main() { |
4760 |
main() |
main() |
4761 |
; return 0; } |
; return 0; } |
4762 |
EOF |
EOF |
4763 |
if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4764 |
rm -rf conftest* |
rm -rf conftest* |
4765 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
4766 |
else |
else |
4779 |
#define HAVE_READLINE 1 |
#define HAVE_READLINE 1 |
4780 |
EOF |
EOF |
4781 |
|
|
4782 |
TLIBS="$TLIBS -lreadline -lncurses" |
TLIBS="$TLIBS -lreadline -lncurses" |
4783 |
RL_OBJS=gcl_readline.o |
RL_OBJS=gcl_readline.o |
4784 |
RL_LIB=mod/gcl_readline.o |
RL_LIB=mod/gcl_readline.o |
4785 |
else |
else |
4786 |
echo "$ac_t""no" 1>&6 |
echo "$ac_t""no" 1>&6 |
4787 |
fi |
fi |
4788 |
|
|
4789 |
|
else |
4790 |
|
echo "$ac_t""no" 1>&6 |
4791 |
|
fi |
4792 |
|
done |
4793 |
|
|
4794 |
fi |
fi |
4795 |
|
|
4796 |
|
|
4797 |
|
|
4798 |
|
|
4799 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
4800 |
echo "configure:4762: checking For network code for nsocket.c" >&5 |
echo "configure:4801: checking For network code for nsocket.c" >&5 |
4801 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4802 |
#line 4764 "configure" |
#line 4803 "configure" |
4803 |
#include "confdefs.h" |
#include "confdefs.h" |
4804 |
|
|
4805 |
#include <sys/time.h> |
#include <sys/time.h> |
4826 |
|
|
4827 |
; return 0; } |
; return 0; } |
4828 |
EOF |
EOF |
4829 |
if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4830 |
rm -rf conftest* |
rm -rf conftest* |
4831 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4832 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
4843 |
|
|
4844 |
|
|
4845 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
4846 |
echo "configure:4808: checking check for listen using fcntl" >&5 |
echo "configure:4847: checking check for listen using fcntl" >&5 |
4847 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4848 |
#line 4810 "configure" |
#line 4849 "configure" |
4849 |
#include "confdefs.h" |
#include "confdefs.h" |
4850 |
#include <stdio.h> |
#include <stdio.h> |
4851 |
#include <fcntl.h> |
#include <fcntl.h> |
4858 |
|
|
4859 |
; return 0; } |
; return 0; } |
4860 |
EOF |
EOF |
4861 |
if { (eval echo configure:4823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:4862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4862 |
rm -rf conftest* |
rm -rf conftest* |
4863 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
4864 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
4877 |
|
|
4878 |
|
|
4879 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
4880 |
echo "configure:4842: checking for profil" >&5 |
echo "configure:4881: checking for profil" >&5 |
4881 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
4882 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4883 |
else |
else |
4884 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4885 |
#line 4847 "configure" |
#line 4886 "configure" |
4886 |
#include "confdefs.h" |
#include "confdefs.h" |
4887 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4888 |
which can conflict with char profil(); below. */ |
which can conflict with char profil(); below. */ |
4905 |
|
|
4906 |
; return 0; } |
; return 0; } |
4907 |
EOF |
EOF |
4908 |
if { (eval echo configure:4870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4909 |
rm -rf conftest* |
rm -rf conftest* |
4910 |
eval "ac_cv_func_profil=yes" |
eval "ac_cv_func_profil=yes" |
4911 |
else |
else |
4930 |
|
|
4931 |
|
|
4932 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
4933 |
echo "configure:4895: checking for setenv" >&5 |
echo "configure:4934: checking for setenv" >&5 |
4934 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
4935 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4936 |
else |
else |
4937 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4938 |
#line 4900 "configure" |
#line 4939 "configure" |
4939 |
#include "confdefs.h" |
#include "confdefs.h" |
4940 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4941 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv(); below. */ |
4958 |
|
|
4959 |
; return 0; } |
; return 0; } |
4960 |
EOF |
EOF |
4961 |
if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4962 |
rm -rf conftest* |
rm -rf conftest* |
4963 |
eval "ac_cv_func_setenv=yes" |
eval "ac_cv_func_setenv=yes" |
4964 |
else |
else |
4984 |
|
|
4985 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
4986 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
4987 |
echo "configure:4949: checking for putenv" >&5 |
echo "configure:4988: checking for putenv" >&5 |
4988 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
4989 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4990 |
else |
else |
4991 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
4992 |
#line 4954 "configure" |
#line 4993 "configure" |
4993 |
#include "confdefs.h" |
#include "confdefs.h" |
4994 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4995 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv(); below. */ |
5012 |
|
|
5013 |
; return 0; } |
; return 0; } |
5014 |
EOF |
EOF |
5015 |
if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5016 |
rm -rf conftest* |
rm -rf conftest* |
5017 |
eval "ac_cv_func_putenv=yes" |
eval "ac_cv_func_putenv=yes" |
5018 |
else |
else |
5038 |
fi |
fi |
5039 |
|
|
5040 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
5041 |
echo "configure:5003: checking for _cleanup" >&5 |
echo "configure:5042: checking for _cleanup" >&5 |
5042 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
5043 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5044 |
else |
else |
5045 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5046 |
#line 5008 "configure" |
#line 5047 "configure" |
5047 |
#include "confdefs.h" |
#include "confdefs.h" |
5048 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5049 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup(); below. */ |
5066 |
|
|
5067 |
; return 0; } |
; return 0; } |
5068 |
EOF |
EOF |
5069 |
if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5070 |
rm -rf conftest* |
rm -rf conftest* |
5071 |
eval "ac_cv_func__cleanup=yes" |
eval "ac_cv_func__cleanup=yes" |
5072 |
else |
else |
5092 |
gcl_ok=no |
gcl_ok=no |
5093 |
|
|
5094 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5095 |
#line 5057 "configure" |
#line 5096 "configure" |
5096 |
#include "confdefs.h" |
#include "confdefs.h" |
5097 |
#include <ctype.h> |
#include <ctype.h> |
5098 |
EOF |
EOF |
5120 |
|
|
5121 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
5122 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
5123 |
echo "configure:5085: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo "configure:5124: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
5124 |
|
|
5125 |
case $system in |
case $system in |
5126 |
OSF*) |
OSF*) |
5151 |
|
|
5152 |
|
|
5153 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
5154 |
echo "configure:5116: checking check for SV_ONSTACK" >&5 |
echo "configure:5155: checking check for SV_ONSTACK" >&5 |
5155 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5156 |
#line 5118 "configure" |
#line 5157 "configure" |
5157 |
#include "confdefs.h" |
#include "confdefs.h" |
5158 |
#include <signal.h> |
#include <signal.h> |
5159 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
5162 |
|
|
5163 |
; return 0; } |
; return 0; } |
5164 |
EOF |
EOF |
5165 |
if { (eval echo configure:5127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5166 |
rm -rf conftest* |
rm -rf conftest* |
5167 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5168 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
5179 |
rm -f conftest* |
rm -f conftest* |
5180 |
|
|
5181 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
5182 |
echo "configure:5144: checking check for SIGSYS" >&5 |
echo "configure:5183: checking check for SIGSYS" >&5 |
5183 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5184 |
#line 5146 "configure" |
#line 5185 "configure" |
5185 |
#include "confdefs.h" |
#include "confdefs.h" |
5186 |
#include <signal.h> |
#include <signal.h> |
5187 |
int joe=SIGSYS; |
int joe=SIGSYS; |
5190 |
|
|
5191 |
; return 0; } |
; return 0; } |
5192 |
EOF |
EOF |
5193 |
if { (eval echo configure:5155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5194 |
rm -rf conftest* |
rm -rf conftest* |
5195 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5196 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
5208 |
|
|
5209 |
|
|
5210 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
5211 |
echo "configure:5173: checking check for SIGEMT" >&5 |
echo "configure:5212: checking check for SIGEMT" >&5 |
5212 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5213 |
#line 5175 "configure" |
#line 5214 "configure" |
5214 |
#include "confdefs.h" |
#include "confdefs.h" |
5215 |
#include <signal.h> |
#include <signal.h> |
5216 |
int joe=SIGEMT; |
int joe=SIGEMT; |
5219 |
|
|
5220 |
; return 0; } |
; return 0; } |
5221 |
EOF |
EOF |
5222 |
if { (eval echo configure:5184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5223 |
rm -rf conftest* |
rm -rf conftest* |
5224 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
5225 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
5243 |
do |
do |
5244 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5245 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5246 |
echo "configure:5208: checking for $ac_hdr" >&5 |
echo "configure:5247: checking for $ac_hdr" >&5 |
5247 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5248 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5249 |
else |
else |
5250 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5251 |
#line 5213 "configure" |
#line 5252 "configure" |
5252 |
#include "confdefs.h" |
#include "confdefs.h" |
5253 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5254 |
EOF |
EOF |
5255 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5256 |
{ (eval echo configure:5218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5257 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5258 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5259 |
rm -rf conftest* |
rm -rf conftest* |
5283 |
do |
do |
5284 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5285 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5286 |
echo "configure:5248: checking for $ac_hdr" >&5 |
echo "configure:5287: checking for $ac_hdr" >&5 |
5287 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5288 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5289 |
else |
else |
5290 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5291 |
#line 5253 "configure" |
#line 5292 "configure" |
5292 |
#include "confdefs.h" |
#include "confdefs.h" |
5293 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5294 |
EOF |
EOF |
5295 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5296 |
{ (eval echo configure:5258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5297 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5298 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
5299 |
rm -rf conftest* |
rm -rf conftest* |
5320 |
done |
done |
5321 |
|
|
5322 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5323 |
#line 5285 "configure" |
#line 5324 "configure" |
5324 |
#include "confdefs.h" |
#include "confdefs.h" |
5325 |
#include <signal.h> |
#include <signal.h> |
5326 |
long code; |
long code; |
5331 |
|
|
5332 |
; return 0; } |
; return 0; } |
5333 |
EOF |
EOF |
5334 |
if { (eval echo configure:5296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5335 |
rm -rf conftest* |
rm -rf conftest* |
5336 |
|
|
5337 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
5352 |
rm -f conftest* |
rm -f conftest* |
5353 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
5354 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5355 |
#line 5317 "configure" |
#line 5356 "configure" |
5356 |
#include "confdefs.h" |
#include "confdefs.h" |
5357 |
#include <signal.h> |
#include <signal.h> |
5358 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
5369 |
|
|
5370 |
; return 0; } |
; return 0; } |
5371 |
EOF |
EOF |
5372 |
if { (eval echo configure:5334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5373 |
rm -rf conftest* |
rm -rf conftest* |
5374 |
|
|
5375 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
5412 |
# Extract the first word of "emacs", so it can be a program name with args. |
# Extract the first word of "emacs", so it can be a program name with args. |
5413 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
5414 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5415 |
echo "configure:5377: checking for $ac_word" >&5 |
echo "configure:5416: checking for $ac_word" >&5 |
5416 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
5417 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5418 |
else |
else |
5460 |
EOF |
EOF |
5461 |
|
|
5462 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
5463 |
echo "configure:5425: checking emacs site lisp directory" >&5 |
echo "configure:5464: checking emacs site lisp directory" >&5 |
5464 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
5465 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5466 |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
5484 |
EOF |
EOF |
5485 |
|
|
5486 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
5487 |
echo "configure:5449: checking emacs default.el" >&5 |
echo "configure:5488: checking emacs default.el" >&5 |
5488 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
5489 |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
5490 |
else |
else |
5513 |
EOF |
EOF |
5514 |
|
|
5515 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
5516 |
echo "configure:5478: checking emacs info/dir" >&5 |
echo "configure:5517: checking emacs info/dir" >&5 |
5517 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
5518 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
5519 |
else |
else |
5531 |
|
|
5532 |
|
|
5533 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
5534 |
echo "configure:5496: checking for tcl/tk" >&5 |
echo "configure:5535: checking for tcl/tk" >&5 |
5535 |
|
|
5536 |
|
|
5537 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
5554 |
# Extract the first word of "tclsh", so it can be a program name with args. |
# Extract the first word of "tclsh", so it can be a program name with args. |
5555 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
5556 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5557 |
echo "configure:5519: checking for $ac_word" >&5 |
echo "configure:5558: checking for $ac_word" >&5 |
5558 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
5559 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5560 |
else |
else |
5654 |
fi |
fi |
5655 |
fi |
fi |
5656 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
5657 |
echo "configure:5619: checking for main in -llieee" >&5 |
echo "configure:5658: checking for main in -llieee" >&5 |
5658 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
5659 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5660 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5662 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
5663 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
5664 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5665 |
#line 5627 "configure" |
#line 5666 "configure" |
5666 |
#include "confdefs.h" |
#include "confdefs.h" |
5667 |
|
|
5668 |
int main() { |
int main() { |
5669 |
main() |
main() |
5670 |
; return 0; } |
; return 0; } |
5671 |
EOF |
EOF |
5672 |
if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5673 |
rm -rf conftest* |
rm -rf conftest* |
5674 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
5675 |
else |
else |
5734 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
5735 |
|
|
5736 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
5737 |
echo "configure:5699: checking alloca" >&5 |
echo "configure:5738: checking alloca" >&5 |
5738 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5739 |
gcl_ok=no |
gcl_ok=no |
5740 |
else |
else |
5741 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5742 |
#line 5704 "configure" |
#line 5743 "configure" |
5743 |
#include "confdefs.h" |
#include "confdefs.h" |
5744 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
5745 |
EOF |
EOF |
5746 |
if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5747 |
then |
then |
5748 |
: |
: |
5749 |
else |
else |
5766 |
gcl_ok=no |
gcl_ok=no |
5767 |
else |
else |
5768 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
5769 |
#line 5731 "configure" |
#line 5770 "configure" |
5770 |
#include "confdefs.h" |
#include "confdefs.h" |
5771 |
#include <alloca.h> |
#include <alloca.h> |
5772 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
5773 |
EOF |
EOF |
5774 |
if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5775 |
then |
then |
5776 |
: |
: |
5777 |
else |
else |
5832 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
5833 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
5834 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
5835 |
echo "configure:5797: checking Checking for buggy gcc version from redhat" >&5 |
echo "configure:5836: checking Checking for buggy gcc version from redhat" >&5 |
5836 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
5837 |
then |
then |
5838 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |