Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3283 in orxonox.OLD for orxonox/branches/updater/configure


Ignore:
Timestamp:
Dec 26, 2004, 12:24:18 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/updater: now also works, if no pthread is found, but gthread is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/configure

    r3274 r3283  
    873873  --without-gtk           Prevents GTK from being loaded
    874874  --without-gthread       Prevents gThread from being loaded
     875  --without-pthread       Prevents pthread from being loaded
    875876  --without-curl          Prevents libcURL from being loaded
    876877  --without-sdl-image     Prevents SDL_image from being loaded
     
    39063907fi
    39073908
     3909## pthread-disabled
     3910echo "$as_me:$LINENO: checking if pthread should be enabled" >&5
     3911echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6
     3912
     3913# Check whether --with-pthread or --without-pthread was given.
     3914if test "${with_pthread+set}" = set; then
     3915  withval="$with_pthread"
     3916  def_pthread=no
     3917else
     3918  def_pthread=yes
     3919fi;
     3920if test "$def_pthread" = yes; then
     3921  echo "yes"
     3922fi
     3923if test "$def_pthread" = no; then
     3924  echo "no"
     3925fi
     3926
    39083927## libCurl disabled?
    39093928echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5
     
    69706989
    69716990##checking for pthread
    6972 if test x$have_gthread = xyes ; then
     6991if test x$def_pthread = xyes ; then
     6992 if test x$have_gthread = xyes ; then
    69736993
    69746994for ac_header in pthread.h
     
    71887208      LIBS="$LIBS -lpthread"
    71897209   fi
    7190 fi
    7191 
     7210 fi
     7211fi
    71927212# FIXME: Replace `main' with a function in `-lm':
    71937213
Note: See TracChangeset for help on using the changeset viewer.