--- gforth/configure.in 2009/10/14 17:44:04 1.271 +++ gforth/configure.in 2010/01/02 17:47:03 1.274 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -#Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. +#Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. #This file is part of Gforth. @@ -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,4 +948,3 @@ ln -sf ../../../engine/config.h ../../.. [PACKAGE_VERSION=$PACKAGE_VERSION machine=$machine]) AC_OUTPUT -