aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac8
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d81a48..80a5ca1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Mon 13 May 2019 07:42:19 AM CEST
2 Consistently use AS_IF and AS_CASE in configure.ac. -CG
3
1Sun 12 May 2019 01:56:56 PM CEST 4Sun 12 May 2019 01:56:56 PM CEST
2 Updated French translation. -CG 5 Updated French translation. -CG
3 6
diff --git a/configure.ac b/configure.ac
index 0aeaf4d..fb1058e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
1# Process this file with autoconf to produce a configure script. 1# Process this file with autoconf to produce a configure script.
2# 2#
3# This file is part of GNU libextractor 3# This file is part of GNU libextractor
4# Copyright (C) 2003-2018 Christian Grothoff 4# Copyright (C) 2003-2019 Christian Grothoff
5# 5#
6# GNU libextractor is free software; you can redistribute it and/or modify it under the 6# GNU libextractor is free software; you can redistribute it and/or modify it under the
7# terms of the GNU General Public License as published by the Free Software 7# terms of the GNU General Public License as published by the Free Software
@@ -233,12 +233,12 @@ AC_ARG_ENABLE(linker-hardening,
233HIDDEN_VISIBILITY_CFLAGS="" 233HIDDEN_VISIBILITY_CFLAGS=""
234AS_CASE(["$host"], 234AS_CASE(["$host"],
235 [*-*-mingw*],[ 235 [*-*-mingw*],[
236 dnl on mingw32 we do -fvisibility=hidden and __declspec(dllexport) 236 # mingw32 we do -fvisibility=hidden and __declspec(dllexport)
237 AC_DEFINE([_EXTRACTOR_EXTERN], [__attribute__((visibility("default"))) __declspec(dllexport) extern], 237 AC_DEFINE([_EXTRACTOR_EXTERN], [__attribute__((visibility("default"))) __declspec(dllexport) extern],
238 [defines how to decorate public symbols while building]) 238 [defines how to decorate public symbols while building])
239 HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden" 239 HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden"
240 ],[ 240 ],[
241 dnl on other compilers, check if we can do -fvisibility=hidden 241 # other compilers, check if we can do -fvisibility=hidden
242 AX_CHECK_LINK_FLAG([-fvisibility=hidden], 242 AX_CHECK_LINK_FLAG([-fvisibility=hidden],
243 [AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], 243 [AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
244 [AC_DEFINE([_EXTRACTOR_EXTERN], [__attribute__((visibility("default"))) extern], 244 [AC_DEFINE([_EXTRACTOR_EXTERN], [__attribute__((visibility("default"))) extern],
@@ -479,7 +479,7 @@ AC_SEARCH_LIBS(shm_open, rt)
479AC_CHECK_FUNCS([mkstemp strndup munmap strcasecmp strdup strncasecmp memmove memset strtoul floor getcwd pow setenv sqrt strchr strcspn strrchr strnlen strndup ftruncate shm_open shm_unlink lseek64]) 479AC_CHECK_FUNCS([mkstemp strndup munmap strcasecmp strdup strncasecmp memmove memset strtoul floor getcwd pow setenv sqrt strchr strcspn strrchr strnlen strndup ftruncate shm_open shm_unlink lseek64])
480 480
481 481
482dnl This is kind of tedious, but simple and straightforward 482# is kind of tedious, but simple and straightforward
483sockets=no 483sockets=no
484AC_MSG_CHECKING(for sockets) 484AC_MSG_CHECKING(for sockets)
485AC_LANG_PUSH(C) 485AC_LANG_PUSH(C)