diff options
author | Andrea Canciani <ranma42@gmail.com> | 2012-08-01 18:45:10 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2012-08-02 15:52:08 +0200 |
commit | b2befd4d1ae428bb5ab0b50757d1316a3aff0cda (patch) | |
tree | fda58cc4706875bfb5f95ba86d29aa0a8a217de4 | |
parent | 6751961e97827e9c8e193c176fbba6a8591ca2f6 (diff) |
Set and report "no" when compilation fails
"no" was only reported when both compilations succeeded and comparison
of the output failed.
Reported-by: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | m4/ax_nodiff_compile_ifelse.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_nodiff_compile_ifelse.m4 b/m4/ax_nodiff_compile_ifelse.m4 index 99473fd..8435e05 100644 --- a/m4/ax_nodiff_compile_ifelse.m4 +++ b/m4/ax_nodiff_compile_ifelse.m4 @@ -51,7 +51,7 @@ AC_DEFUN([AX_NODIFF_COMPILE_IFELSE], [dnl AC_COMPILE_IFELSE([$2], [dnl AS_IF([diff conftest.err.ref conftest.err], [$3], [$4]) - ]) + ], [$4]) rm -f conftest.err.ref - ]) + ], [$4]) ]) |