[Snort-devel] Problem while creating configure script

Jeff Nathan jeff at ...835...
Fri May 16 16:51:03 EDT 2003

The problem was introduced after changes were made to configure.in to 
support the Sun compiler.

I patched this earlier this week but Chris and I were unsure about leaving 
#undef __FUNCTION__ in acconfig.h.  The patches to handle the Sun compiler 
used M4 macro expansion and *completely* broke autoconf 2.13 (but worked 
with 2.5x).  Removing the macro expansion seems to require #undef 

So, we have our answer Chris.


--On Friday, May 16, 2003 8:31 -0400 "Andrew R. Baker" <andrewb at ...835...> 

> Martin Olsson wrote:
>> I've downloaded the current snort from cvs to my FreeBSD 4.7.
>> I'm trying to create a configure-script using aclocal, autoheader,
>> automake and autoconf.
>> aclocal creates the file aclocal.m4.
>> The next command, autoheader213, says:
>>   configure.in:38: warning: AC_TRY_RUN called without default to allow
>>   cross compiling
>>   /usr/local/bin/autoheader213: Symbol `__FUNCTION__' is not covered by
>>   /usr/local/share/autoconf213/autoconf/acconfig.h ./acconfig.h
>> Anyone know what to do?
> Upgrade to auto* 2.57 or add "#undef __FUNCTION__" in acconfig.h (per
> Phil Wood) should do the trick.
> -A
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel

http://cerberus.sourcefire.com/~jeff       (gpg key available)
Great spirits have always encountered violent opposition from mediocre
- Albert Einstein

More information about the Snort-devel mailing list