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
configure.ac:36: warning: underquoted definition of AC_REQUIRE(AC_CANONICAL_HOST
configure.ac:36: error: AC_REQUIRE(): cannot be used outside of an AC_DEFUN'd macro
I tried to generate the build environment, but aclocal fails with this error. I did some digging, it looks like aclocal now requires AC_REQUIRE calls to be wrapped in AC_DEFUN. I changed the configure.ac file to the following:
After this change, technically, I could successfully generate the build environment, but I also saw these suggestions:
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
I moved aclocal.m4 to it's own m4 directory, and added AC_CONFIGURE_MACRO_DIRS([m4]) to the configure.ac file. I also added ACLOCAL_AMFLAGS = -I m4 to the Makefile.am file and I was no longer getting warnings when running alocal, autoheader, libtoolize or autoconf
Finally, on the https://x42.github.io/libltc/ page the generate build environment steps show libtoolize –copy and automake –gnu –add-missing –copy but since those are long options, it should be updated to libtoolize --copy and automake --gnu --add-missing --copy
The text was updated successfully, but these errors were encountered:
I tried to generate the build environment, but
aclocal
fails with this error. I did some digging, it looks likeaclocal
now requires AC_REQUIRE calls to be wrapped in AC_DEFUN. I changed the configure.ac file to the following:After this change, technically, I could successfully generate the build environment, but I also saw these suggestions:
I moved aclocal.m4 to it's own m4 directory, and added
AC_CONFIGURE_MACRO_DIRS([m4])
to the configure.ac file. I also addedACLOCAL_AMFLAGS = -I m4
to the Makefile.am file and I was no longer getting warnings when running alocal, autoheader, libtoolize or autoconfFinally, on the https://x42.github.io/libltc/ page the generate build environment steps show
libtoolize –copy
andautomake –gnu –add-missing –copy
but since those are long options, it should be updated tolibtoolize --copy
andautomake --gnu --add-missing --copy
The text was updated successfully, but these errors were encountered: