diff configure.in @ 17:8ebecad6530f stable-1-6

Add src/daemon* missing from source control. Switch to Mercurial source control.
author Carl Byington <carl@five-ten-sg.com>
date Fri, 21 Mar 2008 16:00:13 -0700
parents 72a94c46c2be
children b24369330483
line wrap: on
line diff
--- a/configure.in	Fri Mar 21 12:32:29 2008 +0000
+++ b/configure.in	Fri Mar 21 16:00:13 2008 -0700
@@ -1,5 +1,5 @@
 AC_PREREQ(2.59)
-AC_INIT(sm-archive,1.5,carl@five-ten-sg.com)
+AC_INIT(sm-archive,1.6,carl@five-ten-sg.com)
 AC_CONFIG_SRCDIR([config.h.in])
 AC_CONFIG_HEADER([config.h])
 
@@ -7,6 +7,9 @@
 
 # Checks for programs.
 AC_PATH_PROGS(BASH, bash)
+if test "x$BASH" = x ; then
+    AC_MSG_ERROR([bash required for init script])
+fi
 AC_PROG_CXX
 AC_PROG_CC
 AC_PROG_CPP
@@ -17,7 +20,7 @@
 
 # Checks for header files.
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h stdlib.h syslog.h unistd.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_STDBOOL
@@ -26,7 +29,6 @@
 # Checks for library functions.
 AC_FUNC_FORK
 AC_FUNC_GETPGRP
-AC_HEADER_STDC
 AC_FUNC_STAT
 AC_CHECK_FUNCS([memset socket strchr strdup strncasecmp strtol daemon])
 
@@ -34,6 +36,7 @@
 ACX_PTHREAD
 
 AC_CONFIG_FILES([Makefile
+                 sm-archive.rc
                  sm-archive.spec
                  html/Makefile
                  info/Makefile