Revision 24655,
803 bytes
checked in by broder, 15 years ago
(diff) |
In attach:
* Use pkg-config when available instead of hard-coding compiler and
linker flags.
|
Rev | Line | |
---|
[12589] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
[24652] | 2 | AC_INIT |
---|
| 3 | AC_CONFIG_SRCDIR([add.c]) |
---|
[12589] | 4 | |
---|
| 5 | test -z "$lbindir" && lbindir='${bindir}' |
---|
[24652] | 6 | AC_SUBST([lbindir]) |
---|
[12589] | 7 | test -z "$lsbindir" && lsbindir='${sbindir}' |
---|
[24652] | 8 | AC_SUBST([lsbindir]) |
---|
[12589] | 9 | |
---|
| 10 | AC_PROG_CC |
---|
| 11 | AC_PROG_INSTALL |
---|
[24652] | 12 | AC_PROG_MKDIR_P |
---|
[12589] | 13 | |
---|
[24655] | 14 | PKG_CHECK_MODULES([ATHDIR], [athdir]) |
---|
| 15 | AC_MSG_NOTICE([Using CFLAGS for athdir ${ATHDIR_CFLAGS}]) |
---|
| 16 | AC_SUBST([ATHDIR_CFLAGS]) |
---|
| 17 | AC_MSG_NOTICE([Using LIBS for athdir ${ATHDIR_LIBS}]) |
---|
| 18 | AC_SUBST([ATHDIR_LIBS]) |
---|
| 19 | |
---|
| 20 | PKG_CHECK_MODULES([COM_ERR], [com_err]) |
---|
| 21 | AC_MSG_NOTICE([Adding com_err CFLAGS ${COM_ERR_CFLAGS}]) |
---|
| 22 | CFLAGS="${COM_ERR_CFLAGS} ${CFLAGS}" |
---|
| 23 | AC_MSG_NOTICE([Adding com_err LIBS ${COM_ERR_LIBS}]) |
---|
| 24 | LIBS="${COM_ERR_LIBS} ${LIBS}" |
---|
| 25 | |
---|
[12589] | 26 | ATHENA_REGEXP |
---|
| 27 | ATHENA_AFS_REQUIRED |
---|
[24070] | 28 | ATHENA_KRB4 |
---|
[12589] | 29 | ATHENA_HESIOD_REQUIRED |
---|
| 30 | |
---|
[24652] | 31 | AC_CONFIG_FILES([Makefile]) |
---|
| 32 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.