These days linking with XShape extension must be done explicitly.

This commit is contained in:
Sanel Zukan 2013-05-30 12:31:25 +00:00
parent 70e9a9b0b6
commit 9d1f4699de
2 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,9 @@ X_EXTRA_LIBS ?= @X_EXTRA_LIBS@ ;
# solo XKB extension library # solo XKB extension library
XKB_LIBS ?= @XKB_LIBS@ ; XKB_LIBS ?= @XKB_LIBS@ ;
# shape extension
XSHAPE_LIBS ?= @XSHAPE_LIBS@ ;
# curl libraries # curl libraries
CURL_CFLAGS ?= @CURL_CFLAGS@ ; CURL_CFLAGS ?= @CURL_CFLAGS@ ;
CURL_LIBS ?= @CURL_LIBS@ ; CURL_LIBS ?= @CURL_LIBS@ ;

View File

@ -89,6 +89,7 @@ if test "$enable_shape" = "yes"; then
if test "$have_xshape" = "yes"; then if test "$have_xshape" = "yes"; then
AC_DEFINE(HAVE_SHAPE, 1, [Define to 1 if you have XShape extension]) AC_DEFINE(HAVE_SHAPE, 1, [Define to 1 if you have XShape extension])
XSHAPE_LIBS="-lXext"
fi fi
fi fi
@ -300,6 +301,7 @@ AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LIBS) AC_SUBST(CURL_LIBS)
AC_SUBST(LARGEFILE) AC_SUBST(LARGEFILE)
AC_SUBST(XKB_LIBS) AC_SUBST(XKB_LIBS)
AC_SUBST(XSHAPE_LIBS)
AC_SUBST(my_sysconfdir) AC_SUBST(my_sysconfdir)
AC_SUBST(KSTAT_LIBS) AC_SUBST(KSTAT_LIBS)
AC_SUBST(PEKWM_CXXFLAGS) AC_SUBST(PEKWM_CXXFLAGS)