This support becomes very difficult with recent macOS versions for the
approach used in 1.3 based on undefining __APPLE__.
[In contrast, the approach used in 1.4 that doesn't mess with __APPLE__
is still compatible with recent macOS versions].
Variables FL_XXX_VERSION (XXX = { MAJOR | MINOR | PATCH } ) have been
renamed to FLTK_VERSION_XXX for compatibility with CMake.
Note: FL_DSO_VERSION and FL_ABI_VERSION are not affected.
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.
There are still files that need changes, but with this commit the
majority of files is up-to-date.
Files left to be updated later:
- ANNOUNCEMENT partly done, needs RELEASE DATE !
- CHANGES up-to-date (?), but needs RELEASE DATE !
- KNOWN_BUGS.html needs more work (snapshot)
- maybe more (unknown)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Rewrite library and header configuration so HAVE_something is only set
in config.h if both library and header files are found.
Fix and enhance summary output to display _found_ options instead of
_requested_ options (e.g. don't show Xft if Xft was requested but not found).
Configure is aborted if Xft is requested explicitly but not found.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
A few more indenting and whitespace fixes:
- remove trailing spaces and tabs
- use a combination of tabs and spaces for indenting.
Note: most parts of configure.ac used tabs+spaces, but there were some
parts not consistent with this. Now tabs+spaces indenting is used
everywhere. This commit does not change functionality.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
autoconf --warnings=all displayed a long list of warnings about deprecated
macros and suggested to use autoupdate to fix these warnings.
This commit fixes all these warnings and replaces some more macros with
more modern ones while still maintaining compatibility with autoconf 2.50.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit and the following commits marked "Configure #x:" will
update the autoconf/configure system to a more future-proof state
while maintaining compatibility with autoconf 2.50:
- rename configure.in to configure.ac (this commit)
- replace deprecated configure macros with recommended ones
- simplify some configure macros (e.g. CHECK_HEADERS instead of CHECH_HEADER)
- improve indenting (clarify macro arguments)
- better (combined) header and library checks
- and some more small changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121