- Timestamp:
- Oct 3, 2006, 11:30:55 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r9874 r9875 257 257 case "$target" in 258 258 259 260 ######### 261 #-------# 262 # LINUX # 263 #-------# 264 ######### 265 *-*-linux*) 266 echo "Linux detected" 267 268 Linux="yes" 269 270 ##CPPFLAGS="-I/usr/include $CPPFLAGS" 271 ##LDFLAGS="-L/usr/lib $LDFLAGS" 272 if 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" 275 fi 276 277 #--------# 278 # openGL # 279 #--------# 280 AX_CHECK_REQUIRED_HEADER_LIB([GL/gl.h], [GL], [main],,, [http://www.opengl.org]) 281 AX_CHECK_REQUIRED_HEADER_LIB([GL/glu.h], [GLU], [main],,, [http://www.opengl.org]) 282 AX_CHECK_REQUIRED_HEADER_LIB([GL/glew.h], [GLEW], [main],,, [http://glew.sourceforge.net]) 283 284 #--------# 285 # openAL # 286 #--------# 287 AX_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 259 302 ########### 260 303 #---------# … … 359 402 360 403 ;; 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; then375 echo "setting new LDFLAGS with $SHARED_LIB_PATH"376 LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS"377 fi378 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 SDL395 AC_MSG_CHECKING([for SDL-version])396 SDL_VERSION=`sdl-config --version`397 echo $SDL_VERSION398 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 ;;403 404 404 405 #############
Note: See TracChangeset
for help on using the changeset viewer.