1 | # Copyright (C) 2007-2010 Stefan Vigerske and others. |
---|
2 | # All Rights Reserved. |
---|
3 | # This file is distributed under the Eclipse Public License. |
---|
4 | |
---|
5 | ## $Id: configure.ac 4141 2020-03-24 16:25:56Z stefan $ |
---|
6 | |
---|
7 | ############################################################################# |
---|
8 | # Names and other basic things # |
---|
9 | ############################################################################# |
---|
10 | |
---|
11 | AC_INIT([ThirdPartyGlpk],[trunk], |
---|
12 | [https://github.com/coin-or-tools/ThirdParty-Glpk/issues/new],[thirdpartyglpk], |
---|
13 | [https://github.com/coin-or-tools/ThirdParty-Glpk/]) |
---|
14 | |
---|
15 | AC_COPYRIGHT([ |
---|
16 | Copyright 2007-2010 Stefan Vigerske and others. |
---|
17 | All Rights Reserved. |
---|
18 | This file is part of the open source package ThirdParty/Glpk which is |
---|
19 | distributed under the Eclipse Public License.]) |
---|
20 | |
---|
21 | # List one file in the package so that the configure script can test whether |
---|
22 | # the package is actually there. |
---|
23 | |
---|
24 | AC_CONFIG_SRCDIR(glpk/src/glpk.h) |
---|
25 | |
---|
26 | # Do some generic initialization work. |
---|
27 | |
---|
28 | AC_COIN_INITIALIZE |
---|
29 | |
---|
30 | ############################################################################# |
---|
31 | # Standard build tool stuff # |
---|
32 | ############################################################################# |
---|
33 | |
---|
34 | # Make it appear as if --includedir was part of the command line, so that |
---|
35 | # glpk's install will put glpk.h in the proper place. Suppress reentrancy. |
---|
36 | |
---|
37 | ac_configure_args="$ac_configure_args --includedir=\\\${prefix}/include/coin-or/glpk" |
---|
38 | ac_configure_args="$ac_configure_args --enable-reentrant=no" |
---|
39 | |
---|
40 | # Invoke glpk's native configuration |
---|
41 | |
---|
42 | AC_CONFIG_SUBDIRS(glpk) |
---|
43 | |
---|
44 | # Finish up |
---|
45 | |
---|
46 | AC_CONFIG_FILES([Makefile coinglpk.pc]) |
---|
47 | |
---|
48 | AC_COIN_FINALIZE |
---|