[srvx-commits] CVS: services configure.ac,1.5,1.6
Brought to you by:
entrope
From: Entrope <en...@us...> - 2001-08-24 20:32:37
|
Update of /cvsroot/srvx/services In directory usw-pr-cvs1:/tmp/cvs-serv9893 Modified Files: configure.ac Log Message: check for arpa/inet.h and complain if src/proto_${PROTO}.h is missing Index: configure.ac =================================================================== RCS file: /cvsroot/srvx/services/configure.ac,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** configure.ac 2001/08/19 03:06:09 1.5 --- configure.ac 2001/08/24 20:32:34 1.6 *************** *** 86,90 **** dnl Would rather not bail on headers, BSD has alot of the functions elsewhere. -Jedi ! AC_CHECK_HEADERS(ctype.h errno.h fcntl.h malloc.h math.h netdb.h netinet/in.h pthread.h setjmp.h signal.h stdarg.h stdio.h stdlib.h sys/resource.h sys/timeb.h sys/times.h string.h sys/param.h sys/poll.h sys/socket.h sys/time.h sys/types.h time.h unistd.h getopt.h memory.h regex.h alloca.h dlfcn.h,,) dnl portability stuff, hurray! -Jedi --- 86,90 ---- dnl Would rather not bail on headers, BSD has alot of the functions elsewhere. -Jedi ! AC_CHECK_HEADERS(arpa/inet.h ctype.h errno.h fcntl.h malloc.h math.h netdb.h netinet/in.h pthread.h setjmp.h signal.h stdarg.h stdio.h stdlib.h sys/resource.h sys/timeb.h sys/times.h string.h sys/param.h sys/poll.h sys/socket.h sys/time.h sys/types.h time.h unistd.h getopt.h memory.h regex.h alloca.h dlfcn.h,,) dnl portability stuff, hurray! -Jedi *************** *** 235,238 **** --- 235,241 ---- [PROTO="$enableval"], [PROTO=ircu_p10]) + if test ! -f "${srcdir}/src/proto_${PROTO}.h" ; then + AC_MSG_ERROR([Missing file ${srcdir}/src/proto_${PROTO}.h; do we really support protocol ${PROTO}?]) + fi AC_DEFINE_UNQUOTED(PROTO_INCLUDE, "proto_${PROTO}.h", [Header file for IRC dialect support]) |