diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-26 13:30:52 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-26 13:30:52 +0200 |
commit | e5b40a3ee2c6fbc0cec34b0a96ac2dc74401205f (patch) | |
tree | 1c9a2ce62bbdaff247fe889912a51d42890d33a4 /t/ax/am-test-lib.sh | |
parent | 6f109602762dbb9648de169de01e6aaddd78a9ec (diff) | |
parent | b2b6269fca6f7bb7adac2d09c02adf0c6b701d48 (diff) | |
download | automake-e5b40a3ee2c6fbc0cec34b0a96ac2dc74401205f.tar.gz |
Merge branch 'prog-cc-c-o-work' into maint
* prog-cc-c-o-work:
tests: some tests make no sense if "$CC -c -o" doesn't work
AM_PROG_CC_C_O: don't rely on AC_PROG_CC_C_O, re-implement similar logic
compile: rewrite AC_PROG_CC with AM_PROG_CC_C_O contents
Diffstat (limited to 't/ax/am-test-lib.sh')
-rw-r--r-- | t/ax/am-test-lib.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/ax/am-test-lib.sh b/t/ax/am-test-lib.sh index 8fee84f60..1fbc73138 100644 --- a/t/ax/am-test-lib.sh +++ b/t/ax/am-test-lib.sh @@ -765,6 +765,11 @@ require_tool () case $1 in cc|c++|fortran|fortran77) require_compiler_ $1;; + -c-o) + if test x"$AM_TESTSUITE_SIMULATING_NO_CC_C_O" = x"yes"; then + skip_all_ "need a C compiler that grasps -c and -o together" + fi + ;; xsi-lib-shell) if test x"$am_test_prefer_config_shell" = x"yes"; then require_xsi "$SHELL" |