summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-01-26 10:02:01 +0000
committerFrederic Culot <calcurse@culot.org>2008-01-26 10:02:01 +0000
commit4dcb362cc36d84d0760ff980c19b67f6ca7f9f27 (patch)
tree67457f1c023547196f50cbf97197b0bf4dbb4e9a
parent407a262938a3aafb3be7d3077b4bf3c0656f4abe (diff)
downloadcalcurse-4dcb362cc36d84d0760ff980c19b67f6ca7f9f27.zip
configure.ac updated
-rwxr-xr-xChangeLog5
-rwxr-xr-xconfigure.ac10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b6509ba..cb41baa 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+26 Jan 2008:
+ configure.ac updated: linking against pthread instead of lpthread
+ (thanks ajacoutot@)
+ check for errno.h presence added
+
20 Jan 2008:
day_edit_item() rewritten so that there is no need to first delete
the item and then recreate it
diff --git a/configure.ac b/configure.ac
index 2e7a17e..97f3552 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,10 +1,10 @@
-# $calcurse: configure.ac,v 1.13 2007/10/23 17:50:55 culot Exp $
+# $calcurse: configure.ac,v 1.14 2008/01/26 10:02:01 culot Exp $
#-------------------------------------------------------------------------------
# Init
#-------------------------------------------------------------------------------
AC_PREREQ(2.59)
-AC_INIT(calcurse, 1.9, frederic@culot.org)
+AC_INIT(calcurse, 2.0_beta, frederic@culot.org)
AM_INIT_AUTOMAKE
AM_GNU_GETTEXT([external])
AC_CONFIG_SRCDIR([src/calcurse.c])
@@ -23,7 +23,7 @@ AC_PROG_CC
AC_HEADER_STDC
AC_CHECK_HEADERS([ctype.h getopt.h locale.h math.h signal.h stdbool.h stdio.h \
stdlib.h string.h sys/stat.h sys/types.h sys/wait.h time.h \
- unistd.h])
+ unistd.h errno.h])
#-------------------------------------------------------------------------------
# Checks for system libs
#-------------------------------------------------------------------------------
@@ -38,9 +38,9 @@ AC_CHECK_HEADERS([ncurses.h], [
AC_CHECK_HEADERS([pthread.h], [
AC_CHECK_LIB(pthread, pthread_create, [
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS -pthread"
AC_DEFINE(HAVE_LIBPTHREAD, 1,
- [Define to 1 if you have the 'pthread' library (-lpthread).])
+ [Define to 1 if you have the 'pthread' library (-pthread).])
],
AC_MSG_ERROR(The pthread library is required in order to build calcurse!))
], AC_MSG_ERROR(The pthread header is required in order to build calcurse!))