]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Add try-compile for 'major'
authorBrad King <brad.king@kitware.com>
Mon, 16 Nov 2009 16:29:46 +0000 (11:29 -0500)
committerBrad King <brad.king@kitware.com>
Mon, 16 Nov 2009 16:29:46 +0000 (11:29 -0500)
commit003ae2f27686c280c1b4a5a6ec7bb67088878561
tree17d2357c69938a8b62e59e07133940b75f23d294
parentdeb76321d1034ade3b227dcd5fceb969860270ed
Add try-compile for 'major'

We define MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS from CMake by checking
sys/mkdev.h and sys/sysmacros.h for 'major'.  Previously these macros
were left unconfigured for CMake builds.

SVN-Revision: 1661
CMakeLists.txt