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
Fabien Costantini
ed6ac69dd6
Fixed cairo makefiles link error when shared option activated under linux.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 18:31:44 +00:00
Fabien Costantini
f6d5f48bbe
Fixed enable-shared would not work when cairo is not available. Added a new flag name FLTKCAIROOPTION for conditional -l cairo lib include.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 14:53:03 +00:00
Fabien Costantini
268ffc6ef2
Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
...
+ added new USE_CAIRO config preprocessor def.
to differentiate from HAVE_CAIRO so that we can use the cairo lib
without forcing the full fltk lib to be linked against it.
In that case, cairo autolink context functionality which needs fltk lib
instrumentation is disabled.
+ added new --enable-cairoext, which correspond to previous --enable-cairo.
now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
from referencing cairo.
In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is
created. This lib, similarly to local versions of png,jpeg and zlib,
is not generated if cairo is not enabled.
+ added cairo to fltk-config : now new --use-cairo flag is available
+ modified all unix like makefiles to now generate minimum cairo deps and also
new libfltk_cairo lib.
+ added new cairo subdir to permit conditional fltk_cairo lib generation.
+ vc2005 project minimum update to compile without be broken, but still needs
to create a similar fltk_cairo independent lib. For now, it works as before
with a dedicated cairo env. similar to --enable-cairoext context in unix.
+ regression tested ok with cairo disabled on win32, mac osx, mingw.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini
14ca02ffff
Doxygen documentation: commented out the 1.5.7 specific doc options, updated README for pdf and html use. Now minimum version required is 1.5.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15 15:58:04 +00:00
Fabien Costantini
528d1d0e7a
Doxygen pdf documentation: added htmlonly endhtmlonly tags to avoid pdf doc to have ugly nav bar at the end of the custom chapters. This implies that no ref tag is used, so i reverted ref tags to original a href names. htmldoc was never expanded to doxygen, changed it so that it works in configure.in .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-14 20:40:23 +00:00
Fabien Costantini
097c3cd91e
fixed missing case darwin in configure.in after qd removal.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:34:07 +00:00
Fabien Costantini
92051890f1
Quickdraw removal: option removed from configure, all Qd code removed from sources. Also took this opportunity to sort the ifdef clauses so that USE_X11 shows first. Also added error pragma to enforce proper target checking, thus make even less assumptions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:10:43 +00:00
Fabien Costantini
126f2e1dce
remove non ascii char before end of line, clean up some dnl lines so that syntax highlighting in emacs is working again as expected.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 17:14:20 +00:00