sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

check for curses.h #1

Closed lingej closed 13 years ago

lingej commented 13 years ago

Hi Sven, we should check for curses.h while running configure.

Cheers, Joerg

diff --git a/configure.ac b/configure.ac index 7f44e12..81c8fd8 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_CHECK_LIB([pthread], [pthread_create])

##############################################

Checks for header files.

-AC_CHECK_HEADERS([stdlib.h string.h unistd.h pthread.h arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h sys/socket.h sys/time.h sys/timeb.h syslog.h],,AC_MSG_ER +AC_CHECK_HEADERS([stdlib.h string.h unistd.h pthread.h arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h sys/socket.h sys/time.h sys/timeb.h syslog.h curses.h],, AC_CHECK_HEADERS([ltdl.h],,AC_MSG_ERROR([Compiling mod_gearman requires ltdl.h]))

AC_ARG_WITH(gearman,

sni commented 13 years ago

Thats right. I updated the configure.ac Thanks.