Changeset 4d8cea in git for libpolys/configure.ac


Ignore:
Timestamp:
Jul 31, 2018, 10:58:46 AM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
Children:
09f6a7dc1754cf6e92f412f432ec3cd56a3a10d7
Parents:
cadc8982276b61186daf2b1af182e715450e71df
Message:
fix: add -pthread test to all NTL tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.