/[cvs]/eggdrop1.9/aclocal.m4
ViewVC logotype

Diff of /eggdrop1.9/aclocal.m4

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

revision 1.35 by guppy, Fri Jun 22 05:49:30 2001 UTC revision 1.36 by guppy, Fri Jun 22 05:52:39 2001 UTC
# Line 373  else Line 373  else
373    AC_CHECK_LIB(pthread, pthread_mutex_init,    AC_CHECK_LIB(pthread, pthread_mutex_init,
374  ac_cv_lib_pthread_pthread_mutex_init=yes,  ac_cv_lib_pthread_pthread_mutex_init=yes,
375  ac_cv_lib_pthread_pthread_mutex_init=no)  ac_cv_lib_pthread_pthread_mutex_init=no)
376      if test "$ac_cv_lib_pthread_pthread_mutex_init" = "no"; then
377        AC_CHECK_LIB(pthread,__pthread_mutex_init,
378          ac_cv_lib_pthread_pthread_mutex_init=yes,
379          ac_cv_lib_pthread_pthread_mutex_init=no)
380      fi
381      if test "$ac_cv_lib_pthread_pthread_mutex_init" = "no"; then
382        AC_CHECK_LIB(pthreads,pthread_mutex_init,
383          ac_cv_lib_pthreads_pthread_mutex_init=yes,
384          ac_cv_lib_pthreads_pthread_mutex_init=no)
385      fi
386    if test "$SUNOS" = "yes"    if test "$SUNOS" = "yes"
387    then    then
388      # For suns without yp or something like that      # For suns without yp or something like that
# Line 438  AC_CACHE_CHECK(whether libsafe broke ssc Line 448  AC_CACHE_CHECK(whether libsafe broke ssc
448    }],egg_cv_var_libsafe_sscanf="no",egg_cv_var_libsafe_sscanf="yes",    }],egg_cv_var_libsafe_sscanf="no",egg_cv_var_libsafe_sscanf="yes",
449    egg_cv_var_libsafe_sscanf="no")    egg_cv_var_libsafe_sscanf="no")
450  ])  ])
451  if test "x$egg_cv_var_libsafe_sscanf" == "xyes"; then  if test "x$egg_cv_var_libsafe_sscanf" = "xyes"; then
452    AC_DEFINE(LIBSAFE_HACKS)dnl    AC_DEFINE(LIBSAFE_HACKS)dnl
453  fi  fi
454  ])dnl  ])dnl
# Line 942  else Line 952  else
952      TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB $LIBS"      TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB $LIBS"
953    fi    fi
954  fi  fi
955  if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"  if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"; then
 then  
956    TCL_TESTLIBS="-lpthread $TCL_TESTLIBS"    TCL_TESTLIBS="-lpthread $TCL_TESTLIBS"
957    else
958      if text "x${ac_cv_lib_pthreads_pthread_mutex_init}" = "xyes"; then
959        TCL_TESTLIBS="-lpthreads $TCL_TESTLIBS"
960      fi
961  fi  fi
962  ])dnl  ])dnl
963    
# Line 1050  EOF Line 1063  EOF
1063    fi    fi
1064    
1065    # Add -lpthread to $LIBS if we have it    # Add -lpthread to $LIBS if we have it
1066    if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"    if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"; then
   then  
1067      LIBS="-lpthread $LIBS"      LIBS="-lpthread $LIBS"
1068      else
1069        if text "x${ac_cv_lib_pthreads_pthread_mutex_init}" = "xyes"; then
1070          TCL_TESTLIBS="-lpthreads $TCL_TESTLIBS"
1071        fi  
1072    fi    fi
1073  fi  fi
1074  ])dnl  ])dnl

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23