opt out overriding the libdir, in most cases downstream distribution is
providing the correct one

Signed-off-by: Alon Bar-Lev <[email protected]>
---
 configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 379c021c..fb0b3c8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -339,7 +339,11 @@ case "$host_cpu" in
     ;;
 esac
 
-if test "x$ABI" != xstandard ; then
+AC_ARG_ENABLE(libdir-abi-detection,
+  AC_HELP_STRING([--disable-libdir-abi-detection], [Disable libdir ABI 
detection]),,
+  [enable_libdir_abi_detection=yes])
+
+if test "x$ABI" != xstandard -a "x${enable_libdir_abi_detection}" = "yes" ; 
then
   AC_MSG_NOTICE([Compiler uses $ABI-bit ABI. To change, set CC.])
   if test "$libdir" = '${exec_prefix}/lib' ; then
     # Try setting a better default
-- 
2.21.0

_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to