summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-05-09 16:19:12 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-05-09 16:19:12 +0200
commitfe0fcecd6185cad33f5a53354fb8af7b02c35d13 (patch)
treeb05e1f2f2e703677cb4a2ee14588fa4d9cc1c631 /configure.ac
parentac7b55d8bbd249e400c7b3282e50cd88ae8f71b6 (diff)
Fix "Provide --without-fluid configure option " (#725)
Add new --disable-fluid configure option.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1b2696b01..ac4ab6cfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,8 @@ AC_ARG_ENABLE([xinerama], AS_HELP_STRING([--disable-xinerama], [turn off Xineram
AC_ARG_ENABLE([xrender], AS_HELP_STRING([--disable-xrender], [turn off Xrender support]))
+AC_ARG_ENABLE([fluid], AS_HELP_STRING([--disable-fluid], [turn off fluid building]))
+
AS_CASE([$host_os], [cygwin* | mingw*], [
AC_ARG_ENABLE([gdiplus], AS_HELP_STRING([--disable-gdiplus], [don't use GDI+ for antialiased graphics]))
@@ -900,12 +902,15 @@ OSX_ONLY=:
THREADS=
LIBDECORDIR=""
LIBDECORDBUS=""
+FLUIDDIR=""
AC_ARG_WITH([links], AS_HELP_STRING([--with-links], [make header links for common misspellings (default=no)]))
INSTALL_DESKTOP=""
UNINSTALL_DESKTOP=""
+AS_IF([test x$enable_fluid != xno], [FLUIDDIR="fluid"])
+
AS_CASE([$host_os_gui], [cygwin* | mingw*], [
dnl Cygwin environment, using windows GDI ...
# Recent versions of Cygwin are seriously broken and the size
@@ -1409,6 +1414,8 @@ AC_SUBST([HLINKS])
AC_SUBST([OSX_ONLY])
AC_SUBST([THREADS])
+AC_SUBST([FLUIDDIR])
+
AC_SUBST([LIBDECORDIR])
AC_SUBST([LIBDECORDBUS])
@@ -1762,6 +1769,10 @@ AS_CASE([$host_os], [mingw*], [
echo " MSys docpath=$msyspath/local/share/doc/fltk"
])
+AS_IF([test x$enable_fluid != xno], [
+ echo "Build fluid: Yes"
+ ])
+
dnl
echo "Cross-compiling: $fltk_cross_compiling"
AS_IF([test "$fltk_cross_compiling" = "yes"], [