Mercurial > sdl-ios-xcode
diff test/acinclude.m4 @ 1380:d94b080ff6ce
Completely removed dependency on automake
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Feb 2006 02:09:49 +0000 |
parents | a5defa3b93e1 |
children | 31c2b8e4885e |
line wrap: on
line diff
--- a/test/acinclude.m4 Sun Feb 19 23:46:34 2006 +0000 +++ b/test/acinclude.m4 Mon Feb 20 02:09:49 2006 +0000 @@ -52,8 +52,10 @@ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` if test "x$enable_sdltest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" + ac_save_CXXFLAGS="$CXXFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" dnl dnl Now check if the installed SDL is sufficiently new. (Also sanity @@ -138,6 +140,7 @@ else echo "*** Could not run SDL test program, checking why..." CFLAGS="$CFLAGS $SDL_CFLAGS" + CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" AC_TRY_LINK([ #include <stdio.h> @@ -162,10 +165,12 @@ echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" + CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" fi fi SDL_CFLAGS="" + SDL_CXXFLAGS="" SDL_LIBS="" ifelse([$3], , :, [$3]) fi