33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
|
--- config/am_include.mk
|
||
|
+++ config/am_include.mk
|
||
|
@@ -32,19 +32,6 @@
|
||
|
INCLUDES=-I$(top_srcdir)/include
|
||
|
|
||
|
|
||
|
-## CXXFLAGS is also automatically added to the $(CXX) macro at compile time, and
|
||
|
-## is passed down to the children as well
|
||
|
-## I list these here in case there needs to always be some flags passed to the compiler
|
||
|
-CXXFLAGS=@CXXFLAGS@
|
||
|
-
|
||
|
-
|
||
|
-## LDFLAGS will be added at link time
|
||
|
-## note that the -l flags are set by the LIBS macro that is set by configure
|
||
|
-## This line doesn't need to be here, configure will add LDFLAGS on it's own,
|
||
|
-## but I'm leaving here as a place to add LDFLAGS if so desired
|
||
|
-LDFLAGS=@LDFLAGS@
|
||
|
-
|
||
|
-
|
||
|
# doc directory
|
||
|
pkgdocdir=$(prefix)/doc/@PACKAGE@
|
||
|
|
||
|
--- configure.ac
|
||
|
+++ configure.ac
|
||
|
@@ -35,7 +35,6 @@
|
||
|
dnl ############################################################################
|
||
|
dnl # Checks for programs #
|
||
|
dnl ############################################################################
|
||
|
-CXXFLAGS= dnl AC_PROG_CXX automatically sets CXXFLAGS to -g -O2 if g++ is the C++ compiler and CXXFLAGS hasn't been set, so by setting CXXFLAGS, we can avoid this.
|
||
|
AC_PROG_CXX
|
||
|
#AC_PROG_AWK
|
||
|
AC_PROG_CC
|