URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 201 to Rev 202
- ↔ Reverse comparison
Rev 201 → Rev 202
/trunk/or1ksim/configure
17,6 → 17,9
--enable-profiling generate profiling code" |
ac_help="$ac_help |
--disable-debugmod turns off debug module" |
ac_help="$ac_help |
--enable-impl=<arch> use <impl>-specific environment |
(one of: bender, mp3, default)" |
|
# Initialize some variables set by options. |
# The variables have the same names as the options, with |
574,7 → 577,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:578: checking host system type" >&5 |
echo "configure:581: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
595,7 → 598,7
echo "$ac_t""$host" 1>&6 |
|
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
echo "configure:599: checking target system type" >&5 |
echo "configure:602: checking target system type" >&5 |
|
target_alias=$target |
case "$target_alias" in |
613,7 → 616,7
echo "$ac_t""$target" 1>&6 |
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
echo "configure:617: checking build system type" >&5 |
echo "configure:620: checking build system type" >&5 |
|
build_alias=$build |
case "$build_alias" in |
647,7 → 650,7
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:651: checking for a BSD compatible install" >&5 |
echo "configure:654: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
700,7 → 703,7
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
echo "configure:704: checking whether build environment is sane" >&5 |
echo "configure:707: checking whether build environment is sane" >&5 |
# Just in case |
sleep 1 |
echo timestamp > conftestfile |
757,7 → 760,7
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:761: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:764: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
803,7 → 806,7
|
missing_dir=`cd $ac_aux_dir && pwd` |
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
echo "configure:807: checking for working aclocal" >&5 |
echo "configure:810: checking for working aclocal" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
816,7 → 819,7
fi |
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
echo "configure:820: checking for working autoconf" >&5 |
echo "configure:823: checking for working autoconf" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
829,7 → 832,7
fi |
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
echo "configure:833: checking for working automake" >&5 |
echo "configure:836: checking for working automake" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
842,7 → 845,7
fi |
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
echo "configure:846: checking for working autoheader" >&5 |
echo "configure:849: checking for working autoheader" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
855,7 → 858,7
fi |
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
echo "configure:859: checking for working makeinfo" >&5 |
echo "configure:862: checking for working makeinfo" >&5 |
# Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. |
883,7 → 886,7
fi |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
echo "configure:887: checking host system type" >&5 |
echo "configure:890: checking host system type" >&5 |
|
host_alias=$host |
case "$host_alias" in |
920,7 → 923,7
# 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:924: checking for $ac_word" >&5 |
echo "configure:927: 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 |
950,7 → 953,7
# 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:954: checking for $ac_word" >&5 |
echo "configure:957: 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 |
1001,7 → 1004,7
# 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:1005: checking for $ac_word" >&5 |
echo "configure:1008: 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 |
1033,7 → 1036,7
fi |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo "configure:1037: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:1040: 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. |
1044,12 → 1047,12
|
cat > conftest.$ac_ext << EOF |
|
#line 1048 "configure" |
#line 1051 "configure" |
#include "confdefs.h" |
|
main(){return(0);} |
EOF |
if { (eval echo configure:1053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1056: \"$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 |
1075,12 → 1078,12
{ 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:1079: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:1082: 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:1084: checking whether we are using GNU C" >&5 |
echo "configure:1087: 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 |
1089,7 → 1092,7
yes; |
#endif |
EOF |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1096: \"$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 |
1108,7 → 1111,7
ac_save_CFLAGS="$CFLAGS" |
CFLAGS= |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo "configure:1112: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:1115: 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 |
1140,7 → 1143,7
fi |
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo "configure:1144: checking how to run the C preprocessor" >&5 |
echo "configure:1147: checking how to run the C preprocessor" >&5 |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
CPP= |
1155,13 → 1158,13
# On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. |
cat > conftest.$ac_ext <<EOF |
#line 1159 "configure" |
#line 1162 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1172,13 → 1175,13
rm -rf conftest* |
CPP="${CC-cc} -E -traditional-cpp" |
cat > conftest.$ac_ext <<EOF |
#line 1176 "configure" |
#line 1179 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1189,13 → 1192,13
rm -rf conftest* |
CPP="${CC-cc} -nologo -E" |
cat > conftest.$ac_ext <<EOF |
#line 1193 "configure" |
#line 1196 "configure" |
#include "confdefs.h" |
#include <assert.h> |
Syntax Error |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
: |
1221,17 → 1224,17
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
echo "configure:1225: checking for minix/config.h" >&5 |
echo "configure:1228: checking for minix/config.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1230 "configure" |
#line 1233 "configure" |
#include "confdefs.h" |
#include <minix/config.h> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
rm -rf conftest* |
1270,7 → 1273,7
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:1274: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:1277: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1302,13 → 1305,13
|
if test $ac_cv_prog_gcc = yes; then |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo "configure:1306: checking whether ${CC-cc} needs -traditional" >&5 |
echo "configure:1309: checking whether ${CC-cc} needs -traditional" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
ac_pattern="Autoconf.*'x'" |
cat > conftest.$ac_ext <<EOF |
#line 1312 "configure" |
#line 1315 "configure" |
#include "confdefs.h" |
#include <sgtty.h> |
Autoconf TIOCGETP |
1326,7 → 1329,7
|
if test $ac_cv_prog_gcc_traditional = no; then |
cat > conftest.$ac_ext <<EOF |
#line 1330 "configure" |
#line 1333 "configure" |
#include "confdefs.h" |
#include <termio.h> |
Autoconf TCGETA |
1359,7 → 1362,7
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:1363: checking for a BSD compatible install" >&5 |
echo "configure:1366: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1414,7 → 1417,7
# Extract the first word of "ar", so it can be a program name with args. |
set dummy ar; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1418: checking for $ac_word" >&5 |
echo "configure:1421: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1444,7 → 1447,7
# Extract the first word of "ranlib", so it can be a program name with args. |
set dummy ranlib; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1448: checking for $ac_word" >&5 |
echo "configure:1451: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1477,12 → 1480,12
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:1481: checking return type of signal handlers" >&5 |
echo "configure:1484: checking return type of signal handlers" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1486 "configure" |
#line 1489 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <signal.h> |
1499,7 → 1502,7
int i; |
; return 0; } |
EOF |
if { (eval echo configure:1503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
ac_cv_type_signal=void |
else |
1518,12 → 1521,12
|
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 |
echo "configure:1522: checking whether stat file-mode macros are broken" >&5 |
echo "configure:1525: checking whether stat file-mode macros are broken" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1527 "configure" |
#line 1530 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <sys/stat.h> |
1578,12 → 1581,12
do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
echo "configure:1582: checking for $ac_hdr that defines DIR" >&5 |
echo "configure:1585: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1587 "configure" |
#line 1590 "configure" |
#include "confdefs.h" |
#include <sys/types.h> |
#include <$ac_hdr> |
1591,7 → 1594,7
DIR *dirp = 0; |
; return 0; } |
EOF |
if { (eval echo configure:1595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
eval "ac_cv_header_dirent_$ac_safe=yes" |
else |
1616,7 → 1619,7
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
if test $ac_header_dirent = dirent.h; then |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "configure:1620: checking for opendir in -ldir" >&5 |
echo "configure:1623: checking for opendir in -ldir" >&5 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1624,7 → 1627,7
ac_save_LIBS="$LIBS" |
LIBS="-ldir $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1628 "configure" |
#line 1631 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1635,7 → 1638,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1657,7 → 1660,7
|
else |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "configure:1661: checking for opendir in -lx" >&5 |
echo "configure:1664: checking for opendir in -lx" >&5 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1665,7 → 1668,7
ac_save_LIBS="$LIBS" |
LIBS="-lx $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1669 "configure" |
#line 1672 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1676,7 → 1679,7
opendir() |
; return 0; } |
EOF |
if { (eval echo configure:1680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1701,12 → 1704,12
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat |
do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:1705: checking for $ac_func" >&5 |
echo "configure:1708: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1710 "configure" |
#line 1713 "configure" |
#include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ |
1729,7 → 1732,7
|
; return 0; } |
EOF |
if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" |
else |
1754,7 → 1757,7
done |
|
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
echo "configure:1758: checking for working strcoll" >&5 |
echo "configure:1761: checking for working strcoll" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
1762,7 → 1765,7
ac_cv_func_strcoll_works=no |
else |
cat > conftest.$ac_ext <<EOF |
#line 1766 "configure" |
#line 1769 "configure" |
#include "confdefs.h" |
#include <string.h> |
main () |
1772,7 → 1775,7
strcoll ("123", "456") >= 0); |
} |
EOF |
if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then |
ac_cv_func_strcoll_works=yes |
else |
1800,17 → 1803,17
do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:1804: checking for $ac_hdr" >&5 |
echo "configure:1807: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
cat > conftest.$ac_ext <<EOF |
#line 1809 "configure" |
#line 1812 "configure" |
#include "confdefs.h" |
#include <$ac_hdr> |
EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then |
rm -rf conftest* |
1837,11 → 1840,31
done |
|
|
cat > conftest.$ac_ext <<EOF |
#line 1845 "configure" |
#include "confdefs.h" |
|
int main() { |
long long ll; unsigned long long ull; |
; return 0; } |
EOF |
if { (eval echo configure:1852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* |
cat >> confdefs.h <<\EOF |
#define CC_HAS_LONG_LONG 1 |
EOF |
|
else |
echo "configure: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
fi |
rm -f conftest* |
|
# Check whether --enable-readline or --disable-readline was given. |
if test "${enable_readline+set}" = set; then |
enableval="$enable_readline" |
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6 |
echo "configure:1845: checking for add_history in -lreadline" >&5 |
echo "configure:1868: checking for add_history in -lreadline" >&5 |
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 |
1849,7 → 1872,7
ac_save_LIBS="$LIBS" |
LIBS="-lreadline $LIBS" |
cat > conftest.$ac_ext <<EOF |
#line 1853 "configure" |
#line 1876 "configure" |
#include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 |
1860,7 → 1883,7
add_history() |
; return 0; } |
EOF |
if { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" |
else |
1906,8 → 1929,9
solaris*) LIBS="-lsocket -lnsl" ;; |
esac |
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6 |
echo "configure:1911: checking whether to enable profiling" >&5 |
echo "configure:1935: checking whether to enable profiling" >&5 |
# Check whether --enable-profiling or --disable-profiling was given. |
if test "${enable_profiling+set}" = set; then |
enableval="$enable_profiling" |
1921,7 → 1945,7
echo "$ac_t""${enable_profiling-no}" 1>&6 |
|
echo $ac_n "checking whether to disable CPU debugging module""... $ac_c" 1>&6 |
echo "configure:1925: checking whether to disable CPU debugging module" >&5 |
echo "configure:1949: checking whether to disable CPU debugging module" >&5 |
# Check whether --enable-debugmod or --disable-debugmod was given. |
if test "${enable_debugmod+set}" = set; then |
enableval="$enable_debugmod" |
1934,6 → 1958,32
|
echo "$ac_t""${disable_debugmod-no}" 1>&6 |
|
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6 |
echo "configure:1964: checking for implementation-specific data" >&5 |
# Check whether --enable-impl or --disable-impl was given. |
if test "${enable_impl+set}" = set; then |
enableval="$enable_impl" |
|
case "$enableval" in |
no|default) IMPL="DEFAULT" ;; |
mp3) IMPL="MP3" ;; |
bender) IMPL="BENDER" ;; |
*) |
echo "$ac_t""failed" 1>&6 |
{ echo "configure: error: bad --enable-impl option" 1>&2; exit 1; } |
;; |
esac |
|
fi |
|
echo "$ac_t""${IMPL=DEFAULT}" 1>&6 |
if test "$IMPL" = "DEFAULT" |
then |
echo "configure: warning: using default environment" 1>&2 |
fi |
IMPL="-DIMPL_$IMPL" |
|
BUILD_DIR=`pwd` |
|
|
1963,10 → 2013,9
-I\${top_srcdir}/pm -I\${top_srcdir}/pic" |
|
|
echo $(debugmod) |
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile" |
test -n "$debugmod" && CFLAGS="$CFLAGS $debugmod" |
echo $CFLAGS |
CFLAGS="$CFLAGS $IMPL" |
|
trap '' 1 2 15 |
cat > confcache <<\EOF |
2137,6 → 2186,7
s%@AR@%$AR%g |
s%@RANLIB@%$RANLIB%g |
s%@MAKE_SHELL@%$MAKE_SHELL%g |
s%@FPM@%$FPM%g |
s%@BUILD_DIR@%$BUILD_DIR%g |
s%@LOCAL_CFLAGS@%$LOCAL_CFLAGS%g |
s%@LOCAL_LDFLAGS@%$LOCAL_LDFLAGS%g |
/trunk/or1ksim/configure.in
60,6 → 60,15
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \ |
termcap.h termios.h termio.h sys/file.h locale.h) |
|
dnl check for "long long" (added by Erez) |
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG)) |
|
dnl check for long long |
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG)) |
|
dnl check for long long |
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG)) |
|
dnl check for GNU readline |
AC_ARG_ENABLE(readline, |
[ --enable-readline Use GNU readline], AC_CHECK_LIB(readline, add_history)) |
/trunk/or1ksim/config.h.in
19,8 → 19,13
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ |
#undef STAT_MACROS_BROKEN |
|
/* Some shared files require to know, whether we have |
execution functions defined. */ |
#define HAS_EXECUTION |
|
/* Whether the compiler supports 'long long'. */ |
#define CC_HAS_LONG_LONG |
|
/* Define if you have the lstat function. */ |
#undef HAVE_LSTAT |
|