File: blaslapack_handle_empty_LIBS.patch

package info (click to toggle)
madness 0.10.1%2Bgit20200818.eee5fd9f-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,012 kB
  • sloc: cpp: 280,841; ansic: 12,626; python: 4,961; fortran: 4,245; xml: 1,053; makefile: 714; sh: 276; perl: 244; yacc: 227; lex: 188; asm: 141; csh: 55
file content (15 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./config/acx_fortran_symbols.m4.orig	2016-12-26 12:20:47.038668999 +0100
+++ ./config/acx_fortran_symbols.m4	2016-12-26 12:25:03.139822693 +0100
@@ -116,7 +116,11 @@
            AC_MSG_NOTICE([Could not find $lapacksym in any known library ... specify LAPACK library via LIBS])
        fi
 
-       LIBS="$LIBS $LAPACKLIB $BLASLIB"
+       if test "x$LIBS" != "x"; then
+           LIBS="$LIBS $LAPACKLIB $BLASLIB"
+       else
+           LIBS="$LAPACKLIB $BLASLIB"
+       fi
 ])