File: acinclude.m4

package info (click to toggle)
libregf 20160424-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,444 kB
  • ctags: 5,786
  • sloc: ansic: 201,144; sh: 12,915; makefile: 1,505; python: 497; sed: 134
file content (21 lines) | stat: -rw-r--r-- 683 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 libregf dependencies are available
AC_DEFUN([AX_LIBREGF_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 libregf/libregf_i18n.c 
 AC_CHECK_FUNCS([bindtextdomain])
 ])