dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.57]) AC_INIT([tigervnc], [1.0.1], [http://www.tigervnc.org]) AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) AC_SUBST([COMMON_DIR], ['$(top_srcdir)/../common']) AC_CONFIG_SUBDIRS([../common]) dnl Checks for programs. AC_PROG_CC AC_PROG_CXX AC_PROG_LIBTOOL AC_CHECK_TOOL([WINDRES], windres, [AC_MSG_ERROR(windres not found)]) AC_LANG([C++]) if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall" fi if test "$GXX" = yes; then CXXFLAGS="$CXXFLAGS -Wall" fi CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500" CXXFLAGS="$CXXFLAGS -mthreads" AC_PATH_XTRA AC_OUTPUT(Makefile vncviewer/Makefile rfb_win32/Makefile )