[Github-comments] [geany/geany] Test whether the C++ compiler works by compiling a test program (#1155)

Colomban Wendling notifications at xxxxx
Sat Jul 30 22:56:58 UTC 2016


This is more reliable than using `which`, which doesn't work if the CXX
environment variable is set to something else than an executable (e.g
contains options), and is apparently less portable on some systems.

See:
 * http://lists.geany.org/pipermail/devel/2009-September/001367.html,
   which lead to 5bb28825aadb43ea8ba536c34970d53860b50759.
 * https://sourceforge.net/p/geany/bugs/455/, which lead to a revert
   of the above, 5b9605a9d6d799629b8ed3163596069c8c948b06.

Fixes #829.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1155

-- Commit Summary --

  * Test whether the C++ compiler works by compiling a test program

-- File Changes --

    M configure.ac (6)
    A m4/geany-prog-cxx.m4 (20)

-- Patch Links --

https://github.com/geany/geany/pull/1155.patch
https://github.com/geany/geany/pull/1155.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160730/b3a90fb5/attachment.html>


More information about the Github-comments mailing list