Index: xotcl.m4
===================================================================
diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -raf4326a00a0f2d0b2f1e0369af71637f48c2d56a
--- xotcl.m4	(.../xotcl.m4)	(revision c72f9f638677608fab1502cd696c8f2d6b2952f9)
+++ xotcl.m4	(.../xotcl.m4)	(revision af4326a00a0f2d0b2f1e0369af71637f48c2d56a)
@@ -4,8 +4,9 @@
 #	a Tcl extension.
 #
 # Copyright (c) 1999 Scriptics Corporation.
+# Copyright (c) 1999-2008 Gustaf Neumann, Uwe Zdun
 #
-# See the file "license.terms" for information on usage and redistribution
+# See the file "tcl-license.terms" for information on usage and redistribution
 # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 
 #------------------------------------------------------------------------
@@ -23,7 +24,7 @@
 #		--with-xotcl=...
 #
 #	Defines the following vars:
-#		XOTCL_BIN_DIR	Full path to the directory containing
+#		NX_BIN_DIR	Full path to the directory containing
 #				the xotclConfig.sh file
 #------------------------------------------------------------------------
 
@@ -83,13 +84,13 @@
 	])
 
 	if test x"${ac_cv_c_xotclconfig}" = x ; then
-	    XOTCL_BIN_DIR="# no XOTcl configs found"
+	    NX_BIN_DIR="# no XOTcl configs found"
 	    AC_MSG_WARN(Can't find XOTcl configuration definitions)
 	    exit 0
 	else
 	    no_xotcl=
-	    XOTCL_BIN_DIR=${ac_cv_c_xotclconfig}
-	    AC_MSG_RESULT(found $XOTCL_BIN_DIR/xotclConfig.sh)
+	    NX_BIN_DIR=${ac_cv_c_xotclconfig}
+	    AC_MSG_RESULT(found $NX_BIN_DIR/xotclConfig.sh)
 	fi
     fi
 ])
@@ -102,7 +103,7 @@
 # Arguments:
 #	
 #	Requires the following vars to be set:
-#		XOTCL_BIN_DIR
+#		NX_BIN_DIR
 #
 # Results:
 #
@@ -111,11 +112,11 @@
 #------------------------------------------------------------------------
 
 AC_DEFUN(SC_LOAD_XOTCLCONFIG, [
-    AC_MSG_CHECKING([for existence of $XOTCL_BIN_DIR/xotclConfig.sh])
+    AC_MSG_CHECKING([for existence of $NX_BIN_DIR/xotclConfig.sh])
 
-    if test -f "$XOTCL_BIN_DIR/xotclConfig.sh" ; then
+    if test -f "$NX_BIN_DIR/xotclConfig.sh" ; then
         AC_MSG_RESULT([loading])
-	. $XOTCL_BIN_DIR/xotclConfig.sh
+	. $NX_BIN_DIR/xotclConfig.sh
     else
         AC_MSG_RESULT([file not found])
     fi
@@ -124,16 +125,16 @@
     # The eval is required to do the TCL_DBGX substitution in the
     # TCL_LIB_FILE variable
     #
-    AC_SUBST(XOTCL_VERSION)
-    AC_SUBST(XOTCL_MAJOR_VERSION)
-    AC_SUBST(XOTCL_MINOR_VERSION)
-    AC_SUBST(XOTCL_RELEASE_LEVEL)
-    AC_SUBST(XOTCL_LIB_FILE)
-    AC_SUBST(XOTCL_BUILD_LIB_SPEC)
-    AC_SUBST(XOTCL_LIB_SPEC)
-    AC_SUBST(XOTCL_STUB_LIB_FILE)
-    AC_SUBST(XOTCL_BUILD_STUB_LIB_SPEC)
-    AC_SUBST(XOTCL_STUB_LIB_SPEC)
-    AC_SUBST(XOTCL_SRC_DIR)
+    AC_SUBST(NX_VERSION)
+    AC_SUBST(NX_MAJOR_VERSION)
+    AC_SUBST(NX_MINOR_VERSION)
+    AC_SUBST(NX_RELEASE_LEVEL)
+    AC_SUBST(NX_LIB_FILE)
+    AC_SUBST(NX_BUILD_LIB_SPEC)
+    AC_SUBST(NX_LIB_SPEC)
+    AC_SUBST(NX_STUB_LIB_FILE)
+    AC_SUBST(NX_BUILD_STUB_LIB_SPEC)
+    AC_SUBST(NX_STUB_LIB_SPEC)
+    AC_SUBST(NX_SRC_DIR)
 ])