Revision 24662,
468 bytes
checked in by broder, 14 years ago
(diff) |
In attachandrun:
* Use pkg-config to get the CFLAGS and LDFLAGS for libathdir.
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_INIT |
---|
3 | AC_CONFIG_SRCDIR([attachandrun.c]) |
---|
4 | |
---|
5 | test -z "$lbindir" && lbindir='${bindir}' |
---|
6 | AC_SUBST([lbindir]) |
---|
7 | |
---|
8 | AC_PROG_CC |
---|
9 | AC_PROG_INSTALL |
---|
10 | AC_PROG_MKDIR_P |
---|
11 | |
---|
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 | |
---|
19 | AC_CONFIG_FILES([Makefile]) |
---|
20 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.