]> git.proxmox.com Git - mirror_frr.git/commitdiff
build: treat opaque-lsa default correctly for ospfapi
authorGreg Troxel <gdt@ir.bbn.com>
Thu, 24 Mar 2011 14:19:43 +0000 (10:19 -0400)
committerGreg Troxel <gdt@ir.bbn.com>
Thu, 24 Mar 2011 14:19:43 +0000 (10:19 -0400)
In deciding whether to default ospfapi to on or off, use the same rule
for opaque-lsa as earlier: != no rather than = yes, so that not having
set it implies yes.

configure.ac

index 27d26ef9c15da8272d23f724e9fcad58511f7ee2..b981d5b1a0b93aaac8d22c8ed4e279651213eb0e 100755 (executable)
@@ -1200,7 +1200,7 @@ else
 fi
 
 OSPFCLIENT=""
-if test "${enable_opaque_lsa}" = "yes"; then
+if test "${enable_opaque_lsa}" != "no"; then
   if test "${enable_ospfapi}" != "no";then
     AC_DEFINE(SUPPORT_OSPF_API,,OSPFAPI)