[gjs/wip/ptomato/autotools: 11/18] build: Remove C compiler checks



commit 56b57aafe156d31dbe415383fc3ac645cd7ba1dd
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Sep 26 21:52:49 2016 -0700

    build: Remove C compiler checks
    
    We don't use a C compiler anymore, so don't check for it, nor for
    characteristics of C compilers that should be standard in C++. Also don't
    add to CFLAGS, which will be unused anyway.

 Makefile.am  |    1 -
 configure.ac |    9 ---------
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c32afc9..aa275aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,6 @@ TEST_PROGS =
 check_PROGRAMS = $(TEST_PROGS)
 INTROSPECTION_GIRS =
 ACLOCAL_AMFLAGS = -I m4
-AM_CFLAGS = $(WARN_CFLAGS)
 AM_CXXFLAGS = $(WARN_CXXFLAGS)
 AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gjs\"
 
diff --git a/configure.ac b/configure.ac
index db69f78..386b15b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,20 +27,14 @@ AM_SILENT_RULES([yes])
 # our first pkg-config invocation is conditional, ensure macros still work
 PKG_PROG_PKG_CONFIG
 
-AC_PROG_CC
-AM_PROG_CC_C_O
 AC_PROG_CXX
 AX_CXX_COMPILE_STDCXX_11
 AC_ISC_POSIX
-AC_HEADER_STDC
 
 LT_PREREQ([2.2.0])
 # no stupid static libraries
 LT_INIT([disable-static])
 
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
 GNOME_CXX_WARNINGS([maximum])
 
 # coverage
@@ -196,9 +190,6 @@ if test "x${ENABLE_DTRACE}" = xyes -o "x${ENABLE_SYSTEMTAP}" = xyes; then
   AC_DEFINE([HAVE_DTRACE], [1], [Define to 1 if using dtrace probes.])
 fi
 
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
 dnl
 dnl Check for -Bsymbolic-functions linker flag used to avoid
 dnl intra-library PLT jumps, if available.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]