897 |
test -n "$AWK" && break |
test -n "$AWK" && break |
898 |
done |
done |
899 |
|
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
set dummy gcc; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:904: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
ac_cv_prog_CC="gcc" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
|
|
|
if test -z "$CC"; then |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:934: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_prog_rejected=no |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
|
|
ac_prog_rejected=yes |
|
|
continue |
|
|
fi |
|
|
ac_cv_prog_CC="cc" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
if test $ac_prog_rejected = yes; then |
|
|
# We found a bogon in the path, so make sure we never use it. |
|
|
set dummy $ac_cv_prog_CC |
|
|
shift |
|
|
if test $# -gt 0; then |
|
|
# We chose a different compiler from the bogus one. |
|
|
# However, it has the same basename, so the bogon will be chosen |
|
|
# first if we set CC to just the basename; use the full file name. |
|
|
shift |
|
|
set dummy "$ac_dir/$ac_word" "$@" |
|
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
|
|
|
if test -z "$CC"; then |
|
|
case "`uname -s`" in |
|
|
*win32* | *WIN32*) |
|
|
# Extract the first word of "cl", so it can be a program name with args. |
|
|
set dummy cl; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:985: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
ac_cv_prog_CC="cl" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
|
fi |
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
echo "configure:1017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
|
ac_ext=c |
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
cat > conftest.$ac_ext << EOF |
|
|
|
|
|
#line 1028 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
main(){return(0);} |
|
|
EOF |
|
|
if { (eval echo configure:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
ac_cv_prog_cc_works=yes |
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
ac_cv_prog_cc_cross=no |
|
|
else |
|
|
ac_cv_prog_cc_cross=yes |
|
|
fi |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
|
fi |
|
|
rm -fr conftest* |
|
|
ac_ext=c |
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
|
|
if test $ac_cv_prog_cc_works = no; then |
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
|
fi |
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
echo "configure:1059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
echo "configure:1064: checking whether we are using GNU C" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
cat > conftest.c <<EOF |
|
|
#ifdef __GNUC__ |
|
|
yes; |
|
|
#endif |
|
|
EOF |
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
ac_cv_prog_gcc=yes |
|
|
else |
|
|
ac_cv_prog_gcc=no |
|
|
fi |
|
|
fi |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then |
|
|
GCC=yes |
|
|
else |
|
|
GCC= |
|
|
fi |
|
|
|
|
|
ac_test_CFLAGS="${CFLAGS+set}" |
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
CFLAGS= |
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
echo "configure:1092: checking whether ${CC-cc} accepts -g" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
echo 'void f(){}' > conftest.c |
|
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
|
|
ac_cv_prog_cc_g=yes |
|
|
else |
|
|
ac_cv_prog_cc_g=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
|
|
if test "$ac_test_CFLAGS" = set; then |
|
|
CFLAGS="$ac_save_CFLAGS" |
|
|
elif test $ac_cv_prog_cc_g = yes; then |
|
|
if test "$GCC" = yes; then |
|
|
CFLAGS="-g -O2" |
|
|
else |
|
|
CFLAGS="-g" |
|
|
fi |
|
|
else |
|
|
if test "$GCC" = yes; then |
|
|
CFLAGS="-O2" |
|
|
else |
|
|
CFLAGS= |
|
|
fi |
|
|
fi |
|
|
|
|
900 |
|
|
901 |
echo $ac_n "checking for host compiler""... $ac_c" 1>&6 |
echo $ac_n "checking for host compiler""... $ac_c" 1>&6 |
902 |
echo "configure:1125: checking for host compiler" >&5 |
echo "configure:903: checking for host compiler" >&5 |
903 |
if test "x$BUILD_CC" != x; then |
if test "x$BUILD_CC" != x; then |
904 |
# User set it. |
# User set it. |
905 |
echo "$ac_t""$BUILD_CC" 1>&6 |
echo "$ac_t""$BUILD_CC" 1>&6 |
906 |
CC=$BUILD_CC |
CC=$BUILD_CC |
907 |
elif test "$host" = "$target"; then |
elif test "$host" = "$build"; then |
908 |
BUILD_CC='${CC}' |
CC="gcc" |
909 |
echo "$ac_t""native, using target compiler" 1>&6 |
echo "$ac_t""native, using target compiler" 1>&6 |
910 |
else |
else |
911 |
rig_host=`echo "$host" | sed 's/[^a-zA-Z0-9_]/_/g'` |
rig_build=`echo "$build" | sed 's/[^a-zA-Z0-9_]/_/g'` |
912 |
if eval "test \"`echo '$''{'rig_cv_${rig_host}_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'rig_cv_${rig_build}_CC'+set}'`\" = set"; then |
913 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
914 |
else |
else |
915 |
ac_word="${host_alias}-gcc" |
ac_word="${build_alias}-gcc" |
916 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
917 |
for ac_dir in $PATH; do |
for ac_dir in $PATH; do |
918 |
test -z "$ac_dir" && ac_dir=. |
test -z "$ac_dir" && ac_dir=. |
919 |
if test -f $ac_dir/$ac_word; then |
if test -f $ac_dir/$ac_word; then |
920 |
eval rig_cv_${rig_host}_CC='$ac_word' |
eval rig_cv_${rig_build}_CC='$ac_word' |
921 |
break |
break |
922 |
fi |
fi |
923 |
done |
done |
924 |
IFS="$ac_save_ifs" |
IFS="$ac_save_ifs" |
925 |
fi |
fi |
926 |
|
|
927 |
eval BUILD_CC=\"\$rig_cv_${rig_host}_CC\" |
eval BUILD_CC=\"\$rig_cv_${rig_build}_CC\" |
928 |
if test "x$BUILD_CC" = x; then |
if test "x$BUILD_CC" = x; then |
929 |
echo "$ac_t""${host_alias}-gcc not found" 1>&6 |
echo "$ac_t""${build_alias}-gcc not found" 1>&6 |
930 |
BUILD_CC='${CC}' |
BUILD_CC='${CC}' |
931 |
echo "configure: warning: using target compiler ($CC) for host $host" 1>&2 |
echo "configure: warning: using target compiler ($CC) for build host $build" 1>&2 |
932 |
else |
else |
933 |
echo "$ac_t""${BUILD_CC}" 1>&6 |
echo "$ac_t""${BUILD_CC}" 1>&6 |
934 |
CC=$BUILD_CC |
CC=$BUILD_CC |
935 |
fi |
fi |
936 |
fi |
fi |
937 |
|
|
938 |
|
CFLAGS="-g -O2" |
939 |
|
|
940 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
941 |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
942 |
# incompatible versions: |
# incompatible versions: |
949 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
950 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
951 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
952 |
echo "configure:1173: checking for a BSD compatible install" >&5 |
echo "configure:953: checking for a BSD compatible install" >&5 |
953 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
954 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
955 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1002 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1003 |
|
|
1004 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1005 |
echo "configure:1226: checking whether ln -s works" >&5 |
echo "configure:1006: checking whether ln -s works" >&5 |
1006 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
1007 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1008 |
else |
else |
1027 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1028 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1029 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1030 |
echo "configure:1251: checking for $ac_word" >&5 |
echo "configure:1031: checking for $ac_word" >&5 |
1031 |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
1032 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1033 |
else |
else |
1058 |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
1059 |
|
|
1060 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1061 |
echo "configure:1282: checking how to run the C preprocessor" >&5 |
echo "configure:1062: checking how to run the C preprocessor" >&5 |
1062 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
1063 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
1064 |
CPP= |
CPP= |
1073 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
1074 |
# not just through cpp. |
# not just through cpp. |
1075 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1076 |
#line 1297 "configure" |
#line 1077 "configure" |
1077 |
#include "confdefs.h" |
#include "confdefs.h" |
1078 |
#include <assert.h> |
#include <assert.h> |
1079 |
Syntax Error |
Syntax Error |
1080 |
EOF |
EOF |
1081 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1082 |
{ (eval echo configure:1303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1083 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1084 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1085 |
: |
: |
1090 |
rm -rf conftest* |
rm -rf conftest* |
1091 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
1092 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1093 |
#line 1314 "configure" |
#line 1094 "configure" |
1094 |
#include "confdefs.h" |
#include "confdefs.h" |
1095 |
#include <assert.h> |
#include <assert.h> |
1096 |
Syntax Error |
Syntax Error |
1097 |
EOF |
EOF |
1098 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1099 |
{ (eval echo configure:1320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1100 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1101 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1102 |
: |
: |
1107 |
rm -rf conftest* |
rm -rf conftest* |
1108 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
1109 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1110 |
#line 1331 "configure" |
#line 1111 "configure" |
1111 |
#include "confdefs.h" |
#include "confdefs.h" |
1112 |
#include <assert.h> |
#include <assert.h> |
1113 |
Syntax Error |
Syntax Error |
1114 |
EOF |
EOF |
1115 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1116 |
{ (eval echo configure:1337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1117 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1118 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1119 |
: |
: |
1143 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1144 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1145 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1146 |
echo "configure:1367: checking for $ac_word" >&5 |
echo "configure:1147: checking for $ac_word" >&5 |
1147 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
1148 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1149 |
else |
else |
1176 |
# Extract the first word of "flex", so it can be a program name with args. |
# Extract the first word of "flex", so it can be a program name with args. |
1177 |
set dummy flex; ac_word=$2 |
set dummy flex; ac_word=$2 |
1178 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1179 |
echo "configure:1400: checking for $ac_word" >&5 |
echo "configure:1180: checking for $ac_word" >&5 |
1180 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
1181 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1182 |
else |
else |
1210 |
*) ac_lib=l ;; |
*) ac_lib=l ;; |
1211 |
esac |
esac |
1212 |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
1213 |
echo "configure:1434: checking for yywrap in -l$ac_lib" >&5 |
echo "configure:1214: checking for yywrap in -l$ac_lib" >&5 |
1214 |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
1215 |
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 |
1216 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1218 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1219 |
LIBS="-l$ac_lib $LIBS" |
LIBS="-l$ac_lib $LIBS" |
1220 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1221 |
#line 1442 "configure" |
#line 1222 "configure" |
1222 |
#include "confdefs.h" |
#include "confdefs.h" |
1223 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
1224 |
/* 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 |
1229 |
yywrap() |
yywrap() |
1230 |
; return 0; } |
; return 0; } |
1231 |
EOF |
EOF |
1232 |
if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1233 |
rm -rf conftest* |
rm -rf conftest* |
1234 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1235 |
else |
else |
1252 |
fi |
fi |
1253 |
|
|
1254 |
echo $ac_n "checking lex output file root""... $ac_c" 1>&6 |
echo $ac_n "checking lex output file root""... $ac_c" 1>&6 |
1255 |
echo "configure:1476: checking lex output file root" >&5 |
echo "configure:1256: checking lex output file root" >&5 |
1256 |
if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then |
1257 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1258 |
else |
else |
1273 |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
1274 |
|
|
1275 |
echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 |
echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 |
1276 |
echo "configure:1497: checking whether yytext is a pointer" >&5 |
echo "configure:1277: checking whether yytext is a pointer" >&5 |
1277 |
if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then |
1278 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1279 |
else |
else |
1285 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1286 |
LIBS="$LIBS $LEXLIB" |
LIBS="$LIBS $LEXLIB" |
1287 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1288 |
#line 1509 "configure" |
#line 1289 "configure" |
1289 |
#include "confdefs.h" |
#include "confdefs.h" |
1290 |
`cat $LEX_OUTPUT_ROOT.c` |
`cat $LEX_OUTPUT_ROOT.c` |
1291 |
int main() { |
int main() { |
1292 |
|
|
1293 |
; return 0; } |
; return 0; } |
1294 |
EOF |
EOF |
1295 |
if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1296 |
rm -rf conftest* |
rm -rf conftest* |
1297 |
ac_cv_prog_lex_yytext_pointer=yes |
ac_cv_prog_lex_yytext_pointer=yes |
1298 |
else |
else |
1315 |
|
|
1316 |
|
|
1317 |
echo $ac_n "checking for main in -lfl""... $ac_c" 1>&6 |
echo $ac_n "checking for main in -lfl""... $ac_c" 1>&6 |
1318 |
echo "configure:1539: checking for main in -lfl" >&5 |
echo "configure:1319: checking for main in -lfl" >&5 |
1319 |
ac_lib_var=`echo fl'_'main | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo fl'_'main | sed 'y%./+-%__p_%'` |
1320 |
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 |
1321 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1323 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
1324 |
LIBS="-lfl $LIBS" |
LIBS="-lfl $LIBS" |
1325 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1326 |
#line 1547 "configure" |
#line 1327 "configure" |
1327 |
#include "confdefs.h" |
#include "confdefs.h" |
1328 |
|
|
1329 |
int main() { |
int main() { |
1330 |
main() |
main() |
1331 |
; return 0; } |
; return 0; } |
1332 |
EOF |
EOF |
1333 |
if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1334 |
rm -rf conftest* |
rm -rf conftest* |
1335 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
1336 |
else |
else |
1359 |
|
|
1360 |
|
|
1361 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
1362 |
echo "configure:1583: checking for ANSI C header files" >&5 |
echo "configure:1363: checking for ANSI C header files" >&5 |
1363 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
1364 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1365 |
else |
else |
1366 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1367 |
#line 1588 "configure" |
#line 1368 "configure" |
1368 |
#include "confdefs.h" |
#include "confdefs.h" |
1369 |
#include <stdlib.h> |
#include <stdlib.h> |
1370 |
#include <stdarg.h> |
#include <stdarg.h> |
1372 |
#include <float.h> |
#include <float.h> |
1373 |
EOF |
EOF |
1374 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1375 |
{ (eval echo configure:1596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1376 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1377 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1378 |
rm -rf conftest* |
rm -rf conftest* |
1389 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
1390 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
1391 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1392 |
#line 1613 "configure" |
#line 1393 "configure" |
1393 |
#include "confdefs.h" |
#include "confdefs.h" |
1394 |
#include <string.h> |
#include <string.h> |
1395 |
EOF |
EOF |
1407 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
1408 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
1409 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1410 |
#line 1631 "configure" |
#line 1411 "configure" |
1411 |
#include "confdefs.h" |
#include "confdefs.h" |
1412 |
#include <stdlib.h> |
#include <stdlib.h> |
1413 |
EOF |
EOF |
1428 |
: |
: |
1429 |
else |
else |
1430 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1431 |
#line 1652 "configure" |
#line 1432 "configure" |
1432 |
#include "confdefs.h" |
#include "confdefs.h" |
1433 |
#include <ctype.h> |
#include <ctype.h> |
1434 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
1439 |
exit (0); } |
exit (0); } |
1440 |
|
|
1441 |
EOF |
EOF |
1442 |
if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1443 |
then |
then |
1444 |
: |
: |
1445 |
else |
else |
1463 |
fi |
fi |
1464 |
|
|
1465 |
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
1466 |
echo "configure:1687: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
echo "configure:1467: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
1467 |
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
1468 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1469 |
else |
else |
1470 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1471 |
#line 1692 "configure" |
#line 1472 "configure" |
1472 |
#include "confdefs.h" |
#include "confdefs.h" |
1473 |
#include <sys/types.h> |
#include <sys/types.h> |
1474 |
#include <sys/wait.h> |
#include <sys/wait.h> |
1484 |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
1485 |
; return 0; } |
; return 0; } |
1486 |
EOF |
EOF |
1487 |
if { (eval echo configure:1708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1488 |
rm -rf conftest* |
rm -rf conftest* |
1489 |
ac_cv_header_sys_wait_h=yes |
ac_cv_header_sys_wait_h=yes |
1490 |
else |
else |
1508 |
do |
do |
1509 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1510 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1511 |
echo "configure:1732: checking for $ac_hdr" >&5 |
echo "configure:1512: checking for $ac_hdr" >&5 |
1512 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1513 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1514 |
else |
else |
1515 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1516 |
#line 1737 "configure" |
#line 1517 "configure" |
1517 |
#include "confdefs.h" |
#include "confdefs.h" |
1518 |
#include <$ac_hdr> |
#include <$ac_hdr> |
1519 |
EOF |
EOF |
1520 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1521 |
{ (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1522 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1523 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
1524 |
rm -rf conftest* |
rm -rf conftest* |
1546 |
|
|
1547 |
|
|
1548 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
1549 |
echo "configure:1770: checking for working const" >&5 |
echo "configure:1550: checking for working const" >&5 |
1550 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
1551 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1552 |
else |
else |
1553 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1554 |
#line 1775 "configure" |
#line 1555 "configure" |
1555 |
#include "confdefs.h" |
#include "confdefs.h" |
1556 |
|
|
1557 |
int main() { |
int main() { |
1600 |
|
|
1601 |
; return 0; } |
; return 0; } |
1602 |
EOF |
EOF |
1603 |
if { (eval echo configure:1824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1604 |
rm -rf conftest* |
rm -rf conftest* |
1605 |
ac_cv_c_const=yes |
ac_cv_c_const=yes |
1606 |
else |
else |
1621 |
fi |
fi |
1622 |
|
|
1623 |
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
1624 |
echo "configure:1845: checking for pid_t" >&5 |
echo "configure:1625: checking for pid_t" >&5 |
1625 |
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
1626 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1627 |
else |
else |
1628 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1629 |
#line 1850 "configure" |
#line 1630 "configure" |
1630 |
#include "confdefs.h" |
#include "confdefs.h" |
1631 |
#include <sys/types.h> |
#include <sys/types.h> |
1632 |
#if STDC_HEADERS |
#if STDC_HEADERS |
1654 |
fi |
fi |
1655 |
|
|
1656 |
|
|
1657 |
|
|
1658 |
|
|
1659 |
|
|
1660 |
|
|
1661 |
for ac_func in strdup strtol |
for ac_func in strdup strtol |
1662 |
do |
do |
1663 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1664 |
echo "configure:1881: checking for $ac_func" >&5 |
echo "configure:1665: checking for $ac_func" >&5 |
1665 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1666 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1667 |
else |
else |
1668 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1669 |
#line 1886 "configure" |
#line 1670 "configure" |
1670 |
#include "confdefs.h" |
#include "confdefs.h" |
1671 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
1672 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
1689 |
|
|
1690 |
; return 0; } |
; return 0; } |
1691 |
EOF |
EOF |
1692 |
if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1693 |
rm -rf conftest* |
rm -rf conftest* |
1694 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
1695 |
else |
else |
1886 |
s%@MAKEINFO@%$MAKEINFO%g |
s%@MAKEINFO@%$MAKEINFO%g |
1887 |
s%@SET_MAKE@%$SET_MAKE%g |
s%@SET_MAKE@%$SET_MAKE%g |
1888 |
s%@AWK@%$AWK%g |
s%@AWK@%$AWK%g |
|
s%@CC@%$CC%g |
|
1889 |
s%@LN_S@%$LN_S%g |
s%@LN_S@%$LN_S%g |
1890 |
s%@YACC@%$YACC%g |
s%@YACC@%$YACC%g |
1891 |
s%@LEX@%$LEX%g |
s%@LEX@%$LEX%g |
1892 |
s%@LEXLIB@%$LEXLIB%g |
s%@LEXLIB@%$LEXLIB%g |
1893 |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
1894 |
s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g |
s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g |
1895 |
|
s%@TARGET_CC@%$TARGET_CC%g |
1896 |
|
s%@CC@%$CC%g |
1897 |
|
|
1898 |
CEOF |
CEOF |
1899 |
EOF |
EOF |