autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with missing template


From: Akim Demaille
Subject: Re: Problems with missing template
Date: 09 Sep 2002 10:05:23 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

>>>>> "Stephen" == Stephen Torri <address@hidden> writes:

Stephen> If I run autoheader on this I get: autoheader: missing
Stephen> template: HAVE_IP_MREQN

Stephen> autoconf version: 2.53

Can't reproduce it.

/tmp % cat configure.ac                                          nostromo 10:04
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
])
AC_INIT
AC_CONFIG_HEADERS(config.h)
AC_CHECK_IP_MREQN
AC_OUTPUT
/tmp % autoheader2.50 --version                                  nostromo 10:04
autoheader (GNU Autoconf) 2.53
Written by Roland McGrath and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/tmp % autoheader2.50                                            nostromo 10:04
autoheader2.50: `config.h.in' is created
/tmp % cat config.h.in                                           nostromo 10:04
/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Define this if you have ip_mreqn in netinet/in.h */
#undef HAVE_IP_MREQN

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the version of this package. */
#undef PACKAGE_VERSION




reply via email to

[Prev in Thread] Current Thread [Next in Thread]