SAH_CHECK_LIB: Like AC_CHECK_LIB(), except it checks STATIC_LIB_LIST
for libraries that should be linked statically. Static libraries are attempted
to be linked with fully qualified path. If that fails, the static flags
(-Wl,-Bstatic) are used. If no static library is found, the library is linked
dynamically.
SAH_STATICIZE_LDFLAGS: Goes through a given set of LDFLAGS and determines with
libraries should be linked statically based upon STATIC_LIB_LIST, then calls
SAH_CHECK_LIB on every library.
SAH_DEFAULT_BITNESS: On architectures that support both 32 and 64 bit
executables, this determines the current default model (including any CFLAGS
settings).
SAH_OPTION_BITNESS: Sets up a configure option to set the compiler -m64 or -m32
(or equivalent) flags for 32/64 bit compilation.
svn path=/trunk/boinc/; revision=5957
configuring itself for largefile support. On these systems largefile
support breaks C++ compiles by defining away many of the C standard library
routines that should reside in namespace std::. In order to get around
problem first we have to check the largefile support macros. Later we will
use the macro SAH_LARGEFILE_BREAKS_CXX to check for the breakage. If
if breakage is found LARGEFILE_BREAKS_CXX is defined in config.h. This
define is checked in std_fixes.h and the appropriate functions are defined
in order to solve the problem. (These functions were already in place)
Because these defines affect the behavior of standard library headers,
std_fixes.h is being included from config.h
-Added AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS (for flags common to all
compiles) so they will be defined in all Makefile.am files.
-Put #ifdef _cplusplus around the C++ specific items in std_fixes.h so it
may be included from C source files.
svn path=/trunk/boinc/; revision=5375
under Mac OSX. Also make dist now works (make distcheck still
broken). Karl, since you were the last
person to fix up this mess, how about taking a look??
svn path=/trunk/boinc/; revision=4665