blob: b3c4e47354d7a4ff56b7eb44bf9fc33f8efcd80c [file] [log] [blame]
Peter Åstrandeaff3bc2008-12-09 10:27:33 +00001dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ([2.61])
3AC_INIT([tightvnc], [1.5.0a1], [http://www.tightvnc.com/bugs.html])
4AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
5
6AC_SUBST([COMMON_DIR], ['$(top_srcdir)/../common'])
7
8AC_CONFIG_SUBDIRS([../common])
9
10dnl Checks for programs.
11AC_PROG_CC
12AC_PROG_CXX
13AC_PROG_LIBTOOL
14AC_LANG([C++])
15
16if test "$GCC" = yes; then
17 CFLAGS="$CFLAGS -Wall"
18fi
19if test "$GXX" = yes; then
20 CXXFLAGS="$CXXFLAGS -Wall"
21fi
22
23CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
24
25AC_PATH_XTRA
26
27AC_OUTPUT(Makefile
28 vncviewer/Makefile
29 rfb_win32/Makefile
30)