File: acinclude.m4

package info (click to toggle)
libfsntfs 20160418-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,456 kB
  • ctags: 5,958
  • sloc: ansic: 199,642; sh: 12,713; makefile: 1,401; python: 708; sed: 134
file content (21 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dnl Function to detect if libfsntfs dependencies are available
AC_DEFUN([AX_LIBFSNTFS_CHECK_LOCAL],
 [dnl Headers included in libregf/libregf_file.h, libregf/libregf_key.h
 dnl libregf/libregf_key_item_values.h and libregf/libregf_value_item_values.h
 AC_CHECK_HEADERS([wctype.h])

 dnl Functions used in libregf/libregf_file.h, libregf/libregf_key.h
 dnl libregf/libregf_key_item_values.h and libregf/libregf_value_item_values.h
 AC_CHECK_FUNCS([towupper])

 AS_IF(
  [test "x$ac_cv_func_towupper" != xyes],
  [AC_MSG_FAILURE(
   [Missing function: towupper],
   [1])
  ])

 dnl Check for internationalization functions in libfsntfs/libfsntfs_i18n.c 
 AC_CHECK_FUNCS([bindtextdomain])
 ])