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