[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: autotools alternatives, is anybody using autosetup?
- From: Aleksey Cheusov <cheusov@...>
- Date: Wed, 18 Jul 2012 13:22:21 +0300
> If it was written in mk-configure, i'd look like the following (not
> tested, only idea is demonstrated).
I overlooked one important fragment from pcap makefile. Analog in mk-configure
may look like the following.
...
CFLAGS_pcap != pcap --cflags
LDADD_pcap != pcap -- libs
CFLAGS += ${CFLAGS_pcap}
LDADD += ${LDADD_pcap}
...
I introduced two new _pcap variables not because it's not possible to write
everything in two lines but because with _pcap variables it's easier for package
maintainer to overwrite the defaults.
P.S.
mk-configure supports pkg-config, so, if pcap library use it,
Makefile will look even easier.
- References:
- Re: autotools alternatives, is anybody using autosetup?, Sam Roberts
- Re: autotools alternatives, is anybody using autosetup?, William Ahern
- Re: autotools alternatives, is anybody using autosetup?, Miles Bader
- Re: autotools alternatives, is anybody using autosetup?, Coda Highland
- Re: autotools alternatives, is anybody using autosetup?, Sam Roberts
- Re: autotools alternatives, is anybody using autosetup?, William Ahern
- Re: autotools alternatives, is anybody using autosetup?, Aleksey Cheusov