Commit Graph

48 Commits

Author SHA1 Message Date
Luca Bigliardi
2589f7dc1e check lib header macro: do not cache
Call check directly instead of going trough AC_CHECK_LIB and AC_CHECK_HEADERS to
avoid caching (bad if we want to test the same lib twice, passing different
flags).

Also check just one header as it makes things simpler (no need to check for more
than one anyway).

Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-10-15 18:22:26 +02:00
Filippo Giunchedi
7952a25ae4 use = for comparison in FREEJ_CHECK_LIB_HEADERS 2009-08-29 01:18:32 +01:00
Luca Bigliardi
76ca554c52 freej.m4: add FREEJ_CHECK_LIB_HEADERS macro
Add a convenience macro to check both binary library and header files
for a package.

Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-08-20 20:17:17 +01:00
Filippo Giunchedi
2471be18cf call AC_PYTHON_DEVEL explicitly
this is slightly subtle: SWIG_PYTHON AC_REQUIREs AC_PYTHON_DEVEL and if
not called before it is expanded at top-level (i.e. before the guard
if enable_python = yes) with the result that python was always checked
even if not enabled, this fixes this behaviour
2009-08-16 14:56:07 +01:00
Filippo Giunchedi
53a6a63a53 rationale from previous version ruby swig macro
after discussion with shammash his rationale seems more appropriate,
thus use it
2009-07-23 13:21:38 +02:00
Luca Bigliardi
7e753def3e Save/Restore default flags macros.
Macros to save and restore default flags (borrowed from VLC).
2009-07-23 11:20:01 +01:00
Filippo Giunchedi
2406297b32 fix typo in m4/bindings.m4 perl macro 2009-07-22 12:19:49 +02:00
Filippo Giunchedi
e422334e1f search for PERL_LDFLAGS also 2009-07-22 12:19:48 +02:00
Filippo Giunchedi
876d61d192 m4/ax_ruby_devel.m4 use newer AC_LINK_IFELSE 2009-07-20 21:43:34 +02:00
Filippo Giunchedi
3417e011da m4/bindings.m4 fix typo $enable -> $enableval 2009-07-18 14:45:28 +02:00
Filippo Giunchedi
f93e0cff81 new m4 macro SWIG_RUBY_ENABLE
this together with ruby macros from autoconf-archive should complete the
swig configuration part
2009-07-16 19:31:28 +02:00
Filippo Giunchedi
e0e283efd9 new m4 macros ruby related from autoconf-archive 2009-07-16 19:30:42 +02:00
Filippo Giunchedi
194ba14f14 use $enableval in ac_arg_enable to honour user 2009-07-15 10:39:45 +02:00
Filippo Giunchedi
a22080bff8 new macro file m4/ax_perl_ext_flags.m4 2009-07-14 22:41:29 +02:00
Filippo Giunchedi
5effdf6f72 add ENABLE_SWIG_JAVA and use in configure.ac 2009-07-14 12:34:18 +02:00
Filippo Giunchedi
a454349322 add ENABLE_SWIG_PYTHON and use in configure.ac 2009-07-14 11:48:00 +02:00
Filippo Giunchedi
746fe6f942 add ENABLE_SWIG_PERL
actually a wrapper around SWIG_PERL to handle configure flags
2009-07-14 11:48:00 +02:00
Filippo Giunchedi
335df9068e add new m4 macros for swig perl
namely SWIG_PERL and AC_PERL_INSTALLDIRS
2009-07-14 08:51:18 +02:00
Luca Bigliardi
565e78dd22 Remove unused sdl m4 macro 2009-07-12 00:40:49 +01:00
Filippo Giunchedi
46f16aa23e fix spurious output from java bindings checking
emit AC_MSG_CHECKING before AC_MSG_RESULT
2009-07-12 01:02:36 +02:00
Filippo Giunchedi
16e686eb8c move bindings macros onto m4/bindings.m4 2009-07-12 00:42:26 +02:00
Filippo Giunchedi
99a9087a88 update m4/ac_python_devel.m4 2009-07-12 00:42:26 +02:00
Filippo Giunchedi
47b23b81fc update m4/ac_pkg_swig.m4
it splits into swig_enable_cxx and swig_python from autoconf-archive
2009-07-12 00:42:26 +02:00
Filippo Giunchedi
8d6dd4185a update m4/pkg.m4 2009-07-12 00:42:26 +02:00
Filippo Giunchedi
a0f11bf89f update m4/sdl.m4
thus drop AC_CANONICAL_TARGET from configure.ac
2009-07-12 00:42:26 +02:00
Filippo Giunchedi
8775d09003 remove m4/freetype2.m4 superseded by pkgconfig 2009-07-12 00:42:25 +02:00
Filippo Giunchedi
02eb1ef403 remove m4/avifile.m4
macro not used anymore and libavifile is got pkgconfig
2009-07-12 00:42:25 +02:00
Filippo Giunchedi
114a8f232b remove our version of AM_PROG_AS
this macro is being shipped in automake since years AFAICT
also move the call on top
2009-07-12 00:41:59 +02:00
Luca Bigliardi
0fe8fc3cba Remove recently added libtool macros.
They don't work very well with libtool 1.5
2009-07-11 13:15:36 +01:00
Luca Bigliardi
48bb7e1dfd Add libtool macros 2009-07-11 12:48:57 +01:00
Filippo Giunchedi
dded72b531 check HTML::Template via ac_prog_perl_modules
enable am_conditional for doc/scripting
2009-07-08 18:50:50 +02:00
Luca Bigliardi
20ee49b22c Another kick to ruby.m4 2009-06-23 00:15:54 +01:00
Luca Bigliardi
ad9dfffcf6 Install freej_extensions.rb
Provide arch-indipendent install variables in ruby.m4 .
Install extensions.
2009-06-22 20:58:37 +01:00
Luca Bigliardi
bf6d520c34 Relative path for ruby bindings.
Change ruby.m4 to provide a relative path that can be used as an install
target for ruby bindings.
2009-06-21 21:31:00 +01:00
Luca Bigliardi
27aec7bf93 Update AM_PROG_AS macro 2009-03-22 13:07:41 +01:00
Luca Bigliardi
979646a7de Fix LDFLAGS overwrite in EL_CONFIG_SCRIPTING_RUBY
Use a private RUBY_LDFLAGS in EL_CONFIG_SCRIPTING_RUBY m4 macro.
2009-03-01 22:50:41 +01:00
x37v
0934132001 switched to ruby1.8 as 1.9 is a development version and I figured we should be using a stable version. 2008-12-21 08:45:57 -08:00
Jaromil
f161cd839b added context start()
and fixed overloaded declaration of RSHIFT and some minor bindings compilation issue
2008-12-21 16:44:43 +01:00
Jaromil
d421ae9239 java and perl language bindings,
build of language bindings re-organised
2008-12-08 00:40:28 +01:00
Jaromil
fb153ef99c now ruby module is install in path found by 'require' 2008-12-07 07:02:15 +01:00
Jaromil
fa214e1af2 ruby language bindings working (configure --with-ruby) 2008-12-07 06:54:50 +01:00
Jaromil
52ccd35032 build system fixes also for debian 2008-12-07 01:58:17 +01:00
Jaromil
185e7c4b78 build system for python bindings 2008-11-24 23:10:39 +01:00
mrgoil
51701b28ee get rid of some autoconf warnings
and let's see, if my stuff still compiles

