aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-03-01 00:12:01 +0800
committerXan Lopez <xan@src.gnome.org>2009-03-01 00:12:01 +0800
commit2aa9925ca86d8e3cfb679049bb001c36fccd4985 (patch)
tree8de5d3527939deabff722aaa1de1e97874e397e3 /configure.ac
parentd68e5b3261be67d57eee2da5cab4d3428434e6cb (diff)
downloadgsoc2013-epiphany-2aa9925ca86d8e3cfb679049bb001c36fccd4985.tar.gz
gsoc2013-epiphany-2aa9925ca86d8e3cfb679049bb001c36fccd4985.tar.zst
gsoc2013-epiphany-2aa9925ca86d8e3cfb679049bb001c36fccd4985.zip
Remove CXX/C++ stuff from configure/Makefiles.
We are just C now, so it should be OK. svn path=/trunk/; revision=8826
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 1f01bacf5..89c652481 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,36 +70,24 @@ AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
-AC_PROG_CXX
-
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
-# Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
-# doesn't exist)
-
-AC_LANG_PUSH([C++])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[],[AC_MSG_ERROR([No C++ compiler found])])
-AC_LANG_POP([C++])
-
IT_PROG_INTLTOOL([0.40.0])
PKG_PROG_PKG_CONFIG
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
-GNOME_CXX_WARNINGS
GNOME_MAINTAINER_MODE_DEFINES
MORE_WARN_FLAGS=
DEPRECATION_FLAGS=
-GECKO_WARN_CXXFLAGS="-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor"
if test "$enable_maintainer_mode" = "yes"; then
AC_DEFINE([MAINTAINER_MODE],[1],[Define to enable 'maintainer-only' behaviour])
enable_debug=yes
DEPRECATION_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
- GECKO_WARN_CXXFLAGS="-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth $GECKO_WARN_CXXFLAGS"
fi
GLIB_REQUIRED=2.18.0
@@ -457,10 +445,8 @@ AC_DEFINE_UNQUOTED([SHARE_UNINSTALLED_DIR], ["`pwd`/data"], [path to source data
AM_CPPFLAGS="$AM_CPPFLAGS $DEPRECATION_FLAGS"
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS $MORE_WARN_FLAGS"
-AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS $GECKO_WARN_CXXFLAGS"
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CFLAGS])
-AC_SUBST([AM_CXXFLAGS])
AC_SUBST([AM_LDFLAGS])
# *******************************