From 7f193b33048e6c270f7a6cd99dd31a94f03fe26c Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 12 Jan 2008 22:38:32 +0100 Subject: add flcurve --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2476943..fd814ac 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,7 @@ LDFLAGS="-g $LDFLAGS" AC_PROG_CC AC_LANG_C +AC_LANG_CPLUSPLUS # Checks for libraries. @@ -36,6 +37,17 @@ AC_FUNC_REALLOC AC_TYPE_SIGNAL AC_CHECK_FUNCS([strchr strdup strrchr strstr]) +# Check for fltk +AC_PATH_PROG(FLTKCONFIG,fltk-config) +if test "x$FLTKCONFIG" = x; then + echo "fltk-config not found" + exit 1 +fi + +CXXFLAGS="`$FLTKCONFIG --use-images --cflags` $CXXFLAGS" +LIBS="`$FLTKCONFIG --use-images --ldflags` $LIBS" + + # Check for lcms AC_CHECK_HEADERS([lcms.h], [], [echo "Error: lcms.h not found."; exit 1;]) AC_CHECK_LIB([lcms], [open], [], [echo "Error: liblcms.so not found."; exit 1;]) -- cgit v1.2.3