-
Notifications
You must be signed in to change notification settings - Fork 22
/
configure.ac
97 lines (82 loc) · 4.79 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#============================================================================#
# This file is part of the GrUMPy graph library #
# #
# GrUMPy is distributed under the Eclipse Public License as part of the #
# COIN-OR repository (http://www.coin-or.org). #
# #
# Authors: Brady Hunsaker, Google ([email protected]) #
# Osman Ozaltin, University of Waterloo ([email protected]) #
# Aykut Bulut ([email protected]), Lehigh Univesity #
# Ted Ralphs ([email protected]), Lehigh University #
# #
# #
# Copyright (C) 2009-2013, Google, Lehigh University, University of Waterloo,#
# Brady Hunsaker, Osman Ozaltin, Aykut Bulut, and Ted Ralphs #
# All Rights Reserved. #
#============================================================================#
#############################################################################
# Names and other basic things #
#############################################################################
# autoconf version used by COIN
AC_PREREQ(2.59)
# name of project, version number, contact info
AC_INIT([GrUMPy],[0.6.1],[[email protected]])
# copyright for configure script
AC_COPYRIGHT([
#============================================================================#
# This file is part of the GrUMPy graph library #
# #
# GrUMPy is distributed under the Eclipse Public License as part of the #
# COIN-OR repository (http://www.coin-or.org). #
# #
# Authors: Brady Hunsaker, Google ([email protected]) #
# Osman Ozaltin, University of Waterloo ([email protected]) #
# Aykut Bulut ([email protected]), Lehigh Univesity #
# Ted Ralphs ([email protected]), Lehigh University #
# #
# #
# Copyright (C) 2009-2013, Google, Lehigh University, University of Waterloo,#
# Brady Hunsaker, Osman Ozaltin, Aykut Bulut, and Ted Ralphs #
# All Rights Reserved. #
#============================================================================#
])
# List one file in the package so that the configure script can test
# whether the package is actually there
AC_CONFIG_SRCDIR(src/grumpy/BBTree.py)
# Where should everything be installed by default? Here, we want it
# to be installed directly in 'bin', 'lib', 'include' subdirectories
# of the directory where configure is run. The default would be
# /usr/local.
AC_PREFIX_DEFAULT([`pwd`])
#############################################################################
# Standard build tool stuff #
#############################################################################
# Get the system type
AC_CANONICAL_BUILD
# If this project depends on external projects, the Externals file in
# the source root directory contains definition of where to find those
# externals. The following macro ensures that those externals are
# retrieved by svn if they are not there yet.
AC_COIN_PROJECTDIR_INIT(GrUMPy)
# Get the name of the C++ compiler and appropriate compiler options
AC_COIN_PROG_CXX
# Initialize automake and libtool
AC_COIN_INIT_AUTO_TOOLS
# Get the EXEXT variable for CYGWIN
AC_EXEEXT
#############################################################################
# Check for Python #
#############################################################################
AM_PATH_PYTHON([2.6],,[:])
if test "$PYTHON" != "" ; then
PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
fi
AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != "" ])
#############################################################################
# Generate the Makefiles #
#############################################################################
AC_CONFIG_FILES([Makefile
src/grumpy/Makefile
test/Makefile])
# Finally, we let configure write all the output...
AC_COIN_FINALIZE