[Xfce4-commits] [xfce/libxfce4util] 01/02: Cleanup autotools files

noreply at xfce.org noreply at xfce.org
Thu May 16 14:04:44 CEST 2019


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/libxfce4util.

commit 508e03c2f25504db3e945eb2fd6b6db268aae71f
Author: Romain Bouvier <skunnyk at alteroot.org>
Date:   Thu May 16 13:55:15 2019 +0200

    Cleanup autotools files
    
    - Update AUTHORS, README and THANKS to remove obsoletes informations
    - Cleanup the configure.ac.in : remove obsoletes macros and uesless checks
---
 AUTHORS         |  1 +
 README          | 28 -----------------------
 THANKS          | 70 ---------------------------------------------------------
 configure.ac.in | 50 +++++------------------------------------
 4 files changed, 7 insertions(+), 142 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index b39a823..bed6e5f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,6 +1,7 @@
 Benedikt Meurer <benny at xfce.org>
 Jasper Huijsmans <jasper at xfce.org>
 Olivier Fourdan <fourdan at xfce.org>
+Xfce Development Team <xfce4-dev at xfce.org>
 
 Thanks to Maarten Boekhold <boekhold at emirates.net.ae>, who contributed
 cygwin patches.
diff --git a/README b/README
index 668e41b..9f4c020 100644
--- a/README
+++ b/README
@@ -17,31 +17,3 @@ Installation:
 	by
 
 		./configure --help
-
-
-Notes to cross-compilers:
--------------------------
-
-	The check for "broken putenv" will fail for cross-compiling. Therefore
-	you'll need to supply the --with-broken-putenv option to configure
-	with a parameter of either yes or no (see the ./configure --help
-	output). To determine if your plattform's putenv() is ok or
-	broken, you can use the following test program:
-
-  		#include <stdlib.h>
-		#include <string.h>
-		int main(int argc, char *argv[])
-		{
-		    char *buffer = (char *)malloc(8);
-		    strcpy(buffer, "foo=bar");
-		    putenv(buffer);
-		    strcpy(buffer, "foo=rab");
-		    return(strcmp(getenv("foo"), "bar") == 0 ? 0 : 1);
-		}
-
-	Just compile the program and run it. If it returns 0, then your
-	plattform's putenv() is ok, and you should add --with-broken-putenv=no
-	to ./configure, else you need --with-broken-putenv=yes.
-
-	All glibc based plattforms (nearly all GNU/Linux systems, and GNU/Hurd,
-	etc.) and Solaris plattforms are known to have the putenv() problem.
diff --git a/THANKS b/THANKS
index a0d4d9c..c5c200e 100644
--- a/THANKS
+++ b/THANKS
@@ -15,76 +15,6 @@ Translators (sorted by language):
 ----------------------------------
 These people have translated libxfce4util to foreign languages.
 
- Carles Muñoz Gorriz <carlesmu at internautas.org>
-  * ca translations
-
- Pau Rul·lan Ferragut <paurullan at bulma.net>
-  * ca translations
-
- Michal Várady <miko.vaji at gmail.com>
-  * cs translations
-
- Geraint Rowlands <ansbaradigeidfran at gmail.com>
-  * cy translations
-
- Benedikt Meurer <benny at xfce.org>
-  * de translations
-
- Fabian Nowak <timystery at arcor.de>
-  * de translations
-
- Sonam Pelden <sonaa_peldn at yahoo.com>
-  * dz translations
-
- Piarres Beobide <pi at beobide.net>
-  * eu translations
-
- Jari Rahkonen <jari.rahkonen at pp1.inet.fi>
-  * fi translations
-
- Maximilian Schleiss <maxschleiss at bluewin.ch>
-  * fr translations
-
- Stephane Roy <sroy at j2n.net>
-  * fr translations
-
- Leandro Regueiro <leandro.regueiro at gmail.com>
-  * gl translations
-
- Yuval Tanny <tanai at int.gov.il>
-  * he translations
-
- Daichi Kawahata <daichi at xfce.org>
-  * ja translations
-
- Dimitri Gogelia <delphi.knight at gmail.com>
-  * ka translations
-
- ByungHyun Choi <byunghyun.choi at gmail.com>
-  * ko translations
-
- Mantas Zapolskas <mantaz at users.sourceforge.net>
-  * lt translations
-
- Jovan Naumovski <jovan at lugola.net>
-  * mk translations
-
- Stephan Arts <psybsd at gmail.com>
-  * nl translations
-
- Piotr Maliński <admin at rk.edu.pl>
-  * pl translations
-
- Szymon Kałasz <szymon_maestro at gazeta.pl>
-  * pl translations
-
- Adriano Winter Bess <awbess at gmail.com>
-  * pt_BR translations
-
- Maxim V. Dziumanenko <mvd at mylinux.ua>
-  * uk translations
-
-
 
 Other contributers (sorted by name):
 ------------------------------------
