Skip to content

Define CPP so the test to identify macOS works

fakeroot 1.29 (and previous versions) fails to determine that it is being configured on macOS. I have used autoconf 2.71 to generate the configure script. The configure script says:

checking for MacOS X/Darwin... no

The config.log shows this is why:

configure:14750: checking for MacOS X/Darwin
configure:14767:  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c
./configure: line 1923: -I/opt/local/include: No such file or directory
configure:14767: $? = 127

It is trying to run $CPP but CPP hasn't been set to anything yet. This is because configure.ac never called AC_PROG_CPP. This merge request fixes it for me.

Merge request reports

Loading