Commit e2f601f0 authored by Pekka Pessi's avatar Pekka Pessi

configure.ac: renamed AX_TOOL_CC as SAC_TOOL_CC.

darcs-hash:20061122075443-65a35-74cbfac7800672f6fade286c7ec07518f7274217.gz
parent 556148a3
......@@ -32,9 +32,6 @@ AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AC_CONFIG_HEADERS([config.h])
SAC_ENABLE_NDEBUG
SAC_ENABLE_EXPENSIVE_CHECKS
AC_GNU_SOURCE
### checks for programs
......@@ -42,7 +39,7 @@ AC_GNU_SOURCE
AC_LANG([C])
AC_CHECK_COMPILATION_ENVIRONMENT
AX_TOOL_CC
SAC_TOOL_CC
AC_PROG_INSTALL
AC_PROG_CPP
AC_CHECK_PROG(ETAGS, etags, etags, echo)
......@@ -50,6 +47,9 @@ AC_CHECK_TOOL(AR, ar, ar)
AC_CHECK_TOOL(LD, ld, ld)
AC_PROG_LIBTOOL
SAC_ENABLE_NDEBUG
SAC_ENABLE_EXPENSIVE_CHECKS
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
......
......@@ -99,7 +99,7 @@ dnl ======================================================================
dnl Find C compiler
dnl ======================================================================
AC_DEFUN([AX_TOOL_CC], [
AC_DEFUN([SAC_TOOL_CC], [
AC_REQUIRE([SAC_CANONICAL_SYSTEM_CACHE_CHECK])
AC_BEFORE([$0], [AC_PROG_CPP])dnl
......@@ -400,7 +400,7 @@ dnl ======================================================================
dnl SAC_ENABLE_NDEBUG
dnl ======================================================================
AC_DEFUN([SAC_ENABLE_NDEBUG],[
AC_REQUIRE([AX_TOOL_CC])
AC_REQUIRE([SAC_TOOL_CC])
AC_ARG_ENABLE(ndebug,
[ --enable-ndebug compile with NDEBUG (disabled)],
, enable_ndebug=no)
......
Markdown is supported
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