Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10355 in orxonox.OLD for branches/ODE/configure.ac


Ignore:
Timestamp:
Jan 24, 2007, 8:48:26 PM (18 years ago)
Author:
bottac
Message:

Here comes the updated version.

Location:
branches/ODE
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/ODE/configure.ac

    r9886 r10355  
    298298  AX_CHECK_REQUIRED_HEADER_LIB([SDL.h SDL/SDL.h], [SDL], [main],,, [http://www.libsdl.org])
    299299
     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
     309LIBS="-lode $LIBS"
     310
     311# introduce the optional configure parameter for the path of libXXX.a
     312AC_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)
     327AC_SUBST(GLOBALCPPFLAGS, $CPPFLAGS )
     328AC_SUBST(GLOBALLDFLAGS, $LDFLAGS )
     329
     330
     331
     332
    300333    ;;
     334
     335
    301336
    302337###########
     
    375410#--------#
    376411AX_CHECK_REQUIRED_HEADER_LIB([AL/al.h], [OpenAL32], [main],,, [http://www.openal.org])
     412
     413#-----#
     414# ODE #
     415#-----#
     416AX_CHECK_REQUIRED_HEADER_LIB([ode/ode.h],[ode],[main],,,[http://www.ode.org])
     417
    377418
    378419#-----------#
Note: See TracChangeset for help on using the changeset viewer.