From f6fa41dd7b3677d0f7441db83cbd6c8a0283a499 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sat, 10 Apr 2010 16:51:22 +0200 Subject: Compile perf tests with the C++ compiler This lets us build the binaries in a portable fashion w/o having to worry about how to link with the C++ runtime. --- configure.in | 7 ------- 1 file changed, 7 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e936cc7..ae944b4 100644 --- a/configure.in +++ b/configure.in @@ -55,13 +55,6 @@ fi # Checks for libraries. AC_CHECK_LIB([pthread], [pthread_create]) -# If using GNU C/C++ and static linking, libstdc++ must be available. -if test "x$gnu_compilers" = "xyes" -a "x$enable_shared" = "xno"; then - # libstdc++ depends on libm on some platforms - AC_CHECK_LIB([m], [main]) - AC_CHECK_LIB([stdc++], [main], , - [AC_MSG_ERROR([cannot link with -lstdc++])]) -fi # Extra CXXFLAGS are appended at the end of CXXFLAGS for libzmq. LIBZMQ_EXTRA_CXXFLAGS="" -- cgit v1.2.3