mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Update Tcl Envmodules library to clean specific code required to raise error on Tcl 8.4. Bump version of Tcl Envmodules library to 1.4.0.
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ([2.69])
|
|
AC_INIT([Envmodules],[1.4.0],[modules-interest@lists.sourceforge.net],[],[http://modules.sf.net])
|
|
AC_CONFIG_SRCDIR([envmodules.c])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
# Setup TEA_ macros.
|
|
TEA_INIT([3.13])
|
|
|
|
# Load the tclConfig.sh file.
|
|
TEA_PATH_TCLCONFIG
|
|
TEA_LOAD_TCLCONFIG
|
|
|
|
# Checks for programs.
|
|
|
|
# Checks for libraries.
|
|
|
|
# Checks for header files.
|
|
AC_CHECK_HEADERS([fcntl.h unistd.h errno.h limits.h sys/types.h pwd.h grp.h stdlib.h stdio.h dirent.h time.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_TYPE_SSIZE_T
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_GETGROUPS
|
|
AC_CHECK_FUNC(sysconf, AC_DEFINE(HAVE_SYSCONF, 1, [Define to 1 if you have the sysconf function]))
|
|
|
|
# TEA-specific setup
|
|
TEA_SETUP_COMPILER
|
|
TEA_PUBLIC_TCL_HEADERS
|
|
TEA_CONFIG_CFLAGS
|
|
TEA_ENABLE_SYMBOLS
|
|
TEA_MAKE_LIB
|
|
TEA_ENABLE_SHARED
|
|
|
|
# Perform substitutions from the Tcl configuration
|
|
AC_SUBST(TCL_CC)
|
|
AC_SUBST(TCL_INCLUDE_SPEC)
|
|
AC_SUBST(TCL_SHLIB_CFLAGS)
|
|
AC_SUBST(TCL_SHLIB_LD)
|
|
AC_SUBST(TCL_SHLIB_SUFFIX)
|
|
AC_SUBST(TCL_STUB_LIB_SPEC)
|
|
AC_SUBST(SHLIB_SUFFIX)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|