Use autoconf defaults for CXX and CXXFLAGS.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Feb 2013 15:06:35 +0000 (16:06 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Feb 2013 15:06:35 +0000 (16:06 +0100)
Makefile.in
configure.ac

index d717216..13fb6f9 100644 (file)
@@ -7,9 +7,9 @@ libdir = @libdir@
 datarootdir = @datarootdir@
 datadir = @datadir@
 
-CC=gcc
-CXX=g++
-CXXFLAGS=-Wall -g -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@
+CC=@CC@
+CXX=@CXX@
+CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@
 LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@
 DEMO_LDFLAGS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@
 RANLIB=ranlib
index f6b2e1d..f044a17 100644 (file)
@@ -2,6 +2,7 @@ AC_INIT(movit, git)
 
 AC_CONFIG_SRCDIR(effect.cpp)
 
+AC_PROG_CC
 AC_PROG_CXX
 PKG_CHECK_MODULES([Eigen3], [eigen3])
 PKG_CHECK_MODULES([GLEW], [glew])