/[hydra]/hydra/configure.in
ViewVC logotype

Diff of /hydra/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by nmav, Sat Oct 12 09:37:17 2002 UTC revision 1.24 by nmav, Sun Oct 13 14:26:26 2002 UTC
# Line 187  AC_ARG_ENABLE(smp, [  --disable-smp Line 187  AC_ARG_ENABLE(smp, [  --disable-smp
187  AC_MSG_RESULT($use_smp)  AC_MSG_RESULT($use_smp)
188    
189  if test "$use_smp" = "yes"; then  if test "$use_smp" = "yes"; then
   AC_CHECK_LIB( pthread, pthread_create, [  
190      AC_DEFINE( ENABLE_SMP, 1, [whether to enable SMP code])      AC_DEFINE( ENABLE_SMP, 1, [whether to enable SMP code])
191      test -n "$GCC" && CFLAGS="$CFLAGS -pthread"      if test -n "$GCC"; then
192      LIBS="-lpthread $LIBS"         CFLAGS="$CFLAGS -pthread"
193    ])         AC_DEFINE( ENABLE_SMP, 1, [whether to enable SMP code])
194    CFLAGS="$CFLAGS -D_REENTRANT"         CFLAGS="$CFLAGS -D_REENTRANT"
195        else
196           AC_CHECK_LIB( pthread, pthread_create, [
197              LIBS="-lpthread $LIBS"
198              AC_DEFINE( ENABLE_SMP, 1, [whether to enable SMP code])
199              CFLAGS="$CFLAGS -D_REENTRANT"
200           ])
201        fi
202  fi  fi
203    
204  if test "$use_smp" = "yes"; then use_hic=yes  if test "$use_smp" = "yes"; then use_hic=yes

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26