Fix OSPFAPI build
diff --git a/configure.ac b/configure.ac
index 8477401..f66691c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -540,11 +540,10 @@
   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"