Line 1797... |
Line 1797... |
|
|
fi
|
fi
|
|
|
for ac_hdr in unistd.h stdlib.h varargs.h stdarg.h string.h \
|
for ac_hdr in unistd.h stdlib.h varargs.h stdarg.h string.h \
|
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
|
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
|
termcap.h termios.h termio.h sys/file.h locale.h
|
termcap.h termios.h termio.h sys/file.h locale.h\
|
|
net/ethernet.h
|
do
|
do
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo "configure:1807: checking for $ac_hdr" >&5
|
echo "configure:1808: checking for $ac_hdr" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1812 "configure"
|
#line 1813 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include <$ac_hdr>
|
#include <$ac_hdr>
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_header_$ac_safe=yes"
|
eval "ac_cv_header_$ac_safe=yes"
|
else
|
else
|
Line 1839... |
Line 1840... |
fi
|
fi
|
done
|
done
|
|
|
|
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1845 "configure"
|
#line 1846 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
long long ll; unsigned long long ull;
|
long long ll; unsigned long long ull;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
#define CC_HAS_LONG_LONG 1
|
#define CC_HAS_LONG_LONG 1
|
EOF
|
EOF
|
|
|
Line 1862... |
Line 1863... |
|
|
# Check whether --enable-readline or --disable-readline was given.
|
# Check whether --enable-readline or --disable-readline was given.
|
if test "${enable_readline+set}" = set; then
|
if test "${enable_readline+set}" = set; then
|
enableval="$enable_readline"
|
enableval="$enable_readline"
|
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
|
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
|
echo "configure:1868: checking for add_history in -lreadline" >&5
|
echo "configure:1869: checking for add_history in -lreadline" >&5
|
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
|
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
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
LIBS="-lreadline $LIBS"
|
LIBS="-lreadline $LIBS"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1876 "configure"
|
#line 1877 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
builtin and then its argument prototype would still apply. */
|
builtin and then its argument prototype would still apply. */
|
char add_history();
|
char add_history();
|
|
|
int main() {
|
int main() {
|
add_history()
|
add_history()
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1929... |
Line 1930... |
solaris*) LIBS="-lsocket -lnsl" ;;
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
esac
|
esac
|
|
|
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
|
echo "configure:1935: checking whether to enable profiling" >&5
|
echo "configure:1936: checking whether to enable profiling" >&5
|
# Check whether --enable-profiling or --disable-profiling was given.
|
# Check whether --enable-profiling or --disable-profiling was given.
|
if test "${enable_profiling+set}" = set; then
|
if test "${enable_profiling+set}" = set; then
|
enableval="$enable_profiling"
|
enableval="$enable_profiling"
|
|
|
case "$enableval" in
|
case "$enableval" in
|
Line 1943... |
Line 1944... |
fi
|
fi
|
|
|
echo "$ac_t""${enable_profiling-no}" 1>&6
|
echo "$ac_t""${enable_profiling-no}" 1>&6
|
|
|
echo $ac_n "checking whether to disable CPU debugging module""... $ac_c" 1>&6
|
echo $ac_n "checking whether to disable CPU debugging module""... $ac_c" 1>&6
|
echo "configure:1949: checking whether to disable CPU debugging module" >&5
|
echo "configure:1950: checking whether to disable CPU debugging module" >&5
|
# Check whether --enable-debugmod or --disable-debugmod was given.
|
# Check whether --enable-debugmod or --disable-debugmod was given.
|
if test "${enable_debugmod+set}" = set; then
|
if test "${enable_debugmod+set}" = set; then
|
enableval="$enable_debugmod"
|
enableval="$enable_debugmod"
|
|
|
case "$enableval" in
|
case "$enableval" in
|
Line 1958... |
Line 1959... |
|
|
echo "$ac_t""${disable_debugmod-no}" 1>&6
|
echo "$ac_t""${disable_debugmod-no}" 1>&6
|
|
|
|
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
|
echo "configure:1964: checking for implementation-specific data" >&5
|
echo "configure:1965: checking for implementation-specific data" >&5
|
# Check whether --enable-impl or --disable-impl was given.
|
# Check whether --enable-impl or --disable-impl was given.
|
if test "${enable_impl+set}" = set; then
|
if test "${enable_impl+set}" = set; then
|
enableval="$enable_impl"
|
enableval="$enable_impl"
|
|
|
case "$enableval" in
|
case "$enableval" in
|