Re: [maemo-developers] How to add SDL checks in configure.ac

2007-01-15 Thread Janne Kataja

[EMAIL PROTECTED] wrote:

[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
Adding AC_CANONICAL_TARGET as a second line after AC_INIT(Makefile.am) 
in configure.ac should remove this warning.




Janne

--
Janne Kataja, Movial Corporation
Porkkalankatu 13 J, FI-00180 Helsinki
Mobile +358 40 550 9801, Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.fi

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] How to add SDL checks in configure.ac

2007-01-15 Thread klaus
Janne Kataja wrote:
 [EMAIL PROTECTED] wrote:
  [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
 Adding AC_CANONICAL_TARGET as a second line after AC_INIT(Makefile.am) 
 in configure.ac should remove this warning.

Yes, it runs now without any warning.

Thanks a lot, -Klaus

-- 
 Klaus Rotter * klaus at rotters dot de * www.rotters.de

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] How to add SDL checks in configure.ac

2007-01-14 Thread klaus
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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers