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