blob: f3d2aac897e988429285cd3eb0e32f8c14d513bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
#-------------------------------------------------------------------------------
AC_PREREQ(2.59)
AC_INIT([calcurse],
- m4_esyscmd([build-aux/git-version-gen .version]),
+ m4_esyscmd_s([cat .version]),
[bugs@calcurse.org])
AM_INIT_AUTOMAKE
#m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@ -51,6 +51,9 @@
LIBS="$LIBS -l$available_ncurses"
])
+AC_SEARCH_LIBS([cbreak], [tinfow tinfo],,
+ AC_MSG_ERROR([Cannot find a library providing cbreak]))
+
AC_CHECK_HEADERS([pthread.h], [
AC_CHECK_LIB(pthread, pthread_create, [
LIBS="$LIBS -pthread"
|