[ovs-dev] [PATCH] configure: Make autoconf fail if libtool is not installed.

Ben Pfaff blp at nicira.com
Fri Jan 10 18:50:46 UTC 2014


Thank you for the review.  I applied this to master.

On Thu, Jan 09, 2014 at 01:34:38PM -0800, Alex Wang wrote:
> Looks good to me
> Tested on machine without libtool, worked as expected,
> 
> 
> On Tue, Dec 31, 2013 at 2:20 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > Otherwise users get an error later like:
> >     ./configure: line 5093: syntax error near unexpected token
> >     `disable-shared' ./configure: line 5093: `LT_INIT(disable-shared)'
> > It's probably friendlier to make configuration fail earlier.
> >
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> >  configure.ac |    2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/configure.ac b/configure.ac
> > index f6a11f0..6a999d0 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -41,6 +41,8 @@ AC_C_BIGENDIAN
> >  AC_SYS_LARGEFILE
> >
> >  LT_INIT([disable-shared])
> > +m4_pattern_forbid([LT_INIT]) dnl Make autoconf fail if libtool is missing.
> > +
> >  AC_SEARCH_LIBS([pow], [m])
> >  AC_SEARCH_LIBS([clock_gettime], [rt])
> >  AC_SEARCH_LIBS([timer_create], [rt])
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> >



More information about the dev mailing list