diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:56:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:56:01 +0000 |
commit | 502c540485a1626fce474639d572904a4e3c55fe (patch) | |
tree | c8bb1ed8bda9ce49697a30eaab650191e9462e2a /configure.ac | |
parent | Adding debian version 1.21.4-1. (diff) | |
download | wget-502c540485a1626fce474639d572904a4e3c55fe.tar.xz wget-502c540485a1626fce474639d572904a4e3c55fe.zip |
Merging upstream version 1.24.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index aff89c1..5ef12fe 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Template file for GNU Autoconf -dnl Copyright (C) 1995-1997, 2001, 2007-2014, 2018-2023 Free Software +dnl Copyright (C) 1995-1997, 2001, 2007-2014, 2018-2024 Free Software dnl Foundation, Inc. dnl This program is free software; you can redistribute it and/or modify @@ -952,6 +952,21 @@ AS_IF([test x"$with_metalink" != xno], [ ]) dnl +dnl libproxy support +dnl +with_libproxy=no +AC_ARG_ENABLE(libproxy, + [ --enable-libproxy libproxy support for system wide proxy configuration]) +AS_IF([test "${enable_libproxy}" = "yes"], [ + with_libproxy=yes + PKG_CHECK_MODULES([LIBPROXY], [libproxy-1.0], [ + LIBS="$LIBPROXY_LIBS $LIBS" + CFLAGS="$LIBPROXY_CFLAGS $CFLAGS" + AC_DEFINE([HAVE_LIBPROXY], [1], [Define if using libproxy.]) + ]) +]) + +dnl dnl Extended Attribute support dnl @@ -1022,4 +1037,5 @@ AC_MSG_NOTICE([Summary of build options: GPGME: $have_gpg IRI: $iri Fuzzing build: $enable_fuzzing, $LIB_FUZZING_ENGINE + libproxy: $with_libproxy ]) |