summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2025-03-06Remove autotools (configure/make) supportAlbrecht Schlosser
2025-02-21Bump version numbers to 1.4.2Albrecht Schlosser
2025-02-14Fix "fltk-config reports dep on gtk3 when it does not exist" (#1201)ManoloFLTK
2024-12-09Bump version numbers for release 1.4.1Albrecht Schlosser
To do: update CHANGES.txt with real info.
2024-11-04Correctly add weak-linked frameworks for increasingly high macOS versionsManoloFLTK
2024-08-10Fix tabs, trailing spaces, and update dependenciesAlbrecht Schlosser
2024-07-03Use pkg-config to find libpng - still does the simple test as a backup...Michael R Sweet
2024-06-16Link frameworks used by recent macOS versions with -weak_frameworkManoloFLTK
This allows FLTK apps to use the recent frameworks when they run on recent macOS versions even if the minimum supported macOS version of these apps is more ancient than the framework.
2024-06-14macOS 15.0 Sequoia: fix capture of window titlebarsManoloFLTK
The previous procedure using CGWindowListCreateImageFromArray() is obsoleted in macOS 15.0 . The new procedure requires an additional framework: ScreenCaptureKit; FLTK uses it only for macOS ≥ 15.0
2024-05-10Restore building with configure under Windows: add -lwinspoolManoloFLTK
2024-04-20Add "fl_" prefix to libdecor symbols when using the built-in copy of libdecorManoloFLTK
This allows client apps to use other versions of libdecor if they wish, just like what FLTK already does with libpng and libjpeg.
2024-04-18Allow libdecor package version ≥ 0.2.0 with FLTK_USE_SYSTEM_LIBDECORManoloFLTK
2024-04-02Add replacement for potentially missing trunc() (#944)Albrecht Schlosser
- add configure + CMake checks to define HAVE_TRUNC in config.h - src/Fl_Timeout.cxx: add local replacement function
2024-03-23macOS: remove deprecated use of property allowedFileTypes in class NSSavePanelManoloFLTK
The recommended replacement requires macos ≥ 11.0 and a new framework: UniformTypeIdentifiers
2024-03-21Remove "-no-pie" link option also from configure-based buildsManoloFLTK
2024-03-20Add configure option to build tests only on request (#940)Albrecht Schlosser
Option: ./configure --disable-test build test programs (default=yes) Thanks for the patch(es) to @michaelbaeuerle. I added `make test` to be able to build the test programs from the FLTK root directory if FLTK was configured with --disable-test.
2024-03-18Replace setenv() with putenv() on old systems (+937)Albrecht Schlosser
Add system check for setenv() function in configure and CMake.
2024-03-15Have FLTK use libdecor at version > 0.2.2ManoloFLTK
- it's no longer necessary to take care of the change in the layout of "struct libdecor" between versions ≤ 0.2.2 and > 0.2.2 of libdecor - version > 0.2.2 contains MR131, that is, it defines LIBDECOR_WINDOW_STATE_RESIZING so the hack to emulate it is no longer necessary - CMake option FLTK_USE_SYSTEM_LIBDECOR now requires libdecor version > 0.2.2 to be activated, otherwise the bundled libdecor is used - what will be the libdecor version after 0.2.2 (0.2.3? 0.3.0?) is not known as of today
2023-12-20Make the 'Forms' compatibility library 'fltk_forms' optionalAlbrecht Schlosser
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.
2023-12-07Remove "-mwindows" link option from CFLAGS and CXXFLAGSManoloFLTK
2023-12-02Fix error in configure-based buildManoloFLTK
2023-12-02Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by defaultManoloFLTK
This commit makes the default FLTK build setting use libdecor as packaged in Linux when the build system contains packages libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0. Otherwise, FLTK uses the bundled version of libdecor. This includes situations where package libdecor-0-dev is present in an earlier version.
2023-11-17Notify users that configure/make support will be dropped in 1.5.0Albrecht Schlosser
... as discussed in our video meeting on Nov 11.
2023-10-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-05-10Fix "Provide --without-fluid configure option" - cont'd (#725)ManoloFLTK
2023-05-09Fix "Provide --without-fluid configure option " (#725)ManoloFLTK
Add new --disable-fluid configure option.
2023-04-30Allow building Wayland platform without dbus (#726)ManoloFLTK
This commit supports configure-based builds without the dbus-dev package; CMake-based builds are expected to be changed in further commit.
2023-04-02Fix "recipe for target '../../src/xdg-decoration-protocol.c' failed" (#704)ManoloFLTK
2023-03-25configure: test jpeg lib before png and zlibAlbrecht Schlosser
For some obscure reason finding the jpeg lib *after* configuring for local zlib and/or local png lib failed and thus switched to using the local jpeg unexpectedly. Searching for jpeg libs before png/zlib fixes this issue. Note: this is a pragmatic fix (aka workaround) rather than fixing the underlying issue. It would be interesting to find out why this happened.
2023-03-09CMake: build shared libs with OPTION_CAIROEXT (issue #250)Albrecht Schlosser
- remove separate libfltk_cairo to avoid cyclic dependencies, but - keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility - move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx - add preliminary Cairo support for Visual Studio (MSVC) Static linking is not affected by this change, but users building with hand-made Makefiles will have to remove libfltk_cairo starting with FLTK 1.4.0. The dummy library can be linked for backwards compatibility but it will be removed later (in 1.4.x or 1.5.0). The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo if and only if FLTK is built with one of the Cairo options. This has always been the case for OPTION_CAIROEXT but is now also true if only OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo enabled shared FLTK library will also be linked with libcairo. The same is true for configure options --enable-cairo and --enable-cairoext, respectively. Preliminary Cairo support for MSVC now detects a Cairo installation using the CMake variable FLTK_CAIRO_DIR which must be set by the user. Note that this feature is temporary and may be changed in the future for a better and more comfortable version.
2023-02-16Wayland: remove libdecor/demo/* from FLTK source treeManoloFLTK
2023-02-06Remove usage of __APPLE_QUARTZ__ (#673)ManoloFLTK
2023-02-02Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ManoloFLTK
2023-01-21Move global FLTK options into new app fltk-admin (#560)Matthias Melcher
2023-01-16Fix shared library build on Solaris as requested by STR 3378Albrecht Schlosser
I couldn't test this though. Reference: https://www.fltk.org/str.php?L3378
2023-01-01Make sure that zlib and png are both local or system (#621)Matthias Melcher
Autoconf syncs png and zlib configuration Cmake png zlib selection
2022-12-08Fix trailing whitespaceAlbrecht Schlosser
2022-11-29Build hybrid Wayland/X11 w/ configure: check for Xinerama, et alManoloFLTK
2022-11-27fltk-config from configure: remove libdecor-related flags - cont'dManoloFLTK
2022-11-26fltk-config from configure: remove libdecor-related flagsManoloFLTK
2022-11-23Configure-based build: control presence of GL-related packagesManoloFLTK
2022-11-23Fix whitespace (trailing spaces)Albrecht Schlosser
2022-11-23Have OPTION_USE_WAYLAND / --enable-wayland set to ON by defaultManoloFLTK
2022-11-05Wayland + configure: take care of HAVE_GLXGETPROCADDRESSARBManoloFLTK
2022-11-01Fix trailing whitespaceAlbrecht Schlosser
2022-10-14macOS: restore "configure --enable-x11 --enable-usecairo" - cont'dManoloFLTK
2022-10-13macOS: restore "configure --enable-x11 --enable-usecairo"ManoloFLTK
2022-09-10New configure setting "--enable-wayland --disable-x11" to build pure Wayland ↵ManoloFLTK
platform.
2022-08-29Update dependencies, fix trailing whitespaceAlbrecht Schlosser