2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[918-check-c-11-thread-support-in-configure] Ran tabify

This commit is contained in:
Francis Dupont 2019-09-23 11:56:15 +02:00
parent 32a02fd254
commit adbcc263c0

View File

@ -51,7 +51,7 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do
[AC_LANG_PROGRAM( [AC_LANG_PROGRAM(
[class Foo { [class Foo {
public: public:
virtual ~Foo() {}; virtual ~Foo() {};
virtual void bar() final; virtual void bar() final;
};],[])], };],[])],
[AC_MSG_RESULT([yes])], [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( [AC_LANG_PROGRAM(
[class Foo { [class Foo {
public: public:
virtual ~Foo() {}; virtual ~Foo() {};
virtual void foobar(); virtual void foobar();
}; };
class Bar : public Foo { class Bar : public Foo {
public: public:
virtual ~Bar() {}; virtual ~Bar() {};
virtual void foobar() override; virtual void foobar() override;
};],[])], };],[])],
[AC_MSG_RESULT([yes])], [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.reset(new std::thread([[]]() { return; }));
th->join();])], th->join();])],
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no]) [AC_MSG_RESULT([no])
continue]) continue])
AC_MSG_CHECKING(mutex support) AC_MSG_CHECKING(mutex support)
feature="mutex" 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::mutex mtx;],
[std::lock_guard<std::mutex> lock(mtx);])], [std::lock_guard<std::mutex> lock(mtx);])],
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no]) [AC_MSG_RESULT([no])
continue]) continue])
AC_MSG_CHECKING(atomic support) AC_MSG_CHECKING(atomic support)
feature="atomic" 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;], std::atomic_flag flag;],
[])], [])],
[AC_MSG_RESULT([yes]) [AC_MSG_RESULT([yes])
break], break],
[AC_MSG_RESULT([no]) [AC_MSG_RESULT([no])
continue]) continue])
done done