[01:56:51] --- Parunexus is now known as PARkrU
[02:03:51] --- PARkrU is now known as p_loon
[02:47:40] --> DominusExult has joined #exult
[02:47:40] --- ChanServ gives channel operator status to DominusExult
[02:49:15] <-- Dominus has left IRC (Ping timeout: 264 seconds)
[02:49:15] --- DominusExult is now known as Dominus
[03:12:09] --- Baastuul_ is now known as Rottingbeef
[06:11:21] <-- Lightkey has left IRC (Ping timeout: 244 seconds)
[06:24:29] --> Lightkey has joined #exult
[07:44:18] --> vimus has joined #exult
[11:21:47] <Dominus> Heya vimus! Can you help with this topic http://exult.sourceforge.net/forum/read.php?f=1&i=1535978&t=1535978 ?
[13:00:15] <-- Kirben has left IRC ()
[16:49:59] <-- vimus has left IRC ()
[19:25:20] --> Marzo has joined #exult
[20:25:36] <-- Lightkey has left IRC (Ping timeout: 265 seconds)
[20:25:37] <-- SugarCube has left IRC (Ping timeout: 265 seconds)
[20:25:37] <-- Philantrop has left IRC (Ping timeout: 265 seconds)
[20:29:48] --> Philantrop has joined #exult
[20:29:57] --> Lightkey has joined #exult
[20:32:22] --> SugarCube has joined #exult
[21:22:23] <Dominus> arrrgghhh, macro hell
[21:52:05] <wjp> I should probably take care of this .m4. Autoconf can be a bit annoying
[21:52:56] <Dominus> I certainly wouldn't stop you :)
[21:53:09] <Dominus> I've just begun looking at things
[21:55:02] <wjp> do you have both sdl 1.2 and sdl 2?
[21:55:09] <Dominus> yes
[22:00:46] <Dominus> so far I just changed the SDL section in configure.ac to
[22:00:48] <Dominus> AC_ARG_WITH(sdl-version, [ --with-sdl=SDL_version Build using SDL 1.2 or SDL 2.0], with_sdl="$withval", with_sdl="sdl12")
[22:00:49] <Dominus> if test x$withval = xyes; then
[22:00:49] <Dominus> AC_MSG_ERROR([Usage is: --with-sdl=SDL_version])
[22:00:49] <Dominus> else
[22:00:49] <Dominus> PENT_CHECK_SDL(:,
[22:00:50] <Dominus> :
[22:00:51] <Dominus> )
[22:00:52] <Dominus> fi
[22:09:50] <Dominus> (which needs more information on which values to use)
[22:10:28] <Dominus> though I wonder if we really need the --with to frce sdl1.2 and not go with --enabled
[22:24:42] <wjp> what do you mean?
[22:26:45] <Dominus> the default would be 1.2, only with --enabled-sdl2 we'd use SDL2. What scenario could be that we'd need to force 1.2?
[22:28:15] <wjp> if you want to prevent it from accepting SDL 2
[22:28:32] <wjp> probably not useful for individual users, but potentially useful for packaging
[22:29:03] <Dominus> ok, I'll trust you on this :)
[22:31:19] --> Kirben has joined #exult
[22:31:19] --- ChanServ gives channel operator status to Kirben
[22:31:50] <wjp> try this one: http://www.usecode.org/exult/acinclude.m4
[22:32:09] <wjp> EXULT_CHECK_SDL(:,AC_MSG_ERROR([[*** SDL not found!]]))
[22:32:32] <wjp> afterwards $sdl_ver is equal to either sdl12 or sdl2 if you want to use it to disable opengl
[22:38:42] <Dominus> wjp, something's borked
[22:38:43] <Dominus> checking for SDL - version >= 1.2.0... ./configure: line 18056: syntax error near unexpected token `('
[22:38:43] <Dominus> ./configure: line 18056: ` --with-sdl-prefix=PFX Prefix where SDL is installed (optional)'
[22:39:28] <Dominus> in configure that line looks like
[22:39:29] <Dominus> --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
[22:39:49] <Dominus> (as the error says)
[22:45:24] <Dominus> oops, I think I messed up configure.ac
[22:50:27] <Dominus> yup, I messed it up
[22:52:41] <Dominus> wjp, it will not autodetect SDL2 when there is no SDL 1.2 (and no --with-sdl is set)
[23:02:49] <wjp> works for me; what does it say?
[23:04:15] <Dominus> sorry, wjp, it actually does work
[23:04:31] <Dominus> I only half simulated a not installed sdl 1.2
[23:04:50] <Dominus> I renamed include/sdl but forgot to rename sdl-config as well
[23:09:55] <Dominus> thanks a lot wjp
[23:10:23] <Dominus> now if only the SDL devs hadn't messed the sdl2-config --static-libs on OS X...