X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=3c5583582f12c6efa2dd446f187edaf09d6ed5fd;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hp=4c4dee50460d4f9bb3e6c5b5256f05c3b7b4da73;hpb=88cfe534a698a0562e81345957a50714af1453bc;p=xscreensaver diff --git a/configure.in b/configure.in index 4c4dee50..3c558358 100644 --- a/configure.in +++ b/configure.in @@ -330,7 +330,7 @@ AH_TEMPLATE([HAVE_RECORD_ANIM], # check for some random other files that come later in the tar file, # to make sure everything is here. # -for d in driver utils hacks hacks/glx ; do +for d in utils jwxyz hacks hacks/glx driver ; do f=$srcdir/$d/Makefile.in if test \! -r $f ; then echo "" @@ -1048,6 +1048,17 @@ AC_DEFUN([AC_CHECK_GETIFADDRS], AC_DEFINE(HAVE_GETIFADDRS) fi]) +AC_DEFUN([AC_TYPE_SOCKLEN_T], + [AC_CACHE_CHECK([for socklen_t], ac_cv_type_socklen_t, + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include ]], [[ + socklen_t socklen; + ]])],[ac_cv_type_socklen_t=yes],[ac_cv_type_socklen_t=no])]) + if test "$ac_cv_type_socklen_t" != yes; then + AC_DEFINE(socklen_t, int, + [Define to `int' if or does not define.]) + fi]) ############################################################################### # @@ -1254,6 +1265,7 @@ AC_CHECK_MEMBERS([struct sockaddr.sa_len],,, [[#include ]]) AC_CHECK_ICMP AC_CHECK_ICMPHDR AC_CHECK_GETIFADDRS +AC_TYPE_SOCKLEN_T AC_CHECK_HEADERS(crypt.h sys/select.h) AC_PROG_PERL @@ -3230,7 +3242,7 @@ HANDLE_X_PATH_ARG(with_gles, --with-gles, JWZGLES) if test "$with_gles" = yes; then have_gles=yes AC_DEFINE(HAVE_JWZGLES) - JWZGLES_OBJS="jwzgles.o" + JWZGLES_OBJS='$(JWXYZ_BIN)/jwzgles.o' AC_MSG_RESULT(using OpenGL ES compatiblity shim) elif test "$with_gles" != no; then echo "error: must be yes or no: --with-gles=$with_xpm" @@ -3538,7 +3550,7 @@ fi ############################################################################### PTY_LIBS= -AC_CHECK_HEADERS(pty.h util.h) +AC_CHECK_HEADERS(pty.h util.h sys/termios.h) AC_CHECK_X_LIB(util, forkpty, [PTY_LIBS="-lutil" ac_have_forkpty=yes @@ -4157,12 +4169,13 @@ AC_SUBST(PERL) AC_OUTPUT(Makefile utils/Makefile - driver/Makefile - driver/xscreensaver.pam - driver/xscreensaver-demo.glade2 + jwxyz/Makefile hacks/Makefile hacks/glx/Makefile po/Makefile.in + driver/Makefile + driver/xscreensaver.pam + driver/xscreensaver-demo.glade2 driver/XScreenSaver.ad) ###############################################################################