From fca6c2e106a8847b60b1d983e8671aac01cbeff8 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Fri, 6 May 2005 00:32:11 +0000 Subject: [PATCH] Fixed header order problem on solaris and other platforms where largefile support breaks C++. svn path=/trunk/boinc/; revision=6053 --- m4/sah_header_stdcxx.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/m4/sah_header_stdcxx.m4 b/m4/sah_header_stdcxx.m4 index 7e1bd01d92..e0ad4f3254 100644 --- a/m4/sah_header_stdcxx.m4 +++ b/m4/sah_header_stdcxx.m4 @@ -7,9 +7,10 @@ AC_PREREQ([2.54]) AC_DEFUN([SAH_HEADER_STDCXX],[ save_inc="$ac_includes_default" - ac_includes_default="$ac_includes_default + ac_includes_default=" #define CONFIG_TEST #include \"lib/std_fixes.h\" +$ac_includes_default " sah_stdcxx_headers="algorithm bitset cassert cctype cerrno cfloat climits clocale cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector" @@ -25,8 +26,8 @@ AC_DEFUN([SAH_HEADER_STDCXX],[ done AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ -$tmp_includes $ac_includes_default +$tmp_includes ]], [] )],