25 |
AC_CONFIG_AUX_DIR([scripts]) |
AC_CONFIG_AUX_DIR([scripts]) |
26 |
AC_CANONICAL_SYSTEM |
AC_CANONICAL_SYSTEM |
27 |
AM_INIT_AUTOMAKE(no-exeext) |
AM_INIT_AUTOMAKE(no-exeext) |
28 |
AM_CONFIG_HEADER(config.h) |
AC_CONFIG_HEADERS([config.h]) |
29 |
|
|
30 |
AC_SUBST(BUILD_TARGET) |
AC_SUBST(BUILD_TARGET) |
31 |
AC_SUBST(INCLUDEPATH) |
AC_SUBST(INCLUDEPATH) |
624 |
## ************** |
## ************** |
625 |
|
|
626 |
AH_TEMPLATE(USE_SNMP, [Define this to enable SNMP support]) |
AH_TEMPLATE(USE_SNMP, [Define this to enable SNMP support]) |
627 |
|
AC_SUBST(SNMP_CONFIG) |
628 |
|
SNMP_CONFIG="# " |
629 |
AC_ARG_ENABLE(snmp, |
AC_ARG_ENABLE(snmp, |
630 |
AC_HELP_STRING([--enable-snmp[={yes|no|compat}]], |
AC_HELP_STRING([--enable-snmp[={yes|no|compat}]], |
631 |
[enable SNMP support]), |
[enable SNMP support]), |
634 |
AC_DEFINE(USE_SNMP) |
AC_DEFINE(USE_SNMP) |
635 |
AC_DEFINE(SNMP_COMPAT_0_96,1, |
AC_DEFINE(SNMP_COMPAT_0_96,1, |
636 |
[Enable support for MIBS used in 0.96 branch]) |
[Enable support for MIBS used in 0.96 branch]) |
637 |
|
SNMP_CONFIG="" |
638 |
;; |
;; |
639 |
yes) USE_SNMP=yes |
yes) USE_SNMP=yes |
640 |
AC_DEFINE(USE_SNMP) |
AC_DEFINE(USE_SNMP) |
641 |
|
SNMP_CONFIG="" |
642 |
;; |
;; |
643 |
no) ;; |
no) ;; |
644 |
*) AC_MSG_ERROR(--enable-snmp can't be used with an argument) |
*) AC_MSG_ERROR(--enable-snmp can't be used with an argument) |
724 |
#define LOCK_RELEASE(name) |
#define LOCK_RELEASE(name) |
725 |
]) |
]) |
726 |
|
|
|
|
|
727 |
AC_OUTPUT(Makefile |
AC_OUTPUT(Makefile |
728 |
m4/Makefile |
m4/Makefile |
729 |
intl/Makefile |
intl/Makefile |
730 |
po/Makefile.in |
po/Makefile.in |
731 |
raddb/client.conf |
raddb/client.conf |
732 |
|
raddb/config |
733 |
include/Makefile |
include/Makefile |
734 |
include/snmp/Makefile |
include/snmp/Makefile |
735 |
lib/Makefile |
lib/Makefile |