[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Writing Rules
From: |
Rev. Jonathan T Sage |
Subject: |
Writing Rules |
Date: |
Mon, 3 Dec 2001 20:55:52 -0800 (PST) |
Perhaps this is not the best place in which to ask this, If so, please point me
in the right direction.
I am working on adding some protability to a transparent IRC proxy, and have
encountered a situation where I need to know at compile time what version of
IPFilter is availible on the machine. I have found this information, and I
have my code depnd on the definition of IPF_4_3 in config.h. What I don't know
is how to have autoconf take one and turn it into the other.
The information is in the header file /netinet/ipl.h, which I already test as
being there succesfully. The version string is contained in that file at line
13 as :
#define IPL_VERSION = "IP Filter: v3.x.yy"
I need to define IPF_4_3 if x=4, and not define it if x=3.
Any help would be much appreciated
Thanks for your time ~Jon
=====
==========================================================
"Did you ever wonder if the person in the puddle is
real, and you're just a reflection of him?"
- Calvin (from Calvin & Hobbes)
==========================================================
Rev. Jonathan T Sage [-WiSE-] address@hidden
HTTP://www.wisefreebsd.org
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
- Writing Rules,
Rev. Jonathan T Sage <=