*** ./libvncserver/Makefile.in.ORIG Thu Sep 24 09:30:44 2009 --- ./libvncserver/Makefile.in Thu Sep 24 09:30:54 2009 *************** *** 248,254 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -g -Wall -I $(top_srcdir) @WITH_TIGHTVNC_FILETRANSFER_TRUE@TIGHTVNCFILETRANSFERHDRS = tightvnc-filetransfer/filelistinfo.h \ @WITH_TIGHTVNC_FILETRANSFER_TRUE@ tightvnc-filetransfer/filetransfermsg.h \ @WITH_TIGHTVNC_FILETRANSFER_TRUE@ tightvnc-filetransfer/handlefiletransferrequest.h \ --- 248,254 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -O -I $(top_srcdir) @WITH_TIGHTVNC_FILETRANSFER_TRUE@TIGHTVNCFILETRANSFERHDRS = tightvnc-filetransfer/filelistinfo.h \ @WITH_TIGHTVNC_FILETRANSFER_TRUE@ tightvnc-filetransfer/filetransfermsg.h \ @WITH_TIGHTVNC_FILETRANSFER_TRUE@ tightvnc-filetransfer/handlefiletransferrequest.h \ *** ./libvncserver/minilzo.c.ORIG Thu Sep 24 09:41:46 2009 --- ./libvncserver/minilzo.c Thu Sep 24 09:45:35 2009 *************** *** 1170,1176 **** --- 1170,1178 ---- } u; COMPILE_TIME_ASSERT( (int) ((unsigned char) ((signed char) -1)) == 255); + #ifndef _AIX COMPILE_TIME_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0); + #endif #if 0 r &= __lzo_assert((const void *)&u == (const void *)&u.a); *** ./libvncserver/zywrletemplate.c.ORIG Thu Sep 24 09:46:07 2009 --- ./libvncserver/zywrletemplate.c Thu Sep 24 09:47:08 2009 *************** *** 140,146 **** #ifndef ZYWRLE_ONCE #define ZYWRLE_ONCE ! #ifdef WIN32 #define InlineX __inline #else #define InlineX inline --- 140,146 ---- #ifndef ZYWRLE_ONCE #define ZYWRLE_ONCE ! #if defined(WIN32) || defined(_AIX) #define InlineX __inline #else #define InlineX inline *** ./examples/Makefile.in.ORIG Thu Sep 24 09:30:58 2009 --- ./examples/Makefile.in Thu Sep 24 09:31:05 2009 *************** *** 288,294 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -g -Wall LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@ @OSX_TRUE@MAC = mac @OSX_TRUE@mac_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit --- 288,294 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -O LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@ @OSX_TRUE@MAC = mac @OSX_TRUE@mac_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit *** ./libvncclient/Makefile.in.ORIG Thu Sep 24 09:31:11 2009 --- ./libvncclient/Makefile.in Thu Sep 24 09:31:20 2009 *************** *** 221,227 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -g -I $(top_srcdir) -I. -Wall libvncclient_la_SOURCES = cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c noinst_HEADERS = lzoconf.h minilzo.h EXTRA_DIST = corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c --- 221,227 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -O -I $(top_srcdir) -I. libvncclient_la_SOURCES = cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c noinst_HEADERS = lzoconf.h minilzo.h EXTRA_DIST = corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c *** ./libvncclient/minilzo.c.ORIG Thu Sep 24 09:58:28 2009 --- ./libvncclient/minilzo.c Thu Sep 24 09:58:42 2009 *************** *** 1170,1176 **** --- 1170,1178 ---- } u; COMPILE_TIME_ASSERT( (int) ((unsigned char) ((signed char) -1)) == 255); + #ifndef _AIX COMPILE_TIME_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0); + #endif #if 0 r &= __lzo_assert((const void *)&u == (const void *)&u.a); *** ./client_examples/Makefile.in.ORIG Thu Sep 24 09:31:36 2009 --- ./client_examples/Makefile.in Thu Sep 24 09:31:46 2009 *************** *** 230,236 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -g -Wall LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@ @WITH_FFMPEG_TRUE@FFMPEG_HOME = @with_ffmpeg@ @HAVE_MP3LAME_TRUE@@WITH_FFMPEG_TRUE@MP3LAME_LIB = -lmp3lame --- 230,236 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -O LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@ @WITH_FFMPEG_TRUE@FFMPEG_HOME = @with_ffmpeg@ @HAVE_MP3LAME_TRUE@@WITH_FFMPEG_TRUE@MP3LAME_LIB = -lmp3lame *** ./test/Makefile.in.ORIG Thu Sep 24 09:31:51 2009 --- ./test/Makefile.in Thu Sep 24 09:31:58 2009 *************** *** 237,243 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -g -Wall LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@ @HAVE_LIBPTHREAD_TRUE@BACKGROUND_TEST = blooptest @HAVE_LIBPTHREAD_TRUE@ENCODINGS_TEST = encodingstest --- 237,243 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ with_ffmpeg = @with_ffmpeg@ ! AM_CFLAGS = -I $(top_srcdir) -O LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@ @HAVE_LIBPTHREAD_TRUE@BACKGROUND_TEST = blooptest @HAVE_LIBPTHREAD_TRUE@ENCODINGS_TEST = encodingstest *** ./Makefile.in.ORIG Wed Sep 23 22:02:31 2009 --- ./Makefile.in Wed Sep 23 22:02:51 2009 *************** *** 99,105 **** AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ ! CFLAGS = -g -Wall CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CRYPT_LIBS = @CRYPT_LIBS@ --- 99,105 ---- AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ ! CFLAGS = -O CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CRYPT_LIBS = @CRYPT_LIBS@