summaryrefslogtreecommitdiff
path: root/sci-mathematics/singular/files/singular-4.0.0-fix-omalloc-ar-detection.patch
blob: 87b44234af5fbbdd1b21bbef0a2d530b23578e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -U 3 -dHrN singular-4.0.0.orig/omalloc/configure.ac singular-4.0.0/omalloc/configure.ac
--- singular-4.0.0.orig/omalloc/configure.ac	2014-03-06 18:07:49.000000000 +0100
+++ singular-4.0.0/omalloc/configure.ac	2014-05-09 15:41:19.755097185 +0200
@@ -117,7 +117,7 @@
 dnl check for programs
 dnl
 AC_CHECK_PROG(AR, ar, ar, :)
-if test "$ac_cv_prog_AR" != ar; then
+if test "$ac_cv_prog_AR" = no; then
   AC_MSG_ERROR(*** ar program not found)
 fi
 AC_CHECK_PROGS(PERL, perl, "no")