[tracker/tracker-1.0] build: Reorder AutoConf directives to avoid build failures



commit a95c677c6cb23b97eb7e65dd4997237701f95ad5
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Aug 13 09:34:26 2014 +0100

    build: Reorder AutoConf directives to avoid build failures
    
    - Using AC_CONFIG_AUX_DIR([build-aux]) too late results in docs/reference/*
      not finding install-sh which is in $top_srcdir/build-aux
    - Using AC_USE_SYSTEM_EXTENSIONS too late results in warnings about using
      AC_RUN_IF_ELSE (and others) before AC_USE_SYSTEM_EXTENSIONS
    
    Now build and make install works without warnings

 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e3354b8..db514fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,15 +46,15 @@ AC_INIT([tracker],
         [tracker],
         [http://www.tracker-project.org])
 
-# Available since autoconf 2.60, implies _GNU_SOURCE and extensions if available.
-# See: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html
-AC_USE_SYSTEM_EXTENSIONS
-
-AC_CONFIG_SRCDIR([src/tracker-store/tracker-main.vala])
 AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_SRCDIR([src/tracker-store/tracker-main.vala])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
 
+# Available since autoconf 2.60, implies _GNU_SOURCE and extensions if available.
+# See: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html
+AC_USE_SYSTEM_EXTENSIONS
+
 AM_INIT_AUTOMAKE([1.11 no-define tar-ustar -Wno-portability])
 
 AC_PROG_LIBTOOL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]