]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup for :
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Jul 2018 12:52:37 +0000 (12:52 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Jul 2018 12:52:37 +0000 (12:52 +0000)
git-svn-id: file:///svn/unbound/trunk@4796 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index 59c17a54f483535f8432289c5a2c49fb1c2a31e1..8ef5da87bb3c5498d85903d4189e9aeddf724796 100755 (executable)
--- a/configure
+++ b/configure
@@ -6435,7 +6435,7 @@ fi
 rm -f conftest.l $LEX_OUTPUT_ROOT.c
 
 fi
-if test "$LEX" != ""; then
+if test "$LEX" != "" -a "$LEX" != ":"; then
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yylex_destroy" >&5
 $as_echo_n "checking for yylex_destroy... " >&6; }
@@ -6459,7 +6459,7 @@ EOF
 $as_echo "yes" >&6; }
        else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; };
-               LEX=""
+               LEX=":"
        fi
 
 fi
index 875bbc69d2cbb291bb7cd9b1d2f559b5e67cf96d..5888a05b9e692f0d584f72a246c6cdbb8643162e 100644 (file)
@@ -335,12 +335,12 @@ AC_DEFUN([ACX_YYLEX_OPTION], [
 EOF
                AC_MSG_RESULT(yes)
        else AC_MSG_RESULT(no);
-               LEX=""
+               LEX=":"
        fi
 ])
 
 AC_PROG_LEX
-if test "$LEX" != ""; then
+if test "$LEX" != "" -a "$LEX" != ":"; then
 ACX_YYLEX_DESTROY
 ACX_YYLEX_OPTION
 fi