Commit 47f0489f authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix CXXFLAGS usage.

	* configure.ac: Erase CXXFLAGS if the user doesn't set it.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@690 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent ad8e081f
2006-10-31 Roland Levillain <roland@lrde.epita.fr>
Fix CXXFLAGS usage.
* configure.ac: Erase CXXFLAGS if the user doesn't set it.
2006-10-27 Roland Levillain <roland@lrde.epita.fr>
* TODO: Update.
......
......@@ -23,6 +23,12 @@ AM_INIT_AUTOMAKE([1.9.4 foreign check-news dist-bzip2 -Wall])
## C++ compiler set up. ##
## --------------------- ##
# If the user doesn't provide any CXXFLAGS, prevent Autoconf from
# settings its own default ones (e.g., `-g -O2' for g++).
if test ! ${CXXFLAGS+set}; then
CXXFLAGS=""
fi
# Look for a C++ compiler.
AC_LANG([C++])
AC_PROG_CXX
......
2006-10-31 Roland Levillain <roland@lrde.epita.fr>
* tests/Makefile.am: Alter AM_CXXFLAGS instead of CXXFLAGS.
2006-10-27 Roland Levillain <roland@lrde.epita.fr>
Fix the distribution.
......
......@@ -6,11 +6,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/extended -I$(top_srcdir)/metalic
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
......
2006-10-31 Roland Levillain <roland@lrde.epita.fr>
* tests/Makefile.am: Alter AM_CXXFLAGS instead of CXXFLAGS.
2006-10-27 Roland Levillain <roland@lrde.epita.fr>
Fix the distribution.
......
......@@ -6,11 +6,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/metalic
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
......
2006-10-31 Roland Levillain <roland@lrde.epita.fr>
* tests/algorithms/Makefile.am, tests/core/Makefile.am,
* tests/io/Makefile.am, tests/morphers/Makefile.am,
* tests/value/Makefile.am, tests/value/Makefile.am:
Alter AM_CXXFLAGS instead of CXXFLAGS.
2006-10-27 Roland Levillain <roland@lrde.epita.fr>
Various fixes.
......
......@@ -16,11 +16,11 @@ AM_CPPFLAGS = \
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
fill
......
......@@ -12,11 +12,11 @@ AM_CPPFLAGS = \
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
dpoint2d \
......
......@@ -12,11 +12,11 @@ AM_CPPFLAGS = \
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
io_pnm
......
......@@ -12,11 +12,11 @@ AM_CPPFLAGS = \
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
identity_morpher \
......
......@@ -12,11 +12,11 @@ AM_CPPFLAGS = \
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
accessor \
......
2006-10-31 Roland Levillain <roland@lrde.epita.fr>
* tests/Makefile.am: Alter AM_CXXFLAGS instead of CXXFLAGS.
* stc/scoop.hh: Fix comment.
2006-10-09 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr>
* stc/scoop.hh (stc_virtual_typedef): Remove this macro which
......
......@@ -63,7 +63,7 @@
namespace stc
{
/// Error messages raised by static assertions.
/// Error messages raised by static assertions/abortions.
namespace ERROR
{
......@@ -203,6 +203,7 @@ namespace SCOOPED_NAMESPACE \
\
/** Accessor helper: specializations for the case of two super */ \
/** classes or more. */ \
/* FIXME: Currently works only for 2 and 3 super types. */ \
template <typename super1, typename super2, typename super3> \
struct get_super_types_helper< mlc::valist_ <super1, super2, super3> > \
{ \
......
......@@ -6,11 +6,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/static -I$(top_srcdir)/metalic
#
# AM_CXXFLAGS = $(CXXFLAGS_STRICT) $(CXXFLAGS_DEBUG)
#
# when oln.m4 is available in the distribution.
# Meanwhile, alter CXXFLAGS to turn off any optimization (Automake will
# warn against this, but that's OK).
# when oln.m4 is available in the distribution, instead of using the
# set-by-hand TESTS_CXXFLAGS.
TESTS_CXXFLAGS = @TESTS_CXXFLAGS@
CXXFLAGS += $(TESTS_CXXFLAGS)
AM_CXXFLAGS = $(TESTS_CXXFLAGS)
check_PROGRAMS = \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment