From: David B. <dav...@gm...> - 2010-06-13 22:47:28
|
Hi Volker, > Just a quick guess, without having tested it: > > I'm not sure why you have to put the "echo" commands into separate > parentheses. AFAIR that isn't necessary, and indeed an overquoting. > So I propose to replace this: > >> PKG_CHECK_MODULES([SDL_MIXER], >> [SDL_mixer], >> , >> [ >> [echo "SDL_MIXER not found via pkg_config, checking with AC_CHECK_LIB:"] >> AC_CHECK_LIB([SDL_mixer], >> [Mix_OpenAudio], >> , >> [AC_MSG_ERROR([SDL_mixer not found! >> http://www.libsdl.org/projects/SDL_mixer])] >> ) >> [echo "SDL_MIXER successfully located"] >> ] >> ) > > ... with that: > > ---------------------------------------------------------------------------- > PKG_CHECK_MODULES([SDL_MIXER], > [SDL_mixer], > , > [ > echo "SDL_MIXER not found via pkg_config, checking with AC_CHECK_LIB:" > AC_CHECK_LIB([SDL_mixer], > [Mix_OpenAudio], > , > [AC_MSG_ERROR([SDL_mixer not found! > http://www.libsdl.org/projects/SDL_mixer])] > ) > echo "SDL_MIXER successfully located" > ] > ) > ---------------------------------------------------------------------------- > > Does that solve the issue? Unfortunately, getting rid of the [] around the echo statements doesn't solve it. Autoconf still complains as before, and then the configure script fails with: checking for SDL_IMAGE... ../configure: line 8532: syntax error near unexpected token `(' Although the current code seems to work (after a second autoreconf), these error messages worry me. What's more, even by deleting the echo statements entirely, I can't seem to get back to a state that doesn't generate these errors. Anyway, thanks. David Bruce |