aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris E Ferron <chris.e.ferron@linux.intel.com>2012-05-08 16:25:04 -0700
committerChris E Ferron <chris.e.ferron@linux.intel.com>2012-05-08 16:25:04 -0700
commit50dd622f8ca2437742b83c7c51dad20ceeba6cb6 (patch)
tree6d7039aab016be7c3bbf8210270a26e0dd89bf56
parent774bfe88ebce201d29d6cfd2e652743f3ed0280d (diff)
to fix error in older version of which give warning: macro `AM_PROG_AR' not found in library and allow new version whihc need AM_PROG_AR, added m4_ifdef. Thanks to Sergey Senozhatsky for helping work this problem out.
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d7820d5..248099b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,19 +4,17 @@
AC_PREREQ([2.68])
AC_LANG([C++])
AC_INIT([powertop], [1.98], [power@bughost.org])
-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign ])
AC_CONFIG_FILES([Makefile src/Makefile pevent/Makefile po/Makefile.in])
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
-#AC_SUBST(LIBTOOL_DEPS)
-#AC_LTDL_DLLIB
GETTEXT_PACKAGE=powertop
AC_SUBST(GETTEXT_PACKAGE)
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.18])
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
# Checks for programs.
AC_PROG_CPP
AC_PROG_CXX