-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.ac
52 lines (39 loc) · 1.25 KB
/
configure.ac
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Process this file with autoconf to produce configure.
##
AC_PREREQ([2.69])
AC_INIT([TEMPLATE VOL], [1.0.0], [[email protected]])
AC_CONFIG_SRCDIR([src/template_vol_connector.c])
AC_CONFIG_HEADERS([config.h])
# Dump all the weird scripts in bin/
AC_CONFIG_AUX_DIR([bin])
# Script directory
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CC
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Initialize Automake
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_SILENT_RULES([yes])
# Set prefix default (install directory) to a directory in the build area.
AC_PREFIX_DEFAULT([`pwd`/plugin])
# Initialize Libtool
LT_INIT([shared disable-static])
# Find HDF5. This macro (from gnu.org) adds a --with-hdf5 option for setting
# a path to any repository.
AX_LIB_HDF5()
# If you want a particular build of the HDF5 library, you can use these
# instead.
# AX_LIB_HDF5([serial])
# AX_LIB_HDF5([parallel])
if test "$with_hdf5" = "no"; then
AC_MSG_ERROR([Unable to find HDF5])
fi
AC_CONFIG_FILES([Makefile
src/Makefile
test/Makefile])
AC_CONFIG_FILES([test/test_vol_plugin.sh],
[chmod +x test/test_vol_plugin.sh])
AC_OUTPUT