]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[918-check-c-11-thread-support-in-configure] Ran tabify
authorFrancis Dupont <fdupont@isc.org>
Mon, 23 Sep 2019 09:56:15 +0000 (11:56 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 27 Sep 2019 08:23:34 +0000 (10:23 +0200)
m4macros/ax_cpp11.m4

index aae1668d429609903519ce2b176be473a59662ac..444b773099cff3ec6c015ca92907f06beb5cdc24 100644 (file)
@@ -51,7 +51,7 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
                [AC_LANG_PROGRAM(
                        [class Foo {
                         public:
-                               virtual ~Foo() {};
+                               virtual ~Foo() {};
                                virtual void bar() final;
                         };],[])],
                 [AC_MSG_RESULT([yes])],
@@ -64,12 +64,12 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
                [AC_LANG_PROGRAM(
                        [class Foo {
                         public:
-                               virtual ~Foo() {};
+                               virtual ~Foo() {};
                                virtual void foobar();
                         };
                         class Bar : public Foo {
-                         public:
-                               virtual ~Bar() {};
+                        public:
+                               virtual ~Bar() {};
                                virtual void foobar() override;
                         };],[])],
                 [AC_MSG_RESULT([yes])],
@@ -186,8 +186,8 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
                        [th.reset(new std::thread([[]]() { return; }));
                         th->join();])],
                [AC_MSG_RESULT([yes])],
-                [AC_MSG_RESULT([no])
-                 continue])
+               [AC_MSG_RESULT([no])
+                continue])
 
        AC_MSG_CHECKING(mutex support)
        feature="mutex"
@@ -197,8 +197,8 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
                         std::mutex mtx;],
                        [std::lock_guard<std::mutex> lock(mtx);])],
                [AC_MSG_RESULT([yes])],
-                [AC_MSG_RESULT([no])
-                 continue])
+               [AC_MSG_RESULT([no])
+                continue])
                         
        AC_MSG_CHECKING(atomic support)
        feature="atomic"
@@ -208,9 +208,9 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
                         std::atomic_flag flag;],
                        [])],
                [AC_MSG_RESULT([yes])
-                 break],
+                break],
                [AC_MSG_RESULT([no])
-                 continue])
+                continue])
 
 done