diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:17:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:17:35 (GMT) |
commit | a07fa65f9ddf8865d82517127448e61a24e10112 (patch) | |
tree | 3f441ecf0774d5a85c22e433bc4824193ac08485 /Templates/configure | |
parent | 42e3ee8c0501e6263bedc10a6801348cee50a99f (diff) | |
download | CMake-a07fa65f9ddf8865d82517127448e61a24e10112.zip CMake-a07fa65f9ddf8865d82517127448e61a24e10112.tar.gz CMake-a07fa65f9ddf8865d82517127448e61a24e10112.tar.bz2 |
ENH: add a variable for CMAKE_COMPILER_IS_GNUCXX
Diffstat (limited to 'Templates/configure')
-rwxr-xr-x | Templates/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Templates/configure b/Templates/configure index a15b6b2..8abcf52 100755 --- a/Templates/configure +++ b/Templates/configure @@ -3062,6 +3062,11 @@ esac +CMAKE_COMPILER_IS_GNUGXX=0 +if test $ac_cv_prog_gxx = yes; then + CMAKE_COMPILER_IS_GNUCXX=1 +fi + # generate output files. # create mkdir files just to make some of the directories @@ -3248,6 +3253,7 @@ s%@RUNMAKE@%$RUNMAKE%g s%@CMAKE_AR_TMP@%$CMAKE_AR_TMP%g s%@CMAKE_AR@%$CMAKE_AR%g s%@CMAKE_AR_ARGS@%$CMAKE_AR_ARGS%g +s%@CMAKE_COMPILER_IS_GNUCXX@%$CMAKE_COMPILER_IS_GNUCXX%g CEOF EOF |