Fixed --log long option recognition ('l'->'L').
[mdsms.git] / configure.in
index 4abb731..979a463 100644 (file)
@@ -1,19 +1,8 @@
 # $Id$
-#
-# $Log$
-# Revision 1.3  1999/07/14 01:02:51  short
-# Version bumped to 1.2.
-#
-# Revision 1.2  1999/06/03 11:48:18  short
-# Version bumped to 1.1.
-#
-# Revision 1.1.1.1  1999/05/26 13:06:26  short
-# First alpha release.
-#
 
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(mdsms.c)
-AM_INIT_AUTOMAKE(mdsms, 1.2)
+AM_INIT_AUTOMAKE(mdsms, 1.3)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
@@ -163,6 +152,15 @@ AC_TRY_RUN([int main() { char s[100];
        return(!(strcmp(s,"m") && strcmp(s,"%m")));
        }],AC_DEFINE(PRINTF_WORKS_PM) AC_MSG_RESULT(yes),AC_MSG_RESULT(no),AC_MSG_RESULT(avoiding))
 
+GCC_NEED_DECLARATION(gethostname, [#include <unistd.h>])
+GCC_NEED_DECLARATION(kill,        [#include <sys/types.h>
+#include <signal.h>])
+GCC_NEED_DECLARATION(snprintf,    [#include <stdio.h>])
+GCC_NEED_DECLARATION(vsnprintf,   [#include <stdio.h>
+#include <stdarg.h>])
+GCC_NEED_DECLARATION(strdup,      [#include <string.h>])
+GCC_NEED_DECLARATION(usleep,      [#include <unistd.h>])
+
 # Final output.
 
 AC_SUBST(LIBOBJS)