From 0b53dd8fa7db5b913a2098507f5ed7f8e62dbc91 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sat, 30 Oct 2010 20:53:19 +0200 Subject: [PATCH] Show compiler warnings by default. --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4d16ac87..a9185952 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,10 @@ AC_SUBST(AR) AC_SUBST(ARFLAGS) AC_SUBST(compatibility_DIR) +# Show all compiler warnings by default +CXXFLAGS="$CXXFLAGS -Wall" +CFLAGS="$CFLAGS -Wall" + if echo $includedir | egrep "simgear$" > /dev/null; then echo "includedir is" $includedir "libdir is" $libdir else @@ -135,7 +139,7 @@ if test "x$with_osg" != "x" ; then EXTRA_DIRS="${EXTRA_DIRS} $with_osg" fi -AC_ARG_WITH(osg_framework, [ --with-osg-framework=PREFIX Specify the prefix path to OSG.framework ]) +AC_ARG_WITH(osg_framework, [ --with-osg-framework=PREFIX Specify the prefix path to OSG.framework ]) if test "x$with_osg_framework" != "x"; then echo "osg framework prefix is $with_osg_framework" @@ -144,7 +148,7 @@ if test "x$with_osg_framework" != "x"; then fi dnl specifying ALUT.framework (for user provided ALUT.framework) -AC_ARG_WITH(alut_framework, [ --with-alut-framework=PREFIX Specify the prefix path to ALUT.framework ]) +AC_ARG_WITH(alut_framework, [ --with-alut-framework=PREFIX Specify the prefix path to ALUT.framework ]) if test "x$with_alut_framework" != "x"; then echo "ALUT framework prefix is $with_alut_framework" -- 2.39.5