/[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.21 by fabian, Sun Jul 23 20:47:12 2000 UTC revision 1.22 by fabian, Mon Aug 7 10:09:16 2000 UTC
# Line 339  else Line 339  else
339    AC_CHECK_LIB(nsl, connect)    AC_CHECK_LIB(nsl, connect)
340    AC_CHECK_LIB(dns, gethostbyname)    AC_CHECK_LIB(dns, gethostbyname)
341    AC_CHECK_LIB(dl, dlopen)    AC_CHECK_LIB(dl, dlopen)
342      AC_CHECK_LIB(m, tan, EGG_MATH_LIB="-lm")
343    # This is needed for Tcl libraries compiled with thread support    # This is needed for Tcl libraries compiled with thread support
344    AC_CHECK_LIB(pthread,pthread_mutex_init,    AC_CHECK_LIB(pthread,pthread_mutex_init,
345  ac_cv_lib_pthread_pthread_mutex_init=yes,  ac_cv_lib_pthread_pthread_mutex_init=yes,
# Line 837  AC_DEFUN(EGG_TCL_TESTLIBS, [dnl Line 838  AC_DEFUN(EGG_TCL_TESTLIBS, [dnl
838  # Setup TCL_TESTLIBS for Tcl library tests  # Setup TCL_TESTLIBS for Tcl library tests
839  if test ! "x${TCLLIBEXT}" = "x.a"  if test ! "x${TCLLIBEXT}" = "x.a"
840  then  then
841    TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS -lm $LIBS"    TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB $LIBS"
842  else  else
843    if test ! "x${tcllibname}" = "x"    if test ! "x${tcllibname}" = "x"
844    then    then
845      TCL_TESTLIBS="$TCLLIB/lib$TCLLIBFN -lm $LIBS"      TCL_TESTLIBS="$TCLLIB/lib$TCLLIBFN $EGG_MATH_LIB $LIBS"
846    else    else
847      TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS -lm $LIBS"      TCL_TESTLIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB $LIBS"
848    fi    fi
849  fi  fi
850  if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"  if test "x${ac_cv_lib_pthread_pthread_mutex_init}" = "xyes"
# Line 960  AC_DEFUN(EGG_TCL_LIB_REQS, [dnl Line 961  AC_DEFUN(EGG_TCL_LIB_REQS, [dnl
961  if test ! "x${TCLLIBEXT}" = "x.a"  if test ! "x${TCLLIBEXT}" = "x.a"
962  then  then
963    TCL_REQS="$TCLLIB/lib$TCLLIBFN"    TCL_REQS="$TCLLIB/lib$TCLLIBFN"
964    TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS -lm"    TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
965  else  else
966    
967    # Set default make as static for unshared Tcl library    # Set default make as static for unshared Tcl library
# Line 986  EOF Line 987  EOF
987      if test ! "x${tcllibname}" = "x"      if test ! "x${tcllibname}" = "x"
988      then      then
989        TCL_REQS="$TCLLIB/lib$TCLLIBFN"        TCL_REQS="$TCLLIB/lib$TCLLIBFN"
990        TCL_LIBS="$TCLLIB/lib$TCLLIBFN -lm"        TCL_LIBS="$TCLLIB/lib$TCLLIBFN $EGG_MATH_LIB"
991      else      else
992        TCL_REQS="$TCLLIB/lib$TCLLIBFN"        TCL_REQS="$TCLLIB/lib$TCLLIBFN"
993        TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS -lm"        TCL_LIBS="-L$TCLLIB -l$TCLLIBFNS $EGG_MATH_LIB"
994      fi      fi
995    else    else
996      cat << EOF >&2      cat << EOF >&2
# Line 1000  configure: warning: Line 1001  configure: warning:
1001    
1002  EOF  EOF
1003      TCL_REQS="libtcle.a"      TCL_REQS="libtcle.a"
1004      TCL_LIBS="-L. -ltcle -lm"      TCL_LIBS="-L. -ltcle $EGG_MATH_LIB"
1005    fi    fi
1006  fi  fi
1007  AC_SUBST(TCL_REQS)dnl  AC_SUBST(TCL_REQS)dnl

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23