[libxml2] autotools: Try to fix bug with multiline arguments
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] autotools: Try to fix bug with multiline arguments
- Date: Mon, 5 Sep 2022 13:37:46 +0000 (UTC)
commit adcf399beb661bec9140e7150cf34c2def8b9fe1
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Sep 5 15:36:13 2022 +0200
autotools: Try to fix bug with multiline arguments
Only happens with older autoconf?
configure.ac | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 410c22df..c6328e3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,15 +286,14 @@ fi
dnl
dnl Checks for header files.
dnl
-AC_CHECK_HEADERS([
- stdint.h inttypes.h
- fcntl.h unistd.h sys/stat.h
- sys/mman.h
- sys/socket.h netinet/in.h arpa/inet.h netdb.h
- sys/select.h poll.h
- sys/time.h sys/timeb.h
- dl.h dlfcn.h
- glob.h])
+AC_CHECK_HEADERS([stdint.h inttypes.h
+ fcntl.h unistd.h sys/stat.h
+ sys/mman.h
+ sys/socket.h netinet/in.h arpa/inet.h netdb.h
+ sys/select.h poll.h
+ sys/time.h sys/timeb.h
+ dl.h dlfcn.h
+ glob.h])
AM_CONDITIONAL(WITH_GLOB, test "$ac_cv_header_glob_h" = "yes")
dnl
@@ -308,13 +307,7 @@ dnl
AC_CHECK_FUNCS(snprintf vsnprintf,, NEED_TRIO=1)
dnl Checks for library functions.
-AC_CHECK_FUNCS([
- gettimeofday ftime
- stat
- rand_r
- isascii
- mmap munmap
- putenv])
+AC_CHECK_FUNCS([gettimeofday ftime stat rand_r isascii mmap munmap putenv])
AH_VERBATIM([HAVE_MUNMAP_AFTER],[/* mmap() is no good without munmap() */
#if defined(HAVE_MMAP) && !defined(HAVE_MUNMAP)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]