forked from libyal/libbfio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathacinclude.m4
More file actions
35 lines (30 loc) · 752 Bytes
/
Copy pathacinclude.m4
File metadata and controls
35 lines (30 loc) · 752 Bytes
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
29
30
31
32
33
34
dnl Checks for required headers and functions
dnl
dnl Version: 20201125
dnl Function to detect if libbfio dependencies are available
AC_DEFUN([AX_LIBBFIO_CHECK_LOCAL],
[dnl No additional checks.
])
dnl Function to check if DLL support is needed
AC_DEFUN([AX_LIBBFIO_CHECK_DLL_SUPPORT],
[AS_IF(
[test "x$enable_shared" = xyes],
[AS_CASE(
[$host],
[*cygwin* | *mingw* | *msys*],
[AC_DEFINE(
[HAVE_DLLMAIN],
[1],
[Define to 1 to enable the DllMain function.])
AC_SUBST(
[HAVE_DLLMAIN],
[1])
AC_SUBST(
[LIBBFIO_DLL_EXPORT],
["-DLIBBFIO_DLL_EXPORT"])
AC_SUBST(
[LIBBFIO_DLL_IMPORT],
["-DLIBBFIO_DLL_IMPORT"])
])
])
])