<div dir="ltr">Based on just a couple minutes looking at the autoconf/automake goop, it appears that AM_CONDITIONAL is called for all the ABI_ identifiers via LIBBSD_SELECT_ABI (defined in m4/libbsd-compiler.m4). So, you are missing a LIBBSD_SELECT_ABI([getdelim], SOMETHING) in <a href="http://configure.ac">configure.ac</a>.<div><br></div><div>-Paul</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2024 at 2:20 AM Aleksey Cheusov via cfarm-users <<a href="mailto:cfarm-users@lists.tetaneutral.net">cfarm-users@lists.tetaneutral.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi every one. I'm trying to port libbsd to Solaris-10.<br>
In particular I want to add support for fgetln(3), getline(3) and getdelim(3).<br>
<br>
I'm in truble with autoconf.<br>
Updated sources are here (branch "main")<br>
<a href="https://github.com/cheusov/libbsd/tree/main" rel="noreferrer" target="_blank">https://github.com/cheusov/libbsd/tree/main</a><br>
<br>
The problem is below. Can any one help?<br>
<br>
cheusov@cfarm210<br>
0 libbsd>./autogen<br>
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.<br>
libtoolize: copying file 'build-aux/ltmain.sh'<br>
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.<br>
libtoolize: copying file 'm4/libtool.m4'<br>
libtoolize: copying file 'm4/ltoptions.m4'<br>
libtoolize: copying file 'm4/ltsugar.m4'<br>
libtoolize: copying file 'm4/ltversion.m4'<br>
libtoolize: copying file 'm4/lt~obsolete.m4'<br>
<a href="http://configure.ac:30" rel="noreferrer" target="_blank">configure.ac:30</a>: installing 'build-aux/compile'<br>
<a href="http://configure.ac:9" rel="noreferrer" target="_blank">configure.ac:9</a>: installing 'build-aux/missing'<br>
src/Makefile.am:157: error: ABI_GETDELIM does not appear in AM_CONDITIONAL<br>
src/Makefile.am: installing 'build-aux/depcomp'<br>
autoreconf: automake failed with exit status: 1<br>
<br>
cheusov@cfarm210<br>
0 libbsd><br>
_______________________________________________<br>
cfarm-users mailing list<br>
<a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a><br>
<a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/cfarm-users</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-family:"courier new",monospace">Paul H. Hargrove <<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a>><br>Pronouns: he, him, his<br></div><div style="font-family:"courier new",monospace">Computer Languages & Systems Software (CLaSS) Group</div><div style="font-family:"courier new",monospace">Computer Science Department</div><div style="font-family:"courier new",monospace">Lawrence Berkeley National Laboratory</div></div></div></div>