Mattias Brändström <[EMAIL PROTECTED]> writes:
> AC_INIT(foo.cpp)
>
> AM_INIT_AUTOMAKE(foo, 0.1)
>
> AC_CANONICAL_TARGET
>
> AC_OUTPUT(Makefile)
>
> I still get the same warning. Any ideas?
AM_INIT_AUTOMAKE calls AC_ARG_PROGRAM which should get called after
AC_CANONICAL_TARGET, so just changin
On Thu, 29 May 2003, Assar Westerlund wrote:
> Mattias Brändström <[EMAIL PROTECTED]> writes:
> >
> > I get this warning:
> > configure.ac:16: warning: AC_ARG_PROGRAM was called before
> > AC_CANONICAL_TARGET
> >
> > I tried to add AC_CANONICAL_TARGET before the AM_PATH_SDL macro but I
> > got the
Mattias Brändström <[EMAIL PROTECTED]> writes:
[...]
> AM_CFLAGS="$AM_CFLAGS $SDL_CFLAGS"
> AM_LDFLAGS="$AM_LDFLAGS $SDL_LIBS"
[...]
Actually, doing this is a no-op unless you AC_SUBST AM_CFLAGS
and AM_LDFLAGS. I wouldn't recommend it. Better AC_SUBST
SDL_CFLAGS and SDL_LIBS, and use them wher
Mattias Brändström <[EMAIL PROTECTED]> writes:
> dnl Check for SDL
> SDL_VERSION=1.2.0
> AM_PATH_SDL($SDL_VERSION,
> :,
> AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
> )
> CFLAGS="$CFLAGS $SDL_CFLAGS"
> LIBS="$LIBS $SDL_LIBS"
>
> This is all well and good and I