title: error: Libtool library used but 'LIBTOOL' is undefined
body: <p>I am trying to <code>automake</code> the OrientDb C++ library, but getting some errors.</p>
  
  <pre><code>Makefile.am:10: error: Libtool library used but 'LIBTOOL' is undefined
  Makefile.am:10:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
  Makefile.am:10:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
  Makefile.am:10:   If 'LT_INIT' is in 'configure.ac', make sure
  Makefile.am:10:   its definition is in aclocal's search path.
  </code></pre>
  
  <p><a href="https://github.com/tglman/orientdb-c" rel="noreferrer">https://github.com/tglman/orientdb-c</a></p>
  
  <p><a href="https://github.com/tglman/orientdb-c/wiki/Install" rel="noreferrer">https://github.com/tglman/orientdb-c/wiki/Install</a></p>
  
  <p>I have configure.ac and Makefile.am already defined.</p>
  
  <p>I run the following autotools</p>
  
  <ul>
  <li><p>aclocal</p></li>
  <li><p>autoheader</p></li>
  <li><p>automake:</p></li>
  </ul>
  
  <p><strong>libtool (GNU libtool) 2.4.2</strong></p>
  
  <p>configure.ac</p>
  
  <pre><code># -*- Autoconf -*-
  # Process this file with autoconf to produce a configure script.
  
  AC_PREREQ([2.69])
  AC_INIT([orientdb-c],[0.9])
  AC_CONFIG_SRCDIR([src/o_query_internal.h])
  AC_CONFIG_HEADERS([config.h])
  AM_INIT_AUTOMAKE()
  
  # Checks for programs.
  AC_PROG_CXX
  AC_PROG_AWK
  AC_PROG_CC
  AC_PROG_CPP
  AC_PROG_INSTALL
  AC_PROG_LN_S
  AC_PROG_MAKE_SET
  
  LT_INIT
  
  # Checks for libraries.
  
  # Checks for header files.
  AC_CHECK_HEADERS([malloc.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h     sys/time.h unistd.h])
  
  # Checks for typedefs, structures, and compiler characteristics.
  AC_TYPE_SIZE_T
  
  # Checks for library functions.
  AC_FUNC_MALLOC
  AC_FUNC_REALLOC
  AC_CHECK_FUNCS([gethostbyname memset socket strchr strcspn strdup strerror])
  
  AC_CONFIG_FILES([Makefile])
  AC_OUTPUT
  </code></pre>
  
  <p>Things I already tried:</p>
  
  <ul>
  <li><p>autoreconf</p></li>
  <li><p>aclocal -I /usr/share/libtool</p></li>
  <li><p>aclocal -I .</p></li>
  </ul>