Comment by GrayShade 3 years ago Only in CMake, this time. Not in the autotools version. 4 comments GrayShade Reply almostnormal 3 years ago Does autotools compile only, or try to link? There's no main(). 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.
almostnormal 3 years ago Does autotools compile only, or try to link? There's no main(). 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.
Does autotools compile only, or try to link? There's no main().
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.