]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix syntax error in configure.ac
authorOsier Yang <jyang@redhat.com>
Mon, 28 Mar 2011 10:05:32 +0000 (18:05 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 28 Mar 2011 10:05:32 +0000 (18:05 +0800)
Which will lead "./configure --with-audit=yes" breaks.

configure.ac

index 9c0221c8042daa35014c83bd1c3c117c2a2ef76e..1a3d3b64e74c63964cd19622caae9587883bfd63 100644 (file)
@@ -1051,7 +1051,7 @@ AUDIT_LIBS=
 if test "$with_audit" != "no" ; then
   old_cflags="$CFLAGS"
   old_libs="$LIBS"
-  if test "$with_audit" != "check" && "$with_audit" != "yes" ; then
+  if test "$with_audit" != "check" && test "$with_audit" != "yes" ; then
     AUDIT_CFLAGS="-I$with_audit/include"
     AUDIT_LIBS="-L$with_audit/lib"
   fi