summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-11-05 21:38:52 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-11-05 21:38:52 +0100
commit68462b1b33810bfe29684fb2163d9dd9ae37e90c (patch)
tree3e9ff2007a0f9a3c7e41e0716acca32b830e09e5 /m4
parent97cbf15b81c6276cb76eefce4cb15c88e12f9a47 (diff)
parenteea57793c7dde8b836ff1e6f8e232747a85b5dba (diff)
downloadautomake-68462b1b33810bfe29684fb2163d9dd9ae37e90c.tar.gz
Merge branch 'msvc'
* msvc: ar-lib: fix configure output for "unrecognized archiver interface"
Diffstat (limited to 'm4')
-rw-r--r--m4/ar-lib.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/ar-lib.m4 b/m4/ar-lib.m4
index 822ca6085..e45c558dd 100644
--- a/m4/ar-lib.m4
+++ b/m4/ar-lib.m4
@@ -33,8 +33,7 @@ AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
else
- m4_default([$1],
- [AC_MSG_ERROR([could not determine $AR interface])])
+ am_cv_ar_interface=unknown
fi
fi
rm -f conftest.lib libconftest.a
@@ -53,6 +52,10 @@ lib)
# similar.
AR="$am_aux_dir/ar-lib $AR"
;;
+unknown)
+ m4_default([$1],
+ [AC_MSG_ERROR([could not determine $AR interface])])
+ ;;
esac
AC_SUBST([AR])dnl
])