Commit Graph

90 Commits

Author SHA1 Message Date
Christian Beer d23e7736dd Build: fail if wxWidgets lib can not be found but is required
Currently the build system will silently disable the Manager build when wxWidgets is missing or not a recent enough version.

Fix #1714
2017-10-25 10:09:47 +02:00
Christian Beer 0a02ac343e Build: remove extra whitespace 2017-10-25 10:09:10 +02:00
Christian Beer 6e8c08b38f Build: test if hard links are really working
The AFS filesystem does not allow hard links between files in different directories. We fall back to symbolic links in that case.
2017-04-11 15:16:08 +02:00
Eric J Korpela 0c08a4ef92 Work around for bug in RHEL6 curl 7.19.7 port (curl-config --libs reports
incorrectly.)
2016-09-07 16:31:13 -07:00
Christian Beer cc67f461cf Build: remove --disable-wx-debug
WxWidgets switched to using -DNDEBUG to disable debugging in version 2.9.1 and enabling it by default. My previous change (530eb18) made the debug version the default and one had to disable the debugging for release builds. This is fixed now and the non-debug version is the default. Now WxWidgets debug assertions are switched on if --enable-debug is specified.

fixes #1476
2016-01-26 17:46:56 +01:00
Christian Beer 530eb18989 Build: fix --disable-wx-debug configure option
Debug support is by default enabled since wxWidgets 2.9.1 and can be explicitly disabled by setting the compiler flag -DNDEBUG.
2015-11-06 13:57:02 +01:00
Eric J Korpela 2cb6745a76 Removed duplicate predefinition of gtkver 2014-06-20 09:42:40 -07:00
Eric J Korpela 67613c1901 Changed BOINC_OPTIONS_WXWIDGETS to find correct GTK toolset 2014-06-18 14:57:26 -07:00
Eric J Korpela e4013f5c5f Fixed typo 2014-05-02 09:43:14 -07:00
U-X1\korpela 025fc460f4 Removed unnecessary (since 1999) check for 16-bit compilers and made 64-bit
detection better.
2014-05-02 08:17:26 -07:00
U-X1\korpela 34fbfd3297 WIN32 Cross Compile Fixes 2014-05-01 17:44:34 -07:00
U-X1\korpela c8ba190f66 Removed accidentally committed libtool macros 2014-04-29 07:51:33 -07:00
U-X1\korpela 4a357acddc Changes for mingw32 cross compile 2014-04-29 07:50:33 -07:00
Eric J Korpela 252b8b2783 - AUTOCONF: hack to permit AX_PTHREADS to work on autoconf 2.59 2013-08-15 11:36:13 -07:00
Eric J Korpela 4195aa9ff6 Updated to latest version of the GNU autoconf pthread detection macro. 2013-07-02 13:10:30 -07:00
Rom Walton ae8e51e063 Linux: Revert previous change, it did not have the desired effect. 2013-06-19 14:43:02 -04:00
Rom Walton eff79ccc0e Linux: the Linux file system layout on Debian?/Ubuntu appears to be going through some changes. libxcb-dpms.so is now located in /usr/lib/{i686-linux-gnu|x86_64-linux-gnu}. sah_check_lib.m4 was not able to find that library during its checks. 2013-06-19 14:36:06 -04:00
Eric J Korpela 348c675592 Modified CHECK_SSL to check existence of -ldl and -lz before adding them to
SSL_LIBS on non-pkg-config systems.
2013-03-05 15:06:38 +01:00
Eric J Korpela 9b191c409a - Modifications to autoconf scripts for non-standard openssl installs 2013-03-05 14:17:54 +01:00
David Anderson afdc69a8a8 More Line Ending Changes 2013-03-04 17:19:38 +01:00
Eric J Korpela 630dcb0835 - First fixes for out-of-source-tree configure and compile - samples/example_app will no longer build by default. To build person compile must run make in the example_app directory in-source-tree. Thats because the Makefile is not and should not be generated by automake. 2013-03-01 16:19:16 +01:00
David Anderson d5d9921f5c - Unix build tweaks. Fixes #1193 (I think)
svn path=/trunk/boinc/; revision=25804
2012-06-27 05:03:16 +00:00
David Anderson 7c51512cbf - transitioner: the format string for a DB query had %.15d instead of %.15e.
That produced a messed-up query that assigned garbage values to:
        host_app_version.turnaround_var
        host_app_version.turnaround_q
        host_app_version.max_jobs_per_day
        host_app_version.consecutive_valid
    To repair these:
        - set turnaround_var and turnaround_q to zero
        - if max_jobs_per_day is outside of
            (0..config.daily_result_quota)
            set it to config.daily_result_quota
        - if consecutive_valid is outside (0..1000), set it to zero
    I added a script, html/ops/repair_21812.php, that does this;
    if you ran server code between [21181] and [21812], run this script.
- scheduler/transitioner: add <debug_quota> log flag
- changed the build system to always use -Wall
    (if we'd done this before, this bug wouldn't have happened)
- fixed a bunch of other compile warnings


svn path=/trunk/boinc/; revision=21812
2010-06-25 18:54:37 +00:00
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