diff --git a/configure.ac b/configure.ac
index 22214b49d3f15d77d885fa2200f91bda1d018e10..97e3ca081a2175d617258bd4178e4ac59e8bd574 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+m4_ifdef([LT_INIT],
+ [
+ LT_INIT
+ ],
+ # else
+ # (older libtools)
+ [
+ AC_PROG_LIBTOOL
+ ]
+)
test_cc_flags() {
AC_LANG_CONFTEST([int main() {}])