On Thu, Nov 20, 2025 at 01:47:17AM -0500, Khalid Masum wrote: > > AC_INIT([helloworld], [0.1], [[email protected]]) > > AX_PTHREAD([],[AC_MSG_NOTICE([AC_PACKAGE_NAME Needs POSIX Threads > > (pthread)])]) > > AC_OUTPUT > > ``` > > Sorry, the error message is: > > ``` > configure.ac:2: error: undefined or overquoted macro: AC_MSG_NOTICE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:2: error: undefined or overquoted macro: AC_PACKAGE_NAME
These errors means that, after all macro expansion was performed, the strings AC_MSG_NOTICE and AC_PACKAGE_NAME were found literally in the final configure script (before quadrigraph removal). It looks like you are trying to use a user-defined macro called AX_PTHREAD, but since you have not provided a definition of this macro, no argument collection is performed and thus all of this quoted text is copied literally to the output, with one layer of quoting removed, and hence you will get the error shown. Hope that helps, Nick
