Commit dd76a66
committed
build: replace obsolete autoconf macros
autoconf 2.70 emits deprecation warnings for AC_PROG_LIBTOOL,
AC_TRY_LINK and AC_TRY_COMPILE and tells the user to run autoupdate.
Apply the standard replacements so a fresh autogen.sh is quiet:
* AC_PROG_LIBTOOL -> LT_INIT (libtool 2 spelling).
* AC_TRY_LINK([prologue], [body], ...) ->
AC_LINK_IFELSE([AC_LANG_PROGRAM([prologue], [body])], ...) in
AU_CHECK_LIB_SONAME.
* AC_TRY_COMPILE([prologue], [body], ...) ->
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([prologue], [body])], ...) in
AU_HAVE_GNU_ERRNO_H.
Behaviour is unchanged: SONAME detection still picks up
libusb-1.0.so.0, the GNU errno.h probe still detects
program_invocation_name, and the resulting library and examples
build cleanly.
Closes: #28
Assisted-by: Claude:claude-opus-4-71 parent 8608a71 commit dd76a66
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments