]> git.notmuchmail.org Git - notmuch/commit
configure: Allow user to specify compiler to be used.
authorCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 02:33:23 +0000 (18:33 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 02:33:23 +0000 (18:33 -0800)
commitea2d9a2cbfe6af2a1f7b664e998d09ac5d68d5e0
tree8c840ca625919b1071b74502b22914b70c83fe8a
parent4faf809578ca63edc9f23f92d7ce47d60dbc061e
configure: Allow user to specify compiler to be used.

The environment variables CC and CXX can be set at configure time to
specify what compiler to use. This compiler will be used for any
configure-time compilation, and will also be recorded in
Makefile.config to be used during the actual build.

The compiler to be used can still be overridden at build time by using
a make variable such as:

make CC=gcc
configure