source: trunk/athena/bin/athdir/configure.ac @ 24559

Revision 24559, 408 bytes checked in by broder, 14 years ago (diff)
In athdir: * 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([athdir.c])
4
5AC_PROG_CC
6AC_PROG_INSTALL
7AC_PROG_MKDIR_P
8
9PKG_CHECK_MODULES([ATHDIR], [athdir])
10
11AC_MSG_NOTICE([Adding athdir CFLAGS ${ATHDIR_CFLAGS}])
12CFLAGS="${ATHDIR_CFLAGS} ${CFLAGS}"
13AC_MSG_NOTICE([Adding athdir LDFLAGS ${ATHDIR_LIBS}])
14LDFLAGS="${ATHDIR_LIBS} ${LDFLAGS}"
15
16AC_CONFIG_FILES([Makefile])
17AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.