-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.ac
67 lines (47 loc) · 2.13 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
# Copyright (C) 2006, 2007 International Business Machines.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.
## $Id$
# Author: Andreas Waechter IBM 2006-04-13
#############################################################################
# Names and other basic things #
#############################################################################
AC_PREREQ(2.59)
AC_INIT([ThirdPartyBlas],[trunk],[http://projects.coin-or.org/BuildTools/newticket])
AC_COPYRIGHT([
Copyright 2006 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.])
# List one file in the package so that the configure script can test
# whether the package is actually there
AC_CONFIG_SRCDIR(dgemm.f)
# 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`])
AC_COIN_PROJECTDIR_INIT(Blas)
#############################################################################
# Standard build tool stuff #
#############################################################################
# Get the system type
AC_CANONICAL_BUILD
#turn off warnings and pedantic mode since they could make trouble on some platforms,
#and we couldn't fix them anyway
coin_skip_warn_fflags=yes
# Check if user wants to produce debugging code
AC_COIN_DEBUG_COMPILE(Blas)
# Get the name of the Fortran compiler and appropriate compiler options
AC_COIN_PROG_F77
# Get the linker flags (FLIBS) that are required for linking against this blas library
AC_COIN_F77_WRAPPERS
# Add FLIBS to BLAS_PCLIBS, so that they get into the .pc files
BLAS_PCLIBS="$FLIBS"
AC_SUBST(BLAS_PCLIBS)
# Check if pkg-config is available (to setup addlibs file)
AC_COIN_HAS_PKGCONFIG
# Initialize automake
AC_COIN_INIT_AUTO_TOOLS
AC_CONFIG_FILES([Makefile coinblas.pc coinblas-uninstalled.pc])
AC_COIN_FINALIZE