summaryrefslogtreecommitdiff
path: root/fl_config.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-20 16:56:29 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-20 17:33:37 +0100
commit5df5daf78e135e0c8371012ffe56df5cae357755 (patch)
treeafd619b32d1f35b949f07b9dd35f0184400a1f93 /fl_config.in
parent9023648e6c182a4142894b3e6c1b309b699b0629 (diff)
Make the 'Forms' compatibility library 'fltk_forms' optional
This library is no longer needed in FLTK itself. There is only one demo program (test/forms.cxx) that uses it if it is built. The demo program displays a message if fltk_forms is not available. The default is 'enabled' for backwards compatibility but this may be changed to 'disabled' in a future version.
Diffstat (limited to 'fl_config.in')
-rw-r--r--fl_config.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/fl_config.in b/fl_config.in
index 444d85212..03c3abf57 100644
--- a/fl_config.in
+++ b/fl_config.in
@@ -1,7 +1,7 @@
/*
* Build configuration file for the Fast Light Tool Kit (FLTK).
*
- * Copyright 1998-2021 by Bill Spitzak and others.
+ * Copyright 1998-2023 by Bill Spitzak and others.
*
* This library is free software. Distribution and use rights are outlined in
* the file "COPYING" which should have been included with this file. If this
@@ -46,6 +46,15 @@
/*
+ * FLTK_HAVE_FORMS
+ *
+ * Do we have the Forms compatibility library available?
+*/
+
+#undef FLTK_HAVE_FORMS
+
+
+/*
* FLTK_USE_X11
*
* Do we use X11 for the current platform?