forked from uiuc-hpc/Recorder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
47 lines (34 loc) · 998 Bytes
/
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
AC_INIT([Recorder], 2.2.0)
AM_SILENT_RULES([yes])
AC_PROG_CC([mpicc cc])
AC_PROG_CXX([mpicxx CC])
AC_CONFIG_MACRO_DIRS([m4])
AC_ARG_ENABLE([posix],
AS_HELP_STRING([--disable-posix], [Disable POSIX tracing]))
AC_ARG_ENABLE([mpi],
AS_HELP_STRING([--disable-mpi], [Disable MPI tracing]))
AC_ARG_ENABLE([hdf5],
AS_HELP_STRING([--disable-hdf5], [Disable HDF5 tracing]))
AC_ARG_ENABLE([fcntl],
AS_HELP_STRING([--disable-fcntl], [Disable FCNTL tracing]))
AS_IF([test "x$enable_posix" == "xno"], [
AC_SUBST(DISABLE_POSIX, "-DDISABLE_POSIX_TRACE")
])
AS_IF([test "x$enable_mpi" == "xno"], [
AC_SUBST(DISABLE_MPI, "-DDISABLE_MPIO_TRACE")
])
AS_IF([test "x$enable_hdf5" == "xno"], [
AC_SUBST(DISABLE_HDF5, "-DDISABLE_HDF5_TRACE")
])
AS_IF([test "x$enable_fcntl" == "xno"], [
AC_SUBST(DISABLE_FCNTL, "-DDISABLE_FCNTL_TRACE")
])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
AC_CONFIG_FILES([
Makefile
lib/Makefile
tools/Makefile
tools/reporter/Makefile
])
AC_OUTPUT