forked from fdabrandao/vpsolver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
28 lines (24 loc) · 964 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
# autoreconf -i (to update)
# Initialize autoconf.
AC_INIT([VPSolver], [3.1.2], [[email protected]],
[vpsolver], [http://vpsolver.dcc.fc.up.pt/])
# Force autoconf to be at least this version number:
AC_PREREQ([2.68])
# Safety check - list a source file that wouldn't be in other directories:
AC_CONFIG_SRCDIR([src/vpsolver.cpp])
# Put configuration results here, so we can easily #include them:
AC_CONFIG_HEADERS([src/config.hpp])
# Put autotools auxiliary files in subdirectories to reduce clutter:
AC_CONFIG_AUX_DIR([build-tools])
# Enable "automake" to simplify creating makefiles:
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror])
AC_CONFIG_FILES([Makefile])
# Checks for programs, e.g., AC_PROG_CC
AC_PROG_CXX
# Checks conditional arguments
AC_SUBST([GUROBI_HOME])
AM_CONDITIONAL([GUROBI_HOME_SET], [test ! -z "$GUROBI_HOME"])
AC_SUBST([GUROBI_LIBS])
AM_CONDITIONAL([GUROBI_LIBS_SET], [test ! -z "$GUROBI_LIBS"])
# Do final output.
AC_OUTPUT