Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 24, 2004, 11:46:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/updater: better check if pthread is not enabled

File:
1 edited

Legend:

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

    r3273 r3274  
    404404
    405405##checking for pthread
    406 AC_CHECK_HEADERS([pthread.h], pthreadHeader="yes", pthreadHeader="no")
    407 AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes)
    408  if test "$FOUND_pthread" = "yes" ; then
    409     LIBS="$LIBS -lpthread"
    410  fi
    411 
     406if test x$have_gthread = xyes ; then
     407  AC_CHECK_HEADERS([pthread.h], pthreadHeader="yes", pthreadHeader="no")
     408  AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes)
     409   if test "$FOUND_pthread" = "yes" ; then
     410      LIBS="$LIBS -lpthread"
     411   fi
     412fi
    412413
    413414# FIXME: Replace `main' with a function in `-lm':
Note: See TracChangeset for help on using the changeset viewer.