Commit a458825e authored by Gaetan Nadon's avatar Gaetan Nadon

config: update and relocate AX_DEFINE_DIR macro

    Remove deprecated acinclude.m4 macro container file
    Use separate macro files as per autoconf recommendation
    Use the latest macro from GNU
Signed-off-by: Gaetan Nadon's avatarGaetan Nadon <memsize@videotron.ca>
parent 396dd7f1
......@@ -24,6 +24,8 @@ bin_PROGRAMS = xload
AM_CFLAGS = $(CWARNFLAGS) $(XLOAD_CFLAGS)
xload_LDADD = $(XLOAD_LIBS)
ACLOCAL_AMFLAGS = -I m4
xload_SOURCES = \
get_load.c \
get_rload.c \
......
......@@ -23,6 +23,7 @@ dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
AC_INIT(xload,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xload)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
......
# ===========================================================================
# http://www.nongnu.org/autoconf-archive/ax_define_dir.html
# http://www.gnu.org/software/autoconf-archive/ax_define_dir.html
# ===========================================================================
#
# SYNOPSIS
......@@ -30,6 +30,8 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 6
AU_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR])
AC_DEFUN([AX_DEFINE_DIR], [
prefix_NONE=
......
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