mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
build: Update autotools configuration a bit
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||||
|
|
||||||
#SUBDIRS = $(MODULE_SUBDIR)
|
#SUBDIRS = $(MODULE_SUBDIR)
|
||||||
#DIST_SUBDIRS = module
|
#DIST_SUBDIRS = module
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,8 @@ test -n "$srcdir" || srcdir=.
|
|||||||
olddir=`pwd`
|
olddir=`pwd`
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
|
|
||||||
|
mkdir m4
|
||||||
|
|
||||||
AUTORECONF=`which autoreconf`
|
AUTORECONF=`which autoreconf`
|
||||||
if test -z $AUTORECONF; then
|
if test -z $AUTORECONF; then
|
||||||
echo "*** No autoreconf found, please install it ***"
|
echo "*** No autoreconf found, please install it ***"
|
||||||
|
|||||||
19
configure.ac
19
configure.ac
@ -1,20 +1,25 @@
|
|||||||
AC_PREREQ(2.54)
|
AC_PREREQ([2.63])
|
||||||
|
|
||||||
AC_INIT([sysprof], [1.1.7])
|
AC_INIT([sysprof], [1.1.7])
|
||||||
AC_CONFIG_SRCDIR(sysprof.glade)
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(no-define)
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_SRCDIR([sysprof.glade])
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_INIT_AUTOMAKE([1.10 -Wall no-define])
|
||||||
|
AM_MAINTAINER_MODE([enable])
|
||||||
AC_PROG_CC
|
|
||||||
AC_PROG_INSTALL
|
|
||||||
|
|
||||||
# Support silent build rules, requires at least automake-1.11. Disable
|
# Support silent build rules, requires at least automake-1.11. Disable
|
||||||
# by either passing --disable-silent-rules to configure or passing V=1
|
# by either passing --disable-silent-rules to configure or passing V=1
|
||||||
# to make
|
# to make
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
|
# Check for programs
|
||||||
|
AC_PROG_CC
|
||||||
|
AM_PROG_CC_C_O
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
changequote(,)dnl
|
changequote(,)dnl
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
case " $CFLAGS " in
|
case " $CFLAGS " in
|
||||||
|
|||||||
Reference in New Issue
Block a user