From: Ben Pfaff Date: Tue, 31 Dec 2013 22:20:01 +0000 (-0800) Subject: configure: Make autoconf fail if libtool is not installed. X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=32015a3fd30162d92350c94e756a9fb9e39025ca;p=sliver-openvswitch.git configure: Make autoconf fail if libtool is not installed. 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 --- diff --git a/configure.ac b/configure.ac index f6a11f03f..6a999d035 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])