diff options
author | sabetts <sabetts> | 2004-03-02 03:56:35 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-03-02 03:56:35 +0000 |
commit | 54df55b2f7822f9e79d131fe158e43e286b720ec (patch) | |
tree | f5626856518aee7ea7d32df206c06af620c79e51 | |
parent | 1993ca87b91845172cade32b77423c925aa150f1 (diff) | |
download | ratpoison-54df55b2f7822f9e79d131fe158e43e286b720ec.zip |
fix check for Xinerama.h
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2004-03-01 Shawn Betts <sabetts@vcn.bc.ca> + + * configure.in: fix check for Xinerama.h + 2004-02-27 Shawn Betts <sabetts@vcn.bc.ca> * src/screen.c (screen_free_nums): new function. prototype added diff --git a/configure.in b/configure.in index 2ec5025..b1427e0 100644 --- a/configure.in +++ b/configure.in @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA dnl -dnl $Id: configure.in,v 1.40 2004/02/27 08:28:16 sabetts Exp $ +dnl $Id: configure.in,v 1.41 2004/03/02 03:56:35 sabetts Exp $ AC_INIT(src/main.c) AM_INIT_AUTOMAKE(ratpoison, 1.3.0-cvs) @@ -87,7 +87,9 @@ CFLAGS="$CFLAGS $X_CFLAGS" AC_CHECK_LIB(X11, XOpenDisplay,, AC_MSG_ERROR([*** Can't find libX11])) -AC_CHECK_HEADERS([X11/extensions/Xinerama.h]) +AC_CHECK_HEADERS([X11/extensions/Xinerama.h], [], [], [ +#include <X11/Xlib.h> +]) AC_CHECK_LIB(Xext, XMissingExtension, [LIBS="-lXext $LIBS"],, $CFLAGS $LDFLAGS) AC_CHECK_LIB(Xinerama, XineramaQueryScreens, [LIBS="-lXinerama $LIBS"],, $CFLAGS $LDFLAGS) |