Changeset eb7c6b in git
- Timestamp:
- Sep 12, 2014, 12:20:09 PM (9 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 3b6f1bf8adb986d207f385b4473052dca49baf56
- Parents:
- cad9d1320047d98fd4177239334b76e7ccee061c
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-09-12 12:20:09+02:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-09-12 12:20:56+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
rcad9d1 reb7c6b 56 56 57 57 # Checks for libraries. 58 59 # This test for -lpthread etc has to come before AX_PTHREAD, 60 # because libtool tends to ignore -pthread in linking shared C++-libs 61 # see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 62 # (happens with ubuntu 14.04) 63 AC_SEARCH_LIBS(sem_wait,[rt pthreads pthread],[],[ 64 AC_MSG_ERROR([sem_wait not found in rt,pthreads,pthread]) 65 ]) 66 58 67 #AC_CHECK_LIB(pthread,pthread_create) 59 68 AX_PTHREAD([], [ … … 70 79 # Set the correct PTHREAD flags and, if needed, change the compiler to one that is pthread-enabled. 71 80 CC="$PTHREAD_CC" 72 PTHREAD_LDFLAGS="$PTHREAD_CFLAGS" 81 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 82 LDFLAGS="$LDFLAGS $PTHREAD_LDFLAGS" 73 83 74 84 AC_SUBST(PTHREAD_CFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.