*** empty log message ***
This commit is contained in:
parent
a1b00334b1
commit
ce528d1bda
@ -73,6 +73,9 @@
|
|||||||
/* wchar.h */
|
/* wchar.h */
|
||||||
#undef XP_HAVE_WCHAR_H
|
#undef XP_HAVE_WCHAR_H
|
||||||
|
|
||||||
/* _POSIX_SOURCE */
|
/* char is wchar */
|
||||||
#undef _POSIX_SOURCE
|
#undef XP_CHAR_IS_WCHAR
|
||||||
|
|
||||||
|
/* char is mchar */
|
||||||
|
#undef XP_CHAR_IS_MCHAR
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
AC_PREREQ(2.53)
|
AC_PREREQ(2.53)
|
||||||
AC_INIT([xpkit], [deb-0.1.0])
|
AC_INIT([xpkit], [deb-0.1.0])
|
||||||
AC_REVISION([$Revision: 1.29 $])
|
AC_REVISION([$Revision: 1.30 $])
|
||||||
AC_CONFIG_HEADER([xp/config.h])
|
AC_CONFIG_HEADER([xp/config.h])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
@ -57,8 +57,16 @@ AC_CHECK_SIZEOF(long double)
|
|||||||
#AC_FUNC_REALLOC
|
#AC_FUNC_REALLOC
|
||||||
#AC_CHECK_FUNCS([memset])
|
#AC_CHECK_FUNCS([memset])
|
||||||
|
|
||||||
# Checks for system files
|
AC_ARG_ENABLE(char,
|
||||||
AC_CHECK_FILE([/NextDeveloper],[AC_DEFINE([_POSIX_SOURCE],[],[_POSIX_SOURCE])])
|
[--enable-char choose a default charater type (wchar/mchar)],
|
||||||
|
char_is=$enableval,char_is=wchar)
|
||||||
|
|
||||||
|
if test "$char_is" == "wchar"
|
||||||
|
then
|
||||||
|
AC_DEFINE([XP_CHAR_IS_WCHAR],[],[char is wchar])
|
||||||
|
else
|
||||||
|
AC_DEFINE([XP_CHAR_IS_MCHAR],[],[char is mchar])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile utils/Makefile xp/Makefile
|
Makefile utils/Makefile xp/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user