Revision 24662,
468 bytes
checked in by broder, 15 years ago
(diff) |
In attachandrun:
* Use pkg-config to get the CFLAGS and LDFLAGS for libathdir.
|
Rev | Line | |
---|
[14411] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
[24660] | 2 | AC_INIT |
---|
| 3 | AC_CONFIG_SRCDIR([attachandrun.c]) |
---|
[14411] | 4 | |
---|
[14643] | 5 | test -z "$lbindir" && lbindir='${bindir}' |
---|
[24660] | 6 | AC_SUBST([lbindir]) |
---|
[14643] | 7 | |
---|
[14411] | 8 | AC_PROG_CC |
---|
| 9 | AC_PROG_INSTALL |
---|
[24660] | 10 | AC_PROG_MKDIR_P |
---|
[14411] | 11 | |
---|
[24662] | 12 | PKG_CHECK_MODULES([ATHDIR], [athdir]) |
---|
| 13 | |
---|
| 14 | AC_MSG_NOTICE([Adding athdir CFLAGS ${ATHDIR_CFLAGS}]) |
---|
| 15 | CFLAGS="${ATHDIR_CFLAGS} ${CFLAGS}" |
---|
| 16 | AC_MSG_NOTICE([Adding athdir LIBS ${ATHDIR_LIBS}]) |
---|
| 17 | LIBS="${ATHDIR_LIBS} ${LIBS}" |
---|
| 18 | |
---|
[24660] | 19 | AC_CONFIG_FILES([Makefile]) |
---|
| 20 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.