- Timestamp:
- Oct 4, 2005, 8:51:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r5277 r5278 471 471 472 472 CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS" 473 LDFLAGS="$LDFLAGS -L/sw/lib" 473 474 # checking gl header 474 475 AC_CHECK_HEADERS([OpenGL/gl.h] ,, … … 480 481 LIBS="$LIBS -framework OpenGL" 481 482 483 AC_CHECK_HEADERS([OpenAL/al.h] ,, 484 [AC_MSG_ERROR([cannot find opengl headers]) ]) 485 HAVE_OPENAL=yes 486 LIBS="$LIBS -framework OpenAL" 487 482 488 483 489 ## SDL-check 484 SDL_CFLAGS=`sdl-config --cflags` 485 SDL_LIBS=`sdl-config --libs` 486 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 487 LIBS="$LIBS $SDL_LIBS" 488 490 # SDL_CFLAGS=`sdl-config --cflags` 491 # SDL_LIBS=`sdl-config --libs` 492 # CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" 493 # LIBS="$LIBS $SDL_LIBS" 494 AC_CHECK_HEADERS([SDL/SDL.h] ,, 495 [AC_MSG_ERROR([cannot find SDL headers]) ]) 496 HAVE_SDL=yes 497 LIBS="$LIBS -framework SDL" 489 498 490 499 # checking for SDL-headers … … 539 548 echo "------------------" 540 549 echo "SDL_image library not found." 541 echo "please install the SDL_image library, which can be found at http://www.l ibsdl.org/projects/SDL_image/"550 echo "please install the SDL_image library, which can be found at http://www.l ibsdl.org/projects/SDL_image/" 542 551 echo "------------------" 543 552 exit -1
Note: See TracChangeset
for help on using the changeset viewer.