1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-18 23:45:47 +01:00

Started to move towards using xft2 only, for a unified font/locale handling

in WINGs
This commit is contained in:
dan
2003-08-07 00:26:21 +00:00
parent 0852957ea1
commit 74ba4f8eef
11 changed files with 48 additions and 387 deletions

View File

@@ -100,7 +100,9 @@ dnl not used anywhere
dnl AC_FUNC_MEMCMP
AC_FUNC_VPRINTF
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(gethostname select poll strerror strcasecmp strncasecmp setsid atexit mallinfo mkstemp snprintf vsnprintf asprintf vasprintf)
AC_CHECK_FUNCS(gethostname select poll strerror strcasecmp strncasecmp \
setsid atexit mallinfo mkstemp snprintf vsnprintf asprintf \
vasprintf mbsnrtowcs mbsrtowcs)
dnl ripped from samba
@@ -177,7 +179,9 @@ dnl Checks for header files.
dnl =======================
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h libintl.h sys/select.h poll.h malloc.h ctype.h string.h strings.h)
AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h \
libintl.h sys/select.h poll.h malloc.h ctype.h string.h \
strings.h wchar.h)
@@ -533,10 +537,6 @@ if test "$xft" = yes; then
XFTFLAGS=`$XFTCONFIG --cflags`
AC_MSG_CHECKING([for the Xft2 library])
AC_MSG_RESULT([found])
AC_DEFINE(XFT2, 1, [define if you have Xft version 2 (set by configure)])
else
AC_CHECK_LIB(Xft, XftDrawCreate, [XFTLIBS="-lXft" XFTFLAGS=""],
xft=no, $XLFLAGS $XLIBS)
fi
if test "$xft" = yes; then
AC_SUBST(XFTFLAGS)