X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fconfigure.in;h=4ac594f2ec6104754ead43f6492dca71a24861eb;hb=44eff090172fe33c4fa48eb88ed3f1bb2d10be28;hp=4ec7f55faf8b343630367e256868e4ceec91e056;hpb=8c8f34ff4281a55d2f535335c02999246e9e12f2;p=fw%2Fsdcc diff --git a/sim/ucsim/configure.in b/sim/ucsim/configure.in index 4ec7f55f..4ac594f2 100644 --- a/sim/ucsim/configure.in +++ b/sim/ucsim/configure.in @@ -78,16 +78,32 @@ AC_SUBST(enable_z80) AC_SUBST(enable_xa) AC_SUBST(enable_serio) +AC_ARG_ENABLE(statistic, +[ --enable-statistic compile statistical features (slower simulation)], +if test $enable_statistic != "no"; then + enable_statistic="yes" +fi, +enable_statistic="no") +AC_DEFINE_UNQUOTED(STATISTIC, $enable_statistic) + + # Required programs #------------------- AC_PROG_CXX AC_PROG_CXXCPP AC_PROG_INSTALL AC_PROG_RANLIB -AC_LANG_CPLUSPLUS +dnl AC_LANG_CPLUSPLUS AC_CHECK_PROG(STRIP, strip, strip, :) +AC_LIBTOOL_DLOPEN +dnl AC_LIBTOOL_WIN32_DLL +AC_PROG_LIBTOOL +AC_SUBST(LIBTOOL_DEPS) + +AC_LANG_CPLUSPLUS + # Checking for header files. # =========================================================================== @@ -293,7 +309,7 @@ if test "$CC" = "i586-mingw32msvc-gcc"; then ac_cv_sizeof_long_long=4 fi -if test "$cross_compiling" == "no" +if test "$cross_compiling" = "no" then AC_C_BIGENDIAN else