- configure script:
- Added checks for functions strdup(), strdupa(),
daemon(), stat64(), strcasestr()
- Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
invalid CFLAGS and LIBS flags.
- Fixed incorrect order of pthread flag checking on solaris.
- New files: lib/unix_util.[Ch]. Currently contains implementation of
daemon() for systems that lack it.
- Access to binary files in /proc was failing on some systems when compiled
with 64 bit file access. Rearranged headers and defines to force 32bit
file access in hostinfo_unix.C
- all_tty_idle() didn't work as advertised on any system as far as I can
tell. I rewrote it to check ttys that are not named /dev/tty[1-9].
The old implementation was modifying a statically allocated read-only
string, (and crashing on some systems) anyway.
- added implementation of non-standard function strcasestr() to str_util.C
- added #define of MAP_FILE to shmem.C, because it is missing from most
unix systems, (and is unnecessary on linux anyway).
- other minor bug fixes.
svn path=/trunk/boinc/; revision=14996
- Exteded the "altername_platform" mechanism to x86_64 linux
and solaris. The current alternate platforms found by configure
are...
x86_64-pc-linux-gnu -> i686-pc-linux-gnu
sparc64-sun-solaris -> sparc-sun-solaris
sparc-sun-solaris -> sparc-sun-solaris2.7
powerpc64-apple-darwin -> powerpc-apple-darwin
- The alternate platform can be overridden on the configure command line
--with-boinc-alt-platform="platformname"
m4/
boinc_platform.m4
sched/
Makefile.am
client/
client_state.C
cs_scheduler.C
client_state.h
svn path=/trunk/boinc/; revision=12467
support of command line compiles. Adds new configure command line option
--with-winsock to enable winsock if necessary where alternative socket libraries
exist.
Modified BOINC_CHECK_CYGWIN to call AX_WINSOCK.
Modified boinc_getsockopt.m4 to get correct type when winsock is used.
Modified AX_CHECK_GLUT to find correct libraries when compiling under
windows from command line.
svn path=/trunk/boinc/; revision=9072
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