[Spice-devel] [spice-gtk] Move AM_PROG_AR before LT_INIT call

Christophe Fergeau cfergeau at redhat.com
Thu Aug 30 02:29:03 PDT 2012


The other way round generates warnings:
configure.ac:14: warning: LT_INIT was called before AM_PROG_AR
aclocal.m4:1015: AM_PROG_AR is expanded from...
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 70897cb..4a220d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,11 +8,10 @@ AM_CONFIG_HEADER([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
 
 AM_INIT_AUTOMAKE([foreign dist-bzip2 -Wall -Werror])
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 LT_INIT
 AM_MAINTAINER_MODE
 
-m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-
 IT_PROG_INTLTOOL([0.40.0])
 GETTEXT_PACKAGE=spice-gtk
 AC_SUBST(GETTEXT_PACKAGE)
-- 
1.7.11.4



More information about the Spice-devel mailing list