From 555048bee4c7b10b29cd2b1d1eaac0e97972fa07 Mon Sep 17 00:00:00 2001 From: eknauel Date: Tue, 4 May 2004 19:38:00 +0000 Subject: [PATCH] new option --with-ffi-tools --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 5f09561..367049a 100644 --- a/configure.in +++ b/configure.in @@ -23,6 +23,14 @@ dnl AC_SUBST(CFLAGS, "$CFLAGS -I${scsh_includes}") dnl AC_CHECK_HEADER([scheme48.h], [], dnl AC_MSG_FAILURE("Could not find scheme48.h")) +AC_ARG_WITH(ffi-tools, + AC_HELP_STRING([--with-ffi-tools=DIR], + [where to find ffi-tools.c and ffi-tools.h [/usr/local/include]]), + ffi_tools_prefix=$withval, + ffi_tools_prefix=/usr/local/include) +AC_SUBST(ffi_tools_prefix) +AC_SUBST(CFLAGS, "$CFLAGS -I${ffi_tools_prefix}") + AC_PATH_PROG([SCSH], [scsh], [-not found-], [$PATH]) if test "$SCSH" = "-not found-"; then AC_MSG_FAILURE("No scsh binary in path")