git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@566
ffa7fe5e-494d-0410-b361-
a75ebd5db220
CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
fi
AC_PROG_CXX
-if eval "test x$G++ = xyes"; then
- CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
+if eval "test x$GXX = xyes"; then
+ CXXFLAGS="$CXXFLAGS -Wall -Wcast-align -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
fi
PKG_CHECK_EXISTS