← Back to context Comment by almostnormal 3 years ago Does autotools compile only, or try to link? There's no main(). 3 comments almostnormal Reply jwilk 3 years ago AC_COMPILE_IFELSE indeed only compiles, so there's no need for main().There's AC_LINK_IFELSE if you want to test linking too. jan3000 3 years ago There is a main()...[0][0] https://git.tukaani.org/?p=xz.git;a=blob;f=CMakeLists.txt;h=... jwilk 3 years ago That's not autotools.
jwilk 3 years ago AC_COMPILE_IFELSE indeed only compiles, so there's no need for main().There's AC_LINK_IFELSE if you want to test linking too.
jan3000 3 years ago There is a main()...[0][0] https://git.tukaani.org/?p=xz.git;a=blob;f=CMakeLists.txt;h=... jwilk 3 years ago That's not autotools.
AC_COMPILE_IFELSE indeed only compiles, so there's no need for main().
There's AC_LINK_IFELSE if you want to test linking too.
There is a main()...[0]
[0] https://git.tukaani.org/?p=xz.git;a=blob;f=CMakeLists.txt;h=...
That's not autotools.