| build_libcc_named=build-libcc-named |
build_libcc_named=build-libcc-named |
| else |
else |
| build_libcc_named="" |
build_libcc_named="" |
| |
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) |
| |
|
| |
|
| |
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 |
#check for libffi 2.x |
| AC_CHECK_HEADER(ffi.h,FFI_H_NAME=ffi.h,) |
AC_CHECK_HEADER(ffi.h,FFI_H_NAME=ffi.h,) |
| if test -z "$FFI_H_NAME"; then |
if test -z "$FFI_H_NAME"; then |
| [PACKAGE_VERSION=$PACKAGE_VERSION |
[PACKAGE_VERSION=$PACKAGE_VERSION |
| machine=$machine]) |
machine=$machine]) |
| AC_OUTPUT |
AC_OUTPUT |
| |
|
| test -z "$GNU_LIBTOOL" && echo * Problem: no libtool found, libcc.fs will not work |
|