summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ef336b6e7..8817e3902 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,7 +326,7 @@ AC_ARG_WITH([external-libxdg-basedir],
if test "x$with_external_libxdg_basedir" = "xyes"; then
AC_CHECK_HEADER([basedir.h], , [AC_MSG_ERROR([Unable to find basedir.h for libxdg-basedir])])
- AC_CHECK_LIB([xdg-basedir], , [AC_MSG_ERROR([Unable to find libxdg-basedir])])
+ AC_CHECK_LIB([xdg-basedir], [xdgCacheHome], , [AC_MSG_ERROR([Unable to find libxdg-basedir])])
XDG_BASEDIR_CFLAGS=''
XDG_BASEDIR_LIBS='-lxdg-basedir'