Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3101 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Dec 5, 2004, 3:35:33 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: now the posipility to #ifdef HAVE_GTK2 …. #endif exists. like this one can exclude GTK from a program

Location:
orxonox/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/config.h.in

    r2995 r3101  
    99/* Define to 1 if you have the <GL/gl.h> header file. */
    1010#undef HAVE_GL_GL_H
     11
     12/* if we have GTK2 */
     13#undef HAVE_GTK2
    1114
    1215/* Define to 1 if you have the <inttypes.h> header file. */
  • orxonox/trunk/configure

    r3100 r3101  
    58325832                GTK2_LIBS=`pkg-config --libs gtk+-2.0`
    58335833                GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0`
     5834
     5835cat >>confdefs.h <<_ACEOF
     5836#define HAVE_GTK2 1
     5837_ACEOF
     5838
    58345839        else
    58355840                echo "no"
  • orxonox/trunk/configure.ac

    r3100 r3101  
    233233                GTK2_LIBS=`pkg-config --libs gtk+-2.0`
    234234                GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0`
     235                AC_DEFINE_UNQUOTED(HAVE_GTK2, 1, [if we have GTK2])
    235236        else
    236237                echo "no"
    237238        fi
    238        
     239
    239240fi
    240241AC_SUBST(GTK2_LIBS)
Note: See TracChangeset for help on using the changeset viewer.