6c0c619df3
... and move the PROG_CC and PROG_CXX checks toward the beginning. Without the move the compiler search arguments are ignored. We search for 'cc gcc clang' and 'c++ g++ clang++', in that order for CC and CXX respectively. This means there should be no need to override the CC and CXX variables on the configure command line for BSD systems. On OpenBSD for example, cc links to clang. On Linux, cc links to gcc. You can still override these if you like with CC=... and CXX=... on the configure command line. gmake (MAKE=gmake) still needs to be used on the BSD's though. With these and previous changes, CDE builds, installs, and runs correctly on OpenBSD 6.5 now.
************************************* The Common Desktop Environment is released under the terms of the LGPL V.2 license. You may reuse and redistribute this code under the terms of this license. See the COPYING file for details. ************************************* Purpose of this release: This release of CDE under a new opensource license is numbered starting at version 2.2.0. ************************************ Downloading this release: CDE may be downloaded in source form from the Common Desktop Environment website: http://sourceforge.net/projects/cdesktopenv/ Or via git: git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code The git repository will always be more up to date than the downloadable tarballs we make available, so if you have problems, please try the latest version from git master. ************************************ Installing this release: Complete build and installation instructions can be found on the CDE wiki: http://sourceforge.net/p/cdesktopenv/wiki/Home/ Please go there and read the appropriate section(s) for your OS (Linux or FreeBSD/OpenBSD/NetBSD currently). There are a variety of dependencies that must be met, as well as specific set up steps required to build. Do not expect to just type 'make' and have it actually work without meeting the prerequisites and following the correct steps as spelled out on the wiki. :) There are also a lot of other documents and information there that you might find useful. ************************************ Support: You can join the development mailing list here: https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel There is a CDE IRC channel on chat.freenode.net, channel #cde Bug reports and patches encouraged.