Damjan Marion | 164e5f8 | 2018-04-25 19:11:15 +0200 | [diff] [blame^] | 1 | AC_INIT(vom, 18.07) |
| 2 | LT_INIT |
| 3 | AM_INIT_AUTOMAKE |
| 4 | AM_SILENT_RULES([yes]) |
| 5 | AC_PREFIX_DEFAULT([/usr]) |
| 6 | |
| 7 | PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=1], [HAVE_CHECK=0]) |
| 8 | AM_CONDITIONAL([USE_CHECK],[test "$HAVE_CHECK" -eq 1]) |
| 9 | |
| 10 | AC_PROG_CC |
| 11 | AC_PROG_CXX |
| 12 | |
| 13 | AM_CONDITIONAL(ENABLE_ACL_PLUGIN, test "yes" = "yes") |
| 14 | AM_CONDITIONAL(ENABLE_NAT_PLUGIN, test "yes" = "yes") |
| 15 | AM_CONDITIONAL(ENABLE_L2E_PLUGIN, test "yes" = "yes") |
| 16 | AM_CONDITIONAL(ENABLE_GBP_PLUGIN, test "yes" = "yes") |
| 17 | |
| 18 | AC_OUTPUT([Makefile vom/Makefile]) |
| 19 | |
| 20 | AC_CONFIG_MACRO_DIR([m4]) |