1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
-
-
-
-
+
-
+
-
+
-
-
-
+
-
+
-
-
-
+
|
dnl Define ourselves
AC_INIT(tclpkcs11, 1.0)
dnl Perform TEA related operations
TEA_INIT(3.9)
TEA_SETUP_COMPILER_CC
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_AIX
AC_PROG_INSTALL
AC_GNU_SOURCE
dnl Continue TEA related configuration
dnl Determine system information
TEA_PATH_TCLCONFIG
TEA_LOAD_TCLCONFIG
TEA_CONFIG_CFLAGS
DC_CHK_OS_INFO
dnl Fix TEA's failings
dnl Perform Tcl Extension required stuff
dnl The TEA developers should not be let near systems
AC_SUBST(SHLIB_SUFFIX)
AC_SUBST(CC_SEARCH_FLAGS)
TCLEXT_INIT
dnl Find out if we have the functions needed to open shared objects
AC_SEARCH_LIBS(dlopen, dl,, [
AC_SEARCH_LIBS(shl_load, dld dl)
])
AC_CHECK_FUNCS(dlopen shl_load)
|