-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
executable file
·73 lines (53 loc) · 3 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
# Copyright (C) 2007, 2010 International Business Machines.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.
## $Id: configure.ac 2595 2015-08-09 22:10:23Z stefan $
# Author: Andreas Waechter IBM 2006-04-13
#############################################################################
# Names and other basic things #
#############################################################################
AC_PREREQ(2.59)
AC_INIT([Ipopt],[3.12.4],[http://projects.coin-or.org/Ipopt/newticket])
AC_COPYRIGHT([
Copyright 2007, 2010 International Business Machines and others.
All Rights Reserved.
This file is part of the open source package Coin which is distributed
under the Eclipse Public License.])
AC_REVISION(0.9)
# List one file in the package so that the configure script can test
# whether the package is actually there
AC_CONFIG_SRCDIR(configure.ac)
# 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`])
#############################################################################
# Create the libtool script for the subdirectories #
#############################################################################
AC_COIN_CREATE_LIBTOOL
#############################################################################
# Check which ThirdParty sources are available #
#############################################################################
AC_COIN_MAIN_PACKAGEDIR([ASL], [ThirdParty],[solvers/asl.h])
AC_COIN_MAIN_PACKAGEDIR([Blas], [ThirdParty],[daxpy.f])
AC_COIN_MAIN_PACKAGEDIR([Lapack],[ThirdParty],[LAPACK/SRC/dlarf.f])
AC_COIN_MAIN_PACKAGEDIR([Metis], [ThirdParty],[metis-4.0/Lib/balance.c])
AC_COIN_MAIN_PACKAGEDIR([HSL], [ThirdParty],[coinhsl/common/deps.f])
AC_COIN_MAIN_PACKAGEDIR([Mumps], [ThirdParty],[MUMPS/src/dmumps_part1.F])
#############################################################################
# Check which subprojects are there #
#############################################################################
AC_COIN_MAIN_PACKAGEDIR(Ipopt)
#############################################################################
# Doxygen setup #
#############################################################################
AC_COIN_DOXYGEN()
##############################################################################
# Finishing up by writing all the output #
##############################################################################
# Here list all the files that configure should create (except for the
# configuration header file)
AC_CONFIG_FILES([Makefile doxydoc/doxygen.conf])
# Finally, we let configure write all the output...
AC_COIN_FINALIZE