SDL: add autoreconf support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-25 18:05:03 +01:00
parent e66a642f38
commit ced7d15a53
3 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,12 @@
. config/options $1
cd $PKG_BUILD
rm -f acinclude/alsa.m4
# Skip autoheader because there is a problem with AC_DEFINE's in the configure.in of SDL 1.2.14.
# Added include directory 'acinclude' because SDL 1.2.14 has no Makefile.am in which to specify it.
AUTOHEADER="true" autoreconf --verbose --install --force -I $SYSROOT_PREFIX/usr/share/aclocal -I acinclude
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \

View File

@ -13,3 +13,4 @@ PKG_SHORTDESC="libsdl: A cross-platform Graphic API"
PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of 'Civilization: Call To Power.' Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD."
PKG_IS_ADDON="no"
PKG_AUTORECONF=""

View File

@ -0,0 +1,11 @@
diff -Naur SDL-1.2.14-old/configure.in SDL-1.2.14-new/configure.in
--- SDL-1.2.14-old/configure.in 2009-10-17 10:35:03.000000000 -0700
+++ SDL-1.2.14-new/configure.in 2010-08-17 16:42:33.000000000 -0700
@@ -3,6 +3,7 @@
AC_CONFIG_HEADER(include/SDL_config.h)
AC_GNU_SOURCE
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
+AC_CONFIG_MACRO_DIR([acinclude])
dnl Set various version strings - taken gratefully from the GTk sources
#