summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fa45f8e..b4044f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,8 +51,10 @@ if test "x$FLTKCONFIG" = x; then
exit 1
fi
-CXXFLAGS="`$FLTKCONFIG --cflags` $CXXFLAGS"
-LIBS="`$FLTKCONFIG --ldflags` $LIBS"
+FLTKCXXFLAGS="`$FLTKCONFIG --cflags` $CXXFLAGS"
+FLTKLDFLAGS="`$FLTKCONFIG --ldflags` $LIBS"
+AC_SUBST(FLTKLDFLAGS)
+AC_SUBST(FLTKCXXFLAGS)
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT