Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9875 in orxonox.OLD for trunk


Ignore:
Timestamp:
Oct 3, 2006, 11:30:55 AM (18 years ago)
Author:
bensch
Message:

Linux check in front of Windows check :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r9874 r9875  
    257257case "$target" in
    258258
     259
     260#########
     261#-------#
     262# LINUX #
     263#-------#
     264#########
     265 *-*-linux*)
     266echo "Linux detected"
     267
     268 Linux="yes"
     269
     270##CPPFLAGS="-I/usr/include $CPPFLAGS"
     271##LDFLAGS="-L/usr/lib $LDFLAGS"
     272if test x$SHARED_LIB_PATH != xno; then
     273        echo "setting new LDFLAGS with $SHARED_LIB_PATH"
     274        LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS"
     275fi
     276
     277#--------#
     278# openGL #
     279#--------#
     280AX_CHECK_REQUIRED_HEADER_LIB([GL/gl.h], [GL], [main],,, [http://www.opengl.org])
     281AX_CHECK_REQUIRED_HEADER_LIB([GL/glu.h], [GLU], [main],,, [http://www.opengl.org])
     282AX_CHECK_REQUIRED_HEADER_LIB([GL/glew.h], [GLEW], [main],,, [http://glew.sourceforge.net])
     283
     284#--------#
     285# openAL #
     286#--------#
     287AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [openal], [main],,, [http://www.openal.org])
     288
     289#-----#
     290# SDL #
     291#-----#
     292# checking for SDL
     293  AC_MSG_CHECKING([for SDL-version])
     294  SDL_VERSION=`sdl-config --version`
     295  echo $SDL_VERSION
     296   CPPFLAGS="${CPPFLAGS} `sdl-config --cflags`"
     297
     298  AX_CHECK_REQUIRED_HEADER_LIB([SDL.h SDL/SDL.h], [SDL], [main],,, [http://www.libsdl.org])
     299
     300    ;;
     301
    259302###########
    260303#---------#
     
    359402
    360403  ;;
    361 
    362 #########
    363 #-------#
    364 # LINUX #
    365 #-------#
    366 #########
    367  *-*-linux*)
    368 echo "Linux detected"
    369 
    370  Linux="yes"
    371 
    372 ##CPPFLAGS="-I/usr/include $CPPFLAGS"
    373 ##LDFLAGS="-L/usr/lib $LDFLAGS"
    374 if test x$SHARED_LIB_PATH != xno; then
    375         echo "setting new LDFLAGS with $SHARED_LIB_PATH"
    376         LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS"
    377 fi
    378 
    379 #--------#
    380 # openGL #
    381 #--------#
    382 AX_CHECK_REQUIRED_HEADER_LIB([GL/gl.h], [GL], [main],,, [http://www.opengl.org])
    383 AX_CHECK_REQUIRED_HEADER_LIB([GL/glu.h], [GLU], [main],,, [http://www.opengl.org])
    384 AX_CHECK_REQUIRED_HEADER_LIB([GL/glew.h], [GLEW], [main],,, [http://glew.sourceforge.net])
    385 
    386 #--------#
    387 # openAL #
    388 #--------#
    389 AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [openal], [main],,, [http://www.openal.org])
    390 
    391 #-----#
    392 # SDL #
    393 #-----#
    394 # checking for SDL
    395   AC_MSG_CHECKING([for SDL-version])
    396   SDL_VERSION=`sdl-config --version`
    397   echo $SDL_VERSION
    398    CPPFLAGS="${CPPFLAGS} `sdl-config --cflags`"
    399 
    400   AX_CHECK_REQUIRED_HEADER_LIB([SDL.h SDL/SDL.h], [SDL], [main],,, [http://www.libsdl.org])
    401 
    402     ;;
    403404
    404405#############
Note: See TracChangeset for help on using the changeset viewer.