[icinga-checkins] icinga.org: icinga2/master: Add -pthread to the LDFLAGS.

git at icinga.org git at icinga.org
Tue Feb 19 12:33:14 CET 2013


Module: icinga2
Branch: master
Commit: ed78962427815bc3c89a72377aff662ecc3bb7ea
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=ed78962427815bc3c89a72377aff662ecc3bb7ea

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Feb 19 12:33:08 2013 +0100

Add -pthread to the LDFLAGS.

---

 m4/ax_boost_thread.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_boost_thread.m4 b/m4/ax_boost_thread.m4
index 2392318..34ab817 100644
--- a/m4/ax_boost_thread.m4
+++ b/m4/ax_boost_thread.m4
@@ -98,7 +98,7 @@ AC_DEFUN([AX_BOOST_THREAD],
 
 			LDFLAGS_SAVE=$LDFLAGS
                         case "x$host_os" in
-                          *bsd* )
+                          *bsd* | *linux* )
                                LDFLAGS="-pthread $LDFLAGS"
                           break;
                           ;;
@@ -134,7 +134,7 @@ AC_DEFUN([AX_BOOST_THREAD],
 				AC_MSG_ERROR(Could not link against $ax_lib !)
                         else
                            case "x$host_os" in
-                              *bsd* )
+                              *bsd* | *linux* )
 				BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS"
                               break;
                               ;;





More information about the icinga-checkins mailing list