quadra-game / quadra

An addictive action puzzle game with single player and multiplayer capabilities (Internet or LAN).
GNU Lesser General Public License v2.1
27 stars 18 forks source link

sdl-config isn't used in configure script to detect SDL-Library #48

Open pphaneuf opened 10 years ago

pphaneuf commented 10 years ago

On my distribution the SDL includes are installed under /usr/include/SDL and aren't found because the sources use #include <SDL.h>. I temporarly fixed that by putting -I/usr/include/SDL to the CFLAGS in config/config.mk.

There exists a script called sdl-config which can output all include-paths and so on. Perhaps that should be used to detect the sdl-installation and configure the CFLAGS.