configure.ac revision 88de56cc
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.60)
5AC_INIT([libX11],
6        1.3.4,
7        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
8        libX11)
9AC_CONFIG_SRCDIR([Makefile.am])
10AC_CONFIG_MACRO_DIR([m4])
11AC_CANONICAL_BUILD
12AC_CANONICAL_HOST
13
14AM_INIT_AUTOMAKE([foreign dist-bzip2])
15AM_MAINTAINER_MODE
16AM_CONFIG_HEADER([src/config.h])
17AC_CONFIG_HEADER([include/X11/XlibConf.h])
18
19# Require xorg-macros: XORG_DEFAULT_OPTIONS
20m4_ifndef([XORG_MACROS_VERSION],
21          [m4_fatal([must install xorg-macros 1.6 or later before running autoconf/autogen])])
22XORG_MACROS_VERSION(1.6)
23
24# Set common system defines for POSIX extensions, such as _GNU_SOURCE
25# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
26# to avoid autoconf errors.
27AC_USE_SYSTEM_EXTENSIONS
28XORG_DEFAULT_OPTIONS
29XORG_ENABLE_SPECS
30XORG_WITH_GROFF
31XORG_WITH_PS2PDF
32
33# Checks for programs.
34AC_PROG_LIBTOOL
35DOLT
36AC_PROG_CC
37PKG_PROG_PKG_CONFIG
38
39if test x"$CC_FOR_BUILD" = x; then
40	if test x"$cross_compiling" = xyes; then
41	       AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
42	else
43	       CC_FOR_BUILD="$CC"
44	fi
45fi
46AC_SUBST([CC_FOR_BUILD])
47
48if test x"$CPPFLAGS_FOR_BUILD" = x; then
49	if test ! x"$cross_compiling" = xyes; then
50		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
51	fi
52fi
53AC_SUBST(CPPFLAGS_FOR_BUILD)
54
55if test x"$CFLAGS_FOR_BUILD" = x; then
56	if test ! x"$cross_compiling" = xyes; then
57		CFLAGS_FOR_BUILD=${CFLAGS}
58	fi
59fi
60AC_SUBST(CFLAGS_FOR_BUILD)
61
62if test x"$LDFLAGS_FOR_BUILD" = x; then
63	if test ! x"$cross_compiling" = xyes; then
64		LDFLAGS_FOR_BUILD=${LDFLAGS}
65	fi
66fi
67AC_SUBST(LDFLAGS_FOR_BUILD)
68
69XORG_PROG_RAWCPP
70
71# Find perl for "make check" tests in nls/localerules.in
72AC_ARG_WITH(perl,
73	AC_HELP_STRING([--with-perl=<path>],
74			[path to perl interpreter for build-time tests]),
75	[PERL=$withval ; AC_MSG_CHECKING([perl]) ;
76	 AC_MSG_RESULT([(from --with-perl) $PERL])],
77	AC_CHECK_PROGS([PERL], [perl], [no]))
78AM_CONDITIONAL(HAVE_PERL, test x$PERL != xno)
79
80# Build with XCB support?
81AC_ARG_WITH(xcb,
82	AC_HELP_STRING([--with-xcb], [use XCB for low-level protocol implementation]),
83	[ac_cv_use_xcb=$withval], [ac_cv_use_xcb=yes])
84AC_CACHE_CHECK([whether to use XCB], [ac_cv_use_xcb], [ac_cv_use_xcb=yes])
85AM_CONDITIONAL(XCB, test x$ac_cv_use_xcb != xno)
86
87# Checks for pkg-config packages
88
89# Always required
90X11_REQUIRES='xproto >= 7.0.13 xextproto xtrans'
91
92PKG_PROG_PKG_CONFIG()
93
94case "$ac_cv_use_xcb" in
95no)
96	X11_REQUIRES="${X11_REQUIRES} xau xcmiscproto bigreqsproto"
97	X11_EXTRA_DEPS="xau"
98	PKG_CHECK_MODULES(XDMCP, xdmcp,
99		AC_CHECK_LIB(Xdmcp, XdmcpWrap,
100			[
101			AC_CHECK_LIB(Xdmcp, XdmcpWrap, [xdmauth="yes"], [xdmauth="no"], [$XDMCP_LIBS])
102			X11_EXTRA_DEPS="$X11_EXTRA_DEPS xdmcp"
103			],
104			[
105			XDMCP_CFLAGS=
106			XDMCP_LIBS=
107			], [$XDMCP_LIBS]),
108		[AC_MSG_RESULT(no)])
109	AC_DEFINE(USE_XCB, 0, [Use XCB for low-level protocol implementation])
110	;;
111*)
112	X11_REQUIRES="${X11_REQUIRES} xcb >= 1.1.92"
113	X11_EXTRA_DEPS="xcb >= 1.1.92"
114	xdmauth="no" # XCB handles all auth
115	AC_DEFINE(USE_XCB, 1, [Use XCB for low-level protocol implementation])
116	;;
117esac
118AC_SUBST(X11_EXTRA_DEPS)
119
120dnl Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
121dnl was not expanded, since libX11 with no transport types is rather useless.
122dnl
123dnl If you're seeing an error here, be sure you installed the lib/xtrans module
124dnl first and if it's not in the default location, that you set the ACLOCAL
125dnl environment variable to find it, such as:
126dnl	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
127m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
128
129# Transport selection macro from xtrans.m4
130XTRANS_CONNECTION_FLAGS
131
132# Secure RPC detection macro from xtrans.m4
133XTRANS_SECURE_RPC_FLAGS
134
135# Preferred order to try transports for local connections
136AC_MSG_CHECKING([what order to try transports in for local connections])
137DEFAULT_LOCAL_TRANS=""
138case $host_os in
139	solaris*)
140		# On Solaris 2.6 through 9, named pipes (LOCAL_TRANS) were
141		# faster than Unix domain sockets, but on Solaris 10 & later,
142		# Unix domain sockets are faster now.
143		if test "$UNIXCONN" = "yes" ; then
144			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
145				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
146			fi
147			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
148		fi
149		if test "$LOCALCONN" = "yes" ; then
150			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
151				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
152			fi
153			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
154		fi
155		if test "$TCPCONN" = "yes" ; then
156			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
157				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
158			fi
159			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
160		fi
161		;;
162	linux*)
163		# LOCAL_TRANS is used for abstract sockets.
164		if test "$UNIXCONN" = "yes" ; then
165			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
166				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
167			fi
168			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS,UNIX_TRANS"
169		fi
170		if test "$TCPCONN" = "yes" ; then
171			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
172				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
173			fi
174			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
175		fi
176		;;
177	*)
178		if test "$LOCALCONN" = "yes" ; then
179			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
180				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
181			fi
182			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
183		fi
184		if test "$UNIXCONN" = "yes" ; then
185			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
186				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
187			fi
188			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
189		fi
190		if test "$TCPCONN" = "yes" ; then
191			if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
192				DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
193			fi
194			DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
195		fi
196		;;
197esac
198
199AC_ARG_WITH(local-transport-order,
200	AC_HELP_STRING([--with-local-transport-order=LIST], [preference sorted list of transport types to try for local connections]),
201	[LOCAL_TRANSPORT_LIST=$withval],
202	[LOCAL_TRANSPORT_LIST=$DEFAULT_LOCAL_TRANS])
203AC_DEFINE_UNQUOTED([LOCAL_TRANSPORT_LIST], [$LOCAL_TRANSPORT_LIST],
204   [preference sorted list of transport types to try for local connections])
205AC_MSG_RESULT([$LOCAL_TRANSPORT_LIST])
206
207# Check for dlopen
208AC_MSG_CHECKING([if run-time linking is supported])
209AC_SEARCH_LIBS(dlopen,[dl svld])
210if test "x$ac_cv_search_dlopen" = xno; then
211	AC_SEARCH_LIBS(shl_load,[dld])
212	if test "x$ac_cv_search_shl_load" != xno; then
213		AC_DEFINE(HAVE_SHL_LOAD,1,
214			  [Use shl_load to load shared libraries])
215		AC_CHECK_HEADERS([dl.h])
216	fi
217else
218	AC_DEFINE(HAVE_DLOPEN,1,[Use dlopen to load shared libraries])
219	AC_CHECK_HEADERS([dlfcn.h])
220fi
221if test x$ac_cv_header_dlcfn_h -o x$ac_cv_header_dl_h; then
222	HAVE_LOADABLE_MODULES=yes
223else
224	HAVE_LOADABLE_MODULES=no
225fi
226AC_MSG_RESULT($HAVE_LOADABLE_MODULES)
227
228AC_MSG_CHECKING([if loadable i18n module support should be enabled])
229AC_ARG_ENABLE(loadable-i18n,
230	      AC_HELP_STRING([--enable-loadable-i18n],
231	       [Controls loadable i18n module support]),
232	       [XLIB_LOADABLE_I18N=$enableval],
233	       [XLIB_LOADABLE_I18N="no"])
234if test x$XLIB_LOADABLE_I18N = xyes; then
235	if test x$HAVE_LOADABLE_MODULES = xno; then
236		AC_MSG_ERROR([Loadable module support is required to enable loadable i18n module support])
237	fi
238	AC_DEFINE(USE_DYNAMIC_LC,1,
239		  [Split some i18n functions into loadable modules])
240	AC_SUBST(I18N_MODULE_LIBS,'${top_builddir}/src/libX11.la')
241fi
242AC_MSG_RESULT($XLIB_LOADABLE_I18N)
243
244AM_CONDITIONAL(XLIB_LOADABLE_I18N, test x$XLIB_LOADABLE_I18N = xyes)
245
246AC_MSG_CHECKING([if loadable Xcursor library support should be enabled])
247AC_ARG_ENABLE(loadable-xcursor,
248	      AC_HELP_STRING([--disable-loadable-xcursor],
249	       [Controls loadable xcursor library support]),
250	       [XLIB_LOADABLE_XCURSOR=$enableval],
251	       [XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES])
252if test x$XLIB_LOADABLE_XCURSOR = xyes; then
253	AC_DEFINE(USE_DYNAMIC_XCURSOR,1,
254		  [Use the X cursor library to load cursors])
255fi
256AC_MSG_RESULT($XLIB_LOADABLE_XCURSOR)
257
258# Checks for header files.
259AC_HEADER_STDC
260AC_CHECK_HEADERS([sys/select.h])
261
262# Checks for typedefs, structures, and compiler characteristics.
263
264# Checks for library functions.
265AC_CHECK_FUNCS([strtol])
266# Used in lcFile.c (see also --enable-xlocaledir settings below)
267XLOCALEDIR_IS_SAFE="no"
268AC_CHECK_FUNC([issetugid], [XLOCALEDIR_IS_SAFE="yes"]
269	AC_DEFINE(HASSETUGID,1,[Has issetugid() function]))
270AC_CHECK_FUNC([getresuid], [XLOCALEDIR_IS_SAFE="yes"]
271	AC_DEFINE(HASGETRESUID,1,[Has getresuid() & getresgid() functions]))
272# Used in Font.c
273AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions]))
274
275# Checks for system services
276dnl AC_PATH_XTRA
277
278# arch specific things
279WCHAR32="1"
280case $target_alias in
281  *os2*) os2="true" ; WCHAR32="0" ;;
282  *) ;;
283esac
284AC_SUBST(WCHAR32)
285
286AM_CONDITIONAL(OS2, test x$os2 = xtrue)
287
288AC_ARG_WITH(launchd, AS_HELP_STRING([--with-launchd], [Build with support for Apple's launchd (default: auto)]), [LAUNCHD=$withval], [LAUNCHD=auto])
289if test "x$LAUNCHD" = xauto; then
290	unset LAUNCHD
291	AC_CHECK_PROG(LAUNCHD, [launchd], [yes], [no])
292fi
293
294if test "x$LAUNCHD" = xyes ; then
295	AC_DEFINE(HAVE_LAUNCHD, 1, [launchd support available])
296	AC_DEFINE(TRANS_REOPEN, 1, [launchd support available])
297fi
298
299AC_ARG_ENABLE(xthreads,
300              AC_HELP_STRING([--disable-xthreads],
301                [Disable Xlib support for Multithreading]),
302              [xthreads=$enableval],[xthreads=yes])
303
304AC_CHECK_LIB(c, getpwuid_r, [mtsafeapi="yes"], [mtsafeapi="no"])
305
306case x$xthreads in
307xyes)
308	AC_DEFINE(XTHREADS,1,[Whether libX11 is compiled with thread support])
309	if test x$mtsafeapi = xyes
310	then
311	AC_DEFINE(XUSE_MTSAFE_API,1,[Whether libX11 needs to use MT safe API's])
312	fi
313	;;
314*)
315	;;
316esac
317
318AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [thrstubs="yes"])
319AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes)
320
321dnl XXX incomplete, please fill this in
322if test x$xthreads = xyes ; then
323    case $host_os in
324    linux*|openbsd*|gnu*|k*bsd*-gnu)
325        XTHREADLIB=-lpthread ;;
326    netbsd*)
327	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
328	XTHREADLIB="-lpthread" ;;
329    freebsd*)
330        XTHREAD_CFLAGS="-D_THREAD_SAFE"
331        XTHREADLIB="-pthread" ;;
332    dragonfly*)
333        XTHREADLIB="-pthread" ;;
334    solaris*)
335	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
336    esac
337fi
338AC_SUBST(XTHREADLIB)
339AC_SUBST(XTHREAD_CFLAGS)
340
341case x$xdmauth in
342xyes)
343	XDMCP_CFLAGS="$XDMCP_CFLAGS -DHASXDMAUTH"
344	;;
345xno)
346	XDMCP_LIBS=""
347	;;
348esac
349AC_SUBST(XDMCP_CFLAGS)
350AC_SUBST(XDMCP_LIBS)
351
352AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
353
354#
355# Find keysymdef.h
356#
357AC_MSG_CHECKING([keysymdef.h])
358dir=`$PKG_CONFIG --variable=includedir xproto`
359KEYSYMDEF="$dir/X11/keysymdef.h"
360if test -f "$KEYSYMDEF"; then
361        AC_MSG_RESULT([$KEYSYMDEF])
362else
363	AC_MSG_ERROR([Cannot find keysymdef.h])
364fi
365AC_SUBST(KEYSYMDEF)
366
367AM_CONDITIONAL(UDC, test xfalse = xtrue)
368
369AC_ARG_ENABLE(xcms,
370              AC_HELP_STRING([--disable-xcms],
371                [Disable Xlib support for CMS *EXPERIMENTAL*]),
372              [XCMS=$enableval],[XCMS=yes])
373AM_CONDITIONAL(XCMS, [test x$XCMS = xyes ])
374if test x"$XCMS" = "xyes"; then
375	AC_DEFINE(XCMS,1,[Include support for XCMS])
376fi
377
378AC_ARG_ENABLE(xlocale,
379              AC_HELP_STRING([--disable-xlocale],
380                [Disable Xlib locale implementation *EXPERIMENTAL*]),
381              [XLOCALE=$enableval],[XLOCALE=yes])
382
383AM_CONDITIONAL(XLOCALE, [ test x$XLOCALE = xyes ])
384if test x"$XLOCALE" = "xyes"; then
385	AC_DEFINE(XLOCALE,1,[support for X Locales])
386fi
387
388# This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
389# don't have either issetugid() or getresuid(), and you need to protect
390# clients that are setgid or setuid to an id other than 0.
391AC_MSG_CHECKING([if XLOCALEDIR support should be enabled])
392AC_ARG_ENABLE(xlocaledir,
393	      AC_HELP_STRING([--enable-xlocaledir],
394		[Enable XLOCALEDIR environment variable support]),
395	      [ENABLE_XLOCALEDIR=$enableval],[ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE])
396if test "x$ENABLE_XLOCALEDIR" = "xno"; then
397	AC_DEFINE(NO_XLOCALEDIR,1,[Disable XLOCALEDIR environment variable])
398fi
399AC_MSG_RESULT($ENABLE_XLOCALEDIR)
400
401AC_ARG_ENABLE(xf86bigfont,
402	      AC_HELP_STRING([--disable-xf86bigfont],
403		[Disable XF86BigFont extension support]),
404	      [XF86BIGFONT=$enableval],[XF86BIGFONT="yes"])
405if test "x$XF86BIGFONT" = "xyes"; then
406    PKG_CHECK_MODULES(BIGFONT, xf86bigfontproto,
407         AC_DEFINE(XF86BIGFONT,1,[Enable XF86BIGFONT extension]),XF86BIGFONT="no")
408    AC_SUBST(BIGFONT_CFLAGS)
409    AC_SUBST(BIGFONT_LIBS)
410fi
411
412AC_ARG_ENABLE(xkb,
413              AC_HELP_STRING([--disable-xkb],
414                [Disable XKB support *EXPERIMENTAL*]),
415              [XKB=$enableval],[XKB=yes])
416
417AC_ARG_ENABLE(man-pages,
418	      AC_HELP_STRING([--enable-man-pages=section],
419			     [Choose manual section for installing man pages]),
420		[LIBMAN=$enableval],[LIBMAN=yes])
421
422if test "x$LIBMAN" != "xyes"; then
423	LIB_MAN_SUFFIX=$LIBMAN
424fi
425
426AM_CONDITIONAL(MANPAGES, [ test x$LIBMAN '!=' xno ])
427
428AM_CONDITIONAL(XKB, [ test x$XKB = xyes ])
429if test x"$XKB" = "xyes"; then
430   XKBPROTO_REQUIRES="kbproto"
431   X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
432   AC_DEFINE(XKB,1,[Use XKB])
433else
434   XKBPROTO_REQUIRES=""
435fi
436AC_SUBST(XKBPROTO_REQUIRES)
437
438AC_FUNC_MMAP()
439composecache_default=$ac_cv_func_mmap_fixed_mapped
440AC_CHECK_FUNC(nl_langinfo, , [composecache_default=no])
441AC_ARG_ENABLE(composecache,
442              AC_HELP_STRING([--disable-composecache],
443                [Disable compose table cache support]),
444              [COMPOSECACHE=$enableval],[COMPOSECACHE=$composecache_default])
445if test x"$COMPOSECACHE" = "xyes"; then
446	AC_DEFINE(COMPOSECACHE,1,[Include compose table cache support])
447fi
448
449dnl Allow checking code with lint, sparse, etc.
450XORG_WITH_LINT
451XORG_LINT_LIBRARY([X11])
452
453X11_DATADIR="${datadir}/X11"
454AC_DEFINE_DIR(X11_DATADIR, X11_DATADIR, [Location of libX11 data])
455AC_SUBST(X11_DATADIR)
456
457X11_LIBDIR="${libdir}/X11"
458AX_DEFINE_DIR(X11_LIBDIR, X11_LIBDIR, [Location of libX11 library data])
459AC_SUBST(X11_LIBDIR)
460
461PKG_CHECK_MODULES(X11, [$X11_REQUIRES])
462X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
463
464#
465# Yes, it would be nice to put the locale data in
466# /usr/share, but the locale stuff includes loadable
467# libraries which must be located in the same directory
468# as the other locale data, so for now, everything lives
469# in ${libdir}
470#
471
472X11_LOCALEDATADIR="${X11_DATADIR}/locale"
473AC_DEFINE_DIR(XLOCALEDATADIR, X11_LOCALEDATADIR, [Location of libX11 locale data])
474AC_SUBST(X11_LOCALEDATADIR)
475
476AC_ARG_WITH(locale-lib-dir,	AS_HELP_STRING([--with-locale-lib-dir=DIR],
477 [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
478				[ X11_LOCALELIBDIR="$withval" ],
479				[ X11_LOCALELIBDIR="${X11_LIBDIR}/locale" ])
480AC_DEFINE_DIR(XLOCALELIBDIR, X11_LOCALELIBDIR, [Location of libX11 locale libraries])
481AC_SUBST(X11_LOCALELIBDIR)
482
483X11_LOCALEDIR="${X11_LOCALEDATADIR}"
484AC_DEFINE_DIR(XLOCALEDIR, X11_LOCALEDIR, [Location of libX11 locale data])
485AC_SUBST(X11_LOCALEDIR)
486
487XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
488AC_DEFINE_DIR(XKEYSYMDB, XKEYSYMDB, [Location of keysym database])
489
490XERRORDB="${X11_DATADIR}/XErrorDB"
491AC_DEFINE_DIR(XERRORDB, XERRORDB, [Location of error message database])
492
493XORG_CHECK_MALLOC_ZERO
494
495AC_OUTPUT([Makefile
496           include/Makefile
497	   man/Makefile
498           man/xkb/Makefile
499           src/Makefile
500           src/util/Makefile
501	   src/xcms/Makefile
502	   src/xlibi18n/Makefile
503	   modules/Makefile
504	   modules/im/Makefile
505	   modules/im/ximcp/Makefile
506	   modules/lc/Makefile
507	   modules/lc/def/Makefile
508	   modules/lc/gen/Makefile
509	   modules/lc/Utf8/Makefile
510	   modules/lc/xlocale/Makefile
511	   modules/om/Makefile
512	   modules/om/generic/Makefile
513	   src/xkb/Makefile
514	   nls/Makefile
515	   nls/am_ET.UTF-8/Makefile
516	   nls/armscii-8/Makefile
517	   nls/C/Makefile
518	   nls/el_GR.UTF-8/Makefile
519	   nls/en_US.UTF-8/Makefile
520	   nls/fi_FI.UTF-8/Makefile
521	   nls/georgian-academy/Makefile
522	   nls/georgian-ps/Makefile
523	   nls/ibm-cp1133/Makefile
524	   nls/iscii-dev/Makefile
525	   nls/isiri-3342/Makefile
526	   nls/iso8859-1/Makefile
527	   nls/iso8859-10/Makefile
528	   nls/iso8859-11/Makefile
529	   nls/iso8859-13/Makefile
530	   nls/iso8859-14/Makefile
531	   nls/iso8859-15/Makefile
532	   nls/iso8859-2/Makefile
533	   nls/iso8859-3/Makefile
534	   nls/iso8859-4/Makefile
535	   nls/iso8859-5/Makefile
536	   nls/iso8859-6/Makefile
537	   nls/iso8859-7/Makefile
538	   nls/iso8859-8/Makefile
539	   nls/iso8859-9/Makefile
540	   nls/iso8859-9e/Makefile
541	   nls/ja/Makefile
542	   nls/ja.JIS/Makefile
543	   nls/ja_JP.UTF-8/Makefile
544	   nls/ja.S90/Makefile
545	   nls/ja.SJIS/Makefile
546	   nls/ja.U90/Makefile
547	   nls/ko/Makefile
548	   nls/koi8-c/Makefile
549	   nls/koi8-r/Makefile
550	   nls/koi8-u/Makefile
551	   nls/ko_KR.UTF-8/Makefile
552	   nls/microsoft-cp1251/Makefile
553	   nls/microsoft-cp1255/Makefile
554	   nls/microsoft-cp1256/Makefile
555	   nls/mulelao-1/Makefile
556	   nls/nokhchi-1/Makefile
557	   nls/pt_BR.UTF-8/Makefile
558	   nls/ru_RU.UTF-8/Makefile
559	   nls/tatar-cyr/Makefile
560	   nls/th_TH/Makefile
561	   nls/th_TH.UTF-8/Makefile
562	   nls/tscii-0/Makefile
563	   nls/vi_VN.tcvn/Makefile
564	   nls/vi_VN.viscii/Makefile
565	   nls/zh_CN/Makefile
566	   nls/zh_CN.gb18030/Makefile
567	   nls/zh_CN.gbk/Makefile
568	   nls/zh_CN.UTF-8/Makefile
569	   nls/zh_HK.big5/Makefile
570	   nls/zh_HK.big5hkscs/Makefile
571	   nls/zh_HK.UTF-8/Makefile
572	   nls/zh_TW/Makefile
573	   nls/zh_TW.big5/Makefile
574	   nls/zh_TW.UTF-8/Makefile
575	   specs/Makefile
576	   specs/i18n/Makefile
577	   specs/libX11/Makefile
578	   specs/XIM/Makefile
579	   x11.pc
580	   x11-xcb.pc])
581
582man_pages_suffix=$LIB_MAN_SUFFIX
583if test -z "$man_pages_suffix"; then
584    man_pages_suffix=none
585fi
586
587echo ""
588echo "X11 will be built with the following settings:"
589echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
590echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
591echo " Use XCB:                                 "$ac_cv_use_xcb
592echo " Threading support:                       "$xthreads
593echo " Use Threads safe API:                    "$mtsafeapi
594echo " Threads stubs in libX11:                 "$thrstubs
595echo " XCMS:                                    "$XCMS
596echo " Internationalization support:            "$XLOCALE
597echo " XF86BigFont support:                     "$XF86BIGFONT
598echo " XKB support:                             "$XKB
599echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
600echo " Manual pages suffix:                     "$man_pages_suffix
601echo " Compose table cache enabled:             "$COMPOSECACHE
602echo " Functional specs building enabled:       "$build_specs
603echo ""
604