source: trunk/athena/bin/attachandrun/configure.ac @ 24662

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 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT
3AC_CONFIG_SRCDIR([attachandrun.c])
4
5test -z "$lbindir" && lbindir='${bindir}'
6AC_SUBST([lbindir])
7
8AC_PROG_CC
9AC_PROG_INSTALL
10AC_PROG_MKDIR_P
11
12PKG_CHECK_MODULES([ATHDIR], [athdir])
13
14AC_MSG_NOTICE([Adding athdir CFLAGS ${ATHDIR_CFLAGS}])
15CFLAGS="${ATHDIR_CFLAGS} ${CFLAGS}"
16AC_MSG_NOTICE([Adding athdir LIBS ${ATHDIR_LIBS}])
17LIBS="${ATHDIR_LIBS} ${LIBS}"
18
19AC_CONFIG_FILES([Makefile])
20AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.