[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] re-compiling an older source package....
- Subject: [ale] re-compiling an older source package....
- From: brian at polibyte.com (Brian Pitts)
- Date: Mon, 26 Oct 2009 13:15:19 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
On 10/26/2009 12:32 PM, Jim Popovitch wrote:
> Long story... here's the pertinent parts:
>
> I have an older source package that I want to re-compile for a newer
> kernel. However, I want (need) this source to compile with an older
> set up includes, not those in /usr/include. I've tried adding things
> to Makefile.am, and then running "autoconf --gnu Makefile" to no
> avail. What is the trick to overwriting "includes" path and making
> it supported by the next person who runs ./configure ?
>
I think the easiest thing is to use the I flag of the preprocessor and
the L flag of the linker. Thus something like
CPPFLAGS="-I /opt/include" LDFLAGS="-L /opt/lib" ./configure
Hopefully someone else can verify.
--
All the best,
Brian Pitts