configure: fix headset check
authorWim Taymans <wim.taymans@gmail.com>
Mon, 8 Sep 2014 09:15:55 +0000 (11:15 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Wed, 10 Sep 2014 09:25:47 +0000 (11:25 +0200)
configure.ac

index 7b56210..e1e2572 100644 (file)
@@ -1037,7 +1037,7 @@ else
     BLUETOOTH_HEADSET_BACKEND=$with_bluetooth_headset_backend
 fi
 
-AS_IF([test "x$BLUETOOTH_HEADSET_BACKEND" != "xofono && "test "x$BLUETOOTH_HEADSET_BACKEND" != "xnull"],
+AS_IF([test "x$BLUETOOTH_HEADSET_BACKEND" != "xofono" && test "x$BLUETOOTH_HEADSET_BACKEND" != "xnull"],
     [AC_MSG_ERROR([*** Invalid Bluetooth Headset backend])])
 
 AC_SUBST(BLUETOOTH_HEADSET_BACKEND)