-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
45 lines (33 loc) · 1.35 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
AC_PREREQ([2.63])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_MACRO_DIR([autoconf-archive/m4])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([ofi])
AC_CONFIG_FILES([ofi/simple_configure],[chmod +x ofi/simple_configure])
AC_CONFIG_FILES([mpi/simple_configure],[chmod +x mpi/simple_configure])
AC_CONFIG_FILES([benchmarks/simple_configure],[chmod +x benchmarks/simple_configure])
AC_CONFIG_FILES([make_release.sh],[chmod +x make_release.sh])
AC_CONFIG_FILES([public_release.sh],[chmod +x public_release.sh])
dnl AM_CONFIG_HEADER(config.h)
AC_CONFIG_FILES([Makefile])
dnl : ${CFLAGS="-O3"}
dnl : ${CXXFLAGS="-O3"}
dnl Checks for programs.
dnl AC_PROG_CC
dnl AC_PROG_CXX
LIBFABRIC_SRCDIR=$ac_abs_confdir/ofi/libfabric
AC_ARG_WITH([libfabric],
AC_HELP_STRING([--with-libfabric=PATH],
[specify path to libfabric source directory; default=$LIBFABRIC_SRCDIR])],
[LIBFABRIC_SRCDIR=$with_libfabric])
AC_SUBST(libfabric_srcdir, [$LIBFABRIC_SRCDIR])
MPICH_SRCDIR=$ac_abs_confdir/mpi/mpich
AC_ARG_WITH([mpich],
AC_HELP_STRING([--with-mpich=PATH],
[specify path to mpich source directory; default=$MPICH_SRCDIR])],
[MPICH_SRCDIR=$with_mpich])
AC_SUBST(mpich_srcdir, [$MPICH_SRCDIR])
BENCHMARKS_SRCDIR=$ac_abs_confdir/benchmarks
AC_SUBST(benchmarks_srcdir, [$BENCHMARKS_SRCDIR])
AC_SUBST(ac_abs_confdir, [$ac_abs_confdir])
AC_OUTPUT