Commit Graph

68 Commits

Author SHA1 Message Date
Rom Walton 590bcdf950 *** empty log message ***
svn path=/trunk/boinc/; revision=6592
2005-07-11 07:01:18 +00:00
Eric J. Korpela c68b314a99 Fixed bug in caching of SAH_FUNCS_IN_NAMESPACE results.
svn path=/trunk/boinc/; revision=6090
2005-05-10 15:43:56 +00:00
Eric J. Korpela f9dba71f16 Fixed a bug. Added linkage flags for darwin. Changed awk references to $AWK so
gawk will be used if present.

svn path=/trunk/boinc/; revision=6084
2005-05-09 23:48:30 +00:00
Eric J. Korpela 3aa917defe changed awk reference to $AWK so the macro will use gawk if present.
svn path=/trunk/boinc/; revision=6083
2005-05-09 23:45:53 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
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
2005-05-06 01:54:00 +00:00
Eric J. Korpela fca6c2e106 Fixed header order problem on solaris and other platforms where largefile
support breaks C++.

svn path=/trunk/boinc/; revision=6053
2005-05-06 00:32:11 +00:00
Eric J. Korpela 8cbda5c1fa Added caching of results to SAH_CHECK_NAMESPACES and SAH_FUNCS_IN_NAMESPACE
svn path=/trunk/boinc/; revision=6052
2005-05-06 00:31:05 +00:00
Eric J. Korpela 0a160f469e Added libtool.m4 so it doesn't need a local installation.
svn path=/trunk/boinc/; revision=6051
2005-05-06 00:29:58 +00:00
Eric J. Korpela 31b4aa1ffb New autoconf macro:
BOINC_GETSOCKOPT_TYPE:  Determines the type of parameter 4 of getsockopt().

svn path=/trunk/boinc/; revision=5958
2005-04-28 21:45:21 +00:00
Eric J. Korpela e64da1f791 New autoconf macros:
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
2005-04-28 21:42:05 +00:00
Eric J. Korpela 61ad976802 modified SAH_HEADER_STDCXX to run quickly on machines that have all of the
C++ standard headers

svn path=/trunk/boinc/; revision=5956
2005-04-28 21:14:30 +00:00
Eric J. Korpela 0e47fe1fa6 -Unfortunately on some 32 bit systems there is a problem with wx-widgets
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
2005-02-09 19:39:04 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
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
2004-11-26 17:45:13 +00:00
Bruce Allen 2ad2c8233f Put acinclude.m4 into m4/ subdirectory and renamed wxWidgets.
svn path=/trunk/boinc/; revision=4606
2004-11-19 13:57:40 +00:00
Karl Chen 922f2414ff *** empty log message ***
svn path=/trunk/boinc/; revision=3715
2004-06-29 08:51:54 +00:00
Eric J. Korpela d13efa35a2 Added checked macro files into boinc
svn path=/trunk/boinc/; revision=2779
2003-12-11 18:38:24 +00:00
Eric J. Korpela 20ab958bc9 *** empty log message ***
svn path=/trunk/boinc/; revision=2387
2003-10-01 18:19:29 +00:00
Karl Chen eb84dcefa4 *** empty log message ***
svn path=/trunk/boinc/; revision=2105
2003-08-15 00:50:58 +00:00