their configure script to work with CYGWIN a place to do their work. Right
now the only thing done here is to check whether to use the Windows GUI or
X11. Graphical compiles of BOINC under CYGWIN currently do not function
due to both __unix__ and _WIN32 being defined.
svn path=/trunk/boinc/; revision=9053
targeted. This overrides the use of the autoconf target as the BOINC platform.
I recommend that people developing BOINC applications use this macro as well.
Some of the overrides are...
*-redhat-* -> *-pc-*
*-*-*[0-9].[0-9] -> *-*-* (trailing version numbers are dropped)
sparc-sun-solaris* -> sparc64-sun-solaris when compiled as 64 bit binary
x86_64-*-linux-gnu -> i686-pc-linux-gnu when compiled as a 32 bit binary
svn path=/trunk/boinc/; revision=9052
in order to avoid this test failing because of higher warning-levels set in
CPPFLAGS (as the test is using -Werror)
svn path=/trunk/boinc/; revision=8315
parameter 5 to getsockopt() by using the compiler. The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int. Some aren't even
consistent from OS rev to OS rev.
A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type. This
is typedef to be boinc_socklen_t in lib/network.h. The special cases for
__APPLE__ and WIN32 can probably be removed at a later time. Places where
socklen_t was used have been changed to boinc_socklen_t.
Also added double inclusion protection to network.h
svn path=/trunk/boinc/; revision=6055
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