changeset 15143:f4684192158e

configure.ac: Split gnulib initialization into 2 parts to match recommended usage. * configure.ac: Split gnulib initialization into 2 parts to match recommended usage.
author Rik <rik@octave.org>
date Fri, 10 Aug 2012 12:19:59 -0700
parents 4388f6518440
children e412d18d4fa5
files configure.ac
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac
+++ b/configure.ac
@@ -266,10 +266,10 @@
   ;;
 esac
 
-### gnulib initialization
+### gnulib initialization: part 1
+### Must take place immediately after a compiler is determined
 
 gl_EARLY
-gl_INIT
 
 ### Check version number when using gcc.
 
@@ -1865,6 +1865,12 @@
 ## Does the C compiler support Automake subdir-objects option?
 AM_PROG_CC_C_O 
 
+### gnulib initialization: part 2
+### After all include and path modifications have taken place
+### and at the same priority level as function checks.
+
+gl_INIT
+
 ### Checks for functions and variables.
 
 AC_CHECK_FUNCS(basename canonicalize_file_name \