[SDL] Re: autoconf issue
Mike Battersby
mib at post.com
Sun Jun 10 01:20:30 PDT 2001
> === configure.in ===
>
> AC_INIT(app.cpp)
> AM_INIT_AUTOMAKE(fblocks, 0.06)
> AC_PROG_CC
> AC_PROG_CXX
>
> 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"
Doesn't it use CXXFLAGS for compiling C++ targets? How about:
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
> LIBS="$LIBS $SDL_LIBS"
>
> AC_OUTPUT(Makefile)
- Mike
More information about the SDL
mailing list