From 07f8e190c12f4b7883f7891b0c5b03d361cd97fb Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 3 Feb 2013 16:06:35 +0100 Subject: [PATCH 1/1] Use autoconf defaults for CXX and CXXFLAGS. --- Makefile.in | 6 +++--- configure.ac | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index d717216..13fb6f9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/configure.ac b/configure.ac index f6b2e1d..f044a17 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- 2.39.2