Problems with missing template

From:

Stephen Torri

Subject:

Problems with missing template

Date:

08 Sep 2002 14:05:46 -0500

I am trying to update the xine project library automake/autoconf system
to use autoconf-2.52 or above. In the m4 functions it has a function
called AC_CHECK_IP_MREQN defined below:
dnl AC_CHECK_IP_MREQN
dnl check for struct ip_mreqn in netinet/in.h
AC_DEFUN([AC_CHECK_IP_MREQN],
[AC_CACHE_CHECK([for ip_mreqn], [ac_cv_have_ip_mreqn],
[AC_EGREP_HEADER([ip_mreqn],
[netinet/in.h],
[ac_cv_have_ip_mreqn=yes],
[ac_cv_have_ip_mreqn=no])])
if test $ac_cv_have_ip_mreqn = yes; then
AC_DEFINE([HAVE_IP_MREQN],1,[Define this if you have
ip_mreqn in netinet/in.h])
fi
])
If I run autoheader on this I get:
autoheader: missing template: HAVE_IP_MREQN
autoconf version: 2.53
Stephen