]> granicus.if.org Git - strace/commitdiff
configure: use AC_MSG_ERROR and AC_MSG_FAILURE consistently
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 13 Jan 2018 13:46:45 +0000 (13:46 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 13 Jan 2018 13:46:45 +0000 (13:46 +0000)
* configure.ac [$arch = mips]: Use AC_MSG_FAILURE instead of
AC_MSG_ERROR when _MIPS_SIM cannot be determined.  Use AC_MSG_ERROR
instead of AC_MSG_FAILURE when syscallent stubs cannot be generated.

configure.ac

index ca140a2514dcd64041b2b3350ac005d15cb080d5..1ec39c3f250e071d1cfc6ddf7b5fcb652a38e0e2 100644 (file)
@@ -227,7 +227,7 @@ MIPS_ABI=
 if test "$arch" = mips; then
        AC_CACHE_CHECK([for _MIPS_SIM], [st_cv__MIPS_SIM],
                       [AC_COMPUTE_INT([st_cv__MIPS_SIM], [_MIPS_SIM], ,
-                                      [AC_MSG_ERROR([_MIPS_SIM cannot be determined])])])
+                                      [AC_MSG_FAILURE([_MIPS_SIM cannot be determined])])])
 
        # requires GCC >= 3.4
        AC_CACHE_CHECK([for MIPS ABI], [st_cv_mips_abi],
@@ -958,7 +958,7 @@ if test "$arch" = mips && test "$no_create" != yes; then
        if $srcdir/linux/mips/genstub.sh linux/mips; then
                AC_MSG_RESULT([Generated MIPS syscallent stubs])
        else
-               AC_MSG_FAILURE([Failed to generate syscallent stubs])
+               AC_MSG_ERROR([Failed to generate syscallent stubs])
        fi
 fi