Files
modules/lib/configure.ac
Xavier Delaruelle 9b8e5981a7 Implement getFilesInDirectory in Tcl extension library
Add function in libtclenvmodules to implement getFilesInDirectory as a
command, which provides a more IO-optimized way than native Tcl commands
perform by avoiding specific additional queries to get hidden files like
.modulerc and .version. As a result 1 stat and 2 access syscalls are
saved per directory read.
2019-04-29 16:02:13 +02:00

46 lines
1.0 KiB
Plaintext

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([Envmodules], [1.0.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 dirent.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SSIZE_T
# Checks for library functions.
# 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_CONFIG_FILES([Makefile])
AC_OUTPUT