[maemo-developers] [maemo-developers] How to add SDL checks in configure.ac
From: klaus at rotters.de klaus at rotters.deDate: Mon Jan 15 03:20:45 EET 2007
- Previous message: [maemo-developers] Discussion of a possible project - offline calendar project
- Next message: [maemo-developers] How to add SDL checks in configure.ac
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I want to automake/conf a SDL game to create .deb packeges for 770 ARMEL.
Therefor I used helloworld-0.4 as a base and added the following to the end
of configure.ac:
------------------------- 8< -------------------------
...
dnl Check for SDL
SDL_VERSION=1.2.0
AM_PATH_SDL($SDL_VERSION,
:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)
AC_OUTPUT([ Makefile ])
------------------------- 8< -------------------------
When I run autogen.sh, I get the following output:
------------------------- 8< -------------------------
[sbox-SDK_ARMEL: ~/bomberman-deb] > ./autogen.sh
+ aclocal-1.7
+ autoconf
configure.ac:21: warning: AC_ARG_PROGRAM was called before
AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.ac:21: AC_CANONICAL_TARGET is required by...
aclocal.m4:7232: AM_PATH_SDL is expanded from...
configure.ac:21: the top level
------------------------- 8< -------------------------
Makefiles are created and I can compile the program. But the warning is
annoying-
Can anybody help me?
BTW: Anyone who is interessted in the game may look under
www.rotters.de, it's called "bomberman". It is a network game,
up to five people can play agains each other.I am interessted
if someone could test it with multiple N770 in a real network game!
-Klaus
--
Klaus Rotter * klaus <at> rotters <dot> de * www.rotters.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070115/11caf1a2/attachment.htm
- Previous message: [maemo-developers] Discussion of a possible project - offline calendar project
- Next message: [maemo-developers] How to add SDL checks in configure.ac
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
