Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4165 in orxonox.OLD for orxonox/branches/heightMap/configure.ac


Ignore:
Timestamp:
May 11, 2005, 2:23:54 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/heightMap: merged trunk back to the heightMap branche
merged with command:
svn merge trunk/ branches/heightMap/ -r 4122:HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/heightMap/configure.ac

    r4122 r4165  
    192192AC_PATH_PROG(GPROF, gprof)
    193193
     194#-------------------------#
     195# checking for pkg-config #
     196#-------------------------#
     197if test x$def_gtk = xyes; then
     198 AC_PATH_PROG(PKG_CONFIG, pkg-config)
     199fi
     200
     201
    194202#########################
    195203## CHECKING FOR SYSTEM ##
     
    435443#-----#
    436444if test x$def_gtk = xyes; then
    437 
    438445        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
    439446        AC_MSG_CHECKING([for gtk2.0])
    440         if `pkg-config --exists gtk+-2.0`; then
     447        if `$PKG_CONFIG --exists gtk+-2.0`; then
    441448                echo "yes"
    442449                have_gtk2=yes
    443                 GTK2_LIBS=`pkg-config --libs gtk+-2.0`
    444                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0`
     450                GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
     451                GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
    445452                AC_DEFINE_UNQUOTED(HAVE_GTK2, 1, [if we have GTK2])
     453                if test $DEBUG -ge 3; then
     454                 echo "cflags: $GTK2_CFLAGS"
     455                 echo "libs: $GTK2_LIBS"
     456                fi
    446457        else
    447458                echo "no"
Note: See TracChangeset for help on using the changeset viewer.