Changeset 10355 in orxonox.OLD for branches/ODE/configure.ac
- Timestamp:
- Jan 24, 2007, 8:48:26 PM (18 years ago)
- Location:
- branches/ODE
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/ODE/configure.ac
r9886 r10355 298 298 AX_CHECK_REQUIRED_HEADER_LIB([SDL.h SDL/SDL.h], [SDL], [main],,, [http://www.libsdl.org]) 299 299 300 301 302 #-----# 303 # ODE # 304 #-----# 305 #AX_CHECK_REQUIRED_HEADER_LIB([ode/ode.h],[ode],[main],,,[http://www.ode.org]) 306 307 308 # adding the lib to the files to link 309 LIBS="-lode $LIBS" 310 311 # introduce the optional configure parameter for the path of libXXX.a 312 AC_ARG_WITH(ode, 313 AC_HELP_STRING( 314 [--with-ode=prefix], 315 [try this for the ode-library prefix install directory] 316 ), 317 ode_PATHSET=1, 318 ode_PATHSET=0 319 ) 320 321 # if optional parameter used, extend path flags for compliler and linker 322 CPPFLAGS="$CPPFLAGS -I$with_ode/include" 323 CFLAGS="$CFLAGS -I$with_ode/include" 324 LDFLAGS="$LDFLAGS -L$with_ode/ode/src" 325 326 # overwrite global variable (used for Makefile generation) 327 AC_SUBST(GLOBALCPPFLAGS, $CPPFLAGS ) 328 AC_SUBST(GLOBALLDFLAGS, $LDFLAGS ) 329 330 331 332 300 333 ;; 334 335 301 336 302 337 ########### … … 375 410 #--------# 376 411 AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [OpenAL32], [main],,, [http://www.openal.org]) 412 413 #-----# 414 # ODE # 415 #-----# 416 AX_CHECK_REQUIRED_HEADER_LIB([ode/ode.h],[ode],[main],,,[http://www.ode.org]) 417 377 418 378 419 #-----------#
Note: See TracChangeset
for help on using the changeset viewer.