Commit Graph

35 Commits

Author SHA1 Message Date
Eric J. Korpela b6bab94fa6 added boinc_platform substitution so the boinc platform can be used in
Makefiles.

svn path=/trunk/boinc/; revision=9065
2005-12-14 19:36:48 +00:00
Eric J. Korpela 4da6f7aed9 Fixed underquoted sed patterns.
svn path=/trunk/boinc/; revision=9062
2005-12-13 22:57:01 +00:00
Eric J. Korpela eb38e590e5 New autoconf macro "BOINC_CHECK_CYGWIN" to give people who need to modify
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
2005-12-08 20:15:45 +00:00
Eric J. Korpela afe4f0c201 New autoconf macro "BOINC_PLATFORM" to determine the BOINC platform being
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
2005-12-08 20:03:42 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 332cfa9502 build fixes
svn path=/trunk/boinc/; revision=8553
2005-10-07 20:00:15 +00:00
Reinhard Prix 00a3442dc1 - removed redundant configure-switch 'disable-static-linkage'
- made '--enable-client-release' work as advertised [default=OFF!!]

svn path=/trunk/boinc/; revision=8340
2005-09-29 23:37:36 +00:00
Reinhard Prix a4075a2517 make getsockopt-len check insensitive to user's CPPFLAG-settings,
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
2005-09-29 14:37:45 +00:00
Bruce Allen b55feabfc7 Changes from Reinhard to make openssl and curl detection independent.
Useful for building backend components.

svn path=/trunk/boinc/; revision=7916
2005-09-07 18:21:31 +00:00
David Anderson 51f497ef4e unix build fixes
svn path=/trunk/boinc/; revision=7541
2005-08-29 01:18:37 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
Eric J. Korpela f2f42a1547 Made OpenSSL the default and only option (with the --with-ssl used only to
specify the openssl install directory).

svn path=/trunk/boinc/; revision=7132
2005-08-03 19:53:41 +00:00
Eric J. Korpela cc99aa211b Bug fix.
svn path=/trunk/boinc/; revision=6999
2005-08-03 00:31:52 +00:00
Eric J. Korpela 1cc1bf05a8 Added autoconf macro to check if soft and hard links really work, or are
just faked.

svn path=/trunk/boinc/; revision=6976
2005-08-02 18:25:17 +00:00
Eric J. Korpela 650256aeca Modified CHECK_SSL macro to generate the USE_RSAEURO and USE_OPENSSL defines
required by lib/crypt.C

svn path=/trunk/boinc/; revision=6972
2005-08-02 16:57:44 +00:00
Eric J. Korpela 3728b5baed Added macro for finding ssl libraries and include files. (From autoconf
archive).

svn path=/trunk/boinc/; revision=6970
2005-08-02 16:33:22 +00:00
Rom Walton 7e6d6ea3b9 wxWidgets macro update 2.6.1
svn path=/trunk/boinc/; revision=6593
2005-07-11 09:10:58 +00:00
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