[network-manager-applet] configure.ac cleanups



commit e29abc93a7865c47db345b2d4c2ee3119e96b38f
Author: Adrian Bunk <bunk stusta de>
Date:   Sun May 12 16:45:45 2013 +0300

    configure.ac cleanups
    
    - replace the obsolete AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS
    - remove the following macros whose results were unused:
      - AC_PROG_INSTALL
      - AC_CHECK_HEADERS(fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h)
      - AC_TYPE_MODE_T
      - AC_HEADER_TIME
      - AC_CHECK_FUNCS(select socket uname)
      - AC_C_BIGENDIAN
    - remove the following obsolete macros (not relevant on non-historic systems):
      - AC_PROG_GCC_TRADITIONAL
      - AC_FUNC_MEMCMP
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700175

 configure.ac |   22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5a949c1..464d912 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,34 +20,19 @@ dnl Require programs
 dnl
 AC_PROG_CC
 AM_PROG_CC_C_O
-AC_PROG_INSTALL
 PKG_PROG_PKG_CONFIG
 
 dnl Define _GNU_SOURCE for various things like strcasestr()
-AC_GNU_SOURCE
+AC_USE_SYSTEM_EXTENSIONS
 
 dnl Initialize libtool
 LT_PREREQ([2.2.6])
 LT_INIT
 
 dnl
-dnl Required headers
-dnl
-AC_CHECK_HEADERS(fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h)
-
-dnl
 dnl Checks for typedefs, structures, and compiler characteristics.
 dnl
-AC_TYPE_MODE_T
 AC_TYPE_PID_T
-AC_HEADER_TIME
-
-dnl
-dnl Checks for library functions.
-dnl
-AC_PROG_GCC_TRADITIONAL
-AC_FUNC_MEMCMP
-AC_CHECK_FUNCS(select socket uname)
 
 dnl
 dnl translation support
@@ -88,11 +73,6 @@ else
     AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["$prefix"],[ISO codes prefix])
 fi
 
-dnl
-dnl Make sha1.c happy on big endian systems
-dnl
-AC_C_BIGENDIAN
-
 PKG_CHECK_MODULES(GOBJECT, gobject-2.0)
 
 PKG_CHECK_MODULES(NMA,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]