9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
dnl Determine system information
DC_CHK_OS_INFO
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS
dnl Perform Tcl Extension required stuff
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)
dnl Look for appropriate headers
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl)
|
<
<
<
>
>
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
dnl Determine system information
DC_CHK_OS_INFO
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS
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)
dnl Look for appropriate headers
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)
dnl Perform Tcl Extension required stuff
TCLEXT_INIT
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl)
|