From bf29bd974b428e00d7f614b082125f922c808486 Mon Sep 17 00:00:00 2001 From: pixdamix Date: Tue, 24 Nov 2009 03:04:39 -0500 Subject: shave: making the autotools output sane Use shave (http://git.lespiau.name/cgit/shave) to make compilation more human friendly. Shave is enabled by default, Use --disable-shave to see the actual compiler and linker commands being executed. git-svn-id: http://opkg.googlecode.com/svn/trunk@364 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f97a1c6..946162b 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_INIT(libopkg/libopkg.c) AC_CONFIG_AUX_DIR([conf]) AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_MACRO_DIR([shave]) AM_INIT_AUTOMAKE([opkg], [0.1.6]) AM_CONFIG_HEADER(libopkg/config.h) @@ -10,6 +11,10 @@ AM_CONFIG_HEADER(libopkg/config.h) AC_CANONICAL_HOST AC_GNU_SOURCE +# Disable C++/Fortran checks +define([AC_LIBTOOL_LANG_CXX_CONFIG], [:]) +define([AC_LIBTOOL_LANG_F77_CONFIG], [:]) + for top_builddir in . .. ../.. $ac_auxdir $ac_auxdir/..; do test -f $top_builddir/configure && break @@ -253,6 +258,9 @@ fi AC_SUBST(opkglibdir) AC_SUBST(opkgetcdir) +# Setup output beautifier. +SHAVE_INIT([shave], [enable]) + AC_OUTPUT( Makefile libopkg/Makefile @@ -262,4 +270,6 @@ AC_OUTPUT( utils/Makefile utils/update-alternatives libopkg.pc + shave/shave + shave/shave-libtool ) -- cgit v0.9.1