version 1.310, 2012/07/02 21:59:10
|
version 1.312, 2012/07/21 00:06:59
|
Line 110 else
|
Line 110 else
|
platform=${withval} |
platform=${withval} |
fi]) |
fi]) |
|
|
|
AC_ARG_ENABLE(lib, |
|
AC_HELP_STRING([--enable-lib], |
|
[ Compile Gforth as shared library (default disabled).]), |
|
,enable_lib=no) |
|
if test "$enable_lib" != "no"; then |
|
AC_DEFINE(HAS_LIB,,[Define if you want to build as shared library]) |
|
libengines=libgforths |
|
libinstall=libinstall |
|
LIB_VERSION=0:8:0 |
|
fi |
|
AC_SUBST(libengines) |
|
AC_SUBST(libinstall) |
|
AC_SUBST(LIB_VERSION) |
|
|
AC_ARG_WITH(cross, |
AC_ARG_WITH(cross, |
AC_HELP_STRING([--with-cross=<arch>], |
AC_HELP_STRING([--with-cross=<arch>], |
[ Build gforth using a cross compiler.]), |
[ Build gforth using a cross compiler.]), |
Line 944 AC_CHECK_LIB(rt,clock_gettime)
|
Line 958 AC_CHECK_LIB(rt,clock_gettime)
|
if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_ltdl_lt_dlinit = yes; then |
if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_ltdl_lt_dlinit = yes; then |
build_libcc_named=build-libcc-named |
build_libcc_named=build-libcc-named |
else |
else |
build_libcc_named="" |
|
AC_MSG_WARN([No GNU_LIBTOOL found, skip pre-building libcc-based libraries]) |
AC_MSG_WARN([No GNU_LIBTOOL found, skip pre-building libcc-based libraries]) |
fi |
fi |
AC_SUBST(build_libcc_named) |
AC_SUBST(build_libcc_named) |