diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a90a9d45..3cc3d03d 100644 --- a/configure.ac +++ b/configure.ac @@ -158,9 +158,9 @@ AC_SUBST(SOCKETLIBS) dnl Check for POSIX thread libraries AC_CHECK_HEADERS(pthread.h) -AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread", - AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread -lrt",-lrt)) -AC_SUBST(THRLIBS) +AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread", + AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread -lrt",-lrt)) +AC_SUBST(THREADLIBS) dnl dnl check for math-related functions needing -lm |