blob: 9e94d1a9673b39c7274d5e4bf66733006cc9ad64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- autoconf/colpack.m4.orig 2014-05-21 09:01:30.749673830 -0700
+++ autoconf/colpack.m4 2014-05-21 09:01:30.749673830 -0700
@@ -21,7 +21,7 @@
COLPACK_LIBS="-lColPack"
D[[0]]=""
])
-
+if test x$colpack != xno; then
AC_LANG_PUSH([C++])
save_CXXFLAGS="$CXXFLAGS"
save_CPPFLAGS="$CPPFLAGS"
@@ -56,6 +56,9 @@
fi
done
AC_LANG_POP([C++])
+else
+ have_colpack=no
+fi
AM_CONDITIONAL(HAVE_LIBCOLPACK,[test x$have_colpack = xyes])
if test x$have_colpack = xyes; then
|