Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4061 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
May 5, 2005, 3:10:03 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: no more multi-Threading-support… maybe again in the future, who knows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r4054 r4061  
    101101
    102102#------------------#
    103 # gThread-disabled #
    104 #------------------#
    105 AC_MSG_CHECKING([if gThread should be enabled])
    106 AC_ARG_WITH([gthread],
    107         AC_HELP_STRING( [--without-gthread],
    108         [Prevents gThread from being loaded]), [def_gthread=no], [def_gthread=yes])
    109 if test x$def_gthread = xyes; then
    110   echo "yes"
    111 fi
    112 if test x$def_gthread = xno; then
    113   echo "no"
    114 fi
    115 
    116 #------------------#
    117 # pthread-disabled #
    118 #------------------#
    119 AC_MSG_CHECKING([if pthread should be enabled])
    120 AC_ARG_WITH([pthread],
    121         AC_HELP_STRING( [--without-pthread],
    122         [Prevents pthread from being loaded]), [def_pthread=no], [def_pthread=yes])
    123 if test x$def_pthread = xyes; then
    124   echo "yes"
    125 fi
    126 if test x$def_pthread = xno; then
    127   echo "no"
    128 fi
    129 
    130 #------------------#
    131103# libCurl-disabled #
    132104#------------------#
     
    482454
    483455#---------#
    484 # gThread #
    485 #---------#
    486 if test x$def_gthread = xyes; then
    487 
    488         AC_MSG_CHECKING([for gthread])
    489         if `pkg-config --exists gthread-2.0`; then
    490                 echo "yes"
    491                 have_gthread=yes
    492                 GTHREAD_LIBS=`pkg-config --libs gthread-2.0`
    493                 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0`
    494                 AC_DEFINE_UNQUOTED(HAVE_GTHREAD, 1, [if we have gThread])
    495         else
    496                 echo "no"
    497         fi
    498 
    499 fi
    500 AC_SUBST(GTHREAD_LIBS)
    501 AC_SUBST(GTHREAD_CFLAGS)
    502 AM_CONDITIONAL(HAVE_GTHREAD, test x$have_gthread = xyes)
    503 
    504 #---------#
    505456# libcURL #
    506457#---------#
     
    522473AC_SUBST(CURL_CFLAGS)
    523474AM_CONDITIONAL(HAVE_CURL, test x$have_curl = xyes)
    524 
    525 #---------#
    526 # pthread #
    527 #---------#
    528 if test x$def_pthread = xyes ; then
    529  if test x$have_gthread = xyes ; then
    530   AC_CHECK_HEADERS([pthread.h], [pthreadHeader="yes"], [pthreadHeader="no"])
    531   AC_CHECK_LIB([pthread], [main], [FOUND_pthread=yes])
    532    if test x$FOUND_pthread = xyes ; then
    533       LIBS="$LIBS -lpthread"
    534    fi
    535  fi
    536 fi
    537 
    538475
    539476#--------#
Note: See TracChangeset for help on using the changeset viewer.