]> git.ipfire.org Git - thirdparty/openldap.git/commit
build: Set OS_WINDOWS in `scripts/defines.sh` to aid with Windows detection in test...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 1 Jul 2025 11:57:59 +0000 (07:57 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 1 Jul 2025 11:57:59 +0000 (07:57 -0400)
commitb6bed508f5202e01018615dce96dac06fcd8784b
tree5f37fad8738bba64af44e644c0c9de33ea28aec3
parentfcf6cb40b74f3fd003b1d76d961d3d8be76dc29d
build: Set OS_WINDOWS in `scripts/defines.sh` to aid with Windows detection in test cases

This uses the result AC_CANONICAL_HOST and a pre-existing case statement checking for mingw32, cygwin, interix to determine if the build system is Windows based... We make the not unreasonable assumption that if the build system is Windows based, the tests will also be running on a Windows system.
configure.ac
tests/run.in
tests/scripts/defines.sh