version 1.309, 2012/06/27 20:49:34
|
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) |
Line 1066 chmod +x libforth
|
Line 1079 chmod +x libforth
|
chmod +x gforthker |
chmod +x gforthker |
test -d kernel||mkdir kernel |
test -d kernel||mkdir kernel |
if test $srcdir != "."; then ln -sf $srcdir/gforth.el .; fi |
if test $srcdir != "."; then ln -sf $srcdir/gforth.el .; fi |
$srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION |
$srcdir/mkinstalldirs include/gforth$ARCH/$PACKAGE_VERSION |
$srcdir/mkinstalldirs arch/$machine |
$srcdir/mkinstalldirs arch/$machine |
ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]], |
ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth$ARCH/$PACKAGE_VERSION]], |
[PACKAGE_VERSION=$PACKAGE_VERSION |
[PACKAGE_VERSION=$PACKAGE_VERSION |
machine=$machine]) |
machine=$machine |
|
ARCH=$ARCH]) |
AC_OUTPUT |
AC_OUTPUT |