Changeset 412ee84 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Nov 25, 2015, 7:05:35 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
dff57b4
Parents:
a08b25e
Message:

Test suite: Allow the user to disable use of "flock"

Using "flock" causes trouble on some exotic architectures (e.g. Hurd),
so allow disabling it. Running without lock files requires serial
execution of test cases to achieve reliable results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    ra08b25e r412ee84  
    5959AC_MSG_CHECKING([whether to enable SRP functionality])
    6060AC_MSG_RESULT($use_srp)
     61
     62dnl Optionally disable flock
     63AC_ARG_ENABLE(flock,
     64        AS_HELP_STRING([--disable-flock], [Disable use of flock during tests]),
     65        [use_flock=$enableval], [use_flock=yes])
     66dnl If flock is not disabled, make sure it's available
     67if test "$enable_flock" != "no"; then
     68        AC_PATH_PROG([FLOCK], [flock], [no])
     69        use_flock=${FLOCK}
     70fi
     71AM_CONDITIONAL([DISABLE_FLOCK], [test "$enable_flock" = "no"])
    6172
    6273AC_ARG_ENABLE(msva,
Note: See TracChangeset for help on using the changeset viewer.