Commit Graph

175 Commits

Author SHA1 Message Date
Thomas Nagy b8c965153c
Issue 1551 - use -Bstatic and -Bdynamic in parse_flags 2015-03-26 21:50:23 +01:00
Thomas Nagy eefb67755e
Issue 1529 - conf.check(function_name) 2015-03-13 17:47:53 +01:00
Thomas Nagy ff2ab4076f
Fix for gcc detection under msys - it behaves like cygwin 2015-03-05 16:18:51 +01:00
Thomas Nagy 80344dee5e
Use splitlines when possible 2015-03-03 12:19:25 +01:00
Thomas Nagy 47a100480f
Issue 1538 - make detection of pyembed optional 2015-02-27 12:03:53 +01:00
Thomas Nagy bbf26e0e12
Fix the g++ compiler detection which is broken by the new clang tool 2015-02-20 14:23:04 +01:00
Thomas Nagy e3d8daf8bc
Issue 1527 - a not on as-needed 2015-02-14 22:38:25 +01:00
David Robillard a3a209b352
Fix compiler detection on OSX 10.6.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-02-14 22:29:19 +01:00
Thomas Nagy 9a46ff7558
No one has ever used conf.as_needed() 2014-11-10 22:08:36 +01:00
Thomas Nagy 6c9e7c6233
Much faster version of get_config_header 2014-10-02 21:09:16 +02:00
Thomas Nagy fec1956327
Issue 1212 2014-09-21 12:47:32 +02:00
Thomas Nagy d491de7486
conf.check generalization using arbitrary build functions 2014-09-14 10:58:29 +02:00
Thomas Nagy a112808610
Issue 1481 - unreadable configuration cache file 2014-09-02 22:14:51 +02:00
Thomas Nagy 69bb9f9209
Handle the -Xlinker case in parse_flags 2014-08-31 21:03:03 +02:00
yngwe 342b4ab1ce c_config: cleanup directory after configuration if no cache is needed. 2014-07-02 09:37:22 +02:00
Thomas Nagy d4ca0e8cdc
Issue 1440 2014-04-27 20:06:04 +02:00
Chris Winter 53387d8eff c_config: parse_flags: add support for parsing '-isystem' and friends
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-03-24 12:43:29 +01:00
Thomas Nagy 72334441ce Issue 1419 - gcc 2.95 detection 2014-03-05 21:23:32 +01:00
Thomas Nagy 8faafeb913 Issue 1276 - suppress configuration outputs 2014-02-02 04:04:21 +01:00
Krzysztof Kosiński 8147d0a18b Add support for parameter define_name to check_cfg 2014-01-27 03:45:35 +01:00
Krzysztof Kosiński e95b150c56 Add simple compiler tools for clang and clang++ 2014-01-25 21:00:27 +01:00
Krzysztof Kosiński 86b87413c8 Always return a value which evaluates to True when check_cfg succeeds. 2014-01-25 19:12:44 +01:00
Thomas Nagy 9f7ceb0e91 Issue 1395 2014-01-14 20:11:11 +01:00
Jérôme Carretero 33a60e79e7 treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
Thomas Nagy 29252511d0 Issue 1390 - conf.check(lib='several libs') 2013-12-21 17:29:06 +01:00
Thomas Nagy 8571c15a1b missing change 2013-11-08 22:46:51 +01:00
Thomas Nagy dcd6184d3f Issue 1372 version detection for old and buggy sun compilers 2013-11-08 22:45:34 +01:00
Thomas Nagy 3884124886 Issue 1371 2013-11-03 00:14:04 +01:00
Thomas Nagy ff820ccf49 Extract rpath flags into use variables 2013-10-27 14:56:04 +01:00
Dariusz Pelowski 53ab568fe5 fix for missing package name argument for 'pkg-config' call during fetching custom variables
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-10-15 00:25:26 +02:00
Jérôme Carretero 8076e8d52e Tools: c_config: one more fix for the path, which can also be a string... 2013-09-05 00:12:45 -04:00
Jérôme Carretero 85e7df4ea1 Tools: c_config: fix mistake in previous commit 2013-09-04 23:47:47 -04:00
Jérôme Carretero 8d37f79ea2 Tools: c_config: pkg-config is indeed a list of strings 2013-09-04 23:21:19 -04:00
Thomas Nagy f588f95a27 Issue 1339 detect the sun compiler version number 2013-07-13 19:06:08 +02:00
Thomas Nagy fa5ed99a21 Removed the unused env parameter from conf.write_config_header() 2013-05-26 21:48:26 +02:00
Thomas Nagy 5c6d626048 removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
yngwe 031e94ffa7 allow c_config to recognize clang as gcc 2013-05-13 20:07:25 +02:00
Thomas Nagy 3934918217 Issue 1253 2013-05-08 23:18:53 +02:00
Kevin Ollivier 13ad17f96c Add support for parsing more MSVC command line options to check_cfg. 2013-01-01 12:13:23 -08:00
Thomas Nagy 148598a815 reverted the changes from #1212 and #1237 2012-12-28 21:58:37 +01:00
Thomas Nagy 4b4aaf7dc5 Issue 1236 2012-12-12 20:09:40 +01:00
Thomas Nagy e9d5d29ce1 missing change 2012-12-05 00:40:50 +01:00
Thomas Nagy 5eed580a0c Merge branch 'master' of https://code.google.com/p/waf 2012-11-04 10:28:44 +01:00
Thomas Nagy 6635a9788b Issue 1220 2012-11-04 10:28:34 +01:00
immerrr 54464995c6 Avoid possible "unused parameter" warnings in check_c/check_cc boilerplates
When CFLAGS/CXXFLAGS contains '-Wextra -Werror', such warnings are reported
and become errors, which causes respective checks to fail.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-11-04 10:24:34 +01:00
alexrp ba6718fb05 Add more stuff to the macro-to-DEST_CPU list. 2012-11-01 14:14:08 +01:00
Thomas Nagy 1350ebc7a5 Issue 1212 2012-10-20 23:45:16 +02:00
Thomas Nagy 0f6ee2a0cf Issue 1192 2012-08-24 22:53:07 +02:00
Thomas Nagy e67b593eee Issue 1191 2012-08-23 17:33:36 +02:00
Thomas Nagy 2d6fed4101 Issue 1188 2012-08-04 02:26:08 +02:00
Thomas Nagy 070669067a https://github.com/nenolod/pkgconf/issues/24 pkgconf is not totally compatible with pkg-config 2012-07-20 18:22:37 +02:00
Thomas Nagy e2b65f029d Another fix for the AIX compiler detection 2012-07-09 18:39:34 +02:00
Thomas Nagy b05ab4d00d Better detection of the XLC compilers 2012-07-09 18:11:48 +02:00
Thomas Nagy e8675232fd AIX compiler detection improvements 2012-07-05 11:24:46 +02:00
Thomas Nagy f9f31d77c2 Fixed the apidocs of parse_flags 2012-07-05 09:57:34 +02:00
Thomas Nagy ec3295c1a4 let conf.define() cast bool and None values to int 2012-06-30 18:15:56 +02:00
Thomas Nagy 5ec0cbed4c self.env->env when looking for defines in parse_flags 2012-05-17 11:16:16 +02:00
Thomas Nagy 66172d53d3 Issue 1165 2012-05-16 08:29:13 +02:00
Thomas Nagy 556eabd0af new include guard for write_config_header 2012-05-11 07:26:50 +02:00
Thomas Nagy d5c9b8f258 Issue 1117 2012-04-16 19:54:19 +02:00
Thomas Nagy 8ca6bc9504 Issue 1111 2012-02-26 14:32:30 +01:00
Thomas Nagy 5beb2c4d55 Issue 1117 2012-02-26 13:25:21 +01:00
Thomas Nagy 74beae4113 Issue 1117 2012-02-22 20:41:09 +01:00
Thomas Nagy b5bb54ede7 remove more except: lines 2012-02-11 14:49:27 +01:00
Thomas Nagy 63d3442ad2 remove more except: lines 2012-02-11 14:43:07 +01:00
Thomas Nagy 4404d9062c cleanup 2012-02-06 02:13:25 +01:00
Thomas Nagy bfca082c42 Cleanup for waf 1.7 2012-02-04 19:39:45 +01:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Johan Boule 952d7ab1e9 changed TODO about darwin to a simple note. 2011-12-03 22:00:16 +01:00
Johan Boule e071749244 - added note about spurious darwin detection
- added google nacl
2011-12-03 20:56:58 +01:00
yngwe 2c59015b99 PowerPC does not necessarily mean MacOS; darwin GCC should now be detected better 2011-11-20 14:24:01 +01:00
Thomas Nagy a2c4801476 check for endianness 2011-11-19 21:25:58 +01:00
Thomas Nagy 407a78e209 another fix for powerpc, it looks like i am the first to be looking into it 2011-11-19 14:24:17 +01:00
Thomas Nagy 612cb9b8b3 #1061 2011-11-06 14:34:10 +01:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00