configure.in.TclCL
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:2k
源码类别:

通讯编程

开发平台:

Visual C++

  1. dnl autoconf rules to find tclcl
  2. dnl $Header: /cvsroot/nsnam/conf/configure.in.TclCL,v 1.30 2007/02/18 22:42:36 tom_henderson Exp $ (LBL)
  3. dnl This next line is to fix old invocations.
  4. AC_ARG_WITH(Tcl, --with-Tcl: old command now replaced by --with-tclcl,
  5. AC_MSG_ERROR([The --with-Tcl option has been replaced with --with-tclcl.
  6. Please insure you have an up-to-date copy of TclCL and re-run your configuration.]))
  7. AC_ARG_WITH(tclcl, --with-tclcl=path specify a pathname for TclCL (the ex-libTcl), d=$withval, d="")
  8. TCLCL_VERS=1.19
  9. TCLCL_ALT_VERS=1.0
  10. TCLCL_H_PLACES="
  11. ../tclcl-$TCLCL_VERS 
  12. ../tclcl-$TCLCL_ALT_VERS 
  13. ../tclcl 
  14. ../TclCL 
  15. ../Tcl-$TCLCL_VERS 
  16. ../Tcl-$TCLCL_ALT_VERS 
  17. ../Tcl 
  18.                 /usr/src/local/Tcl 
  19.                 /usr/src/local/Tcl-1.0 
  20.                 /import/Tcl/include 
  21.                 /usr/local/include 
  22.                 /usr/contrib/include 
  23.                 /usr/include"
  24. TCLCL_H_PLACES_D="$d 
  25.   $d/include"
  26. TCLCL_LIB_PLACES="
  27. ../tclcl-$TCLCL_VERS 
  28. ../tclcl-$TCLCL_ALT_VERS 
  29. ../tclcl 
  30. ../TclCL 
  31. ../Tcl-$TCLCL_VERS 
  32. ../Tcl-$TCLCL_ALT_VERS 
  33. ../Tcl 
  34.                 $x_libraries 
  35.                 /usr/contrib/lib 
  36.                 /usr/local/lib 
  37.                 /usr/lib 
  38.                 /usr/src/local/Tcl 
  39.                 /usr/src/local/Tcl-1.0"
  40. TCLCL_LIB_PLACES_D="
  41.         $d 
  42.         $d/lib 
  43.         $d/bin"  
  44. TCLCL_PROG_PLACES="
  45. ../tclcl-$TCLCL_VERS 
  46. ../tclcl-$TCLCL_ALT_VERS 
  47. ../tclcl 
  48. ../TclCL 
  49. ../Tcl-$TCLCL_VERS 
  50. ../Tcl-$TCLCL_ALT_VERS 
  51. ../Tcl 
  52.                 $prefix/bin 
  53.                 $x_libraries 
  54.                 /usr/contrib/bin 
  55.                 /usr/local/bin 
  56.                 /usr/bin 
  57.                 /usr/src/local/Tcl 
  58.                 /usr/src/local/Tcl-1.0 
  59.                 "
  60. TCLCL_PROG_PLACES_D="
  61. $d 
  62. $d/bin"
  63. NS_BEGIN_PACKAGE(tclcl)
  64. NS_CHECK_HEADER_PATH(tclcl.h,$TCLCL_H_PLACES,$d,$TCLCL_H_PLACES_D,V_INCLUDE_TCLCL,tclcl)
  65. NS_CHECK_LIB_PATH(tclcl$tclcl_VERS,$TCLCL_LIB_PLACES,$d,$TCLCL_LIB_PLACES_D,V_LIB_TCLCL,tclcl)
  66. NS_CHECK_ANY_PATH(tcl2c++,$TCLCL_PROG_PLACES,$d,$TCLCL_PROG_PLACES_D,V_TCL2CPP_DIR,tclcl)
  67. V_TCL2CPP=$V_TCL2CPP_DIR/tcl2c++
  68. AC_SUBST(V_TCL2CPP)
  69. NS_END_PACKAGE(tclcl,yes)