Mercurial > pidgin.yaz
changeset 10608:adf7adc7da76
[gaim-migrate @ 12045]
This should allow configure to detect X screensaver extension and X session
management support for people who have the headers installed in standard
places.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 17 Feb 2005 17:37:59 +0000 |
parents | bf4c9ce533ab |
children | 6239870efd8e |
files | configure.ac |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Thu Feb 17 03:31:06 2005 +0000 +++ b/configure.ac Thu Feb 17 17:37:59 2005 +0000 @@ -351,7 +351,7 @@ AC_CHECK_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext $X_LIBS $X_EXTRA_LIBS -lXss"],[],[-lX11 -lXext -lm]) if test \! "$XSS_LIBS" = "no"; then oldCPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -I$x_includes" + CPPFLAGS="$CPPFLAGS $x_incpath_add" AC_TRY_COMPILE([ #include <X11/Xlib.h> #include <X11/extensions/scrnsaver.h> @@ -379,7 +379,7 @@ AC_CHECK_LIB(SM, SmcSaveYourselfDone, found_sm_lib=true, , [$x_libpath_add -lICE]) if test "$found_sm_lib" = "true"; then oldCPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -I$x_includes" + CPPFLAGS="$CPPFLAGS $x_incpath_add" AC_CHECK_HEADERS(X11/SM/SMlib.h, SM_LIBS="$x_libpath_add -lSM -lICE" enable_sm=yes) CPPFLAGS="$oldCPPFLAGS" fi