summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
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
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-25Fix dependencies and whitespace errorsAlbrecht Schlosser
No "real" code changes, but dependencies can affect building.
2022-08-24Add FL_EXPORT directives to support building shared libs with -no-undefinedManoloFLTK
2022-05-19Wayland platform: add support of FreeBSD version 13.1ManoloFLTK
2022-04-24Remove obsolete configure test for 'bool'Albrecht Schlosser
as discussed in fltk.coredev "RFC: autoconf test for 'bool' type" on Apr 12, 2021.
2022-04-04Remove obsolete config variable 'HAVE_LIBPNG_PNG_H'Albrecht Schlosser
This variable has never been used in the code. Configure and CMake look for a *working* libpng (HAVE_PNG) and set variable HAVE_PNG_H if the header <png.h> can be included. The alternative to include <libpng/png.h> is always used in the #else clause and doesn't need its own config variable. Configure and CMake log what they find, hence this extra variable is not necessary.
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-22Add support of configure --enable-wayland --disable-gl - Cont'd.ManoloFLTK
2022-03-22Add support of configure --enable-wayland --disable-glManoloFLTK
2022-03-05Wayland: fix configure-based buildManoloFLTK
2022-03-04Add the Wayland platform to FLTK 1.4 - continued.ManoloFLTK
2022-03-04Add the Wayland platform to FLTK 1.4ManoloFLTK
2021-12-18Generate FL/fl_config.h rather than FL/abi-version.hAlbrecht Schlosser
... as discussed in fltk.coredev in thread "RFC: introduce public config header <FL/fl_config.h>", see: https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ - Rename abi-version.h to fl_config.h, rename input files, update dependencies, .gitignore, CMake, configure and Makefiles. - Include Cairo options in FL/fl_config.h - Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency. - Include <FL/fl_config.h> in config.h and wherever necessary, fix include order (move FL/Fl.H to the top) and more. - Move USE_X11 to fl_config.h and rename to FLTK_USE_X11 - Do not include <config.h> in Cairo demo program which is no longer required in Cairo programs since FLTK 1.4.0
2021-11-26Fix for issue #254: remove hardware overlay support .ManoloFLTK
2021-11-26Fix for issue #253: Remove xdbe supportManoloFLTK
2021-07-21Call pthread's recursive mutex on Linux (Issue #245)Albrecht Schlosser
Add CMake test for PTHREAD_MUTEX_RECURSIVE Add autoconf/configure compile test for PTHREAD_MUTEX_RECURSIVE Replace "#ifdef PTHREAD_MUTEX_RECURSIVE" with "#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE" and define HAVE_PTHREAD_MUTEX_RECURSIVE in config.h
2021-07-17Fix macOS Apple Silicon architecture name (arm64)Michael R Sweet
2021-05-31Windows platform: use GDI+ to antialias oblique lines and curves.ManoloFLTK
2021-03-07autoconf: fix PNG buildAlbrecht Schlosser
configure didn't export HAVE_PNG_H and HAVE_LIBPNG_H to config.h
2021-03-01Fix cairo build (autoconf + CMake) + README'sAlbrecht Schlosser
- rewrite to use pkg-config with both autoconf + CMake - remove hardcoded library names - fix build dependencies and search directories - remove or replace old and unused variables - update README files To be done: - implement fallback for autoconf/configure if pkg-config is missing - fix pango build (uses cairo internally)
2021-02-17Rewrite Pango checks for autoconf/configureAlbrecht Schlosser
- disable "fallback mode" (don't use hardcoded flags and libs) - use pkg-config for pango flags and libs but don't *require* it [1] - enable CXXFLAGS and LDFLAGS usage for --enable-pango [1] if pkg-config is not available (installed) you can still use environment variables CFLAGS, CXXFLAGS, and LDFLAGS to enable Pango.
2021-02-16Fix whitespace errors (no code changes)Albrecht Schlosser
- remove trailing whitespace - convert tabs to spaces (configure.ac)
2021-02-16Fix 'configure --enable-pango'Albrecht Schlosser
Also change 'pango' to 'Pango' consistently in warning and error messages.
2021-02-15fix autoconf and MakefileAlbrecht Schlosser
do not delete config.sub and config.guess todo: remove misc/config.{sub|guess} ?