Perl portability

Russ Allbery rra at stanford.edu
Thu Sep 9 05:07:48 UTC 1999


There's a better way to implement Perl portability than what we're doing
right now (rolling our own #define's).  The problem is that ppport.h
(which I've checked into the development source) figures out what it has
to do by including the Perl header patchlevel.h to determine Perl's
version number.

This conflicts with INN's patchlevel.h.  :(

One fix is to re-order the -I options when compiling perl.c and hope that
that will cause compilers to grab Perl's first.  Another fix (and a
slightly cleaner one) would be to rename include/patchlevel.h to something
like include/innversion.h.

Preferences?

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list