Changeset 3283 in orxonox.OLD for orxonox/branches/updater/configure.ac
- Timestamp:
- Dec 26, 2004, 12:24:18 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/configure.ac
r3274 r3283 65 65 fi 66 66 if test "$def_gthread" = no; then 67 echo "no" 68 fi 69 70 ## pthread-disabled 71 AC_MSG_CHECKING([if pthread should be enabled]) 72 AC_ARG_WITH([pthread], 73 AC_HELP_STRING( [--without-pthread], 74 [Prevents pthread from being loaded]), [def_pthread=no], [def_pthread=yes]) 75 if test "$def_pthread" = yes; then 76 echo "yes" 77 fi 78 if test "$def_pthread" = no; then 67 79 echo "no" 68 80 fi … … 404 416 405 417 ##checking for pthread 406 if test x$have_gthread = xyes ; then 418 if test x$def_pthread = xyes ; then 419 if test x$have_gthread = xyes ; then 407 420 AC_CHECK_HEADERS([pthread.h], pthreadHeader="yes", pthreadHeader="no") 408 421 AC_CHECK_LIB([pthread], [main], FOUND_pthread=yes) … … 410 423 LIBS="$LIBS -lpthread" 411 424 fi 412 fi413 425 fi 426 fi 414 427 # FIXME: Replace `main' with a function in `-lm': 415 428 AC_CHECK_LIB([m], [main])
Note: See TracChangeset
for help on using the changeset viewer.