Update of /cvsroot/naviserver/naviserver/m4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18251/m4
Added Files:
tcl.m4
Log Message:
* Makefile:
* autogen.sh: New script to run the various autotools to generate
the build system.
* missing: Add this default automake helper script.
* configure.in: Initialise automake, even though we don't use it,
so that we can use aclocal to manage our m4 scripts.
* aclocal.m4:
* acinclude.m4: Contents of aclocal.m4 now moved to acinclude.m4.
aclocal.m4 is now autogenerated by the aclocal tool, called from
within autogen.
* configure:
* include/nsconfig.h.in: Remove autogenerated scripts from cvs.
New strategy is to call autogen.sh on first checkout to intialise
the build environment.
* tcl.m4:
* m4/tcl.m4: Move into m4 subdirectory. Upgrade to revision 1.74
from Tcl cvs. Fully quote macro names (needs to go upstream).
* .cvsignore:
* include/.cvsignore: Ignore some new autogenerated build scripts,
and some old ones we no longer keep in cvs.
--- NEW FILE: tcl.m4 ---
# tcl.m4 --
#
# This file provides a set of autoconf macros to help TEA-enable
# a Tcl extension.
#
# Copyright (c) 1999-2000 Ajuba Solutions.
# Copyright (c) 2002-2005 ActiveState Corporation.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: tcl.m4,v 1.1 2005/10/09 23:43:58 sdeasey Exp $
AC_PREREQ(2.50)
# Possible values for key variables defined:
#
# TEA_WINDOWINGSYSTEM - win32 aqua x11 (mirrors 'tk windowingsystem')
# TEA_PLATFORM - windows unix
[...3909 lines suppressed...]
# we need TCLSH_PROG defined to get Windows short pathnames
AC_REQUIRE([TEA_PROG_TCLSH])
AC_MSG_CHECKING([short pathname for $1 ($2)])
shortpath=
case "$2" in
*\ *)
# Only do this if we need to.
shortpath=`echo "puts [[file attributes {$2} -shortname]] ; exit" | ${TCLSH_PROG} 2>/dev/null`
;;
esac
if test "x${shortpath}" = "x" ; then
AC_MSG_RESULT([not changed])
else
$1=$shortpath
AC_MSG_RESULT([${$1}])
fi
fi
])
|