File: tests.m4

package info (click to toggle)
libfvde 20160918-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,980 kB
  • ctags: 5,716
  • sloc: ansic: 186,806; sh: 12,780; makefile: 1,332; yacc: 337; lex: 236; python: 223; sed: 16
file content (23 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dnl Functions for testing
dnl
dnl Version: 20160821

dnl Function to detect if tests dependencies are available
AC_DEFUN([AX_TESTS_CHECK_LOCAL],
 [AC_CHECK_HEADERS([dlfcn.h])

 AC_CHECK_FUNCS([fmemopen])

 AC_CHECK_LIB(
  dl,
  dlsym)

  AS_IF(
   [test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes],
   [AC_DEFINE(
    [HAVE_GNU_DL_DLSYM],
    [1],
    [Define to 1 if dlsym funtion is available in GNU dl.])
   ])
 ])