Commit Graph

10 Commits

Author SHA1 Message Date
Jia Yuan Lo da603b6d69 build: add missing 64bit C 32bit C++ error test case
Also forcefully clean the conftest files
2021-01-29 17:09:44 +08:00
Jia Yuan Lo 7b702d26d1
Fix minor sah_select_bitness.m4 bugs
"${1}" gets substituted by "dummy"
Duplicated AC_MSG_RESULT prompts
2021-01-22 01:08:39 +08:00
Jia Yuan Lo b94e1c934c
Add C++ bitness test in SAH_SELECT_BITNESS 2021-01-22 00:01:20 +08:00
Jia Yuan Lo 6e46649c21
Fix SAH_SELECT_BITNESS logic 2021-01-21 23:56:57 +08:00
Jia Yuan Lo ac8c5fc3c8
Get SAH_DEFAULT_BITNESS first before testing 2021-01-21 23:45:14 +08:00
Jia Yuan Lo 2fed2c1fbc
Add C++ bitness test in SAH_DEFAULT_BITNESS 2021-01-21 23:38:58 +08:00
Jia Yuan Lo 538a271d99
Clean up SAH_DEFAULT_BITNESS 2021-01-21 23:35:13 +08: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
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