diff options
author | Gaƫl Bonithon <gael@xfce.org> | 2021-02-02 15:45:43 +0100 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2021-11-10 21:26:56 +0000 |
commit | bf8ea8e2a3482d46ad7864f390fd654379c4749e (patch) | |
tree | 43e08ebc9b5ca6a796f975e719971d2a6f5f36a7 /configure.ac | |
parent | c0ce015d0227289d13749945467edb4ec0009231 (diff) | |
download | tumbler-bf8ea8e2a3482d46ad7864f390fd654379c4749e.tar.gz |
autoconf: Some updates
* AC_HELP_STRING -> AS_HELP_STRING
* AC_AIX, AC_MINIX -> AC_USE_SYSTEM_EXTENSIONS
* AC_ISC_POSIX -> AC_SEARCH_LIBS([strerror],[cposix])
* Remove AC_HEADER_STDC
* AC_OUTPUT -> AC_CONFIG_FILES + AC_OUTPUT
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 34195b9..fc5cff6 100644 --- a/configure.ac +++ b/configure.ac @@ -70,9 +70,8 @@ AC_SUBST([TUMBLER_VERSION_API]) dnl ******************************* dnl *** Check for UNIX variants *** dnl ******************************* -AC_AIX() -AC_ISC_POSIX() -AC_MINIX() +AC_USE_SYSTEM_EXTENSIONS +AC_SEARCH_LIBS([strerror],[cposix]) dnl ******************************** dnl *** Check for Win32 variants *** @@ -107,7 +106,6 @@ LT_INIT([disable-static]) dnl *************************************** dnl *** Check for standard header files *** dnl *************************************** -AC_HEADER_STDC() AC_CHECK_HEADERS([fcntl.h linux/sched.h memory.h sched.h setjmp.h stdio.h \ stdlib.h string.h syscall.h sys/mman.h sys/types.h \ sys/stat.h unistd.h sys/select.h pwd.h]) @@ -182,7 +180,7 @@ dnl ************************************* XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare]) AC_SUBST([GTK_DOC_EXTRA_CFLAGS]) -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile docs/Makefile docs/reference/Makefile @@ -208,8 +206,8 @@ tumbler/Makefile tumbler/tumbler-1.pc tumbler/tumbler-config.h tumblerd/Makefile - ]) +AC_OUTPUT dnl *************************** dnl *** Print configuration *** |