]> git.pld-linux.org Git - packages/arpack.git/blob - arpack-automake_support.patch
- rel 12 (rebuild with blas+lapack without .la files)
[packages/arpack.git] / arpack-automake_support.patch
1 diff -urN ARPACK.orig/configure.in ARPACK.patch/configure.in
2 --- ARPACK.orig/configure.in    1970-01-01 01:00:00.000000000 +0100
3 +++ ARPACK.patch/configure.in   2004-12-16 12:04:25.922290400 +0100
4 @@ -0,0 +1,22 @@
5 +dnl Process this file with autoconf to produce a configure script.
6 +AC_INIT([arpack], [2.1.0])
7 +AM_INIT_AUTOMAKE
8 +AM_CONFIG_HEADER([config.h])
9 +
10 +dnl Checks for programs.
11 +AC_ISC_POSIX
12 +AC_PROG_CC
13 +AC_PROG_F77
14 +AM_PROG_LIBTOOL
15 +
16 +AC_ARG_WITH(acml, 
17 +  [AS_HELP_STRING([--with-acml], [use ACML version of BLAS instead of NETLIB implementation])],
18 +  with_acml=$withval, with_acml=no)
19 +
20 +if test "$with_acml" = yes; then
21 +  LIBS="-lacml $LIBS"
22 +else
23 +  LIBS="-llapack $LIBS"
24 +fi
25 +
26 +AC_OUTPUT([Makefile SRC/Makefile])
27 diff -urN ARPACK.orig/Makefile.am ARPACK.patch/Makefile.am
28 --- ARPACK.orig/Makefile.am     1970-01-01 01:00:00.000000000 +0100
29 +++ ARPACK.patch/Makefile.am    2004-12-16 12:04:25.947286600 +0100
30 @@ -0,0 +1 @@
31 +SUBDIRS=SRC
32 diff -urN ARPACK.orig/SRC/Makefile.am ARPACK.patch/SRC/Makefile.am
33 --- ARPACK.orig/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
34 +++ ARPACK.patch/SRC/Makefile.am        2004-12-16 12:08:47.655500904 +0100
35 @@ -0,0 +1,18 @@
36 +lib_LTLIBRARIES = libarpack.la
37 +libarpack_la_LDFLAGS = -version-info $(subst .,:,@VERSION@)
38 +libarpack_la_SOURCES= \
39 +       cgetv0.f cnaitr.f cnapps.f cnaup2.f cnaupd.f cneigh.f cneupd.f\
40 +       cngets.f csortc.f cstatn.f debug.h dgetv0.f dlaqrb.f dnaitr.f\
41 +       dnapps.f dnaup2.f dnaupd.f dnaupe.f dnconv.f dneigh.f dneupd.f\
42 +       dngets.f dsaitr.f dsapps.f dsaup2.f dsaupd.f dsconv.f dseigt.f\
43 +       dsesrt.f dseupd.f dsgets.f dsortc.f dsortr.f dstatn.f dstats.f\
44 +       dstqrb.f sgetv0.f slaqrb.f snaitr.f snapps.f snaup2.f snaupd.f\
45 +       snaupe.f snconv.f sneigh.f sneupd.f sngets.f ssaitr.f ssapps.f\
46 +       ssaup2.f ssaupd.f ssconv.f sseigt.f ssesrt.f sseupd.f ssgets.f\
47 +       ssortc.f ssortr.f sstatn.f sstats.f sstqrb.f stat.h version.h\
48 +       zgetv0.f znaitr.f znapps.f znaup2.f znaupd.f zneigh.f zneupd.f\
49 +       zngets.f zsortc.f zstatn.f\
50 +       ../UTIL/cmout.f ../UTIL/cvout.f ../UTIL/dmout.f ../UTIL/dvout.f\
51 +       ../UTIL/icnteq.f ../UTIL/icopy.f ../UTIL/iset.f ../UTIL/iswap.f\
52 +       ../UTIL/ivout.f ../UTIL/arscnd.f ../UTIL/smout.f ../UTIL/svout.f\
53 +       ../UTIL/zmout.f ../UTIL/zvout.f 
This page took 0.09966 seconds and 3 git commands to generate.