comparison configure.ac @ 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 cfd0aa788ae1
children f5126ea721e2
comparison
equal deleted inserted replaced
9800:ef4c4186cb47 9801:13868ea67c71
876 AC_SUBST(GRAPHICS_LIBS) 876 AC_SUBST(GRAPHICS_LIBS)
877 877
878 # ---------------------------------------------------------------------- 878 # ----------------------------------------------------------------------
879 879
880 OCTAVE_PROG_AR 880 OCTAVE_PROG_AR
881
882 ifdef([LT_INIT], [], [
883 errprint([error: you must have libtool 2.2.2 or a more recent version
884 ])
885 m4exit([1])])
881 886
882 LT_PREREQ([2.2.2]) 887 LT_PREREQ([2.2.2])
883 LT_INIT([disable-static dlopen win32-dll]) 888 LT_INIT([disable-static dlopen win32-dll])
884 889
885 if test x$enable_shared = xyes; then 890 if test x$enable_shared = xyes; then