[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changes to get package to work with autoconf 2.49cvs
From: |
Nathan Neulinger |
Subject: |
Re: changes to get package to work with autoconf 2.49cvs |
Date: |
Thu, 10 May 2001 07:58:57 -0500 |
Akim Demaille wrote:
>
> >>>>> "Nathan" == Nathan Neulinger <Neulinger> writes:
>
> Nathan> In particular, with autoconf I keep getting the error saying:
>
> Nathan> configure.in:2: error: undefined macro: dnl
>
> Nathan> Any ideas?
>
> Yep, send the top of configure.in.
I'll paraphrase it:
----
# some comment
dnl
dnl some other comment
----
Stripping out all of the # and all of the dnl in configure.in just moves
it elsewhere - into one of the macros or aclocal/etc.
If you need the actual configure.in, easiest thing to do would be to
just grab ethereal from
http://www.ethereal.com/distribution/ethereal-0.8.17-a.tar.gz
You would need other stuff (libpcap+gtk) to build it, but that is
sufficient for testing autoconf run I think.
I was able to track it down to the following - if I remove the entire
case block from the IPV6 check in aclocal.m4 (from acinclude.m4) - it
works, but I don't see anything in there that is screwy.
It's just a bunch of things like this:
---
v6d)
AC_EGREP_CPP(yes, [dnl
#include </usr/local/v6/include/sys/types.h>
#ifdef __V6D__
yes
#endif],
[v6type=$i; v6lib=v6;
v6libdir=/usr/local/v6/lib;
CFLAGS="-I/usr/local/v6/include
$CFLAGS"])
;;
---
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: address@hidden
University of Missouri - Rolla Phone: (573) 341-4841
CIS - Systems Programming Fax: (573) 341-4216