[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323
Bernhard R. Link
brlink at debian.org
Tue Apr 24 15:54:13 UTC 2012
The following commit has been merged in the cleanedupstream branch:
commit a87065d404a6c68d62b1aec7b787127998076ce0
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date: Fri Mar 16 15:33:28 2012 +0100
fix: building Singularg: -lpthread/-lrt
diff --git a/Singular/configure b/Singular/configure
index 5c62d91..c4fbb9b 100755
--- a/Singular/configure
+++ b/Singular/configure
@@ -5860,8 +5860,6 @@ else
echo "$ac_t""no" 1>&6
fi
-NEED_LIBSG="${NEED_LIBS}"
-
echo $ac_n "checking for in -lrt""... $ac_c" 1>&6
echo "configure:5867: checking for in -lrt" >&5
ac_lib_var=`echo rt'_' | sed 'y%./+-%__p_%'`
@@ -5913,6 +5911,8 @@ if test "$ac_cv_lib_rt" = yes; then
NEED_LIBS="${NEED_LIBS} -lrt"
fi
+NEED_LIBSG="${NEED_LIBS} -lpthread"
+
if test "$ac_cv_sizeof_voidp" != 4; then
NEED_LIBS="${NEED_LIBS} -lomalloc -lpthread"
else
diff --git a/Singular/configure.in b/Singular/configure.in
index da92c12..3e98c39 100644
--- a/Singular/configure.in
+++ b/Singular/configure.in
@@ -1307,20 +1307,19 @@ else
AC_MSG_RESULT(no)
fi
-NEED_LIBSG="${NEED_LIBS}"
-
AC_CHECK_LIB(rt)
if test "$ac_cv_lib_rt" = yes; then
NEED_LIBS="${NEED_LIBS} -lrt"
fi
+NEED_LIBSG="${NEED_LIBS} -lpthread"
+
if test "$ac_cv_sizeof_voidp" != 4; then
NEED_LIBS="${NEED_LIBS} -lomalloc -lpthread"
else
NEED_LIBS="${NEED_LIBS} -lomalloc_ndebug -lpthread"
fi
-
AC_SUBST(NEED_LIBS)
AC_SUBST(NEED_LIBSG)
--
an open source computer algebra system
More information about the debian-science-commits
mailing list