summaryrefslogtreecommitdiffstats
path: root/tkwin/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'tkwin/configure.ac')
-rw-r--r--tkwin/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/tkwin/configure.ac b/tkwin/configure.ac
index 5328d6c..94367b9 100644
--- a/tkwin/configure.ac
+++ b/tkwin/configure.ac
@@ -59,7 +59,6 @@ TEA_PREFIX
# necessary to compile executables.
#-----------------------------------------------------------------------
-AC_PROG_CXX
TEA_SETUP_COMPILER
#-----------------------------------------------------------------------
@@ -148,6 +147,9 @@ TEA_ENABLE_SHARED
TEA_CONFIG_CFLAGS
+CXX="$CC"
+CXXFLAGS="$CFLAGS"
+
#--------------------------------------------------------------------
# Set the default compiler switches based on the --enable-symbols option.
#--------------------------------------------------------------------