Remove trailing comma in configure.ac.
authorPeter Griess <pgriess@fb.com>
Sat, 12 Oct 2013 12:12:57 +0000 (05:12 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 24 Oct 2013 21:53:41 +0000 (14:53 -0700)
Summary:
- We were inadvertantly emitting a superfluous comma when generating the
configure script, causing it warn on execution. This was caused by
separating two AC_DEFINE() invocations w/ a comma.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac

Reviewed By: meyering@fb.com

FB internal diff: D1008924

folly/configure.ac

index 2c0dc95062462afedff43dc50114fd4eb1e863f2..2c28d5c2de964df213c370ddd314f8244722e1a0 100644 (file)
@@ -84,11 +84,11 @@ AC_COMPILE_IFELSE(
   [AC_LANG_SOURCE[class C { virtual void f() final {} virtual void g() {} };
                   class D : public C { virtual void g() override {} };]],
   [AC_DEFINE([FINAL], [final],
-             [Define to "final" if the compiler supports C++11 "final"]),
+             [Define to "final" if the compiler supports C++11 "final"])
    AC_DEFINE([OVERRIDE], [override],
              [Define to "override" if the compiler supports C++11 "override"])],
   [AC_DEFINE([FINAL], [],
-             [Define to "final" if the compiler supports C++11 "final"]),
+             [Define to "final" if the compiler supports C++11 "final"])
    AC_DEFINE([OVERRIDE], [],
              [Define to "override" if the compiler supports C++11 "override"])]
 )