Manolo Gouy
9bdc310346
Fix STR#2600 : screens configuration changes are now detected under all platforms.
...
Requires the RandR X extension.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30 14:46:08 +00:00
Greg Ercolano
4f4a8fc3c7
Modifications to all LGPL headers for STR #2685 .
...
(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-07-19 04:49:30 +00:00
Manolo Gouy
937ddb60c1
Fix STR #2582 (Mac OS): The problem: under Mac OS, file config.h can be used 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-06 16:54:58 +00:00
Manolo Gouy
60bb67ba0e
Fix the #define U64 part of STR #2582 : don't define it for Mac OS because its value
...
varies with architecture.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-03 12:10:43 +00:00
Manolo Gouy
b693eac483
Fix STR #2516 : under MSys, the FLTK_DOCDIR config.h variable did not allow
...
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-25 22:19:09 +00:00
Manolo Gouy
8d9f90e416
Mac OS only: Added the architecture flags to the dynamic library-creating 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-24 10:27:33 +00:00
Albrecht Schlosser
eb0b154ffd
Fix for STR #2313 (SunOS scandir exception) and avoid double check of
...
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-16 12:33:56 +00:00
Albrecht Schlosser
884aba6086
Fix threads configuration on Windows (Cygwin/MinGW), so that we don't
...
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-14 18:11:15 +00:00
Albrecht Schlosser
97bafa2e04
More cross-compiling features in configure: using AC_PATH_TOOL instead of
...
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-07 14:30:30 +00:00
Albrecht Schlosser
84d0db1318
Removed superfluous -mno-cygwin from MinGW builds and corrected spelling
...
of "MinGW" and "Cygwin", where appropriate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:46:40 +00:00
yuri
1b146a4837
wix find windress when using crosscompiler
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-23 11:14:21 +00:00
Manolo Gouy
bc509d32eb
Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
...
by FLTK_USE_CAIRO everywhere.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Manolo Gouy
874bca74f5
Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
...
text input around the NSTextInput protocol.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 16:50:34 +00:00
Albrecht Schlosser
c4be7d9cd7
Changed default for configure option --with-links for common misspellings
...
on case sensitive file systems like Unix/Linux, as discussed some time ago.
The new default is --without-links.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:05:53 +00:00
Manolo Gouy
dbb7be0fee
Mac OS X: removed dependency from AudioToolbox.framework by calling NSBeep() from Cocoa.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29 11:33:42 +00:00
Manolo Gouy
f3c7efc8d2
The 3 objective-c++ files used for the Mac OS X support are no longer included
...
by other files but added to the list of source files to be compiled
for Mac OS X only. Support files for autoconf/configure/make, CMake and Xcode
are also modified accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17 10:43:41 +00:00
Albrecht Schlosser
e1cff96f1f
Added Windows Resource Compiler ("RC") to configure/makeinclude for
...
easier cross-compiling (not yet fully supported).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:48:07 +00:00
Greg Ercolano
4327734e69
More copyright 2010 mods.
...
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Manolo Gouy
f4fc4241b7
STR #2155 : fixed using sparkaround's patch conditional to use of configure --enable-cp936
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 18:55:50 +00:00
Manolo Gouy
037519a9b8
added possible Mac OS X --with-archflags values in help text.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 14:41:42 +00:00
Manolo Gouy
e002042fd9
Mac OS X: compile with default architecture (i386 on 10.5, x86_64 on 10.6) and allow
...
alternative architecture running configure with option --with-archflags="-arch xxx"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 13:23:52 +00:00
Manolo Gouy
db6ca980af
Fixed ./configure --enable-shared=yes on Mac OS X 10.6
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 18:31:50 +00:00
Matthias Melcher
eca6b3fd9f
Library directory prefix for 64 bit builds
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:13:57 +00:00
Albrecht Schlosser
6710c83508
Fixed configure script portability problem (STR #2379 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-18 10:11:09 +00:00
Greg Ercolano
4fd11eba88
Changed references to fltk-bugs@fltk.org -> STR form.
...
Todo: LGPL license file references (COPYING, license.dox, etc)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
yuri
5bc66fafc3
fix mingw32 crosscompilation under linux - select correct WIN32 GUI
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-13 21:51:52 +00:00
Matthias Melcher
5c0f4f62f1
Added Audio Tools to link line to support currect version of alert sound.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 22:37:22 +00:00
Matthias Melcher
b2cffc688e
Moved OS X code base to the more moder Cocoa toolkit thanks to the awesome work of Manolo Gouy (STR #2221 ). This is a big one! I tested all test applications under 32-bit autoconf and Xcode, and a few apps under 64bit intel. No PPC testing was done. Please verify this patch if you have the machine!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-06 22:21:55 +00:00
Matthias Melcher
d5b5659dbc
Fixed the OS X Snow Leopard patch which would fail for versions greate 10.6 (10.6.1, for example)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19 07:37:38 +00:00
Matthias Melcher
184c1092e9
Temporarily limited builds to 32-bit on OX S to stay compatible to Snow Leopard
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-06 18:09:24 +00:00
Albrecht Schlosser
f42c541529
Fixed glibc 2.10 compiler problems (Fedora 11 and others) with scandir()
...
and strchr() (STR #2222 ).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-23 22:51:56 +00:00
Albrecht Schlosser
47b348850a
Fixed make install for Windows/Cygwin with --enable-x11 (no symlinks)
...
(STR #2183 ).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13 17:30:19 +00:00
Albrecht Schlosser
c0717aa18e
STR 2147: new configure option --enable-x11 for building on cygwin with X11
...
support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-14 14:34:32 +00:00
yuri
d474e13b03
fix --enable-cairoext in configure
...
fix shared library cairo build (shared library name under Linux)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-27 22:34:46 +00:00
Matthias Melcher
167d767e0f
Changed the copyright to 2009 for header files. Still todo: src and test directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher
6b3f61e3ff
In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Matthias Melcher
7180c24f3c
STR #1962 : I tried to fix the configuration scripts so that the image support libraries (fltk_jpeg fltk_png fltk_z) are linked in the same fashion as the fltk_image library. Please verify this fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 17:10:12 +00:00
Ian MacArthur
b04d48d2fa
STR 2089: Adjust configure.in so that thread support defaults to ON in win32 configure, as it does for other platforms.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-14 17:22:08 +00:00
Fabien Costantini
ba2ed82028
Removed configure.in comma at the end of -lz statement.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 23:48:01 +00:00
Fabien Costantini
61f3f77673
Removed configure.in comma at the end of -ljpeg statement causing pb under linux.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 23:43:48 +00:00
Fabien Costantini
3373fe3c7d
Removed unnecessary jpeg flag in configure.in. Fixed erroneous jpeg.h by jpeglib.h
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 17:18:06 +00:00
Fabien Costantini
e458232cc1
Generalized latest PNG configuration configure code to jpeg and zilb. Also warning user now if he asked for system lib (jpeg,z,png) that is not found. Seems to work fine under OSX, please review.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 12:48:51 +00:00
Fabien Costantini
250090b3f0
More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Albrecht Schlosser
6c279f9909
Test the system png lib and headers only, if --enable-localpng is _not_ set.
...
Commented out an obsolete statement.
Added a check for png_get_valid, if using the system lib.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 21:05:22 +00:00
Fabien Costantini
9481db94d9
Now we finally can check as well if a correct PNG header was found, if it is not the case or the lib is not found, then syslib will be updated adequately. Reused latest Al AC_CHECK_HEADER() and included them from the begining in the syslib_ok test. Tested with default,disable,enable png.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 20:11:36 +00:00
Albrecht Schlosser
04f6740b35
Added header checks for png image library.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 18:21:38 +00:00
Fabien Costantini
c2d5dd32b5
Fixes the configure problem when the png option is not specified.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 17:22:14 +00:00
Fabien Costantini
5dfe62a97b
Fixed broken png image include.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 21:05:52 +00:00
Ian MacArthur
f61a8993d5
STR 1949 - revise configure.in to cerrectly detect png_set_tRNS_to_alpha
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 13:15:05 +00:00
Fabien Costantini
b2deb4b6f4
Fixed one typoe in configure.in, changed LINKFLTKCAIRO parameter passing in LINKSHARED.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 21:06:31 +00:00