mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtstyle: make it build
This commit is contained in:
parent
af20bc2b57
commit
1b8ef6a6c1
3 changed files with 38 additions and 29 deletions
|
@ -270,12 +270,14 @@ AC_SUBST(TIRPCINC)
|
|||
AC_SUBST(TIRPCLIB)
|
||||
AC_CHECK_LIB(Xinerama, XineramaQueryScreens, ,[AC_MSG_ERROR([libXinerama not found])])
|
||||
|
||||
dnl Setup XTOOLLIB
|
||||
XTOOLLIB=""
|
||||
dnl Setup XTOOLLIB - we do it in this specific order to avoid ordering
|
||||
dnl issues
|
||||
XTOOLLIB="$X_LIBS"
|
||||
AC_CHECK_LIB(X11, XOpenDisplay, [XTOOLLIB="-lX11"])
|
||||
AC_CHECK_LIB(Xt, XtInitialize, [XTOOLLIB="-lXt ${XTOOLLIB}"])
|
||||
AC_CHECK_LIB(ICE, IceCloseConnection, [XTOOLLIB="-lICE ${XTOOLLIB}"])
|
||||
AC_CHECK_LIB(SM, SmcOpenConnection, [XTOOLLIB="-lSM ${XTOOLLIB}"])
|
||||
AC_CHECK_LIB(Xm, XmTextSetString, [XTOOLLIB="-lXm ${XTOOLLIB}"])
|
||||
AC_SUBST([XTOOLLIB])
|
||||
|
||||
dnl Add -DUSE_XINERAMA to SOURCE_CPP_DEFINES for now. Eventually this
|
||||
|
@ -390,6 +392,8 @@ programs/dtsession/Makefile
|
|||
|
||||
programs/dthello/Makefile
|
||||
|
||||
programs/dtstyle/Makefile
|
||||
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue