diff options
Diffstat (limited to 'tcliis/configure.ac')
-rw-r--r-- | tcliis/configure.ac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tcliis/configure.ac b/tcliis/configure.ac index 0d77652..ad912d6 100644 --- a/tcliis/configure.ac +++ b/tcliis/configure.ac @@ -59,9 +59,12 @@ TEA_PREFIX # necessary to compile executables. #----------------------------------------------------------------------- -AC_PROG_CXX TEA_SETUP_COMPILER +if test "${TEA_PLATFORM}" != "windows" ; then + AC_PROG_CXX +fi + #----------------------------------------------------------------------- # __CHANGE__ # Specify the C source files to compile in TEA_ADD_SOURCES, @@ -153,6 +156,11 @@ TEA_ENABLE_SHARED TEA_CONFIG_CFLAGS +if test "${TEA_PLATFORM}" = "windows" ; then + CXX="$CC" + CXXFLAGS="$CFLAGS" +fi + #-------------------------------------------------------------------- # Set the default compiler switches based on the --enable-symbols option. #-------------------------------------------------------------------- |