<div dir="ltr"><div>I'm trying to build upstream source on RHEL 7.5 and get this error:</div><div><br></div><div># autoreconf -i</div><div>libtoolize: putting auxiliary files in `.'.</div><div>libtoolize: copying file `./ltmain.sh'</div><div>libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.</div><div>libtoolize: copying file `m4/libtool.m4'</div><div>libtoolize: copying file `m4/ltoptions.m4'</div><div>libtoolize: copying file `m4/ltsugar.m4'</div><div>libtoolize: copying file `m4/ltversion.m4'</div><div>libtoolize: copying file `m4/lt~obsolete.m4'</div><div><a href="http://configure.ac:190">configure.ac:190</a>: error: possibly undefined macro: PKG_CHECK_VAR</div><div>      If this token and others are legitimate, please use m4_pattern_allow.</div><div>      See the Autoconf documentation.</div><div>autoreconf: /usr/bin/autoconf failed with exit status: 1</div><div><br></div><div>How to fix this? I hope I can avoid reading autoconf documentation :-)</div><div><br></div><div>Nir</div><div><br></div><div><br></div></div>