[glib: 1/2] build: Drop AC_C_CONST from configure.ac



commit bac504e32f8aae897122b3dcb2e9061fcf05e14b
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Sep 3 13:04:21 2018 +0100

    build: Drop AC_C_CONST from configure.ac
    
    Any compiler we care about now supports the `const` keyword, so we no
    longer need to check for it. autoconf has recommended this macro is
    obsolete:
    
    
https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html#index-AC_005fC_005fCONST-755
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://gitlab.gnome.org/GNOME/glib/issues/1313

 configure.ac | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cf66fc1f8..38564e790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,8 +533,6 @@ AS_IF([test x$ac_cv_sizeof_long_long = x8], [
        ], [AC_MSG_RESULT(none)])
 ])
 
-AC_C_CONST
-
 dnl
 dnl check in which direction the stack grows
 dnl


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