Running current autoconf with this simple configure.in:

----------------------------------------------------------------------
dnl Process this file with autoconf to produce a configure script.
AC_INIT(foo, 0.0)
AC_PROG_CC
AC_MSG_CHECKING([foo])
AC_TRY_LINK([
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
[int s = socket(AF_INET, 0, 0);])
AC_OUTPUT(Makefile)
----------------------------------------------------------------------

I get:

configure.in:9: error: undefined macro: AF_INET

which is apperently since A[A-Z]_ is reserved for autoconf.  But
surely this shouldn't be the case in included (and quoted) code?

/assar

Reply via email to