summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.ac3
-rwxr-xr-xconfigure.in3
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8477401d..f66691c1 100755
--- a/configure.ac
+++ b/configure.ac
@@ -540,11 +540,10 @@ else
OSPFD="ospfd"
fi
-OSPFAPI=""
OSPFCLIENT=""
if test "${enable_opaque_lsa}" = "yes"; then
if test "${enable_ospfapi}" != "no";then
- OSPFAPI="-DSUPPORT_OSPF_API"
+ AC_DEFINE(SUPPORT_OSPF_API,,OSPFAPI)
if test "${enable_ospfclient}" != "no";then
OSPFCLIENT="ospfclient"
diff --git a/configure.in b/configure.in
index 8477401d..f66691c1 100755
--- a/configure.in
+++ b/configure.in
@@ -540,11 +540,10 @@ else
OSPFD="ospfd"
fi
-OSPFAPI=""
OSPFCLIENT=""
if test "${enable_opaque_lsa}" = "yes"; then
if test "${enable_ospfapi}" != "no";then
- OSPFAPI="-DSUPPORT_OSPF_API"
+ AC_DEFINE(SUPPORT_OSPF_API,,OSPFAPI)
if test "${enable_ospfclient}" != "no";then
OSPFCLIENT="ospfclient"