summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-03-28 01:45:13 +0000
committerpaul <paul>2003-03-28 01:45:13 +0000
commit9a5698489c70e95938ef825d71943ba887f908d2 (patch)
tree4ea11679446eac7cf3bb01d5dbcac9afaf6ac8fe
parent683b22652ee36c8309c86278b5d4365c657bc0f6 (diff)
Fix OSPFAPI build
-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"