Commit Graph

67 Commits

Author SHA1 Message Date
Rom Walton 72a6d60d6b re-enable debug support in manager?
svn path=/trunk/boinc/; revision=20502
2010-02-10 19:39:13 +00:00
Rom Walton a62b72785b svn path=/trunk/boinc/; revision=20458 2010-02-06 08:21:13 +00:00
David Anderson 4d96415576 - client: fix bug introduced in [19035] that causes wrong nidle instances
(and resulting work fetch problems)
- Unix build: don't touch svn_version.sh if it hasn't changed,
    to avoid remake of sched/ (from Gabor Gombas)

svn path=/trunk/boinc/; revision=19096
2009-09-18 19:26:34 +00:00
David Anderson ba23e2fa83 svn path=/trunk/boinc/; revision=19081 2009-09-17 20:20:58 +00:00
David Anderson 3bd098a9fd svn path=/trunk/boinc/; revision=19080 2009-09-17 20:13:29 +00:00
David Anderson d7aacaac32 - don't include config.h from network.h (Gabor Gombas)
svn path=/trunk/boinc/; revision=18428
2009-06-16 18:51:33 +00:00
Rom Walton 385da4f3e7 Sqlite3 support for build system
svn path=/trunk/boinc/; revision=18147
2009-05-18 17:09:02 +00:00
Rom Walton 11941a791d Add Sqlite3 support to build system
svn path=/trunk/boinc/; revision=18144
2009-05-18 15:32:58 +00:00
Eric J. Korpela d46a5759a4 Removed a couple of debugging statements.
svn path=/trunk/boinc/; revision=17414
2009-02-28 20:31:09 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
Eric J. Korpela 3570240b53 Fix bug in recent automake distro that causes C programs to be compiled with a
fortran compiler if F77 isn't found before libtool is initialized.

svn path=/trunk/boinc/; revision=16991
2009-01-22 22:26:39 +00:00
Eric J. Korpela 9e7e635bdd - build: reordered compiler flags checking. Fixed problems with finding location of wx-config when running with cached configuration. Made sure to check ${prefix}/lib when looking for libGL, libGLU, and libglut.
svn path=/trunk/boinc/; revision=16989
2009-01-22 21:39:40 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
Eric J. Korpela 770a456c81 Modified CHECK_SSL macro to look for files under ${prefix}.
svn path=/trunk/boinc/; revision=16444
2008-11-07 00:23:24 +00:00
Eric J. Korpela 4e43308973 Modified LIBCURL_CHECK_CONFIG to check whether curl-config supports the
--static-libs flag.  Also check location of the ca file.


svn path=/trunk/boinc/; revision=16443
2008-11-07 00:22:18 +00:00
Eric J. Korpela 894df8935c New macro BOINC_SET_COMPILE_FLAGS. Sets compile/debug/optimize flags for C,
C++, and fortran compilers.


svn path=/trunk/boinc/; revision=16442
2008-11-07 00:20:15 +00:00
Eric J. Korpela e97fb85554 Adds "$prefix/lib" to the lib path and "$prefix/include" to the include path
before attempting to check for GL/gl.h or libGL.


svn path=/trunk/boinc/; revision=16441
2008-11-07 00:17:39 +00:00
Eric J. Korpela ac952126f5 New file boinc_check_fcgi.m4. Checks whether fcgi headers are installed.
svn path=/trunk/boinc/; revision=16440
2008-11-07 00:15:24 +00:00
Eric J. Korpela 812dc63bd0 New file boinc_check_flags.m4. Contains code to check compiler and linker
flags.

svn path=/trunk/boinc/; revision=16439
2008-11-07 00:14:13 +00:00
Eric J. Korpela 17f30607e5 Moved many of the boinc specific wxWidgets configuration issues out of config.h
and into a separate file in m4.  Modified the configuration to use the default
wxWidgets configuration if no wx configurations options are found.
Configuration will now succeed on a debug build if the wxWidgets debug libraries
are not installed.  

svn path=/trunk/boinc/; revision=16438
2008-11-07 00:12:55 +00:00
Eric J. Korpela 527da28e54 Changed BOINC_PLATFORM autoconf macro to properly translate 'amd64' to 'x86_64'.
svn path=/trunk/boinc/; revision=16003
2008-09-16 20:02:55 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Eric J. Korpela 51e24737bd - Build fixes for non-Win32, non-Linux, non-MacOS systems.
- 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
2008-04-01 21:44:12 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Eric J. Korpela 4bcfcb67a9 Added HPUX platforms to boinc_platform.m4
svn path=/trunk/boinc/; revision=13757
2007-10-03 01:29:37 +00:00
Rytis Slatkevičius 22dbfd13e0 Fix #200
svn path=/trunk/boinc/; revision=13589
2007-09-16 11:25:43 +00:00
Eric J. Korpela 8a8ffc8ef9 Eric K 24 Apr 07
-  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
2007-04-25 02:02:24 +00:00
David Anderson 421fd2e66e mac server build fix
svn path=/trunk/boinc/; revision=9327
2006-01-27 19:02:13 +00:00
Eric J. Korpela 60aef9aa55 Modified for gnu targets that end in versions of the style n.n.n
svn path=/trunk/boinc/; revision=9208
2006-01-10 22:54:06 +00:00
Rom Walton 4d9a7a3981 *** empty log message ***
svn path=/trunk/boinc/; revision=9146
2005-12-24 20:08:03 +00:00
Eric J. Korpela ff9e4b5ea4 Added autoconf macro AX_WINSOCK for identifying winsock libs and headers for
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
2005-12-16 03:20:01 +00:00
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