<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - autoconf build error concerning undefined macros in configure.ac on ubuntu14.10"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87297">87297</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>autoconf build error concerning undefined macros in configure.ac on ubuntu14.10
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>calebtillman@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Ubuntu 14.04
$ autoconf
configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:15: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:37: error: possibly undefined macro: AC_DEFINE
configure.ac:72: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:102: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:111: error: possibly undefined macro: AC_DEFINE_DIR
configure.ac:118: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:133: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:699: error: possibly undefined macro: AM_ICONV
------------------------
The fix is found at: <a href="https://bbs.archlinux.org/viewtopic.php?pid=1258673">https://bbs.archlinux.org/viewtopic.php?pid=1258673</a>
$ sudo pacman -S pkg-config xorg-server-devel libtool automake
$ libtoolize --force
Consider adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac
and re-run libtoolize --force.
$ vim configure.ac
$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf
I don't know how to include this in the build script.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>