git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sprintf() and siginterrupt() portability problems fixed.
[mdsms.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
979a463
..
d2b13f3
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2,7
+2,7
@@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(mdsms.c)
dnl Process this file with autoconf to produce a configure script.
AC_INIT(mdsms.c)
-AM_INIT_AUTOMAKE(
mdsms, 1.3
)
+AM_INIT_AUTOMAKE(
sms9110, 1.4
)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
@@
-137,6
+137,8
@@
if $uns;then AC_DEFINE(ATTR_UNUSED,) AC_MSG_RESULT(no);fi
AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF))
AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF))
AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF))
AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF))
+AC_CHECK_FUNCS(siginterrupt)
+
AC_TYPE_SIGNAL
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_TYPE_PID_T
@@
-160,9
+162,15
@@
GCC_NEED_DECLARATION(vsnprintf, [#include <stdio.h>
#include <stdarg.h>])
GCC_NEED_DECLARATION(strdup, [#include <string.h>])
GCC_NEED_DECLARATION(usleep, [#include <unistd.h>])
#include <stdarg.h>])
GCC_NEED_DECLARATION(strdup, [#include <string.h>])
GCC_NEED_DECLARATION(usleep, [#include <unistd.h>])
+GCC_NEED_DECLARATION(strcasecmp, [#include <string.h>])
+GCC_NEED_DECLARATION(siginterrupt,[#include <signal.h>])
# Final output.
# Final output.
+if test "$ACLOCAL" = "aclocal";then
+ ACLOCAL="$ACLOCAL -I ."
+fi
+
AC_SUBST(LIBOBJS)
AC_OUTPUT(Makefile)
AC_SUBST(LIBOBJS)
AC_OUTPUT(Makefile)