Changeset 4d8cea in git


Ignore:
Timestamp:
Jul 31, 2018, 10:58:46 AM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
09f6a7dc1754cf6e92f412f432ec3cd56a3a10d7
Parents:
cadc8982276b61186daf2b1af182e715450e71df
Message:
fix: add -pthread test to all NTL tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/configure.ac

    rcadc89 r4d8cea  
    210210
    211211#NTL 9.6.4 requires -lpthread/-pthread
     212# This test for -lpthread etc has to come before AX_PTHREAD,
     213# because libtool tends to ignore -pthread in linking shared C++-libs
     214# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
     215# (happens with ubuntu 14.04)
    212216AC_SEARCH_LIBS(sem_wait,[rt pthreads pthread],[],[
    213217  AC_MSG_ERROR([sem_wait not found in rt,pthreads,pthread])
  • libpolys/configure.ac

    rcadc89 r4d8cea  
    3737
    3838# Checks for libraries.
     39# This test for -lpthread etc has to come before AX_PTHREAD,
     40# because libtool tends to ignore -pthread in linking shared C++-libs
     41# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
     42# (happens with ubuntu 14.04)
     43AC_SEARCH_LIBS(sem_wait,[rt pthreads pthread],[],[
     44  AC_MSG_ERROR([sem_wait not found in rt,pthreads,pthread])
     45])
     46
    3947LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    4048LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
Note: See TracChangeset for help on using the changeset viewer.