Changeset 4662 in orxonox.OLD for orxonox/trunk/configure.ac
- Timestamp:
- Jun 23, 2005, 2:09:07 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure.ac
r4644 r4662 215 215 echo "mingw-WINDOWS detected" 216 216 217 CPPFLAGS="-I/usr/include /SDL -I/mingw/include/SDL"217 CPPFLAGS="-I/usr/include -I/mingw/include" 218 218 219 219 mingw="yes" … … 261 261 fi 262 262 # checking for SDL-headers 263 AC_CHECK_HEADERS([SDL .h] ,,263 AC_CHECK_HEADERS([SDL/SDL.h] ,, 264 264 [AC_MSG_ERROR([cannot find SDL headers]) ]) 265 265 … … 295 295 Linux="yes" 296 296 297 CPPFLAGS="-I/usr/X11R6/include -I/usr/include /SDL"297 CPPFLAGS="-I/usr/X11R6/include -I/usr/include" 298 298 LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" 299 299 # checking gl header … … 329 329 330 330 # checking for SDL-headers 331 AC_CHECK_HEADERS([SDL .h] ,,331 AC_CHECK_HEADERS([SDL/SDL.h] ,, 332 332 [AC_MSG_ERROR([cannot find SDL headers]) ]) 333 333 … … 362 362 osX="yes" 363 363 364 CPPFLAGS="-I/sw/include -I/sw/include /SDL$CPPFLAGS"364 CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS" 365 365 # checking gl header 366 366 AC_CHECK_HEADERS([OpenGL/gl.h] ,, … … 372 372 LIBS="$LIBS -framework OpenGL" 373 373 374 375 ## SDL-check 374 376 SDL_CFLAGS=`sdl-config --cflags` 375 377 SDL_LIBS=`sdl-config --libs` … … 475 477 #---------# 476 478 # checking for SDL_ttf-headers 477 AC_CHECK_HEADERS([SDL _ttf.h] ,,478 [AC_ MSG_ERROR([cannot find SDL_ttf header.])])479 AC_CHECK_HEADERS([SDL/SDL_ttf.h] ,, 480 [AC_CHECK_HEADERS([SDL_ttf.h] ,,AC_MSG_ERROR([cannot find SDL_ttf header.])])) 479 481 #fi 480 482 # checking for SDL_ttf-lib … … 496 498 # checking for SDL_image-headers 497 499 AC_CHECK_HEADERS([SDL_image.h] ,, 498 [ echo "sdl_image header not found."; def_sdl_image=no; exit -1])500 [AC_CHECK_HEADERS([SDL/SDL_image.h],, AC_MSG_ERROR([sdl_image header not found.]))]) 499 501 # checking for SDL_image-lib 500 502 AC_CHECK_LIB([SDL_image], [main], [FOUND_SDL_image=yes]) … … 596 598 src/lib/gui/Makefile 597 599 src/lib/tinyxml/Makefile 598 600 src/subprojects/Makefile 599 601 src/subprojects/testmain/Makefile 600 602 src/subprojects/importer/Makefile
Note: See TracChangeset
for help on using the changeset viewer.