blob: 7c5f61a55507ac6daf4985e72c80b605b6d26b8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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
)
|