Closed mgrigajtis closed 10 years ago
the problem is this here https://github.com/rofl0r/exult/blob/master/configure.ac#L368 the XIPH_PATH_OGG m4 macro gets only expanded if libogg is installed on the box that runs autoreconf. try removing those 8 lines and rerun autoreconf -i, or install libogg and then rerun autoreconf. if the issue persists, you should report the issue at the official bugtracker on sf.net, this is merely an inofficial git-mirror.
Running autogen after libogg install has corrected the issue. Thanks!
suggested fix @ exult-devs https://sourceforge.net/p/exult/bugs/1877/ either remove the usage of the ogg.m4 specific test macro, or embed it into the source tree (albeit when i looked at ogg.m4 it used bogus proprietary logic a la "wx-config", "libmikmod-config", "apr-1-config" etc, which are all pkgconfig clones although without proper cross-compile/sysroot support, so this may preclude cross-compilation, as it seems to use $prefix and not $sysroot/$prefix - sysroot support was added to autoconf about 4 years ago but i doubt that external ogg.m4 was also adapted...).
Console output:
checking for SDL - version >= 1.2.0... yes ./configure: line 18109: syntax error near unexpected token
newline' ./configure: line 18109:
XIPH_PATH_OGG('