projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhbuild: Removed -rfc934mode switch, which is only useful for non-MIME systems.
[mmh]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
f55a982
..
04f23d1
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-394,6
+394,12
@@
for lib in $termcap_curses_order; do
AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break])
done
AC_SUBST(TERMLIB)dnl
AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break])
done
AC_SUBST(TERMLIB)dnl
+if test "x$TERMLIB" = "x"; then
+ echo 'Could not find tgetent() in any library.'
+ echo 'Is there a ncurses-devel package that you can install?'
+ exit 1
+fi
+
dnl ---------------
dnl CHECK FOR ICONV
dnl ---------------
dnl CHECK FOR ICONV
@@
-533,6
+539,11
@@
dnl ----------------
dnl CHECK STRUCTURES
dnl ----------------
dnl CHECK STRUCTURES
dnl ----------------
+dnl For platforms such as FreeBSD that have tm_gmtoff in struct tm.
+dnl (FreeBSD has a timezone() function but not a timezone global
+dnl variable that is visible).
+AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
+
AC_STRUCT_DIRENT_D_TYPE
dnl Where is <signal.h> located? Needed as input for signames.awk
AC_STRUCT_DIRENT_D_TYPE
dnl Where is <signal.h> located? Needed as input for signames.awk