From 3beb45165a4e3aac8ab6a6a4add93eb4cd48eceb Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 30 Dec 2015 21:13:07 +0000 Subject: [CMake] config.h, part 2 - full compatibility with autoconf. This commit makes the file config.h generated by CMake 100% compatible with the one generated by autoconf/configure. Fixes in this commit: - Set FLTK_DATADIR and FLTK_DOCDIR with the same default values. Note: needs some cleanup, option values are not clear, '/fltk' is currently appended in export.cmake (needs improvement). - Simulation of autoconf macro AC_HEADER_DIRENT for correct definition of only one 'dirent' header file. - Fix more function checks: - dlsym - png_get_valid - png_set_tRNS_to_alpha - Improve "Big Endian" check for __APPLE__ (mac_endianness.h). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configh.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configh.in') diff --git a/configh.in b/configh.in index a60a0ca63..9412de3c5 100644 --- a/configh.in +++ b/configh.in @@ -2,7 +2,6 @@ * "$Id$" * * Configuration file for the Fast Light Tool Kit (FLTK). - * @configure_input@ * * Copyright 1998-2015 by Bill Spitzak and others. * @@ -21,8 +20,8 @@ * Where to find files... */ -#define FLTK_DATADIR "" -#define FLTK_DOCDIR "" +#define FLTK_DATADIR "" +#define FLTK_DOCDIR "" /* * BORDER_WIDTH: @@ -184,7 +183,7 @@ * * Byte order of your machine: 1 = big-endian, 0 = little-endian. */ - + #ifdef __APPLE__ #include #else -- cgit v1.2.3