You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# initial sweep - install missing files, overwriting previous state
autoreconf --install --force $warnings
# check whether we can find the insertion point for our libtool.m4 bugfix
if ! grep -q "\-L\* | \-R\* | \-l\*)" m4/libtool.m4; then
echo "error: could not find target key for patching libtool.m4 - please report this to the IPM developers along with your m4/libtool.m4"
exit 1
fi
# apply the fix
mv m4/libtool.m4 m4/libtool.m4_orig
awk '{ print $0 } /-L\* \| -R\* \| -l\*\)/ { printf("\n\t# Some compilers *also* place space between \"-l\" and the library name.\n\t# Remove the space.\n\tif test $p = \"-l\"; then prev=$p; continue; fi\n\n"); }' m4/libtool.m4_orig > m4/libtool.m4
# autoreconf once more (no --force) to assimilate libtool.m4 changes