https://bugs.gentoo.org/375739 --- a/configure.in +++ b/configure.in @@ -24,2 +24,3 @@ AC_PROG_RANLIB +AM_PROG_AR @@ -37,5 +38,2 @@ -CFLAGS="" -CXXFLAGS="" - if test "x$GCC" = xyes; then @@ -52,10 +50,2 @@ fi - -AC_ARG_ENABLE(optimize, -[ --enable-optimize=level Enable optimization [default=2]], - enable_optmize=$enableval, enable_optimize=2) -if test "x$enable_optimize" != "xno" ; then - CFLAGS="$CFLAGS -O$enable_optimize" - CXXFLAGS="$CXXFLAGS -O$enable_optimize" -fi