From: Fraser Tweedale Date: Thu, 22 May 2014 10:10:06 +0000 (+1000) Subject: configure: use cc/c++ instead of gcc/g++ X-Git-Tag: 0.19_rc1~153 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=0e50854a7feb1feea24745ce0a87be4327803e21 configure: use cc/c++ instead of gcc/g++ Some systems (e.g. FreeBSD 10) do not ship with the GNU Compiler Collection. Use generic cc/c++ instead of gcc/g++ (unless the CC/CXX environment variables are used). --- diff --git a/configure b/configure index 99ab74dc..9514d4d9 100755 --- a/configure +++ b/configure @@ -43,8 +43,8 @@ fi # Set several defaults (optionally specified by the user in # environment variables) -CC=${CC:-gcc} -CXX=${CXX:-g++} +CC=${CC:-cc} +CXX=${CXX:-c++} CFLAGS=${CFLAGS:--O2} CPPFLAGS=${CPPFLAGS:-} CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}