(cherry picked from commit d5e8e9e143da55b61b3f0e7fa7c79424b05bcfe4)


git-svn-id: svn://dyne.org/rastasoft/freej/trunk@1031 383723c8-4afa-0310-b8a8-b1afb83214fc
2008-02-05 03:55:02 +00:00
jaromil
841bd08dcd fixes and instructions to compile easily on OSX 10.3
works perfect using Develompent Tools XCode-1.2


git-svn-id: svn://dyne.org/rastasoft/freej/freej@195 383723c8-4afa-0310-b8a8-b1afb83214fc
2004-06-03 12:12:20 +00:00
jaromil
ff5ac51640 0.6 release candidate.
first joystick controller implementation (debugging messages),
datadir and prefix paths and installation of necessary datafiles,
lubrification flags selected from configure,
generic cleanups and fix to osd credits behaviour.


git-svn-id: svn://dyne.org/rastasoft/freej/freej@132 383723c8-4afa-0310-b8a8-b1afb83214fc
2004-01-14 14:16:05 +00:00
jaromil
fcc69a1518 coding between Amsterdam-Halle-Wien:
performance profiling lead to significant speed improvements,
new blit code,
better SDL handling for more videodrivers,
context and screen API cleanup,
decent alpha channel and colorkey support are behind the next corner.
also updated all the documentation for the upcoming release.


git-svn-id: svn://dyne.org/rastasoft/freej/freej@129 383723c8-4afa-0310-b8a8-b1afb83214fc
2003-12-29 23:12:11 +00:00
jaromil
3990573fa3 avi speed and marks in/out for looping (Mr_Goil patch),
SDL kbd ctrl now works together with gtk_gui,
internal API cleanup,
autoconf cleanup


git-svn-id: svn://dyne.org/rastasoft/freej/freej@97 383723c8-4afa-0310-b8a8-b1afb83214fc
2003-11-23 16:47:15 +00:00