【解决】error: undefined macro: AC_PROG_LIBTOOL

0. 原文地址:http://www.cnblogs.com/niocai/archive/2011/07/14/2106089.html


1. 问题描述:使用autoreconf -i生成configure文件时报错。报错内容为:

configure.ac:12: error: possibly undefined macro: AC_PROG_LIBTOOL

      If this token and others are legitimate, please use m4_pattern_allow.

      See the Autoconf documentation.

autoreconf: /usr/bin/autoconf failed with exit status: 1


2. 解决方法:安装libtool

你可能感兴趣的:(configure)