Skip to content
Snippets Groups Projects
Commit 2582cf10 authored by Dave Reisner's avatar Dave Reisner Committed by Tatsuhiro Tsujikawa
Browse files

build: Only build examples if nghttp3 is present

parent 90466b2c
Branches
No related merge requests found
......@@ -20,7 +20,11 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SUBDIRS = lib tests third-party examples
SUBDIRS = lib tests
if HAVE_NGHTTP3
SUBDIRS += third-party examples
endif
ACLOCAL_AMFLAGS = -I m4
......
......@@ -139,6 +139,7 @@ PKG_CHECK_MODULES([LIBNGHTTP3], [libnghttp3 >= 0.0.0],
if test "${have_libnghttp3}" = "xno"; then
AC_MSG_NOTICE($LIBNGHTTP3_PKG_ERRORS)
fi
AM_CONDITIONAL([HAVE_NGHTTP3], [ test "x${have_libnghttp3}" = "xyes" ])
# libev (for examples)
# libev does not have pkg-config file. Check it in an old way.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment