Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3271 in orxonox.OLD for orxonox/branches/updater/configure.ac


Ignore:
Timestamp:
Dec 24, 2004, 6:29:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: threads are cool after all. trying again.

File:
1 edited

Legend:

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

    r3268 r3271  
    5353fi
    5454if test "$def_gtk" = no; then
     55  echo "no"
     56fi
     57
     58## gThread-disabled
     59AC_MSG_CHECKING([if gThread should be enabled])
     60AC_ARG_WITH([gthread],
     61        AC_HELP_STRING( [--without-gthread],
     62        [Prevents gThread from being loaded]), [def_gthread=no], [def_gthread=yes])
     63if test "$def_gthread" = yes; then
     64  echo "yes"
     65fi
     66if test "$def_gthread" = no; then
    5567  echo "no"
    5668fi
     
    352364AM_CONDITIONAL(HAVE_GTK2, test x$have_gtk2 = xyes)
    353365
     366## checking for gThread
     367if test "$def_gthread" = yes; then
     368
     369        AC_MSG_CHECKING([for gthread])
     370        if `pkg-config --exists gthread-2.0`; then
     371                echo "yes"
     372                have_gthread=yes
     373                GTHREAD_LIBS=`pkg-config --libs gthread-2.0`
     374                GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`
     375                AC_DEFINE_UNQUOTED(HAVE_GTHREAD, 1, [if we have gThread])
     376        else
     377                echo "no"
     378        fi
     379
     380fi
     381AC_SUBST(GTHREAD_LIBS)
     382AC_SUBST(GTHREAD_CFLAGS)
     383AM_CONDITIONAL(HAVE_GTHREAD, test x$have_gthread = xyes)
     384
    354385## checking for libcURL
    355386if test "$def_curl" = yes; then
Note: See TracChangeset for help on using the changeset viewer.