X-Git-Url: https://git.jsancho.org/?p=guile-assimp.git;a=blobdiff_plain;f=configure.ac;h=9934c258df05fb7feee4cd31965b3727f82385e8;hp=a84de5579e39b4e0f391254d71320db5dcbe95d6;hb=HEAD;hpb=9c753299c5306a5f896a2ec582221b341fc80a93 diff --git a/configure.ac b/configure.ac index a84de55..9934c25 100644 --- a/configure.ac +++ b/configure.ac @@ -21,15 +21,18 @@ along with this program. If not, see . ]) -AC_CONFIG_SRCDIR(assimp.scm) +AC_CONFIG_SRCDIR(src/assimp.scm) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign]) AM_SILENT_RULES([yes]) GUILE_PKG([2.2 2.0]) GUILE_PROGS -AC_CONFIG_FILES([Makefile]) +AC_CHECK_LIB([assimp], [aiImportFile], [], + [AC_MSG_FAILURE([assimp not found (required)])]) + +AC_CONFIG_FILES([Makefile src/Makefile]) AC_CONFIG_FILES([env], [chmod +x env]) AC_OUTPUT