Commit Graph

11 Commits

Author SHA1 Message Date
Jia Yuan Lo ea8d087839
Fix empty path for message "OpenSSL found in"
1. Errors are only emitted by pkg-config so discard early
2. grep only takes paths with lower case a to z. There are plenty of path variations so don't take chances.
3. $SSLDIR is for cosmetic only and not used during compilation
2021-03-04 18:16:39 +08:00
Sven Eden 0ac4f945c0 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD)
BOINC fails to link with LLD because of /usr/lib in the link command
line.

LLD does not continue to search for the correct library, once it
finds one that doesn't fit. This is made by design and will not
change.
See also : https://bugs.gentoo.org/732024

The reason for LLD failing is, that its build system puts -L/usr and
-L/usr/lib into the command line options. While these are not
neccessary at all, they cause LLD to find 32bit libraries on 64bit
systems first. As these 32bit libraries can not be used, LLD errors
out.

This commit removes the superfluous hard-coded injection of -L/usr
and -L/usr/lib into the command line.
The resulting build system has been tested with
* Clang + LLD
* gcc + ld.bfd
* gcc + ld.gold

Bug: #4095
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
2020-11-14 17:23:54 +01: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
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
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
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 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