Changeset 5223 in orxonox.OLD
- Timestamp:
- Sep 23, 2005, 6:31:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r5222 r5223 71 71 AC_ARG_WITH([shared-lib-path], 72 72 AC_HELP_STRING( [--with-shared-lib-path], [Tells the executable, where to look for the shared libraries.]), 73 SHARED_LIB_PATH=$ enableval)73 SHARED_LIB_PATH=$withval) 74 74 if test x$SHARED_LIB_PATH != xno; then 75 75 echo "set to $SHARED_LIB_PATH" … … 362 362 CPPFLAGS="-I/usr/include $CPPFLAGS" 363 363 if test x$SHARED_LIB_PATH != xno; then 364 echo "setting new LDF lAGS with $SHARED_LIB_PATH"365 LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH $LDFLAGS"366 fi 367 LDFLAGS="-L/usr/lib $LD _FLAGS"364 echo "setting new LDFLAGS with $SHARED_LIB_PATH" 365 LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS" 366 fi 367 LDFLAGS="-L/usr/lib $LDFLAGS" 368 368 369 369 # checking gl header … … 416 416 fi 417 417 # checking for alut 418 # AC_CHECK_LIB([alut], [main], [FOUND_openal=yes]) 419 # if test x$FOUND_openal = xyes ; then 420 # LIBS="$LIBS -lalut" 421 # fi 418 AC_CHECK_HEADERS([AL/alut.h] ,, 419 [AC_MSG_ERROR([cannot find openAL Utility Toolkit (alut) header.])]) 420 AC_CHECK_LIB([alut], [main], [FOUND_openal=yes]) 421 if test x$FOUND_openal = xyes ; then 422 LIBS="$LIBS -lalut" 423 fi 422 424 423 425 # checking for SDL … … 426 428 echo $SDL_VERSION 427 429 430 CPPFLAGS="`sdl-config --cflags` $CPPFLAGS" 428 431 AC_CHECK_HEADERS([SDL.h] ,, 429 432 [AC_CHECK_HEADERS([SDL/SDL.h] ,,AC_MSG_ERROR([cannot find SDL header. please download from libsdl.org])])) 430 CPPFLAGS="`sdl-config --cflags` $CPPFLAGS"433 LIBS="`sdl-config --libs` $LIBS" 431 434 AC_CHECK_LIB([SDL], [main], [FOUND_SDL=yes]) 432 435 if test x$FOUND_SDL = xyes ; then 433 LIBS="`sdl-config --libs` $LIBS" 436 echo `sdl-config --libs` 434 437 else 435 438 echo "------------------"
Note: See TracChangeset
for help on using the changeset viewer.