diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,6 @@ | |||
1 | Mon 13 May 2019 07:42:19 AM CEST | ||
2 | Consistently use AS_IF and AS_CASE in configure.ac. -CG | ||
3 | |||
1 | Sun 12 May 2019 01:56:56 PM CEST | 4 | Sun 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, | |||
233 | HIDDEN_VISIBILITY_CFLAGS="" | 233 | HIDDEN_VISIBILITY_CFLAGS="" |
234 | AS_CASE(["$host"], | 234 | AS_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) | |||
479 | AC_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]) | 479 | AC_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 | ||
482 | dnl This is kind of tedious, but simple and straightforward | 482 | # is kind of tedious, but simple and straightforward |
483 | sockets=no | 483 | sockets=no |
484 | AC_MSG_CHECKING(for sockets) | 484 | AC_MSG_CHECKING(for sockets) |
485 | AC_LANG_PUSH(C) | 485 | AC_LANG_PUSH(C) |