22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
diff -up afflib-3.3.4/configure.ac.WCtype afflib-3.3.4/configure.ac
|
|
--- afflib-3.3.4/configure.ac.WCtype 2008-09-29 21:45:05.000000000 +0200
|
|
+++ afflib-3.3.4/configure.ac 2009-03-02 11:58:36.000000000 +0100
|
|
@@ -101,6 +101,18 @@ AC_LANG_POP([C++])
|
|
|
|
|
|
|
|
+AS_IF([test "x$ac_afflib_enable_wide_character_type" != xno ],
|
|
+ [AC_DEFINE([HAVE_WIDE_CHARACTER_TYPE],[1],[Defines if wide character type should be used])
|
|
+ AC_CHECK_FUNCS([btowc fgetws mbsinit mbsrtowcs swprintf wmain wmemchr wmemcmp wmemcpy wmemrchr wctob wcschr wcscmp wcscpy wcsdup wcslen wcsncmp wcsncpy wcsrchr wcsrtombs wcstol wcstoul])
|
|
+ AC_CHECK_HEADERS([wchar.h],
|
|
+ [AC_DEFINE([HAVE_WCHAR_H],[1],[Define to 1 if you have the <wchar.h> header file.])
|
|
+ AC_SUBST([HAVE_WCHAR_H],[1])],
|
|
+ [AC_SUBST([HAVE_WCHAR_H],[0])])
|
|
+
|
|
+ AC_SUBST([HAVE_WIDE_CHARACTER_TYPE],[1])],
|
|
+ [AC_SUBST([HAVE_WIDE_CHARACTER_TYPE],[0])
|
|
+ AC_SUBST([HAVE_WCHAR_H],[0])])
|
|
+
|
|
################################################################
|
|
## LIBEWF support
|
|
dnl Function to test if a libewf_get_media_size takes value as an argument
|