Skip to content

Fix obsolete auto-tools scripts #28

Open
@mcuee

Description

@mcuee

There are quite some warnings now.

Example from github action Linux build.

Run ./autogen.sh --enable-examples-build && make -j4
  ./autogen.sh --enable-examples-build && make -j4
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:31: You should run autoupdate.
./lib/autoconf/general.m4:[2](https://github.com/libusb/libusb-compat-0.1/actions/runs/4275336152/jobs/7442610450#step:4:2)920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
m4/au_check_lib_soname.m4:11: AU_CHECK_LIB_SONAME is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
configure.ac:[3](https://github.com/libusb/libusb-compat-0.1/actions/runs/4275336152/jobs/7442610450#step:4:3)1: the top level
configure.ac:[4](https://github.com/libusb/libusb-compat-0.1/actions/runs/4275336152/jobs/7442610450#step:4:5)1: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:41: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:[6](https://github.com/libusb/libusb-compat-0.1/actions/runs/4275336152/jobs/7442610450#step:4:7)92: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:22[7](https://github.com/libusb/libusb-compat-0.1/actions/runs/4275336152/jobs/7442610450#step:4:8)0: AC_CACHE_CHECK is expanded from...
m4/au_have_gnu_errno.m4:6: AU_HAVE_GNU_ERRNO_H is expanded from...

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildrelated to build scripts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions