[Xfce4-commits] [panel-plugins/xfce4-sample-plugin] 10/13: Update configure.ac.in macros
noreply at xfce.org
noreply at xfce.org
Sun Apr 30 20:29:14 CEST 2017
This is an automated email from the git hooks/post-receive script.
skunnyk pushed a commit to branch master
in repository panel-plugins/xfce4-sample-plugin.
commit b3df576bc8bc43238439cd86c0895d6a94f9e3ce
Author: Romain B <skunnyk at alteroot.org>
Date: Sun Apr 30 19:46:27 2017 +0200
Update configure.ac.in macros
- Declare the m4 dir
- Remove old Unix checks
- Update AM_PROG_CC_C_O to AC_PROG_CC_C_O
Now we should have a sane sample plugin
---
configure.ac.in | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 4f145e5..5da1e17 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -16,6 +16,7 @@ m4_define([sample_version_build], [@REVISION@])
m4_define([sample_version_tag], [git])
m4_define([sample_version], [sample_version_major().sample_version_minor().sample_version_micro()ifelse(sample_version_nano(), [], [], [.sample_version_nano()])ifelse(sample_version_tag(), [git], [sample_version_tag()-sample_version_build()], [sample_version_tag()])])
+AC_CONFIG_MACRO_DIR([m4])
dnl ***************************
dnl *** Initialize autoconf ***
dnl ***************************
@@ -28,8 +29,8 @@ AC_REVISION([xfce4_panel_version_build])
dnl ***************************
dnl *** Initialize automake ***
dnl ***************************
-AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2 tar-ustar])
-AM_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-bzip2 tar-ustar])
+AC_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE()
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -39,17 +40,11 @@ dnl **************************
LT_PREREQ([2.2.6])
LT_INIT([disable-static])
-dnl *******************************
-dnl *** Check for UNIX variants ***
-dnl *******************************
-AC_AIX()
-AC_ISC_POSIX()
-
dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
-AM_PROG_CC_C_O()
+AC_PROG_CC_C_O()
AC_PROG_LD()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL([0.35.0])
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list