possibly undefined macro: jm_AC_PREREQ_XSTRTOIMAX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

"sharutils" contains a file named, "m4/xstrtoimax.m4" and "autoreconf" is
invoked thus:

  autoreconf --force --install --include=m4 -Wall

"configure.ac" contains a line:  jm_AC_PREREQ_XSTRTOIMAX, and so does the
resulting configure file, yielding the error message:

> configure.ac:98: error: possibly undefined macro: jm_AC_PREREQ_XSTRTOIMAX
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.

The .m4 file is below, in case that might be helpful.  It is the _only_
native .m4 file sharutils has.  The rest are pulled in via the autoreconf
command (log attached).

Help?  :-)  Thank you.  Regards, Bruce
===========================================
#serial 2
dnl Cloned from xstrtoumax.m4.  Keep these files in sync.

# autoconf tests required for use of xstrtoimax.c

AC_DEFUN([jm_AC_PREREQ_XSTRTOIMAX],
[
  AC_REQUIRE([gt_TYPE_INTMAX_T])
  AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
  AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
  AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
  AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoimax, strtoumax])
  AC_CHECK_HEADERS(limits.h stdlib.h inttypes.h)

  AC_CACHE_CHECK([whether <inttypes.h> defines strtoimax as a macro],
    jm_cv_func_strtoimax_macro,
    AC_EGREP_CPP([inttypes_h_defines_strtoimax], [#include <inttypes.h>
#ifdef strtoimax
 inttypes_h_defines_strtoimax
#endif],
      jm_cv_func_strtoimax_macro=yes,
      jm_cv_func_strtoimax_macro=no))

  if test "$jm_cv_func_strtoimax_macro" != yes; then
    AC_REPLACE_FUNCS(strtoimax)
  fi

  dnl Only the replacement strtoimax invokes strtol and strtoll,
  dnl so we need the replacements only if strtoimax does not exist.
  case "$jm_cv_func_strtoimax_macro,$ac_cv_func_strtoimax" in
    no,no)
      AC_REPLACE_FUNCS(strtol)

      dnl We don't need (and can't compile) the replacement strtoll
      dnl unless the type `long long' exists.
      if test "$ac_cv_type_long_long" = yes; then
	AC_REPLACE_FUNCS(strtoll)
      fi
      ;;
  esac
])
+ sharutils_version=4.3.79
+ sharutils_eaddr=bug-gnu-utils@xxxxxxx
+ autoconf_version=2.59
+ test -d CVS
+ case "${1}" in
+ set -e
++ sed -e 's/^gettext .*) *//' -e 1q
++ gettext --version
+ gettext_version=0.14.4
+ test -f configure.original
+ fgrep 'AC_INIT([sharutils],[SHARUTILS_VERSION' configure.ac
+ mv configure.ac configure.original
+ sed -e '/^AC_INIT(/s/,.*/,[4.3.79],[bug-gnu-utils@xxxxxxx])/' -e '/^AM_GNU_GETTEXT_VERSION(/s/(.*/(0.14.4)/' -e 's/^AC_PREREQ(.*/AC_PREREQ(2.59)/' configure.original
+ cat
++ date '+%d %B %Y'
++ date '+%B %Y'
+ echo '# Set of available languages:'
+ cd po
+ echo ca.po cs.po da.po de.po el.po es.po et.po fi.po fr.po gl.po hu.po it.po ja.po nb.po nl.po nn.po pt.po ru.po rw.po sr.po sv.po tr.po vi.po zh_TW.po
+ sed 's/\.po//g'
+ case $(autoconf --version 2>&1 | sed 1q) in
++ autoconf --version
++ sed 1q
+ :
+ cd m4
+ rm -f Makefile.am
+ exec
+ echo 'EXTRA_DIST = \'
+ ls -w72 -C error.m4 malloc.m4 realloc.m4 sharutils.m4 xstrtoimax.m4
+ sed 's/^/    /;s/$/ \\/;$s/ .$//'
+ exec
+ cd ..
+ autoreconf --force --install --include=m4 -Wall
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/langprefs.c
Copying file intl/libgnuintl.h.in
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/localcharset.h
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/log.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/printf-args.c
Copying file intl/printf-args.h
Copying file intl/printf-parse.c
Copying file intl/printf-parse.h
Copying file intl/printf.c
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/relocatable.c
Copying file intl/relocatable.h
Copying file intl/textdomain.c
Copying file intl/vasnprintf.c
Copying file intl/vasnprintf.h
Copying file intl/vasnwprintf.h
Copying file intl/wprintf-parse.h
Copying file intl/xsize.h
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/signed.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@xxxxxxxxxxxxxxx
Copying file po/en@xxxxxxxxxxx
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
configure.ac:128: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:2098: AM_PO_SUBDIRS is expanded from...
configure.ac:128: AM_PO_SUBDIRS is required by...
aclocal.m4:388: AM_GNU_GETTEXT is expanded from...
configure.ac:128: the top level
configure.ac:128: warning: The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/status.m4:321: _AC_OUTPUT_COMMANDS_CNT is expanded from...
configure.ac:128: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
aclocal.m4:2475: bh_C_SIGNED is expanded from...
configure.ac:128: bh_C_SIGNED is required by...
aclocal.m4:516: AM_INTL_SUBDIR is expanded from...
configure.ac:128: AM_INTL_SUBDIR is required by...
configure.ac:128: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
aclocal.m4:1837: gl_AC_TYPE_LONG_LONG is expanded from...
configure.ac:128: gl_AC_TYPE_LONG_LONG is required by...
aclocal.m4:1813: gt_TYPE_LONGDOUBLE is expanded from...
configure.ac:128: gt_TYPE_LONGDOUBLE is required by...
aclocal.m4:2638: gt_TYPE_WCHAR_T is expanded from...
configure.ac:128: gt_TYPE_WCHAR_T is required by...
aclocal.m4:2659: gt_TYPE_WINT_T is expanded from...
configure.ac:128: gt_TYPE_WINT_T is required by...
aclocal.m4:934: gl_AC_HEADER_INTTYPES_H is expanded from...
configure.ac:128: gl_AC_HEADER_INTTYPES_H is required by...
aclocal.m4:2562: gl_AC_HEADER_STDINT_H is expanded from...
configure.ac:128: gl_AC_HEADER_STDINT_H is required by...
aclocal.m4:850: gt_TYPE_INTMAX_T is expanded from...
configure.ac:128: gt_TYPE_INTMAX_T is required by...
configure.ac:128: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
aclocal.m4:2364: gt_PRINTF_POSIX is expanded from...
configure.ac:128: gt_PRINTF_POSIX is required by...
aclocal.m4:819: gt_INTDIV0 is expanded from...
configure.ac:128: gt_INTDIV0 is required by...
aclocal.m4:2617: gl_AC_TYPE_UNSIGNED_LONG_LONG is expanded from...
configure.ac:128: gl_AC_TYPE_UNSIGNED_LONG_LONG is required by...
aclocal.m4:2593: gl_AC_TYPE_UINTMAX_T is expanded from...
configure.ac:128: gl_AC_TYPE_UINTMAX_T is required by...
aclocal.m4:907: gt_HEADER_INTTYPES_H is expanded from...
configure.ac:128: gt_HEADER_INTTYPES_H is required by...
aclocal.m4:881: gt_INTTYPES_PRI is expanded from...
configure.ac:128: gt_INTTYPES_PRI is required by...
configure.ac:128: warning: AC_RUN_IFELSE called without default to allow cross compiling
autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
aclocal.m4:2535: gl_SIZE_MAX is expanded from...
configure.ac:128: gl_SIZE_MAX is required by...
aclocal.m4:2673: gl_XSIZE is expanded from...
configure.ac:128: gl_XSIZE is required by...
aclocal.m4:560: gt_INTL_MACOSX is expanded from...
configure.ac:128: gt_INTL_MACOSX is required by...
aclocal.m4:580: gt_CHECK_DECL is expanded from...
aclocal.m4:720: AM_ICONV_LINK is expanded from...
aclocal.m4:748: AM_ICONV is expanded from...
aclocal.m4:34: AM_LANGINFO_CODESET is expanded from...
aclocal.m4:965: gt_LC_MESSAGES is expanded from...
configure.ac:128: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/status.m4:318: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:2098: AM_PO_SUBDIRS is expanded from...
configure.ac:128: AM_PO_SUBDIRS is required by...
aclocal.m4:388: AM_GNU_GETTEXT is expanded from...
configure.ac:128: the top level
configure.ac:128: warning: The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/status.m4:321: _AC_OUTPUT_COMMANDS_CNT is expanded from...
configure.ac:128: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
aclocal.m4:2475: bh_C_SIGNED is expanded from...
configure.ac:128: bh_C_SIGNED is required by...
aclocal.m4:516: AM_INTL_SUBDIR is expanded from...
configure.ac:128: AM_INTL_SUBDIR is required by...
configure.ac:128: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
aclocal.m4:1837: gl_AC_TYPE_LONG_LONG is expanded from...
configure.ac:128: gl_AC_TYPE_LONG_LONG is required by...
aclocal.m4:1813: gt_TYPE_LONGDOUBLE is expanded from...
configure.ac:128: gt_TYPE_LONGDOUBLE is required by...
aclocal.m4:2638: gt_TYPE_WCHAR_T is expanded from...
configure.ac:128: gt_TYPE_WCHAR_T is required by...
aclocal.m4:2659: gt_TYPE_WINT_T is expanded from...
configure.ac:128: gt_TYPE_WINT_T is required by...
aclocal.m4:934: gl_AC_HEADER_INTTYPES_H is expanded from...
configure.ac:128: gl_AC_HEADER_INTTYPES_H is required by...
aclocal.m4:2562: gl_AC_HEADER_STDINT_H is expanded from...
configure.ac:128: gl_AC_HEADER_STDINT_H is required by...
aclocal.m4:850: gt_TYPE_INTMAX_T is expanded from...
configure.ac:128: gt_TYPE_INTMAX_T is required by...
configure.ac:128: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:128: You should run autoupdate.
autoconf/general.m4:2289: AC_TRY_RUN is expanded from...
aclocal.m4:2364: gt_PRINTF_POSIX is expanded from...
configure.ac:128: gt_PRINTF_POSIX is required by...
aclocal.m4:819: gt_INTDIV0 is expanded from...
configure.ac:128: gt_INTDIV0 is required by...
aclocal.m4:2617: gl_AC_TYPE_UNSIGNED_LONG_LONG is expanded from...
configure.ac:128: gl_AC_TYPE_UNSIGNED_LONG_LONG is required by...
aclocal.m4:2593: gl_AC_TYPE_UINTMAX_T is expanded from...
configure.ac:128: gl_AC_TYPE_UINTMAX_T is required by...
aclocal.m4:907: gt_HEADER_INTTYPES_H is expanded from...
configure.ac:128: gt_HEADER_INTTYPES_H is required by...
aclocal.m4:881: gt_INTTYPES_PRI is expanded from...
configure.ac:128: gt_INTTYPES_PRI is required by...
configure.ac:128: warning: AC_RUN_IFELSE called without default to allow cross compiling
autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
aclocal.m4:2535: gl_SIZE_MAX is expanded from...
configure.ac:128: gl_SIZE_MAX is required by...
aclocal.m4:2673: gl_XSIZE is expanded from...
configure.ac:128: gl_XSIZE is required by...
aclocal.m4:560: gt_INTL_MACOSX is expanded from...
configure.ac:128: gt_INTL_MACOSX is required by...
aclocal.m4:580: gt_CHECK_DECL is expanded from...
aclocal.m4:720: AM_ICONV_LINK is expanded from...
aclocal.m4:748: AM_ICONV is expanded from...
aclocal.m4:34: AM_LANGINFO_CODESET is expanded from...
aclocal.m4:965: gt_LC_MESSAGES is expanded from...
configure.ac:98: error: possibly undefined macro: jm_AC_PREREQ_XSTRTOIMAX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /local/bin/autoconf failed with exit status: 1
autoreconf: cannot empty /home/bkorb/tmp/ar2408.1103: Is a directory
+ :
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux