diff --git a/configure.ac b/configure.ac index d5015fad5..f2a6422bd 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,11 @@ AC_PROG_CXX AC_DISABLE_STATIC LT_INIT +# Set default for ARFLAGS, since autoconf does not have a macro for it. +# This allows people to set it when running configure or make +test -n "$ARFLAGS" || ARFLAGS="cr" +AC_SUBST(ARFLAGS) + # Add build information to local_build_config.h.tmp # ------------------------------------------------- rm -f local_build_config.h.tmp