Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit ea487cd

Browse files
committed
add checking of sqlite3 and devmapper's header files
1 parent e73efed commit ea487cd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

configure.ac

+7-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ case $host_os in
4040
;;
4141
linux*)
4242
# Do something specific for linux
43-
;;
44-
*BSD*)
45-
# Do something specific for BSD
43+
AC_CHECK_HEADER([libdevmapper.h],
44+
[],
45+
[AC_MSG_ERROR([Could not find or include libdevmapper.h])],
46+
[])
4647
;;
4748
*)
4849
#Default Case
@@ -53,6 +54,9 @@ esac
5354

5455
# Checks for header files.
5556
AC_CHECK_HEADERS([stdlib.h string.h libxl.h])
57+
AC_CHECK_HEADER([sqlite3.h], [],
58+
[AC_MSG_ERROR([Could not find or include sqlite3.h])],
59+
[])
5660

5761
# Checks for typedefs, structures, and compiler characteristics.
5862
AC_CHECK_HEADER_STDBOOL

0 commit comments

Comments
 (0)