summaryrefslogtreecommitdiff
blob: 835d0f4c00064cab19d05d984c18635d2c53fdd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- configure.ac.orig	2008-09-08 12:57:35.000000000 -0400
+++ configure.ac	2008-09-08 12:58:50.000000000 -0400
@@ -268,6 +268,8 @@
     AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ])
     if test "x$enable_sdl" = "xyes"; then
         AC_SEARCH_LIBS(SDL_Init, SDL)
+        CFLAGS="$CFLAGS `sdl-config --cflags`"
+        CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
     fi
     ;;