all repos — fluxbox @ c37b8ec735c0f9f4782e354fec1be2f8ab053509

custom fork of the fluxbox windowmanager

fixed check for iconv, rearranged some stuff
fluxgen fluxgen
commit

c37b8ec735c0f9f4782e354fec1be2f8ab053509

parent

d7a73c6f31c5e7e9c59e3f5a95a130249bd528ad

1 files changed, 23 insertions(+), 5 deletions(-)

jump to
M configure.inconfigure.in

@@ -63,6 +63,20 @@ AC_MSG_RESULT(yes)

], [AC_MSG_RESULT(no)]) +AC_MSG_CHECKING([iconv]) +AC_TRY_COMPILE( +[#include <iconv.h>], +[iconv_t cd = iconv_open("", "")], +HAVE_ICONV=yes, +HAVE_ICONV=no) + +if test x"$HAVE_ICONV" = x"yes"; then + AC_DEFINE(HAVE_ICONV, 1, "iconv") + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi + AC_CHECK_LIB(nsl, t_open, LIBS="$LIBS -lnsl") AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")

@@ -87,6 +101,13 @@ AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.])

) LIBS="$LIBS $X_EXTRA_LIBS" + +AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") + +AC_CHECK_PROGS(gencat_cmd, gencat) +if test x$gencat_cmd = "x"; then + NLS="" +fi Xext_lib=""

@@ -257,12 +278,9 @@ AC_MSG_RESULT([no])

) AC_SUBST(NLS) -AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") -AC_CHECK_PROGS(gencat_cmd, gencat) -if test x$gencat_cmd = "x"; then - NLS="" -fi + + dnl Check for new timed pixmap cache