/[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.24 by fabian, Tue Sep 5 15:58:40 2000 UTC revision 1.25 by fabian, Tue Sep 12 15:28:28 2000 UTC
# Line 119  NEED_DL=1 Line 119  NEED_DL=1
119  DEFAULT_MAKE=debug  DEFAULT_MAKE=debug
120  MOD_EXT=so  MOD_EXT=so
121    
122  AC_MSG_CHECKING(your OS)  AC_MSG_CHECKING(your os)
123  if eval "test \"`echo '$''{'egg_cv_var_system'+set}'`\" = set"  AC_CACHE_VAL(egg_cv_var_system, [egg_cv_var_system=`${UNAME}`])
 then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   eval "egg_cv_var_system=`${UNAME}`"  
 fi  
124    
125  case "$egg_cv_var_system" in  case "$egg_cv_var_system" in
126    BSD/OS)    BSD/OS)
# Line 765  then Line 760  then
760    
761    # Check Tcl's version    # Check Tcl's version
762    AC_MSG_CHECKING(for Tcl version)    AC_MSG_CHECKING(for Tcl version)
763    if eval "test \"`echo '$''{'egg_cv_var_tcl_version'+set}'`\" = set"    AC_CACHE_VAL(egg_cv_var_tcl_version, [
764    then      egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`
765      echo $ac_n "(cached) $ac_c" 1>&6    ])
   else  
     eval "egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"  
   fi  
766    
767    if test ! "x${egg_cv_var_tcl_version}" = "x"    if test ! "x${egg_cv_var_tcl_version}" = "x"
768    then    then
# Line 782  then Line 774  then
774    
775    # Check Tcl's patch level (if avaliable)    # Check Tcl's patch level (if avaliable)
776    AC_MSG_CHECKING(for Tcl patch level)    AC_MSG_CHECKING(for Tcl patch level)
777    if eval "test \"`echo '$''{'egg_cv_var_tcl_patch_level'+set}'`\" = set"    AC_CACHE_VAL(egg_cv_var_tcl_patch_level, [
   then  
     echo $ac_n "(cached) $ac_c" 1>&6  
   else  
778      eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"      eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"
779    fi    ])
780    
781    if test ! "x${egg_cv_var_tcl_patch_level}" = "x"    if test ! "x${egg_cv_var_tcl_patch_level}" = "x"
782    then    then
# Line 880  dnl  EGG_TCL_CHECK_FREE() Line 869  dnl  EGG_TCL_CHECK_FREE()
869  dnl  dnl
870  AC_DEFUN(EGG_TCL_CHECK_FREE, [dnl  AC_DEFUN(EGG_TCL_CHECK_FREE, [dnl
871  # Check for Tcl_Free()  # Check for Tcl_Free()
872  AC_MSG_CHECKING(if Tcl library has Tcl_Free)  AC_CACHE_CHECK([if Tcl library has Tcl_Free], [egg_cv_var_tcl_free], [
 if eval "test \"`echo '$''{'egg_cv_var_tcl_free'+set}'`\" = set"  
 then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
873    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
874    LIBS="$TCL_TESTLIBS"    LIBS="$TCL_TESTLIBS"
875    cat > conftest.$ac_ext << EOF    cat > conftest.$ac_ext << EOF
# Line 899  EOF Line 884  EOF
884    if { (eval echo configure: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}    if { (eval echo configure: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}
885    then    then
886      rm -rf conftest*      rm -rf conftest*
887      eval "egg_cv_var_tcl_free=yes"      egg_cv_var_tcl_free=yes
888    else    else
889      echo "configure: failed program was:" >&5      echo "configure: failed program was:" >&5
890      cat conftest.$ac_ext >&5      cat conftest.$ac_ext >&5
891      rm -rf conftest*      rm -rf conftest*
892      eval "egg_cv_var_tcl_free=no"      egg_cv_var_tcl_free=no
893    fi    fi
894    rm -f conftest*    rm -f conftest*
895    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
896  fi  ])
897    
898  if test "x${egg_cv_var_tcl_free}" = "xyes"  if test "x${egg_cv_var_tcl_free}" = "xyes"
899  then  then
   AC_MSG_RESULT(yes)  
900    AC_DEFINE(HAVE_TCL_FREE)dnl    AC_DEFINE(HAVE_TCL_FREE)dnl
 else  
   AC_MSG_RESULT(no)  
901  fi  fi
902  ])dnl  ])dnl
903    
# Line 924  dnl  EGG_TCL_CHECK_THREADS() Line 906  dnl  EGG_TCL_CHECK_THREADS()
906  dnl  dnl
907  AC_DEFUN(EGG_TCL_CHECK_THREADS, [dnl  AC_DEFUN(EGG_TCL_CHECK_THREADS, [dnl
908  # Check for TclpFinalizeThreadData()  # Check for TclpFinalizeThreadData()
909  AC_MSG_CHECKING(if Tcl library is multithreaded)  AC_CACHE_CHECK([if Tcl library is multithreaded], [egg_cv_var_tcl_multithreaded], [
 if eval "test \"`echo '$''{'egg_cv_var_tcl_multithreaded'+set}'`\" = set"  
 then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
910    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
911    LIBS="$TCL_TESTLIBS"    LIBS="$TCL_TESTLIBS"
912    cat > conftest.$ac_ext << EOF    cat > conftest.$ac_ext << EOF
# Line 943  EOF Line 921  EOF
921    if { (eval echo configure: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}    if { (eval echo configure: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}
922    then    then
923      rm -rf conftest*      rm -rf conftest*
924      eval "egg_cv_var_tcl_multithreaded=yes"      egg_cv_var_tcl_multithreaded=yes
925    else    else
926      echo "configure: failed program was:" >&5      echo "configure: failed program was:" >&5
927      cat conftest.$ac_ext >&5      cat conftest.$ac_ext >&5
928      rm -rf conftest*      rm -rf conftest*
929      eval "egg_cv_var_tcl_multithreaded=no"      egg_cv_var_tcl_multithreaded=no
930    fi    fi
931    rm -f conftest*    rm -f conftest*
932    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
933  fi  ])
934    
935  if test "x${egg_cv_var_tcl_multithreaded}" = "xyes"  if test "x${egg_cv_var_tcl_multithreaded}" = "xyes"
936  then  then
   AC_MSG_RESULT(yes)  
937    cat << 'EOF' >&2    cat << 'EOF' >&2
938  configure: warning:  configure: warning:
939    
# Line 971  EOF Line 948  EOF
948    then    then
949      LIBS="-lpthread $LIBS"      LIBS="-lpthread $LIBS"
950    fi    fi
 else  
   AC_MSG_RESULT(no)  
951  fi  fi
952  ])dnl  ])dnl
953    
# Line 1023  configure: warning: Line 998  configure: warning:
998    
999  EOF  EOF
1000      TCL_REQS="libtcle.a"      TCL_REQS="libtcle.a"
1001      TCL_LIBS="-L. -ltcle $EGG_MATH_LIB"      TCL_LIBS="-L`pwd` -ltcle $EGG_MATH_LIB"
1002    fi    fi
1003  fi  fi
1004  AC_SUBST(TCL_REQS)dnl  AC_SUBST(TCL_REQS)dnl

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23