Debian Codegraph @

lib/configure.ac

raw
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.69])
5 AC_INIT([Envmodules],[1.4.3],[[email protected]],[],[https://envmodules.io])
6 AC_CONFIG_SRCDIR([envmodules.c])
7 AC_CONFIG_HEADERS([config.h])
8
9 # Setup TEA_ macros.
10 TEA_INIT([3.13])
11
12 # Load the tclConfig.sh file.
13 TEA_PATH_TCLCONFIG
14 TEA_LOAD_TCLCONFIG
15
16 # Checks for programs.
17
18 # Checks for libraries.
19
20 # Checks for header files.
21 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])
22
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_TYPE_SSIZE_T
25
26 # Checks for library functions.
27 AC_FUNC_GETGROUPS
28
29 # TEA-specific setup
30 TEA_SETUP_COMPILER
31 TEA_PUBLIC_TCL_HEADERS
32 TEA_CONFIG_CFLAGS
33 TEA_ENABLE_SYMBOLS
34 TEA_MAKE_LIB
35 TEA_ENABLE_SHARED
36
37 # Perform substitutions from the Tcl configuration
38 AC_SUBST(TCL_CC)
39 AC_SUBST(TCL_INCLUDE_SPEC)
40 AC_SUBST(TCL_SHLIB_CFLAGS)
41 AC_SUBST(TCL_SHLIB_LD)
42 AC_SUBST(TCL_SHLIB_SUFFIX)
43 AC_SUBST(TCL_STUB_LIB_SPEC)
44 AC_SUBST(SHLIB_SUFFIX)
45
46 AC_CONFIG_FILES([Makefile])
47 AC_OUTPUT