acinclude.m4: Fix inconsistency.
authorBen Pfaff <blp@nicira.com>
Thu, 19 Nov 2009 00:27:55 +0000 (16:27 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 23 Nov 2009 19:34:54 +0000 (11:34 -0800)
Both ; and : are valid shell commands here, but one branch of the "if"
uses one and the other branch uses the other.  Use the same one, for
consistency's sake.

acinclude.m4

index e938e6f..767414e 100644 (file)
@@ -222,7 +222,7 @@ AC_DEFUN([OVS_CHECK_CC_OPTION],
      AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,)], [ovs_cv_name[]=yes], [ovs_cv_name[]=no])
      CFLAGS="$ovs_save_CFLAGS"])
   if test $ovs_cv_name = yes; then
-    m4_if([$2], [], [;], [$2])
+    m4_if([$2], [], [:], [$2])
   else
     m4_if([$3], [], [:], [$3])
   fi