summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-09-16 15:40:05 +0000
committerFrederic Culot <calcurse@culot.org>2007-09-16 15:40:05 +0000
commit1f8ab27653012a69f183fcdb00ea88cc67e37da8 (patch)
tree56c2dd743fb742411b87f043d2c8ec0eab850f9b /configure.ac
parentd2b15fb3705c840e63d5f2d35b640ef536ab43e1 (diff)
downloadcalcurse-1f8ab27653012a69f183fcdb00ea88cc67e37da8.zip
bugfix: wrong symbol used for pthread library (thanks Michael for noticing this mistake)
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9d20ba0..4a85617 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $calcurse: configure.ac,v 1.11 2007/07/28 15:04:52 culot Exp $
+# $calcurse: configure.ac,v 1.12 2007/09/16 15:40:05 culot Exp $
#-------------------------------------------------------------------------------
# Init
@@ -39,7 +39,7 @@ AC_CHECK_HEADERS([ncurses.h], [
AC_CHECK_HEADERS([pthread.h], [
AC_CHECK_LIB(pthread, pthread_create, [
LIBS="$LIBS -lpthread"
- AC_DEFINE(HAVE_LIBNCURSES, 1,
+ AC_DEFINE(HAVE_LIBPTHREAD, 1,
[Define to 1 if you have the 'pthread' library (-lpthread).])
],
AC_MSG_ERROR(The pthread library is required in order to build calcurse!))