|
Revision 2449, 1.1 kB
(checked in by pernet, 3 years ago)
|
|
restore the system of blas without #include "cblas.h"
remove old ATLAS_FLAGS in examples/Makefile.am and test/Makefile.am
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | #! /bin/sh |
|---|
| 2 | |
|---|
| 3 | prefix=@prefix@ |
|---|
| 4 | exec_prefix=@exec_prefix@ |
|---|
| 5 | includedir=@includedir@ |
|---|
| 6 | libdir=@libdir@ |
|---|
| 7 | |
|---|
| 8 | usage() |
|---|
| 9 | { |
|---|
| 10 | cat <<EOF |
|---|
| 11 | Usage: linbox-config [OPTION] |
|---|
| 12 | |
|---|
| 13 | Known values for OPTION are: |
|---|
| 14 | |
|---|
| 15 | --prefix show Linbox installation prefix |
|---|
| 16 | --libs print library linking information |
|---|
| 17 | --cflags print pre-processor and compiler flags |
|---|
| 18 | --help display this help and exit |
|---|
| 19 | --version output version information |
|---|
| 20 | |
|---|
| 21 | EOF |
|---|
| 22 | |
|---|
| 23 | exit $1 |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | if test $# -eq 0; then |
|---|
| 27 | usage 1 |
|---|
| 28 | fi |
|---|
| 29 | |
|---|
| 30 | cflags=false |
|---|
| 31 | libs=false |
|---|
| 32 | |
|---|
| 33 | while test $# -gt 0; do |
|---|
| 34 | case "$1" in |
|---|
| 35 | -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|---|
| 36 | *) optarg= ;; |
|---|
| 37 | esac |
|---|
| 38 | |
|---|
| 39 | case "$1" in |
|---|
| 40 | --prefix=*) |
|---|
| 41 | prefix=$optarg |
|---|
| 42 | ;; |
|---|
| 43 | |
|---|
| 44 | --prefix) |
|---|
| 45 | echo $prefix |
|---|
| 46 | ;; |
|---|
| 47 | |
|---|
| 48 | --version) |
|---|
| 49 | echo @VERSION@ |
|---|
| 50 | exit 0 |
|---|
| 51 | ;; |
|---|
| 52 | |
|---|
| 53 | --help) |
|---|
| 54 | usage 0 |
|---|
| 55 | ;; |
|---|
| 56 | |
|---|
| 57 | --cflags) |
|---|
| 58 | echo -I${includedir} @GMP_CFLAGS@ @NTL_CFLAGS@ @GIVARO_CFLAGS@ @SACLIB_CFLAGS@ @LIDIA_CFLAGS@ |
|---|
| 59 | ;; |
|---|
| 60 | |
|---|
| 61 | --libs) |
|---|
| 62 | echo -L${libdir} -llinbox @LIDIA_LIBS@ @NTL_LIBS@ @GIVARO_LIBS@ @SACLIB_LIBS@ @GMP_LIBS@ @BLAS_LIBS@ |
|---|
| 63 | ;; |
|---|
| 64 | |
|---|
| 65 | *) |
|---|
| 66 | usage |
|---|
| 67 | exit 1 |
|---|
| 68 | ;; |
|---|
| 69 | esac |
|---|
| 70 | shift |
|---|
| 71 | done |
|---|
| 72 | |
|---|
| 73 | exit 0 |
|---|