]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Fix handling of --with-tinycdb
authorRuss Allbery <rra@stanford.edu>
Tue, 8 Oct 2013 18:19:40 +0000 (11:19 -0700)
committerRuss Allbery <rra@stanford.edu>
Tue, 8 Oct 2013 18:19:40 +0000 (11:19 -0700)
Avoid adding -Lyes/lib and -Iyes/include to flags when given
--with-tinydb.  All this should do is make building with TinyCDB
mandatory.

m4/lib-helper.m4

index aa533856091183b10441b30f4bacafede0661b01..32d4a751b2b56f4f8ab8de71667024319f293510 100644 (file)
@@ -12,7 +12,7 @@ dnl The canonical version of this file is maintained in the rra-c-util
 dnl package, available at <http://www.eyrie.org/~eagle/software/rra-c-util/>.
 dnl
 dnl Written by Russ Allbery <rra@stanford.edu>
-dnl Copyright 2011
+dnl Copyright 2011, 2013
 dnl     The Board of Trustees of the Leland Stanford Junior University
 dnl
 dnl This file is free software; the authors give unlimited permission to copy
@@ -124,7 +124,7 @@ AC_DEFUN([RRA_LIB_HELPER_WITH_OPTIONAL],
         [Location of $2 headers and libraries])],
     [AS_IF([test x"$withval" = xno],
         [rra_use_$3=false],
-        [AS_IF([test x"$withval" != yes], [rra_$3[]_root="$withval"])
+        [AS_IF([test x"$withval" != xyes], [rra_$3[]_root="$withval"])
          rra_use_$3=true])])
  AC_ARG_WITH([$1][-include],
     [AS_HELP_STRING([--with-][$1][-include=DIR],