IO500 / io500

IO500 Storage Benchmark source code
MIT License
98 stars 31 forks source link

build fails with newer automake/autoconf #67

Open Michael-Hennecke opened 6 months ago

Michael-Hennecke commented 6 months ago

When using autoconf/2.71 (and automake/1.16.5), the io500 build fails with errors like the following (autoconf/2.69 and automake/1.15.1 works fine):

configure.ac:13: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:13: the top level
configure.ac:42: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:42: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:42: the top level
configure.ac:89: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:132: error: possibly undefined macro: AC_SUBST
autoreconf: error: ..../autoconf failed with exit status: 1
JulianKunkel commented 5 months ago

Hi Michael, can you state exactly what you are doing? I get even different output using the exact same versions of tools.

autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:13: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:13: the top level
configure.ac:42: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:42: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:42: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory '.'

$ autoconf --version autoconf (GNU Autoconf) 2.71 ... $ automake --version automake (GNU automake) 1.16.5 ...