Changeset b4eef18 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Sep 28, 2018, 4:08:00 PM (2 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, debian/master, master, proxy-ticket
Children:
7105869
Parents:
1754503
Message:

Add --with-gnutls-dev=DIR option to ./configure

Makes testing against GnuTLS from git a little more convenient.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r1754503 rb4eef18  
    3030    AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
    3131)
     32
     33dnl Maybe use the binaries for tests, too?
     34AC_ARG_WITH([gnutls-dev],
     35        AS_HELP_STRING([--with-gnutls-dev=DIR],
     36                [Use GnuTLS libraries from a development (git) tree. Use \
     37                this if you want to test mod_gnutls with the latest \
     38                GnuTLS code.]),
     39        [
     40                AS_IF([test -d "${with_gnutls_dev}" ],
     41                [
     42                        LIBGNUTLS_CFLAGS="-I${with_gnutls_dev}/lib/includes"
     43                        LIBGNUTLS_LIBS="-lgnutls -L${with_gnutls_dev}/lib/.libs -R${with_gnutls_dev}/lib/.libs"
     44                ],
     45                [AC_MSG_ERROR([--with-gnutls-dev=DIR requires a directory!])])
     46        ], [])
    3247
    3348PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 3.3.0])
Note: See TracChangeset for help on using the changeset viewer.