summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
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} ?
2021-02-13Finish first pass of modernizing autoconf source file.Michael R Sweet
2021-02-13Save work.Michael R Sweet
2021-02-13Save work on configure.ac modernization.Michael R Sweet
2020-10-29macOS: remove explicit paths /opt/sw and /sw from configure.acManoloFLTK
2020-10-28Pango ps (#148)ManoloFLTK
Use cairo-PostScript to output PostScript when pango is available. This allows to draw in vectorial form any script. Before, only the Latin script could be drawn to PostScript in vectorial form.
2020-08-30Fix to support macOS 11.0 "Big Sur"ManoloFLTK
2020-07-15CMake: refactor and reformat CMake filesAlbrecht Schlosser
- raise minimum CMake version from 2.6.3 to 3.2.3 (Jun 01, 2015) - indent all CMake files according to the CMP (2 col.) - refactor FLTK version number definitions and usage - unify CMake and autoconf/configure variable names: - FL_VERSION -> FLTK_VERSION - FL_MAJOR_VERSION -> FLTK_VERSION_MAJOR - etc. for _MINOR_ and _PATCH_, respectively - note: this does not affect FL_VERSION etc. in source code - generate "export headers" for all libraries (experimental: OFF) - port some forgotten goodies from branch-1.3 to master - merge and improve macro 'create_example' (WIP) - remove "temporary" options and code for older CMake versions - include and use 'GenerateExportHeader' (experimental, WIP: OFF) - note: created header files are not yet used - build only *one* DLL with Visual Studio (tested, works) - similar to the bundled IDE projects in 1.3.x - add some dynamically linked test/demo programs ('*-shared') if shared libraries are built (WIP) - split 'macros.cmake': use one file per macro
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-27Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.ManoloFLTK
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
2020-06-10Support cross-compilation with autotoolsAlbrecht Schlosser
We use the host system's `fluid` when cross-compiling. This must be executable as `fluid`, i.e. it must be in the PATH or otherwise defined, for instance as an alias.
2020-04-16Use pkg-config when available to detect pangoManoloFLTK
2020-04-15Try "pkg-config --cflags pangoxft" to detect presence of pangoManoloFLTK
2020-01-06Use pkg-config to support --enable-pango under DarwinManoloFLTK
2019-10-31Restore support of 'configure --enable-x11' with macOS 10.15 CatalinaManoloFLTK
2019-01-30 Fix for STR#3473 (and its duplicate STR#3507)ManoloFLTK
Recent Linux distribution have replaced the freetype-config command by pkg-config. The fix tries the new procedure with pkg-config and falls back to freetype-config if the new procedure fails.
2018-06-18Recent (circa early 2018) versions of the Mingw32 headers have changed the ↵Ian MacArthur
file header layout, breaking the build of fltk-1.4 for some users. These changes should give a working build once more - more complete rework is still needed to fully address the issues raised. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-25CMake + configure: improve generation of fltk-config.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-25Remove obsolete -DUSE_OPENGL32 from configure and fltk-config.Albrecht Schlosser
This definition was introduced in svn r6657 (STR #2147) but never used. The new driver model in FLTK 1.4 makes it (the intention described in STR #2147) even more obsolete. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-23CMake: Fix fltk-config for Windows and Unix/Linux.Albrecht Schlosser
This update ought to work with fltk-config [--use-images] [--use-gl] --compile <c source file> on both Windows and Unix/Linux when built with CMake. It was tested under Windows and Linux using fltk-config directly from the build tree, but it should work as well after installation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09Replace "WIN32" with "_WIN32" or "Windows".Albrecht Schlosser
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-15configure: add checks to avoid incompatible options --disable-xft and ↵Manolo Gouy
--enable-pango and to detect if pango is found but not Xft. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-08MacOS configure --enable-x11: add needed compilation option under MacOS 10.13Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-06Changed AC_CHECK_HEADER -> AC_CHECK_HEADERS, since two files are being ↵Greg Ercolano
tested, e.g. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-06Small fix to remove an extra paren introduced in r12153Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-03Add new Fl_SVG_Image class to support scalable vector graphics images using ↵Manolo Gouy
the (modified) nanosvg software. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-23Fix inverted configure logic for option --enable-print.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121