summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2016-09-30Rename configure.in to configure.ac.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-12Remove uses of the '$(shell if test ...' syntax from Makefile that is not ↵Manolo Gouy
cross-platform git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01More configure.in quoting fixes.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01Fix quoting in configure.in.Albrecht Schlosser
There were two real errors (AC_MSG_ERROR, fixed in previous commit) and lots of less important missing quotes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01Bringing over fix [r11855] from 1.3 current to the porting branch.Greg Ercolano
Fixes problem with AC_MSG_ERROR() macro which was causing this error when e.g. the X11 libs weren't found: configure: line 410: test: aborting.: integer expression expected configure: error: Configure could not find required X11 libraries For info on correct use of AC_MSG_ERROR(), see: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Printing-Messages.html git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30Bump version numbers for next minor release: FLTK 1.4.0.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-28Prepare build configuration variables in Makefiles.Albrecht Schlosser
Introduce new Makefile variables BUILD_xxx in makeinclude file, generated by configure. These variables may be used to select files to be compiled, dependent on the build configuration. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-30Add configure and CMake checks for X11/Xregion.h.Albrecht Schlosser
Configure and CMake now both check if X11/Xregion.h exists on the build system and set HAVE_X11_XREGION_H in config.h accordingly. src/Fl_Pixmap.cxx: modified to use the configure test as proposed by Manolo in fltk.coredev on Dec 13 2015 in thread "Using X11 backend on OS X". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-15Better description of --enable-x11 by configure --helpManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-15Allow use of ./configure -enable-x11 on the Mac OS platformManolo Gouy
to create an X11-using version of FLTK. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12Fix fltk-config for CMake build.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12Make FL_ABI_VERSION configurable (STR #3161).Albrecht Schlosser
This commit adds the configure option --with-abiversion and the CMake option OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with FL_ABI_VERSION = 10304 (FLTK 1.3.4). For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that can be edited to change the ABI version before the FLTK lib is built. Note that this file MUST be copied to the include/FL directory if the IDE-built library is to be installed. The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e. 10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI). Todo: more tests and more documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-09No longer use "-framework AGL" link arguments on the mac with OpenGL apps.Manolo Gouy
This change in configure.in affects also fltk-config. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-25Rename confusing configure and Makefile (makeinclude) variable.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16Detect XRender supportLauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10[Version 1.3.4] Update version numbers - hopefully complete.Albrecht Schlosser
Note to devs: if I missed something, please mark follow-up commits with [Version 1.3.4] so we can find the necessary commits for version updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-07Update configure and makeinclude.in to get rid of version numbers in Makefiles.Albrecht Schlosser
configure is used to set all needed version numbers in makeinclude. makeinclude is included in Makefile's and the version numbers are used to build the correct shared libs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-17Add linker option -Wl,-no-undefined if supported (with configure check).Albrecht Schlosser
Experimental. Thanks to Greg for finding this option. If this option is supported by the linker, it is used when linking shared libraries like libfltk_gl.so. With this option linking of the shared library fails instead of postponing failure to linking programs with this library, if any undefined references exist in this library. See STR #3191. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30Cosmetic changes only in configure.in.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10418 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-28Fix a regression introduced in svn r10344 in autoconf/configure builds.Albrecht Schlosser
Shared library sizes were about 4x the usual size, because makeinclude and fltk-config always used "-g -O2", i.e. debugging compiler options. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10403 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05Missing version number updateAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-04Remove unused htmldoc from autoconf configure options.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-28Configure enhancements for Cygwin (STR #2974).Albrecht Schlosser
Remove obsolete -mno-cygwin option for Cygwin -> MinGW/WIN32 compilation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22Use the -fvisibility checks properly; needed to move ac_prog_cc and _cxx up ↵Lauri Kasanen
in the file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22Revert 10243, it broke the build for others.Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22Check for compiler support of -fvisibility and -fvisibility-inlines-hiddenLauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Include Xft results in fltk-config CFLAGS. STR #2893Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Enable symbol visibility on Linux, bringing a shared libfltk on par with ↵Lauri Kasanen
Windows. Also drops the size of libfltk.so nicely. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Use symbolic and sectioned builds if supported by the toolchain.Lauri Kasanen
These help both shared lib size, as well as app size when statically linking. STR #3097 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10230 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Add method to set any custom cursor, based on a Fl_RGB_Image object.Pierre Ossman
Also change our fallback cursors to use this method, so that fallback cursors are handled in a platform independent manner. STR #2660. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24Stop relying on uname and instead ask autoconf what platformPierre Ossman
we are building for. This makes cross compiling things a lot easier. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11STR 2636. Add ability to get notifications whenever thePierre Ossman
clipboard changes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-22Removed autoconf/configure and CMake tests and defines forAlbrecht Schlosser
unused function strtoll() [resolves one part of STR #2965]. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16Doh! Forgot to bump the copyright year...Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16I just noticed that when 1.3.2 was released, the FL_PATCH_VERSION in ↵Ian MacArthur
configure.in was left at 1 rather than being bumped to 2. Though the FL_PATCH_VERSION in Enumerations.H seems to be fine, I think. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06Upgrade version number to 1.3.1Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22Fixed linux 64 gcc 4.6.1 compilation problemsFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-07simplify MinGW install directory check.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-04STR#2600 again: under X11, dynamically load the libXrandr shared library.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30Fix STR#2600 : screens configuration changes are now detected under all ↵Manolo Gouy
platforms. Requires the RandR X extension. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-06Fix STR #2582 (Mac OS): The problem: under Mac OS, file config.h can be used ↵Manolo Gouy
with distinct architectures when using configure --with-archflags option, thus file config.h should not contain architecture-dependent definitions. The fix: 1) don't use autoconf's endianness determination procedure because it can't give a result that fits both big and little endian architectures. 2) have config.h include a mac-specific file under Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-03Fix the #define U64 part of STR #2582: don't define it for Mac OS because ↵Manolo Gouy
its value varies with architecture. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25Fix STR #2516: under MSys, the FLTK_DOCDIR config.h variable did not allowManolo Gouy
fluid to find its help files even if they are correctly installed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24Mac OS only: Added the architecture flags to the dynamic library-creating ↵Manolo Gouy
command in configure.in. Also, applied suggestion in "Fixing configure.in for OSX universal builds" from the fltk.development forum that architecture flags are not transmitted from configure to the fltk-config script. This brings 2 benefits: - A universal library can be prepared, and then used to build applications of any sort of architectures. - Makefiles using non-Apple compilers that don't know the -arch option can call fltk-config. This new behavior in now made clear in file README.OSX.txt. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-16Fix for STR #2313 (SunOS scandir exception) and avoid double check ofAlbrecht Schlosser
scandir() if the POSIX compatible header was found. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-14Fix threads configuration on Windows (Cygwin/MinGW), so that we don'tAlbrecht Schlosser
try to find libpthread, unless we use Cygwin with the Cygwin dll, since Windows always uses native threads. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-07More cross-compiling features in configure: using AC_PATH_TOOL instead ofAlbrecht Schlosser
AC_PATH_PROG for ar and windres to get the cross-tools' paths. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06Removed superfluous -mno-cygwin from MinGW builds and corrected spellingAlbrecht Schlosser
of "MinGW" and "Cygwin", where appropriate. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-23wix find windress when using crosscompileryuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121