changeset 9801:13868ea67c71

configure.ac: fail if LT_INIT is not defined
author John W. Eaton <jwe@octave.org>
date Wed, 11 Nov 2009 10:01:03 -0500
parents ef4c4186cb47
children 9b4a301d88ed
files ChangeLog configure.ac
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-11  John W. Eaton  <jwe@octave.org>
+
+	* configure.ac: Fail if LT_INIT it is not defined.
+
 2009-11-10  John W. Eaton  <jwe@octave.org>
 
 	* NEWS: Update.
--- a/configure.ac
+++ b/configure.ac
@@ -879,6 +879,11 @@
 
 OCTAVE_PROG_AR
 
+ifdef([LT_INIT], [], [
+  errprint([error: you must have libtool 2.2.2 or a more recent version
+])
+  m4exit([1])])
+
 LT_PREREQ([2.2.2])
 LT_INIT([disable-static dlopen win32-dll])