diff --git a/configure.ac.in b/configure.ac.in
index 88a9604..d4cc59e 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -1,6 +1,6 @@
 dnl $Id$
 dnl
-dnl Copyright (c) 2002-2017
+dnl Copyright (c) 2002-2019
 dnl         The Xfce development team. All rights reserved.
 dnl
 dnl Written for Xfce by Benedikt Meurer <benny at xfce.org>, Jasper
@@ -37,11 +37,11 @@ m4_define([libxfce4util_debug_default], [ifelse(libxfce4util_version_tag(), [git
 dnl ***************************
 dnl *** Initialize autoconf ***
 dnl ***************************
-AC_COPYRIGHT([Copyright (c) 2002-2018
+AC_COPYRIGHT([Copyright (c) 2002-2019
         The Xfce development team. All rights reserved.])
 AC_INIT([libxfce4util], [libxfce4util_version], [xfce4-dev at xfce.org])
 AC_PREREQ([2.50])
-AC_REVISION([$Id$])
+AC_REVISION([libxfce4util_version_build])
 
 dnl ***************************
 dnl *** Initialize automake ***
@@ -79,9 +79,7 @@ dnl *******************************
 dnl *** Check for UNIX variants ***
 dnl *******************************
 AC_AIX()
-AC_ISC_POSIX()
 AC_MINIX()
-AM_CONDITIONAL([HAVE_CYGWIN], [test "`uname | grep \"CYGWIN\"`" != ""])
 
 dnl ********************************
 dnl *** Check for basic programs ***
@@ -104,8 +102,8 @@ dnl ***************************************
 AC_HEADER_STDC()
 AC_CHECK_HEADERS([err.h errno.h grp.h limits.h locale.h pwd.h \
                   signal.h sys/stat.h sys/types.h sys/utsname.h \
-                  sys/wait.h time.h unistd.h stdarg.h varargs.h libintl.h])
-AC_CHECK_FUNCS([gethostname getpwnam setenv setlocale strdup unsetenv\
+                  time.h unistd.h stdarg.h varargs.h libintl.h])
+AC_CHECK_FUNCS([gethostname getpwnam setlocale strdup \
                 bind_textdomain_codeset])
 
 dnl ******************************
@@ -126,7 +124,7 @@ XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.42.0])
 dnl *************************
 dnl *** Check for gtk-doc ***
 dnl *************************
-GTK_DOC_CHECK([1.0])
+GTK_DOC_CHECK([1.9])
 
 dnl ***************************************
 dnl *** Check for gobject-introspection ***
@@ -138,36 +136,6 @@ dnl *** Check for vapigen ***
 dnl *************************
 VAPIGEN_CHECK()
 
-dnl ****************************************************************************
-dnl *** Check for a broken putenv(3) implementation that requires strings    ***
-dnl *** to be malloced and not freed after a successfully call to putenv(3). ***
-dnl *** Solaris is known to have such an implementation, also glibc seems to ***
-dnl *** be hit by this problem.                                              ***
-dnl ****************************************************************************
-AC_MSG_CHECKING([whether putenv() implementation is broken])
-AC_ARG_WITH([broken-putenv],
-  [  --with-broken-putenv=[[auto/yes/no]] broken putenv(3) [default=auto]])
-if test x"$with_broken_putenv" != x"yes" -a x"$with_broken_putenv" != x"no"; then
-  AC_RUN_IFELSE([AC_LANG_SOURCE(
-  #include <stdlib.h>
-  #include <string.h>
-  int main(int argc, char *argv[])
-  {
-    char *buffer = (char *)malloc(8);
-    strcpy(buffer, "foo=bar");
-    putenv(buffer);
-    strcpy(buffer, "foo=rab");
-    return(strcmp(getenv("foo"), "bar") == 0 ? 0 : 1);
-  })],
-  [with_broken_putenv=no],
-  [with_broken_putenv=yes],
-  [with_broken_putenv=cross])
-fi
-if test x"$with_broken_putenv" = x"yes"; then
-  AC_DEFINE([HAVE_BROKEN_PUTENV], [1], [Define if putenv(3) is broken])
-fi
-AC_MSG_RESULT([$with_broken_putenv])
-
 dnl ***********************************
 dnl *** Check for debugging support ***
 dnl ***********************************
@@ -216,12 +184,6 @@ if test x"$have_gnuc_visibility" = x"yes"; then
 fi
 AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test x"$have_gnuc_visibility" = x"yes"])
 
-dnl *************************************
-dnl *** Compensate for broken gtk-doc ***
-dnl *************************************
-XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
-AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
-
 dnl *****************************
 dnl *** Generate output files ***
 dnl *****************************

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list