--- gforth/configure.in 2009/12/31 15:32:35 1.273 +++ gforth/configure.in 2010/01/02 17:47:03 1.274 @@ -849,9 +849,17 @@ if test -n "$GNU_LIBTOOL" -a $ac_cv_lib_ build_libcc_named=build-libcc-named else build_libcc_named="" + AC_MSG_WARN([No GNU_LIBTOOL found, skip pre-building libcc-based libraries]) fi AC_SUBST(build_libcc_named) + +if test -z "$GNU_LIBTOOL"; then + AC_MSG_WARN([No GNU_LIBTOOL found, using "libtool" as name.]) + AC_MSG_WARN([libcc.fs won't work until you have installed (GNU) libtool.]) + GNU_LIBTOOL=libtool +fi + #check for libffi 2.x AC_CHECK_HEADER(ffi.h,FFI_H_NAME=ffi.h,) if test -z "$FFI_H_NAME"; then @@ -940,5 +948,3 @@ ln -sf ../../../engine/config.h ../../.. [PACKAGE_VERSION=$PACKAGE_VERSION machine=$machine]) AC_OUTPUT - -test -z "$GNU_LIBTOOL" && echo * Problem: no libtool found, libcc.fs will not work