Imported Upstream version 1.6.2 upstream upstream/1.6.2
authorLee Chang Yeon <cyeon.lee@samsung.com>
Tue, 8 Apr 2014 08:14:37 +0000 (17:14 +0900)
committerLee Chang Yeon <cyeon.lee@samsung.com>
Tue, 8 Apr 2014 08:14:37 +0000 (17:14 +0900)
475 files changed:
.gitignore [new file with mode: 0644]
ChangeLog [deleted file]
INSTALL [deleted file]
Makefile.in [deleted file]
README
aclocal.m4 [deleted file]
autogen.sh [new file with mode: 0755]
config.guess [deleted file]
config.sub [deleted file]
configure [deleted file]
configure.ac
depcomp [deleted file]
include/Makefile.in [deleted file]
include/X11/.gitignore [new file with mode: 0644]
include/X11/Xcms.h
include/X11/Xlib.h
include/X11/Xlibint.h
include/X11/Xregion.h
include/X11/Xutil.h
install-sh [deleted file]
ltmain.sh [deleted file]
man/AllPlanes.man
man/BlackPixelOfScreen.man
man/DisplayOfCCC.man
man/ImageByteOrder.man
man/IsCursorKey.man
man/Makefile.in [deleted file]
man/XAddConnectionWatch.man
man/XAddHost.man
man/XAllocClassHint.man
man/XAllocColor.man
man/XAllocIconSize.man
man/XAllocSizeHints.man
man/XAllocStandardColormap.man
man/XAllocWMHints.man
man/XAllowEvents.man
man/XAnyEvent.man
man/XButtonEvent.man
man/XChangeKeyboardControl.man
man/XChangeKeyboardMapping.man
man/XChangePointerControl.man
man/XChangeSaveSet.man
man/XChangeWindowAttributes.man
man/XCirculateEvent.man
man/XCirculateRequestEvent.man
man/XClearArea.man
man/XClientMessageEvent.man
man/XColormapEvent.man
man/XConfigureEvent.man
man/XConfigureRequestEvent.man
man/XConfigureWindow.man
man/XCopyArea.man
man/XCreateColormap.man
man/XCreateFontCursor.man
man/XCreateFontSet.man
man/XCreateGC.man
man/XCreateIC.man
man/XCreateOC.man
man/XCreatePixmap.man
man/XCreateRegion.man
man/XCreateWindow.man
man/XCreateWindowEvent.man
man/XCrossingEvent.man
man/XDefineCursor.man
man/XDestroyWindow.man
man/XDestroyWindowEvent.man
man/XDrawArc.man
man/XDrawImageString.man
man/XDrawLine.man
man/XDrawPoint.man
man/XDrawRectangle.man
man/XDrawString.man
man/XDrawText.man
man/XEmptyRegion.man
man/XErrorEvent.man
man/XExposeEvent.man
man/XExtentsOfFontSet.man
man/XFillRectangle.man
man/XFilterEvent.man
man/XFlush.man
man/XFocusChangeEvent.man
man/XFontSetExtents.man
man/XFontsOfFontSet.man
man/XFree.man
man/XGetEventData.man
man/XGetVisualInfo.man
man/XGetWindowAttributes.man
man/XGetWindowProperty.man
man/XGetXCBConnection.man
man/XGrabButton.man
man/XGrabKey.man
man/XGrabKeyboard.man
man/XGrabPointer.man
man/XGrabServer.man
man/XGraphicsExposeEvent.man
man/XGravityEvent.man
man/XIconifyWindow.man
man/XIfEvent.man
man/XInitImage.man
man/XInitThreads.man
man/XInstallColormap.man
man/XInternAtom.man
man/XIntersectRegion.man
man/XKeymapEvent.man
man/XListFonts.man
man/XLoadFont.man
man/XLookupKeysym.man
man/XMapEvent.man
man/XMapRequestEvent.man
man/XMapWindow.man
man/XNextEvent.man
man/XNoOp.man
man/XOpenDisplay.man
man/XOpenIM.man
man/XOpenOM.man
man/XParseGeometry.man
man/XPolygonRegion.man
man/XPropertyEvent.man
man/XPutBackEvent.man
man/XPutImage.man
man/XQueryBestSize.man
man/XQueryColor.man
man/XQueryPointer.man
man/XQueryTree.man
man/XRaiseWindow.man
man/XReadBitmapFile.man
man/XRecolorCursor.man
man/XReparentEvent.man
man/XReparentWindow.man
man/XResizeRequestEvent.man
man/XResourceManagerString.man
man/XSaveContext.man
man/XSelectInput.man
man/XSelectionClearEvent.man
man/XSelectionEvent.man
man/XSelectionRequestEvent.man
man/XSendEvent.man
man/XSetArcMode.man
man/XSetClipOrigin.man
man/XSetCloseDownMode.man
man/XSetCommand.man
man/XSetErrorHandler.man
man/XSetEventQueueOwner.man
man/XSetFillStyle.man
man/XSetFont.man
man/XSetFontPath.man
man/XSetICFocus.man
man/XSetICValues.man
man/XSetInputFocus.man
man/XSetLineAttributes.man
man/XSetPointerMapping.man
man/XSetScreenSaver.man
man/XSetSelectionOwner.man
man/XSetState.man
man/XSetTextProperty.man
man/XSetTile.man
man/XSetTransientForHint.man
man/XSetWMClientMachine.man
man/XSetWMColormapWindows.man
man/XSetWMIconName.man
man/XSetWMName.man
man/XSetWMProperties.man
man/XSetWMProtocols.man
man/XStoreBytes.man
man/XStoreColors.man
man/XStringListToTextProperty.man
man/XStringToKeysym.man
man/XSupportsLocale.man
man/XSynchronize.man
man/XTextExtents.man
man/XTextWidth.man
man/XTranslateCoordinates.man
man/XUnmapEvent.man
man/XUnmapWindow.man
man/XVaCreateNestedList.man
man/XVisibilityEvent.man
man/XWarpPointer.man
man/XcmsAllocColor.man
man/XcmsCCCOfColormap.man
man/XcmsCIELabQueryMaxC.man
man/XcmsCIELuvQueryMaxC.man
man/XcmsColor.man
man/XcmsConvertColors.man
man/XcmsCreateCCC.man
man/XcmsDefaultCCC.man
man/XcmsQueryBlack.man
man/XcmsQueryColor.man
man/XcmsSetWhitePoint.man
man/XcmsStoreColor.man
man/XcmsTekHVCQueryMaxC.man
man/XmbDrawImageString.man
man/XmbDrawString.man
man/XmbDrawText.man
man/XmbLookupString.man
man/XmbResetIC.man
man/XmbTextEscapement.man
man/XmbTextExtents.man
man/XmbTextListToTextProperty.man
man/XmbTextPerCharExtents.man
man/XrmEnumerateDatabase.man
man/XrmGetFileDatabase.man
man/XrmGetResource.man
man/XrmInitialize.man
man/XrmMergeDatabases.man
man/XrmPutResource.man
man/XrmUniqueQuark.man
man/xkb/Makefile.in [deleted file]
man/xkb/XkbGetNamedGeometry.man
man/xkb/XkbSAGroup.man
man/xkb/XkbSASetGroup.man
man/xkb/XkbSetDetectableAutoRepeat.man
man/xkb/XkbSetDeviceButtonActions.man
missing [deleted file]
modules/Makefile.in [deleted file]
modules/im/Makefile.in [deleted file]
modules/im/ximcp/Makefile.am
modules/im/ximcp/Makefile.in [deleted file]
modules/im/ximcp/imCallbk.c
modules/im/ximcp/imDefFlt.c
modules/im/ximcp/imDefIc.c
modules/im/ximcp/imDefIm.c
modules/im/ximcp/imDefLkup.c
modules/im/ximcp/imDispch.c
modules/im/ximcp/imExten.c
modules/im/ximcp/imImSw.c
modules/im/ximcp/imInsClbk.c
modules/im/ximcp/imInt.c
modules/im/ximcp/imLcGIc.c
modules/im/ximcp/imLcIc.c
modules/im/ximcp/imLcIm.c
modules/im/ximcp/imLcLkup.c
modules/im/ximcp/imLcPrs.c
modules/im/ximcp/imLcSIc.c
modules/im/ximcp/imRm.c
modules/im/ximcp/imRmAttr.c
modules/im/ximcp/imThaiFlt.c
modules/im/ximcp/imThaiIc.c
modules/im/ximcp/imThaiIm.c
modules/im/ximcp/imTrX.c
modules/im/ximcp/imTrans.c
modules/im/ximcp/imTransR.c
modules/lc/Makefile.in [deleted file]
modules/lc/Utf8/Makefile.in [deleted file]
modules/lc/def/Makefile.in [deleted file]
modules/lc/def/lcDefConv.c
modules/lc/gen/Makefile.in [deleted file]
modules/lc/gen/lcGenConv.c
modules/lc/xlocale/Makefile.in [deleted file]
modules/lc/xlocale/lcEuc.c
modules/lc/xlocale/lcJis.c
modules/lc/xlocale/lcSjis.c
modules/om/Makefile.in [deleted file]
modules/om/generic/Makefile.in [deleted file]
modules/om/generic/omGeneric.c
modules/om/generic/omXChar.c
nls/.gitignore [new file with mode: 0644]
nls/C/XI18N_OBJS
nls/Makefile.am
nls/Makefile.in [deleted file]
nls/compose.dir.pre
nls/en_US.UTF-8/Compose.pre
nls/en_US.UTF-8/XI18N_OBJS
nls/iso8859-1/XI18N_OBJS
nls/ja.S90/XI18N_OBJS [deleted file]
nls/ja.S90/XLC_LOCALE.pre [deleted file]
nls/ja.U90/XI18N_OBJS [deleted file]
nls/ja.U90/XLC_LOCALE.pre [deleted file]
nls/ja_JP.UTF-8/Compose.pre
nls/km_KH.UTF-8/Compose.pre [new file with mode: 0644]
nls/km_KH.UTF-8/XI18N_OBJS [new file with mode: 0644]
nls/km_KH.UTF-8/XLC_LOCALE.pre [moved from nls/ja.U90/Compose.pre with 100% similarity]
nls/ko_KR.UTF-8/Compose.pre
nls/locale.alias.pre
nls/locale.dir.pre
nls/pt_BR.UTF-8/Compose.pre
nls/sr_CS.UTF-8/Compose.pre [new file with mode: 0644]
nls/sr_CS.UTF-8/XI18N_OBJS [new file with mode: 0644]
nls/sr_CS.UTF-8/XLC_LOCALE.pre [moved from nls/ja.S90/Compose.pre with 100% similarity]
nls/th_TH.UTF-8/Compose.pre
nls/zh_CN.UTF-8/Compose.pre
nls/zh_HK.UTF-8/Compose.pre
nls/zh_TW.UTF-8/Compose.pre
specs/.gitignore [new file with mode: 0644]
specs/Makefile.in [deleted file]
specs/XIM/Makefile.in [deleted file]
specs/XKB/Makefile.in [deleted file]
specs/i18n/Makefile.in [deleted file]
specs/i18n/compose/.gitignore [new file with mode: 0644]
specs/i18n/compose/Makefile.in [deleted file]
specs/i18n/framework/Makefile.in [deleted file]
specs/i18n/localedb/Makefile.in [deleted file]
specs/i18n/trans/Makefile.in [deleted file]
specs/libX11/AppC.xml
specs/libX11/CH02.xml
specs/libX11/CH03.xml
specs/libX11/CH04.xml
specs/libX11/CH05.xml
specs/libX11/CH06.xml
specs/libX11/CH07.xml
specs/libX11/CH08.xml
specs/libX11/CH09.xml
specs/libX11/CH11.xml
specs/libX11/CH12.xml
specs/libX11/CH13.xml
specs/libX11/CH14.xml
specs/libX11/CH15.xml
specs/libX11/CH16.xml
specs/libX11/Makefile.in [deleted file]
src/.gitignore [new file with mode: 0644]
src/AllCells.c
src/ChProp.c
src/ChWindow.c
src/Cmap.h
src/ConfWind.c
src/Context.c
src/Cr.h
src/CrBFData.c
src/CrGC.c
src/CrPFBData.c
src/CrWindow.c
src/Depths.c
src/DrArc.c
src/DrLine.c
src/DrPoint.c
src/DrRect.c
src/ErrDes.c
src/FSWrap.c
src/FetchName.c
src/FillArc.c
src/FillRct.c
src/Font.c
src/FontInfo.c
src/FontNames.c
src/FreeEData.c
src/FreeGC.c
src/GetAtomNm.c
src/GetDflt.c
src/GetFPath.c
src/GetFProp.c
src/GetHints.c
src/GetImage.c
src/GetMoEv.c
src/GetNrmHint.c
src/GetPntMap.c
src/GetProp.c
src/GetRGBCMap.c
src/GetStCmap.c
src/GetWMCMapW.c
src/GetWMProto.c
src/Host.c
src/ImUtil.c
src/InitExt.c
src/IntAtom.c
src/Key.h
src/KeyBind.c
src/KeysymStr.c
src/LiHosts.c
src/LiICmaps.c
src/LiProps.c
src/ListExt.c
src/Macros.c
src/Makefile.am
src/Makefile.in [deleted file]
src/ModMap.c
src/MoveWin.c
src/OpenDis.c
src/PixFormats.c
src/PolyReg.c
src/PolyTxt16.c
src/PropAlloc.c
src/PutBEvent.c
src/PutImage.c
src/QuColors.c
src/QuTree.c
src/Quarks.c
src/RdBitF.c
src/Region.c
src/RegstFlt.c
src/RestackWs.c
src/SendEvent.c
src/SetFPath.c
src/SetHints.c
src/SetPntMap.c
src/SetRGBCMap.c
src/StBytes.c
src/StColor.c
src/StName.c
src/StrKeysym.c
src/StrToText.c
src/Text16.c
src/TextToStr.c
src/VisUtil.c
src/WrBitF.c
src/XErrorDB
src/Xintatom.h
src/Xintconn.h
src/XlibAsync.c
src/XlibInt.c
src/Xprivate.h
src/Xresinternal.h
src/Xrm.c
src/config.h.in [deleted file]
src/globals.c
src/locking.c
src/locking.h
src/pathmax.h [new file with mode: 0644]
src/udcInf.c [deleted file]
src/util/.gitignore [new file with mode: 0644]
src/util/Makefile.in [deleted file]
src/xcb_io.c
src/xcms/CCC.c
src/xcms/CvCols.c
src/xcms/IdOfPr.c
src/xcms/LRGB.c
src/xcms/Makefile.am
src/xcms/Makefile.in [deleted file]
src/xcms/SetGetCols.c
src/xcms/StCols.c
src/xcms/cmsCmap.c
src/xcms/cmsColNm.c
src/xcms/cmsInt.c
src/xcms/cmsMath.c
src/xcms/cmsTrig.c
src/xkb/Makefile.in [deleted file]
src/xkb/XKB.c
src/xkb/XKBAlloc.c
src/xkb/XKBBell.c
src/xkb/XKBBind.c
src/xkb/XKBCompat.c
src/xkb/XKBCtrls.c
src/xkb/XKBCvt.c
src/xkb/XKBExtDev.c
src/xkb/XKBGAlloc.c
src/xkb/XKBGeom.c
src/xkb/XKBGetByName.c
src/xkb/XKBGetMap.c
src/xkb/XKBList.c
src/xkb/XKBMAlloc.c
src/xkb/XKBMisc.c
src/xkb/XKBNames.c
src/xkb/XKBRdBuf.c
src/xkb/XKBSetGeom.c
src/xkb/XKBSetMap.c
src/xkb/XKBUse.c
src/xkb/XKBleds.c
src/xkb/XKBlibint.h
src/xlibi18n/ICWrap.c
src/xlibi18n/IMWrap.c
src/xlibi18n/Makefile.in [deleted file]
src/xlibi18n/XDefaultIMIF.c
src/xlibi18n/XDefaultOMIF.c
src/xlibi18n/XimTrInt.h
src/xlibi18n/Ximint.h
src/xlibi18n/XlcDL.c
src/xlibi18n/XlcPubI.h
src/xlibi18n/lcCT.c
src/xlibi18n/lcCharSet.c
src/xlibi18n/lcConv.c
src/xlibi18n/lcDB.c
src/xlibi18n/lcDynamic.c
src/xlibi18n/lcFile.c
src/xlibi18n/lcGeneric.c
src/xlibi18n/lcPrTxt.c
src/xlibi18n/lcPubWrap.c
src/xlibi18n/lcPublic.c
src/xlibi18n/lcRM.c
src/xlibi18n/lcTxtPr.c
src/xlibi18n/lcUTF8.c
src/xlibi18n/lcUniConv/8bit_tab_to_h.c
src/xlibi18n/lcUniConv/cjk_tab_to_h.c
src/xlibi18n/lcWrap.c
src/xlibi18n/mbWMProps.c
src/xlibi18n/mbWrap.c
src/xlibi18n/utf8WMProps.c
src/xlibi18n/utf8Wrap.c

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..9e3e3d4
--- /dev/null
@@ -0,0 +1,80 @@
+#
+#              X.Org module default exclusion patterns
+#              The next section if for module specific patterns
+#
+#      Do not edit the following section
+#      GNU Build System (Autotools)
+aclocal.m4
+autom4te.cache/
+autoscan.log
+ChangeLog
+compile
+config.guess
+config.h
+config.h.in
+config.log
+config-ml.in
+config.py
+config.status
+config.status.lineno
+config.sub
+configure
+configure.scan
+depcomp
+.deps/
+INSTALL
+install-sh
+.libs/
+libtool
+libtool.m4
+ltmain.sh
+lt~obsolete.m4
+ltoptions.m4
+ltsugar.m4
+ltversion.m4
+Makefile
+Makefile.in
+mdate-sh
+missing
+mkinstalldirs
+*.pc
+py-compile
+stamp-h?
+symlink-tree
+texinfo.tex
+ylwrap
+
+#      Do not edit the following section
+#      Edit Compile Debug Document Distribute
+*~
+*.[0-9]
+*.[0-9]x
+*.bak
+*.bin
+core
+*.dll
+*.exe
+*-ISO*.bdf
+*-JIS*.bdf
+*-KOI8*.bdf
+*.kld
+*.ko
+*.ko.cmd
+*.lai
+*.l[oa]
+*.[oa]
+*.obj
+*.patch
+*.so
+*.pcf.gz
+*.pdb
+*.tar.bz2
+*.tar.gz
+#
+#              Add & Override patterns for libX11 
+#
+#              Edit the following section as needed
+# For example, !report.pc overrides *.pc. See 'man gitignore'
+# 
+doltcompile
+doltlibtool
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644 (file)
index 4e2cda9..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,9885 +0,0 @@
-commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jun 1 23:37:09 2012 -0700
-
-    libX11 1.5.0
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 05c587ec3be880721131a17c1dd4366e458fdd8b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat May 26 14:37:28 2012 -0700
-
-    libX11 1.4.99.902 (1.5 RC2)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d817834d9772e3500d5102e2eae868b04a33c31f
-Author: Pander <pander@users.sourceforge.net>
-Date:   Sat May 5 19:02:10 2012 +0200
-
-    Compose: Reassigned squences with minus and a or o
-    
-    Reassigned squences with minus and a or o (vice versa and lower and
-    upper case) to conform existing series and not resulting in tilde.
-    Also added noe missing underscore sequence.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00
-Author: Pander <pander@users.sourceforge.net>
-Date:   Sat May 5 16:56:05 2012 +0200
-
-    Compose: Removed <slash> <U> and vice versa
-    
-    Combination with lower case u suffices
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 3a8b1637132d1e36eb5e11f52dfb284081772d14
-Author: Pander <pander@users.sourceforge.net>
-Date:   Sat May 5 16:44:31 2012 +0200
-
-    Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit fd514d7a35119dd4413b51c84f2a536f2ca501a6
-Author: Pander <pander@users.sourceforge.net>
-Date:   Sat May 5 16:40:20 2012 +0200
-
-    Compose: Removed <S> in combination with a numeral for superscript
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d
-Author: Pander <pander@users.sourceforge.net>
-Date:   Sat May 5 16:28:01 2012 +0200
-
-    Compose: Reassigned <o> <apostrophe> to oacute, also for upper case.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Thu May 10 12:27:28 2012 -0400
-
-    Remove duplicate compose sequences from commit e51e37c118ae.
-    
-    The compose-check script only handles compiled Compose files, not
-    the Compose.pre files.  One must remember to use:
-    
-        ./autogen.sh; make; make check
-    
-    when reviewing patches to the Compose.pre files....
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit e51e37c118ae6cb9ced8244ce1c410677e0279ce
-Author: Geoff Streeter <geoff@dyalog.com>
-Date:   Thu Mar 22 15:02:00 2012 +0000
-
-    Add APL support to compose
-    
-    Signed-off-by: Geoff Streeter <geoff@dyalog.com>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit dac90324cee224df977a428afe80d960dceca769
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sat May 5 16:05:07 2012 +0200
-
-    configure: make previous change work with older autoconf
-    
-    autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC.  So do
-    the tests separately.
-    
-    Reported-by: Dave Airlie
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit f5b50af4324186962e258ffe9be78d5ee4681982
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sun Apr 29 16:43:09 2012 +0200
-
-    configure: check if issetugid is declared
-    
-    GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't
-    declare it anywhere, causing gcc to error out with
-    -Werror=implicit-function-declaration.  Use AC_CHECK_DECL in addition to
-    AC_CHECK_FUNC so we disable this code instead of failing to build it.
-    
-    Debian bug#669670 <http://bugs.debian.org/669670>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Mon Apr 30 16:36:47 2012 +1000
-
-    Typo fix
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit b64969f0e510d5d3300cf968741a3726a6409577
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 17 18:12:02 2012 -0700
-
-    Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 17 18:01:36 2012 -0700
-
-    Add olinks from libX11 & localedb specs to ICCCM spec
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit b3c1b8cdab7d14220426c9b997ac362dc16318fc
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 17 17:49:44 2012 -0700
-
-    Add olinks from libX11 spec to ICCCM spec
-    
-    Also convert ICCCM title mentions from <emphasis> to <citetitle>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ebebb65e753007ad01966dccc90bd6ca9a826488
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat Apr 14 23:40:01 2012 -0700
-
-    libX11 AppC: Fix section headers that didn't translate from nroff properly
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat Apr 14 23:13:05 2012 -0700
-
-    Add olinks from libX11 spec to x11protocol spec
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 83878a0e34fffd255597300dd3e6cd43fcd645b0
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat Apr 14 22:28:53 2012 -0700
-
-    libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit abc523fce31fcf2687229697a8eb656e343ecb0c
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Mar 15 22:14:45 2012 -0700
-
-    libX11 1.4.99.901 (1.5 RC1)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit b2cc5905a4a6d519957223e8ba2caef71520040c
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Mar 15 22:03:21 2012 -0700
-
-    Remove "register" qualifier that annoys Solaris Studio compiler
-    
-    Fixes warning:
-    "Xrm.c", line 1094: warning: storage class after type is obsolescent
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 62d42953893f93a98db0504eaf06d650ceaf5811
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed Mar 14 17:25:46 2012 -0400
-
-    Fix the gtk+ additions
-    
-    (Some of) the Dstroke and dstroke entries already were present as U011[01],
-    even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h.
-    
-    The addition of <Multi_key> <o> <apostrophe> as a postfix version of
-    <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ.
-    That prevents its and <Multi_key> <O> <apostrophe>’s addition.
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 91bcce48d94792f78333d2aea73961cc2e739d2e
-Author: Pander <pander@users.sourceforge.net>
-Date:   Wed Mar 14 12:54:53 2012 -0400
-
-    Complete compose key sequences for musical symbols
-    
-    Signed-off-by: Pander <pander@users.sourceforge.net>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit cf040016d455bc37f7665d6714337c5eafd8ea94
-Author: Pander <pander@users.sourceforge.net>
-Date:   Wed Mar 14 12:46:25 2012 -0400
-
-    Add compose sequences from gtk+ to X.Org
-    
-    Signed-off-by: Pander <pander@users.sourceforge.net>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit a4c591ced5cac9301b9abfa0e521be2d0b267882
-Author: Keith Packard <keithp@keithp.com>
-Date:   Sun Mar 4 02:00:13 2012 -0800
-
-    Block for other threads in _XUserLockDisplay
-    
-    Wait for all other threads to release the user-level lock when
-    acquiring it. This ensures that only one thread at a time holds the
-    user-level lock, necessary as it is a nesting lock and a single
-    variable is used to determine when the lock is nesting and when it is
-    contended.
-    
-    Signed-off-by: Keith Packard <keithp@keithp.com>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit ed00b460acb08787b695f27b864e96102dfd4867
-Author: Jon TURNEY <jon.turney@dronecode.org.uk>
-Date:   Fri Oct 28 11:09:20 2011 -0500
-
-    Don't use caddr_t casts
-    
-    (caddr_t) isn't used anywhere else in xcb or libX11.
-    Cast to (char *) for consistency.
-    
-    Removing this cast allows building for MinGW without patching.
-    
-    v2: Cast to (char *) rather than just dropping the cast
-    
-    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sun Feb 19 13:27:38 2012 +0100
-
-    Revert "xcb: Add TCP fallback"
-    
-    This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6.
-    
-    The TCP fallback ended up falling back to UNIX socket connection if
-    $DISPLAY was set to e.g. some.host:0 and the initial attempt failed.
-    
-    Debian bug#659558 <http://bugs.debian.org/659558>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-    
-    Conflicts:
-    
-       src/OpenDis.c
-
-commit f4378193619baa9bb973c1b5b718721bbcbe92c7
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed Feb 22 14:13:20 2012 -0500
-
-    Make the compose sequence for ẞ work.
-    
-    There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S,
-    so use the U1e9e symbol in the Compose sequence.
-    
-    (Compose sequences do not work when the target symbol is unknown.)
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 2ca641c3a506dcbee97e279b67990d5387389f36
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Mon Feb 20 17:04:59 2012 +0200
-
-    Use ezh/EZH in compose maps
-    
-    Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687
-    
-    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
-    Reviewed-by: Matt Dew <marcoz@osource.org>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 61725822f20f47684a545c1797183ee7075243ac
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Sun Feb 20 17:09:43 2011 +0200
-
-    Provide translation from XK_permille (ad5) to Unicode (U2030)
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=19687
-    
-    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
-    Reviewed-by: Matt Dew <marcoz@osource.org>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit d2cce0abba0fa0143f49026442c8cab5ed721625
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Feb 12 19:01:43 2012 -0800
-
-    nls: Use LC_CTYPE=C for sed magic
-    
-    Stricter versions of sed can trip up if the input does not match
-    LC_CTYPE
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit f180e043f55531933bedfa6e0ff36a00a9ec07f3
-Author: Frédéric Boiteux <fboiteux@calistel.com>
-Date:   Wed Nov 30 12:47:31 2011 +0000
-
-    Compositions with the dead greek symbol
-    
-    FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475>
-    
-    Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit d58e8f8e27790017fcfdeca0843b7318d541c189
-Author: Ryan Pavlik <rpavlik@iastate.edu>
-Date:   Sun Jan 1 21:04:52 2012 +0000
-
-    Use pthreads on MinGW also
-    
-    Use pthreads (provided by the pthreads-win32 compatability library which implements
-    them using native Win32 threading) on MinGW
-    
-    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-
-commit bf15ccb6821664746ec23d769d757edf8059007e
-Author: Ryan Pavlik <rpavlik@iastate.edu>
-Date:   Mon Jan 23 14:18:02 2012 +0000
-
-    Add XWindows.h include to Xxcbint.h
-    
-    This avoids some conflicting type re-definition errors which occur if
-    we attempt to include Windows headers after Xmd.h
-    
-    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-
-commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a
-Author: Matt Dew <marcoz@osource.org>
-Date:   Sat Jan 21 17:59:51 2012 -0700
-
-    informaltable & table cleanup
-    
-    On certain tables, add top and bottom borders to table header
-    and a bottom border to the table. This matches what those
-    tables in the old pdfs looked like.
-    
-    the <?dbfo keep-together='always'> prevents tables from
-    splitting across pages. Useful for tiny tables.
-    
-    Converting the colwidth to a floating point, IE, 1* -> 1.0*
-    cleans up these build errors:
-    WARNING: table-layout="fixed" and column-width unspecified =>
-    falling back to proportional-column-width(1)
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-
-commit bb551f654df8f647c867f79252241964521e689e
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Wed Dec 28 21:22:41 2011 -0800
-
-    Add more Xkb man pages to the See Also lists for core keyboard functions
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit b7bb23fe7c8b8a17128e5bc98a05f68595190438
-Author: Gaetan Nadon <nadon@memsize.(none)>
-Date:   Fri Dec 30 17:08:14 2011 -0500
-
-    docbook.am: embed css styles inside the HTML HEAD element
-    
-    Rather than referring to the external xorg.css stylesheet, embed the content
-    of the file in the html output produced. This is accomplished by using
-    version 1.10 of xorg-xhtml.xsl.
-    
-    This makes the whole html docs tree much more relocatable.
-    In addition, it eliminates xorg.css as a runtime file which makes
-    xorg-sgml-doctools a build time only package.
-    
-    Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>
-
-commit 70505468b7c4a7068cc39be42e421dcee34ec595
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Dec 13 19:58:30 2011 -0800
-
-    makekeys: move buf declaration from global to main to silence gcc -Wshadow
-    
-    The global was only referenced in the main() function, which passes it
-    as an argument of the same name to the parse_line() function, leading
-    to gcc -Wshadow warnings:
-    
-    makekeys.c: In function ‘parse_line’:
-    makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration
-    makekeys.c:54:13: warning: shadowed declaration is here
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66
-Author: Kusanagi Kouichi <slash@ac.auone-net.jp>
-Date:   Wed Dec 14 02:17:55 2011 -0500
-
-    XQueryColors: Split a request into multiple requests if necessary
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=9160
-    
-    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit d3b3570592e9b9e57f270a0bd86762fd205a2833
-Author: Andreas Wettstein <wettstein509@solnet.ch>
-Date:   Tue Nov 8 20:18:09 2011 +0000
-
-    XIM: Allow modifier releases in compose sequences (#26705)
-    
-    Currently, only non-modifier keys (actually, keysyms) can be part of a compose
-    sequence, and they are matched against the defined compose sequences at the
-    time the key is pressed.  The patch allows to use modifier keys an well, but
-    matches them on key release, and only if no other key has been pressed after
-    the modifier.
-    
-    Releasing a non-matched modifier during an ongoing compose sequence only aborts
-    the sequence if any modifier release would have matched.  In particular, if no
-    compose sequences with modifiers are specified, the compose mechanism works
-    exactly as without this patch.
-    
-    Even if modifiers are part of a compose sequence, they are not filtered.  This
-    is because modifiers affect the keyboard state no matter what we do here and,
-    therefore, filtering them only could confuse clients.
-    
-    The purpose is this extension to the compose mechanism is to allow to make
-    better use of keys in convenient reach for touch typing.
-    
-    Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Nov 29 23:56:57 2011 -0800
-
-    Reject negative string counts in copy_string_list
-    
-    Silences parfait warning of a potential memory leak:
-       Memory leak of pointer 'dst' allocated with malloc(length)
-            at line 160 of FSWrap.c in function 'copy_string_list'.
-              'dst' allocated at line 145 with malloc(length).
-              dst leaks when count <= 0 at line 154.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit bf2d7c8c6d70539c72560b1921e18df2610acf29
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Nov 11 14:56:36 2011 +1000
-
-    libX11 1.4.99.1
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 24283d40b1e4314c6647dda49d2a159833341a8b
-Author: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-Date:   Thu Sep 22 18:44:13 2011 -0400
-
-    makekeys: Fix build/target word size mismatch when cross-compiling
-    
-    Since makekeys is built using build environment's gcc and
-    runs natively, we have to make sure that the size of the
-    Signature type is the same on both the native environment
-    and the target, otherwise we get mismatches upon running X,
-    and some LSB test failures (xts5).
-    
-    Use an unsigned 32-bit integer on all platforms. Also,
-    eliminate the redundant multiple typedefs for the
-    Signature type.
-    
-    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-
-commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Wed Nov 9 21:00:36 2011 -0800
-
-    XlcSL.c: convert old-style function definitions to ANSI C89 style
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit f6dad6aaa384bf836baa28ccb72b476a85c40eff
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Oct 27 13:53:22 2011 +1000
-
-    Use GetReqSized for GetReq and GetReqExtra
-    
-    GetEmptyReq and GetResReq cannot do this due to the final typecast -
-    typically requests that need either of those do not have their own typedef
-    in the protocol headers.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit c9c99058b9d98789c0b2d7e78a23443c2b57a047
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Oct 14 14:51:06 2011 +1000
-
-    include: Add GetReqSized() for request buffers of specific size
-    
-    Some XI2 requests change in size over different versions and libXi would
-    need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the
-    library can explicitly specify the size of the request in 4-byte units.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit ba8a7a19165e30d14bc165f43f67c19b6a115585
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Oct 27 13:24:10 2011 +1000
-
-    Switch GetEmptyReq and GetResReq to call _XGetRequest
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit 4a060f993bf676cf21ad9784e010f54134da7b40
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Mon Oct 17 09:45:15 2011 +1000
-
-    Add _XGetRequest as substitute for GetReq/GetReqExtra
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit d8956520deb79c1cbb5e974c175bf8493859b22b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Oct 14 17:53:00 2011 -0700
-
-    Fix "nomal" -> "normal" typo in several comments
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 002b36e308a26a152504f9b40aa08a0dce9a7991
-Author: Xue Wei <Wei.Xue@Sun.COM>
-Date:   Fri Oct 14 17:39:21 2011 -0700
-
-    mbtocs should not truncate input
-    
-    Fixes pasting more than 1024 bytes into xterm, as described in
-    https://bugs.freedesktop.org/show_bug.cgi?id=25209
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Mon Oct 10 09:41:13 2011 +0300
-
-    Add new compose sequences
-    
-    This patch adds few new compose sequences to the en_US map, ligatures
-    common in typesetting and sequences already in use in the fi_FI map.
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=30621
-    https://bugs.freedesktop.org/show_bug.cgi?id=34523
-    
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 738f7b867341c1da87ee667d48815822715c3e75
-Author: Choe Hwanjin <choe.hwanjin@gmail.com>
-Date:   Thu Oct 13 07:58:02 2011 +0900
-
-    XIM: Make Xim handle NEED_SYNC_REPLY flag
-    
-    NEED_SYNC_REPLY flag should be in Xim not in Xic.
-    Because the focused Xic can be changed before sending sync reply.
-    After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY
-    flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet.
-    
-    This patch adds sync reply flag to Xim and removes sync reply
-    from Xic.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869
-    
-    Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 50e15379331c436851abb194251cde96999e67b3
-Author: Bodo Graumann <mail@bodograumann.de>
-Date:   Mon Oct 10 16:40:52 2011 +0200
-
-    libX11: Fixing modifier key range in Xutil.h (Bug #21910)
-    
-    IsModifierKey, defined in include/X11/Xutil.h, is a macro determining,
-    which keys are regarded as modifiers. The constants ISO_Level5_Shift,
-    ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving
-    some Neo2 modifiers functionless in combination with compose.
-    This patch adjusts the range to include the correct, full range of
-    modifier constants.
-    
-    Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277>
-    
-    X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910>
-    
-    Signed-off-by: Bodo Graumann <mail@bodograumann.de>
-    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-
-commit b5a108624331fabf393223c0891914cc54d4caf4
-Author: Yann Droneaud <yann@droneaud.fr>
-Date:   Tue Oct 11 17:27:59 2011 +0200
-
-    Return name instead of False in XSetICValues()
-    
-    In case of error, XSetICValues() must return the first argument
-    that failed to be set.
-    
-    But in some error paths, it returns False, which is converted to NULL,
-    so the function returns OK in case of error.
-    
-    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba
-Author: Yann Droneaud <yann@droneaud.fr>
-Date:   Sun Oct 9 17:56:45 2011 +0200
-
-    Return name instead of value in XGetIMValues() and XSetIMValues()
-    
-    As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3),
-    XGetIMValues() and XSetImValues() "returns the name of the first argument
-    that could not be obtained."
-    
-    But currently,
-    
-      err = XGetIMValues(im, "invalid", &arg, NULL);
-    
-    returns &arg instead of "invalid".
-    
-    This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897
-    
-    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit f2651e03f3295a453a2965c3749bc8b6e66f1c09
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Mon Oct 10 14:09:17 2011 -0700
-
-    Mark XKeycodeToKeysym as _X_DEPRECATED
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Oct 9 02:38:28 2011 -0700
-
-    Fix nobreakspace for pt_BR.UTF-8
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=31334
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 913603660c17ec59a4d39d3e3b9d60469ee5c060
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Oct 9 02:26:45 2011 -0700
-
-    Fix potential uninitialized variable access in _XimMakeICAttrIDList
-    
-    Found by clang static analysis
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Oct 9 02:25:50 2011 -0700
-
-    Remove self-resolving aliases
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=30112
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e
-Author: Matt Dew <marcoz@osource.org>
-Date:   Fri Oct 7 22:52:30 2011 -0600
-
-    Cleanup IDs and links in doc
-    
-    1 - fix the capitalization of the ID attributes to match either the
-         <title> or <funcdef> string it goes with.
-    2 - fix any <linkend>'s that were affected by 1.
-    3 - any <function> in the docs that has an actual funcdef,
-    will become an olink.
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-
-commit f858f3326adbc0c5711669b92a64a84a9083a055
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Oct 4 17:11:11 2011 -0400
-
-    [nls] Fix typo/synco.
-    
-    The iso8859-1 Compose table includes an optional section which uses
-    Ctrl<T> as a substitute for <Multi_key>.  In that section the sequence
-    to generate an @ (at) either was incorrectly copied from the Multi_key
-    section or was not kept in sync with the Multi_key section.
-    
-    Fixing this eliminates the warning from compose-check.pl:
-    
-    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-    ┃ Clash with existing sequence in iso8859-1/Compose.pre
-    ┃  on line 661: Ctrl<T> <A> <A>
-    ┃    line #661: Ctrl<T> <A> <A>          : "\305"        Aring
-    ┃    line #480: Ctrl<T> <A> <A>          : "@"   at
-    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 7f35f7efc23234b3f8529fee31a802c21846d9ab
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Mon Sep 26 11:32:56 2011 -0700
-
-    Remove conflicting compose sequences for cent and colon
-    
-    Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
-    Found by tinderbox
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Sep 25 16:29:17 2011 -0700
-
-    Add additional compose sequences for pound sterling, yen, and cent (mixed case)
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=1013
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sat Sep 24 16:44:04 2011 -0700
-
-    Use a configure check for seteuid
-    
-    HP-UX doesn't have seteuid
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=1497
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 79594b4d66344f248eb4314ecb78eb81f632c3ab
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Sep 20 16:06:10 2011 -0400
-
-    localedb specs: use <copyright> for first holder of multi license
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 154430268cf004b06920edde2f1812dc16d71fae
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Sep 20 16:01:52 2011 -0400
-
-    libX11 specs: use <copyright> for first holder of multi license
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f
-Author: Tollef Fog Heen <tfheen@err.no>
-Date:   Tue Sep 20 13:07:37 2011 -0400
-
-    NLS: Add more vulgar fractions
-    
-    Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions.
-    
-    Signed-off-by: Tollef Fog Heen <tfheen@err.no>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit e37a6da814b5653be46000a9a76902729660a2e6
-Author: Alexander Polakov <polachok@gmail.com>
-Date:   Sat Sep 17 20:54:58 2011 +0400
-
-    XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also
-    
-    There is no XAllowAccess man page to see.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit a23f3323f269b33a43d16dce01395cd28bc41b45
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 15:27:44 2011 -0400
-
-    XKB: provide adequate quotes for the license text
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a9c7a5cad91d968f5536ef8fc735036e921832a3
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 15:18:53 2011 -0400
-
-    XIM: refactor the multi licensing legal text
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit c46f934ed89e7de79746a0387c9f998d91994ea6
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 10:33:30 2011 -0400
-
-    xim trans: restore Fujitsu copyright legal text
-    
-    Somehow lost during docbook conversion. text from x.org ftp R7.5.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 10:11:46 2011 -0400
-
-    xtrans: restore X Consortium original legal text
-    
-    Asking X Consortium permission to use The Open Group name makes no sense.
-    Even more so in 1994 before X Window System was passed on to the Open Group.
-    
-    Using original text from xorg-docs/general/License
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 136a381585a4a9686c11bad1a6130837978e677f
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 10:03:21 2011 -0400
-
-    Framework: restore X Consortium copyright
-    
-    Somewhat dammaged during docbook conversion.
-    Also restore pasrt of the original license text
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 33f346878406762704a0c13cdc018111c666f3c1
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 09:50:00 2011 -0400
-
-    localedb: restore X Consortium original legal text
-    
-    Asking X Consortium permission to use The Open Group name makes no sense.
-    Even more so in 1994 before X Window System was passed on to the Open Group.
-    
-    Using original text from xorg-docs/general/License
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit e99c9338e413efca026210b9d830efb5c74d34e5
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 08:23:18 2011 -0400
-
-    specs: support multi licensed copyright notice and license text
-    
-    For documentation having multiple licenses, the copyright and legalnotice
-    elements sequence cannot instantiated multiple times.
-    The copyright notice and license text are therefore coded inside a
-    legalnotice element. The role attribute on the paragraph is used to allow
-    styling of the copyright notice text which should not be italicized.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit b9dedc757e667333ce899115d618f25cdaa4dd5e
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 08:17:50 2011 -0400
-
-    localedb: add release info to spec
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 4519c89a87ddce01e599542737a27c26030fe4ff
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 08:05:32 2011 -0400
-
-    specs: fix The Open Group license text
-    
-    The warranty referred to the X Consortium
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 08ac378423e7be72e340197ba5559a1a36f1783c
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 19 08:03:39 2011 -0400
-
-    specs: The strandard name is still "X Consortium Standard"
-    
-    This spec, and fsproto spec, are the only two docs with a different
-    standard name.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Sep 18 13:22:34 2011 -0400
-
-    specs: support multi licensed copyright notice and license text
-    
-    For documentation having multiple licenses, the copyright and legalnotice
-    elements sequence cannot instantiated multiple times.
-    The copyright notice and license text are therefore coded inside a legalnotice
-    element. The role attribute on the paragraph is used to allow styling of the
-    copyright notice text which should not be italicized.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 278ca8947c1dabb2b819527dca0fa6190c034f67
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Sep 16 11:45:56 2011 -0400
-
-    docs: merge copyright holder under the same copyright notice
-    
-    As per the docbook markup dtd.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 7ff012bb433109a622ac122ade71669e842ebdcf
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Sep 16 10:09:57 2011 -0400
-
-    specs: handle multiple sets of copyright notice/license/warranty
-    
-    Docbook groups all the <copyright> elements together and all the
-    <legalnotice> elements together.
-    
-    We cannot have a sequence:
-    <copyright> <legalnotice> <copyright> <legalnotice> [...]
-    
-    A workaround, which was done in some documents, is to put the copyright
-    notice inside the legalnotice in plain text without the <copyright> element.
-    A formal paragraph title is added here which makes the copyright notice bold,
-    and makes it much easier to locate.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 4a550c71b8221c37b1a9378d5a170da9eaa03405
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Sep 14 15:55:42 2011 -0400
-
-    specs: remove orphan affiliation.
-    
-    Authors affiliation are correct.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 0cc02a6df65214560b7575e89cebee741d6d2469
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Sep 13 17:39:02 2011 -0400
-
-    specs: use appropriate markup for Copyright statements
-    
-    Also move <releaseinfo> to match order of appearance
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit afe13e19ebf0fc4e3460644164433af016f0add7
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 12 16:54:45 2011 -0400
-
-    docs: use the &fullrelvers; entity to set X11 release information
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 22a2153282db13e9d94881022b8c979539841a2c
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Sep 11 19:49:53 2011 -0400
-
-    docs: remove <productnumber> which is not used by default
-    
-    This element is not rendered by default on the title. A template
-    customization is required to display it.
-    X Window System does not have a product number.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Sep 11 17:40:21 2011 -0400
-
-    docs: use the &fullrelvers; entity to set X11 release information
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a6b2992f50b571d612ea9ade631c432c3099bc12
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Sep 11 17:38:42 2011 -0400
-
-    docs: remove orphan <affiliation>
-    
-    Somehow created during the conversion from roff. Unable to locate
-    the author to which it belongs.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit c7420060b6e47b8467ba50c796ec3c1bab090bc7
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Sep 11 17:38:05 2011 -0400
-
-    docs: remove <productnumber> which is not used by default
-    
-    This element is not rendered by default on the title. A template
-    customization is required to display it.
-    X Window System does not have a product number.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 7d5b718c1edbc43c54b7001be548e515a49540ea
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Sep 9 14:46:39 2011 -0400
-
-    docbook.am: embed css styles inside the HTML HEAD element
-    
-    Rather than referring to the external xorg.css stylesheet, embed the content
-    of the file in the html output produced. This is accomplished by using
-    version 1.10 of xorg-xhtml.xsl.
-    
-    This makes the whole html docs tree much more relocatable.
-    In addition, it eliminates xorg.css as a runtime file which makes
-    xorg-sgml-doctools a build time only package.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 24632d280491c465dfe208ef788815890892e326
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Sep 5 12:53:12 2011 -0400
-
-    compose: upgrade makefile to support olinking on chunked html
-    
-    The essential differences over the regular docbook.am are:
-    Adding root.filename parameter for naming of chapters html files.
-    Using xhtml xmlto format and xorg-chunk.xsl stylesheet
-    Set olink.base.uri for pdf but not for chunked html
-    Olink is not applicable to ps and txt formats.
-    
-    Html chapters are added to shelf_DATA as they are also installed.
-    The xml is generated from a perl script and not distributed.
-    
-    Requires version 1.10 of xorg-sgml-doctools.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Aug 31 19:46:20 2011 -0400
-
-    docbook.am: refactor common flags for xmlto and xsltproc
-    
-    Maximize reuse and reduce risk of setting the wrong flag
-    at the wrong place.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Aug 31 10:46:59 2011 -0400
-
-    docbook.am: add search path for local entities
-    
-    Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities.
-    A module may want to add entities that apply only to itself and
-    not to all modules, like the xserver does.
-    
-    This feature may or may not be used in this module, but all modules
-    share a copy of docbook.am.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit b5ed2d368d47f244d43d2513329fa2758bc4ef54
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Aug 25 14:39:20 2011 -0400
-
-    docbook.am: explicitly list xmlto flags for each target
-    
-    Normal evolution of make targets make it impractical to factor out
-    common command flags for xmlto.
-    
-    The targets now list each command option as its presence or absence
-    needs to be justified.
-    
-    xorg.ss is only needed by xmlto for html.
-    masterdb is only needed by xmlto.
-    img.src.path must not be used by html.
-    xsltproc need to use customization layer xorg-*.xsl.
-    txt format is not required to search masterdb.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit d5b3605f3b0639452e892e9ff3afb18bb7442069
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Aug 25 13:12:49 2011 -0400
-
-    docbook.am: do not generate docs if docbook customization layer is missing
-    
-    The stylesheets used to be only about style, fonts or colors.
-    Complex features are now used like olink and chunked html which
-    may cause a build break when stylesheets are missing or lead to hard
-    to find problem.
-    
-    Some modules may be built when stylesheets are present while others
-    are built without. There is no requirement to build crippled docs.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 7f23c72c94d9d14122426b0d8c66054f1402769a
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Aug 5 14:33:32 2011 -0400
-
-    libX11 specs: review doclifter generated tables
-    
-    Many tables had a questionnable layout and some had information dropped.
-    Each table was cross-referenced with a pre-docbook version
-    to ensure semantic integrity.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Jul 20 15:28:47 2011 -0400
-
-    credits.xml: remove toc from Acknowledgments
-    
-    There should be no toc for a simple preface with only one
-    Acknowledgments section.
-    
-    Use <simplesect> markup rather than sect1.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Aug 4 19:59:37 2011 -0400
-
-    libX11 specs: move </para> above <varaiablelist>
-    
-    Many, but not all, function synopsis have a paragraph that
-    nests the variable list. The code was generated by doclifter
-    and there is no apprent reasons as to why it was done this way.
-    Found while investigating a spacing issue.
-    
-    Before the patch:
-    <para>Some blurb about the function
-    <funcsynopsis>
-    </funcsynopsis>
-    <variablelist>
-    </variablelist>
-    </para>
-    
-    After the patch:
-    <para>Some blurb about the function</para>
-    <funcsynopsis>
-    </funcsynopsis>
-    <variablelist>
-    </variablelist>
-    
-    There are no noticable differences when reading the doc
-    other than than the removed few pixels of spacing between
-    the function sysnopsis and the variable list block.
-    
-    In some cases, there are no "blurb about the fucntion"
-    and the empty paragraph is removed.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Jul 28 19:46:14 2011 -0400
-
-    compose specs: generate chunked html
-    
-    For large 600 page documents such as this one, chunked html
-    provide faster browser load time and better navigation.
-    
-    Simply click on the locale of your choice in the toc and
-    the browser loads just that one file. Being a DocBook,
-    it benefits from all of the usual features and can be
-    integrated with the rest of the documentation.
-    
-    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Jun 23 15:16:47 2011 -0400
-
-    specs: build compose keys tables in specs/i18n/compose
-    
-    Build the tables article together with the rest of the specs.
-    Make it transparent that the source in generated in nls.
-    Reuse docbook.am and get all the features such as olink.
-    
-    The docbook article file stem and id must be the same. The new name
-    for the main article is libX11-keys. The new installation location
-    is $docdir/libX11/i18n/compose.
-    
-    The nls dir retains the role of generating the DocBook/XML source
-    but does not build neither installs output formats or generated source.
-    
-    The tables article now has to specify that each included locale
-    section is a dependency. It did not matter before as they were web links.
-    
-    The xorg-sgml-doctools masterdb shall be updated to include this new doc.
-    Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose.
-    
-    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Jun 23 14:43:31 2011 -0400
-
-    nls: restructure charts as a single article with sections
-    
-    Looks more like a real article with a toc rather than individual
-    web pages. Looks nicer in pdf.
-    
-    Each locale is a "section" rather than an "article".
-    Using XInclude to aggregate xml source files gets you the toc for free.
-    
-    The single document is over 600 pages while there were 62 separate
-    documents previously. FOP version 1.0 is required to handle missing
-    character like capital sharp s.
-    
-    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 28 19:32:40 2011 -0700
-
-    libX11 1.4.4
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ab1f30231755d99ed123af6873b981834640f01d
-Author: Matt Dew <marcoz@osource.org>
-Date:   Wed Jul 13 12:33:40 2011 -0600
-
-    Add id attributes to error codes to allow linking from other docs.
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Acked-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 5c831fef402914ccf2ec14005c25be48852f119b
-Author: David Coppa <dcoppa@gmail.com>
-Date:   Tue Jul 12 10:05:47 2011 +0200
-
-    Fix libpthread linkage on OpenBSD.
-    
-    OpenBSD prefers to use the -pthread to fetch pthread libs when needed.
-    
-    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Jun 22 20:46:26 2011 -0400
-
-    config: use XORG_WITH_PERL macro to replace custom program check
-    
-    New in version util-macros 1.15, the macro does the usual checking
-    for program path and provides an interface for makefile variables.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 47d99a324db9232029a22dd523e3bc3ed0936aca
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Jun 22 20:41:18 2011 -0400
-
-    config: update XORG_WITH_FOP macro usage
-    
-    A new feature to test for a minimum version has been added.
-    
-    The parameter position changed. Due to limited usage
-    and requiring 1.15, it turns out to be backward compatible.
-    
-    There is no functional change to how docs are build.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Jun 22 11:48:49 2011 -0400
-
-    Remove unused xmlrules.in in specs, now in /nls
-    
-    The specs dir has been converted to docbook.am
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 9992092609bd83a0db778e9a9ac1e879d445e637
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Mar 31 10:23:22 2011 -0400
-
-    nls: move xmlrules.in from specs to nls
-    
-    It is no longer used in the specs dir.
-    Remove html from CLEANFILES as it breaks. Make do not clean directories
-    Remove SUFFIXES as pattern rules are used rather than suffix rules.
-    
-    Other improvements are possible, the first priority is to move it out
-    of the specs dir.
-    
-    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Jun 5 16:27:36 2011 -0400
-
-    Install target dbs alongside generated documents
-    
-    This matches a change in xorg-sgml-docs whereby the masterdb will look for
-    the target dbs into the same location as the generated documents.
-    
-    The target dbs are now installed alongside the generated documents.
-    Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
-    has the potential of installing outside the package prefix and cause
-    distcheck to fail when user does not have write permission in this package.
-    
-    Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
-
-commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jun 7 18:41:30 2011 -0700
-
-    specs/libX11: Turn appendix references into links
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jun 7 18:37:41 2011 -0700
-
-    specs/libX11: Turn chapter references into links
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jun 7 00:52:32 2011 -0700
-
-    specs/libX11: Turn many "see section ..." into links
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 02d4c08dead2f266809b3f93ec72377783423ac7
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Jun 5 22:50:37 2011 -0700
-
-    specs/libX11: Convert some header filenames to filename tags
-    
-    perl -i -p -e 's{^&lt;(.*\.h)&gt;\ *}{<filename class="headerfile">&lt;\1&gt;</filename>}' *.xml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit c51a011329afa6e5b9d2b285349c132683ecf9fb
-Author: Matt Dew <marcoz@osource.org>
-Date:   Tue May 31 20:03:23 2011 -0600
-
-    Add id attributes to funcsynopsis to allow other docs to olink to them.
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri May 27 20:14:36 2011 -0700
-
-    Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=37624
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b
-Author: Matt Dew <marcoz@osource.org>
-Date:   Sat May 21 00:23:06 2011 -0600
-
-    Add id's to functions, to make clickable links.
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 5c06bc594473f6ab234724cd90db32e7b57fe811
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri May 20 15:38:08 2011 -0700
-
-    libX11 spec: fix monospaced column alignment after deligaturization
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ef0019c714c273cb9b4ad3eba52d0b905109826b
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri May 20 15:51:46 2011 -0400
-
-    Expand latin ligatures out to their NFKC equivalents.
-    
-    Ligatures should be done by the typesetting system.
-    Manuscripts should not bother with them.
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-    Reviewed-by: Keith Packard <keithp@keithp.com>
-
-commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Thu May 12 16:21:50 2011 +0200
-
-    XCB: Add more friendly error messages for common asserts
-    
-    This patch adds more friendly error messages for three common classes of
-    assertion:
-        - missed sequence numbers due to being griefed by another thread
-        - unknown requests in queue due to being griefed by another thread
-        - extensions dequeuing too much or too little reply data
-    
-    It adds error messages offering advice (e.g. call XInitThreads() first)
-    on stderr, but still generates actual assertions.  Hopefully this means
-    it's a little more Googleable and a little less frightening.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 159bf292477048b9a2f074735afc516f52c93d80
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu May 19 20:22:11 2011 -0400
-
-    Remove misplaced hyphens in libX11 DocBook/XML #37364
-    
-    Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue May 17 20:49:59 2011 -0700
-
-    Fix man page and comment references to use XFreeModifiermap (lowercase map)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue May 17 20:30:54 2011 -0700
-
-    XKB man pages: Fix coordinantes typo in multiple pages
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue May 17 16:27:32 2011 -0700
-
-    DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC"
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ae39d82b01359b07dd1fe092d867f79ea95a5438
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun May 8 09:08:07 2011 -0700
-
-    Silence clang static analysis warnings for SetReqLen
-    
-    This provides a simplified version of the SetReqLen macro when using clang for
-    static analysis.  Prior to this change, we would see many Idempotent operation
-    warnings inside this macro due to the common case of calling with arg2 and
-    arg3 being the same variable.  This has no effect on code produced during
-    compilation, but it silences a number of false positives in static analysis.
-    
-    XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value
-        SetReqLen(req, num_modifiers, num_modifiers);
-        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    In file included from XIPassiveGrab.c:26:
-    .../include/X11/Xlibint.h:580:8: note: instantiated from:
-                n = badlen; \
-                  ^
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 130af2bc02090ee2526adb2f9803fc07019b8f1f
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 4 15:34:31 2011 -0700
-
-    XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case
-    
-    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
-            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
-                                   ^~~~~~~
-    
-    Found-by: clang static analyzer
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit c987ef04bea345d5810e60cf6c53b747ddbe910e
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 4 15:31:17 2011 -0700
-
-    Revert "XKB: Avoid a possible NULL dereference"
-    
-    Sorry for the noise.  I accidentally pushed and didn't mean to. =(
-    
-    This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08.
-
-commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 4 11:35:31 2011 -0700
-
-    Dead code removal
-    
-    XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value
-        for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) {
-                           ~~~^~~~
-    XKBGeom.c:115:5: warning: Value stored to 'pos' is never read
-        pos= 0;
-        ^    ~
-    
-    Found-by: clang static analyzer
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 4024091678ea07e0d898b798df9b29f3bf68eb08
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 4 11:34:53 2011 -0700
-
-    XKB: Avoid a possible NULL dereference
-    
-    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
-            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
-                                   ^~~~~~~
-    
-    Found-by: clang static analyzer
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 626e5e34be55b7cf734d745bd40a7ee3359029f8
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 4 11:21:41 2011 -0700
-
-    Annotate _XIOError as _X_NORETURN
-    
-    Found-by: clang static analyzer
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit d3d7896408b435ab42656398839ff4351a37724d
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Tue May 3 09:32:53 2011 -0700
-
-    clang analyzer: Don't warn about Xmalloc(0)
-    
-    This will prevent a number of false positives in where clang's
-    static analysis reports about calls to malloc(0).
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 393921cf2188b2b0713cc157effaf17d0abab783
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Apr 21 16:21:04 2011 -0700
-
-    Delete special case code to append "/sparcv9" to i18n module path
-    
-    Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit.
-    Inconsistent with all other platforms, and a bit overcomplicated.
-    
-    Should anyone need to continue using that path, simply build with
-    a #define POSTLOCALELIBDIR "sparcv9" to get the same result.
-    
-    Fixes Solaris bug 7038737:
-     sparcv9 Xlib looking in wrong path for i18n loadable modules
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-
-commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Apr 14 13:47:12 2011 -0700
-
-    specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244]
-    
-    Was incorrectly showing AllPlanes() instead when describing XOpenDisplay()
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=36244
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit b850adbdebcf500c659f85285d4d7374e15857f5
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 12 22:30:45 2011 -0700
-
-    Convert malloc(strlen()); strcpy() sets to strdup
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 12 21:27:45 2011 -0700
-
-    Replace Xmalloc+bzero pairs with Xcalloc calls
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit ac1e2bff7121987fd768500a11d428d9fb9447c5
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Fri Mar 25 14:47:35 2011 +0200
-
-    om: Fix memory leaks on get_font_name error paths.
-    
-    While at it, remove unneeded check for NULL before Xfree.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 7c362e275c93c92b4e68fe862e73ee36665de703
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Wed Mar 30 15:06:10 2011 +0300
-
-    xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.
-    
-    pScreenData is replaced when building per visual intensity tables. If
-    malloc failed the old value of pScreenData (stored also in
-    pScreenDefaultData) was being leaked. Also, property_return wasn't
-    free'd in that case.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Wed Mar 30 15:19:28 2011 +0300
-
-    xcms: Fix error on LINEAR_RGB_InitSCCData error path.
-    
-    Due to what looks like a copy & paste error, pScreenData->pBlueTbl would
-    be accessed after being free'd.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d749948f9492fd9b61c74655a08e32c595e0e3a5
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Fri Mar 25 16:06:15 2011 +0200
-
-    om: Fix potential memory leak in init_om.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 20:40:41 2011 +0200
-
-    om: Fix memory leak on read_EncodingInfo error path.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 19:55:33 2011 +0200
-
-    Fix memory leaks on _XimCbDispatch error path.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 19:52:05 2011 +0200
-
-    Fix memory leak on _XimCommitRecv error path.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 19:48:44 2011 +0200
-
-    Fix memory leaks on _XimWriteCachedDefaultTree error paths.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit e29be94edbb58b3b8dab545377a710d1f73b61e0
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 19:42:36 2011 +0200
-
-    Fix memory leaks on _XimGetAttributeID error paths.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d144a50512466766f55ce61e3884925334b08f0d
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 19:36:56 2011 +0200
-
-    Fix memory leaks on _XimProtoCreateIC error paths.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 16:24:29 2011 +0200
-
-    Fix leaks in _XimEncodingNegotiation error paths.
-    
-    name_ptr and detail_ptr weren't free'd in some cases before returning
-    False.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 396e5a452a59c1f121220ba72167b720a863b30f
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Thu Mar 24 14:17:44 2011 +0200
-
-    FSWrap: fix potential leak in copy_string_list
-    
-    If list_count is 0, dst would be allocated and leaked.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 1a944260182bb552b954d69f6355c2760d4415df
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Wed Mar 23 14:36:22 2011 +0200
-
-    Fix memory leak with broken bitmap files in XReadBitmapFileData
-    
-    Bitmap file data is read looping through the lines in the input file. If
-    there is extra data after the bitmap, these lines will be processed and
-    if this data represents another bitmap it will replace the one read
-    before causing the memory allocated for bits to leak.
-    
-    This changes the code to stop processing the file once a bitmap was
-    read.
-    
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 12 20:50:42 2011 -0700
-
-    Fix "attrinute" typo in comments in ximcp
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 7103b83a88edb9c93acfa68f3b556595b087baff
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Apr 8 21:36:11 2011 -0700
-
-    Make doc install subdirectories more like the pre-docbook.am paths
-    
-    Haven't restored the "specs" path in the install path, but have restored
-    libX11 & i18n subdirectories in the path for better logical grouping.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Apr 8 13:24:28 2011 -0700
-
-    Install xml versions of specs even if HAVE_XMLTO is false
-    
-    Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour
-    from before docbook.am changes (commit e8c76407d2f6e3)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Apr 5 13:29:04 2011 -0700
-
-    libX11 1.4.3
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit e8c76407d2f6e3b11babdb84426e43e780c859c3
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Feb 25 09:23:54 2011 -0500
-
-    Documentation: add Docbook external references support
-    
-    When writing technical documentation, it is often necessary to cross
-    reference to other information. When that other information is not in the
-    current document, additional support is needed, namely <olink>.
-    
-    A new feature with version 1.7 of xorg-sgml-doctools adds references to
-    other documents within or outside this package.
-    
-    This patch adds technical support for this feature but does not change
-    the content of the documentation as seen by the end user.
-    
-    Each book or article must generate a database containing the href
-    of sections that can be referred to from another document. This database
-    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
-    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
-    documentation is the same. This forms a virtual document tree.
-    
-    This database is consulted by other documents while they are being generated
-    in order to fulfill the missing information for linking.
-    Refer to the xorg-sgml-doctools for further technical information.
-    
-    Co-authored-by: Matt Dew <marcoz@osource.org>
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 25eb76b3d2726f2f1de759901971ae53b2539dc4
-Author: Harshula Jayasuriya <harshula@gmail.com>
-Date:   Mon Mar 21 14:49:37 2011 +0000
-
-    Add #define XK_SINHALA
-    
-    Add #define XK_SINHALA so that the Sinhala keysyms can be used by
-    the lk xkb keymap.
-    
-    Signed-off-by: Harshula Jayasuriya <harshula@gmail.com>
-    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-
-commit db8b20b789112717ac0590b40f0b4dc2171797d0
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Thu Mar 17 16:15:00 2011 -0700
-
-    configure.ac: Bump version to 1.4.2
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Mar 15 16:48:07 2011 -0700
-
-    Call _XErrorFunction without holding the Display lock.
-    
-    Historically, Xlib dropped the Display lock around the upcall to any
-    user-supplied _XErrorFunction, but somewhere along the way I quit doing
-    that if you built with XCB. The reasons are lost somewhere in the
-    pre-git history of Xlib/XCB, and I can't now see any reason to hold the
-    lock.
-    
-    The documentation for XSetErrorHandler still applies though:
-    
-        Because this condition is not assumed to be fatal, it is acceptable
-        for your error handler to return; the returned value is ignored.
-        However, the error handler should not call any functions (directly
-        or indirectly) on the display that will generate protocol requests
-        or that will look for input events.
-    
-    So while you are now once again permitted to re-enter Xlib from the
-    error handler, you're only allowed to call non-protocol functions.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit fd85aca7a616c595fc17b2520f84316a11e8906f
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Mar 14 14:45:35 2011 -0700
-
-    Ignore user locks after sleeping in _XReply and _XReadEvents.
-    
-    This bug appears as a hang in applications that wait for replies from
-    multiple threads, where one such thread has taken a user lock using
-    XLockDisplay.
-    
-    Prior to this fix, the code could deadlock in this way: If thread 1 goes
-    to sleep waiting for a reply, and then thread 2 takes a user lock and
-    waits for a reply, then thread 2 will wait for thread 1 to process its
-    reply (because responses must be processed in order), but thread 1 will
-    wait for thread 2 to drop its user lock.
-    
-    Fixed by making thread 1 not wait for thread 2 to drop its user lock.
-    This makes the semantics of user locks hard to define, but they were
-    already hard to define. The new behavior appears to be consistent with
-    the way Xlib worked historically, anyway.
-    
-    Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html
-    
-    There was a similar potential for deadlock in _XReadEvents, fixed the
-    same way, with the same caveats about user-lock semantics.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Tue Jan 18 15:58:20 2011 +0200
-
-    xkb: XkbPropertyPtr determined allocation success from wrong variables
-    
-    Cannot reach dead statement "return NULL;"
-    
-    Check for the NULLness of prop->name and prop->value instead of
-    name and value, which was checked earlier anyway. Decided against
-    using strdup due to curious memory allocation functions and the
-    rest of the xkb not using it either.
-    
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
-
-commit 6a4d027284e7bb5dd458157947bbb1ff580ad071
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 10 16:37:22 2011 +0200
-
-    keyBind: Use Xcalloc to initialize allocated _XKeytrans
-    
-    Using uninitialized value "p->modifiers"
-    
-    Small fix by using Xcalloc instead of Xmalloc
-    
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
-
-commit b993d73bb3214ecc24646f5427c8003b816c6921
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 10 16:22:45 2011 +0200
-
-    im/ximcp: release modifiermap before returning
-    
-    Variable "map" goes out of scope
-    
-    Release modifiermap before returning. Reordered code to call
-    XGetModifierMapping after the first return from the function.
-    
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
-
-commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Feb 25 09:23:54 2011 -0500
-
-    Docbook: change the book id to match the xml file basename
-    
-    This is required for the up-coming external references support.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Mon Feb 21 21:54:17 2011 +0100
-
-    Make the Local XIM request key releases for braille
-    
-    Braille chords management needs key release events. We need to explicitly
-    request then, else GTK would not pass them throught XFilterEvent and braille
-    wouldn't work.
-    
-    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-
-commit c97c42c49cd5095462abecdf908b416fb0b540b6
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Mon Feb 21 17:27:38 2011 +0100
-
-    Match braille patterns with compose tree
-    
-    Braille patterns should also be usable in Compose.  This combines the
-    implementation of braille chords and compose tree: only emit the braille
-    pattern if it can not be found in the compose tree, if any.
-    
-    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-
-commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Mon Feb 21 15:56:54 2011 +0100
-
-    Fix status reporting for braille patterns
-    
-    _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't
-    convert to the current MB charset.
-    _XimLocalUtf8LookupString needs to set the braille keysym and status too.
-    
-    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-
-commit 993abe751f4141f54d8d28b8b73588a1c9085970
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Feb 11 14:49:17 2011 -0800
-
-    Clean up memory when first XCreateRegion succeeds and second fails
-    
-    Error: Memory leak (CWE 401)
-       Memory leak of pointer 's' allocated with XCreateRegion()
-            at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'.
-              's' allocated at line 387 with XCreateRegion().
-              s leaks when s != 0 at line 387.
-    Error: Memory leak (CWE 401)
-       Memory leak of pointer 'tra' allocated with XCreateRegion()
-            at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'.
-              'tra' allocated at line 1451 with XCreateRegion().
-              tra leaks when tra != 0 at line 1451.
-    
-    [ This bug was found by the Parfait 0.3.6 bug checking tool.
-      For more information see http://labs.oracle.com/projects/parfait/ ]
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Feb 11 14:20:24 2011 -0800
-
-    ximcp: Prevent memory leak & double free if multiple %L in string
-    
-    In the highly unlikely event that TransFileName was passed a path
-    containing multiple %L entries, for each entry it would call
-    _XlcFileName, leaking the previous results, and then for each entry it
-    would copy from that pointer and free it, resulting in invalid pointers
-    & possible double frees for each use after the first one freed it.
-    
-    Error: Use after free (CWE 416)
-       Use after free of pointer 'lcCompose'
-            at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
-              Previously freed at line 360 with free.
-    Error: Use after free (CWE 416)
-       Use after free of pointer 'lcCompose'
-            at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
-              Previously freed at line 360 with free.
-    Error: Double free (CWE 415)
-       Double free of pointer 'lcCompose'
-            at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
-              Previously freed at line 360 with free.
-    
-    [ This bug was found by the Parfait 0.3.6 bug checking tool.
-      For more information see http://labs.oracle.com/projects/parfait/ ]
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 502d414118c97d35a44f8e295709682022876331
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Thu Feb 3 17:08:57 2011 +0200
-
-    xcms/cmsProp: don't deal with uninitialized values, fail instead
-    
-    Properly handle the return value of XGetWindowProperty by considering
-    if after the loop as well.
-    
-    Using freed pointer "prop_ret"
-    
-    There were numerous things wrong in how this function interacted with
-    XGetWindowProperty.
-    
-    None of the local variables were initialized and remained that way if
-    the call to XGetWindowProperty returned 1 (not Succeed). That doesn't
-    result in after_ret being initialized in which case if it happens to
-    be 0, the loop was exited. In that case format_ret and nitems_ret were
-    uninitialized and the function might return with success (but with
-    uninitialized pointer in prop_ret) or XcmsFailure.
-    
-    As the buffer enlarging code was called only when XGetWindowProperty
-    failed (returned not Success), after_ret would not have been
-    initialized. It would have been initialized only if the
-    XGetWindowProperty has returned Success earlier, but in that case the
-    code fragment would not have been reached.
-    
-    This patch alters the function to return XcmsFailure if the call to
-    XGetWindowProperty fails.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-
-commit c37e278993b9e5b3d7025ef4c434373a011996ec
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Mon Jan 31 14:02:07 2011 +0200
-
-    xcms/LRGB: don't double-free property_return
-    
-    property_return was free'd before and in the case the conditional is true,
-    the call to XcmsGetProperty failed which means that property_return wasn't
-    set so there is no need to free it again.
-    
-    Double free of pointer "property_return" in call to "free"
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-
-commit 50f4107811249806718a100f9d34f996c58e5e25
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Wed Feb 2 08:58:45 2011 -0800
-
-    Xrm.c: ReadInFile: refactor fstat error handling
-    
-    We can simplify the fstat failure case now that the GetFileSize macro
-    has been expanded inline.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-
-commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Wed Feb 2 08:56:00 2011 -0800
-
-    Expand GetSizeOfFile() macro at the one place it's called
-    
-    Removes XrmI.h header that only contained this single macro
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-
-commit 450e17422c0e374d25c643f343ea268cec68da38
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:01:57 2011 +0200
-
-    XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size
-    
-    Possible overrun of 8192 byte fixed size buffer "buffer" by copying
-    "ext->name" without length checking
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Mon Jan 31 14:02:13 2011 +0200
-
-    lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory
-    
-    Fixed by zero'ing conv on allocation with Xcalloc. Then
-    close_converter works properly.
-    
-    Using uninitialized value "conv->state" in call to function "close_converter"
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 03f81ad8fb9783986cf9b17661dd31e95c396681
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:16 2011 +0200
-
-    xlibi18n/lcFile: Removed superfluous check for NULL target_dir
-    
-    The situation is already handled before this code.
-    
-    Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..."
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:15 2011 +0200
-
-    ximcp/imLckup: Handle negative return value from _Xlcwctomb
-    
-    Fixed by negative value to memcpy by checking for the negative return
-    value of _Xlcwctomb and returning 0/XLookupNone in that case.
-    
-    a negative value was passed to memcpy
-    
-    Unfortunately the other return values for *status don't fit into the
-    error (which appears to indicate some internal error or running out of
-    memory). The other valid status codes are XBufferOverflow,
-    XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of
-    these has a specific meaning attached.
-    
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 79a5c86e020f08cc108184298a72e2777036de39
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:14 2011 +0200
-
-    ximcp/imTrX: Handle failing XGetWindowProperty
-    
-    Checked return value of XGetWindowProperty and return false if it fails.
-    
-    Return value of "XGetWindowProperty(im->core.display, spec->lib_connect_wid, prop, 0L, (length + bytes_after_ret + 3UL) / 4UL, 1, 0UL, &type_ret, &format_ret, &nitems, &bytes_after_ret, &prop_ret)" is not checked
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Mon Jan 31 14:02:12 2011 +0200
-
-    XlibInt: info_list->watch_data was reallocated, but result was discarded
-    
-    info_list->watch_data was being reallocated, but the return value of
-    the reallocation was stored only into a local variable. This might
-    cause some funky behavior and crashes.
-    
-    Variable "wd_array" goes out of scope
-    Value "wd_array" is overwritten in "wd_array = (XPointer*)realloc((char*)info_list->watch_data, (((dpy->watcher_count + 1) * 4U == 0U) ? 1U : ((dpy->watcher_count + 1) * 4U)))"
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:10 2011 +0200
-
-    GetProp: Zero-initialized error so its resourceID field is initialized
-    
-    Using uninitialized value "error.resourceID" in call to function "_XError"
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 85e9f38e016137f0ff2791eb0d092ab027382d2c
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Tue Feb 1 11:07:25 2011 +0200
-
-    xcms/LRGB: Add a label for freeing property_return.
-    
-    The rest of the code uses goto's to free memory allocated later
-    and prevent memory leaks, but there were several paths were
-    property_return was free'd just before a goto.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 3161dc57d4e9b70f852f05e5e474455e121b06ab
-Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-Date:   Mon Jan 31 14:02:08 2011 +0200
-
-    xcms/LRGB: Fix potential resource leak.
-    
-    property_return was not free'd if the allocation of pRedTbl failed.
-    
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit be3e6c205d94dedc1cdebf5d17b987f0f828377a
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:06 2011 +0200
-
-    Xrm: Handle the extremely unlikely situation of fstat failing
-    
-    Tracked variable "size" was passed to a negative sink.
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:05 2011 +0200
-
-    Xrm: NEWTABLE had a memory leak after a memory allocation error
-    
-    The NEWTABLE macro missed freeing its allocated memory on subsequent
-    memory allocation errors. Added call to Xfree.
-    
-    Variable "table" goes out of scope
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 7110ac653349a23c80c365f11f6270dc27c8975a
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:03 2011 +0200
-
-    ImUtil: Handle a memory leak in one early return branch
-    
-    Fixed memory leak by adding Xfree for image
-    
-    Variable "image" goes out of scope
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d695f5da9f5b778e54b6987d9177048e32818c4d
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:02:01 2011 +0200
-
-    ximcp/imRm: Handle leaking colormap_ret
-    
-    Fixed memory leak by adding Xfree for colormap_ret
-    
-    Variable "colormap_ret" goes out of scope
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:01:59 2011 +0200
-
-    ximcp/imRmAttr: Handle leaking missing_list
-    
-    Fixed memory leak by adding Xfree and initializing missing_list with NULL
-    
-    Variable "missing_list" goes out of scope
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:01:58 2011 +0200
-
-    ximcp/imRmAttr: Handle leaking colormap_ret
-    
-    XFree colormap_ret and initialize it when appropriate.
-    
-    Variable "colormap_ret" goes out of scope
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit f66a032a937030f2d9baa81744d36dc585bb085c
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:01:56 2011 +0200
-
-    xlibi18n/lcGeneric: Initialize uninitialized local variable
-    
-    Using uninitialized value "new"
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d0266e06d38110ec908ca28379014eff743630b7
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 31 14:01:54 2011 +0200
-
-    xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions)
-    
-    Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Feb 1 12:30:56 2011 +0200
-
-    XDefaultOMIF.c: Fix memory leaks in get_font_name
-    
-    Instead of copying the value returned by get_prop_name and then releasing it,
-    directly use the return value of get_prop_name, which allocates memory for the
-    name.
-    
-    If get_prop_name returns NULL, continue on to XFreeFont to release the font
-    before returning the NULL via the normal function return.
-    
-    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 95796351435d81eaef8166d49ba3a6e7b633d70a
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Jan 31 14:50:19 2011 -0500
-
-    config: comment, minor upgrade, quote and layout configure.ac
-    
-    Group statements per section as per Autoconf standard layout
-    Quote statements where appropriate.
-    Autoconf recommends not using dnl instead of # for comments
-    
-    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
-    Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
-    
-    This helps automated maintenance and release activities.
-    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit e994ab227ed28655565c3193e63733630105e7f9
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Tue Jan 18 12:49:48 2011 +0200
-
-    Comparing array against NULL is not useful "&xkb->server->vmods != NULL"
-    
-    Removed superfluous comparison.
-    
-    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-
-commit 4115f051e62f9b098efce691e070d44f09f30f1c
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Wed Jan 12 15:51:11 2011 +0200
-
-    Variable "entry" tracked as NULL was dereferenced.
-    
-    Check entry for non-nullness before dereferencing it
-    
-    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-
-commit 0edb76d1d5fdca5a2543332699be2e72386dab24
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Thu Jan 27 09:54:00 2011 +0200
-
-    Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.)
-    
-    If _XkbGetReadBufferPtr returns NULL, goto BAILOUT
-    
-    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-
-commit 59da8a211ef723909d0530c0331d541db8e63378
-Author: Erkki Seppälä <erkki.seppala@vincit.fi>
-Date:   Mon Jan 10 16:17:47 2011 +0200
-
-    Using freed pointer "e"
-    
-    Reordered code to first to do the comparison and then to release data
-    
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
-    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
-
-commit 0f11c229f7099f7c5aeed4691b358dca151dac7d
-Author: Matt Dew <marcoz@osource.org>
-Date:   Thu Jan 27 00:31:23 2011 -0700
-
-    Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens.
-    
-    Signed-off-by: Matt Dew <marcoz@osource.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Jan 28 16:07:07 2011 -0500
-
-    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
-    
-    This silences an Automake warning.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Jan 28 14:59:04 2011 -0500
-
-    config: remove unrequired AC_HEADER_STDC
-    
-    Autoconf says:
-    "This macro is obsolescent, as current systems have conforming
-    header files. New programs need not use this macro".
-
-commit d4483375e37a72631d5821413cb75a423e990ffe
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jan 18 19:37:02 2011 -0800
-
-    config: Use correct AC_CONFIG_HEADERS macro
-    
-    Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
-
-commit c6405fe931f313a0d159bdad00244fc8aae12468
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Jan 16 11:55:23 2011 -0800
-
-    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
-    
-    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
-    AC_PROG_C_C99. This sets gcc with -std=gnu99.
-    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 17aa1f2305da0952ad594c7329d08aba21f13ac8
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Jan 16 11:40:59 2011 -0800
-
-    Update to xf86bigfontproto >= 1.2.0 header name
-    
-    Clears compile-time warning of:
-    "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future."
-    "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines."
-    
-    Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not
-    passed to configure.
-    
-    Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS
-    that PKG_CHECK_MODULES does automatically
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-
-commit a9228fcc676aacf9a760dd94891c89f9bc82b20d
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jan 11 17:55:22 2011 -0800
-
-    libX11 1.4.1
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 92fa96451af37a7a0f2592de07643fdaed7a9efd
-Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
-Date:   Mon Jan 3 12:25:28 2011 -0500
-
-    Initialize event type
-    
-    If we receive unsupported event closing connection triggers valgrind
-    error.
-    
-    ==12017== Conditional jump or move depends on uninitialised value(s)
-    ==12017==    at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607)
-    ==12017==    by 0x486857B: XCloseDisplay (ClDisplay.c:72)
-    *snip*
-    ==12017==  Uninitialised value was created by a heap allocation
-    ==12017==    at 0x4834C48: malloc (vg_replace_malloc.c:236)
-    ==12017==    by 0x4894147: _XEnq (XlibInt.c:877)
-    ==12017==    by 0x4891BF3: handle_response (xcb_io.c:335)
-    ==12017==    by 0x4892263: _XReply (xcb_io.c:626)
-    *snip*
-    
-    Problem is that XFreeDisplaySturture is checking for qelt->event.type ==
-    GenericEvent while _XUnknownWireEvent doesn't store the type.
-    
-    Reviewed-by: Adam Jackson <ajax@redhat.com>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
-
-commit fa9747b9d4443eef9b1687b8b1208801f5c585da
-Author: Fernando Carrijo <fcarrijo.lists@gmail.com>
-Date:   Tue Dec 28 16:18:57 2010 -0500
-
-    specs: convert images from gif to svg format.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c
-Author: Philipp Reh <sefi@s-e-f-i.de>
-Date:   Wed Dec 22 15:14:05 2010 +0000
-
-    Events: Store event cookie when dequeuing event
-    
-    When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent,
-    make sure to store the corresponding cookie too.
-    
-    Signed-off-by: Philipp Reh <sefi@s-e-f-i.de>
-    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-
-commit d2714d65e85b44abedf5f82e1a31506dba397ef2
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Dec 21 18:47:16 2010 -0800
-
-    Revert "Mark atom names argument to XInternAtoms as const"
-    
-    This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5.
-    
-    The constification of a pointer to a pointer caused unexpected issues,
-    and xorg-devel was unable to come up with a clean, safe, reasonable way
-    to handle them, so we're chalking this up for now as yet another mistake
-    in the Xlib API definition we'll be living with.
-    
-    See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6459f9a48a82de3bc0235bd36acab2df11e436d5
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Dec 20 20:54:07 2010 -0800
-
-    specs/XKB: make acknowlegement section <preface> instead of <chapter>
-    
-    Fixes numbering of actual chapters to match their filenames and to
-    make the table/figure numbering match the references in the text.
-    
-    Reported-by: jelmd on freenode irc
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Dec 19 23:53:02 2010 -0800
-
-    Add XKBlib spec images to dist_spec_DATA for distribution & installation
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d
-Author: Matt Dew <matt@osource.org>
-Date:   Tue Nov 30 10:52:07 2010 -0500
-
-    specs: convert XKBlib spec from Framemaker to DocBook.xml
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit c8701115462b482d99ecff24d9de0f2806084ba5
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Nov 21 20:49:05 2010 -0800
-
-    Mark atom names argument to XInternAtoms as const
-    
-    Updates code & docs for XInternAtoms.
-    
-    The single atom name argument to XInternAtom was already const char *
-    in the code, but not the docs, so updated it in the docs too.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Nov 21 14:04:32 2010 -0800
-
-    libX11 1.4.0
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e
-Author: Dan Nicholson <dbn.lists@gmail.com>
-Date:   Sat Nov 6 21:58:10 2010 +0000
-
-    config: Check host string when deciding architecture to build for
-    
-    When checking for the OS/2 platform, $target_os is used. However, unless
-    building a cross compiler, the $host* strings contain the platform
-    details for the build system. See:
-    
-    http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation
-    
-    $host_os is already being used to determine the transport and threading
-    options.
-    
-    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c
-Author: Dan Nicholson <dbn.lists@gmail.com>
-Date:   Sat Nov 6 21:58:09 2010 +0000
-
-    config: Fix architecture check for OS/2 to skip nios2 cpu
-    
-    The OS/2 platform requires some utility functions as well as having a
-    non-32 bit wchar_t. Fix the configure check so that it doesn't also
-    affect the nios2 cpu, which wouldn't influence these operating system
-    issues.
-    
-    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-    Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Nov 9 13:04:44 2010 -0500
-
-    config: HTML file generation: use the installed copy of xorg.css
-    
-    Currenlty the xorg.css file is copied in each location
-    where a DocBook/XML file resides. This produces about
-    70 copies in the $(docdir) install tree.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 3e8907305e1818369aef5a5c0da61f09e20de4f8
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Oct 29 22:02:10 2010 -0700
-
-    libX11 1.3.99.903 (1.4.0 RC3)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 5d245d8013289b13e0c42100951b26166c7fada4
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Oct 29 22:01:39 2010 -0700
-
-    Require xorg-macros 1.11 now that it is released
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 1ec89689fc771f116a6165226b9e076f54254a40
-Author: Dan Nicholson <dbn.lists@gmail.com>
-Date:   Fri Oct 22 19:09:07 2010 -0700
-
-    docs: Disable fop documentation by default
-    
-    fop is used to generate the pdf and ps formats of the documentation.
-    This can significantly slow down the build, especially when creating all
-    the compose key charts. Since few people probably want the full set of
-    doc formats, set the default to 'no'.
-    
-    The default parameter for XORG_WITH_FOP is only available in recent
-    macros. Users generating configure from older macros will just get
-    'auto' as the default.
-    
-    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 03877bda911b72ac60a7144d6eced7d5be4b4d72
-Author: Jon TURNEY <jon.turney@dronecode.org.uk>
-Date:   Wed Apr 14 13:38:18 2010 +0100
-
-    Add C.UTF-8 and C.ASCII locale aliases
-    
-    Add C.UTF-8 locale as an alias for en_US.UTF-8
-    Add C.ASCII locale as an alias for C
-    
-    (C.UTF-8 is the default locale for cygwin.  It also exists in debian,
-    although I don't think it's intended for use by humans.)
-    
-    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-    Acked-by: Julien Cristau <jcristau@debian.org>
-    Reviewed-by: James Cloos <cloos@jhcloos.com>
-
-commit 81d1d9a6bdca779a44f931730b866eea75777c00
-Author: Dan Nicholson <dbn.lists@gmail.com>
-Date:   Sat Oct 9 16:00:47 2010 -0700
-
-    docs: Remove directory prerequisites from make rules
-    
-    Make expects prerequisites to be files with valid timestamps, and
-    directories are treated as always being out of date. Thus, any targets
-    depending on directories will always be rebuilt.
-    
-    Instead, the doc rules are changed to always create the target's leading
-    directory. This should prevent the documentation from being rebuilt when
-    "make install" is run.
-    
-    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d0cbf388919364fe6b5b9127f36426eb744090a0
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Sun Sep 26 21:21:16 2010 -0700
-
-    Add an "X11_" string to header guards to avoid possible collision
-    
-    This addresses a build failure which can result from <X11/Xlocale.h> and
-    <xlocale.h> being included in the same code since they both used the same
-    _XLOCALE_H_ protection.
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Sep 21 19:53:03 2010 -0700
-
-    libX11 1.3.99.902 (1.4.0 RC2)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 986bb6d1d54368fe91e3ea24f518d43ce6179782
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Sep 14 00:10:31 2010 -0700
-
-    Bug 19379 - Provide docs with overview of all compose key combinations
-    
-    Adds compose-chart.pl to generate DocBook/XML documents listing compose
-    keys, and Makefile rules to generate HTML & PDF output from them if xmlto
-    is present.
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=19379
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-    Reviewed-by: James Cloos <cloos@jhcloos.com>
-    Tested-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 3eb064071695ebf0f371163ed818a428dfeba8e6
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat Sep 11 00:49:21 2010 -0700
-
-    Make locale data build non-recursive / parallelizable
-    
-    On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time,
-    plus this simplifies the next set of changes.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-    Reviewed-by: James Cloos <cloos@jhcloos.com>
-    Tested-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a3fc78ac352e5a70a958996ef6aec50f653974d1
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Sep 17 17:38:11 2010 -0400
-
-    config: remove man page suffix from bottom summary
-    
-    The man page suffix is the same for all libraries on a given
-    platform and is not configurable. It should have been removed
-    in commit 09edc6de6.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a52b0068f36c739eb7e426214cd72a8d9bb776ca
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Sep 17 17:29:30 2010 -0400
-
-    config: remove unhelpful comment in .gitignore
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 10dd881e7818be9074da4ab3a68577adcdaf71d2
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Wed Sep 8 10:44:23 2010 -0400
-
-    Zero buffer data in BufAlloc()
-    
-    Inspired by a pattern in NoMachine's NX.  Consistently zeroed buffers
-    compress better with ssh and friends.  Note that you'll need to rebuild
-    all your protocol libraries to take advantage of this.
-    
-    Signed-off-by: Adam Jackson <ajax@redhat.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sun Sep 12 17:00:54 2010 -0400
-
-    Revert “Dolt-ify"
-    
-    Libtool’s is now sufficiently fast that DOLT is no longer
-    worth the bother, even on those few systems where is works.
-    
-    This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
-    and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c.
-    
-    It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214
-    which moved dolt from configure.ac to m4/dolt.m4.
-    
-    And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Sep 9 19:24:29 2010 -0700
-
-    XIM spec title page minor formatting cleanup
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752
-Author: Jens Petersen <petersen@redhat.com>
-Date:   Mon Aug 23 18:08:10 2010 -0700
-
-    Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8
-    
-    <https://bugs.freedesktop.org/show_bug.cgi?id=29773>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Sep 3 23:11:53 2010 -0700
-
-    Sun's copyrights are now owned by Oracle
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 7742bf62b1fa652da4270587e280249945367cae
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Sep 3 18:31:44 2010 -0700
-
-    libX11 1.3.99.901 (1.4.0 RC1)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586
-Author: Jeroen Hoek <mail@jeroenhoek.nl>
-Date:   Sun Aug 29 09:47:06 2010 -0400
-
-    libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S
-    
-    Add LATIN CAPITAL LETTER SHARP S
-    (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale)
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 09edc6de6619a2eabda3b808ebff4165550664f1
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Aug 13 14:21:08 2010 -0400
-
-    config: remove man-pages configuration option
-    
-    This option was added in commit 6e752ea120 with no explanation.
-    The section number is provoded by XORG_MANPAGE_SECTIONS
-    There is no case where libX11 should be different than other libs
-    The option was also used to disable building of the man pages,
-    which build in 14 secs. No indication this is required.
-    
-    If there is a requirement from system builders to disable building
-    of man pages, it could be done consistently for all modules.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit f92e754297ec5fdb81068b56a4435026666224fa
-Author: Aaron Plattner <aplattner@nvidia.com>
-Date:   Sun Aug 15 21:51:38 2010 -0700
-
-    XOpenDisplay: save the correct display_name value
-    
-    The X Test Suite's XDisplayString test checks the invariant
-    XDisplayString(XOpenDisplay(str)) == str.  The Xlib XOpenDisplay violates this
-    invariant by expanding str to the canonical form "host:display.scrn" (unless
-    HAVE_LAUNCHD is set and it starts with "/tmp/launch").  E.g., this expands ":1"
-    to ":1.0":
-    
-      400|26 1 1 19:26:41|IC Start
-      200|26 1 19:26:41|TP Start
-      520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1
-      520|26 1 00032625 1 2|Assertion XDisplayString-1.(A)
-      520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used
-      520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the
-      520|26 1 00032625 1 5|value used as the display argument.
-      520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay.
-      520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString.
-      520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay.
-      520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay.
-      520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1".
-      220|26 1 1 19:26:41|FAIL
-      410|26 1 1 19:26:41|IC End
-    
-    Fix this by deleting all of the code to construct the canonical path and just
-    stashing a copy of the original display_name in dpy->display_name.
-    
-    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 1dc401f678469d0235e6d0b28eb4356f03327c9f
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Aug 13 13:06:51 2010 -0400
-
-    man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit cbe9eebd11e5ebab4280d25b57b4cd4001241619
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Aug 13 11:42:29 2010 -0400
-
-    man: simplify building of shadow man pages
-    
-    Store the shadow files in git as any other man page.
-    Move man pages to man dir and use the common makefile
-    
-    Local fix in CVS for bug 5628 is not required
-    as the problem has been fixed in
-    util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit bfd899c9af2318ecbe84cb69007dba4223fdb502
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Aug 9 09:39:26 2010 -0400
-
-    config: reinstate XORG_PROG_RAWCPP erroneoulsy removed
-    
-    in commit 76e07ef6911734eac418e399b114f1b544512736.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 76e07ef6911734eac418e399b114f1b544512736
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Aug 6 14:01:51 2010 -0400
-
-     man: using the C preprocessor is not required for man pages.
-    
-    There were no special symbols needing cpp.
-    Everything can be handled by the default MAN_SUBSTS in util-macros.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Aug 6 15:51:56 2010 -0700
-
-    Fix use-after-free in _XReply on X errors.
-    
-    _XReply would always call dequeue_pending_request on errors.  When it
-    got an error for the current request, it would call dequeue, then break
-    out of the loop; then, if it had an error in the event queue, it would
-    compare it with the sequence number of the now-freed pending request.
-    _XReply already stored that sequence number in dpy->last_request_read
-    before freeing it, so look at that instead.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-
-commit 9fa146b30046396b70d64986e50d6617b3a8ac48
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sat Jul 31 16:15:35 2010 -0400
-
-    specs: xsl stylesheet requires abs path to images
-    
-    Using abs_builddir requires automake 1.10 or later.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Aug 1 14:13:07 2010 -0400
-
-    specs: update .gitignore now that all groff generated files are gone
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit f70527f05677aaf6a493ba42d2d95f738aaebafa
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Thu Jul 29 11:11:21 2010 -0400
-
-    nls: Switch one of the interrobang sequences to gnaborretni
-    
-    Since gnaborretni is primarily used in LTR locales, the ? part of the
-    sequence reflects the position of the bulge in the ?.  When scanning an
-    inverted interrobang left-to-right, you see the bulge first, so the
-    compose sequence ?! is used; upright interrobang shows the bulge
-    last, so it's !?.
-    
-    This is a change in behaviour, but I was unable to come up with anything
-    better.  ??!! or !!?? would match the patterns for ¿ and ¡, but they
-    would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit
-    Q.  Likewise ?!?! and !?!? would delay showing the interrobang itself.
-    ~!? and ~?! were considered but are arguably less intuitive.
-    
-    Reviewed-by: James Cloos <cloos@jhcloos.com>
-    Signed-off-by: Adam Jackson <ajax@redhat.com>
-
-commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Jul 28 10:27:39 2010 -0400
-
-    specs: move indexterm from glossdef to glossterm
-    
-    This move fixes a Java class cast exception in the glossary.
-    The problem was introduced in commit
-    26f4f0d50840fe5ba4c46aae0a8e68db0059434b
-    
-    It may not happen on all versions of the doc toolchain.
-    There is no reason why indexterm cannot appear in glossdef,
-    this is a workaround to an implementation problem found by
-    trial and error.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 87a108f3aa565aa803dacb3a53b811f45025b609
-Author: Matt Dew <matt@osource.org>
-Date:   Sat Jul 24 14:46:57 2010 -0400
-
-    specs: replace troff source with docbook-xml source
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 8e603413586ff42b1351688f6f99318cbe243bca
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sat Jul 24 22:13:07 2010 +0200
-
-    Compose.man: default user compose file is .XCompose, not .Xcompose
-    
-    The path was correct in the DESCRIPTION section, but not in FILES.
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit 554da76ece85d0fc0cada45a86860e69c2107e9a
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jul 20 12:34:48 2010 +0100
-
-    NLS: Add \o/ Compose sequence
-    
-    Unicode is even more pointlessly awesome! Add a binding for Compose-\o/
-    to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-
-commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jul 9 18:13:13 2010 +0100
-
-    XStringToKeysym: Cope with 0x1234cafe-style input
-    
-    If we get input in the style of 0xdeadbeef, just return that exact
-    keysym.  Introduces a dependency on strtoul, which I'm told is OK on all
-    the systems we care about.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-
-commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 19 17:58:27 2010 -0700
-
-    specs/libX11: Fix column count of Gravity Attributes table
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 19 14:43:38 2010 -0700
-
-    specs/libX11: Convert \- to &minus; and \^ to either &hairsp; or removed
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 19 11:28:50 2010 -0700
-
-    specs/libX11: Manual cleanup pass over Ch. 1
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 21567992958a6f12b3d0186f2f27a5b2a41b8448
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 19 14:51:10 2010 -0700
-
-    specs/libX11: make sure all files have DOCTYPEs so standard entities work
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit c944a8521f5760b485192658b921145159cdb439
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Jul 18 13:12:20 2010 -0700
-
-    specs/libX11: Fix up list of header files in Ch.1 & add index entries
-    
-    Combination of manual editing and automatic substitution via:
-    
-    perl -i -p -00 -e 's{<varlistentry>(\s+)<term>&lt;X11/([^&]+)&gt;</term>(\s+)<listitem>(\s+)<para>}{<varlistentry id="Standard_Header_Files:$2">$1<term><filename class="headerfile">&lt;X11/$2&gt;</filename></term>$3<listitem>$4<indexterm type="file"><primary><filename class="headerfile">X11/$2</filename></primary></indexterm>$4<indexterm><primary>Files</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<indexterm><primary>Headers</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<para>}g' CH01.xml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sun Jul 18 12:47:27 2010 -0700
-
-    specs/libX11: Add indexterms for headerfiles that .hN used to provide
-    
-    Automatic substitution performed via:
-    perl -i -p -e 's{^&lt;<filename class="headerfile">([^<]+)</filename>&gt;(.*)$}{<filename class="headerfile">&lt;$1&gt;</filename>$2\n<indexterm type="file"><primary><filename class="headerfile">$1</filename></primary></indexterm>\n<indexterm><primary>Files</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>\n<indexterm><primary>Headers</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>}' *.xml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d0b0d215cb85da48b323b1392149ce181e7ef5ec
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 16 21:15:13 2010 -0700
-
-    specs/libX11: convert multicolumn lists from tables to <simplelist>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit e679f80c6210c0aefe3669f8f536353619097a4b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 16 20:51:52 2010 -0700
-
-    specs/libX11: Tag WM_* as <property>
-    
-    Mass substitution done by:
-     perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit c7b7e59b3b22221d0be6286c540001c360308f69
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 16 20:41:33 2010 -0700
-
-    specs/libX11: Convert simpler eqn markup to docbook tags
-    
-    Mostly "sup" to <superscript>
-    
-    There's several more complicated equations that will probably need
-    MathML or SVG to solve.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 897486c54c6a54771867d667441aaf9a4b9c35ca
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 16 00:50:39 2010 -0700
-
-    specs/libX11: App. D: convert literallayouts to synopsis or programlisting
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 692906c3b3d8aa8b8927fbc230c3050d633785d2
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 16 00:36:43 2010 -0700
-
-    specs/libX11: Fix section headers in Appendix D
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Wed Jul 14 07:22:26 2010 -0700
-
-    specs/libX11: Explicitly tag document as English
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6783544706ff370e900c137f951e90230586d6dc
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 12 22:03:18 2010 -0700
-
-    specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting
-    
-    Fixes display of a bunch of function prototypes and sample code
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 8834cd9285e6aaf437aee56292c508d99a090fa9
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 12 18:37:16 2010 -0700
-
-    xmlrules.in: Add chunked-html rule to manually generate smaller files
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 12 18:35:59 2010 -0700
-
-    specs/libX11: Convert Appendix A tables to real tables
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 705a1257a8a47f4a1f94979aee09a837500ede7d
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 12 18:38:09 2010 -0700
-
-    specs/libX11: Fix out-of-place text in Chapter 1
-    
-    DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit a151346a2b7810e988f1de4b1e00b37672dc587a
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Mon Jul 12 16:52:12 2010 -0700
-
-    launchd: Explicitly search /sbin
-    
-    Previously, launchd wasn't found if /sbin wasn't in the user's PATH.
-    https://bugs.freedesktop.org/show_bug.cgi?id=29028
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Mon Jul 12 13:38:04 2010 -0700
-
-    Replace untranslated .hN macros with <filename> tags to show header names
-    
-    Translation performed by:
-     perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->}
-                {&lt;<filename class="headerfile">$1</filename>&gt;$2}' *.xml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 75480440946603b8efdbbf78b88d59c641b6d2c8
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Sat Jul 10 00:06:13 2010 -0700
-
-    specs/libX11: Mass substitution of <function> tags with more specific tags
-    
-    Matched names from X headers & "nm libX11.so" output to names in spec to
-    map to more specific tags.   Tags used:
-    
-                        <code>   code fragments
-                    <constant>   enum values
-                   <errorname>   X protocol errors
-                    <filename>   filenames
-                    <function>   functions
-                    <function>   function-like macros (#define foo(a,b)...)
-                 <returnvalue>   function return codes
-                 <structfield>   struct members
-                  <structname>   struct names (even when typedefed)
-                      <symbol>   simple value #defines (#define NAME value)
-                  <systemitem>   X protocol requests
-    <systemitem class="event">   X protocol events
-                        <type>   non-struct typedefs
-                     <varname>   global variables
-    
-    (Also fixed a couple typos detected by failures of this matching, such as
-     XESSetPrintErrorValues -> XESetPrintErrorValues.)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jul 9 00:37:23 2010 -0700
-
-    specs/libX11: Glossary cross-reference links
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 21:19:08 2010 -0700
-
-    specs/libX11: Make whitespace around <function> tags more uniform
-    
-    Simplifies regular expressions for further mass substitutions.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 730ce6b8aca77b77385aa894d234cbde5fcbce37
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Jul 9 20:10:37 2010 -0400
-
-    specs: use pattern rules rather than suffix rules
-    
-    This allows target to rebuild when included .xml files are changed.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 5527b4bc8ce7de60123eb28789ddef54aa48a378
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 20:56:41 2010 -0700
-
-    specs/libX11: Move punctuation outside of the <function> tags
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 20:42:50 2010 -0700
-
-    specs/libX11: Mark a number of <acronym>s
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d5bbb12f55ac9f691eab6242cedc53207275131b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 19:31:36 2010 -0700
-
-    specs/libX11: Glossary terms should not be marked as functions
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 19:28:18 2010 -0700
-
-    specs/libX11: Clean up author list & acknowledgements a little
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jul 8 17:30:34 2010 -0700
-
-    specs/libX11: Convert troff .IN macros to docbook <indexterm> tags
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Jul 8 17:29:21 2010 -0400
-
-    specs: specdir is required to install xml files
-    
-    The source is installed as well as the targets.
-    This failed when configuring with --without-xmlto
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit e14273f44c1501ab51db4adcb83b18a1073787d8
-Author: Matt Dew <matt@osource.org>
-Date:   Thu Jul 8 14:42:32 2010 -0400
-
-    specs: replace troff source with docbook-xml source
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit bea0873caf50e9ed1b89255775d9ab912cbecd45
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Thu Jul 8 16:49:51 2010 +0100
-
-    XStringToKeysym: Check strdup() return value
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Keith Packard <keithp@keithp.com>
-
-commit cffa71b4a5743e2b6675b9a917d15aef4177d513
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Mon Jun 28 15:08:05 2010 +0300
-
-    Fix two typos in SFS 5966 Annex 3
-    
-    X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit eb023c0f8919e809b8b609e1467b14d20a290aa7
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jun 15 18:49:43 2010 +0100
-
-    Delete now-redundant XKeysymDB
-    
-    Since XStringToKeysym now supports all the vendor keysyms, just delete
-    our XKeysymDB, which was incomplete at best, misleading at worst, and
-    always an annoyance.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 00175397480b76d32bf82b0c7c94c91a2a95954e
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jun 15 18:48:48 2010 +0100
-
-    makekeys: Scan vendor keysyms as well as core
-    
-    Since we can't really live without vendor keysyms, scan them all in to
-    generate ks_tables.h, rather than only doing the core ones, and leaving
-    the vendor syms to be manually synchronised with XKeysymDB.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jun 15 18:47:37 2010 +0100
-
-    XStringToKeysym: Special case for XF86 keysyms
-    
-    Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being
-    XF86foo.  So, if we get to the bottom of XStringToKeysym and haven't
-    found our XF86_foo, try it again as XF86foo.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jun 15 17:20:48 2010 +0100
-
-    configure.ac: Change from deprecated AC_DEFINE_DIR to AX_
-    
-    AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin
-    namespace, so start using the more proper AX_DEFINE_DIR instead.
-    
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d
-Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
-Date:   Thu Jul 1 06:50:47 2010 -0300
-
-    Purge macros NEED_EVENTS and NEED_REPLIES
-    
-    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
-    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 0b724231be17f19538ee115a03b82b221b1f83c0
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Wed Jun 30 16:30:49 2010 -0400
-
-    Use -version-number consistently instead of -version-info
-    
-    The latter is libtool braindamage.
-    
-    Signed-off-by: Adam Jackson <ajax@redhat.com>
-
-commit 241a990afcf9c967c587ad6fd245df21b68b1ad9
-Author: Juliusz Chroboczek <jch@pps.jussieu.fr>
-Date:   Tue Jun 29 18:32:42 2010 +0200
-
-    Make Compose-comma map to ogonek for I and U in UTF-8 locales.
-    
-    With the preceding patch, it makes the UTF-8 compose map consistent with
-    the ISO 8859-4 and -13 maps.
-
-commit af55e582f485a668c2bf43129be972bc65f03c60
-Author: Juliusz Chroboczek <jch@pps.jussieu.fr>
-Date:   Tue Jun 29 18:20:18 2010 +0200
-
-    Make Compose-comma map to Ogonek for A and E in UTF-8 locales.
-    
-    This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file
-    as far as Polish is concerned.  We only sacrifice one pair of characters,
-    e-cedilla, which is not used in any language.
-
-commit d6ba13009fc9ef876a104b907ffef73c6e405d4b
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jun 24 13:13:11 2010 -0700
-
-    Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 978c7238789037de917b9423ea9adfb006da1260
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 19 10:44:55 2010 -0700
-
-    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
-    
-    Don't lose async replies. That's bad.
-    
-    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
-    _XReply path worked; that path waited for replies, rather than polling.
-    
-    However, XRecordProcessReplies, which does nothing but call XPending,
-    relied on the event-handling path to process async replies, and that was
-    busted.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit ef67486c5a8aada24fd95b2991a3c4979f53805f
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Jun 21 13:34:15 2010 -0700
-
-    Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request."
-    
-    This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as
-    a matter of fact, if poll_for_response returns NULL when we know
-    dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending
-    request.
-
-commit 301ec5b41e9d253a446db656e1789ac7345dc433
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Jun 21 13:24:24 2010 -0700
-
-    Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply."
-    
-    This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do*
-    need to check poll_for_event every time through the loop in
-    poll_for_response, so the commit did too much.
-
-commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Jun 21 10:54:02 2010 -0700
-
-    xcb_io.c: poll_for_response doesn't guarantee there's a pending request.
-    
-    Fixes the second bug reported in:
-    https://bugs.freedesktop.org/show_bug.cgi?id=28595
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit c115095d7f2bc4f5a4fb26380e3698fefdad7611
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 19 10:44:55 2010 -0700
-
-    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
-    
-    Don't lose async replies. That's bad.
-    
-    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
-    _XReply path worked; that path waited for replies, rather than polling.
-    
-    However, XRecordProcessReplies, which does nothing but call XPending,
-    relied on the event-handling path to process async replies, and that was
-    busted.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-
-commit a25ae169862ab9b76daf259613b37c6b07bc2ef2
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Sun Jun 13 19:23:05 2010 +0300
-
-    Implement SFS 5966 Annex 4 for Finland
-    
-    This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in
-    Annex 3 (which were actually copied verbatim from the standard text).
-    
-    The implementation of the standard is now complete.
-    
-    X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Fri Jun 4 13:20:17 2010 -0700
-
-    LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits
-    
-    One of the malloc failure checks had a goto to the wrong spot in the
-    list of cleanup free() calls to unwind at the end, and was freeing
-    bits that hadn't been initialized/allocated yet, since they would be
-    stored in the struct that just failed to be allocated.
-    
-    Error: Null pointer dereference (CWE 476)
-       Read from pointer that could be constant 'NULL'
-            at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'.
-              Pointer checked against constant 'NULL' at line 754 but does not protect the dereference.
-    
-    [ This bug was found by the Parfait bug checking tool.
-      For more information see http://research.sun.com/projects/parfait ]
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit aebbf3623888119b43893b253195d93b613a6e1e
-Author: Josh Triplett <josh@joshtriplett.org>
-Date:   Sun Jun 6 19:11:55 2010 -0700
-
-    Mark the rest of Xprivate.h as _X_HIDDEN.
-    
-    None of the functions in Xprivate.h should have any callers outside of
-    Xlib, by definition.
-    
-    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-    Suggested-by: Jamey Sharp <jamey@minilop.net>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit abcd1b67c8135ad652833e5a60d818837c39fce1
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Jun 4 13:57:45 2010 +0200
-
-    Hide _XSeqSyncFunction
-    
-    Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction
-    non-static, but we don't need to export it.
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-    Reviewed-by: Adam Jackson <ajax@redhat.com>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8
-Author: Josh Triplett <josh@joshtriplett.org>
-Date:   Thu Jun 3 09:41:01 2010 -0700
-
-    Remove support for building without XCB
-    
-    And there was much rejoicing.
-    
-    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-    
-    Consensus on #xorg-devel agrees with removing --without-xcb; in
-    particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg,
-    Julien Cristau, and Rémi Cardona.
-
-commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jun 3 15:21:40 2010 -0700
-
-    libX11 1.3.4
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jun 3 13:08:17 2010 -0700
-
-    Workaround bug in groff flag processing that breaks distcheck
-    
-    At least with the groff 1.19.2 package I have installed, groff passes
-    on the -I flags for the include path to grohtml, which if they come
-    after the -P-I... flag we pass to grohtml to specify the image file
-    name pattern cause it to override that flag and put the images in
-    the wrong place, breaking "make distcheck" - changing the flag order
-    works around this.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jun 3 11:25:33 2010 -0700
-
-    Fix typo that made configure always report "none" for man page suffix
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce
-Author: Paul Bender <pebender@gmail.com>
-Date:   Thu Jun 3 11:20:26 2010 -0700
-
-    Bug 22591 - configure does not obey the --enable-*-transport options
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=22591
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit d7f35946d673bb00f2768e025b6e1017422b2174
-Author: Paul Bender <pebender@gmail.com>
-Date:   Thu Jun 3 11:17:45 2010 -0700
-
-    Bug 22590 - libX11 1.2.1 has broken abstract namespace support
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=22590
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit b2487d07f7b355f230a56e32c763acd08862735c
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Jun 3 11:06:15 2010 -0700
-
-    Bug 22584 - libX11 does not cross compile
-    
-    Adaptation of patch submitted by Paul Bender in attachment 27301 to
-    https://bugs.freedesktop.org/show_bug.cgi?id=22584
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
-
-commit 4378219ff8c1418418c70086085358b69d574e74
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Tue Jun 1 18:55:48 2010 -0700
-
-    Clarify requirements in XRestackWindows man page
-    
-    The required common parent window is not specified in the arguments,
-    just implied as the parent of the first window in the list.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit f09c5299a381e2729e800a0ac43f1c0e371f65f6
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Wed May 12 16:42:18 2010 -0700
-
-    xcb: Add TCP fallback
-    
-    If we fail to connect to a UNIX socket and the transport isn't specified,
-    fallback on TCP.  This matches behavior with the xtrans codepath and the
-    Xlib spec.
-    
-    http://lists.x.org/archives/xorg-devel/2010-April/007915.html
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-    Reviewed-by: Jamey Sharp <jamey@minilop.net>
-
-commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e
-Merge: aae2a4a 933aee1
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon May 10 16:51:24 2010 -0700
-
-    Merge branch 'xlib-xcb-thread-fixes'
-
-commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Fri Apr 23 21:50:29 2010 -0700
-
-    Don't append the screen number when using a launchd socket
-    
-    ssh gets confused by this.  XQuartz is the only DDX using this
-    functionality, and it doesn't support different screens, so
-    let's just not include this until most ssh know how to handle
-    this.
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit adcd0ec209abf832a769d52db660fb37eaad6e0c
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Fri Apr 23 16:33:44 2010 -0700
-
-    Remove launchd logic from _XConnectXCB as it's handled in XCB
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit d232b259c36fdde1f4179822809fec1480867dc5
-Author: Jeremy Huddleston <jeremyhu@apple.com>
-Date:   Tue Feb 2 17:01:28 2010 -0800
-
-    Fix various build warnings
-    
-    imLcIm.c: In function '_XimCachedFileName':
-    imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
-    imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
-    
-    imRm.c: In function '_XimDefaultArea':
-    imRm.c:597: warning: cast from pointer to integer of different size
-    imRm.c: In function '_XimDefaultColormap':
-    imRm.c:626: warning: cast from pointer to integer of different size
-    
-    lcFile.c:224: warning: no previous prototype for 'xlocaledir'
-    
-    lcUTF8.c: In function 'iconv_cstombs':
-    lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type
-    lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
-    lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
-    lcUTF8.c: In function 'iconv_mbstocs':
-    lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
-    lcUTF8.c: In function 'iconv_mbtocs':
-    lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
-    lcUTF8.c: In function 'iconv_mbstostr':
-    lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
-    lcUTF8.c: In function 'iconv_strtombs':
-    lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
-    lcUTF8.c: In function '_XlcAddGB18030LocaleConverters':
-    lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
-    
-    XlibInt.c: In function '_XGetHostname':
-    XlibInt.c:3441: warning: implicit declaration of function 'gethostname'
-    XlibInt.c:3441: warning: nested extern declaration of 'gethostname'
-    
-    ConnDis.c: In function '_XDisconnectDisplay':
-    ConnDis.c:540: warning: old-style function definition
-    ConnDis.c: In function '_XSendClientPrefix':
-    ConnDis.c:554: warning: old-style function definition
-    ConnDis.c: In function 'XSetAuthorization':
-    ConnDis.c:677: warning: old-style function definition
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-
-commit 3e11c73187acb2e2be9a812840bbbea947527ccb
-Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-Date:   Fri Apr 23 00:01:54 2010 +0200
-
-    Allow X11 users to compose anarchism
-    
-    I can easily compose the hammer and sickle (the symbol representative
-    of communism) by pressing the key sequence:
-    
-      <Compose> <C> <C> <C> <P> -> ☭
-    
-    But i can't easily make the circled A (the symbol representative of
-    anarchism).
-    
-    I'd like to be able to use <Compose> <O> <A> (this is a
-    currently unused key sequence) to generate the symbol:  Ⓐ
-    
-    Debian bug#555938 <http://bugs.debian.org/555938>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit 933aee1d5c53b0cc7d608011a29188b594c8d70b
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Apr 16 20:18:28 2010 -0700
-
-    Fix Xlib/XCB for multi-threaded applications (with caveats).
-    
-    Rather than trying to group all response processing in one monolithic
-    process_responses function, let _XEventsQueued, _XReadEvents, and
-    _XReply each do their own thing with a minimum of code that can all be
-    reasoned about independently.
-    
-    Tested with `ico -threads 20`, which seems to be able to make many
-    icosahedrons dance at once quite nicely now.
-    
-    Caveats:
-    
-    - Anything that was not thread-safe in Xlib before XCB probably still
-      isn't. XListFontsWithInfo, for instance.
-    
-    - If one thread is waiting for events and another thread tries to read a
-      reply, both will hang until an event arrives. Previously, if this
-      happened it might work sometimes, but otherwise would trigger either
-      an assertion failure or a permanent hang.
-    
-    - Versions of libxcb up to and including 1.6 have a bug that can cause
-      xcb_wait_for_event or xcb_wait_for_reply to hang if they run
-      concurrently with xcb_writev or other writers. So you'll want that fix
-      as well.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Reviewed-by: Josh Triplett <josh@freedesktop.org>
-
-commit aab43278ae619eb57d2dd9c7396f460f078588fc
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Apr 16 22:24:16 2010 -0700
-
-    Use InternalLockDisplay on code paths called from LockDisplay.
-    
-    It's easier to reason about the code when we can't re-enter the
-    Xlib-private sync-handlers while they're already running.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Reviewed-by: Josh Triplett <josh@freedesktop.org>
-
-commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Apr 16 19:45:11 2010 -0700
-
-    Fix _XSend to enqueue the right range of pending requests.
-    
-    _XSend was off-by-one on both ends. It should not re-enqueue the last
-    request that was already flushed, but it should enqueue the last request
-    currently being flushed.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Reviewed-by: Josh Triplett <josh@freedesktop.org>
-
-commit f2735889908d6e5a7f8dbee42f00c54a52665191
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Apr 16 19:45:11 2010 -0700
-
-    Pending requests are always added in-order.
-    
-    Replace insert_pending_request, which did an in-order search of the
-    queue to find the right insertion point, with a simpler
-    append_pending_request, and use that in _XSend as well.
-    
-    Includes assertions to check that the list of pending requests is in
-    order by sequence number and does not have duplicates.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Reviewed-by: Josh Triplett <josh@freedesktop.org>
-
-commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6
-Author: Markus Duft <markus.duft@salomon.at>
-Date:   Fri Apr 16 08:39:34 2010 -0700
-
-    Bug 26839: Fix build problem on Interix (POSIX layer on Windows)
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=26839
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Thu Apr 15 14:24:21 2010 -0700
-
-    Stop returning an int from _XIDHandler and _XSeqSyncFunction
-    
-    _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and
-    thus had to return an int.  Now, they only run from _XPrivSyncHandler or
-    LockDisplay, neither of which needs to check their return value since they
-    always returned 0.  Make them both void.
-    
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Apr 15 13:05:08 2010 -0700
-
-    Move XID and sync handling from SyncHandle to LockDisplay to fix races.
-    
-    XID and sync handling happened via _XPrivSyncHandler, assigned to
-    dpy->synchandler and called from SyncHandle.  _XPrivSyncHandler thus ran
-    without the Display lock, so manipulating the Display caused races, and
-    these races led to assertions in multithreaded code (demonstrated via
-    ico).
-    
-    In the XTHREADS case, after you've called XInitThreads, we can hook
-    LockDisplay and UnlockDisplay.  Use that to run _XIDHandler and
-    _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know
-    that we hold the lock, and thus we can avoid races.  We think it makes
-    sense to do these both from LockDisplay rather than UnlockDisplay, so
-    that you know you have valid sync and a valid XID before you start
-    setting up the request you locked to prepare.
-    
-    In the !XTHREADS case, or if you haven't called XInitThreads, you don't
-    get to use Xlib from multiple threads, so we can use the logic we have
-    now (with synchandler and savedsynchandler) without any concern about
-    races.
-    
-    This approach gets a bit exciting when the XID and sequence sync
-    handlers drop and re-acquire the Display lock. Reacquisition will re-run
-    the handlers, but they return immediately unless they have work to do,
-    so they can't recurse more than once.  In the worst case, if both of
-    them have work to do, we can nest the Display lock three deep.  In the
-    case of the _XIDHandler, we drop the lock to call xcb_generate_id, which
-    takes the socket back if it needs to request more XIDs, and taking the
-    socket back will reacquire the lock; we take care to avoid letting
-    _XIDHandler run again and re-enter XCB from the return_socket callback
-    (which causes Very Bad Things, and is Not Allowed).
-    
-    Tested with ico (with 1 and 20 threads), and with several test programs
-    for XID and sequence sync.  Tested with and without XInitThreads(), and
-    with and without XCB.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-
-commit b089b53b697c2851db2985d32af3b29f1da5e31e
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Apr 14 12:59:11 2010 -0700
-
-    Honest. Extensions get to filter async errors too.
-    
-    Under some circumstances, errors are picked up by calling
-    xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued
-    the requests with the XCB_REQUEST_CHECKED flag. That happens when either
-    an async handler is queued at the time the requests are flushed, or when
-    XSetEventQueueOwner has been used to prevent Xlib from processing XCB's
-    event queue.
-    
-    This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover
-    those cases.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit a15c31274650e391bc6de5d0951eb4464c228139
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Apr 14 12:10:34 2010 -0700
-
-    _XError already runs async handlers; only call them directly for replies.
-    
-    The previous behavior probably would have triggered bug reports someday.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit 405132dab64bf2375f8e57d02b1b53da2311933a
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Apr 13 12:12:36 2010 -0700
-
-    Extensions get to filter async errors too.
-    
-    Apparently I misread XlibInt.c:_XReply and thought that handlers set
-    with XESetError should be consulted only for the sequence number that
-    _XReply is currently looking for. In fact, the error handlers are also
-    consulted when an error arrives for a request that was not expected to
-    have a reply.
-    
-    However, in an odd twist, the error handlers are *not* consulted outside
-    of _XReply--that is, when looking for events, or waiting to be able to
-    flush the output queue. So this patch takes some small pains to preserve
-    that behavior, though it seems likely to have been unintentional.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Apr 13 12:49:59 2010 -0700
-
-    Prefer the xcb_generic_error_t we already have over casting to xEvent.
-    
-    Just a minor cleanup.
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit 75ea8c37935ccc911557d16a303ba595b8ab106b
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Apr 12 11:30:20 2010 -0700
-
-    Run the user's synchandler as well as any internal synchandlers.
-    
-    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595
-    
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit c3f3e4a9e531d010312c97e753d6e543e607094d
-Author: Kusanagi Kouichi <slash@ac.auone-net.jp>
-Date:   Fri Feb 12 17:16:10 2010 +0900
-
-    Fix manual typos.
-    
-    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 75c6c5595408caba9ef8233839d77021d02f86f2
-Author: Dirk Wallenstein <dirkwallenstein@t-online.de>
-Date:   Fri Feb 5 20:42:46 2010 +0100
-
-    man: Correct the XkbAllAccessXEventsMask mask name
-    
-    This mask has probably been renamed but not been updated in the manuals.
-    
-    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 9262aceaff24c954cab8c252690032bc2ec25e7d
-Author: Dirk Wallenstein <dirkwallenstein@t-online.de>
-Date:   Fri Feb 5 20:42:45 2010 +0100
-
-    man: Add missing geometry component flag
-    
-    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 50cf134465f6fd263f37acecac94518468ef1c6d
-Author: Dirk Wallenstein <halsmit@t-online.de>
-Date:   Tue Feb 2 21:24:32 2010 +0100
-
-    man: Return value of XkbGetState is Status and not Bool
-    
-    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641
-Author: Dirk Wallenstein <halsmit@t-online.de>
-Date:   Tue Feb 2 21:24:30 2010 +0100
-
-    man: Fix return value specification of XkbKeyActionEntry
-    
-    The XkbKeyActionEntry macro expands to a pointer.
-    
-    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
-    Reviewed-by: Julien Cristau <jcristau@debian.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit e9884d4a05a5661ec343ea8a2aa0562b6419e086
-Author: Dirk Wallenstein <halsmit@t-online.de>
-Date:   Tue Feb 2 21:24:29 2010 +0100
-
-    man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732
-    
-    XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2
-    groups with 2 levels each. It wraps the index into the next group.
-    This behavior confuses the unaware user, and therefore this will add a
-    reference to XkbKeycodeToKeysym in the corresponding man paragraph.
-    
-    Another bug had that issue, too. #5349
-    
-    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80
-Author: Alan Coopersmith <alan.coopersmith@oracle.com>
-Date:   Thu Apr 8 19:59:55 2010 -0700
-
-    Fix typo in new fi_FI.UTF-8 that was reported by "make check"
-    
-    Unrecognized pattern in Compose on line #154:
-      <dead_diaeresis> <space>                " "¨"
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
-commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd
-Author: Marko Myllynen <myllynen@redhat.com>
-Date:   Thu Apr 8 19:52:42 2010 -0700
-
-    Bug 27465 - Rewritten fi_FI.UTF-8 Compose file
-    
-    I've rewritten the fi_FI.UTF-8 Compose file so that it
-    
-    - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any
-    possible additions to en_US.UTF-8/Compose automatically included)
-    - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose
-    definitions (thus making it safe to include en_US.UTF-8/Compose)
-    - lists all the definitions specified in the SFS 5966 standard (thus making it
-    easy to verify that the implementation is valid and complete)
-    - adds a header about the file itself as required by the standard
-    
-    The rewritten version is ~320 lines compared to over 5000 lines of the previous
-    version.
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=27465
-
-commit f6a4fd0c7615684d08e848245849dea4017a5214
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Apr 1 21:46:12 2010 -0400
-
-    config: update and relocate AC_DEFINE_DIR macro
-    
-    Remove deprecated acinclude.m4 macro container file
-    Use separate macro files as per autoconf recommendation
-    Use the latest macro from GNU (ax) which replaces
-    the non-gnu version (ac)
-    This preserves the Autoconf macro AC namespace.
-    
-    Also moved out of acinclude.m4 is the DOLT macro
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 61d5231db418cec51bd718633c3bba39b18689d6
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Mar 29 14:53:48 2010 -0400
-
-    config: remove the pkgconfig pc.in file from EXTRA_DIST
-    
-    Automake always includes it in the tarball.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e
-Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
-Date:   Wed Mar 17 23:53:16 2010 -0300
-
-    No need for req->firstKeyCode to be set twice.
-    
-    There is no reason to set req->firstKeyCode twice when a client, wishful
-    for changing keyboard mappings, calls XChangeKeyboardMapping. This patch
-    fixes the mistake by making no functional changes to libX11 whatsoever.
-    
-    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit b5797597f83ee62228abfb88f026ef92163e07a5
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Feb 16 10:37:21 2010 -0500
-
-    config: move CWARNFLAGS from configure.ac to Makefile.am
-    
-    Compiler warning flags should be explicitly set in the makefile
-    rather than being merged with other packages compiler flags.
-    
-    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 052c4d7995b0e52a038933beb85cd544571c6b7e
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Feb 16 14:28:21 2010 -0500
-
-    specs: change install cmd due to automake 1.11
-    
-    specData_INSTALL is defined in 1.9 and 1.10 but not 1.11
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Feb 9 17:27:08 2010 -0500
-
-    doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6
-    
-    $(MKDIR_P) is not defined in automake 1.9.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit e66eda95b520727969d721416d4ea49b54ef2b03
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Feb 2 16:29:26 2010 -0500
-
-    specs: install html images in $docdir with html files
-    
-    The images required by the html files have been omitted.
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Jan 31 14:16:20 2010 -0500
-
-    doc: use new macros to control doc generation
-    
-    Namely XORG_WITH_GROFF for the groff generation tool
-    XORG_WITH_PS2PDF for the conversion of PS docs to PDF
-    XORG_ENABLE_SPECS for the generation of specs
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Jan 26 19:41:08 2010 -0500
-
-    doc: clean-up generated html images
-    
-    Generate images in /images as is the convention
-    Provide a base file name for images rather than process ID
-    Remove images directory when running make clean
-    
-    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-
-commit eb289b34bfc9978eef724e0f268975938334c06c
-Author: Kristian Høgsberg <krh@bitplanet.net>
-Date:   Thu Jan 21 13:39:17 2010 -0500
-
-    XErrorDB: Add new DRI2 request names
-
-commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sat Jan 16 22:47:03 2010 +0000
-
-    man: Fix typo in Makefile
-    
-    Missing line continuation was preventing the XCompose alias from being
-    generated.
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 68530599e61cf9fef3fcc91650e7cef21837fce7
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jan 16 11:41:32 2010 -0800
-
-    libX11 1.3.3
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Jan 14 18:33:39 2010 -0800
-
-    Update COPYING file with actual licenses from libX11 code & docs
-    
-    COPYING was previously a years out-of-date copy of the LICENSES
-    doc summarizing all licenses for all XFree86 components, many of
-    which did not apply to libX11.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit ddb1786720d6136b1b28be599c75c10ad1b76a2a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Jan 14 17:38:26 2010 -0800
-
-    Purge CVS/RCS id tags
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit c1db9ddcfa7091f173478dca45bf720badedfca4
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Jan 14 15:39:14 2010 -0800
-
-    Update Sun license notices to current X.Org standard form
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Jan 14 08:28:22 2010 -0800
-
-    Add %S substitutions to Compose man page
-    
-    Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S
-    in Compose file include statements - this documents it in the Compose
-    file man page.
-    
-    Also changes the existing substitution documentation to list format
-    instead of a paragraph format to allow easier adding of %S.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 94b45db93058cffa25598fe27dd3e385ace9d305
-Author: Richard Purdie <rpurdie@linux.intel.com>
-Date:   Thu Jan 14 08:04:28 2010 -0800
-
-    Fix configure.ac PKG_ macro calls
-    
-    If the first call to PKG_CHECK_MODULES() may not be called during execution
-    which is the case here since its inside a case statement, call
-    PKG_PROG_PKG_CONFIG() to ensure things worked correctly.
-    
-    Fixes a configure failure introduced by commit
-    87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled.
-    
-    http://bugs.freedesktop.org/show_bug.cgi?id=26041
-    
-    Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jan 12 09:18:15 2010 -0800
-
-    Raise xorg-macros requirement to 1.4
-    
-    Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2
-    depend on the INSTALL file delivered in xorg-macros 1.4
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 9df349a7894725f9469b106af645f57f7f3f9af3
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed Jan 13 11:04:38 2010 -0500
-
-    Allow inclusion of system level compose files.
-    
-    With the release of XFree86 4.4 an inclusion system of compose files was
-    added to Xlib to allow inclusion of the default compose file (with %L),
-    any compose files from user’s home directory (with %H), or a compose
-    file with a hard coded path¹. However, even today including system level
-    compose files is not possible in a platform independent manner although
-    the machinery for including compose files and overriding previously
-    defined compositions is already in place.
-    
-    With the ability to include system level compose files one could greatly
-    reduce the need for compose file rule duplication and the work needed to
-    propagate changes in one compose file to others. For example, currently
-    the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it
-    is almost identical with en_US.UTF-8 except for perhaps half a dozen
-    compositions.
-    
-    This commit allows one to include system level compose files with the
-    following kind of syntax:
-    
-    include "%S/en_US.UTF-8/Compose"
-    
-    1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42
-    2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre
-    
-    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd
-Author: Thien-Thi Nguyen <ttn@gnuvola.org>
-Date:   Tue Dec 1 10:31:47 2009 +0100
-
-    libX11: Fix comment: Invert polarity (direction) of reformat description.
-    
-    Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369
-Author: Osamu Sayama <osamu.sayama@sun.com>
-Date:   Tue Jan 5 17:26:40 2010 -0800
-
-    set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7
-    
-    - In set_fontset_extents, check font_data is not NULL before running
-      loop that may increment it to a non-NULL invalid pointer.
-    - Make sure get_rotate_fontname counts the final field
-    
-    Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-    Reviewed-by: Adam Jackson <ajax@redhat.com>
-
-commit 87529c039050ce3336ff9ce00f1b5a21d15690da
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jan 5 18:02:37 2010 -0800
-
-    Merge X11, XKBPROTO, & XPROTO pkg-config lists
-    
-    Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS
-    in configure.ac anyway, might as well combine the lists passed to
-    PKG_CHECK_MODULES to reduce duplication in the flags.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-    Reviewed-by: Rémi Cardona <remi@gentoo.org>
-    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jan 5 17:56:58 2010 -0800
-
-    Add XCompose man page shadow for Compose man page
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 02543bba816e065c02cd36e0c9e21519a9ee9c96
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jan 5 17:47:44 2010 -0800
-
-    Add $(AM_V_GEN) to silence lint rules too
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jan 5 17:42:42 2010 -0800
-
-    Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Nov 29 10:44:24 2009 -0500
-
-    configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
-    
-    It must be following AC_USE_SYSTEM_EXTENSION
-
-commit 3dbaa11d1c8705e1b309c6686f354766b651ad20
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Sun Nov 29 10:01:44 2009 -0500
-
-    Add .gitignore in /specs for generated files
-    
-    Being in /specs, it will apply for all 3 subdirs
-
-commit f45d39d37aab04742e44cd8c3c993aad7587e40c
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Fri Nov 27 20:56:03 2009 -0500
-
-    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
-    
-    Now that the INSTALL file is generated.
-    Allows running make maintainer-clean.
-
-commit 464390f16d7ed4aa5bf80f89863ba92273075ec2
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Wed Oct 28 14:09:10 2009 -0400
-
-    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
-    
-    Add missing INSTALL file. Use standard GNU file on building tarball
-    README may have been updated
-    Remove AUTHORS file as it is empty and no content available yet.
-    Remove NEWS file as it is empty and no content available yet.
-
-commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Tue Oct 27 15:07:25 2009 -0400
-
-    Deploy the new XORG_DEFAULT_OPTIONS #24242
-    
-    This macro aggregate a number of existing macros that sets commmon
-    X.Org components configuration options. It shields the configuration file from
-    future changes.
-
-commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Mon Oct 26 22:08:42 2009 -0400
-
-    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
-    
-    ChangeLog filename is known to Automake and requires no further
-    coding in the makefile.
-
-commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29
-Author: Gaetan Nadon <memsize@videotron.ca>
-Date:   Thu Oct 22 12:34:19 2009 -0400
-
-    .gitignore: use common defaults with custom section # 24239
-    
-    Using common defaults will reduce errors and maintenance.
-    Only the very small or inexistent custom section need periodic maintenance
-    when the structure of the component changes. Do not edit defaults.
-
-commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Nov 12 23:05:40 2009 -0800
-
-    Add compose-check.pl to EXTRA_DIST
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Thu Oct 29 17:17:24 2009 +0100
-
-    man: fix XCopyGC argument order
-    
-    Ubuntu bug#408337
-
-commit aad10032651cdc2a53b359035954454a28d6db67
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Oct 23 13:55:14 2009 -0700
-
-    libX11 1.3.2
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 6303ada89cb228c0f9656036f798703afb42fc29
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Wed Oct 21 12:42:07 2009 +1000
-
-    Add smiley faces to compose sequences.
-    
-    I wonder how we could have lasted that long without them.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Acked-by: Daniel Stone <daniel@fooishbar.org>
-    Acked-By: James Cloos <cloos@jhcloos.com>
-
-commit 0e104ebd8628803c27e36b16922ad1edd891325a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Oct 22 23:12:30 2009 -0700
-
-    Add man page for Compose file format
-    
-    Based on grammar description in modules/im/ximcp/imLcPrs.c and
-    note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5
-Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
-Date:   Tue Oct 20 12:46:03 2009 -0700
-
-    Add extra configuration and sanity checks for groff and ps2pdf
-    
-    1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these
-       environment variables.
-    2) Check that groff -ms works
-    
-    Some distributions ship the ms macros as a separate package which may
-    not be installed together with groff, so we need to make sure that groff
-    works and the required macros are actually installed before attempting
-    to build the specs.
-    
-    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
-    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
-commit d3f801fd2f9198eaad6797414dba652f9c006c6d
-Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-Date:   Sun Oct 18 17:34:53 2009 -0500
-
-    Fix VPATH build of libX11 specs
-    
-    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
-commit ad15e1a89d30ccc11d80745897b83def1448e8c0
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Oct 17 16:14:34 2009 -0700
-
-    libX11 1.3.1
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Oct 17 16:28:25 2009 -0700
-
-    Fix make distcheck
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Oct 16 19:25:35 2009 -0700
-
-    Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Oct 14 16:18:24 2009 -0700
-
-    Move libX11 & XIM/locale specs from xorg-docs
-    
-    If groff is found, and --disable-specs is not passed to configure,
-    specs will be converted to text, html and ps (or pdf if ps2pdf is
-    found) and installed to $(docdir)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b
-Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-Date:   Tue Oct 13 19:15:51 2009 -0500
-
-    Provide _Xsetlocale compat wrappers on Cygwin
-    
-    Previous versions of Cygwin did not have proper locale support, so Cygwin/X
-    defined X_LOCALE, using _Xsetlocale instead.  Cygwin 1.7 has added locale
-    support, but we can't remove the _Xsetlocale entry point without breaking
-    ABI.
-    
-    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
-commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0
-Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-Date:   Tue Oct 13 19:15:49 2009 -0500
-
-    dolt: add Cygwin to supported platforms
-    
-    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
-commit a2c8e3e34b15b57ff881a52101fc961a602f35e4
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Oct 14 13:23:30 2009 -0700
-
-    Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
-    
-    Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051
-Author: Jon TURNEY <jon.turney@dronecode.org.uk>
-Date:   Tue Feb 10 17:47:25 2009 +0000
-
-    Include sys/select.h for select() and struct timeval, if it exists
-    
-    This is a cygwin build fix
-
-commit 383165916ddac91740d4c780174d4c0d07cdb994
-Author: Xake <xake@rymdraket.net>
-Date:   Sun Sep 27 11:16:36 2009 +0200
-
-    Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 854269d55cdda8caf425515bfed2855e211a5ada
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Tue Oct 6 16:11:24 2009 +0200
-
-    configure: quote argument to m4_pattern_forbid
-    
-    Without this, configure spits out
-    ../configure: line 12364: ac_fn_c_check_member: command not found
-    ../configure: line 12378: ac_fn_c_check_type: command not found
-    
-    Also anchor the pattern to make it stricter.
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87
-Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
-Date:   Thu Oct 1 22:20:38 2009 -0700
-
-    Split CFLAGS into CPPFLAGS and CFLAGS
-    
-    On some build systems, CPPFLAGS is set to "-I/some/prefix/include".  If older
-    X11 headers are in /some/prefix/include, they will be preferred over the
-    shipped headers.  This corrects that problem.
-
-commit d54caf1c9c55af8247621b7ba6afb20b23699839
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Oct 2 10:59:08 2009 +1000
-
-    libX11 1.3
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit dd201bcf9e7f8863b7ef32273a5ef021678133c1
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Oct 2 12:10:29 2009 +1000
-
-    nls: remove duplicate Compose sequences from pt_BR.UTF-8
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit a293ae9e83739067fc92db1a39c262857bc2283e
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Sep 25 11:19:41 2009 +1000
-
-    Add XF86TouchpadToggle to XKeysymDB
-    
-    Lenovo laptops provide a key to enable or disable the touchpad and the
-    trackstick. This key is usually located on Fn + F8.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-    Acked-by: Adam Jackson <ajax@redhat.com>
-
-commit 69839f8903a24eab08f17a781b3797fb64dce9cf
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sun Sep 27 10:34:16 2009 -0700
-
-    Bug 24173: libX11 from git fails to build with automake older then 1.11
-    
-    AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the
-    Makefiles, instead of after.
-    <http://bugs.freedesktop.org/show_bug.cgi?id=24173>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit f5effd041f58ef07703cca2b4f396758811e1eec
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Apr 15 10:59:23 2009 -0700
-
-    Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 3843778358d3a0cd6a2d07dba5dd061248053ac9
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Apr 15 10:56:09 2009 -0700
-
-    Add perl script to check for duplicate or conflicting compose file entries
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Sep 18 17:10:04 2009 -0700
-
-    Use make rules instead of shell for loops to generate shadow man pages
-    
-    Allows parallel make and simpler build logs/error reporting
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Sep 18 16:58:53 2009 -0700
-
-    Add AM_SILENT_RULES support for cpp rules for man & nls files
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit bfa19cddd8546b4930a773f3bbd81137c362d82b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Sep 18 16:58:16 2009 -0700
-
-    Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 51396066c8003a96a6399c9a4bed2a81e512b582
-Author: Mikko Niskanen <mikko.niskanen@iki.fi>
-Date:   Fri Sep 4 10:11:15 2009 +1000
-
-    Fix wrong typedef on HP-UX (#18998)
-    
-    shl_dt doesn't exist, the type is shl_t.
-    
-    X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998>
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 615220a312b9430a580fe6dcf51703c6ef244f66
-Author: Paul Bender <pebender@gmail.com>
-Date:   Fri Sep 4 09:57:10 2009 +1000
-
-    Don't require xdmcp in configure.ac (#22583)
-    
-    X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583>
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Sep 3 14:02:44 2009 +1000
-
-    man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
-    
-    X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499>
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Sep 3 12:05:25 2009 +1000
-
-    man: XQueryTree may return BadWindow. (#23416)
-    
-    X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX>
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Aug 28 23:07:58 2009 +0800
-
-    Fix version tag in .TH line of several XKB man pages
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Aug 28 23:04:38 2009 +0800
-
-    XkbSetDeviceButtonActions.man: remove non-existent actions argument
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 53affa9335116f2d367f041e6502a411d4619e47
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Aug 28 23:00:17 2009 +0800
-
-    XkbQueryExtension.man: Arguments should be pointers
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 6233948885acc5873a5abddfff235afec555f3c2
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Aug 28 22:53:03 2009 +0800
-
-    XkbSAActionSetCtrls.man: Fix typo in formatting macro
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Aug 28 22:49:31 2009 +0800
-
-    Convert Xkb API man pages to ANSI prototypes
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit fa2eecca85baab9616f7143cc1a853a594b4a90c
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Mon Aug 24 06:35:17 2009 -0400
-
-    Add some (Serbian) Cyrillic NFD sequences.
-    
-    A number of characters in use in the various countries which use the
-    Cyrillic script do not appear as pre-composed characters in The UCS
-    or Unicode; they are only available as combining-character sequences.
-    
-    This commit adds support for using (prefix) dead keys and Multi_key-
-    initiated sequences to enter a number of these combining-character
-    sequences.  This ensures that users can enter these scripts even
-    when using the current Cyrillic keymaps, which lack support for
-    the combining characters.
-    
-    Please see the discussions on the xkb mailing list.
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Wed Aug 5 18:14:23 2009 +0200
-
-    man/xkb: delete spurious newline in .TH headers
-
-commit ee723b83b24682db833a2f0abd96cd319b8a62af
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Wed Aug 5 16:45:19 2009 +0200
-
-    man: use __libmansuffix__ instead of 3X11 for references to other pages
-
-commit 595e204feb82c798a92eea41fea03be6476ac181
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Wed Aug 5 16:43:36 2009 +0200
-
-    man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections
-
-commit 9da7e230d5320e1556ad2084fcd06ee7994385ea
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Wed Aug 5 14:15:02 2009 +1000
-
-    Bump to 1.2.99.901 (1.3 RC1)
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8
-Author: Filippo Giunchedi <filippo@debian.org>
-Date:   Sat Jun 6 16:56:54 2009 +0200
-
-    nls: add {left,right}wards arrow to compose table
-    
-    Debian bug#532117 <http://bugs.debian.org/532117>
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 7949bfa00390241d994f32463e50d4bd78920568
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Jul 31 13:33:52 2009 +0200
-
-    Update library version for new symbols
-    
-    Commit 554f755e5545f63d3c8f299297927238da155773 added generic event
-    cookie handling.  Bump libX11 version number accordingly.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sun Aug 2 17:18:31 2009 +0200
-
-    Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h
-    
-    X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252>
-    
-    Reported-by: Riku Salminen <rsalmin2@cc.hut.fi>
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Wed Jul 29 08:44:09 2009 +1000
-
-    Fix compiler warning 'unused variable qelt'
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 03f4907e14f5755e72309f08742977b871e81e33
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Wed Jul 29 08:34:57 2009 +1000
-
-    Add utlist.h to the Makefile.am
-    
-    utlist.h contains the linked list macros, it was added with the recent
-    addition of event cookies but utlist.h wasn't added to the Makefile.am. As a
-    result, make dist failed.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 554f755e5545f63d3c8f299297927238da155773
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Jun 26 11:27:43 2009 +1000
-
-    Add generic event cookie handling to libX11.
-    
-    Generic events require more bytes than Xlib provides in the standard XEvent.
-    Memory allocated by the extension and stored as pointers inside the event is
-    prone to leak by simple 'while (1) { XNextEvent(...); }' loops.
-    
-    This patch adds cookie handling for generic events. Extensions may register
-    a cookie handler in addition to the normal event vectors. If an extension
-    has registered a cookie handler, _all_ generic events for this extensions
-    must be handled through cookies. Otherwise, the default event handler is
-    used.
-    
-    The cookie handler must return an XGenericEventCookie with a pointer to the
-    data.The rest of the event (type, serialNumber, etc.) are to be filled as
-    normal. When a client retrieves such a cookie event, the data is stored in
-    an internal queue (the 'cookiejar'). This data is freed on the next call to
-    XNextEvent().
-    
-    New extension interfaces:
-        XESetWireToEventCookie(display, extension_number, cookie_handler)
-    
-    Where cookie_handler must set cookie->data. The data pointer is of arbitray
-    size and type but must be a single memory block. This memory block
-    represents the actual extension's event.
-    
-    New client interfaces:
-        XGetEventData(display, *cookie);
-        XFreeEventData(display, *cookie);
-    
-    If the client needs the actual event data, it must call XGetEventData() with
-    the cookie. This returns the data pointer (and removes it from the cookie
-    jar) and the client is then responsible for freeing the event with
-    XFreeEventData(). It is safe to call either function with a non-cookie
-    event. Events unclaimed or not handled by the XGetEventData() are cleaned up
-    automatically.
-    
-    Example client code:
-        XEvent event;
-        XGenericEventCookie *cookie = &ev;
-    
-        XNextEvent(display, &event);
-        if (XGetEventData(display, cookie)) {
-            XIEvent *xievent = cookie->data;
-            ...
-        } else if (cookie->type == GenericEvent) {
-            /* handle generic event */
-        } else {
-            /* handle extension/core event */
-        }
-        XFreeEventData(display, cookie);
-    
-    Cookies are not multi-threading safe. Clients that use XGetEventData() must
-    lock between XNextEvent and XGetEventData to avoid other threads freeing
-    cookies.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit d7675cb8fa7155e7aff1459636a117a97aa1bf28
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Mon Jul 6 13:17:35 2009 +1000
-
-    Bump to 1.2.99.1
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 75fe48e7a42a685d7098e8d7108b9b956c471563
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Fri Jul 10 14:07:34 2009 +1000
-
-    Bump to 1.2.2
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Jul 2 09:10:25 2009 +1000
-
-    XMaskEvent/XCheckMaskedEvents must not check for GenericEvents.
-    
-    GenericEvent cannot be selected for in the core event masks and they must
-    thus be treated like extension events.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Jul 2 09:06:05 2009 +1000
-
-    XWindowEvent/XCheckWindowEvent must not return GenericEvents.
-    
-    GenericEvents have no fixed position for the window, so they must be treated
-    like extension events.
-    
-    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
-commit 38f9054554d63525d2dd51aafb5eb57821158ab9
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Jun 15 19:00:43 2009 -0700
-
-    Drop ancient USG SysV #ifdefs
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Fri Jun 12 12:44:01 2009 -0400
-
-    Remove X_NOT_STDC_ENV usage. (#6527)
-
-commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri May 29 11:18:11 2009 +0200
-
-    nls: remove more duplicated aliases
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit e4b0899f516da224010e68bd2d953d5293d94993
-Author: parag <parag@rawhideTM.pnq.redhat.com>
-Date:   Thu May 28 11:29:35 2009 +0530
-
-    nls: Add pa_PK locale information and make pa_IN as default for pa.
-    
-    X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954>
-    
-    [jcristau: removed the pa_PK.UTF-8 alias to itself]
-    
-    Signed-off-by: parag <pnemade@redhat.com>
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit f0ea1f6d51145592f8617854f9320ec5dbff3299
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri May 29 10:58:20 2009 +0200
-
-    nls: remove broken sd_IN.UTF-8 alias
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit e29e010dabdb17d6498f2ef1786f69b8830c18ca
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri May 29 10:57:43 2009 +0200
-
-    nls: remove duplicated en_US* aliases
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit a89a300d87852c84389ad97db66dcb8930cb45dd
-Author: Caolan McNamara <caolanm@redhat.com>
-Date:   Thu May 21 18:41:05 2009 +0200
-
-    man: missing space in XAllocColor man page
-    
-    X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854>
-
-commit c1c001e36504fd304f76f69bf6af3643225c49ea
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed May 13 13:03:54 2009 -0400
-
-    [nls] Replace remaining UCS Combining Characters in Compose sequences.
-    
-    The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
-    where the keysym is used as a dead_key, with an actual dead_key symbol.
-    
-    The only remaining instances of UCS combining characters in the
-    compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY
-    used as a suffix in Multi_key-initiated sequences to create
-    mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF
-    from ∈ U+2208 ELEMENT OF.
-
-commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed May 13 09:58:59 2009 -0400
-
-    [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences.
-    
-    This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
-    where the matching keysym is used as a dead_key, and for which alternative
-    compose sequences exist.
-
-commit 79f47e6dff2f0a0b673bbfecc47528edca814baa
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri May 8 20:11:54 2009 -0400
-
-    [nls] Remove combining_ keysyms from the Compose files
-    
-    Some of the UTF-8 Compose tables included combining_ keysyms in
-    the compose sequences as though they were dead symbols.  This
-    is contrary to how combining characters are used in the UCS.
-    Therefore, those lines have been removed from the Compose tables.
-    
-    There were also some combining_ keysyms as targets.  As those
-    are not included in x11proto’s keysymdef.h, and as those do
-    exist there as Uxxxx keysyms, they are replaced with the Uxxxx
-    keysym names.
-    
-    This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107
-    and is based on attachment 25644 by samuel.thibault@ens-lyon.org.
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9
-Author: parag <pnemade@redhat.com>
-Date:   Tue May 5 16:50:47 2009 +0530
-
-    libX11: Add new Indic language information to nls directory files. #21560
-    
-    Signed-off-by: parag <pnemade@redhat.com>
-
-commit aaf81096eb44b4c2812108721ba02738391884da
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat May 2 01:38:14 2009 -0700
-
-    Correct return type in XkbGetKeyboard man page
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 2bef065b70f70af520b5de8fb23529254d15f003
-Author: Christoph Pfister <christophpfister@gmail.com>
-Date:   Mon Apr 27 22:32:57 2009 -0700
-
-    X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)
-    
-    http://bugs.freedesktop.org/show_bug.cgi?id=21117
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 5c1cde105db10df24d3c532f032cbc59050c7313
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Apr 17 22:14:47 2009 -0700
-
-    Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE
-    
-    Raises minimum autoconf version required to 2.60
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 84b7a91ef84f345384e4b0e13907385ca3ca3255
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Tue Apr 14 15:59:57 2009 +0100
-
-    Fix fi_FI.UTF-8, again
-    
-    Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose
-    file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file.
-    This reverts it back to using the en_US.UTF-8 one.
-
-commit 128daff4422f973ea40dd1e31b2db230e643549e
-Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
-Date:   Thu Apr 9 12:01:07 2009 +0700
-
-    Thai XIM not retrieve MB surrounding on UTF-8 LC
-    
-    On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps
-    that use X Input Method.
-    
-    This is because GTK+ imxim immodule passes surrounding text in locale encoding,
-    which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the
-    multi-byte StringConversionText response for the StringConversionCallback to
-    always be TIS-620, by retrieving a single byte and using it as-is.
-    
-    If the Thai XIM tries to convert the multi-byte text based on locale codeset
-    before using it, it will work again.
-    
-    X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759>
-    
-    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit e09f0d227fbf95b6252759af9d426efd57686f9f
-Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
-Date:   Thu Apr 9 11:47:55 2009 +0700
-
-    Thai XIM not filters when NumLock or CapsLock is on
-    
-    The Thai XIM component in libx11 activated on 'th*' locales normally filters
-    input sequence according to orthographic rules. However, when NumLock/CapsLock
-    is on, this stops working. All sequences are passed through.
-    
-    This is caused by missing masks in _XimThaiFilter(), which normally screens out
-    certain special keys from entering orthographic rules. Unfortunately, this
-    included events with NumLock/CapsLock on. Negating the masks from the check
-    allows the events to be tested by the rules.
-    
-    X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517>
-    
-    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit d108d3c706af3502820b5202564488ea19908b77
-Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
-Date:   Thu Apr 9 11:25:25 2009 +0700
-
-    CharSet-to-CompoundText Conversion Failed for Thai Locales
-    
-    SCIM fails to commit Thai input characters on Thai locales, because it commits
-    string in compound text form, which was converted via
-    XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8
-    declares cs1's ct_encoding as TIS620-0:GR, which was commented out in
-    src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence.
-    So, declaring cs1 as ISO8859-11:GR instead makes it work.
-    
-    Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds
-    support for UTF-8 input.
-    
-    And, along discussion in the bug, a similar problem was found for fontset, too,
-    by causing delays on X apps startups on systems without tis620-0 fonts. This
-    is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries
-    by default for Thai X fonts. So, Thai fontset charset is also patched.
-    
-    X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475>
-    
-    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit fd62d3318c846cd43d66a505946e94704d7d83dc
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Apr 8 19:42:25 2009 -0700
-
-    Revert "Change masculine to ordmasculine in Compose file comments"
-    
-    This reverts commit 892b401d5acc055803a20e349ede0d64490f2230.
-    
-    As Julien Cristau correctly points out, I misread the Compose file grammar
-    in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and
-    the keysym is named XK_masculine in keysymdef.h.   This change is thus a
-    bug in the Solaris compose tables to be fixed, not an improvement to bring
-    upstream.
-
-commit eac57c77afdf44f50692225b8b0345a7c927bc84
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Apr 7 15:38:45 2009 -0700
-
-    Version bump: 1.2.1
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit bfbec08baec33c5024510b0bcbbee6e4a8473e79
-Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net>
-Date:   Tue Apr 7 13:46:57 2009 -0700
-
-    Bug 20773: Xcursor dynamic loading on Cygwin
-    
-    X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773>
-    Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit c8c41614911be4fa222fa22478677d263b41c751
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Apr 6 16:52:46 2009 -0700
-
-    Fix a several sparse warnings: Using plain integer as NULL pointer
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit b336c3d0cc2aefc8926500cff5f76b5a3e803886
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Apr 6 16:32:05 2009 -0700
-
-    Further ansify prototypes & reduce #ifdefs in locking.c
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 892b401d5acc055803a20e349ede0d64490f2230
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Apr 6 10:50:09 2009 -0700
-
-    Change masculine to ordmasculine in Compose file comments
-    
-    Matches the ordfeminine name used for the matching character,
-    and the ordmasculine name used in many font descriptions of the glyph.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit e3198b55dc16ec57346cc28aa8d34165ce8cde96
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Mar 13 13:52:33 2009 +0100
-
-    Add a ru_RU.UTF-8 locale
-    
-    Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0.
-    
-    Debian bug#330144 <http://bugs.debian.org/330144>
-    X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887>
-
-commit d239de9452691d6f875e6e5ace3d499ec3bf14d9
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Mar 25 17:59:09 2009 -0700
-
-    Delete some unused "#ifdef notdef" static functions
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 4281892e31058ef3aecc96a5767824b34d88d415
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Mar 25 17:52:48 2009 -0700
-
-    Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c
-    
-    This copy of Xrm.c is never compiled into the Xprint server any more, so
-    this old code-sharing #ifdef from the monolith tree isn't needed.
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Mar 17 18:38:58 2009 -0700
-
-    makekeys: combine malloc(strlen)+strcpy into strdup
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Mar 17 15:42:19 2009 -0700
-
-    When makekeys fails to find a good hash, print error instead of divide-by-zero
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Mar 17 14:59:16 2009 -0700
-
-    Remove ifdef checks for macII left over from ancient A/UX 3.0 support
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 18:37:49 2009 -0700
-
-    XErrorDB additions for DRI2 requests
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 273f45af1441be9d2135e4cac8c46ceb33470236
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 18:35:44 2009 -0700
-
-    XErrorDB additions for XInput errors and new XInput 1.5 requests
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 90ef36f6336068183bf9d13ca972202db35b1202
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 18:23:05 2009 -0700
-
-    XErrorDB additions for RANDR 1.3
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 124a4efaccf329f1a44f6b824e70278bdd1cad83
-Author: Lubos Lunak <l.lunak@suse.cz>
-Date:   Mon Mar 16 18:03:36 2009 -0700
-
-    XErrorDB updates for XTEST, RANDR, DAMAGE extensions
-    
-    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 80811846e37b805fddb37c71589fd5f6f6037b3f
-Author: Lubos Lunak <l.lunak@suse.cz>
-Date:   Mon Mar 16 17:57:52 2009 -0700
-
-    XGetErrorText() fails for extension error codes equal to the error base
-    
-    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd
-Author: Milos Komarcevic <miloskomarcevic@netscape.net>
-Date:   Mon Mar 16 17:43:26 2009 -0700
-
-    Bug 11456: Serbian locale updates (sr_RS and sr_ME)
-    
-    X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456>
-    Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 934a6c0519a9e32505beee55b004f36c2a710217
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 14:55:22 2009 -0700
-
-    Bug 10082: Compose entries for some standard mathematical operators
-    
-    X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit abf4da1ed0f735ca7ce471dc13a0ec3677391486
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 14:27:46 2009 -0700
-
-    Bug 14651: We need to add new locale specification for Belarusian Latin locale
-    
-    X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 837703c8651e1321a50147a8311c56e4758ce08a
-Author: Caolan McNamara <caolanm@redhat.com>
-Date:   Mon Mar 16 14:15:50 2009 -0700
-
-    Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature
-    
-    X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575>
-    Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 22199018879055d8653e59d8236bef57164fac66
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 16 13:28:18 2009 -0700
-
-    Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Mar 12 18:57:20 2009 -0700
-
-    Bug 9953: Please provide locale alias hu_HU.utf8
-    
-    X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953>
-    Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 501f4e0ada1690783ada05ad412e4b191ad55336
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Mar 12 17:38:21 2009 -0700
-
-    Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error
-    
-    X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820>
-    Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 7b9c543e7210c7da204871c31a160e79d3a949b6
-Author: Paul Bender <pebender@gmail.com>
-Date:   Thu Mar 12 17:11:42 2009 -0700
-
-    Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb
-    
-    X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664>
-    Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06
-Author: Xue Wei <Wei.Xue@Sun.COM>
-Date:   Wed Mar 4 19:32:29 2009 -0800
-
-    Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA
-    
-    Sun bug 6809309 Add new utf8 locales supported by Xlib
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit cb70c9bc43267577859a3674ca9de9be396ba69e
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Feb 23 19:29:15 2009 -0800
-
-    Add --with-locale-lib-dir configure option to set locale lib install dir
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Feb 23 18:33:51 2009 -0800
-
-    Incorporate more locale names/aliases from Solaris libX11
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 83ce4daefdf544f801c7d666c89162690a36ce41
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Feb 23 18:32:34 2009 -0800
-
-    Incorporate char range comments from Solaris version of ksc5601.h
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764
-Author: Chris Ball <cjb@laptop.org>
-Date:   Sat Feb 21 14:48:42 2009 -0500
-
-    Fix fi_FI locale install directory.
-    
-    fi_FI was setting "x11thislocaledir" to en_US, with the result that its
-    locale data was written in that locale dir.
-    
-    Signed-off-by: Chris Ball <cjb@laptop.org>
-
-commit da6bbca07c796c69172a649405474f03bee66754
-Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es>
-Date:   Sat Feb 21 20:17:23 2009 +0100
-
-    xcb_io: Avoid datatype overflow on AMD64 and friends.
-
-commit 4ef6491afa69e8441caee7bbebc583e6e796275e
-Author: Chris Ball <cjb@laptop.org>
-Date:   Sat Feb 21 12:51:03 2009 -0500
-
-    Build fix for fi_FI.
-    
-    Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no
-    Makefile is written there by configure.
-    
-    Signed-off-by: Chris Ball <cjb@laptop.org>
-
-commit 642c4e928e770e012379539a6ce09e11c02f09a6
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sat Feb 21 03:12:05 2009 +0100
-
-    nls: actually use the fi_FI.UTF-8 files
-    
-    The subdir wasn't added to nls/Makefile.am
-
-commit 9bad8309ef289bb943651abf6967b24fa2252aac
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Feb 20 14:45:54 2009 -0800
-
-    flags member of Display structure needs to be marked volatile
-    
-    Since the Xlib multithreaded code checks the flags variable in _XFlushInt
-    to see if the other threads are done yet, it has to be marked volatile so
-    the compiler doesn't optimize out re-loading it on each trip through the
-    while loop and end up in an impossible-to-exit infinite loop of CPU chewing.
-    
-    Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit ef5c446395aa30d7b1096a112e241a81c5b358e7
-Author: Xue Wei <Wei.Xue@Sun.COM>
-Date:   Fri Feb 20 15:12:35 2009 -0800
-
-    Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
-    
-    Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 3822f2654e9630167f0c6cae317b472c09771672
-Author: Xue Wei <Wei.Xue@Sun.COM>
-Date:   Fri Feb 20 15:03:51 2009 -0800
-
-    Add locale aliases for no_NO & sh_BA locale variants
-    
-    Fixes Sun bug id 6691219: xterm refuses to start in some locales
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit 63b6b5b5f522c0a606b32163c643edb64ca91d54
-Author: Xue Wei <Wei.Xue@Sun.COM>
-Date:   Fri Feb 20 14:23:11 2009 -0800
-
-    Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
-    
-    Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications
-     changing keyboard layout with gimlet does not work")
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254>
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit d497301707962f3b94542e999a36abffcfbd303d
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Tue Feb 17 16:09:41 2009 +0100
-
-    Bump to 1.2
-
-commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Tue Feb 17 15:23:40 2009 +0100
-
-    Check Xmalloc return value in _XConnectXCB
-    
-    X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137>
-    
-    Signed-off-by: Julien Cristau <jcristau@debian.org>
-
-commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Feb 14 12:35:56 2009 -0500
-
-    dolt: allow older versions of bash to compile the library
-    
-    Cf xserver commit 7be6520d and bugzilla #19031.
-
-commit 20982d6866e24453642b0b592fa0f13a88aa747c
-Author: Will Thompson <will@willthompson.co.uk>
-Date:   Thu Feb 5 02:53:06 2009 +1100
-
-    NLS: Compose: Non-aliasing CCCP
-    
-    Oops, cccp aliased cc for question mark.  Upper-case it to avoid fail.
-    
-    Signed-off-by: Will Thompson <will@willthompson.co.uk>
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry)
-
-commit f052665394f3f0319e93a98f1d5d4ea287e1dd07
-Author: Will Thompson <will@willthompson.co.uk>
-Date:   Wed Feb 4 14:51:11 2009 +0000
-
-    Add two essential compose sequences
-    
-    Signed-off-by: Will Thompson <will@willthompson.co.uk>
-    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-
-commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Feb 2 20:34:31 2009 -0800
-
-    Add README with pointers to mailing list, bugzilla & git repos
-    
-    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-
-commit f682c27e93512773122887d2cbabb1657af45d2e
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Mon Feb 2 16:36:39 2009 -0200
-
-    Check if a function argument is NULL.
-    
-      This was an addition to patch (also by me)
-    https://bugs.freedesktop.org/attachment.cgi?id=14660
-    that was not added when rediscovering/correcting the problem.
-
-commit 427e9d45d424b84efd9fc499aebf8d72392844c5
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Feb 28 15:58:12 2008 -0300
-
-    Allow multiple inclusions of cursorfont.h, cosmetic patch.
-
-commit b91524a53e691f6a5d278fd8972b48a14ebeedeb
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Feb 28 15:54:43 2008 -0300
-
-    Don't add prototypes for functions that don't exist.
-    
-    Note that a full review was not done, only for functions that receive
-    char/short arguments, or one of it's parameters is a function pointer
-    that requires char/short arguments.
-
-commit 537eb52fe266ac439c4b383bb04a70017b709911
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Feb 28 15:50:27 2008 -0300
-
-    WORD64 compile fix. This bug catched on a overview of the code.
-    
-    The code is wrong since the first git revision, so it seens that it has
-    not been compiled with WORD64 for quite some time, there is also another
-    interesting code in xkb/XKBRdBuf.c:
-      <hash>ifdef WORD64
-      _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
-      <hash>endif
-    and possibly there are other similar problems.
-
-commit ffd0300fb74c6183208ae599133f2ded09e08d97
-Author: Brian Rogers <brian@xyzw.org>
-Date:   Sat Jan 31 10:37:51 2009 -0800
-
-    Initialize event_notify after allocating the memory for it.
-    
-    An uninitialized or otherwise invalid condition variable can apparently
-    cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine
-    at least are freezing as a result of event_notify never being initialized.
-    
-    Signed-off-by: Brian Rogers <brian@xyzw.org>
-    Signed-off-by: Bart Massey <bart@cs.pdx.edu>
-
-commit 97fc6babd4ccaf300e25708868aa2a738893dc30
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Thu Jan 29 20:10:41 2009 -0500
-
-    NLS: Add UTF-8 compose file for Finnish
-    
-    From bug report:
-    
-      https://bugs.freedesktop.org/show_bug.cgi?id=18747
-
-commit 1bd2966ed88f83479a066c6ca7da23a515979550
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Jan 29 20:25:15 2009 -0200
-
-    patches to avoid gcc warnings for libX11 (#4)
-    
-    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
-    Bug #17946, attachment #19443
-    
-    This patch avoids the gcc warning
-       ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type
-    (same as already done at other places)
-    
-    BTW: what is the difference between XIM (the type of ic->core.im)
-    and Xim ?
-
-commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Jan 29 20:22:21 2009 -0200
-
-    patches to avoid gcc warnings for libX11 (#3)
-    
-    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
-    Bug #17946, attachment #19441
-    
-    This patch avoids the two gcc warnings
-       ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type
-       ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type
-    
-    Note, that this as a rather crude fix of the problem (and it is really a
-    shame to cast name_table to non-const).
-    
-    The right solution would be to declare XIMValuesList.supported_values
-    (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **').
-    This will, however, require extensive modifications in various places.
-
-commit cce75c5dce73fe1f8626ed9e6798138ada09a860
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Jan 29 20:20:18 2009 -0200
-
-    patches to avoid gcc warnings for libX11 (#2)
-    
-    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
-    Bug #17946, attachment #19440
-    
-    Avoid a preprocessor message
-       <stdin>:194: warning: no newline at end of file
-    
-    Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man)
-    seem to be caused by a truncated (or otherwise incomplete)
-    manpage.
-
-commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Jan 29 20:12:24 2009 -0200
-
-    patches to avoid gcc warnings for libX11 (#1)
-    
-    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
-    Bug #17946, attachment #19439
-    
-    Define as 1 (one) as done by autoconf and the command line
-    option, e.g. -DX11_t, not as empty.
-    
-    This avoids the gcc (3.4.6) warnings:
-       ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined
-       <command line>:7:1: warning: this is the location of the previous definition
-       ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined
-       <command line>:8:1: warning: this is the location of the previous definition
-    
-    Similarly, follow the autoconf convention to define XTHREADS
-    and XUSE_MTSAFE_API as one.
-    
-    This avoids analogous warnings when compiling libXcomposite,
-    libXcursor, and libXdamage.
-    
-    No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused).
-
-commit a1977883c9f5ef0e515569d6e2ebccb07411f98c
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Thu Jan 29 15:01:06 2009 -0200
-
-    Janitor: Correct some gcc/sparse warnings.
-    
-      Most remaining warnings are about XIM/Xim to/from conversion
-    and discarding const from pointers.
-
-commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be
-Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
-Date:   Wed Jan 28 20:31:42 2009 -0200
-
-    Janitor: ansification, make distcheck, compiler warnings.
-    
-      Only convert to use "ansi prototypes" the functions warned from
-    compilation with "./autogen.sh --prefix=/usr", on a Linux computer.
-    
-      Also, only address "trivial" compiler warning fixes in this commit.
-    
-      The new .gitignore is the output of a command like:
-    % find . -name .gitignore -exec cat {} \; | sort | uniq
-    and only the toplevel .gitignore file was kept.
-
-commit 091c1624fd2f9d933329d6152e4ecd865aa7903a
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Tue Jan 13 12:05:54 2009 +1000
-
-    Fix wrong implies symbol.
-    
-    Quote Simos Xenitellis:
-    > I checked the gtk+ commit logs that go back to 2000, and I see that still it
-    > was
-    >
-    >   { 0x08ce, 0x21d2 }, /*                     implies ⇒ RIGHTWARDS
-    > DOUBLE ARROW */
-    >
-    > In XFree86, it appears there was an error when they converted the
-    > original table to
-    > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup
-    > and the problem still shows up there (November 2000).
-    
-    http://lists.freedesktop.org/archives/xorg/2008-October/039743.html
-    
-    Reported by Erik Streb del Toro.
-
-commit e32521f19e0b07649b7e3a03d56a2bd556b138fb
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sun Dec 7 04:13:34 2008 -0500
-
-    [i18n] s/U00DC/Udiaeresis/g
-    
-    The xkeyboard-config keyboards generate the symbol Udiaeresis, not
-    U00DC.  Make sure the relevant Compose sequences expect the symbol
-    which the keyboards actually send.
-
-commit b7502abfe22f8dc009b21cda1172af221d8f9f32
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sun Dec 7 04:09:46 2008 -0500
-
-    Revert "For nls/*.pre, allow people to comment lines by starting them with '##'."
-    
-    As of commit c9d20e3 the initial double-hashes are replaced with proper C comments.
-    
-    This reverts commit a225a0be48770beb689d5ac5da97073634f7deab.
-
-commit c9d20e3f697c9cfae5511412023362c1db7449b1
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sun Dec 7 04:08:23 2008 -0500
-
-    Use C comments rather than initial doubled hashes to exclude lines from .pre files
-
-commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25
-Author: vehemens <vehemens@verizon.net>
-Date:   Sun Dec 7 01:18:26 2008 -0500
-
-    [i18n] Distribute new headers which were added for gb18030 support.
-    
-    big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to
-    make it into the tar.
-    
-    Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51.
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 418819558d2c60e58b4e3022ce0fadf2143488ac
-Author: Stefan Dirsch <sndirsch@suse.de>
-Date:   Sat Nov 22 22:01:07 2008 +0100
-
-    Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299).
-
-commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a
-Author: Stefan Dirsch <sndirsch@suse.de>
-Date:   Sat Nov 22 19:40:54 2008 +0100
-
-    Added remaining xlib patch required for gb18030 support (#1573).
-
-commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf
-Author: Stefan Dirsch <sndirsch@suse.de>
-Date:   Sat Nov 22 17:53:06 2008 +0100
-
-    Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182).
-
-commit c859446c500c883a67f7a86cab1a44844e24dade
-Author: Ken Thomases <ken@codeweavers.com>
-Date:   Fri Nov 21 13:58:10 2008 -0500
-
-    [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202)
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53
-Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
-Date:   Mon Nov 17 20:47:26 2008 -0800
-
-    Force local transport when using the launchd socket.
-    
-    Fixes a regression due to
-    bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
-
-commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c
-Author: Peter Hutterer <peter.hutterer@redhat.com>
-Date:   Fri Nov 14 10:32:50 2008 +1000
-
-    Add XF86Suspend, XF86Hibernate to KeysymDB.
-
-commit d16b11f25f8265e651def8d80bcd430c0448e664
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Nov 11 19:43:39 2008 -0500
-
-    [nls] Annotate the Bépo compose sequences
-    
-    Add comments with the UCS names.
-    Add utf-8 strings for each result.
-    Format for easy reading.
-
-commit 730298464240be6f65b32416b3f9b20062c61825
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Nov 11 16:41:34 2008 -0500
-
-    [nls]  Add some UTF-8 Compose sequences
-    
-    As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/).
-    
-    Cf. bugs:
-    
-      https://bugs.freedesktop.org/show_bug.cgi?id=17821
-      https://bugs.freedesktop.org/show_bug.cgi?id=17822
-
-commit ad6008a0c92733826983eb93f063d3d6276007d8
-Author: Colin Harrison <colin.harrison@virgin.net>
-Date:   Thu Nov 6 17:48:21 2008 -0500
-
-    Fix copy/paste typo in imLcPrs
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Thu Nov 6 14:54:13 2008 -0500
-
-    Fix leak in _XimXGetReadData
-    
-    Spotted by Denis Dzyubenko
-
-commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Wed Nov 5 22:09:37 2008 +0100
-
-    Bump to 1.1.99.2
-
-commit d31e644c65c52828ea3e7abd94a8cf9aee12265c
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Wed Nov 5 21:33:13 2008 +0100
-
-    Fix distcheck
-
-commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Oct 29 14:00:33 2008 -0700
-
-    Support multiple independent internal sync handlers
-    
-    Xlib has several independent tasks that need to be performed with the
-    display unlocked. It does this by replacing the existing sync handler with
-    one of a variety of internal sync handlers. However, if multiple internal
-    sync handlers need to run, then the last one registering wins and
-    previously registered internal sync handlers are never invoked. This
-    manifested as a bug with DRI applications on Xlib/XCB as that requires
-    both an XID handler after every XID allocation, and the periodic sequence
-    number handler. The XID handler would win, and the sequence number handler
-    would never be invoked.
-    
-    Fix this by unifying the internal sync handler mechanism into a single
-    function that calls all of the known internal sync handlers. They all need
-    to deal with being called when not strictly necessary now.
-    
-    Signed-off-by: Keith Packard <keithp@keithp.com>
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-
-commit 2dbaaab9c4e3894b33dcae850551dee5473431d5
-Author: Keith Packard <keithp@keithp.com>
-Date:   Sat Oct 11 21:44:21 2008 -0700
-
-    Ensure that _XReadEvents always leaves an event in the queue on return
-    
-    XNextEvent assumes that the event queue will be non-empty on return from
-    _XReadEvents, but with multiple event readers running, the previous change
-    could leave the queue empty on return from process_responses. Re-invoke
-    process_responses until the queue is non-empty.
-    
-    Signed-off-by: Keith Packard <keithp@keithp.com>
-
-commit bedfe68259037c5564fe52758c92b9c97729640a
-Author: Keith Packard <keithp@keithp.com>
-Date:   Sat Oct 11 21:10:23 2008 -0700
-
-    Permit only one Xlib thread to block waiting for events
-    
-    As Xlib queues events internally, we must prevent multiple Xlib threads from
-    entering XCB to wait for an event in case the queued event is to be
-    delivered to the thread which didn't manage to read it. In other words, let
-    only one Xlib thread into xcb_wait_for_event at a time.
-    
-    Jamey Sharp looked over my shoulder while making this fix and, while hating
-    my whitespace conventions, appears happy enough with the actual code.
-    
-    Signed-off-by: Keith Packard <keithp@keithp.com>
-
-commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Mar 23 16:33:50 2008 -0700
-
-    Fix XAllocID race: hold the user display lock until we have a new XID.
-    
-    Xlib built --without-xcb is also vulnerable to this race, and a similar
-    fix might work there too.
-    
-    Also, use an XID that's truly invalid while waiting for the next XID to be
-    requested.
-
-commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Sat Mar 15 17:22:23 2008 -0700
-
-    Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock.
-    
-    Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending
-    requests between calls to Xlib's LockDisplay and UnlockDisplay macros.
-    Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and
-    had to flush its requests when unlocking the display.
-    
-    XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket.  Replace
-    much of the existing Xlib/XCB implementation with the use of
-    xcb_take_socket to take ownership of the write side of the X connection
-    socket, and a return_socket callback which writes any outstanding requests
-    with xcb_writev.  This approach allows Xlib/XCB to use the same buffering
-    as traditional Xlib did.  In particular, programs which use Xlib/XCB and
-    never make XCB calls will never need to hand the socket back to XCB, and
-    vice versa.
-    
-    This allows us to discard large quantities of synchronization code from
-    Xlib/XCB, together with the synchronization bugs present in that code.
-    Several test cases which previously failed now work perfectly, including
-    multi-threaded ico.  In addition, the infamous locking correctness
-    assertions, triggered when double-locking or when unlocking without a
-    previous lock, no longer exist, because Xlib/XCB no longer has any reason
-    to care more about application locking than traditional Xlib does.
-    
-    Furthermore, the handoff approach provides great improvements to
-    performance.  Results from x11perf's XNoOp test, which represented the
-    worst case for the lock-based Xlib/XCB:
-    
-    Traditional Xlib:       average 19100000/sec
-    Lock-based Xlib/XCB:    average  3350000/sec
-    Handoff-based Xlib/XCB: average 17400000/sec
-    
-    Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to
-    Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op
-    performance.  Of course, real-world workloads do not use no-op, so your
-    mileage may vary.  In particular, since no-ops represent the worst case,
-    we expect real workloads to more closely match the performance of
-    traditional Xlib.
-    
-    While removing synchronization code, we changed _XReply to not drop any
-    locks when calling xcb_wait_for_reply; previously, we had to carefully
-    avoid a deadlock between the Display lock and the XCB Xlib lock. Holding
-    the locks reduces implementation complexity and should not impact
-    applications.
-    
-    Commit by Jamey Sharp and Josh Triplett.
-    XCB's handoff mechanism inspired by Keith Packard.
-
-commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75
-Author: Chris Ball <cjb@laptop.org>
-Date:   Mon Nov 3 22:57:29 2008 -0500
-
-    Remove configure check for xcb-xlib.
-    
-    xcb-xlib has been intentionally removed from libxcb; stop checking for
-    it at configure-time.
-
-commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Wed Oct 29 14:37:44 2008 -0700
-
-    .gitignore: Add dolt files
-
-commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2
-Author: Peter Hutterer <peter.hutterer@redhat.com>
-Date:   Tue Oct 28 11:56:55 2008 +1030
-
-    man: fix formatting error in XkbGetIndicatorState man page.
-
-commit b1022fa6d7e97640049e93ffa108083fc8d71b05
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Oct 25 09:13:08 2008 -0400
-
-    Increase size of working arrays in the makekeys utility program.
-    
-    Makekeys is used to create an optimal hash of the keysyms defined
-    in x11proto’s keysymdef.h.
-    
-    The recent addition of new keysyms there has triggered a bug in
-    makekeys where it tries to use a zero on the rhs of the % (mod)
-    operator (resulting in a divide by zero error) whenever it fails
-    to find a solution within its constraints.
-    
-    Increasing the size of the arrays allows it to find a solution for
-    the current set of keysyms.
-    
-    Makekeys is only run durring the build process, so this has no impact
-    on users of libX11, only on the amount of VM needed to build it.
-    
-    It still needs a more complete fix, but this allows compiles to
-    progress until that is completed.
-
-commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Oct 11 01:03:14 2008 -0400
-
-    Dolt-ify
-    
-    Add dolt to acinclude.m4 and call it it configure.ac to speed compiles.
-
-commit 39c0b266cac8cbc15bf501d7869186862f01d823
-Author: Peter Hutterer <peter.hutterer@redhat.com>
-Date:   Wed Oct 15 14:30:20 2008 +1030
-
-    Add more keysyms for PS3 BD remotes, Ericsson Phones #16519
-    
-    X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519>
-
-commit d23aad31338e7d869d878d5aa1b6b91d20287005
-Author: Peter Hutterer <peter.hutterer@redhat.com>
-Date:   Mon Oct 13 09:41:59 2008 +1030
-
-    Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb.
-
-commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c
-Author: Peter Hutterer <peter.hutterer@who-t.net>
-Date:   Thu Jul 24 15:44:26 2008 +0930
-
-    xkb: fix out-by-1 error in _XkbWriteKeyExplicit.
-    
-    Thanks to Michael Meeks, Novell Bug 369263.
-    https://bugzilla.novell.com/show_bug.cgi?id=369263
-
-commit e7ece39afc8e0adc3b6b1e70b337b98376754462
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Oct 7 15:41:38 2008 -0700
-
-    Sun bug #6739431: double free in _X11TransConnectDisplay()
-    
-    Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
-    After copying original_hostname to phostname, set original_hostname
-    to NULL, so we don't free the same pointer twice when we free both
-    original_hostname and phostname.
-    
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431>
-
-commit 0877bc916afbd1ff8f1833edc930b765ea783576
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Sep 23 19:02:02 2008 +0300
-
-    configure.ac: Fix CC_FOR_BUILD logic error
-    
-    Turns out we were accidentally smashing it so that you couldn't set it
-    externally at all.  Oops.
-
-commit 58bf3aa746908f01c37be7045699e43a4e270944
-Author: John Tapsell <johnflux@gmail.com>
-Date:   Tue Sep 23 17:30:13 2008 +0300
-
-    Build: Use native compiler for makekeys
-    
-    makekeys needs to be run during the build process, as opposed to on the
-    target, so build it with either of gcc or cc to fix cross-compiling.
-    This can be overridden by setting $CC_FOR_BUILD.
-
-commit 340422a5c7a413faef18666cada27cee14615250
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Wed Sep 17 12:54:34 2008 -0400
-
-    Fix the previous patch for the BadFont case.
-
-commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428
-Author: Matthias Clasen <mclasen@redhat.com>
-Date:   Wed Sep 17 10:43:52 2008 -0400
-
-    Bug #17616: Fix an XCB leak when the client has a non-fatal error handler.
-
-commit db0b85db29699be6bf7e78dede655d59ba926dfc
-Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
-Date:   Sun Sep 14 19:15:26 2008 -0400
-
-    Fix problem with <dead_acute> <c> in pt_BR.UTF-8
-    
-    The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8
-    Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the
-    ISO 8859 pt_BR Compose file) as the string but specify the keysym
-    and comment for Ć and ć (c with acute accent).
-    
-    This commit normalizes those two lines to match the specified string.
-    
-    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit b065c011baa69b69e3ea77c30d5e153c0d103e2d
-Author: Michael Verret <michael.verret@gmail.com>
-Date:   Mon Sep 8 16:33:35 2008 -0400
-
-    Fix documentation typo
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit 4213ea95185377bdd1b51e82933f331fc0f52e5b
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Sep 6 04:19:19 2008 -0400
-
-    Remove extraneous <angle brackets> from the Ethiopic Compose file.
-    
-    The am_ET.UTF-8 Compose file submitted in:
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=11307
-    
-    for the OLCP project used incorrect syntax.  (It has angle brackets around the
-    Uxxxx symbols on the right hand side rather than only on the left hand side).
-    
-    This bug is noted in OLPC’s ticket:
-    
-    http://dev.laptop.org/ticket/7474
-    http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch
-
-commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Mon Sep 1 17:49:33 2008 -0400
-
-    Complete the set of vulgar fractions
-    
-    Unicode 1.1 added thirds, fifths, sixths and eights;
-    we might as well catch up.
-    
-    (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152)
-    and 0/3 (U2189) in their pipelines, but those four can be added
-    here after they are published.)
-
-commit a788792e9de95f8db0639557859722a35087481d
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed Aug 20 15:28:07 2008 -0400
-
-    nls (en_US) Re-remove long compositions that override shorter
-    
-    As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>:
-    
-      Commit a6f4bbf7
-        nls (en_US): remove long compositions that override shorter [...]
-        removed some longer compose sequences because there are shorter
-        ones which take preference over the longer. For example the
-        sequences:
-    
-          <Multi_key> <apostrophe> <comma> <c>   : U1E09 # ḉ
-          <Multi_key> <apostrophe> <comma> <C>   : U1E08 # Ḉ
-    
-        were removed becase there already was:
-    
-          <Multi_key> <apostrophe> <comma>       : U201A # ‚
-    
-      Then commit 4ba09125
-        Work on making the en_US and pt_BR UTF-8 Compose as similar as
-        possible added exactly the same key sequences again. Obviusly
-        they won't work.
-
-commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Thu Jul 17 21:01:42 2008 -0400
-
-    Add more <Multi_key> <cedilla> Compose tuples
-    
-    The last commit missed the el_GR UTF-8 Compose.pre as well as
-    the various ISO 8859 locales which have compose sequences
-    generating ‘WITH CEDILLA’ characters.
-    
-    (Interestingly, some of the 8859 locales already supported
-    <Multi_key> <cedilla> for some CEDILLA characters, but not
-    for Ç or ç.)
-    
-    This is further work on bug 10397.
-
-commit 4ba091255bb953d53078ba5619d6751052c739f7
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Thu Jul 17 17:16:50 2008 -0400
-
-    Work on making the en_US and pt_BR UTF-8 Compose as similar as possible.
-    
-    The eventual goal here is to have a single primary UTF-8 Compose
-    file which the locale-specific UTF-8 Compose.pre files can #include.
-
-commit 254522d3c24e0590732fc03cdd61ff4564819d94
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Thu Jul 17 17:13:36 2008 -0400
-
-    Add <Multi_key> <cedilla> Compose tuples
-    
-    The en_US and pt_BR UTF-8 Compose tables had support for using <comma>
-    with <Multi_key> to enter CEDILLA characters.  Bug 10397 requests
-    support for using <cedilla> instead of <comma> in said sequences.
-    
-    This commit makes both styles work.
-
-commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Jun 28 15:25:23 2008 -0400
-
-    Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
-    
-    The new block was added twice to the en_US.UTF-8 Compose.pre;
-    delete the duplicate.
-
-commit 596e081b7457dcd1c4ad555ac140e6999239bc0d
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Sat Jun 28 20:14:05 2008 +0930
-
-    Fix unbalanced parenthesis in XKBlib.h # 16551
-    
-    X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551>
-
-commit f6af6dd2f76c12b56ec166bb771457b9f08fe246
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Tue Jun 24 13:16:53 2008 -0400
-
-    Bug #14898: Don't abuse the sprintf() implementation.
-    
-    The thing you're printing into should not itself appear in the list of
-    things to print from, that's bad juju.  Just use strcat().
-
-commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
-Author: Khaled Hosny <khaledhosny@eglug.org>
-Date:   Thu Jun 19 18:26:11 2008 -0400
-
-    NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426)
-    
-    Add some Arabic digraphs to utf-8 locales with a Compose.pre
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Jun 18 20:00:25 2008 -0700
-
-    Rework code to choose local connection types and fallback to others
-    
-    Adds --with-local-transport-order configure flag if you don't like the
-    default ordering (which is platform dependent)
-    
-    Includes fixes for these Sun/Solaris bug ids:
-    6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250>
-    6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481>
-
-commit cf49e537014c3cb5aaee07e57400933e0bb72b6b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Jun 17 14:41:17 2008 -0700
-
-    Strip whitespace from end of lines in source files
-
-commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3
-Author: Jeff Smith <whydoubt@yahoo.com>
-Date:   Sun Jun 15 23:52:20 2008 -0500
-
-    Fix memory leak in XOpenDisplay
-    
-    Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
-
-commit fca0b0ba3f72b7284601d4690bba99fc80a92614
-Author: Jens Herden <jens@khmeros.info>
-Date:   Tue Jun 10 20:07:30 2008 +0300
-
-    NLS: Add Khmer compose sequences (bug #5706)
-    
-    Add some Khmer digraphs to all locales with a Compose.pre.
-
-commit e54cffb649b1622c17457e470cfab8cc56d38c97
-Merge: 19802cc 721b574
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Tue Jun 10 20:04:30 2008 +0300
-
-    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
-
-commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Thu May 29 10:57:21 2008 +0930
-
-    Bump to 1.1.99.1
-
-commit 631d32d13247d1cf52c0833d438c5b38b01b17a4
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Wed May 28 17:31:59 2008 +0930
-
-    Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents)
-
-commit e9195db7257e418f83707233baeeb84b225caf4f
-Merge: c34f76f a7f8556
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Thu May 22 12:14:28 2008 +0930
-
-    Merge branch 'master' into xge
-
-commit 19802ccd3909145e3ba2f6c073271cb5f3701685
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Mon May 19 19:22:31 2008 +0300
-
-    gitignore: Update with loads more bits from server
-
-commit a7f85567a3e850fba0c44571453d2852ab1a09be
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Tue May 13 10:28:39 2008 -0400
-
-    Bug #15884: Remove useless sleep()'s from the connection code.
-    
-    For network transports, there's enough delay in the network layer
-    already without adding more.  For local transports, just hurry up
-    and fail if the server isn't there.
-
-commit c34f76f475bc632490122e67b5a82575d69d5569
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Mon May 12 21:46:24 2008 +0930
-
-    Pull down extra bytes when reading a GenericEvent (non-xcb).
-    
-    I refuse to take any responsibily for this code. It works, I guess.
-    But - all the flushing is done somewhere before that, so we might need to
-    flush here. Under some circumstances anyway. Don't ask me, I'm an optical
-    illusion.
-    
-    Build with xcb as transport layer highly recommended.
-
-commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3
-Merge: 17d7dcb 9129057
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Mon May 12 17:58:37 2008 +0930
-
-    Merge branch 'master' into xge
-
-commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb
-Author: Teemu Likonen <tlikonen@iki.fi>
-Date:   Wed May 7 21:44:22 2008 +0300
-
-    Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01
-    
-    Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot>
-    <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and
-    U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused
-    duplicate compose sequences since these have already been defined. Also,
-    using <dead_belowring> is more logical since the diacritic is indeed
-    a "RING BELOW".
-
-commit 01a9cb58888d290cc3d319feec4ee4a0297a844c
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed May 7 20:04:44 2008 +0300
-
-    NLS: Make UTF-8 the default for Russian
-    
-    No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the
-    only other possible answer would be KOI8-R.
-    
-    Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com>
-
-commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8
-Author: Ross Burton <ross@burtonini.com>
-Date:   Tue Apr 29 13:38:10 2008 +0300
-
-    NLS: Add interrobang to UTF-8 compose tables (bug #15653)
-    
-    It is what it says on the box.
-
-commit 0b6682303e9c61fefc3818acfda616b1e3691abf
-Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
-Date:   Mon Apr 28 11:51:25 2008 +0300
-
-    IM: Respect XMODIFIERS for Thai locale (bug #15719)
-    
-    When looking at Thai input methods, make sure XMODIFIERS is checked
-    before jumping straight into built-in Thai processing, so external XIM
-    servers such as SCIM can be used with Thai.
-
-commit c13aded1b2f830ba5004abb0ec5518f9ea16087e
-Author: Colin Harrison <colin.harrison-at-virgin.net>
-Date:   Sat Apr 26 18:56:05 2008 +0100
-
-    Fix missing error condition
-
-commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083
-Author: Colin Harrison <colin.harrison-at-virgin.net>
-Date:   Mon Apr 21 17:24:33 2008 +0100
-
-    Xlib warning fixes
-
-commit 6b6caeea830a977bdb54688cfb648d879821e752
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri Apr 18 02:50:55 2008 -0400
-
-    Add some dead_key sequences to en_US.UTF-8 Compose table
-    
-    Make use of the new dead key symbols added to x11proto’s
-    commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which
-    was in responce to bug #15446).
-
-commit 8f9b039580deaf658e464b7d6254064fcf183df6
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Apr 14 19:09:42 2008 -0700
-
-    Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version
-
-commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Apr 14 18:21:14 2008 -0700
-
-    Fix mismatched brace indenting
-
-commit a19f9c65ee9e5e5d783feaa84998c36439b0288b
-Author: Bart Massey <bart@cs.pdx.edu>
-Date:   Fri Apr 4 18:58:45 2008 -0700
-
-    added error check in Xcms color file parser; closes bug #15305
-
-commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f
-Author: Christian Weisgerber <naddy@mips.inka.de>
-Date:   Tue Mar 18 07:30:05 2008 +0100
-
-    ConnDis: properly cast 'addr' before accessing it as a byte array.
-    
-    If you use XDM-AUTHORIZATION-1 authorization keys for remote X11
-    clients over IPv6, the clients are liable to segfaults.
-
-commit 64325f38bab082a8e0e9ce779a8e582de5c8588e
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Sat Mar 15 12:29:33 2008 -0700
-
-    Fix fd.o bug 15023: make Xlib sync correctly given many void requests
-    
-    If given many requests without replies, Xlib may not sync until it flushes
-    the output buffer.  Thus, if Xlib can fit enough requests in the buffer to
-    pass by the number of requests it would normally sync after (65536 -
-    BUFSIZE/sizeof(xReq)), it will sync too late.  The test case in bug 15023
-    demonstrated this by issuing a request with a reply (ListExtensions) at
-    just the right time to get confused with the GetInputFocus reply issued in
-    response to the sync 65,536 requests later; the test case used an async
-    handler to watch the replies, since otherwise it could not issue a request
-    without waiting for the response.  When the test case failed, Xlib's sync
-    handler would eat the ListExtensions reply, and the test case's async
-    handler would see the GetInputFocus reply.
-    
-    Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the
-    buffer size to figure out when the sequence numbers could potentially wrap
-    before the next flush.
-    
-    With this commit, the test case consistently passed, and the async reply
-    handler always saw the ListExtensions reply.
-    
-    Commit by Jamey Sharp and Josh Triplett.
-
-commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e
-Author: Colin Harrison <colin.harrison@virgin.net>
-Date:   Sat Mar 15 13:39:13 2008 -0400
-
-    Fix typo
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-
-commit f07585ca27a8487bc66dfe41486c823f0fdcea7d
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sat Mar 15 17:32:57 2008 +0200
-
-    configure.ac: Don't search for legacy X11 headers
-    
-    This can actually break cross-compiles, so don't do it anymore.
-
-commit bf69541238c7df6606340c0f389e5c47149b29c7
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Mar 9 09:08:07 2008 +0100
-
-    nuke RCS Ids
-
-commit 5e98aed13e529638df744e45893c471d5f2014fb
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Thu Mar 6 16:10:33 2008 -0500
-
-    libX11 1.1.4
-
-commit 8e085971dc661da9f80ff6b67747459c0fb15c08
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Feb 28 20:17:41 2008 -0800
-
-    Man page typo fixes
-
-commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb
-Author: Søren Sandmann Pedersen <sandmann@redhat.com>
-Date:   Sun Feb 24 20:03:35 2008 -0500
-
-    XIM: Fix a hand when switching input context.
-    
-    Red Hat bug #201284.
-
-commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2
-Author: Adam Jackson <ajax@redhat.com>
-Date:   Sun Feb 24 20:00:43 2008 -0500
-
-    Bug #14029: Don't LockDisplay() recursively.
-    
-    See also Red Hat bugzilla #326461.
-
-commit e5892467ae3308c8651be76e06db322dcbc08522
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Feb 15 17:27:53 2008 -0800
-
-    Add support for building lint library with --enable-lint-library
-
-commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Feb 11 20:11:43 2008 -0800
-
-    Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from #
-
-commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Feb 8 16:46:46 2008 -0800
-
-    Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment
-
-commit 416a812200f24d19149dcc497e5c51a0608120f6
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Feb 8 15:31:31 2008 -0800
-
-    XErrorDB updates for Render 0.9 & XFixes 4.0
-
-commit 16a76091cd632e5a3708e235ff864b58f3e4613e
-Author: Kim Woelders <kim@woelders.dk>
-Date:   Sat Dec 22 21:45:23 2007 +0100
-
-    Fix bs_BA entries in locale.dir.pre
-    
-    X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786>
-
-commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea
-Merge: 8f0bd3f e8d4cef
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri Dec 14 22:43:47 2007 -0500
-
-    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
-
-commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri Dec 14 22:42:59 2007 -0500
-
-    add a comment to en_US.UTF-8/Compose
-
-commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Fri Dec 14 22:40:13 2007 -0500
-
-    Add <dead_stroke> compose sequences
-    
-    The added sequences match the existing <Multi_key> <slash> sequences.
-    
-    This is related to bug #12765¹.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=12765
-
-commit e8d4cefa0837afa149a10e981528b368485a9e38
-Author: Jeremy Huddleston <jeremy@yuffie.local>
-Date:   Mon Dec 10 23:00:44 2007 -0800
-
-    Added launchd support.
-
-commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242
-Merge: 5dfefd3 13ac804
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Thu Dec 6 14:08:29 2007 +1030
-
-    Merge branch 'master' into xge
-
-commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5
-Merge: a68a1cd eff33ae
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Thu Dec 6 13:57:09 2007 +1030
-
-    Merge branch 'master' into xge
-    
-    Conflicts:
-    
-       src/xcb_io.c
-
-commit 13ac80469f6958cabac596834e203bd9cb6d4c94
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Wed Dec 5 20:14:03 2007 -0500
-
-    Update the currency symbols block of en_US.UTF-8/Compose.pre
-    Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for
-    the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI,
-    AUSTRAL, HRYVNIA and CEDI SIGNs.
-
-commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e
-Author: Anton Zinoviev <anton@lml.bas.bg>
-Date:   Wed Dec 5 19:56:03 2007 -0500
-
-    Additions to the Compose file for UTF-8
-    From bug #5371¹
-    
-    Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change
-    from those in attachment #4122².  The post³ on xorg resulted in only
-    a positive reply⁴ from Daniel, so this block is now also commited.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=5371
-    2] https://bugs.freedesktop.org/attachment.cgi?id=4122
-    3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628
-    4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966
-    
-    Signed-off-by: James Cloos <cloos@jhcloos.com>
-    Acked-by:  Daniel Stone <daniel@fooishbar.org>
-
-commit 438d02ebc08ee171cf1d3936f4c81050d428ab92
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Dec 4 17:25:39 2007 -0500
-
-    Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
-    
-    Based on src/KeysymStr.c and src/StrKeysym.c and comments in
-    bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid;
-    those should be in the form U plus the hex of the UCS Code Point.
-    
-    The 0x01000000 is ORed in by the code.
-    
-    This update fixes all of those.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
-    2] https://bugs.freedesktop.org/show_bug.cgi?id=5129
-
-commit 02e04059c89e175f51647e3b031344f743286b34
-Merge: 1254c57 b57129e
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Dec 4 06:55:04 2007 -0500
-
-    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
-
-commit 1254c57dd3a8d6ea87041b2f63024f99094f290f
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Tue Dec 4 06:53:55 2007 -0500
-
-    Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11
-    Inspired by bug 11930¹:
-    
-    Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili
-    and dead_dasia keysyms.  Make use of them in the en_US.UTF-8 and el_GR.UTF-8
-    Compose files.
-    
-    This was done with a pair of perl scripts based on the one quoted in the
-    log for commit c76d30253f1483ac8200ad5c032a818907e65030.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
-
-commit b57129ef324c73ee91c2a796b800c4b45f4d4855
-Author: Jeremy Huddleston <jeremy@yuffie.local>
-Date:   Mon Dec 3 20:04:19 2007 -0800
-
-    Use __APPLE__ instead of __DARWIN__
-
-commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e
-Author: Jeremy Huddleston <jeremy@yuffie.local>
-Date:   Wed Nov 28 16:43:49 2007 -0800
-
-    Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c
-
-commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Nov 21 16:50:04 2007 -0800
-
-    X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page
-    
-    X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>
-    
-    Protect /* sequences from cpp pre-processor removal without transforming
-    to Unicode mathematical asterisk character
-
-commit 2af660c2fcd15c86c66459bfc074c190ea1462e6
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Oct 29 10:46:20 2007 -0700
-
-    Two threads can request sequence sync and XID fetch simultaneously.
-    
-    So don't assert that they can't.
-    
-    This makes the Xlib/XCB implementation of _XAllocID more closely
-    resemble the traditional Xlib version.
-
-commit 6e5485e0a5e3ab738becad12193e760c5fee83a4
-Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date:   Sun Oct 28 04:44:00 2007 -0800
-
-    X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man
-    
-    <http://bugs.freedesktop.org/show_bug.cgi?id=12983>
-
-commit 24527c92fd1f433ea135e85ec876a94a529fe500
-Author: Yann Droneaud <ydroneaud@mandriva.com>
-Date:   Wed Oct 24 19:26:07 2007 +0300
-
-    XIM: Properly initialise client event
-    
-    Make sure all ClientMessage fields are initialised to 0 before we send it.
-
-commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Oct 24 19:22:22 2007 +0300
-
-    Colours: Fix --disable-xcms
-    
-    Disable large tracts of colour management code when passing
-    --disable-xcms.
-
-commit 11ea09745efa8de7dc82fe30ebd2393f08390957
-Author: Eric Anholt <eric@anholt.net>
-Date:   Fri Aug 31 17:30:33 2007 -0700
-
-    Bug #2081: Note the range limitation of XSetScreenSaver arguments.
-
-commit 31540f1438ec63faf37044f2fd654b335ddf80f0
-Author: Kristian Høgsberg <krh@redhat.com>
-Date:   Wed Aug 29 19:50:57 2007 -0400
-
-    Add GLX 1.4 requests and errors.
-
-commit 7c996f78914c77fe17e9f4feede980d895d9df51
-Author: Eric Anholt <eric@anholt.net>
-Date:   Tue Aug 28 15:15:11 2007 -0700
-
-    Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.
-
-commit fa4effe82759f864a22a2dc6c920fa72ddb175a8
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:48:00 2007 -0800
-
-    Bug #9658: Bad markup on XIfEvent.3x
-    
-    X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658>
-
-commit 74cba78daa738ef4d92096107d95c1a585933666
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:43:00 2007 -0800
-
-    Bug #9655: Bad markup in XrmUniqueQuark.3x
-    
-    X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655>
-
-commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:43:00 2007 -0800
-
-    Bug #9654: Bad markup in XrmGetFileDatabase.3x
-    
-    X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654>
-
-commit 2db713252090cae08f0200fecad4fc25fb64c8b1
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:40:00 2007 -0800
-
-    Bug #9653: Bad markup in XQueryColor.3x
-    
-    X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653>
-
-commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:40:00 2007 -0800
-
-    Bug #9652: Bad markup in XDrawArc.3x
-    
-    X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652>
-
-commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:39:00 2007 -0800
-
-    Bug #9651: Bad markup in XcmsColor.3x
-    
-    X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651>
-
-commit c316aaf0aab06951db9dc5c9c1148bfea835d885
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Sun Jan 14 10:38:00 2007 -0800
-
-    Bug #9650: Bad markup in XLoadFont.3x manual page
-    
-    X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650>
-
-commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Tue Jan 2 10:18:00 2007 -0800
-
-    Bug 9523: Markup problems in XQueryExtension.3x
-    
-    X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523>
-
-commit fe713c616e29ba19c179b43c18eca1035079ce18
-Author: Ian Romanick <idr@us.ibm.com>
-Date:   Tue Aug 21 14:56:33 2007 -0700
-
-    Make sure nls/am_ET.UTF-8/Makefile is created by configure.
-
-commit e3430616f26b68e1439143cbe10732f3fc329d20
-Author: Eric S. Raymond <esr@thyrsus.com>
-Date:   Tue Jan 2 08:40:00 2007 -0800
-
-    Bug #9516: Markup error in XAllocWMHints.3x
-    
-    X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516>
-
-commit d8fe979fc929833e8c754aed32641786d5a0622b
-Merge: 21ca953 4ec1723
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Mon Aug 20 15:34:50 2007 -0400
-
-    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
-
-commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Mon Aug 20 15:34:03 2007 -0400
-
-    Fix typo
-    The code <U1000000D> was used where <U10000DC> was obviously intended.
-    
-    It is possible that <Udiaeresis> should be used instead, if that will
-    not break anyone’s setup.
-
-commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Mon Aug 20 15:25:48 2007 -0400
-
-    Add compose file for Ethiopic to match new keyboard in xkeyboard-config
-    From bug report:
-    
-      https://bugs.freedesktop.org/show_bug.cgi?id=11307
-
-commit eff33ae525337ce2026be135a26464c7b1237113
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Aug 18 17:58:23 2007 -0400
-
-    Patch for Catalan locales
-    From bugzilla bug 10943¹:
-    
-      There are several Catalan locale codes which presently can
-      be used in X11 systems; especially after they were accepted
-      in belocs-locale-data².
-    
-      In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan
-      locale codes.  For instance, without this, using ca_AD (actually
-      a quite used locale⁴) some applications (eg. Emacs or Skype)
-      cannot display Catalan diacritic marks as you type them.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=10943
-    2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html
-    3] Toni Hermoso Pulido <toniher@softcatala.org>
-    4] https://launchpad.net/~ubuntu.cat/+members
-
-commit 1f980cb7d022f53d0aee9e793b08203fb888e86e
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Aug 18 17:47:04 2007 -0400
-
-    Add additional Euro signs to compose
-    Inspired by bug 7419¹ make all of:
-    
-        C=, =C, c=, =c, E=, =E, e=, E=
-    
-    after <Multi_key> generate € U+20AC EURO SIGN.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=7419
-
-commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Aug 18 17:29:08 2007 -0400
-
-    Compose fix for Latin-1 (from Debian)
-    The description from bugzilla bug 7417¹ is:
-    
-      We've been shipping this patch for some time in Debian now. The
-      problem description from the patch header is reproduced below. You
-      may want to note the licensing issue mentioned below, but we've been
-      shipping it because the method by which this particular patch was
-      generated and updated was also given below.
-    
-      This patch by Denis Barbier.
-    
-      The X11 protocol states that Unicode keysyms are in the range
-      0x01000100 - 0x0110FFFF.  If the result of composing characters is a
-      Unicode codepoint, X returns the corresponding Unicode keysym, which
-      is its Unicode codepoint augmented by 0x01000000.  Latin-1
-      characters must not appear with their Unicode codepoints in compose
-      files, otherwise the returned composed character lies in the range
-      0x01000000 - 0x010000FF which is not valid.
-    
-      There are two solutions: either fix composing routines to return
-      0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or
-      replace U00ZZ by their corresponding keysyms in compose files.  The
-      latter is more logical and less error prone, so compose files will
-      be patched.  Many applications accept these invalid Unicode keysyms,
-      but few of them don't, most notably xemacs.  Only UTF-8 locales are
-      affected.
-    
-      This has been fixed very recently in XFree86 CVS (but not xorg), but
-      for licensing reasons, this patch is not grabbed.  Instead automatic
-      conversion is performed by:
-    
-        sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \
-        | grep -v deprecated | grep 0x0 \
-        | sed -e 's/0x0/U0/' -e 's/XK_//' \
-        | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile
-        for f in nls/*.UTF-8/Compose.pre
-        do
-          sed -f sedfile $f > $f.tmp && mv $f.tmp $f
-        done
-    
-    [I edited the quoted script to update it for the current location of
-    the installed keysymdef.h and the current layout of the libX11
-    repo. -JimC]
-    
-    I applied the script, not the patch attached to the bugreport.
-    
-    1] https://bugs.freedesktop.org/show_bug.cgi?id=7417
-
-commit 5cf5bc76642bfece7cb5b76faf414bf445f14489
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Aug 18 17:13:41 2007 -0400
-
-    Add some compose sequences
-    
-    Add some compose sequences from the patch in bug 5371 (attachment 4122).
-    
-    Cf:
-    
-    https://bugs.freedesktop.org/show_bug.cgi?id=5371
-    https://bugs.freedesktop.org/attachment.cgi?id=4122
-
-commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8
-Author: James Cloos <cloos@jhcloos.com>
-Date:   Sat Aug 18 13:57:31 2007 -0400
-
-    Fix SMP Compose targets
-    The compose targets from the SMP (plane 1) were incorrect.
-    
-    At some point the 0x10000 bit had been lost.
-
-commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d
-Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
-Date:   Thu Aug 16 17:37:22 2007 -0500
-
-    Fix a mutex reference-counting bug.
-    
-    I was told that some systems have a much more permissive libpthread.
-    I was asked to commit this. This is from NetBSD's X source.
-    (I didn't receive any feedback on xorg list for over two weeks
-    about this.)
-
-commit ac00a44b4875de70382da5a40dd87f976e5b9327
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed Aug 1 20:36:03 2007 +0200
-
-    Bumped version to 1.1.3.
-
-commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0
-Author: Joerg Sonnenberger <joerg@netbsd.org>
-Date:   Fri Jul 27 11:15:47 2007 -0700
-
-    Fail properly on errors in recursive make.
-
-commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177
-Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
-Date:   Thu Jul 26 23:31:15 2007 +0200
-
-    Add missing override parameter in XrmCombineDatabase prototype in the manpage
-    
-    Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
-    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434
-    and https://bugs.freedesktop.org/show_bug.cgi?id=9948
-    
-    Also add the type of the second argument in XrmMergeDatabases.
-
-commit 6f0764d4b56f64786b4980839ca262f10a51af6f
-Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
-Date:   Thu Jul 26 22:53:52 2007 +0200
-
-    Clarify return value of XGetCommand in case of error in the manpage
-    
-    Reported by Sean Perry <shalehperry@attbi.com>
-    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348
-    and https://bugs.freedesktop.org/show_bug.cgi?id=9828
-
-commit b8bef57342632cc2d25580bb7daa3839bae04d89
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Jul 25 17:44:06 2007 -0700
-
-    Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
-
-commit 590cde811a79375231c59ed8583e02b111ed567c
-Author: Kean Johnston <kean@armory.com>
-Date:   Thu Jul 19 16:44:20 2007 -0700
-
-    Reset hostname when falling back from :0 to hostname/localhost:0 as well
-
-commit d334665e619e9db657a2ea2764a8b852401d4a3f
-Author: Kean Johnston <kean@armory.com>
-Date:   Tue Jul 17 16:34:30 2007 -0700
-
-    LOCALCONN fallback changes DisplayString() output, breaks KDE
-    
-    See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html>
-
-commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72
-Author: Olivier Blin <blino@mandriva.org>
-Date:   Mon Jun 11 18:32:09 2007 +1000
-
-    fix XGetMotionEvents arguments order - Fixes bug 11222
-
-commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 10 16:19:59 2007 -0700
-
-    Fix locking in _XimGetWindowEventmask.
-    
-    Now that XFilterEvent drops the Display lock before invoking callback
-    functions, _XimGetWindowEventmask is called without the lock held. So
-    when it called _XGetWindowAttributes, a variant of XGetWindowAttributes
-    that does not lock the Display, Xlib/XCB would assert:
-    
-    xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
-    
-    Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others?
-
-commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 3 21:41:47 2007 -0700
-
-    Move security fixes to the top of NEWS, and fix spacing.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 3 21:29:40 2007 -0700
-
-    Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c.
-    
-    Commit by Josh Triplett and Jamey Sharp
-
-commit 5123b77a3d32d3ad479462f319762c328278aed9
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 3 21:24:54 2007 -0700
-
-    Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 3 20:59:12 2007 -0700
-
-    Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs
-    
-    Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that
-    _XReadEvents always enqueues at least one event even if an error occurred,
-    because the one call to xcb_wait_for_event would then return an error, not an
-    event, and nothing else ensured that process_responses would obtain an event.
-    Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and
-    f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix.  In
-    process_responses, wait_for_first_event now serves as a flag, cleared when
-    actually handling an event.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit e2c1d788d1fe7bd2d34756493951552441e59b8c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Jun 3 17:33:23 2007 -0700
-
-    Xlib/XCB: Only remove pending_requests when there are provably no more responses.
-
-commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Sun Jun 3 15:39:39 2007 -0700
-
-    Bump version number to 1.1.2, and add NEWS entry for 1.1.2
-    
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-
-commit 416f38f2e67ee1979b3d2feac6f06b3670238804
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Sun Jun 3 12:13:44 2007 -0700
-
-    Revert "Revert "include: don't distribute XlibConf.h""
-    
-    This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd.
-    
-    Re-revert the XlibConf.h change, which prevented distribution, not
-    installation.
-
-commit 79fa3d8070d95b960ba486f2439225872471dadd
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Sat Jun 2 22:05:16 2007 -0700
-
-    Revert "include: don't distribute XlibConf.h"
-    
-    This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c.
-    
-    The installed XlibInt.h includes XlibConf.h , so libX11 should ship
-    XlibConf.h.  (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually
-    prevent automake from shipping XlibConf.h, because it used
-    nodist_x11include_HEADERS rather than nodist_HEADERS.)
-
-commit f417570735aac865eb6b576d1ea76b5bfcd8573b
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 17:59:15 2007 -0700
-
-    Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit c337f9de7cfd89f983f83956b7457a274dd412f3
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 17:46:41 2007 -0700
-
-    Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event.
-    
-    Commit by Jamey Sharp and Josh Triplett.
-
-commit 7f66c897f04806b75e574b55b48921b48045e3f9
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 16:43:39 2007 -0700
-
-    Update _XReply's copy of _XCBUnlockDisplay's guts.
-    
-    We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5.
-    
-    Also add a comment in _XCBUnlockDisplay to discourage this problem from
-    respawning.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit 740ead23512f8d2eaafaa69e514f1ebafad475b9
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 16:01:01 2007 -0700
-
-    Xlib/XCB: Avoid re-crashing after _XIOError.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 12:30:30 2007 -0700
-
-    Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
-    
-    An Xlib client can query Display state, such as with NextRequest, while
-    it holds only the Xlib user lock (between XLockDisplay and
-    XUnlockDisplay), so XCB requests in other threads should be blocked when
-    the Xlib user lock is held.
-    
-    We acquire the lock even when XInitThreads was not called, so that pure
-    XCB code can use multiple threads even in an otherwise single-threaded
-    Xlib application.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit 95523387d619af5b400748898d722e080b5ce1a6
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Jun 2 11:57:39 2007 -0700
-
-    Allow re-entrant Xlib calls from _XIOError.
-    
-    Some libraries try to clean up X resources from atexit handlers, _fini,
-    or C++ destructors. To make these work, the Display lock should be
-    downgraded to a user lock (as in XLockDisplay) before calling exit(3).
-    This blocks Xlib calls from threads other than the one calling exit(3)
-    while still allowing the exit handlers to call Xlib.
-    
-    This assumes that the thread calling exit will call any atexit handlers.
-    If this does not hold, then an alternate solution would involve
-    registering an atexit handler to take over the lock, which would only
-    assume that the same thread calls all the atexit handlers.
-    
-    Commit by Josh Triplett and Jamey Sharp.
-
-commit 91b02b8064f4e0bcc56019f0722914850008a597
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Thu May 17 19:07:34 2007 +0200
-
-    More constification.
-
-commit a4f3841940158351f9424c3f59b305cce877177d
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Thu May 17 00:29:43 2007 +0200
-
-    Constified composite text charset table.
-
-commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed May 16 23:19:22 2007 +0200
-
-    Have the compiler fill in hexTable so we don't have to do it at runtime.
-
-commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed May 16 19:36:23 2007 +0200
-
-    More constification.
-
-commit 6d2bed8f04942b4de086a519ac693e729c9fdeea
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed May 16 19:18:20 2007 +0200
-
-    Constify and clean up token table.
-
-commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed May 16 18:24:42 2007 +0200
-
-    Constified more tables.
-
-commit e699c4231c205ef00d687b6412308d031b99806b
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed May 16 18:01:23 2007 +0200
-
-    Constified error list.
-
-commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1
-Author: Peter Hutterer <peter@cs.unisa.edu.au>
-Date:   Tue May 15 16:54:01 2007 +0930
-
-    Add XGenericEvent definition and handling for long events.
-
-commit c76d30253f1483ac8200ad5c032a818907e65030
-Author: Jan Willem Stumpel <jstumpel@planet.nl>
-Date:   Fri May 4 12:00:49 2007 -0700
-
-    Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs
-    
-    Cf:
-    
-      https://bugs.freedesktop.org/show_bug.cgi?id=10851
-      https://bugs.freedesktop.org/show_bug.cgi?id=10824
-      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385
-    
-    The greek keyboard definition was changed to replace dead_horn and
-    dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314
-    COMBINING REVERSED COMMA ABOVE (aka Dasia).
-    
-    This patch modifies the Greek Compose.pre to match.
-    
-    It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl>
-    posted to 386385@bugs.debian.org:
-    
-    #!/usr/bin/perl
-    while (<>) {
-      print $_;
-      if (/dead_horn/) {
-        s/dead_horn/U0313/;
-        print $_;
-      }
-      elsif (/dead_ogonek/) {
-        s/dead_ogonek/U0314/;
-        print $_;
-      }
-    }
-
-commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831
-Author: Magnus Kessler <Magnus.Kessler@gmx.net>
-Date:   Tue May 1 15:20:08 2007 +0200
-
-    Switched function definitions from K&R to ANSI style.
-
-commit 605d357074d556a05a3fba2e85cbea36a3204248
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Tue May 1 14:47:03 2007 +0200
-
-    Tweaked configure output about the man pages suffix.
-
-commit 9824b40d2af4ca2376512c1be7743da0d5065900
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Apr 28 00:42:18 2007 -0700
-
-    Fix typo in nroff macro in XkbAddGeomOverlayKey.man
-
-commit f93849dcc68bd5042ea0884e5190dc7c35b31d68
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Apr 28 00:30:55 2007 -0700
-
-    Protect C comments and #defines in XKB man pages from being mangled by cpp
-
-commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Apr 28 00:14:50 2007 -0700
-
-    Add Makefile to process/install XKB man pages
-
-commit d9954c6f6f3a8c406b946acd0d034ff83c656156
-Author: Dennis Arellano <Dennis.Arellano@Sun.COM>
-Date:   Thu Aug 19 00:00:00 1999 -0700
-
-    Add man pages for XKB API's
-    
-    Man pages originally written for X11R6.4 integration to Solaris 7 11/99
-    Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344>
-    
-    (Volunteer needed to convert prototypes in man pages to ANSI C style...)
-
-commit f640a49b5e2ebf29f9d655df544c63bf826f619a
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Fri Apr 20 18:39:59 2007 +0200
-
-    Markup tweak for XOpenIM.
-
-commit e972b0bb255af4f3258217852542faf5afa60b28
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Apr 20 18:35:09 2007 +0200
-
-    Bug #9695: Fixed a few argument types in the XOpenIM manpage.
-
-commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Apr 20 18:28:52 2007 +0200
-
-    Bug #9697: Fixed documentation of XVisualInfo struct.
-    
-    The "depth" member was said to be unsigned int, but it's signed.
-
-commit 4068f3dae01c630f825002673b1d3a047ad61863
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Fri Apr 20 16:41:21 2007 +0200
-
-    Bug #9696: refer to XDefineCursor() instead of XDefineCusor().
-
-commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Sat Apr 7 14:42:55 2007 +0200
-
-    Use unistd.h to get getresuid() and friends.
-    
-    This works since we now have _GNU_SOURCE defined.
-
-commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Sat Apr 7 14:27:12 2007 +0200
-
-    Bug #10562: Define _GNU_SOURCE on glibc systems.
-
-commit a225a0be48770beb689d5ac5da97073634f7deab
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Fri Apr 6 12:46:25 2007 +0200
-
-    For nls/*.pre, allow people to comment lines by starting them with '##'.
-    
-    This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre.
-    Fixing that file would have been a larger diff, and using ## may be
-    nicer to use anyway.
-
-commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Fri Apr 6 11:59:31 2007 +0200
-
-    Bug #10475: Fixed lots of char*/const char* mixups.
-    
-    I didn't fix all of them, as that would require touching
-    public headers.
-
-commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Thu Apr 5 11:53:18 2007 +0200
-
-    Fix 64bit issues with reallocation.
-
-commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed Apr 4 18:41:18 2007 +0200
-
-    Fixed a few warnings.
-
-commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a
-Author: Matthieu Herrb <matthieu@roadrock.(none)>
-Date:   Tue Apr 3 15:39:52 2007 +0200
-
-    Multiple integer overflows in the XGetPixel() and XInitImage functions
-    
-    CVE-2007-1667
-
-commit 0284b144340a455a4b5b5011d81ac5a610372291
-Author: David Baron <dbaron@dbaron.org>
-Date:   Fri Mar 30 17:07:46 2007 +0200
-
-    Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data.
-    
-    Now only those fields of the respective hint struct are set that
-    are actually valid in the input data.
-    The changed functions are:
-    XSetSizeHints(), XSetWMHints() and XSetWMSizeHints().
-
-commit 0994faa0c76c45b106442db461b8a30a3e1c9395
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Thu Mar 29 17:31:25 2007 +0200
-
-    Fixed the change from the previous SendEvent commit.
-    
-    Testing a different patch than the one you commit is bad, right?
-
-commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Wed Mar 28 22:23:44 2007 +0200
-
-    Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code.
-
-commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe
-Author: David Baron <dbaron@dbaron.org>
-Date:   Wed Mar 28 22:21:40 2007 +0200
-
-    Bug #7713: Initialize all of the event's fields before sending it.
-
-commit bc80f9fe3ccce40ee41246b97470c4f0519756ad
-Author: Julien Cristau <jcristau@debian.org>
-Date:   Sun Mar 18 13:14:48 2007 +0100
-
-    Bug #9279: Fixed a file descriptor leak.
-
-commit c9e28e05ae01ce8a29bea09df759b6271865b44c
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sat Dec 16 00:45:19 2006 +0200
-
-    include: don't distribute XlibConf.h
-    
-    Since XlibConf.h is built by configure, don't distribute it.
-
-commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376
-Merge: 129bbb9 769b985
-Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
-Date:   Thu Dec 14 14:23:20 2006 -0600
-
-    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11
-
-commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de
-Author: Jeremy C. Reed <reed@glacier.reedmedia.net>
-Date:   Thu Dec 14 14:21:19 2006 -0600
-
-    For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS.
-
-commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Dec 6 18:53:00 2006 +0200
-
-    Makefile.am: make ChangeLog hook safer
-    
-    Make ChangeLog hook as safe as possible.
-    (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit)
-
-commit 8a8185a649e93b90ffa820387ffdca831227f5a9
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Thu Nov 30 18:33:13 2006 -0800
-
-    Add autogen.sh to EXTRA_DIST.
-
-commit efe817f95ef8d05e863c83147e903140bc860de4
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Nov 30 17:58:35 2006 -0800
-
-    Release libX11 1.1.1.
-
-commit f637a5b03164263a3af2e644cf655e52b015f1bb
-Author: Ross Combs <rocombs@cs.nmsu.edu>
-Date:   Sat Nov 25 14:45:17 2006 -0800
-
-    Debian bug #354315: Clarify return value in XGetWindowAttributes man page
-    
-    This man page does not discuss the actual return values of the
-    function, but says they are of type "Status".  One might assume
-    that this means you could compare it with the "Success" macro.
-    One would be wrong.
-    
-    The X functions seem to have two three types representing status.
-    If it is an "int" there are a number of error codes or "Success"
-    which can be compared against.  If it is a bool, the result can be
-    compared with "True" or "False".  If the return type is "Status" it
-    appears that the return type is either 0 or 1.  Unfortunately the
-    value for Success is zero, so it is important to distinguish
-    between the first two types of return values and the third;
-    otherwise the conditional will be inverted.
-    
-    XGetWindowAttributes() is one of the functions which returns zero
-    for failure.  The man page should make this clear.
-
-commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Nov 25 14:23:45 2006 -0800
-
-    Bug #9154: Always process an event for _XReadEvents, even if an error occurs
-    
-    Previously, process_responses (in the wait_for_first_event case called
-    from _XReadEvents) considered any return from xcb_wait_for_event
-    sufficient to think it had processed an event. If xcb_wait_for_event
-    returned an error, and no more events occurred before process_responses
-    called xcb_poll_for_event, process_responses would try to return with
-    dpy->head NULL, and would fail an assertion for the _XReadEvents
-    postcondition. Now, process_responses continues using xcb_wait_for_event
-    until it gets an event.
-
-commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8
-Author: Tilman Sauerbeck <tilman@code-monkey.de>
-Date:   Sat Nov 25 05:29:31 2006 -0800
-
-    Bug #9153: Fix access to freed memory.
-    
-    The fix for bug #8622 introduced a smaller bug where _XReply would
-    read memory shortly after freeing it. This patch caches the needed
-    value in a stack-allocated variable before the heap-allocated memory
-    is freed.
-
-commit 934ca763bbc0dd7ae460469bfc000ba101602bcc
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Nov 24 19:57:58 2006 -0800
-
-    libx11 doesn't use inputproto in public headers; don't require it in x11.pc
-    
-    Based on a Debian patch.
-
-commit 4255997ef2d92740d51f6e63e9eabcfa089683f0
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Thu Nov 23 07:19:32 2006 -0800
-
-    Release libX11 1.1
-
-commit a1168e11ec9377307c51a7271faec3bf88a63a66
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Nov 21 17:52:34 2006 -0800
-
-    Add note in man-page that XListFontsWithInfo is not thread-safe.
-    
-    _XReply drops the Display lock, so the value of dpy->request may change
-    before _XReply is called again.
-    
-    I discovered this by inspection a year or two ago. I'm pretty confident
-    in the claim, and nobody has come up with an argument for why it's safe
-    despite appearances.
-
-commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Nov 18 15:39:26 2006 -0800
-
-    Bug #8622: Fix response processing order for threaded apps
-    
-    Previously, process_responses (the common code for _XReply,
-    _XReadEvents, and _XEventsQueued) took the current request sequence
-    number as an argument, and did some highly complicated processing to
-    attempt to process responses in order across threads.  This didn't
-    actually work.
-    
-    Now, process_responses handles responses in order, by adding condition
-    variables to the list of outstanding requests in
-    dpy->xcb->pending_requests, and blocking on them when those requests
-    should get processed to allow _XReply to process them; if actually
-    called from _XReply, it returns when _XReply's request should get
-    processed.  _XReply broadcasts on the condition variable after it has
-    read its reply and re-acquired the display lock.
-    
-    Another great commit brought to you by Jamey Sharp, Josh Triplett, the
-    Gobby collaborative text editor, conspy, and ridiculous amounts of SSH
-    forwarding.
-    
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-    Signed-off-by: Jamey Sharp <jamey@minilop.net>
-
-commit 941f02ede63baa46f93ed8abccebe76fb29c0789
-Author: Lars Knoll <lars@trolltech.com>
-Date:   Wed Nov 8 12:17:41 2006 -0800
-
-    Don't hold the display lock around callbacks to the application.
-    
-    This fixes an XCB locking assertion failure, particularly with emacs.
-
-commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358
-Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
-Date:   Tue Nov 7 09:32:00 2006 -0800
-
-    Add xcb-xlib dependency to x11.pc when built against XCB.
-
-commit 2302008a3793eb4df8ede777d54fe06505c47eaf
-Author: Eric Anholt <eric@anholt.net>
-Date:   Mon Nov 6 17:11:42 2006 -0800
-
-    XCB: Allocate the right amount of memory for dpy->lock_fns.
-    
-    Fixes a crash I was experiencing on startup of anything using gdk.
-
-commit 5f860655be88108b03ccd97470a0814819254bf0
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Nov 2 17:55:31 2006 -0800
-
-    Release libX11 1.1 RC2 (1.0.99.2).
-
-commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831
-Author: Benno Schulenberg <bensberg@justemail.net>
-Date:   Sun Oct 29 03:10:30 2006 +0300
-
-    nls (en_US): remove long compositions that override shorter (bug #2286)
-    Remove long compositions that override (or get overriden by) later shorter
-    compositions, e.g. a four-key compose sequence that gets overriden by a
-    later three-key compose sequence.
-
-commit 0280bf11ef88673a9b5bba3a91a599260f1f0949
-Author: Benno Schulenberg <bensberg@justemail.net>
-Date:   Sun Oct 29 03:08:36 2006 +0300
-
-    nls: remove shadowed compose entries (bug #2286)
-    Remove compose entries shadowed by others later on.
-
-commit d118f2b1ef10997194b281524177dea7396da7dd
-Author: Benno Schulenberg <bensberg@justemail.net>
-Date:   Sun Oct 29 03:07:15 2006 +0300
-
-    nls: remove duplicate compose entries (bug #2286)
-    Remove a bunch of duplicate entries from various Compose files.
-
-commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb
-Author: Caolan McNamara <caolanm@redhat.com>
-Date:   Sun Oct 29 02:46:15 2006 +0300
-
-    XKB geometry: fix leaks in GetKeyboardByName (bug #8099)
-    Don't leak the name and value of every property we parse, as well as the
-    name of every colour.
-
-commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Wed Oct 18 14:25:04 2006 +0200
-
-    Fix double open of compose file.
-    
-    Issue found by Kees Cook <kees@canonical.com>.
-
-commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Oct 14 21:25:10 2006 -0700
-
-    XCB: check for and handle I/O errors in _XGetXCBBuffer.
-
-commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Oct 11 00:06:50 2006 -0700
-
-    XKB bugfix: SyncHandle must be called after UnlockDisplay, not before.
-
-commit 1eedf1bd033e496843cfde42ae4ae5a119298605
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Oct 10 23:03:28 2006 -0700
-
-    Add correct Display locking to XKB functions.
-    
-    Some XKB functions didn't correctly call LockDisplay or UnlockDisplay.
-    This patch fixes at least some instances of that problem.
-    
-    Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs
-    and proposing a fix, which this patch is based on.
-
-commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd
-Author: David Nusinow <dnusinow@debian.org>
-Date:   Tue Oct 10 22:11:05 2006 -0400
-
-    Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11
-
-commit e53557da969b706dbc843f6fde3db31ffe382e0f
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Oct 7 21:00:36 2006 -0700
-
-    Release libX11 1.1 RC1 (1.0.99.1).
-
-commit bf237409c5fce32c557d298f62f44d456c2b5bc8
-Merge: ba47719 2d426d1
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Oct 7 21:07:16 2006 -0700
-
-    As XCB support is about to be released in libX11, stable is now subsumed by master.
-
-commit ba477191c67ce93e61423cc1abe35275704cce50
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sat Oct 7 03:48:13 2006 -0700
-
-    XCB: Don't rely on having the definition of struct xcb_setup_t available.
-
-commit 117b55cbd0b0ce51362df88363ed83d44a493ac7
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Oct 6 16:27:31 2006 -0700
-
-    xcb_poll_for_event no longer takes an 'int *error' out-parameter.
-
-commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 16:26:11 2006 -0700
-
-    Actually ship Xxcbint.h
-
-commit 7b027e53b5e393082f4f515c8ba18077eb97163f
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 16:25:50 2006 -0700
-
-    Clean ChangeLog only in "make maintainer-clean", not "make clean"
-    
-    ChangeLog requires a git repo to generate; make clean and make distclean
-    shouldn't get rid of it.
-
-commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 16:24:58 2006 -0700
-
-    Add ChangeLog and "make dist"-generated files to .gitignore
-
-commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 15:53:27 2006 -0700
-
-    Add manual pages for XGetXCBConnection and XSetEventQueueOwner
-
-commit 688224cea95e453f94c5a602dc6fce84bc93dfc0
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 13:41:16 2006 -0700
-
-    Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c
-
-commit ab728ca372288d0db1b486c265e34c1376f29104
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 12:36:39 2006 -0700
-
-    XCL is dead; long live Xlib/XCB
-    
-    Rename all instances of "XCL" to Xlib/XCB-derived names.
-    
-    The only user-visible change: rename the include file <X11/xcl.h> to
-    <X11/Xlib-xcb.h>; programs will need to change their #include lines to match.
-    
-    Remove the XCL cast inlines from Xlib-xcb.h.
-
-commit 5b73093203039d307eb7ab3845c3ced207e9e26c
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 11:33:49 2006 -0700
-
-    Add XCB developers to AUTHORS
-
-commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 11:21:28 2006 -0700
-
-    Fix email addresses in README
-
-commit 12f038669278019594ca0ed53dadcf4e84092422
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Oct 6 02:13:05 2006 -0700
-
-    XCB: Handle all responses in order of monotonically increasing sequence number.
-
-commit f392680273278b43079302206897f794e60f3c70
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Fri Oct 6 01:11:08 2006 -0700
-
-    Actually install x11-xcb.pc, and ship x11-xcb.pc.in
-
-commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Oct 5 18:32:29 2006 -0700
-
-    XCB: correctly handle failure to connect to X server.
-
-commit e754b3b078d556c7861da56aad47d244e9199e06
-Author: Josh Triplett <josh@freedesktop.org>
-Date:   Thu Oct 5 17:44:22 2006 -0700
-
-    Split public Xlib/XCB functions into libX11-xcb
-    
-    We can never change the libX11 soname, and we don't want to commit to never
-    changing the public Xlib/XCB functions, so split them into a separate library
-    libX11-xcb.  This also means that a program linked solely against libX11
-    should work with either Xlib or Xlib/XCB, which will make life easier for
-    package maintainers.
-    
-    Signed-off-by: Josh Triplett <josh@freedesktop.org>
-    Acked-by: Jamey Sharp <jamey@minilop.net>
-
-commit ffd367f708b295abaedf3a23a1bfd4710d171d6f
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Oct 4 17:16:46 2006 -0700
-
-    No longer #include Xmd from xcl.h: we do not need it.
-
-commit 3aff149d42ba8ed620091971b3766bdf96c62aaf
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Oct 4 16:58:32 2006 -0700
-
-    XCB: Revert locking to simple wrapper around libX11's normal locks.
-    
-    No more recursive mutexes, no more banging XCB's I/O lock in-place, and
-    reduces the differences between the previous stable release and an
-    XCB-enabled one. Sadly, Xlib's pluggable thread functions work again
-    too, now. I apologize to the world.
-
-commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Sep 25 04:54:52 2006 -0700
-
-    Link explicitly against XCB's Xlib compatibility functions.
-
-commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Sep 25 04:13:20 2006 -0700
-
-    libxcb now installs header files in <xcb>, not <X11/XCB>.
-
-commit 87d00207f5a1f25a45a153618739cd6481814f89
-Author: Ian Osgood <iano@quirkster.com>
-Date:   Sun Sep 24 23:39:01 2006 -0700
-
-    Track XCB's "Great Renaming".
-
-commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Sep 12 23:02:42 2006 -0700
-
-    Quit using XCBGetQueuedRequestRead.
-
-commit a61936fc4e9bd93b108764bbacd5b8f786e51915
-Author: Tollef Fog Heen <tfheen@err.no>
-Date:   Wed Aug 30 00:05:54 2006 +0300
-
-    nls: use _XlcUtf8Loader for en_US (bug #7982)
-    Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with
-    every other locale.
-
-commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Aug 23 18:49:30 2006 -0700
-
-    When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN
-    
-    Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to
-    connect on a named pipe, try a Unix socket first, to better support people who
-    replace their X servers with ones that don't support named pipe transport.
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225>
-
-commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1
-Author: Mark Brown <mark.brown@sun.com>
-Date:   Thu Jul 27 19:17:10 2006 -0700
-
-    Sun bug 1149809: Document event delivery when grab is terminated.
-
-commit 171107b03ac89d94f9006c7cda242aeefb9ecd16
-Author: Dennis Arellano <Dennis.Arellano@Sun.COM>
-Date:   Thu Jul 27 18:47:06 2006 -0700
-
-    Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description
-    
-    Document that 32-bit format properties are always returned in arrays of type
-    long, even on systems where long is 64-bits.
-    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271>
-
-commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Jul 24 15:52:00 2006 -0700
-
-    Add support for "make lint" to check code with lint/sparse/etc.
-
-commit 931e02fbd1acd09aae2b0954c34342c86c72dff6
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Jul 24 15:50:52 2006 -0700
-
-    ANSIfy some static function definitions
-
-commit 20b7abcaac324d90454de63f32f4a2b398e69e63
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Jul 24 15:01:40 2006 -0700
-
-    Fix sparse warning: Using plain integer as NULL pointer
-
-commit d158ab29930513c4097f5b67e7bea08ed2bfd62c
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Jul 24 14:00:24 2006 -0700
-
-    Remove unused variable
-
-commit 30377000375bdb958042dcb1f38503c94ef21eaf
-Author: Eric Anholt <anholt@FreeBSD.org>
-Date:   Fri Jul 21 18:55:36 2006 -0400
-
-    Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint).
-
-commit 4eba45879aea4e415ab550ee56b900d060099110
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Jul 16 10:55:39 2006 +0200
-
-    set GIT_DIR=${srcdir}/.git for git-log
-
-commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60
-Author: Aaron Plattner <aplattner@nvidia.com>
-Date:   Tue Jul 11 13:27:49 2006 -0700
-
-    Add a .PHONY to ensure the ChangeLog isn't stale.
-    
-    Setting the ChangeLog rule as phony forces it to be re-run even when the
-    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
-    Solaris make.
-    (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit)
-
-commit b8a98809ed81e1226775e6447ef219ffc01334b5
-Author: Aaron Plattner <aplattner@nvidia.com>
-Date:   Tue Jul 11 13:27:49 2006 -0700
-
-    Add a .PHONY to ensure the ChangeLog isn't stale.
-    
-    Setting the ChangeLog rule as phony forces it to be re-run even when the
-    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
-    Solaris make.
-
-commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3
-Author: Mayank Jain <majain@redhat.com>
-Date:   Tue Jul 11 19:42:47 2006 +0100
-
-    add Indian language locales
-    Add as, kn, ml, or, ur, and te locales.
-
-commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Tue Jul 4 12:16:30 2006 +0200
-
-    Fix for autoconf 2.60 issue.
-    
-    Updated AC_DEFINE_DIR.
-    Reverted datarootdir change.
-
-commit 644f4828b15bce42b597eb123ba0bbc372c46c03
-Author: Keith Packard <keithp@neko.keithp.com>
-Date:   Sat Jul 1 21:31:23 2006 -0700
-
-    Work around recent autoconf (2.59?) changes in directory expansion.
-    
-    Recent autoconf versions have changed how directory names are managed in the
-    configure.ac script; automatic 'eval' invocations now occur as a part of the
-    AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed
-    before the variables are used in further macro definitions. Also, ${datadir}
-    is apparantly an old name for ${datarootdir} as ${datadir} doesn't get
-    expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it
-    is easy to work around by just using ${datarootdir} instead of ${datadir}.
-
-commit be70a31229aa106aff0a09d78c00812682cd3475
-Author: Keith Packard <keithp@neko.keithp.com>
-Date:   Sat Jul 1 01:56:05 2006 -0700
-
-    Xlib/XCB: handle 32-bit sequence wrap.
-    
-    Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from
-    XCB).
-    Account for XCB sequence 0 handling.
-
-commit 99c711707ad08e1396e123b1c7df687c560a489a
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Thu Jun 29 19:43:20 2006 -0700
-
-    Bump version to 1.0.3.
-
-commit cde3c0dd72af2b490e80cffca962e3487dd31be4
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Thu Jun 29 19:39:36 2006 -0700
-
-    Bug #7349: Missed one of the setuid fixes.
-    (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit)
-
-commit df3fef8983d96c59d481c4cdaf1f271d54a116d2
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Thu Jun 29 18:59:57 2006 +0200
-
-    Update to final Compose cache directory location.
-    (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit)
-
-commit 912ef198292d3053daa810f842510e5d62ded0f0
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Thu Jun 29 17:41:41 2006 +0200
-
-    Fix alignment of trees and wide chars in the cache.
-    (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit)
-
-commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Wed Jun 28 19:17:03 2006 +0200
-
-    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
-    (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit)
-
-commit e9614c963b532f46a7932c2305a4b177a996a222
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Thu Jun 29 19:39:36 2006 -0700
-
-    Bug #7349: Missed one of the setuid fixes.
-
-commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Thu Jun 29 18:59:57 2006 +0200
-
-    Update to final Compose cache directory location.
-
-commit 40a64c61f8bc33d497e1224e02c41dea2d424d97
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Thu Jun 29 17:41:41 2006 +0200
-
-    Fix alignment of trees and wide chars in the cache.
-
-commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Wed Jun 28 19:17:03 2006 +0200
-
-    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
-
-commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Thu Jun 22 23:59:03 2006 -0700
-
-    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
-    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
-    ChangeLog.
-    (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit)
-
-commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295
-Author: Donnie Berkholz <donnie@comet.(none)>
-Date:   Thu Jun 22 23:47:38 2006 -0700
-
-    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
-    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
-    ChangeLog.
-
-commit dd54981aa76e9dfdc4c3302d6105b4b229447c84
-Author: Donnie Berkholz <donnie@comet.(none)>
-Date:   Thu Jun 22 15:47:38 2006 -0700
-
-    Bump version to 1.0.2.
-
-commit c93539d974a67f596a5eb5b65042d26602546c72
-Author: Matthieu Herrb <matthieu@deville.herrb.com>
-Date:   Tue Jun 20 21:04:03 2006 +0200
-
-    Check setuid() return value.
-    (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit)
-
-commit 605533f814ab7892991578706a6458f61a89ca4d
-Author: Derek Wang <derek.wang@sun.com>
-Date:   Mon Jun 19 11:05:37 2006 -0700
-
-    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded
-    (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit)
-
-commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4
-Author: Scott Revelt <scott.revelt@sun.com>
-Date:   Fri Jun 16 19:11:13 2006 -0700
-
-    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
-    based on locale that doesn't match those used in the Xcms.txt
-    (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit)
-
-commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3
-Author: Alan Coopersmith <alanc@alf.(none)>
-Date:   Fri Jun 16 18:53:33 2006 -0700
-
-    Add *~ to ignore emacs droppings
-    (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit)
-
-commit 214658b76b56768f69c3959a11525aae7813f448
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Fri Jun 16 15:36:40 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-    (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit)
-
-commit 13968a23aaea838ba4b69e42e8900f803499e091
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Tue Jun 13 20:23:46 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-    (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit)
-
-commit e7f8bca08f5476d0ca262097639ac7d424bb4d10
-Author: Lubos Lunak <llunak@suse.de>
-Date:   Mon Jun 12 18:48:08 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-    (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit)
-
-commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Fri Jun 9 18:24:02 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure.
-    (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit)
-
-commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Jun 7 20:29:05 2006 -0700
-
-    Fix bug #7035: unnecessary memmove in XOpenDisplay.
-    Using memmove on the connection setup data causes a problem for XCB, but making
-    Xlib stop doing that should be harmless for non-XCB as well.
-    (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit)
-
-commit cd7328c46ae72903ed02832828891b2dab4d5ee0
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Sat Jun 3 13:51:51 2006 +0300
-
-    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)
-    (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit)
-
-commit c336eb6b80a6f91da1d0b3d28634a2cfde324670
-Merge: 33556ca ad9ebbd
-Author: Donnie Berkholz <donnie@comet.(none)>
-Date:   Thu Jun 22 14:25:35 2006 -0700
-
-    Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable
-
-commit 213dacad21740466e7ab31b01d3fc513fe4b3e74
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Thu Jun 22 17:20:59 2006 +0300
-
-    Bump to 1.0.99.0 to avoid confusion.
-
-commit efedfd68e31bcee2d21ac340be8dc9e1825ec890
-Merge: e3acee8 4b8eb5d
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Thu Jun 22 16:53:45 2006 +0300
-
-    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11
-
-commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5
-Merge: 5169d0e eff50c9
-Author: Matthieu Herrb <matthieu@deville.herrb.com>
-Date:   Tue Jun 20 21:05:15 2006 +0200
-
-    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11
-
-commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f
-Author: Matthieu Herrb <matthieu@deville.herrb.com>
-Date:   Tue Jun 20 21:04:03 2006 +0200
-
-    Check setuid() return value.
-
-commit eff50c94a07194297e705da53d9fbb3a40fb9ad4
-Author: Derek Wang <derek.wang@sun.com>
-Date:   Mon Jun 19 11:05:37 2006 -0700
-
-    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded
-
-commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa
-Author: Scott Revelt <scott.revelt@sun.com>
-Date:   Fri Jun 16 19:11:13 2006 -0700
-
-    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
-    based on locale that doesn't match those used in the Xcms.txt
-
-commit c33d7b8282ac196b36229be26442296768c16f3e
-Author: Alan Coopersmith <alanc@alf.(none)>
-Date:   Fri Jun 16 18:53:33 2006 -0700
-
-    Add *~ to ignore emacs droppings
-
-commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Fri Jun 16 15:36:40 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-
-commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Tue Jun 13 20:23:46 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-
-commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be
-Author: Lubos Lunak <llunak@suse.de>
-Date:   Mon Jun 12 18:48:08 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts.
-
-commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9
-Author: Matthias Hopf <mhopf@suse.de>
-Date:   Fri Jun 9 18:24:02 2006 +0200
-
-    Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure.
-
-commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed Jun 7 20:29:05 2006 -0700
-
-    Fix bug #7035: unnecessary memmove in XOpenDisplay.
-    Using memmove on the connection setup data causes a problem for XCB, but making
-    Xlib stop doing that should be harmless for non-XCB as well.
-
-commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Sat Jun 3 12:57:55 2006 +0300
-
-    Bug #2186: Add cs_CZ.iso8859-2 alias.
-
-commit 9e7765e0b1cbaae6643072d91066ba1201b36227
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:46:29 2006 +0300
-
-    nls: Serbian (sr_CS) update (#5575)
-    
-    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
-    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
-    and locale.dir.pre.  (Milos Komarcevic)
-
-commit a4ac2242b588da23044a20aa999ae84d4de7b2d8
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:24:25 2006 +0300
-
-    im: add Braille input method (#6296)
-    
-    Bug #6296: Add a Braille input method.  (Samuel Thibault)
-
-commit 90de1e2e141ec591048a76cb695579ef809a28d3
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:22:17 2006 +0300
-
-    xkb support: small typo
-
-commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:50:24 2006 +0300
-
-    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
-    
-    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
-    adding Unicode character names, removing duplicate entries, et al.
-
-commit 0c6473dd329c7334ae511884bcb6e73e632c784f
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:44:53 2006 +0300
-
-    nls: fix use of non-keysym dead_space (#5107)
-    
-    Bug #5107: Change users of dead_space to space.
-
-commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:41:18 2006 +0300
-
-    optional XKB support fix
-    
-    Fix compilation with --disable-xkb.
-
-commit 217d43ed44ced901122093af3ef1294e1736bb77
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:39:12 2006 +0300
-
-    i18n: separate data and lib directories
-    
-    Break out locale data into separate data and library directories, under
-    $(datadir) and $(libdir), respectively, by default.
-
-commit 92fa7fcde8df22830fca7c0275ab201033f7909c
-Author: Adam Jackson <ajax@benzedrine.nwnk.net>
-Date:   Thu May 11 14:04:48 2006 -0400
-
-    libXcursor.so.1, not libXcursor.so
-
-commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Wed May 10 18:06:03 2006 +0300
-
-    XKBMisc.c: use Xfree, not xfree
-    
-    Use Xfree() instead of xfree() when freeing interps.
-
-commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Wed May 10 14:51:37 2006 +0300
-
-    locale.alias.pre: bg_BG typo fix
-    
-    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.
-
-commit cc533db60cb64dc163c66451933a9bf77c519062
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:22:03 2006 +0300
-
-    Coverity #203, #204: Fix potential NULL dereferences.
-
-commit b83adf7dfd6157694fe4f232012fef36cd9666da
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:20:25 2006 +0300
-
-    Coverity #205: Fix potential NULL dereference.
-
-commit 2d0cd10ad907864d0136739eaac459779c9a5332
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:18:20 2006 +0300
-
-    Coverity #209: Fix potential NULL dereference. (Alan Coopersmith)
-
-commit dc2f3966068d66a564aa452cab9f0c26657fa1df
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Apr 7 18:11:52 2006 +0300
-
-    Coverity #826: Fix potential memory leak.
-
-commit 23df609ec451a01c77e8f31ecc85c5af7c62efed
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Apr 7 17:49:41 2006 +0300
-
-    Bug #1625: Include keysym.h from Xutil.h.
-
-commit 5262a1945c543a3419ed626e1deb09ef5b4584c1
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 17:12:15 2006 -0700
-
-    Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more
-    
-    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
-    of Coverity #599, #600.
-
-commit 8b42635f577468bb143ca593cdd9fb3450ad712c
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 16:42:26 2006 -0700
-
-    Coverity #558: Free newly-allocated Database in error path.
-
-commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 16:38:52 2006 -0700
-
-    Coverity #582: Free newly-allocated region in error path.
-
-commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Mar 17 15:58:39 2006 +0200
-
-    Properly clip bounds when only one point is defining an outline.
-
-commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9
-Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
-Date:   Sat Mar 11 15:39:15 2006 +0100
-
-    Fix prototype of XConfigureWindow(). Bugzilla #6023.
-
-commit 1da8bd904f1fc79d63d368473531b438d08bfe37
-Author: Jeremy C. Reed <reed@reedmedia.net>
-Date:   Tue Feb 21 14:10:22 2006 -0800
-
-    Set XTHREADLIB correctly for dragonfly platforms.
-
-commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 12:29:27 2006 -0800
-
-    Update .gitignores for *.o and nls/locale.dir*.
-
-commit efcbde6ba0b770bb0d4c7818e307712161011f10
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 12:28:41 2006 -0800
-
-    Move .cvsignore to .gitignore.
-
-commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Sat Jun 3 13:51:51 2006 +0300
-
-    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)
-
-commit f1bd3152359ddfadd0d043006036c239f3e2907b
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Sat Jun 3 12:57:55 2006 +0300
-
-    Bug #2186: Add cs_CZ.iso8859-2 alias.
-
-commit 2b1b79d90db1d7f0472718b8c010c36275994195
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:46:29 2006 +0300
-
-    nls: Serbian (sr_CS) update (#5575)
-    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
-    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
-    and locale.dir.pre.  (Milos Komarcevic)
-
-commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:24:25 2006 +0300
-
-    im: add Braille input method (#6296)
-    Bug #6296: Add a Braille input method.  (Samuel Thibault)
-
-commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 02:22:17 2006 +0300
-
-    xkb support: small typo
-
-commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:50:24 2006 +0300
-
-    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
-    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
-    adding Unicode character names, removing duplicate entries, et al.
-
-commit 332d45fce9fdbf59168d90a133af1f580a589e54
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:44:53 2006 +0300
-
-    nls: fix use of non-keysym dead_space (#5107)
-    Bug #5107: Change users of dead_space to space.
-
-commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:41:18 2006 +0300
-
-    optional XKB support fix
-    Fix compilation with --disable-xkb.
-
-commit c5940a0b85edec4003f91a59fc3c44f538accfe1
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 2 01:39:12 2006 +0300
-
-    i18n: separate data and lib directories
-    Break out locale data into separate data and library directories, under
-    $(datadir) and $(libdir), respectively, by default.
-
-commit 33556ca81db2419b9d2a37664c4cea2069414b37
-Author: Adam Jackson <ajax@benzedrine.nwnk.net>
-Date:   Fri May 12 14:49:17 2006 -0400
-
-    Bump to 1.0.1
-
-commit 80d88557626fae9debc404de33d7fb5d69a6049d
-Author: Adam Jackson <ajax@benzedrine.nwnk.net>
-Date:   Thu May 11 14:06:28 2006 -0400
-
-    libXcursor.so.1, not libXcursor.so
-
-commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6
-Author: Adam Jackson <ajax@benzedrine.nwnk.net>
-Date:   Thu May 11 14:04:48 2006 -0400
-
-    libXcursor.so.1, not libXcursor.so
-
-commit 01f4d433eed6b70c6e9636157acac022054fdeb6
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Wed May 10 17:02:52 2006 -0700
-
-    Count any partial request towards the current Xlib sequence number.
-
-commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Wed May 10 18:06:03 2006 +0300
-
-    XKBMisc.c: use Xfree, not xfree
-    Use Xfree() instead of xfree() when freeing interps.
-
-commit 22a5255b80b80772612279bc840a953edd0e3442
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Wed May 10 14:51:37 2006 +0300
-
-    locale.alias.pre: bg_BG typo fix
-    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.
-
-commit 9cac8c9824874ca7d835f001a4efa910b7fdd822
-Merge: 19b8840 e514bc8
-Author: Daniel Stone <daniels@preemptive.fooishbar.org>
-Date:   Wed May 10 14:50:37 2006 +0300
-
-    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11
-
-commit e514bc875f27f4bf197b06b8315eeca526195915
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue May 9 12:41:59 2006 -0700
-
-    Assert that dpy->request does not go backwards. Catches #5839 earlier.
-
-commit fc1159137365a599bf611ee001f439416952c4e0
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun May 7 17:40:01 2006 -0700
-
-    In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available.
-
-commit c394480a4247213239822808e3f6e7c6cd6decd9
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun May 7 16:58:13 2006 -0700
-
-    Update for XCB ConnSetupSuccessRep name change.
-
-commit 7672bf93bc1200905461aeb0a2dc2c2696410b93
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:22:03 2006 +0300
-
-    Coverity #203, #204: Fix potential NULL dereferences.
-
-commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:20:25 2006 +0300
-
-    Coverity #205: Fix potential NULL dereference.
-
-commit b6771501feea98d037032f82117b6d4f15779f07
-Author: Daniel Stone <daniels@endtroducing.localdomain>
-Date:   Sun Apr 9 22:18:20 2006 +0300
-
-    Coverity #209: Fix potential NULL dereference.  (Alan Coopersmith)
-
-commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Apr 7 18:11:52 2006 +0300
-
-    Coverity #826: Fix potential memory leak.
-
-commit 3a16f262abe48b44ed641525e894bc22e13bf72a
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Apr 7 17:49:41 2006 +0300
-
-    Bug #1625: Include keysym.h from Xutil.h.
-
-commit 2481b767ae96e2f2503c0390545932c8397b090f
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 17:12:15 2006 -0700
-
-    Check if visualList == NULL, not nVisualsMatched == 0.  NULL happens in more
-    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
-    of Coverity #599, #600.
-
-commit 152b17e47d878c2d928eb74581aa69d925a29123
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 16:42:26 2006 -0700
-
-    Coverity #558: Free newly-allocated Database in error path.
-
-commit bc62b99ef36edb34035911c42104be7f6f9d2333
-Author: Eric Anholt <anholt@leguin.anholt.net>
-Date:   Wed Apr 5 16:38:52 2006 -0700
-
-    Coverity #582: Free newly-allocated region in error path.
-
-commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Mar 31 22:53:07 2006 -0800
-
-    Fix buggy interaction with XCB when running out of XIDs.
-
-commit e3f452571824d6a875bbf582946de185de9e01e9
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Mar 31 22:52:14 2006 -0800
-
-    Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously.
-
-commit 2363b74ca795c1b3a73c9e572532ba5191adec5b
-Author: Daniel Stone <daniels@preemptive.research.nokia.com>
-Date:   Fri Mar 17 15:58:39 2006 +0200
-
-    Properly clip bounds when only one point is defining an outline.
-
-commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7
-Merge: be266b2 f71ea0b
-Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
-Date:   Sat Mar 11 15:40:35 2006 +0100
-
-    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11
-
-commit be266b201dc13530a302a7572283ccd3f32aad87
-Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
-Date:   Sat Mar 11 15:39:15 2006 +0100
-
-    Fix prototype of XConfigureWindow(). Bugzilla #6023.
-
-commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Mar 3 11:08:41 2006 -0800
-
-    Update for XCBSendRequest sequence number API changes.
-
-commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Fri Mar 3 01:42:49 2006 -0800
-
-    Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version.
-
-commit d8ba4ae7045b227f8b675628b9094dded02f1c08
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Mar 2 23:43:26 2006 -0800
-
-    Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array.
-
-commit f9afb5a54435c30961306080e9358d4240ecb844
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Mar 2 23:34:19 2006 -0800
-
-    assert() that we will not infinite loop or read uninitialized memory.
-
-commit d3512ef3aae5b036a8ce6579318108f1ec20ee22
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Mar 2 15:58:52 2006 -0800
-
-    Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves.
-
-commit fb590c15a740264ee867d15a2547072e43b21eed
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Mar 2 12:06:04 2006 -0800
-
-    Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature.
-
-commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Mon Feb 27 11:51:47 2006 -0800
-
-    Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted.
-
-commit 07bdf1fbbf2418f866df1a2140d514dd3f035139
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 26 15:46:01 2006 -0800
-
-    Update for new XCBSendRequest API.
-
-commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Feb 23 18:12:31 2006 -0800
-
-    Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls.
-
-commit ec30a27341b97620b07dd886f98d1d7664a67685
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Feb 23 18:01:46 2006 -0800
-
-    Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot.
-
-commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Thu Feb 23 11:46:09 2006 -0800
-
-    XCBFlush used to return non-positive on failure, and this test did not catch 0. Now it returns boolean: 0 or 1. Testing <= 0 covers both cases. I probably want to switch to a boolean test eventually.
-
-commit 41c0121a8718b530feaf7fe315b673d9b8defce2
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 21:25:41 2006 -0800
-
-    Refactor the code that passes requests down to XCB into a separate issue_complete_request function.
-
-commit 67d06e0fe468dca22847aa14d3f917128f89f9cf
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 15:33:05 2006 -0800
-
-    If we have not actually put the buffer back, deferred invariants may not hold. This is OK.
-
-commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1
-Author: Jeremy C. Reed <reed@reedmedia.net>
-Date:   Tue Feb 21 14:10:22 2006 -0800
-
-    Set XTHREADLIB correctly for dragonfly platforms.
-
-commit b24834762e975bd319f9ab5c7cf790b2a02a9474
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 14:03:26 2006 -0800
-
-    Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay.
-
-commit 99b8defd0d5e6993071e21638128c9de2574b37d
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 13:04:21 2006 -0800
-
-    Execute BeforeFlush hooks on complete buffers, not request-at-a-time.
-    Traditional Xlib worked this way; I dunno why I changed it.
-
-commit 9b01e7849775749182052fe324df9d8e6ceeee99
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 12:51:44 2006 -0800
-
-    Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer.
-
-commit 7ce7ac882de128955751a5307889db9d712d8a72
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 12:44:30 2006 -0800
-
-    Quit using a triple-pointer. Almost as if I were a sensible person.
-
-commit 35a858be218cdbfa4593d44a67663d5c25297016
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 21 12:21:01 2006 -0800
-
-    Remove the XCL_PAD macro.
-
-commit e741b70ed2542c5463c57dac44bc37328616733b
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 12:29:27 2006 -0800
-
-    Update .gitignores for *.o and nls/locale.dir*.
-
-commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 12:28:41 2006 -0800
-
-    Move .cvsignore to .gitignore.
-
-commit c7cda56eebaf6ab11403363be14d4948d7d8be38
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 11:49:15 2006 -0800
-
-    Land XCB support on X.org HEAD.
-
-commit 881467b3032261791ef5ec61b3879bb68d0a3d8c
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Sun Feb 19 02:14:11 2006 +0000
-
-    Merge the X11 and BIGREQS package sets: they were used in exactly the same places.
-
-commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146
-Author: Jamey Sharp <jamey@minilop.net>
-Date:   Tue Feb 14 19:37:36 2006 +0000
-
-    Refactor _XFlush and _XSend code that sets dpy->synchandler to _XSeqSyncFunction into a new function, _XSetSeqSyncFunction. It makes the patch for XCB cleaner, but is arguably a good idea anyway.
-
-commit 010c3acbb3a6993d39274f42d88c00849acb0fb0
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sun Feb 12 18:19:17 2006 +0000
-
-    Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match.
-
-commit fe8c01c80263457f01b70dc1511b2bd9466b7c96
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Feb 3 23:34:43 2006 +0000
-
-    Fix typo in .TH line
-
-commit b091c217f3c3f60dde78b09a95c150df6c83d7ba
-Author: Kevin E Martin <kem@kem.org>
-Date:   Thu Dec 15 00:24:28 2005 +0000
-
-    Update package version number for final X11R7 release candidate.
-
-commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a
-Author: Kevin E Martin <kem@kem.org>
-Date:   Tue Dec 6 22:48:41 2005 +0000
-
-    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
-
-commit b5c495854d5270e64e6d588388ffa906bfcaac22
-Author: Kevin E Martin <kem@kem.org>
-Date:   Sat Dec 3 05:49:42 2005 +0000
-
-    Update package version number for X11R7 RC3 release.
-
-commit 9e96dbc343c7f27ff47607acd75378ab23903e2a
-Author: Kevin E Martin <kem@kem.org>
-Date:   Sat Dec 3 04:41:47 2005 +0000
-
-    Add check and cflags for malloc(0) returning NULL.
-
-commit 649c37b47909620ccafde3e983de8321cddd74ce
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Nov 28 22:03:04 2005 +0000
-
-    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
-
-commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Nov 23 22:33:06 2005 +0000
-
-    Bug #5003 <https://bugs.freedesktop.org/show_bug.cgi?id=5003> Patch #3763 <https://bugs.freedesktop.org/attachment.cgi?id=3763> Xorg code misuses S_IF* macros
-
-commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078
-Author: Eric Anholt <anholt@freebsd.org>
-Date:   Sun Nov 20 23:17:39 2005 +0000
-
-    Add/improve libs .cvsignores.
-
-commit fa1f4a08112bfa14d3758f4702733dd3892966c3
-Author: Kevin E Martin <kem@kem.org>
-Date:   Sat Nov 19 07:15:39 2005 +0000
-
-    Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots.
-
-commit 7012f9b56c594cf40855ba0dbf93af1263417a8c
-Author: Kevin E Martin <kem@kem.org>
-Date:   Mon Nov 14 21:51:07 2005 +0000
-
-    Fix xf86bigfont pkgconfig dep typo.
-
-commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca
-Author: Kevin E Martin <kem@kem.org>
-Date:   Wed Nov 9 21:19:12 2005 +0000
-
-    Update package version number for X11R7 RC2 release.
-
-commit 6bb0c3796b6e1beddc376a896e865704886e1462
-Author: Kean Johnson <kean@armory.com>
-Date:   Tue Nov 8 06:33:25 2005 +0000
-
-    See ChangeLog entry 2005-11-07 for details.
-
-commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780
-Author: Kevin E Martin <kem@kem.org>
-Date:   Tue Nov 1 15:11:50 2005 +0000
-
-    Update pkgcheck dependencies to work with separate build roots.
-
-commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Fri Oct 28 10:44:03 2005 +0000
-
-    Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares.
-
-commit be627a39fe373e2e81fdc263780e70a271d9e0c5
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Fri Oct 28 08:28:08 2005 +0000
-
-    Add dependency on inputproto for XI.h.
-
-commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Fri Oct 21 18:44:24 2005 +0000
-
-    Bug #4736: Error decoding for Damage extension. (Jonathan Lennox)
-
-commit 1171fa9dc77413f0e90933a565ec07068052afb4
-Author: Kevin E Martin <kem@kem.org>
-Date:   Wed Oct 19 02:48:08 2005 +0000
-
-    Update package version number for RC1 release.
-
-commit 2a2d905706308b9d5a1c16af1067fb390f43850c
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Oct 18 00:00:08 2005 +0000
-
-    Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make
-
-commit 66d35b6971fb26762392a2a8e2c47db46c11116a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Oct 17 21:13:15 2005 +0000
-
-    Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb)
-
-commit a316995a17c084e98ef1b7f25d287c2c08b6d749
-Author: Donnie Berkholz <spyderous@gentoo.org>
-Date:   Sun Oct 16 03:03:35 2005 +0000
-
-    Change '==' to portable '='.
-
-commit b76a072530e884bcbea6ed8fed5aef39361dcfc0
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Oct 12 00:04:50 2005 +0000
-
-    configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions.
-
-commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0
-Author: Eric Anholt <anholt@freebsd.org>
-Date:   Tue Oct 11 02:18:36 2005 +0000
-
-    Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others.
-
-commit 41ff3b9d1f194a7b56437b650d5f589225c078c6
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sun Oct 9 22:28:39 2005 +0000
-
-    Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox)
-
-commit 91ed79852e790049ab54e68f288afb3c953194c9
-Author: Kevin E Martin <kem@kem.org>
-Date:   Fri Oct 7 15:00:00 2005 +0000
-
-    Clean up generated files
-    Add missing dist tarball files
-
-commit 440399b470c97b159a530602fff11c315aca8d97
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Wed Oct 5 18:27:10 2005 +0000
-
-    Add el_GR.UTF-8 compose file
-
-commit 010f0647e25ac617d0f92c8d2b8dda684da545db
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Sep 30 07:52:46 2005 +0000
-
-    Bug #2609: Add Kyrgyz locale (Ilyas Bakirov).
-
-commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Sep 30 07:47:55 2005 +0000
-
-    Bug #1640: Kinyarwanda locale support. (Steve Murphy)
-
-commit 4ae0decabe0960870df0ec165f495166c10a053c
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Sep 30 07:40:03 2005 +0000
-
-    Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy.
-
-commit 3f79eb4c99844f618f1889741d1631c2ffe5385f
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Sep 30 07:11:19 2005 +0000
-
-    Generate locale.alias and compose.dir exactly like we do in the monolith, which fixes non-UTF-8 locales in particular (so we get foo: bar, as well as foo bar). Switch to generating locale.dir the same way.
-
-commit d1237d1483ff972c76a0ac344ec97d5280db0007
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Sep 29 21:27:12 2005 +0000
-
-    Add Xcms.txt to lib/X11
-
-commit 4a86f299693f7376cbe98175f0b0c44d691802b3
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Sep 24 20:11:06 2005 +0000
-
-    Add XQueryExtension.man
-
-commit a057a66e2041d45198a13a4ece7c07068f76f21b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Sep 24 00:16:32 2005 +0000
-
-    Add XTHREAD_CFLAGS for platforms that need special defines like
-    -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests.
-
-commit 3e920a65a7c376ad63eae2240fd06904d25d18bf
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Fri Sep 2 23:00:30 2005 +0000
-
-    Issue an error if XTRANS macros were not found when generating configure from configure.ac to flag errors early, instead of when people wonder why libX11 can't talk to an Xserver because it has no transports defined
-
-commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c
-Author: Kristian Høgsberg <krh@redhat.com>
-Date:   Thu Sep 1 19:24:13 2005 +0000
-
-    Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time.
-
-commit 7afa64325183b78d2d6a4862821f8b3e9866105c
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Aug 28 19:45:48 2005 +0000
-
-    OpenBSD needs -lpthread for threaded applications too.
-
-commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Aug 26 05:16:46 2005 +0000
-
-    Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf)
-
-commit 07066da0902df91c71f2adb81d1a17ec29165553
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Aug 21 15:45:04 2005 +0000
-
-    update
-
-commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Aug 21 15:38:39 2005 +0000
-
-    Threads support for BSD systems:
-    - need to check for gewtpwuid_r to define mtsafeapi
-    - build UIThrstubs if needed.
-
-commit 60217fdb918bafb2082519efe5cba3b13ad3082a
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Wed Aug 17 19:46:08 2005 +0000
-
-    Add xthreadlib variable to x11.pc. Bump to 0.99.1.
-
-commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Aug 17 01:27:08 2005 +0000
-
-    Fix more broken multi-line .ds macros. Remove extraneous ;'s .
-
-commit 1909786f4a7d686369edcfc05a938df115fab37c
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Aug 16 19:23:15 2005 +0000
-
-    Bugzilla #4112 <https://bugs.freedesktop.org/show_bug.cgi?id=4112> Patch #2687 <https://bugs.freedesktop.org/attachment.cgi?id=2897> Fix multi-line macros in XPutImage man page. (Debian bug #323210, fix by David Mart?nez Moreno)
-
-commit 83406d69c62070d2eeef23eb47f1ca887f711ee5
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Aug 15 19:53:37 2005 +0000
-
-    Move RAWCPP macro to xorg-macros.m4 so other modules can use it Add check for whether or not RAWCPP needs -traditional instead of hardcoding it, so non-gcc cpp's can be used
-
-commit 5bb43de17de8e71d967488a713bf2b3448533444
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Aug 6 18:59:49 2005 +0000
-
-    Typo fix in output message
-
-commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Aug 4 02:55:49 2005 +0000
-
-    //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3005 <https://bugs.freedesktop.org/attachment.cgi?id=3005> libX11 locale defs severely adrift from glibc: adding new aliases (From Debian via Nathanael Nerode)
-
-commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Thu Aug 4 02:51:30 2005 +0000
-
-    //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3002 <https://bugs.freedesktop.org/attachment.cgi?id=3002> libX11 locale defs severely adrift from glibc: locales bugfix for bs_BA (From Debian via Nathanael Nerode)
-
-commit 34b454df192f4563499c453ccdb8c079f4a20cbe
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jul 30 20:30:46 2005 +0000
-
-    Include config.h so Xtrans knows which transport types to build code for
-
-commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jul 30 19:15:16 2005 +0000
-
-    Add -D flags to clear various warnings (Stefan Dirsch)
-
-commit e7fef67b4531faddd805d8f2157903006d3117ed
-Author: Kevin E Martin <kem@kem.org>
-Date:   Fri Jul 29 21:22:50 2005 +0000
-
-    Various changes preparing packages for RC0:
-    - Verify and update package version numbers as needed
-    - Implement versioning scheme
-    - Change bug address to point to bugzilla bug entry form
-    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it)
-    - Fix makedepend to use pkgconfig and pass distcheck
-    - Update build script to build macros first
-    - Update modular Xorg version
-
-commit 2ebb00244928237088e68325b1032b3550455ce9
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sat Jul 23 20:19:31 2005 +0000
-
-    remove orphan TAB at begin of line
-
-commit dd7a9cdecda73e024ca84c5b9a22b18688038d94
-Author: Kevin E Martin <kem@kem.org>
-Date:   Sat Jul 23 18:09:39 2005 +0000
-
-    Modify modular libs to use Xregion.h instead of region.h
-
-commit 6d635a88d91647b1b63611c3591f74916f88cd1c
-Author: Kevin E Martin <kem@kem.org>
-Date:   Sat Jul 23 18:06:16 2005 +0000
-
-    lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>.
-
-commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sat Jul 16 06:25:35 2005 +0000
-
-    Set soversion to 6.2.0.
-
-commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f
-Author: Keith Packard <keithp@keithp.com>
-Date:   Fri Jul 15 04:27:32 2005 +0000
-
-    Add missing Makefile.am to lib/X11/modules
-
-commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3
-Author: Keith Packard <keithp@keithp.com>
-Date:   Fri Jul 15 04:08:51 2005 +0000
-
-    Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable).
-    Link i18n modules against xlib to resolve Xlib symbols used by them.
-
-commit 45f40126a73295345bb5eb187b1167874842ab6e
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Thu Jul 14 19:50:00 2005 +0000
-
-    Add $(top_srcdir)/src to include list
-
-commit 0aed7d91f5928d09d541617aad03709b5090658d
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Thu Jul 14 17:04:49 2005 +0000
-
-    Build fix for non-GNU make.
-
-commit b79422ccb02ab44548d1038956ab0cd4e2638645
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Thu Jul 14 15:12:44 2005 +0000
-
-    typo fixes (Matthieu Herrb)
-
-commit 419304cde2fda19457c667870edefc0b227651b3
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Wed Jul 13 02:41:36 2005 +0000
-
-    Add missing backslashes to xlocale_la_SOURCES
-
-commit d14cc5c8964c4539b57c6cb51ef653292e410b79
-Author: Keith Packard <keithp@keithp.com>
-Date:   Mon Jul 11 20:32:55 2005 +0000
-
-    Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this.
-
-commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb
-Author: Lars Knoll <lars@trolltech.com>
-Date:   Mon Jul 11 15:24:32 2005 +0000
-
-    compile
-
-commit de9784eb1bde46efc316da279e3da27c6cc288a7
-Author: Keith Packard <keithp@keithp.com>
-Date:   Mon Jul 11 09:26:40 2005 +0000
-
-    Ignore built man page files
-
-commit 0c258c36d1523113790c599b16d2947d7aa6469a
-Author: Keith Packard <keithp@keithp.com>
-Date:   Mon Jul 11 09:18:31 2005 +0000
-
-    Minor changes to help modular Xlib build i18n modules
-
-commit 6e752ea1203b786423e40f43340bce15ca3de0f0
-Author: Keith Packard <keithp@keithp.com>
-Date:   Mon Jul 11 08:29:18 2005 +0000
-
-    Enable loadable i18n modules, making them configurable on the configure command line.
-    Clean up conditionals for XKB, XCMS, XLOCALEDIR
-    Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path.
-    Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data.
-    Split out xcms, xkb, xlibi18n sources from main xlib bits so they can be conditionally included more easily. Lots of source files have been moved with this step; the result seems like it might be easier to maintain.
-    Display message at end of configure script with selected options.
-    Fix manual building with cpp to add -traditional in cpprules.in. This isn't conditionalized at all, so it will break on systems not using GNU cpp.
-
-commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sun Jul 10 22:37:33 2005 +0000
-
-    Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan)
-
-commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jul 9 20:06:04 2005 +0000
-
-    Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages
-
-commit 3939ac4410446b46071c9d714f4270c12bf904fe
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jul 9 18:44:14 2005 +0000
-
-    - Since all but one line of all the nls/*/Makefile.am files are identical, move common bits to nls/localerules.in for easier updating and use automake includes to include in all the nls/*/Makefile.am files
-    - Don't assume $(CPP) can take gcc-only -traditional flag
-    - CPP process man pages as is done in the monolithic tree
-
-commit 19ba9d0df86c688319377467254b9ea9c4b0eccc
-Author: Keith Packard <keithp@keithp.com>
-Date:   Sat Jul 9 06:01:49 2005 +0000
-
-    Clean up .cvsignore files
-
-commit f4bba6fa9b9ce637be7662754750054567e9250a
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Sat Jul 9 02:53:29 2005 +0000
-
-    typo fix. i suck.
-
-commit 3305da61a61695e24c1ea11d3f59dddb52873d47
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Sat Jul 9 02:41:18 2005 +0000
-
-    Check for bigfont proto headers via pkgconfig (Arwed von Merkatz)
-
-commit afdae2e8ccb93de2987b5a5e850695af15ece7e0
-Author: Keith Packard <keithp@keithp.com>
-Date:   Fri Jul 8 07:11:56 2005 +0000
-
-    Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions
-
-commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c
-Author: Keith Packard <keithp@keithp.com>
-Date:   Fri Jul 8 06:57:06 2005 +0000
-
-    Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file.
-    Add a bunch of .cvsignore files
-
-commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c
-Author: Chris Less <clee@c133.org>
-Date:   Mon Jul 4 23:01:48 2005 +0000
-
-    Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList.
-
-commit 55328bb6caabd37885cd19d7a5821ed425daf321
-Author: Eric Anholt <anholt@freebsd.org>
-Date:   Sun Jul 3 10:17:38 2005 +0000
-
-    Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am.
-
-commit 726538ba21b631bfb0b8094a5546acdaf57379ff
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sun Jul 3 07:37:33 2005 +0000
-
-    Fix more include paths; add dix-config.h to XKB code.
-
-commit 8c7677138e70e14eca0255f2168583f0ecc21994
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Sun Jul 3 07:00:55 2005 +0000
-
-    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
-    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
-    Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
-
-commit 197697c92a63091a4cc3cc04dcb7fa29d2655758
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jul 1 22:13:35 2005 +0000
-
-    Fix objdir != srcdir, as well as make distcheck.
-    Don't attempt to create Compose.pre files; formatting fixes.
-    Added if not already present.
-
-commit c162d60ad8f124563f94a2a266de59373936266c
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Wed Jun 22 22:46:31 2005 +0000
-
-    Apply these patches from Theo van Klaveren:
-    lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch
-    to make the libraries distcheck.
-
-commit 9ee8abdab03ea605a6327118ab7dacab6adf8876
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jun 18 07:48:43 2005 +0000
-
-    Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them
-
-commit 12afc57b7d455781eee305e9ed6a899ceec8729e
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Jun 15 16:50:47 2005 +0000
-
-    Typo fix to locale/error/keysym location declarations.
-
-commit 9a895777e30762f61b98d25be3b5d8b1169baa17
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Jun 15 13:37:43 2005 +0000
-
-    Typo in ImUtil.h commit -- I AM CAPTAIN SKILL.
-
-commit add49285663684875ab7a5c58ec7a2cf8b775f67
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Jun 15 13:32:35 2005 +0000
-
-    Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end.
-    Move ImUtil.h from src/ to include/X11/.
-
-commit 845dfc6b42b950890866ee4df27761e086f50dca
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Wed Jun 15 13:27:48 2005 +0000
-
-    Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file.
-
-commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9
-Author: Daniel Stone <daniel@fooishbar.org>
-Date:   Fri Jun 10 14:11:36 2005 +0000
-
-    Remove pointless include of Xlib.h.
-    Fix #include path to bigreqstr.h.
-
-commit 1a0de49da1274882bab05b0f7240936b37955e5c
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Thu Jun 9 21:30:15 2005 +0000
-
-    Use $(srcdir) for Compose.pre and XLC_LOCALE.pre
-
-commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Thu Jun 9 15:55:33 2005 +0000
-
-    Replace <X11/transport.c> with <X11/Xtrans/transport.c>
-
-commit fd5f58e0baf692e34b9b622286f18762cc2500d3
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Thu Jun 9 15:52:02 2005 +0000
-
-    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
-    Copy Xtrans.h to exports/include/X11/Xtrans only
-
-commit 44538f9940f969d46c0e5e4b201c684cde2ba611
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sun Jun 5 03:29:33 2005 +0000
-
-    Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT
-
-commit 588e30e9ec65fa6205a34be650b79d5e2243edec
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jun 4 22:53:21 2005 +0000
-
-    Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method
-
-commit a547afee2ef49cc41bbb67f9cff5a52a283c0854
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Jun 4 21:20:20 2005 +0000
-
-    Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk)
-
-commit ca93c761559ae464189c7ea7cf11c6a6679f2431
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sat May 28 01:02:32 2005 +0000
-
-    Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383>
-
-commit 09ebb349359e3dd9131fa2fa8b07559faa173654
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sun May 22 19:05:11 2005 +0000
-
-    Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext
-
-commit 761219b1ef9befc350c8a35b6f96d047e5f008cc
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat May 21 23:07:48 2005 +0000
-
-    xtrans:
-    Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports
-    ICE:
-    Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro.
-    X11:
-    Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans.
-
-commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat May 21 04:26:12 2005 +0000
-
-    Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc)
-    Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC).
-
-commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Thu May 19 00:22:32 2005 +0000
-
-    revert last change, didn't do right thing at all, sorry for the noise
-
-commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Thu May 19 00:10:07 2005 +0000
-
-    Require automake 1.7 in AM_INIT_AUTOMAKE
-
-commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Tue May 17 22:32:09 2005 +0000
-
-    - Check for xproto as its CFLAGS are needed in the .pc file
-
-commit 46e8d8a65430dd87c10b066b5cff99a689c22241
-Author: Egbert Eich <eich-at-freedesktop-dot-org>
-Date:   Tue May 17 08:10:10 2005 +0000
-
-    gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268).
-
-commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1
-Author:  <ssp@aware-of-vacuity.boston.redhat.com>
-Date:   Mon May 16 22:35:27 2005 +0000
-
-    Make Xdmcp unconditionally required, require various protocol modules.
-    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
-    Check for kbproto if using XKB.
-    Require xextproto rather than xextensions
-    Remove the entries from the xlibs tree, as they are not relevant here.
-
-commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Mon May 16 21:48:36 2005 +0000
-
-    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
-    Check for kbproto if using XKB.
-
-commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa
-Author:  <ssp@aware-of-vacuity.boston.redhat.com>
-Date:   Mon May 16 21:27:35 2005 +0000
-
-    Require xextproto rather than xextensions
-    Remove the entries from the xlibs tree, as they are not relevant here.
-
-commit 7eee605e3aeed549d1053325a03027c5e8cbf71b
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Fri May 13 22:53:36 2005 +0000
-
-    - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
-    - For Xcomposite and Xdamage, don't link the build system out of the xc tree
-    - Link the public X11 headers into their own directory
-    - Add links to XKeysymDB and XErrorDB
-    - Add links to all the Xlib man pages
-    - Add links to the lcUniConv subdirectory
-    - Conditionally include config.h in Xlib source
-
-commit 6769ccda88caf27d1441d335ef2b318a047a612b
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Mon Mar 21 04:58:21 2005 +0000
-
-    xc/lib/X11/ErrDes.c
-    //bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com>
-
-commit 3b9e8ece93b916c55a82df53e85f097418edf471
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Sat Mar 19 22:04:55 2005 +0000
-
-    xc/nls/Compose/iso8859-2
-    xc/nls/Compose/iso8859-3
-    xc/nls/Compose/iso8859-9
-    //bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>.
-
-commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Tue Mar 8 02:53:36 2005 +0000
-
-    Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
-
-commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Tue Feb 1 03:12:28 2005 +0000
-
-    xc/nls/Compose/pt_BR.UTF-8
-    //bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>.
-
-commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10
-Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
-Date:   Fri Jan 28 18:31:31 2005 +0000
-
-    cleaned up boundary-case handling for Uxxxx Unicode keysym notation
-
-commit f234188a4c1e6b655aef0e3957ccad20d4c5847f
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Wed Jan 19 01:53:55 2005 +0000
-
-    xc/nls/compose.dir
-    xc/nls/locale.dir
-    xc/nls/Compose/Imakefile
-    xc/nls/Compose/pt_BR.UTF-8
-    xc/nls/XI18N_OBJS/Imakefile
-    xc/nls/XI18N_OBJS/pt_BR.UTF-8
-    xc/nls/XLC_LOCALE/Imakefile
-    xc/nls/XLC_LOCALE/pt_BR.UTF-8
-    //bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon.
-
-commit 7448ea7ef425d35cfc31eb41d46f4d879774f376
-Author: Egbert Eich <eich-at-freedesktop-dot-org>
-Date:   Fri Jan 14 18:03:09 2005 +0000
-
-    Made some security enhancements:
-    - no writing past end of buffer caused by bogus locale.
-    - explicitely add a \0 character at end of string. (Bugzilla #2262)
-
-commit 5557d47fcf22a6f3adf327691158f2270e3d5094
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Fri Jan 14 04:59:05 2005 +0000
-
-    xc/nls/compose.dir
-    xc/nls/locale.alias
-    xc/nls/locale.dir
-    //bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>.
-
-commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824
-Author: Egbert Eich <eich-at-freedesktop-dot-org>
-Date:   Tue Jan 11 17:37:57 2005 +0000
-
-    'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects.
-
-commit 642cd269f94a234aa470a1d43385bd42625d89a1
-Author: Egbert Eich <eich-at-freedesktop-dot-org>
-Date:   Tue Dec 14 08:59:20 2004 +0000
-
-    Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out.
-    Fixed typo.
-    Added comment to a changed that's been committed with one of the previous commits.
-
-commit a07ccae36e629741d2e48de7730114d30a975a41
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Sun Dec 12 08:42:50 2004 +0000
-
-    Fix missing XChangeProperty() prototype missing in synopsis section.
-
-commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c
-Author: Alexander Gottwald <ago at freedesktop dot org>
-Date:   Wed Dec 8 13:42:01 2004 +0000
-
-    Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform
-
-commit d5e7ab194103e22fd6c5094aaa107d90210bb600
-Author: Jim Gettys <jg@freedesktop.org>
-Date:   Thu Dec 2 16:18:16 2004 +0000
-
-    fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor.
-
-commit 03940d7330cb1bbf93d49c650aefb19de457da7c
-Author: Alexander Gottwald <ago at freedesktop dot org>
-Date:   Wed Dec 1 13:06:55 2004 +0000
-
-    Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable
-
-commit 11a03ab908bfcfab8a3492684e8e9320e492d552
-Author: Alexander Gottwald <ago at freedesktop dot org>
-Date:   Wed Dec 1 12:42:17 2004 +0000
-
-    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory
-
-commit f3d83ee153f42e8899b844377e6b842d93411e62
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Mon Nov 15 15:06:54 2004 +0000
-
-    Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port
-
-commit b798ea11911ac58a8e6e7d15a2a643b023859749
-Author: Alexander Gottwald <ago at freedesktop dot org>
-Date:   Mon Nov 15 13:29:56 2004 +0000
-
-    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory
-
-commit 436108cd6c84053698e5ca629096f59b34f50c2a
-Author: Kristian Høgsberg <krh@redhat.com>
-Date:   Thu Nov 11 15:37:01 2004 +0000
-
-    Fix #1818
-
-commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Tue Nov 9 00:56:56 2004 +0000
-
-    xc/nls/compose.dir
-    xc/nls/locale.alias
-    xc/nls/locale.dir
-    //freedesktop.org/bugzilla/show_bug.cgi?id=1544): Adding support for the si_LK (si, sinhala, si_LK, si_LK.UTF-8) locale. Patch by Anuradha Ratnaweera <gnu.slash.linux@gmail.com>.
-
-commit 443890ceefbd6dafe68e30d103ec4f9d316ed655
-Author: Roland Mainz <roland.mainz@nrubsig.org>
-Date:   Fri Nov 5 00:58:49 2004 +0000
-
-    xc/nls/compose.dir
-    xc/nls/locale.alias
-    xc/nls/locale.dir
-    Adding some of the major indic locales (bn_IN.UTF-8, bn_IN.utf8, gu_IN.UTF-8, gu_IN.utf8, pa_IN.UTF-8, pa_IN.utf8) to X. Patch by Leon Ho <llch@redhat.com>.
-
-commit af7467ec734321f127b957921cce7792902b6794
-Author: Egbert Eich <eich-at-freedesktop-dot-org>
-Date:   Mon Oct 18 17:29:03 2004 +0000
-
-    Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su).
-
-commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206
-Author: Egbert Eich <eich-at-freedesktop-dot-xorg>
-Date:   Mon Oct 18 14:21:45 2004 +0000
-
-    Made handling of DevelDrivers for x86-64 more conformant to other platforms.
-    Compress all font encodings (Stefan Dirsch).
-    Fixed warnings.
-    Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su).
-    Added another compose key combination for the Euro symbol (Stefan Dirsch).
-    Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
-    Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains.
-    Added explanation for DESTDIR to install to a different directory than /.
-    Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11.
-    XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes.
-    Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel().
-    Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
-    Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
-    Changed comment to mention xorg.
-    Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown).
-    Added 'pic' to the man page rendering command pipeline (Werner Fink).
-    Added missing return value (Stefan Dirsch, Roland Mainz)
-
-commit 1ba103c3cad2329db3a31f88d7798b913affc570
-Author: Eric Anholt <anholt@freebsd.org>
-Date:   Wed Oct 13 07:38:00 2004 +0000
-
-    Use attributes instead of pragmas for weak symbols on gcc 2.95 as well. Using pragmas may result in the symbols being undefined with big -O. (FreeBSD ports/69708, Masakazu HIGAKI <higamasa@dream.com>)
-
-commit d80237db627bf71ad5615ff4ba05e6ab436aa740
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Fri Oct 8 22:57:56 2004 +0000
-
-    Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com>
-    Move iso10646 last so the "fallback" fonts will actually be used if they are better matches.
-
-commit d1f76d17ecf418396627b1a58319f2b9b255548a
-Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
-Date:   Sun Sep 26 22:54:57 2004 +0000
-
-    bug fix for previous patch
-
-commit 48932d9b71d10e15812f47d5b842ab6aa8dac625
-Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
-Date:   Sun Sep 26 20:46:17 2004 +0000
-
-    The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn)
-
-commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543
-Author: Egbert Eich <eich@freedesktop.org>
-Date:   Wed Sep 15 09:05:22 2004 +0000
-
-    Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak).
-    Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).
-
-commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3
-Author: Egbert Eich <eich@freedesktop.org>
-Date:   Tue Aug 31 11:37:03 2004 +0000
-
-    Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182).
-
-commit e689746c8d0e21e9011e8b91a3071d235d3a2a74
-Author: Kevin E Martin <kem@kem.org>
-Date:   Thu Aug 19 06:48:06 2004 +0000
-
-    Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure.
-
-commit d558a53a6f57eecfcaadce5141fe3a08860defcb
-Author: Keith Packard <keithp@keithp.com>
-Date:   Sat Aug 14 07:12:36 2004 +0000
-
-    Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing.
-    Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly.
-    Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version.
-    Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default)
-
-commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55
-Author: Alexander Gottwald <ago@freedesktop.org>
-Date:   Fri Aug 13 16:28:19 2004 +0000
-
-    Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki)
-    Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe)
-
-commit c4d56e4e288d4e48b84b021a61638f46e9a45e27
-Author: Adam Jackson <ajax@nwnk.net>
-Date:   Wed Aug 11 05:25:13 2004 +0000
-
-    Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik.
-
-commit 92487437173f600f208d825f65756d3ad14a4f7e
-Author: Kevin E Martin <kem@kem.org>
-Date:   Mon Aug 9 22:37:22 2004 +0000
-
-    Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald).
-    Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes).
-    Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson).
-    HP-PA build fix (Bug #828, Guy Martin, Paul Anderson).
-    Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine).
-    Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris).
-    Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris).
-    Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris).
-    Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor).
-    Fix several render problems:
-    - MMIO mode support
-    - Hang on IGP chips
-    - VT switching hang
-    - 3D render corruption (Bug #922, Hui Yu).
-
-commit 55c2ee568e7d3903258286a13bdf96ce5348ffda
-Author: Matthieu Herrb <matthieu.herrb@laas.fr>
-Date:   Tue Jul 27 06:06:05 2004 +0000
-
-    - remove remaining AMOEBA references.
-    - remove unused file.
-
-commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d
-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
-Date:   Tue Jul 20 17:48:09 2004 +0000
-
-    Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk>
-    Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera).
-    Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk>
-    Use /dev/urandom on Linux.(#761).
-
-commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1
-Author: Eric Anholt <anholt@freebsd.org>
-Date:   Fri May 28 23:26:44 2004 +0000
-
-    Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this.
-
-commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0
-Author: Egbert Eich <eich@pdx.freedesktop.org>
-Date:   Mon May 24 19:02:11 2004 +0000
-
-    Improve 'uniqueness' of authorization cookie sent by client for XDM-AUTHORIZATION-1. Old 'uniquness' consisted of the PID of the client, a time stamp (in seconds) and a number obtained by starting to count down from 0xffff. When a client did an XOpenDisplay() then execv'ed a child and did XOpenDisplay() again within the same second, the cookie was identical to the previous one (as the PID did not change but the static 'count down' variable was reinitialized) and thus refused by the server.
-
-commit 720702da29769d80ad1254d92edbad5b30f8a8da
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat May 22 03:47:42 2004 +0000
-
-    Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure)
-
-commit 3aed873292424b497d9a7dcee2975b95bf5ac966
-Author: Alan Coopersmith <alan.coopersmith@sun.com>
-Date:   Sat Apr 24 23:39:25 2004 +0000
-
-    XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183).
-    Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH).
-    xc/config/cf/sunLib.tmpl
-    xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris
-
-commit c6349f43193b74a3c09945f3093a871b0157ba47
-Author: Egbert Eich <eich@freedesktop.org>
-Date:   Fri Apr 23 18:42:09 2004 +0000
-
-    Merging XORG-CURRENT into trunk
-
-commit c3c4ddc682950a01b80825021f3e2503ab01ea7f
-Author: Kaleb Keithley <kaleb@freedesktop.org>
-Date:   Tue Nov 25 19:28:07 2003 +0000
-
-    Initial revision
-
-commit dc4268a7dadc8da0d561757a68461246728613d3
-Author: Kaleb Keithley <kaleb@freedesktop.org>
-Date:   Fri Nov 14 16:48:47 2003 +0000
-
-    Initial revision
-
-commit deae12c6b683898f5213992d561a59d4ea889cca
-Author: Kaleb Keithley <kaleb@freedesktop.org>
-Date:   Fri Nov 14 15:54:30 2003 +0000
-
-    R6.6 is the Xorg base-line
diff --git a/INSTALL b/INSTALL
deleted file mode 100644 (file)
index 8b82ade..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,291 +0,0 @@
-Installation Instructions
-*************************
-
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008 Free Software Foundation, Inc.
-
-   This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
-
-Basic Installation
-==================
-
-   Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package.  The following
-more-detailed instructions are generic; see the `README' file for
-instructions specific to this package.
-
-   The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation.  It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions.  Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, and a
-file `config.log' containing compiler output (useful mainly for
-debugging `configure').
-
-   It can also use an optional file (typically called `config.cache'
-and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring.  Caching is
-disabled by default to prevent problems with accidental use of stale
-cache files.
-
-   If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release.  If you are using the cache, and at
-some point `config.cache' contains results you don't want to keep, you
-may remove or edit it.
-
-   The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'.  You need `configure.ac' if
-you want to change it or regenerate `configure' using a newer version
-of `autoconf'.
-
-The simplest way to compile this package is:
-
-  1. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.
-
-     Running `configure' might take a while.  While running, it prints
-     some messages telling which features it is checking for.
-
-  2. Type `make' to compile the package.
-
-  3. Optionally, type `make check' to run any self-tests that come with
-     the package.
-
-  4. Type `make install' to install the programs and any data files and
-     documentation.
-
-  5. You can remove the program binaries and object files from the
-     source code directory by typing `make clean'.  To also remove the
-     files that `configure' created (so you can compile the package for
-     a different kind of computer), type `make distclean'.  There is
-     also a `make maintainer-clean' target, but that is intended mainly
-     for the package's developers.  If you use it, you may have to get
-     all sorts of other programs in order to regenerate files that came
-     with the distribution.
-
-  6. Often, you can also type `make uninstall' to remove the installed
-     files again.
-
-Compilers and Options
-=====================
-
-   Some systems require unusual options for compilation or linking that
-the `configure' script does not know about.  Run `./configure --help'
-for details on some of the pertinent environment variables.
-
-   You can give `configure' initial values for configuration parameters
-by setting variables in the command line or in the environment.  Here
-is an example:
-
-     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
-
-   *Note Defining Variables::, for more details.
-
-Compiling For Multiple Architectures
-====================================
-
-   You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory.  To do this, you can use GNU `make'.  `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
-   With a non-GNU `make', it is safer to compile the package for one
-architecture at a time in the source code directory.  After you have
-installed the package for one architecture, use `make distclean' before
-reconfiguring for another architecture.
-
-   On MacOS X 10.5 and later systems, you can create libraries and
-executables that work on multiple system types--known as "fat" or
-"universal" binaries--by specifying multiple `-arch' options to the
-compiler but only a single `-arch' option to the preprocessor.  Like
-this:
-
-     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
-                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
-                 CPP="gcc -E" CXXCPP="g++ -E"
-
-   This is not guaranteed to produce working output in all cases, you
-may have to build one architecture at a time and combine the results
-using the `lipo' tool if you have problems.
-
-Installation Names
-==================
-
-   By default, `make install' installs the package's commands under
-`/usr/local/bin', include files under `/usr/local/include', etc.  You
-can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
-
-   You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files.  If you
-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
-PREFIX as the prefix for installing programs and libraries.
-Documentation and other data files still use the regular prefix.
-
-   In addition, if you use an unusual directory layout you can give
-options like `--bindir=DIR' to specify different values for particular
-kinds of files.  Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
-
-   If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
-   Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System).  The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
-   For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Particular systems
-==================
-
-   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU
-CC is not installed, it is recommended to use the following options in
-order to use an ANSI C compiler:
-
-     ./configure CC="cc -Ae"
-
-and if that doesn't work, install pre-built binaries of GCC for HP-UX.
-
-   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
-a workaround.  If GNU CC is not installed, it is therefore recommended
-to try
-
-     ./configure CC="cc"
-
-and if that doesn't work, try
-
-     ./configure CC="cc -nodtk"
-
-Specifying the System Type
-==========================
-
-   There may be some features `configure' cannot figure out
-automatically, but needs to determine by the type of machine the package
-will run on.  Usually, assuming the package is built to be run on the
-_same_ architectures, `configure' can figure that out, but if it prints
-a message saying it cannot guess the machine type, give it the
-`--build=TYPE' option.  TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name which has the form:
-
-     CPU-COMPANY-SYSTEM
-
-where SYSTEM can have one of these forms:
-
-     OS KERNEL-OS
-
-   See the file `config.sub' for the possible values of each field.  If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the machine type.
-
-   If you are _building_ compiler tools for cross-compiling, you should
-use the option `--target=TYPE' to select the type of system they will
-produce code for.
-
-   If you want to _use_ a cross compiler, that generates code for a
-platform different from the build platform, you should specify the
-"host" platform (i.e., that on which the generated programs will
-eventually be run) with `--host=TYPE'.
-
-Sharing Defaults
-================
-
-   If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists.  Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Defining Variables
-==================
-
-   Variables not defined in a site shell script can be set in the
-environment passed to `configure'.  However, some packages may run
-configure again during the build, and the customized values of these
-variables may be lost.  In order to avoid this problem, you should set
-them in the `configure' command line, using `VAR=value'.  For example:
-
-     ./configure CC=/usr/local2/bin/gcc
-
-causes the specified `gcc' to be used as the C compiler (unless it is
-overridden in the site shell script).
-
-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug.  Until the bug is fixed you can use this workaround:
-
-     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
-
-`configure' Invocation
-======================
-
-   `configure' recognizes the following options to control how it
-operates.
-
-`--help'
-`-h'
-     Print a summary of all of the options to `configure', and exit.
-
-`--help=short'
-`--help=recursive'
-     Print a summary of the options unique to this package's
-     `configure', and exit.  The `short' variant lists options used
-     only in the top level, while the `recursive' variant lists options
-     also present in any nested packages.
-
-`--version'
-`-V'
-     Print the version of Autoconf used to generate the `configure'
-     script, and exit.
-
-`--cache-file=FILE'
-     Enable the cache: use and save the results of the tests in FILE,
-     traditionally `config.cache'.  FILE defaults to `/dev/null' to
-     disable caching.
-
-`--config-cache'
-`-C'
-     Alias for `--cache-file=config.cache'.
-
-`--quiet'
-`--silent'
-`-q'
-     Do not print messages saying which checks are being made.  To
-     suppress all normal output, redirect it to `/dev/null' (any error
-     messages will still be shown).
-
-`--srcdir=DIR'
-     Look for the package's source code in directory DIR.  Usually
-     `configure' can determine that directory automatically.
-
-`--prefix=DIR'
-     Use DIR as the installation prefix.  *Note Installation Names::
-     for more details, including other options available for fine-tuning
-     the installation locations.
-
-`--no-create'
-`-n'
-     Run the configure checks, but stop before creating any output
-     files.
-
-`configure' also accepts some other, not widely useful, options.  Run
-`configure --help' for more details.
-
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644 (file)
index 57c2c23..0000000
+++ /dev/null
@@ -1,888 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(srcdir)/x11-xcb.pc.in \
-       $(srcdir)/x11.pc.in $(top_srcdir)/configure \
-       $(top_srcdir)/include/X11/XlibConf.h.in AUTHORS COPYING \
-       ChangeLog INSTALL NEWS config.guess config.sub depcomp \
-       install-sh ltmain.sh missing
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES = x11.pc x11-xcb.pc
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
-DATA = $(pkgconfig_DATA)
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir dist dist-all distcheck
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = include modules src nls man specs
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
-  { test ! -d "$(distdir)" \
-    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr "$(distdir)"; }; }
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
-  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-@XLIB_LOADABLE_I18N_FALSE@ORDER = modules src
-@XLIB_LOADABLE_I18N_TRUE@ORDER = src modules
-# Order: nls before specs
-SUBDIRS = include $(ORDER) nls man specs
-ACLOCAL_AMFLAGS = -I m4
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = x11.pc x11-xcb.pc
-MAINTAINERCLEANFILES = ChangeLog INSTALL
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@LINT_SUBDIRS = src # modules
-all: all-recursive
-
-.SUFFIXES:
-am--refresh: Makefile
-       @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
-             $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
-               && exit 0; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           echo ' $(SHELL) ./config.status'; \
-           $(SHELL) ./config.status;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       $(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-include/X11/XlibConf.h: include/X11/stamp-h2
-       @if test ! -f $@; then rm -f include/X11/stamp-h2; else :; fi
-       @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) include/X11/stamp-h2; else :; fi
-
-include/X11/stamp-h2: $(top_srcdir)/include/X11/XlibConf.h.in $(top_builddir)/config.status
-       @rm -f include/X11/stamp-h2
-       cd $(top_builddir) && $(SHELL) ./config.status include/X11/XlibConf.h
-$(top_srcdir)/include/X11/XlibConf.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
-       ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
-       rm -f include/X11/stamp-h2
-       touch $@
-
-distclean-hdr:
-       -rm -f include/X11/XlibConf.h include/X11/stamp-h2
-x11.pc: $(top_builddir)/config.status $(srcdir)/x11.pc.in
-       cd $(top_builddir) && $(SHELL) ./config.status $@
-x11-xcb.pc: $(top_builddir)/config.status $(srcdir)/x11-xcb.pc.in
-       cd $(top_builddir) && $(SHELL) ./config.status $@
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-distclean-libtool:
-       -rm -f libtool config.lt
-install-pkgconfigDATA: $(pkgconfig_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
-       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
-       done
-
-uninstall-pkgconfigDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       $(am__remove_distdir)
-       test -d "$(distdir)" || mkdir "$(distdir)"
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-       $(MAKE) $(AM_MAKEFLAGS) \
-         top_distdir="$(top_distdir)" distdir="$(distdir)" \
-         dist-hook
-       -test -n "$(am__skip_mode_fix)" \
-       || find "$(distdir)" -type d ! -perm -755 \
-               -exec chmod u+rwx,go+rx {} \; -o \
-         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
-         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
-         ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
-       || chmod -R a+r "$(distdir)"
-dist-gzip: distdir
-       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-       $(am__remove_distdir)
-dist-bzip2: distdir
-       tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
-       $(am__remove_distdir)
-
-dist-lzma: distdir
-       tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
-       $(am__remove_distdir)
-
-dist-xz: distdir
-       tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
-       $(am__remove_distdir)
-
-dist-tarZ: distdir
-       tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
-       $(am__remove_distdir)
-
-dist-shar: distdir
-       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
-       $(am__remove_distdir)
-
-dist-zip: distdir
-       -rm -f $(distdir).zip
-       zip -rq $(distdir).zip $(distdir)
-       $(am__remove_distdir)
-
-dist dist-all: distdir
-       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-       tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
-       $(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-       case '$(DIST_ARCHIVES)' in \
-       *.tar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
-       *.tar.bz2*) \
-         bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
-       *.tar.lzma*) \
-         lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
-       *.tar.xz*) \
-         xz -dc $(distdir).tar.xz | $(am__untar) ;;\
-       *.tar.Z*) \
-         uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
-       *.shar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
-       *.zip*) \
-         unzip $(distdir).zip ;;\
-       esac
-       chmod -R a-w $(distdir); chmod a+w $(distdir)
-       mkdir $(distdir)/_build
-       mkdir $(distdir)/_inst
-       chmod a-w $(distdir)
-       test -d $(distdir)/_build || exit 0; \
-       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
-         && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
-         && am__cwd=`pwd` \
-         && $(am__cd) $(distdir)/_build \
-         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
-           $(AM_DISTCHECK_CONFIGURE_FLAGS) \
-           $(DISTCHECK_CONFIGURE_FLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
-         && $(MAKE) $(AM_MAKEFLAGS) check \
-         && $(MAKE) $(AM_MAKEFLAGS) install \
-         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-         && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
-               distuninstallcheck \
-         && chmod -R a-w "$$dc_install_base" \
-         && ({ \
-              (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
-              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
-              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
-              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
-                   distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
-             } || { rm -rf "$$dc_destdir"; exit 1; }) \
-         && rm -rf "$$dc_destdir" \
-         && $(MAKE) $(AM_MAKEFLAGS) dist \
-         && rm -rf $(DIST_ARCHIVES) \
-         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
-         && cd "$$am__cwd" \
-         || exit 1
-       $(am__remove_distdir)
-       @(echo "$(distdir) archives ready for distribution: "; \
-         list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-         sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
-       @test -n '$(distuninstallcheck_dir)' || { \
-         echo 'ERROR: trying to run $@ with an empty' \
-              '$$(distuninstallcheck_dir)' >&2; \
-         exit 1; \
-       }; \
-       $(am__cd) '$(distuninstallcheck_dir)' || { \
-         echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
-         exit 1; \
-       }; \
-       test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
-          || { echo "ERROR: files left after uninstall:" ; \
-               if test -n "$(DESTDIR)"; then \
-                 echo "  (check DESTDIR support)"; \
-               fi ; \
-               $(distuninstallcheck_listfiles) ; \
-               exit 1; } >&2
-distcleancheck: distclean
-       @if test '$(srcdir)' = . ; then \
-         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
-         exit 1 ; \
-       fi
-       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
-         || { echo "ERROR: files left in build directory after distclean:" ; \
-              $(distcleancheck_listfiles) ; \
-              exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile $(DATA)
-installdirs: installdirs-recursive
-installdirs-am:
-       for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-       -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-hdr \
-       distclean-libtool distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am: install-pkgconfigDATA
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-       -rm -rf $(top_srcdir)/autom4te.cache
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-pkgconfigDATA
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am am--refresh check check-am clean clean-generic \
-       clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
-       dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
-       dist-zip distcheck distclean distclean-generic distclean-hdr \
-       distclean-libtool distclean-tags distcleancheck distdir \
-       distuninstallcheck dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-pkgconfigDATA install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am uninstall-pkgconfigDATA
-
-
-.PHONY: ChangeLog INSTALL
-
-INSTALL:
-       $(INSTALL_CMD)
-
-ChangeLog:
-       $(CHANGELOG_CMD)
-
-dist-hook: ChangeLog INSTALL
-
-@LINT_TRUE@lint:
-@LINT_TRUE@    @for subdir in $(LINT_SUBDIRS) ; do \
-@LINT_TRUE@            echo "Making $@ in $$subdir"; \
-@LINT_TRUE@            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) lint) ; \
-@LINT_TRUE@    done
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/README b/README
index befb5a6..e551acb 100644 (file)
--- a/README
+++ b/README
@@ -1,9 +1,10 @@
 libX11 - Core X11 protocol client library
 
 Documentation for this library can be found in the included man pages,
-the xlib spec from the doc/xorg-docs module, also available at:
+and in the Xlib spec from the specs subdirectory, also available at:
 
-       http://xorg.freedesktop.org/releases/X11R7.0/doc/PDF/xlib.pdf
+    http://www.x.org/releases/current/doc/libX11/libX11/libX11.html
+    http://www.x.org/releases/current/doc/libX11/libX11/libX11.pdf
 
 and the O'Reilly Xlib books, which they have made freely available online,
 though only for older versions of X11:
diff --git a/aclocal.m4 b/aclocal.m4
deleted file mode 100644 (file)
index 67db6f3..0000000
+++ /dev/null
@@ -1,11772 +0,0 @@
-# generated automatically by aclocal 1.11.2 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-m4_ifndef([AC_AUTOCONF_VERSION],
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
-[m4_warning([this file was generated for autoconf 2.68.
-You have another version of autoconf.  It may work, but is not guaranteed to.
-If you have problems, you may need to regenerate the build system entirely.
-To do so, use the procedure documented by the package, typically `autoreconf'.])])
-
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
-# Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.11'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.11.2], [],
-      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too.  Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.2])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
-
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory.  The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run.  This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-#    fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-#    fails if $ac_aux_dir is absolute,
-#    fails when called from a subdirectory in a VPATH build with
-#          a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir.  In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-#   MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH.  The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL                                            -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
-  $1_TRUE=
-  $1_FALSE='#'
-else
-  $1_TRUE='#'
-  $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
-  AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
-# 2010, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery.  Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
-                   [depcc="$$1"   am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
-               [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named `D' -- because `-MD' means `put the output
-  # in D'.
-  rm -rf conftest.dir
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
-
-  am_cv_$1_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
-  fi
-  am__universal=false
-  m4_case([$1], [CC],
-    [case " $depcc " in #(
-     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-     esac],
-    [CXX],
-    [case " $depcc " in #(
-     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-     esac])
-
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
-      # Solaris 8's {/usr,}/bin/sh.
-      touch sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle `-M -o', and we need to detect this.  Also, some Intel
-    # versions had trouble with output in subdirs
-    am__obj=sub/conftest.${OBJEXT-o}
-    am__minus_obj="-o $am__obj"
-    case $depmode in
-    gcc)
-      # This depmode causes a compiler race in universal mode.
-      test "$am__universal" = false || continue
-      ;;
-    nosideeffect)
-      # after this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested
-      if test "x$enable_dependency_tracking" = xyes; then
-       continue
-      else
-       break
-      fi
-      ;;
-    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
-      # This compiler won't grok `-c -o', but also, the minuso test has
-      # not run yet.  These depmodes are late enough in the game, and
-      # so weak that their functioning should not be impacted.
-      am__obj=conftest.${OBJEXT-o}
-      am__minus_obj=
-      ;;
-    none) break ;;
-    esac
-    if depmode=$depmode \
-       source=sub/conftest.c object=$am__obj \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # or remarks (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored or not supported.
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
-      #   icc: Command line warning: ignoring option '-M'; no argument required
-      # The diagnosis changed in icc 8.0:
-      #   icc: Command line remark: option '-MP' not supported
-      if (grep 'ignoring option' conftest.err ||
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
-        am_cv_$1_dependencies_compiler_type=$depmode
-        break
-      fi
-    fi
-  done
-
-  cd ..
-  rm -rf conftest.dir
-else
-  am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[  --disable-dependency-tracking  speeds up one-time build
-  --enable-dependency-tracking   do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
-  am_depcomp="$ac_aux_dir/depcomp"
-  AMDEPBACKSLASH='\'
-  am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-
-# Generate code to set up dependency tracking.              -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
-  # are listed without --file.  Let's play safe and only enable the eval
-  # if we detect the quoting.
-  case $CONFIG_FILES in
-  *\'*) eval set x "$CONFIG_FILES" ;;
-  *)   set x $CONFIG_FILES ;;
-  esac
-  shift
-  for mf
-  do
-    # Strip MF so we end up with the name of the file.
-    mf=`echo "$mf" | sed -e 's/:.*$//'`
-    # Check whether this is an Automake generated Makefile or not.
-    # We used to match only the files named `Makefile.in', but
-    # some people rename them; so instead we look at the file content.
-    # Grep'ing the first line is not enough: some people post-process
-    # each Makefile.in and add a new line on top of each file to say so.
-    # Grep'ing the whole file is not good either: AIX grep has a line
-    # limit of 2048, but all sed's we know have understand at least 4000.
-    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
-      dirpart=`AS_DIRNAME("$mf")`
-    else
-      continue
-    fi
-    # Extract the definition of DEPDIR, am__include, and am__quote
-    # from the Makefile without running `make'.
-    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
-    test -z "$DEPDIR" && continue
-    am__include=`sed -n 's/^am__include = //p' < "$mf"`
-    test -z "am__include" && continue
-    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
-    # When using ansi2knr, U may be empty or an underscore; expand it
-    U=`sed -n 's/^U = //p' < "$mf"`
-    # Find all dependency output files, they are included files with
-    # $(DEPDIR) in their names.  We invoke sed twice because it is the
-    # simplest approach to changing $(DEPDIR) to its actual value in the
-    # expansion.
-    for file in `sed -n "
-      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
-        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
-      # Make sure the directory exists.
-      test -f "$dirpart/$file" && continue
-      fdir=`AS_DIRNAME(["$file"])`
-      AS_MKDIR_P([$dirpart/$fdir])
-      # echo "creating $dirpart/$file"
-      echo '# dummy' > "$dirpart/$file"
-    done
-  done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled.  FIXME.  This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake.                             -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 16
-
-# This macro actually does too much.  Some checks are only needed if
-# your package does certain things.  But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition.  After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
-  # is not polluted with repeated "-I."
-  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
-  # test to see if srcdir already configured
-  if test -f $srcdir/config.status; then
-    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-  fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
-  if (cygpath --version) >/dev/null 2>/dev/null; then
-    CYGPATH_W='cygpath -w'
-  else
-    CYGPATH_W=echo
-  fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
-  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target.  The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
-             [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
-                            [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
-                 [_AM_DEPENDENCIES(CC)],
-                 [define([AC_PROG_CC],
-                         defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
-                 [_AM_DEPENDENCIES(CXX)],
-                 [define([AC_PROG_CXX],
-                         defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
-                 [_AM_DEPENDENCIES(OBJC)],
-                 [define([AC_PROG_OBJC],
-                         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
-])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
-AC_CONFIG_COMMANDS_PRE(dnl
-[m4_provide_if([_AM_COMPILER_EXEEXT],
-  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-])
-
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
-dnl mangled by Autoconf and run in a shell conditional statement.
-m4_define([_AC_COMPILER_EXEEXT],
-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated.  The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_arg=$1
-_am_stamp_count=1
-for _am_header in $config_headers :; do
-  case $_am_header in
-    $_am_arg | $_am_arg:* )
-      break ;;
-    * )
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
-  esac
-done
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
-# Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
-  *)
-    install_sh="\${SHELL} $am_aux_dir/install-sh"
-  esac
-fi
-AC_SUBST(install_sh)])
-
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot.  For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
-  am__leading_dot=.
-else
-  am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
-# From Jim Meyering
-
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_MAINTAINER_MODE([DEFAULT-MODE])
-# ----------------------------------
-# Control maintainer-specific portions of Makefiles.
-# Default is to disable them, unless `enable' is passed literally.
-# For symmetry, `disable' may be passed as well.  Anyway, the user
-# can override the default with the --enable/--disable switch.
-AC_DEFUN([AM_MAINTAINER_MODE],
-[m4_case(m4_default([$1], [disable]),
-       [enable], [m4_define([am_maintainer_other], [disable])],
-       [disable], [m4_define([am_maintainer_other], [enable])],
-       [m4_define([am_maintainer_other], [enable])
-        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
-  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
-  AC_ARG_ENABLE([maintainer-mode],
-[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
-                         (and sometimes confusing) to the casual installer],
-      [USE_MAINTAINER_MODE=$enableval],
-      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
-  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
-  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
-  MAINT=$MAINTAINER_MODE_TRUE
-  AC_SUBST([MAINT])dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
-# Check to see how 'make' treats includes.                 -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
-       @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
-  am__include=include
-  am__quote=
-  _am_result=GNU
-  ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
-   echo '.include "confinc"' > confmf
-   case `$am_make -s -f confmf 2> /dev/null` in #(
-   *the\ am__doit\ target*)
-     am__include=.include
-     am__quote="\""
-     _am_result=BSD
-     ;;
-   esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 6
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([missing])dnl
-if test x"${MISSING+set}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
-  *)
-    MISSING="\${SHELL} $am_aux_dir/missing" ;;
-  esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
-else
-  am_missing_run=
-  AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
-# Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check for `mkdir -p'.
-AC_DEFUN([AM_PROG_MKDIR_P],
-[AC_PREREQ([2.60])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
-dnl while keeping a definition of mkdir_p for backward compatibility.
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
-dnl adjustment using top_builddir (which is defined more often than
-dnl MKDIR_P).
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
-case $mkdir_p in
-  [[\\/$]]* | ?:[[\\/]]*) ;;
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-])
-
-# Helper functions for option handling.                     -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
-# Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# --------------------
-# Set option NAME.  Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name.  Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
-  *[[\\\"\#\$\&\'\`$am_lf]]*)
-    AC_MSG_ERROR([unsafe absolute working directory name]);;
-esac
-case $srcdir in
-  *[[\\\"\#\$\&\'\`$am_lf\ \   ]]*)
-    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
-esac
-
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments.  Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
-   if test "$[*]" = "X"; then
-      # -L didn't work.
-      set X `ls -t "$srcdir/configure" conftest.file`
-   fi
-   rm -f conftest.file
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
-      # If neither matched, then we have a broken ls.  This can happen
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
-      # broken ls alias from the environment.  This has actually
-      # happened.  Such a system could not be considered "sane".
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
-alias in your environment])
-   fi
-
-   test "$[2]" = conftest.file
-   )
-then
-   # Ok.
-   :
-else
-   AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# Copyright (C) 2009  Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_SILENT_RULES([DEFAULT])
-# --------------------------
-# Enable less verbose build rules; with the default set to DEFAULT
-# (`yes' being less verbose, `no' or empty being verbose).
-AC_DEFUN([AM_SILENT_RULES],
-[AC_ARG_ENABLE([silent-rules],
-[  --enable-silent-rules          less verbose build output (undo: `make V=1')
-  --disable-silent-rules         verbose build output (undo: `make V=0')])
-case $enable_silent_rules in
-yes) AM_DEFAULT_VERBOSITY=0;;
-no)  AM_DEFAULT_VERBOSITY=1;;
-*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
-esac
-AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
-AM_BACKSLASH='\'
-AC_SUBST([AM_BACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
-])
-
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries.  This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'.  However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
-  AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-# Check how to create a tarball.                            -*- Autoconf -*-
-
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-#     tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-#     $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
-m4_if([$1], [v7],
-     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
-     [m4_case([$1], [ustar],, [pax],,
-              [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
-  case $_am_tool in
-  gnutar)
-    for _am_tar in tar gnutar gtar;
-    do
-      AM_RUN_LOG([$_am_tar --version]) && break
-    done
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
-    am__untar="$_am_tar -xf -"
-    ;;
-  plaintar)
-    # Must skip GNU tar: if it does not support --format= it doesn't create
-    # ustar tarball either.
-    (tar --version) >/dev/null 2>&1 && continue
-    am__tar='tar chf - "$$tardir"'
-    am__tar_='tar chf - "$tardir"'
-    am__untar='tar xf -'
-    ;;
-  pax)
-    am__tar='pax -L -x $1 -w "$$tardir"'
-    am__tar_='pax -L -x $1 -w "$tardir"'
-    am__untar='pax -r'
-    ;;
-  cpio)
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
-    am__untar='cpio -i -H $1 -d'
-    ;;
-  none)
-    am__tar=false
-    am__tar_=false
-    am__untar=false
-    ;;
-  esac
-
-  # If the value was cached, stop now.  We just wanted to have am__tar
-  # and am__untar set.
-  test -n "${am_cv_prog_tar_$1}" && break
-
-  # tar/untar a dummy directory, and stop if the command works
-  rm -rf conftest.dir
-  mkdir conftest.dir
-  echo GrepMe > conftest.dir/file
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
-  rm -rf conftest.dir
-  if test -s conftest.tar; then
-    AM_RUN_LOG([$am__untar <conftest.tar])
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
-  fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([m4/ax_define_dir.m4])
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-#
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-#                 Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-m4_define([_LT_COPYING], [dnl
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-#                 Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-#   This file is part of GNU Libtool.
-#
-# GNU Libtool is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# As a special exception to the GNU General Public License,
-# if you distribute this file as part of a program or library that
-# is built using GNU Libtool, you may include this file under the
-# same distribution terms that you use for the rest of that program.
-#
-# GNU Libtool is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Libtool; see the file COPYING.  If not, a copy
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
-# obtained by writing to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-])
-
-# serial 57 LT_INIT
-
-
-# LT_PREREQ(VERSION)
-# ------------------
-# Complain and exit if this libtool version is less that VERSION.
-m4_defun([LT_PREREQ],
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
-       [m4_default([$3],
-                  [m4_fatal([Libtool version $1 or higher is required],
-                            63)])],
-       [$2])])
-
-
-# _LT_CHECK_BUILDDIR
-# ------------------
-# Complain if the absolute build directory name contains unusual characters
-m4_defun([_LT_CHECK_BUILDDIR],
-[case `pwd` in
-  *\ * | *\    *)
-    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
-esac
-])
-
-
-# LT_INIT([OPTIONS])
-# ------------------
-AC_DEFUN([LT_INIT],
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
-AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
-AC_BEFORE([$0], [LT_LANG])dnl
-AC_BEFORE([$0], [LT_OUTPUT])dnl
-AC_BEFORE([$0], [LTDL_INIT])dnl
-m4_require([_LT_CHECK_BUILDDIR])dnl
-
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
-dnl unless we require an AC_DEFUNed macro:
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
-AC_REQUIRE([LTSUGAR_VERSION])dnl
-AC_REQUIRE([LTVERSION_VERSION])dnl
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
-m4_require([_LT_PROG_LTMAIN])dnl
-
-_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
-
-dnl Parse OPTIONS
-_LT_SET_OPTIONS([$0], [$1])
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ltmain"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-AC_SUBST(LIBTOOL)dnl
-
-_LT_SETUP
-
-# Only expand once:
-m4_define([LT_INIT])
-])# LT_INIT
-
-# Old names:
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
-
-
-# _LT_CC_BASENAME(CC)
-# -------------------
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
-m4_defun([_LT_CC_BASENAME],
-[for cc_temp in $1""; do
-  case $cc_temp in
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
-    \-*) ;;
-    *) break;;
-  esac
-done
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
-])
-
-
-# _LT_FILEUTILS_DEFAULTS
-# ----------------------
-# It is okay to use these file commands and assume they have been set
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
-m4_defun([_LT_FILEUTILS_DEFAULTS],
-[: ${CP="cp -f"}
-: ${MV="mv -f"}
-: ${RM="rm -f"}
-])# _LT_FILEUTILS_DEFAULTS
-
-
-# _LT_SETUP
-# ---------
-m4_defun([_LT_SETUP],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
-AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
-
-_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
-dnl
-_LT_DECL([], [host_alias], [0], [The host system])dnl
-_LT_DECL([], [host], [0])dnl
-_LT_DECL([], [host_os], [0])dnl
-dnl
-_LT_DECL([], [build_alias], [0], [The build system])dnl
-_LT_DECL([], [build], [0])dnl
-_LT_DECL([], [build_os], [0])dnl
-dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([LT_PATH_LD])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-dnl
-AC_REQUIRE([AC_PROG_LN_S])dnl
-test -z "$LN_S" && LN_S="ln -s"
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
-dnl
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
-dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
-m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
-m4_require([_LT_CMD_RELOAD])dnl
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
-m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
-m4_require([_LT_WITH_SYSROOT])dnl
-
-_LT_CONFIG_LIBTOOL_INIT([
-# See if we are running on zsh, and set the options which allow our
-# commands through without removal of \ escapes INIT.
-if test -n "\${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-])
-if test -n "${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-
-_LT_CHECK_OBJDIR
-
-m4_require([_LT_TAG_COMPILER])dnl
-
-case $host_os in
-aix3*)
-  # AIX sometimes has problems with the GCC collect2 program.  For some
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
-  # vanish in a puff of smoke.
-  if test "X${COLLECT_NAMES+set}" != Xset; then
-    COLLECT_NAMES=
-    export COLLECT_NAMES
-  fi
-  ;;
-esac
-
-# Global variables:
-ofile=libtool
-can_build_shared=yes
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-
-with_gnu_ld="$lt_cv_prog_gnu_ld"
-
-old_CC="$CC"
-old_CFLAGS="$CFLAGS"
-
-# Set sane defaults for various variables
-test -z "$CC" && CC=cc
-test -z "$LTCC" && LTCC=$CC
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
-test -z "$LD" && LD=ld
-test -z "$ac_objext" && ac_objext=o
-
-_LT_CC_BASENAME([$compiler])
-
-# Only perform the check for file, if the check method requires it
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
-case $deplibs_check_method in
-file_magic*)
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
-    _LT_PATH_MAGIC
-  fi
-  ;;
-esac
-
-# Use C for the default configuration in the libtool script
-LT_SUPPORTED_TAG([CC])
-_LT_LANG_C_CONFIG
-_LT_LANG_DEFAULT_CONFIG
-_LT_CONFIG_COMMANDS
-])# _LT_SETUP
-
-
-# _LT_PREPARE_SED_QUOTE_VARS
-# --------------------------
-# Define a few sed substitution that help us do robust quoting.
-m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
-[# Backslashify metacharacters that are still active within
-# double-quoted strings.
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-])
-
-# _LT_PROG_LTMAIN
-# ---------------
-# Note that this code is called both from `configure', and `config.status'
-# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
-# `config.status' has no value for ac_aux_dir unless we are using Automake,
-# so we pass a copy along to make sure it has a sensible value anyway.
-m4_defun([_LT_PROG_LTMAIN],
-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
-ltmain="$ac_aux_dir/ltmain.sh"
-])# _LT_PROG_LTMAIN
-
-
-
-# So that we can recreate a full libtool script including additional
-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
-# in macros and then make a single call at the end using the `libtool'
-# label.
-
-
-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
-# ----------------------------------------
-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
-m4_define([_LT_CONFIG_LIBTOOL_INIT],
-[m4_ifval([$1],
-          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
-                     [$1
-])])])
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
-
-
-# _LT_CONFIG_LIBTOOL([COMMANDS])
-# ------------------------------
-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
-m4_define([_LT_CONFIG_LIBTOOL],
-[m4_ifval([$1],
-          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
-                     [$1
-])])])
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
-
-
-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
-# -----------------------------------------------------
-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
-[_LT_CONFIG_LIBTOOL([$1])
-_LT_CONFIG_LIBTOOL_INIT([$2])
-])
-
-
-# _LT_FORMAT_COMMENT([COMMENT])
-# -----------------------------
-# Add leading comment marks to the start of each line, and a trailing
-# full-stop to the whole comment if one is not present already.
-m4_define([_LT_FORMAT_COMMENT],
-[m4_ifval([$1], [
-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
-              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
-)])
-
-
-
-
-
-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
-# -------------------------------------------------------------------
-# CONFIGNAME is the name given to the value in the libtool script.
-# VARNAME is the (base) name used in the configure script.
-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
-# VARNAME.  Any other value will be used directly.
-m4_define([_LT_DECL],
-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
-    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
-       [m4_ifval([$1], [$1], [$2])])
-    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
-    m4_ifval([$4],
-       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
-    lt_dict_add_subkey([lt_decl_dict], [$2],
-       [tagged?], [m4_ifval([$5], [yes], [no])])])
-])
-
-
-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
-# --------------------------------------------------------
-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
-
-
-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
-# ------------------------------------------------
-m4_define([lt_decl_tag_varnames],
-[_lt_decl_filter([tagged?], [yes], $@)])
-
-
-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
-# ---------------------------------------------------------
-m4_define([_lt_decl_filter],
-[m4_case([$#],
-  [0], [m4_fatal([$0: too few arguments: $#])],
-  [1], [m4_fatal([$0: too few arguments: $#: $1])],
-  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
-  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
-  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
-])
-
-
-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
-# --------------------------------------------------
-m4_define([lt_decl_quote_varnames],
-[_lt_decl_filter([value], [1], $@)])
-
-
-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
-# ---------------------------------------------------
-m4_define([lt_decl_dquote_varnames],
-[_lt_decl_filter([value], [2], $@)])
-
-
-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
-# ---------------------------------------------------
-m4_define([lt_decl_varnames_tagged],
-[m4_assert([$# <= 2])dnl
-_$0(m4_quote(m4_default([$1], [[, ]])),
-    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
-    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
-m4_define([_lt_decl_varnames_tagged],
-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
-
-
-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
-# ------------------------------------------------
-m4_define([lt_decl_all_varnames],
-[_$0(m4_quote(m4_default([$1], [[, ]])),
-     m4_if([$2], [],
-          m4_quote(lt_decl_varnames),
-       m4_quote(m4_shift($@))))[]dnl
-])
-m4_define([_lt_decl_all_varnames],
-[lt_join($@, lt_decl_varnames_tagged([$1],
-                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
-])
-
-
-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
-# ------------------------------------
-# Quote a variable value, and forward it to `config.status' so that its
-# declaration there will have the same value as in `configure'.  VARNAME
-# must have a single quote delimited value for this to work.
-m4_define([_LT_CONFIG_STATUS_DECLARE],
-[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
-
-
-# _LT_CONFIG_STATUS_DECLARATIONS
-# ------------------------------
-# We delimit libtool config variables with single quotes, so when
-# we write them to config.status, we have to be sure to quote all
-# embedded single quotes properly.  In configure, this macro expands
-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
-#
-#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
-    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
-
-
-# _LT_LIBTOOL_TAGS
-# ----------------
-# Output comment and list of tags supported by the script
-m4_defun([_LT_LIBTOOL_TAGS],
-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
-available_tags="_LT_TAGS"dnl
-])
-
-
-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
-# -----------------------------------
-# Extract the dictionary values for VARNAME (optionally with TAG) and
-# expand to a commented shell variable setting:
-#
-#    # Some comment about what VAR is for.
-#    visible_name=$lt_internal_name
-m4_define([_LT_LIBTOOL_DECLARE],
-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
-                                          [description])))[]dnl
-m4_pushdef([_libtool_name],
-    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
-    [0], [_libtool_name=[$]$1],
-    [1], [_libtool_name=$lt_[]$1],
-    [2], [_libtool_name=$lt_[]$1],
-    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
-])
-
-
-# _LT_LIBTOOL_CONFIG_VARS
-# -----------------------
-# Produce commented declarations of non-tagged libtool config variables
-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
-# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
-# section) are produced by _LT_LIBTOOL_TAG_VARS.
-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
-[m4_foreach([_lt_var],
-    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
-
-
-# _LT_LIBTOOL_TAG_VARS(TAG)
-# -------------------------
-m4_define([_LT_LIBTOOL_TAG_VARS],
-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
-
-
-# _LT_TAGVAR(VARNAME, [TAGNAME])
-# ------------------------------
-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
-
-
-# _LT_CONFIG_COMMANDS
-# -------------------
-# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
-# variables for single and double quote escaping we saved from calls
-# to _LT_DECL, we can put quote escaped variables declarations
-# into `config.status', and then the shell code to quote escape them in
-# for loops in `config.status'.  Finally, any additional code accumulated
-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
-m4_defun([_LT_CONFIG_COMMANDS],
-[AC_PROVIDE_IFELSE([LT_OUTPUT],
-       dnl If the libtool generation code has been placed in $CONFIG_LT,
-       dnl instead of duplicating it all over again into config.status,
-       dnl then we will have config.status run $CONFIG_LT later, so it
-       dnl needs to know what name is stored there:
-        [AC_CONFIG_COMMANDS([libtool],
-            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
-    dnl If the libtool generation code is destined for config.status,
-    dnl expand the accumulated commands and init code now:
-    [AC_CONFIG_COMMANDS([libtool],
-        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
-])#_LT_CONFIG_COMMANDS
-
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
-[
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-sed_quote_subst='$sed_quote_subst'
-double_quote_subst='$double_quote_subst'
-delay_variable_subst='$delay_variable_subst'
-_LT_CONFIG_STATUS_DECLARATIONS
-LTCC='$LTCC'
-LTCFLAGS='$LTCFLAGS'
-compiler='$compiler_DEFAULT'
-
-# A function that is used when there is no print builtin or printf.
-func_fallback_echo ()
-{
-  eval 'cat <<_LTECHO_EOF
-\$[]1
-_LTECHO_EOF'
-}
-
-# Quote evaled strings.
-for var in lt_decl_all_varnames([[ \
-]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
-    *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-# Double-quote double-evaled strings.
-for var in lt_decl_all_varnames([[ \
-]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
-    *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-_LT_OUTPUT_LIBTOOL_INIT
-])
-
-# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
-# ------------------------------------
-# Generate a child script FILE with all initialization necessary to
-# reuse the environment learned by the parent script, and make the
-# file executable.  If COMMENT is supplied, it is inserted after the
-# `#!' sequence but before initialization text begins.  After this
-# macro, additional text can be appended to FILE to form the body of
-# the child script.  The macro ends with non-zero status if the
-# file could not be fully written (such as if the disk is full).
-m4_ifdef([AS_INIT_GENERATED],
-[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
-[m4_defun([_LT_GENERATED_FILE_INIT],
-[m4_require([AS_PREPARE])]dnl
-[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
-[lt_write_fail=0
-cat >$1 <<_ASEOF || lt_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-$2
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$1 <<\_ASEOF || lt_write_fail=1
-AS_SHELL_SANITIZE
-_AS_PREPARE
-exec AS_MESSAGE_FD>&1
-_ASEOF
-test $lt_write_fail = 0 && chmod +x $1[]dnl
-m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
-
-# LT_OUTPUT
-# ---------
-# This macro allows early generation of the libtool script (before
-# AC_OUTPUT is called), incase it is used in configure for compilation
-# tests.
-AC_DEFUN([LT_OUTPUT],
-[: ${CONFIG_LT=./config.lt}
-AC_MSG_NOTICE([creating $CONFIG_LT])
-_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
-[# Run this file to recreate a libtool stub with the current configuration.])
-
-cat >>"$CONFIG_LT" <<\_LTEOF
-lt_cl_silent=false
-exec AS_MESSAGE_LOG_FD>>config.log
-{
-  echo
-  AS_BOX([Running $as_me.])
-} >&AS_MESSAGE_LOG_FD
-
-lt_cl_help="\
-\`$as_me' creates a local libtool stub from the current configuration,
-for use in further configure time tests before the real libtool is
-generated.
-
-Usage: $[0] [[OPTIONS]]
-
-  -h, --help      print this help, then exit
-  -V, --version   print version number, then exit
-  -q, --quiet     do not print progress messages
-  -d, --debug     don't remove temporary files
-
-Report bugs to <bug-libtool@gnu.org>."
-
-lt_cl_version="\
-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
-configured by $[0], generated by m4_PACKAGE_STRING.
-
-Copyright (C) 2011 Free Software Foundation, Inc.
-This config.lt script is free software; the Free Software Foundation
-gives unlimited permision to copy, distribute and modify it."
-
-while test $[#] != 0
-do
-  case $[1] in
-    --version | --v* | -V )
-      echo "$lt_cl_version"; exit 0 ;;
-    --help | --h* | -h )
-      echo "$lt_cl_help"; exit 0 ;;
-    --debug | --d* | -d )
-      debug=: ;;
-    --quiet | --q* | --silent | --s* | -q )
-      lt_cl_silent=: ;;
-
-    -*) AC_MSG_ERROR([unrecognized option: $[1]
-Try \`$[0] --help' for more information.]) ;;
-
-    *) AC_MSG_ERROR([unrecognized argument: $[1]
-Try \`$[0] --help' for more information.]) ;;
-  esac
-  shift
-done
-
-if $lt_cl_silent; then
-  exec AS_MESSAGE_FD>/dev/null
-fi
-_LTEOF
-
-cat >>"$CONFIG_LT" <<_LTEOF
-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
-_LTEOF
-
-cat >>"$CONFIG_LT" <<\_LTEOF
-AC_MSG_NOTICE([creating $ofile])
-_LT_OUTPUT_LIBTOOL_COMMANDS
-AS_EXIT(0)
-_LTEOF
-chmod +x "$CONFIG_LT"
-
-# configure is writing to config.log, but config.lt does its own redirection,
-# appending to config.log, which fails on DOS, as config.log is still kept
-# open by configure.  Here we exec the FD to /dev/null, effectively closing
-# config.log, so it can be properly (re)opened and appended to by config.lt.
-lt_cl_success=:
-test "$silent" = yes &&
-  lt_config_lt_args="$lt_config_lt_args --quiet"
-exec AS_MESSAGE_LOG_FD>/dev/null
-$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
-exec AS_MESSAGE_LOG_FD>>config.log
-$lt_cl_success || AS_EXIT(1)
-])# LT_OUTPUT
-
-
-# _LT_CONFIG(TAG)
-# ---------------
-# If TAG is the built-in tag, create an initial libtool script with a
-# default configuration from the untagged config vars.  Otherwise add code
-# to config.status for appending the configuration named by TAG from the
-# matching tagged config vars.
-m4_defun([_LT_CONFIG],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-_LT_CONFIG_SAVE_COMMANDS([
-  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
-  m4_if(_LT_TAG, [C], [
-    # See if we are running on zsh, and set the options which allow our
-    # commands through without removal of \ escapes.
-    if test -n "${ZSH_VERSION+set}" ; then
-      setopt NO_GLOB_SUBST
-    fi
-
-    cfgfile="${ofile}T"
-    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
-    $RM "$cfgfile"
-
-    cat <<_LT_EOF >> "$cfgfile"
-#! $SHELL
-
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
-#
-_LT_COPYING
-_LT_LIBTOOL_TAGS
-
-# ### BEGIN LIBTOOL CONFIG
-_LT_LIBTOOL_CONFIG_VARS
-_LT_LIBTOOL_TAG_VARS
-# ### END LIBTOOL CONFIG
-
-_LT_EOF
-
-  case $host_os in
-  aix3*)
-    cat <<\_LT_EOF >> "$cfgfile"
-# AIX sometimes has problems with the GCC collect2 program.  For some
-# reason, if we set the COLLECT_NAMES environment variable, the problems
-# vanish in a puff of smoke.
-if test "X${COLLECT_NAMES+set}" != Xset; then
-  COLLECT_NAMES=
-  export COLLECT_NAMES
-fi
-_LT_EOF
-    ;;
-  esac
-
-  _LT_PROG_LTMAIN
-
-  # We use sed instead of cat because bash on DJGPP gets confused if
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
-  # text mode, it properly converts lines to CR/LF.  This bash problem
-  # is reportedly fixed, but why not run on old versions too?
-  sed '$q' "$ltmain" >> "$cfgfile" \
-     || (rm -f "$cfgfile"; exit 1)
-
-  _LT_PROG_REPLACE_SHELLFNS
-
-   mv -f "$cfgfile" "$ofile" ||
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
-  chmod +x "$ofile"
-],
-[cat <<_LT_EOF >> "$ofile"
-
-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
-dnl in a comment (ie after a #).
-# ### BEGIN LIBTOOL TAG CONFIG: $1
-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
-# ### END LIBTOOL TAG CONFIG: $1
-_LT_EOF
-])dnl /m4_if
-],
-[m4_if([$1], [], [
-    PACKAGE='$PACKAGE'
-    VERSION='$VERSION'
-    TIMESTAMP='$TIMESTAMP'
-    RM='$RM'
-    ofile='$ofile'], [])
-])dnl /_LT_CONFIG_SAVE_COMMANDS
-])# _LT_CONFIG
-
-
-# LT_SUPPORTED_TAG(TAG)
-# ---------------------
-# Trace this macro to discover what tags are supported by the libtool
-# --tag option, using:
-#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
-AC_DEFUN([LT_SUPPORTED_TAG], [])
-
-
-# C support is built-in for now
-m4_define([_LT_LANG_C_enabled], [])
-m4_define([_LT_TAGS], [])
-
-
-# LT_LANG(LANG)
-# -------------
-# Enable libtool support for the given language if not already enabled.
-AC_DEFUN([LT_LANG],
-[AC_BEFORE([$0], [LT_OUTPUT])dnl
-m4_case([$1],
-  [C],                 [_LT_LANG(C)],
-  [C++],               [_LT_LANG(CXX)],
-  [Go],                        [_LT_LANG(GO)],
-  [Java],              [_LT_LANG(GCJ)],
-  [Fortran 77],                [_LT_LANG(F77)],
-  [Fortran],           [_LT_LANG(FC)],
-  [Windows Resource],  [_LT_LANG(RC)],
-  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
-    [_LT_LANG($1)],
-    [m4_fatal([$0: unsupported language: "$1"])])])dnl
-])# LT_LANG
-
-
-# _LT_LANG(LANGNAME)
-# ------------------
-m4_defun([_LT_LANG],
-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
-  [LT_SUPPORTED_TAG([$1])dnl
-  m4_append([_LT_TAGS], [$1 ])dnl
-  m4_define([_LT_LANG_]$1[_enabled], [])dnl
-  _LT_LANG_$1_CONFIG($1)])dnl
-])# _LT_LANG
-
-
-m4_ifndef([AC_PROG_GO], [
-# NOTE: This macro has been submitted for inclusion into   #
-#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
-#  a released version of Autoconf we should remove this    #
-#  macro and use it instead.                               #
-m4_defun([AC_PROG_GO],
-[AC_LANG_PUSH(Go)dnl
-AC_ARG_VAR([GOC],     [Go compiler command])dnl
-AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
-_AC_ARG_VAR_LDFLAGS()dnl
-AC_CHECK_TOOL(GOC, gccgo)
-if test -z "$GOC"; then
-  if test -n "$ac_tool_prefix"; then
-    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
-  fi
-fi
-if test -z "$GOC"; then
-  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
-fi
-])#m4_defun
-])#m4_ifndef
-
-
-# _LT_LANG_DEFAULT_CONFIG
-# -----------------------
-m4_defun([_LT_LANG_DEFAULT_CONFIG],
-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
-  [LT_LANG(CXX)],
-  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
-
-AC_PROVIDE_IFELSE([AC_PROG_F77],
-  [LT_LANG(F77)],
-  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
-
-AC_PROVIDE_IFELSE([AC_PROG_FC],
-  [LT_LANG(FC)],
-  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
-
-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
-dnl pulling things in needlessly.
-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
-  [LT_LANG(GCJ)],
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
-    [LT_LANG(GCJ)],
-    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
-      [LT_LANG(GCJ)],
-      [m4_ifdef([AC_PROG_GCJ],
-       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
-       m4_ifdef([A][M_PROG_GCJ],
-       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
-       m4_ifdef([LT_PROG_GCJ],
-       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
-
-AC_PROVIDE_IFELSE([AC_PROG_GO],
-  [LT_LANG(GO)],
-  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
-
-AC_PROVIDE_IFELSE([LT_PROG_RC],
-  [LT_LANG(RC)],
-  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
-])# _LT_LANG_DEFAULT_CONFIG
-
-# Obsolete macros:
-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
-AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
-dnl AC_DEFUN([AC_LIBTOOL_RC], [])
-
-
-# _LT_TAG_COMPILER
-# ----------------
-m4_defun([_LT_TAG_COMPILER],
-[AC_REQUIRE([AC_PROG_CC])dnl
-
-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-])# _LT_TAG_COMPILER
-
-
-# _LT_COMPILER_BOILERPLATE
-# ------------------------
-# Check for compiler boilerplate output or warnings with
-# the simple compiler test code.
-m4_defun([_LT_COMPILER_BOILERPLATE],
-[m4_require([_LT_DECL_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_compiler_boilerplate=`cat conftest.err`
-$RM conftest*
-])# _LT_COMPILER_BOILERPLATE
-
-
-# _LT_LINKER_BOILERPLATE
-# ----------------------
-# Check for linker boilerplate output or warnings with
-# the simple link test code.
-m4_defun([_LT_LINKER_BOILERPLATE],
-[m4_require([_LT_DECL_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_linker_boilerplate=`cat conftest.err`
-$RM -r conftest*
-])# _LT_LINKER_BOILERPLATE
-
-# _LT_REQUIRED_DARWIN_CHECKS
-# -------------------------
-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
-  case $host_os in
-    rhapsody* | darwin*)
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
-    AC_CHECK_TOOL([LIPO], [lipo], [:])
-    AC_CHECK_TOOL([OTOOL], [otool], [:])
-    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
-    _LT_DECL([], [DSYMUTIL], [1],
-      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
-    _LT_DECL([], [NMEDIT], [1],
-      [Tool to change global to local symbols on Mac OS X])
-    _LT_DECL([], [LIPO], [1],
-      [Tool to manipulate fat objects and archives on Mac OS X])
-    _LT_DECL([], [OTOOL], [1],
-      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
-    _LT_DECL([], [OTOOL64], [1],
-      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
-
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
-      [lt_cv_apple_cc_single_mod=no
-      if test -z "${LT_MULTI_MODULE}"; then
-       # By default we will add the -single_module flag. You can override
-       # by either setting the environment variable LT_MULTI_MODULE
-       # non-empty at configure time, or by adding -multi_module to the
-       # link flags.
-       rm -rf libconftest.dylib*
-       echo "int foo(void){return 1;}" > conftest.c
-       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
-       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
-        _lt_result=$?
-       # If there is a non-empty error log, and "single_module"
-       # appears in it, assume the flag caused a linker warning
-        if test -s conftest.err && $GREP single_module conftest.err; then
-         cat conftest.err >&AS_MESSAGE_LOG_FD
-       # Otherwise, if the output was created with a 0 exit code from
-       # the compiler, it worked.
-       elif test -f libconftest.dylib && test $_lt_result -eq 0; then
-         lt_cv_apple_cc_single_mod=yes
-       else
-         cat conftest.err >&AS_MESSAGE_LOG_FD
-       fi
-       rm -rf libconftest.dylib*
-       rm -f conftest.*
-      fi])
-
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
-      [lt_cv_ld_exported_symbols_list],
-      [lt_cv_ld_exported_symbols_list=no
-      save_LDFLAGS=$LDFLAGS
-      echo "_main" > conftest.sym
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-       [lt_cv_ld_exported_symbols_list=yes],
-       [lt_cv_ld_exported_symbols_list=no])
-       LDFLAGS="$save_LDFLAGS"
-    ])
-
-    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
-      [lt_cv_ld_force_load=no
-      cat > conftest.c << _LT_EOF
-int forced_loaded() { return 2;}
-_LT_EOF
-      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
-      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
-      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
-      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
-      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
-      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
-      cat > conftest.c << _LT_EOF
-int main() { return 0;}
-_LT_EOF
-      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
-      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
-      _lt_result=$?
-      if test -s conftest.err && $GREP force_load conftest.err; then
-       cat conftest.err >&AS_MESSAGE_LOG_FD
-      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
-       lt_cv_ld_force_load=yes
-      else
-       cat conftest.err >&AS_MESSAGE_LOG_FD
-      fi
-        rm -f conftest.err libconftest.a conftest conftest.c
-        rm -rf conftest.dSYM
-    ])
-    case $host_os in
-    rhapsody* | darwin1.[[012]])
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
-    darwin1.*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-    darwin*) # darwin 5.x on
-      # if running on 10.5 or later, the deployment target defaults
-      # to the OS version, if on x86, and 10.4, the deployment
-      # target defaults to 10.4. Don't you love it?
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-       10.[[012]]*)
-         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-       10.*)
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-      esac
-    ;;
-  esac
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
-      _lt_dar_single_mod='$single_module'
-    fi
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
-    else
-      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
-    fi
-    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
-      _lt_dsymutil='~$DSYMUTIL $lib || :'
-    else
-      _lt_dsymutil=
-    fi
-    ;;
-  esac
-])
-
-
-# _LT_DARWIN_LINKER_FEATURES([TAG])
-# ---------------------------------
-# Checks for linker and compiler features on darwin
-m4_defun([_LT_DARWIN_LINKER_FEATURES],
-[
-  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-  _LT_TAGVAR(hardcode_direct, $1)=no
-  _LT_TAGVAR(hardcode_automatic, $1)=yes
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  if test "$lt_cv_ld_force_load" = "yes"; then
-    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
-    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
-                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
-  else
-    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
-  fi
-  _LT_TAGVAR(link_all_deplibs, $1)=yes
-  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
-  case $cc_basename in
-     ifort*) _lt_dar_can_shared=yes ;;
-     *) _lt_dar_can_shared=$GCC ;;
-  esac
-  if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=func_echo_all
-    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
-    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
-    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
-    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
-    m4_if([$1], [CXX],
-[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
-      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
-      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
-    fi
-],[])
-  else
-  _LT_TAGVAR(ld_shlibs, $1)=no
-  fi
-])
-
-# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
-# ----------------------------------
-# Links a minimal program and checks the executable
-# for the system default hardcoded library path. In most cases,
-# this is /usr/lib:/lib, but when the MPI compilers are used
-# the location of the communication and MPI libs are included too.
-# If we don't find anything, use the default library path according
-# to the aix ld manual.
-# Store the results from the different compilers for each TAGNAME.
-# Allow to override them for all tags through lt_cv_aix_libpath.
-m4_defun([_LT_SYS_MODULE_PATH_AIX],
-[m4_require([_LT_DECL_SED])dnl
-if test "${lt_cv_aix_libpath+set}" = set; then
-  aix_libpath=$lt_cv_aix_libpath
-else
-  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
-  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
-  lt_aix_libpath_sed='[
-      /Import File Strings/,/^$/ {
-         /^0/ {
-             s/^0  *\([^ ]*\) *$/\1/
-             p
-         }
-      }]'
-  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  # Check for a 64-bit object if we didn't find anything.
-  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
-    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  fi],[])
-  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
-    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
-  fi
-  ])
-  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
-fi
-])# _LT_SYS_MODULE_PATH_AIX
-
-
-# _LT_SHELL_INIT(ARG)
-# -------------------
-m4_define([_LT_SHELL_INIT],
-[m4_divert_text([M4SH-INIT], [$1
-])])# _LT_SHELL_INIT
-
-
-
-# _LT_PROG_ECHO_BACKSLASH
-# -----------------------
-# Find how we can fake an echo command that does not interpret backslash.
-# In particular, with Autoconf 2.60 or later we add some code to the start
-# of the generated configure script which will find a shell with a builtin
-# printf (which we can use as an echo command).
-m4_defun([_LT_PROG_ECHO_BACKSLASH],
-[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
-
-AC_MSG_CHECKING([how to print strings])
-# Test print first, because it will be a builtin if present.
-if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
-   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
-  ECHO='print -r --'
-elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-  ECHO='printf %s\n'
-else
-  # Use this function as a fallback that always works.
-  func_fallback_echo ()
-  {
-    eval 'cat <<_LTECHO_EOF
-$[]1
-_LTECHO_EOF'
-  }
-  ECHO='func_fallback_echo'
-fi
-
-# func_echo_all arg...
-# Invoke $ECHO with all args, space-separated.
-func_echo_all ()
-{
-    $ECHO "$*" 
-}
-
-case "$ECHO" in
-  printf*) AC_MSG_RESULT([printf]) ;;
-  print*) AC_MSG_RESULT([print -r]) ;;
-  *) AC_MSG_RESULT([cat]) ;;
-esac
-
-m4_ifdef([_AS_DETECT_SUGGESTED],
-[_AS_DETECT_SUGGESTED([
-  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
-    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
-    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
-    PATH=/empty FPATH=/empty; export PATH FPATH
-    test "X`printf %s $ECHO`" = "X$ECHO" \
-      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
-
-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
-_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
-])# _LT_PROG_ECHO_BACKSLASH
-
-
-# _LT_WITH_SYSROOT
-# ----------------
-AC_DEFUN([_LT_WITH_SYSROOT],
-[AC_MSG_CHECKING([for sysroot])
-AC_ARG_WITH([sysroot],
-[  --with-sysroot[=DIR] Search for dependent libraries within DIR
-                        (or the compiler's sysroot if not specified).],
-[], [with_sysroot=no])
-
-dnl lt_sysroot will always be passed unquoted.  We quote it here
-dnl in case the user passed a directory name.
-lt_sysroot=
-case ${with_sysroot} in #(
- yes)
-   if test "$GCC" = yes; then
-     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
-   fi
-   ;; #(
- /*)
-   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
-   ;; #(
- no|'')
-   ;; #(
- *)
-   AC_MSG_RESULT([${with_sysroot}])
-   AC_MSG_ERROR([The sysroot must be an absolute path.])
-   ;;
-esac
-
- AC_MSG_RESULT([${lt_sysroot:-no}])
-_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
-[dependent libraries, and in which our libraries should be installed.])])
-
-# _LT_ENABLE_LOCK
-# ---------------
-m4_defun([_LT_ENABLE_LOCK],
-[AC_ARG_ENABLE([libtool-lock],
-  [AS_HELP_STRING([--disable-libtool-lock],
-    [avoid locking (might break parallel builds)])])
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-ia64-*-hpux*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    case `/usr/bin/file conftest.$ac_objext` in
-      *ELF-32*)
-       HPUX_IA64_MODE="32"
-       ;;
-      *ELF-64*)
-       HPUX_IA64_MODE="64"
-       ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-*-*-irix6*)
-  # Find out which ABI we are using.
-  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    if test "$lt_cv_prog_gnu_ld" = yes; then
-      case `/usr/bin/file conftest.$ac_objext` in
-       *32-bit*)
-         LD="${LD-ld} -melf32bsmip"
-         ;;
-       *N32*)
-         LD="${LD-ld} -melf32bmipn32"
-         ;;
-       *64-bit*)
-         LD="${LD-ld} -melf64bmip"
-       ;;
-      esac
-    else
-      case `/usr/bin/file conftest.$ac_objext` in
-       *32-bit*)
-         LD="${LD-ld} -32"
-         ;;
-       *N32*)
-         LD="${LD-ld} -n32"
-         ;;
-       *64-bit*)
-         LD="${LD-ld} -64"
-         ;;
-      esac
-    fi
-  fi
-  rm -rf conftest*
-  ;;
-
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    case `/usr/bin/file conftest.o` in
-      *32-bit*)
-       case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_i386_fbsd"
-           ;;
-         x86_64-*linux*)
-           LD="${LD-ld} -m elf_i386"
-           ;;
-         ppc64-*linux*|powerpc64-*linux*)
-           LD="${LD-ld} -m elf32ppclinux"
-           ;;
-         s390x-*linux*)
-           LD="${LD-ld} -m elf_s390"
-           ;;
-         sparc64-*linux*)
-           LD="${LD-ld} -m elf32_sparc"
-           ;;
-       esac
-       ;;
-      *64-bit*)
-       case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_x86_64_fbsd"
-           ;;
-         x86_64-*linux*)
-           LD="${LD-ld} -m elf_x86_64"
-           ;;
-         ppc*-*linux*|powerpc*-*linux*)
-           LD="${LD-ld} -m elf64ppc"
-           ;;
-         s390*-*linux*|s390*-*tpf*)
-           LD="${LD-ld} -m elf64_s390"
-           ;;
-         sparc*-*linux*)
-           LD="${LD-ld} -m elf64_sparc"
-           ;;
-       esac
-       ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-
-*-*-sco3.2v5*)
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
-  SAVE_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -belf"
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
-    [AC_LANG_PUSH(C)
-     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
-     AC_LANG_POP])
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
-    CFLAGS="$SAVE_CFLAGS"
-  fi
-  ;;
-*-*solaris*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    case `/usr/bin/file conftest.o` in
-    *64-bit*)
-      case $lt_cv_prog_gnu_ld in
-      yes*)
-        case $host in
-        i?86-*-solaris*)
-          LD="${LD-ld} -m elf_x86_64"
-          ;;
-        sparc*-*-solaris*)
-          LD="${LD-ld} -m elf64_sparc"
-          ;;
-        esac
-        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
-        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
-          LD="${LD-ld}_sol2"
-        fi
-        ;;
-      *)
-       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
-         LD="${LD-ld} -64"
-       fi
-       ;;
-      esac
-      ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-esac
-
-need_locks="$enable_libtool_lock"
-])# _LT_ENABLE_LOCK
-
-
-# _LT_PROG_AR
-# -----------
-m4_defun([_LT_PROG_AR],
-[AC_CHECK_TOOLS(AR, [ar], false)
-: ${AR=ar}
-: ${AR_FLAGS=cru}
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
-
-AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
-  [lt_cv_ar_at_file=no
-   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
-     [echo conftest.$ac_objext > conftest.lst
-      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
-      AC_TRY_EVAL([lt_ar_try])
-      if test "$ac_status" -eq 0; then
-       # Ensure the archiver fails upon bogus file names.
-       rm -f conftest.$ac_objext libconftest.a
-       AC_TRY_EVAL([lt_ar_try])
-       if test "$ac_status" -ne 0; then
-          lt_cv_ar_at_file=@
-        fi
-      fi
-      rm -f conftest.* libconftest.a
-     ])
-  ])
-
-if test "x$lt_cv_ar_at_file" = xno; then
-  archiver_list_spec=
-else
-  archiver_list_spec=$lt_cv_ar_at_file
-fi
-_LT_DECL([], [archiver_list_spec], [1],
-  [How to feed a file listing to the archiver])
-])# _LT_PROG_AR
-
-
-# _LT_CMD_OLD_ARCHIVE
-# -------------------
-m4_defun([_LT_CMD_OLD_ARCHIVE],
-[_LT_PROG_AR
-
-AC_CHECK_TOOL(STRIP, strip, :)
-test -z "$STRIP" && STRIP=:
-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
-
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-test -z "$RANLIB" && RANLIB=:
-_LT_DECL([], [RANLIB], [1],
-    [Commands used to install an old-style archive])
-
-# Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
-old_postinstall_cmds='chmod 644 $oldlib'
-old_postuninstall_cmds=
-
-if test -n "$RANLIB"; then
-  case $host_os in
-  openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
-    ;;
-  *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
-    ;;
-  esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
-fi
-
-case $host_os in
-  darwin*)
-    lock_old_archive_extraction=yes ;;
-  *)
-    lock_old_archive_extraction=no ;;
-esac
-_LT_DECL([], [old_postinstall_cmds], [2])
-_LT_DECL([], [old_postuninstall_cmds], [2])
-_LT_TAGDECL([], [old_archive_cmds], [2],
-    [Commands used to build an old-style archive])
-_LT_DECL([], [lock_old_archive_extraction], [0],
-    [Whether to use a lock for old archive extraction])
-])# _LT_CMD_OLD_ARCHIVE
-
-
-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
-# ----------------------------------------------------------------
-# Check whether the given compiler option works
-AC_DEFUN([_LT_COMPILER_OPTION],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_SED])dnl
-AC_CACHE_CHECK([$1], [$2],
-  [$2=no
-   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-   lt_compiler_flag="$3"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   # The option is referenced via a variable to avoid confusing sed.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
-   (eval "$lt_compile" 2>conftest.err)
-   ac_status=$?
-   cat conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
-   if (exit $ac_status) && test -s "$ac_outfile"; then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings other than the usual output.
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
-       $2=yes
-     fi
-   fi
-   $RM conftest*
-])
-
-if test x"[$]$2" = xyes; then
-    m4_if([$5], , :, [$5])
-else
-    m4_if([$6], , :, [$6])
-fi
-])# _LT_COMPILER_OPTION
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
-
-
-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-#                  [ACTION-SUCCESS], [ACTION-FAILURE])
-# ----------------------------------------------------
-# Check whether the given linker option works
-AC_DEFUN([_LT_LINKER_OPTION],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_SED])dnl
-AC_CACHE_CHECK([$1], [$2],
-  [$2=no
-   save_LDFLAGS="$LDFLAGS"
-   LDFLAGS="$LDFLAGS $3"
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
-     # The linker can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     if test -s conftest.err; then
-       # Append any errors to the config.log.
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
-       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-       if diff conftest.exp conftest.er2 >/dev/null; then
-         $2=yes
-       fi
-     else
-       $2=yes
-     fi
-   fi
-   $RM -r conftest*
-   LDFLAGS="$save_LDFLAGS"
-])
-
-if test x"[$]$2" = xyes; then
-    m4_if([$4], , :, [$4])
-else
-    m4_if([$5], , :, [$5])
-fi
-])# _LT_LINKER_OPTION
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
-
-
-# LT_CMD_MAX_LEN
-#---------------
-AC_DEFUN([LT_CMD_MAX_LEN],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-# find the maximum length of command line arguments
-AC_MSG_CHECKING([the maximum length of command line arguments])
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
-  i=0
-  teststring="ABCD"
-
-  case $build_os in
-  msdosdjgpp*)
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
-    # during glob expansion).  Even if it were fixed, the result of this
-    # check would be larger than it should be.
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
-    ;;
-
-  gnu*)
-    # Under GNU Hurd, this test is not required because there is
-    # no limit to the length of command line arguments.
-    # Libtool will interpret -1 as no limit whatsoever
-    lt_cv_sys_max_cmd_len=-1;
-    ;;
-
-  cygwin* | mingw* | cegcc*)
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
-    # about 5 minutes as the teststring grows exponentially.
-    # Worse, since 9x/ME are not pre-emptively multitasking,
-    # you end up with a "frozen" computer, even though with patience
-    # the test eventually succeeds (with a max line length of 256k).
-    # Instead, let's just punt: use the minimum linelength reported by
-    # all of the supported platforms: 8192 (on NT/2K/XP).
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  mint*)
-    # On MiNT this can take a long time and run out of memory.
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  amigaos*)
-    # On AmigaOS with pdksh, this test takes hours, literally.
-    # So we just punt and use a minimum line length of 8192.
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
-    # This has been around since 386BSD, at least.  Likely further.
-    if test -x /sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-    elif test -x /usr/sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
-    else
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
-    fi
-    # And add a safety zone
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    ;;
-
-  interix*)
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
-    lt_cv_sys_max_cmd_len=196608
-    ;;
-
-  os2*)
-    # The test takes a long time on OS/2.
-    lt_cv_sys_max_cmd_len=8192
-    ;;
-
-  osf*)
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
-    # nice to cause kernel panics so lets avoid the loop below.
-    # First set a reasonable default.
-    lt_cv_sys_max_cmd_len=16384
-    #
-    if test -x /sbin/sysconfig; then
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
-      esac
-    fi
-    ;;
-  sco3.2v5*)
-    lt_cv_sys_max_cmd_len=102400
-    ;;
-  sysv5* | sco5v6* | sysv4.2uw2*)
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
-    if test -n "$kargmax"; then
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
-    else
-      lt_cv_sys_max_cmd_len=32768
-    fi
-    ;;
-  *)
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    else
-      # Make teststring a little bigger before we do anything with it.
-      # a 1K string should be a reasonable start.
-      for i in 1 2 3 4 5 6 7 8 ; do
-        teststring=$teststring$teststring
-      done
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
-      # If test is not a shell built-in, we'll probably end up computing a
-      # maximum length that is only half of the actual maximum length, but
-      # we can't tell.
-      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
-                = "X$teststring$teststring"; } >/dev/null 2>&1 &&
-             test $i != 17 # 1/2 MB should be enough
-      do
-        i=`expr $i + 1`
-        teststring=$teststring$teststring
-      done
-      # Only check the string length outside the loop.
-      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
-      teststring=
-      # Add a significant safety factor because C++ compilers can tack on
-      # massive amounts of additional arguments before passing them to the
-      # linker.  It appears as though 1/2 is a usable value.
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
-    fi
-    ;;
-  esac
-])
-if test -n $lt_cv_sys_max_cmd_len ; then
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
-else
-  AC_MSG_RESULT(none)
-fi
-max_cmd_len=$lt_cv_sys_max_cmd_len
-_LT_DECL([], [max_cmd_len], [0],
-    [What is the maximum length of a command?])
-])# LT_CMD_MAX_LEN
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
-
-
-# _LT_HEADER_DLFCN
-# ----------------
-m4_defun([_LT_HEADER_DLFCN],
-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
-])# _LT_HEADER_DLFCN
-
-
-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
-#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
-# ----------------------------------------------------------------
-m4_defun([_LT_TRY_DLOPEN_SELF],
-[m4_require([_LT_HEADER_DLFCN])dnl
-if test "$cross_compiling" = yes; then :
-  [$4]
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
-[#line $LINENO "configure"
-#include "confdefs.h"
-
-#if HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
-
-#include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL          RTLD_GLOBAL
-#else
-#  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL                DL_GLOBAL
-#  else
-#    define LT_DLGLOBAL                0
-#  endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
-#  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW     DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW     0
-#        endif
-#      endif
-#    endif
-#  endif
-#endif
-
-/* When -fvisbility=hidden is used, assume the code has been annotated
-   correspondingly for the symbols needed.  */
-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
-int fnord () __attribute__((visibility("default")));
-#endif
-
-int fnord () { return 42; }
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else
-        {
-         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
-          else puts (dlerror ());
-       }
-      /* dlclose (self); */
-    }
-  else
-    puts (dlerror ());
-
-  return status;
-}]
-_LT_EOF
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) $1 ;;
-      x$lt_dlneed_uscore) $2 ;;
-      x$lt_dlunknown|x*) $3 ;;
-    esac
-  else :
-    # compilation failed
-    $3
-  fi
-fi
-rm -fr conftest*
-])# _LT_TRY_DLOPEN_SELF
-
-
-# LT_SYS_DLOPEN_SELF
-# ------------------
-AC_DEFUN([LT_SYS_DLOPEN_SELF],
-[m4_require([_LT_HEADER_DLFCN])dnl
-if test "x$enable_dlopen" != xyes; then
-  enable_dlopen=unknown
-  enable_dlopen_self=unknown
-  enable_dlopen_self_static=unknown
-else
-  lt_cv_dlopen=no
-  lt_cv_dlopen_libs=
-
-  case $host_os in
-  beos*)
-    lt_cv_dlopen="load_add_on"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-    ;;
-
-  mingw* | pw32* | cegcc*)
-    lt_cv_dlopen="LoadLibrary"
-    lt_cv_dlopen_libs=
-    ;;
-
-  cygwin*)
-    lt_cv_dlopen="dlopen"
-    lt_cv_dlopen_libs=
-    ;;
-
-  darwin*)
-  # if libdl is installed we need to link against it
-    AC_CHECK_LIB([dl], [dlopen],
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
-    lt_cv_dlopen="dyld"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-    ])
-    ;;
-
-  *)
-    AC_CHECK_FUNC([shl_load],
-         [lt_cv_dlopen="shl_load"],
-      [AC_CHECK_LIB([dld], [shl_load],
-           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
-       [AC_CHECK_FUNC([dlopen],
-             [lt_cv_dlopen="dlopen"],
-         [AC_CHECK_LIB([dl], [dlopen],
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
-           [AC_CHECK_LIB([svld], [dlopen],
-                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
-             [AC_CHECK_LIB([dld], [dld_link],
-                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
-             ])
-           ])
-         ])
-       ])
-      ])
-    ;;
-  esac
-
-  if test "x$lt_cv_dlopen" != xno; then
-    enable_dlopen=yes
-  else
-    enable_dlopen=no
-  fi
-
-  case $lt_cv_dlopen in
-  dlopen)
-    save_CPPFLAGS="$CPPFLAGS"
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
-
-    save_LDFLAGS="$LDFLAGS"
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
-
-    save_LIBS="$LIBS"
-    LIBS="$lt_cv_dlopen_libs $LIBS"
-
-    AC_CACHE_CHECK([whether a program can dlopen itself],
-         lt_cv_dlopen_self, [dnl
-         _LT_TRY_DLOPEN_SELF(
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
-    ])
-
-    if test "x$lt_cv_dlopen_self" = xyes; then
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
-         lt_cv_dlopen_self_static, [dnl
-         _LT_TRY_DLOPEN_SELF(
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
-      ])
-    fi
-
-    CPPFLAGS="$save_CPPFLAGS"
-    LDFLAGS="$save_LDFLAGS"
-    LIBS="$save_LIBS"
-    ;;
-  esac
-
-  case $lt_cv_dlopen_self in
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
-  *) enable_dlopen_self=unknown ;;
-  esac
-
-  case $lt_cv_dlopen_self_static in
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
-  *) enable_dlopen_self_static=unknown ;;
-  esac
-fi
-_LT_DECL([dlopen_support], [enable_dlopen], [0],
-        [Whether dlopen is supported])
-_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
-        [Whether dlopen of programs is supported])
-_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
-        [Whether dlopen of statically linked programs is supported])
-])# LT_SYS_DLOPEN_SELF
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
-
-
-# _LT_COMPILER_C_O([TAGNAME])
-# ---------------------------
-# Check to see if options -c and -o are simultaneously supported by compiler.
-# This macro does not hard code the compiler like AC_PROG_CC_C_O.
-m4_defun([_LT_COMPILER_C_O],
-[m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
-   $RM -r conftest 2>/dev/null
-   mkdir conftest
-   cd conftest
-   mkdir out
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
-   (eval "$lt_compile" 2>out/conftest.err)
-   ac_status=$?
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
-   then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
-       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
-     fi
-   fi
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
-   $RM conftest*
-   # SGI C++ compiler will create directory out/ii_files/ for
-   # template instantiation
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
-   $RM out/* && rmdir out
-   cd ..
-   $RM -r conftest
-   $RM conftest*
-])
-_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
-       [Does compiler simultaneously support -c and -o options?])
-])# _LT_COMPILER_C_O
-
-
-# _LT_COMPILER_FILE_LOCKS([TAGNAME])
-# ----------------------------------
-# Check to see if we can do hard links to lock some files if needed
-m4_defun([_LT_COMPILER_FILE_LOCKS],
-[m4_require([_LT_ENABLE_LOCK])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-_LT_COMPILER_C_O([$1])
-
-hard_links="nottested"
-if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
-  # do not overwrite the value of need_locks provided by the user
-  AC_MSG_CHECKING([if we can lock with hard links])
-  hard_links=yes
-  $RM conftest*
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  touch conftest.a
-  ln conftest.a conftest.b 2>&5 || hard_links=no
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  AC_MSG_RESULT([$hard_links])
-  if test "$hard_links" = no; then
-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
-    need_locks=warn
-  fi
-else
-  need_locks=no
-fi
-_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
-])# _LT_COMPILER_FILE_LOCKS
-
-
-# _LT_CHECK_OBJDIR
-# ----------------
-m4_defun([_LT_CHECK_OBJDIR],
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
-[rm -f .libs 2>/dev/null
-mkdir .libs 2>/dev/null
-if test -d .libs; then
-  lt_cv_objdir=.libs
-else
-  # MS-DOS does not allow filenames that begin with a dot.
-  lt_cv_objdir=_libs
-fi
-rmdir .libs 2>/dev/null])
-objdir=$lt_cv_objdir
-_LT_DECL([], [objdir], [0],
-         [The name of the directory that contains temporary libtool files])dnl
-m4_pattern_allow([LT_OBJDIR])dnl
-AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
-  [Define to the sub-directory in which libtool stores uninstalled libraries.])
-])# _LT_CHECK_OBJDIR
-
-
-# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
-# --------------------------------------
-# Check hardcoding attributes.
-m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
-_LT_TAGVAR(hardcode_action, $1)=
-if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
-   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
-   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
-
-  # We can hardcode non-existent directories.
-  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
-     # have to relink, otherwise we might link with an installed library
-     # when we should be linking with a yet-to-be-installed one
-     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
-     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
-    # Linking always hardcodes the temporary library directory.
-    _LT_TAGVAR(hardcode_action, $1)=relink
-  else
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
-    _LT_TAGVAR(hardcode_action, $1)=immediate
-  fi
-else
-  # We cannot hardcode anything, or else we can only hardcode existing
-  # directories.
-  _LT_TAGVAR(hardcode_action, $1)=unsupported
-fi
-AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
-
-if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
-   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
-  # Fast installation is not supported
-  enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
-     test "$enable_shared" = no; then
-  # Fast installation is not necessary
-  enable_fast_install=needless
-fi
-_LT_TAGDECL([], [hardcode_action], [0],
-    [How to hardcode a shared library path into an executable])
-])# _LT_LINKER_HARDCODE_LIBPATH
-
-
-# _LT_CMD_STRIPLIB
-# ----------------
-m4_defun([_LT_CMD_STRIPLIB],
-[m4_require([_LT_DECL_EGREP])
-striplib=
-old_striplib=
-AC_MSG_CHECKING([whether stripping libraries is possible])
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
-  AC_MSG_RESULT([yes])
-else
-# FIXME - insert some real tests, host_os isn't really good enough
-  case $host_os in
-  darwin*)
-    if test -n "$STRIP" ; then
-      striplib="$STRIP -x"
-      old_striplib="$STRIP -S"
-      AC_MSG_RESULT([yes])
-    else
-      AC_MSG_RESULT([no])
-    fi
-    ;;
-  *)
-    AC_MSG_RESULT([no])
-    ;;
-  esac
-fi
-_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
-_LT_DECL([], [striplib], [1])
-])# _LT_CMD_STRIPLIB
-
-
-# _LT_SYS_DYNAMIC_LINKER([TAG])
-# -----------------------------
-# PORTME Fill in your ld.so characteristics
-m4_defun([_LT_SYS_DYNAMIC_LINKER],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_OBJDUMP])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
-AC_MSG_CHECKING([dynamic linker characteristics])
-m4_if([$1],
-       [], [
-if test "$GCC" = yes; then
-  case $host_os in
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
-    *) lt_awk_arg="/^libraries:/" ;;
-  esac
-  case $host_os in
-    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
-    *) lt_sed_strip_eq="s,=/,/,g" ;;
-  esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
-  case $lt_search_path_spec in
-  *\;*)
-    # if the path contains ";" then we assume it to be the separator
-    # otherwise default to the standard path separator (i.e. ":") - it is
-    # assumed that no part of a normal pathname contains ";" but that should
-    # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
-    ;;
-  *)
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
-    ;;
-  esac
-  # Ok, now we have the path, separated by spaces, we can step through it
-  # and add multilib dir if necessary.
-  lt_tmp_lt_search_path_spec=
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
-  for lt_sys_path in $lt_search_path_spec; do
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
-    else
-      test -d "$lt_sys_path" && \
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
-    fi
-  done
-  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
-BEGIN {RS=" "; FS="/|\n";} {
-  lt_foo="";
-  lt_count=0;
-  for (lt_i = NF; lt_i > 0; lt_i--) {
-    if ($lt_i != "" && $lt_i != ".") {
-      if ($lt_i == "..") {
-        lt_count++;
-      } else {
-        if (lt_count == 0) {
-          lt_foo="/" $lt_i lt_foo;
-        } else {
-          lt_count--;
-        }
-      }
-    }
-  }
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
-}'`
-  # AWK program above erroneously prepends '/' to C:/dos/paths
-  # for these hosts.
-  case $host_os in
-    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
-      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
-  esac
-  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
-else
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi])
-library_names_spec=
-libname_spec='lib$name'
-soname_spec=
-shrext_cmds=".so"
-postinstall_cmds=
-postuninstall_cmds=
-finish_cmds=
-finish_eval=
-shlibpath_var=
-shlibpath_overrides_runpath=unknown
-version_type=none
-dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-need_lib_prefix=unknown
-hardcode_into_libs=no
-
-# when you set need_version to no, make sure it does not cause -set_version
-# flags to be left without arguments
-need_version=unknown
-
-case $host_os in
-aix3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
-  shlibpath_var=LIBPATH
-
-  # AIX 3 has no versioning support, so we append a major version to the name.
-  soname_spec='${libname}${release}${shared_ext}$major'
-  ;;
-
-aix[[4-9]]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  hardcode_into_libs=yes
-  if test "$host_cpu" = ia64; then
-    # AIX 5 supports IA64
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
-    shlibpath_var=LD_LIBRARY_PATH
-  else
-    # With GCC up to 2.95.x, collect2 would create an import file
-    # for dependence libraries.  The import file would start with
-    # the line `#! .'.  This would cause the generated library to
-    # depend on `.', always an invalid library.  This was fixed in
-    # development snapshots of GCC prior to 3.0.
-    case $host_os in
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
-          echo ' yes '
-          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
-       :
-      else
-       can_build_shared=no
-      fi
-      ;;
-    esac
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
-    # soname into executable. Probably we can add versioning support to
-    # collect2, so additional links can be useful in future.
-    if test "$aix_use_runtimelinking" = yes; then
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
-      # instead of lib<name>.a to let people know that these are not
-      # typical AIX shared libraries.
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    else
-      # We preserve .a as extension for shared libraries through AIX4.2
-      # and later when we are not doing run time linking.
-      library_names_spec='${libname}${release}.a $libname.a'
-      soname_spec='${libname}${release}${shared_ext}$major'
-    fi
-    shlibpath_var=LIBPATH
-  fi
-  ;;
-
-amigaos*)
-  case $host_cpu in
-  powerpc)
-    # Since July 2007 AmigaOS4 officially supports .so libraries.
-    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    ;;
-  m68k)
-    library_names_spec='$libname.ixlibrary $libname.a'
-    # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
-    ;;
-  esac
-  ;;
-
-beos*)
-  library_names_spec='${libname}${shared_ext}'
-  dynamic_linker="$host_os ld.so"
-  shlibpath_var=LIBRARY_PATH
-  ;;
-
-bsdi[[45]]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
-  # the default ld.so.conf also contains /usr/contrib/lib and
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
-  # libtool to hard-code these into programs
-  ;;
-
-cygwin* | mingw* | pw32* | cegcc*)
-  version_type=windows
-  shrext_cmds=".dll"
-  need_version=no
-  need_lib_prefix=no
-
-  case $GCC,$cc_basename in
-  yes,*)
-    # gcc
-    library_names_spec='$libname.dll.a'
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
-    postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
-      dldir=$destdir/`dirname \$dlpath`~
-      test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname~
-      chmod a+x \$dldir/$dlname~
-      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
-        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
-      fi'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
-      dlpath=$dir/\$dldll~
-       $RM \$dlpath'
-    shlibpath_overrides_runpath=yes
-
-    case $host_os in
-    cygwin*)
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-m4_if([$1], [],[
-      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
-      ;;
-    mingw* | cegcc*)
-      # MinGW DLLs use traditional 'lib' prefix
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      ;;
-    pw32*)
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      ;;
-    esac
-    dynamic_linker='Win32 ld.exe'
-    ;;
-
-  *,cl*)
-    # Native MSVC
-    libname_spec='$name'
-    soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-    library_names_spec='${libname}.dll.lib'
-
-    case $build_os in
-    mingw*)
-      sys_lib_search_path_spec=
-      lt_save_ifs=$IFS
-      IFS=';'
-      for lt_path in $LIB
-      do
-        IFS=$lt_save_ifs
-        # Let DOS variable expansion print the short 8.3 style file name.
-        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
-        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
-      done
-      IFS=$lt_save_ifs
-      # Convert to MSYS style.
-      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
-      ;;
-    cygwin*)
-      # Convert to unix form, then to dos form, then back to unix form
-      # but this time dos style (no spaces!) so that the unix form looks
-      # like /cygdrive/c/PROGRA~1:/cygdr...
-      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
-      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
-      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
-      ;;
-    *)
-      sys_lib_search_path_spec="$LIB"
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-        # It is most probably a Windows format PATH.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
-      fi
-      # FIXME: find the short name or the path components, as spaces are
-      # common. (e.g. "Program Files" -> "PROGRA~1")
-      ;;
-    esac
-
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
-    postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
-      dldir=$destdir/`dirname \$dlpath`~
-      test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
-      dlpath=$dir/\$dldll~
-       $RM \$dlpath'
-    shlibpath_overrides_runpath=yes
-    dynamic_linker='Win32 link.exe'
-    ;;
-
-  *)
-    # Assume MSVC wrapper
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
-    dynamic_linker='Win32 ld.exe'
-    ;;
-  esac
-  # FIXME: first we should search . and the directory the executable is in
-  shlibpath_var=PATH
-  ;;
-
-darwin* | rhapsody*)
-  dynamic_linker="$host_os dyld"
-  version_type=darwin
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
-  soname_spec='${libname}${release}${major}$shared_ext'
-  shlibpath_overrides_runpath=yes
-  shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
-m4_if([$1], [],[
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
-  ;;
-
-dgux*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  ;;
-
-freebsd* | dragonfly*)
-  # DragonFly does not have aout.  When/if they implement a new
-  # versioning mechanism, adjust this.
-  if test -x /usr/bin/objformat; then
-    objformat=`/usr/bin/objformat`
-  else
-    case $host_os in
-    freebsd[[23]].*) objformat=aout ;;
-    *) objformat=elf ;;
-    esac
-  fi
-  version_type=freebsd-$objformat
-  case $version_type in
-    freebsd-elf*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-      need_version=no
-      need_lib_prefix=no
-      ;;
-    freebsd-*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
-      need_version=yes
-      ;;
-  esac
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_os in
-  freebsd2.*)
-    shlibpath_overrides_runpath=yes
-    ;;
-  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
-  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
-    shlibpath_overrides_runpath=no
-    hardcode_into_libs=yes
-    ;;
-  *) # from 4.6 on, and DragonFly
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  esac
-  ;;
-
-gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-haiku*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  dynamic_linker="$host_os runtime_loader"
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
-  hardcode_into_libs=yes
-  ;;
-
-hpux9* | hpux10* | hpux11*)
-  # Give a soname corresponding to the major version so that dld.sl refuses to
-  # link against other versions.
-  version_type=sunos
-  need_lib_prefix=no
-  need_version=no
-  case $host_cpu in
-  ia64*)
-    shrext_cmds='.so'
-    hardcode_into_libs=yes
-    dynamic_linker="$host_os dld.so"
-    shlibpath_var=LD_LIBRARY_PATH
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    if test "X$HPUX_IA64_MODE" = X32; then
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
-    else
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
-    fi
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
-    ;;
-  hppa*64*)
-    shrext_cmds='.sl'
-    hardcode_into_libs=yes
-    dynamic_linker="$host_os dld.sl"
-    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
-    ;;
-  *)
-    shrext_cmds='.sl'
-    dynamic_linker="$host_os dld.sl"
-    shlibpath_var=SHLIB_PATH
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    ;;
-  esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
-  postinstall_cmds='chmod 555 $lib'
-  # or fails outright, so override atomically:
-  install_override_mode=555
-  ;;
-
-interix[[3-9]]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-irix5* | irix6* | nonstopux*)
-  case $host_os in
-    nonstopux*) version_type=nonstopux ;;
-    *)
-       if test "$lt_cv_prog_gnu_ld" = yes; then
-               version_type=linux # correct to gnu/linux during the next big refactor
-       else
-               version_type=irix
-       fi ;;
-  esac
-  need_lib_prefix=no
-  need_version=no
-  soname_spec='${libname}${release}${shared_ext}$major'
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
-  case $host_os in
-  irix5* | nonstopux*)
-    libsuff= shlibsuff=
-    ;;
-  *)
-    case $LD in # libtool.m4 will add one of these switches to LD
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
-      libsuff= shlibsuff= libmagic=32-bit;;
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
-    *) libsuff= shlibsuff= libmagic=never-match;;
-    esac
-    ;;
-  esac
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
-  shlibpath_overrides_runpath=no
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
-  hardcode_into_libs=yes
-  ;;
-
-# No shared lib support for Linux oldld, aout, or coff.
-linux*oldld* | linux*aout* | linux*coff*)
-  dynamic_linker=no
-  ;;
-
-# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-
-  # Some binutils ld are patched to set DT_RUNPATH
-  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
-    [lt_cv_shlibpath_overrides_runpath=no
-    save_LDFLAGS=$LDFLAGS
-    save_libdir=$libdir
-    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
-        LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
-    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
-        [lt_cv_shlibpath_overrides_runpath=yes])])
-    LDFLAGS=$save_LDFLAGS
-    libdir=$save_libdir
-    ])
-  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
-
-  # This implies no fast_install, which is unacceptable.
-  # Some rework will be needed to allow for fast_install
-  # before this can be enabled.
-  hardcode_into_libs=yes
-
-  # Append ld.so.conf contents to the search path
-  if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
-  fi
-
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
-  # powerpc, because MkLinux only supported shared libraries with the
-  # GNU dynamic linker.  Since this was broken with cross compilers,
-  # most powerpc-linux boxes support dynamic linking these days and
-  # people can always --disable-shared, the test was removed, and we
-  # assume the GNU/Linux dynamic linker is in use.
-  dynamic_linker='GNU/Linux ld.so'
-  ;;
-
-netbsd*)
-  version_type=sunos
-  need_lib_prefix=no
-  need_version=no
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-    dynamic_linker='NetBSD (a.out) ld.so'
-  else
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    dynamic_linker='NetBSD ld.elf_so'
-  fi
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  ;;
-
-newsos6)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  ;;
-
-*nto* | *qnx*)
-  version_type=qnx
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='ldqnx.so'
-  ;;
-
-openbsd*)
-  version_type=sunos
-  sys_lib_dlsearch_path_spec="/usr/lib"
-  need_lib_prefix=no
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
-  case $host_os in
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
-    *)                         need_version=no  ;;
-  esac
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    case $host_os in
-      openbsd2.[[89]] | openbsd2.[[89]].*)
-       shlibpath_overrides_runpath=no
-       ;;
-      *)
-       shlibpath_overrides_runpath=yes
-       ;;
-      esac
-  else
-    shlibpath_overrides_runpath=yes
-  fi
-  ;;
-
-os2*)
-  libname_spec='$name'
-  shrext_cmds=".dll"
-  need_lib_prefix=no
-  library_names_spec='$libname${shared_ext} $libname.a'
-  dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
-  ;;
-
-osf3* | osf4* | osf5*)
-  version_type=osf
-  need_lib_prefix=no
-  need_version=no
-  soname_spec='${libname}${release}${shared_ext}$major'
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
-  ;;
-
-rdos*)
-  dynamic_linker=no
-  ;;
-
-solaris*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  # ldd complains unless libraries are executable
-  postinstall_cmds='chmod +x $lib'
-  ;;
-
-sunos4*)
-  version_type=sunos
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  if test "$with_gnu_ld" = yes; then
-    need_lib_prefix=no
-  fi
-  need_version=yes
-  ;;
-
-sysv4 | sysv4.3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_vendor in
-    sni)
-      shlibpath_overrides_runpath=no
-      need_lib_prefix=no
-      runpath_var=LD_RUN_PATH
-      ;;
-    siemens)
-      need_lib_prefix=no
-      ;;
-    motorola)
-      need_lib_prefix=no
-      need_version=no
-      shlibpath_overrides_runpath=no
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
-      ;;
-  esac
-  ;;
-
-sysv4*MP*)
-  if test -d /usr/nec ;then
-    version_type=linux # correct to gnu/linux during the next big refactor
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
-    soname_spec='$libname${shared_ext}.$major'
-    shlibpath_var=LD_LIBRARY_PATH
-  fi
-  ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  if test "$with_gnu_ld" = yes; then
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
-  else
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
-    case $host_os in
-      sco3.2v5*)
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
-       ;;
-    esac
-  fi
-  sys_lib_dlsearch_path_spec='/usr/lib'
-  ;;
-
-tpf*)
-  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-uts4*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  ;;
-
-*)
-  dynamic_linker=no
-  ;;
-esac
-AC_MSG_RESULT([$dynamic_linker])
-test "$dynamic_linker" = no && can_build_shared=no
-
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
-if test "$GCC" = yes; then
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
-fi
-
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
-fi
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
-fi
-
-_LT_DECL([], [variables_saved_for_relink], [1],
-    [Variables whose values should be saved in libtool wrapper scripts and
-    restored at link time])
-_LT_DECL([], [need_lib_prefix], [0],
-    [Do we need the "lib" prefix for modules?])
-_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
-_LT_DECL([], [version_type], [0], [Library versioning type])
-_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
-_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
-_LT_DECL([], [shlibpath_overrides_runpath], [0],
-    [Is shlibpath searched before the hard-coded library search path?])
-_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
-_LT_DECL([], [library_names_spec], [1],
-    [[List of archive names.  First name is the real one, the rest are links.
-    The last name is the one that the linker finds with -lNAME]])
-_LT_DECL([], [soname_spec], [1],
-    [[The coded name of the library, if different from the real name]])
-_LT_DECL([], [install_override_mode], [1],
-    [Permission mode override for installation of shared libraries])
-_LT_DECL([], [postinstall_cmds], [2],
-    [Command to use after installation of a shared archive])
-_LT_DECL([], [postuninstall_cmds], [2],
-    [Command to use after uninstallation of a shared archive])
-_LT_DECL([], [finish_cmds], [2],
-    [Commands used to finish a libtool library installation in a directory])
-_LT_DECL([], [finish_eval], [1],
-    [[As "finish_cmds", except a single script fragment to be evaled but
-    not shown]])
-_LT_DECL([], [hardcode_into_libs], [0],
-    [Whether we should hardcode library paths into libraries])
-_LT_DECL([], [sys_lib_search_path_spec], [2],
-    [Compile-time system search path for libraries])
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
-    [Run-time system search path for libraries])
-])# _LT_SYS_DYNAMIC_LINKER
-
-
-# _LT_PATH_TOOL_PREFIX(TOOL)
-# --------------------------
-# find a file program which can recognize shared library
-AC_DEFUN([_LT_PATH_TOOL_PREFIX],
-[m4_require([_LT_DECL_EGREP])dnl
-AC_MSG_CHECKING([for $1])
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
-[case $MAGIC_CMD in
-[[\\/*] |  ?:[\\/]*])
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
-  ;;
-*)
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-dnl $ac_dummy forces splitting on constant user-supplied paths.
-dnl POSIX.2 word splitting is done only on the output of word expansions,
-dnl not every word.  This closes a longstanding sh security hole.
-  ac_dummy="m4_if([$2], , $PATH, [$2])"
-  for ac_dir in $ac_dummy; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$1; then
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
-      if test -n "$file_magic_test_file"; then
-       case $deplibs_check_method in
-       "file_magic "*)
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
-           $EGREP "$file_magic_regex" > /dev/null; then
-           :
-         else
-           cat <<_LT_EOF 1>&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such.  This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem.  Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-_LT_EOF
-         fi ;;
-       esac
-      fi
-      break
-    fi
-  done
-  IFS="$lt_save_ifs"
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
-  ;;
-esac])
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
-  AC_MSG_RESULT($MAGIC_CMD)
-else
-  AC_MSG_RESULT(no)
-fi
-_LT_DECL([], [MAGIC_CMD], [0],
-        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
-])# _LT_PATH_TOOL_PREFIX
-
-# Old name:
-AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
-
-
-# _LT_PATH_MAGIC
-# --------------
-# find a file program which can recognize a shared library
-m4_defun([_LT_PATH_MAGIC],
-[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
-if test -z "$lt_cv_path_MAGIC_CMD"; then
-  if test -n "$ac_tool_prefix"; then
-    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
-  else
-    MAGIC_CMD=:
-  fi
-fi
-])# _LT_PATH_MAGIC
-
-
-# LT_PATH_LD
-# ----------
-# find the pathname to the GNU or non-GNU linker
-AC_DEFUN([LT_PATH_LD],
-[AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
-
-AC_ARG_WITH([gnu-ld],
-    [AS_HELP_STRING([--with-gnu-ld],
-       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
-    [test "$withval" = no || with_gnu_ld=yes],
-    [with_gnu_ld=no])dnl
-
-ac_prog=ld
-if test "$GCC" = yes; then
-  # Check if gcc -print-prog-name=ld gives a path.
-  AC_MSG_CHECKING([for ld used by $CC])
-  case $host in
-  *-*-mingw*)
-    # gcc leaves a trailing carriage return which upsets mingw
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
-  *)
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
-  esac
-  case $ac_prog in
-    # Accept absolute paths.
-    [[\\/]]* | ?:[[\\/]]*)
-      re_direlt='/[[^/]][[^/]]*/\.\./'
-      # Canonicalize the pathname of ld
-      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
-      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
-       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
-      done
-      test -z "$LD" && LD="$ac_prog"
-      ;;
-  "")
-    # If it fails, then pretend we aren't using GCC.
-    ac_prog=ld
-    ;;
-  *)
-    # If it is relative, then search for the first ld in PATH.
-    with_gnu_ld=unknown
-    ;;
-  esac
-elif test "$with_gnu_ld" = yes; then
-  AC_MSG_CHECKING([for GNU ld])
-else
-  AC_MSG_CHECKING([for non-GNU ld])
-fi
-AC_CACHE_VAL(lt_cv_path_LD,
-[if test -z "$LD"; then
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-  for ac_dir in $PATH; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
-      lt_cv_path_LD="$ac_dir/$ac_prog"
-      # Check to see if the program is GNU ld.  I'd rather use --version,
-      # but apparently some variants of GNU ld only accept -v.
-      # Break only if it was the GNU/non-GNU ld that we prefer.
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
-      *GNU* | *'with BFD'*)
-       test "$with_gnu_ld" != no && break
-       ;;
-      *)
-       test "$with_gnu_ld" != yes && break
-       ;;
-      esac
-    fi
-  done
-  IFS="$lt_save_ifs"
-else
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
-fi])
-LD="$lt_cv_path_LD"
-if test -n "$LD"; then
-  AC_MSG_RESULT($LD)
-else
-  AC_MSG_RESULT(no)
-fi
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
-_LT_PATH_LD_GNU
-AC_SUBST([LD])
-
-_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
-])# LT_PATH_LD
-
-# Old names:
-AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
-AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_PROG_LD], [])
-dnl AC_DEFUN([AC_PROG_LD], [])
-
-
-# _LT_PATH_LD_GNU
-#- --------------
-m4_defun([_LT_PATH_LD_GNU],
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
-case `$LD -v 2>&1 </dev/null` in
-*GNU* | *'with BFD'*)
-  lt_cv_prog_gnu_ld=yes
-  ;;
-*)
-  lt_cv_prog_gnu_ld=no
-  ;;
-esac])
-with_gnu_ld=$lt_cv_prog_gnu_ld
-])# _LT_PATH_LD_GNU
-
-
-# _LT_CMD_RELOAD
-# --------------
-# find reload flag for linker
-#   -- PORTME Some linkers may need a different reload flag.
-m4_defun([_LT_CMD_RELOAD],
-[AC_CACHE_CHECK([for $LD option to reload object files],
-  lt_cv_ld_reload_flag,
-  [lt_cv_ld_reload_flag='-r'])
-reload_flag=$lt_cv_ld_reload_flag
-case $reload_flag in
-"" | " "*) ;;
-*) reload_flag=" $reload_flag" ;;
-esac
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
-case $host_os in
-  cygwin* | mingw* | pw32* | cegcc*)
-    if test "$GCC" != yes; then
-      reload_cmds=false
-    fi
-    ;;
-  darwin*)
-    if test "$GCC" = yes; then
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-    else
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
-    fi
-    ;;
-esac
-_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
-_LT_TAGDECL([], [reload_cmds], [2])dnl
-])# _LT_CMD_RELOAD
-
-
-# _LT_CHECK_MAGIC_METHOD
-# ----------------------
-# how to check for library dependencies
-#  -- PORTME fill in with the dynamic library characteristics
-m4_defun([_LT_CHECK_MAGIC_METHOD],
-[m4_require([_LT_DECL_EGREP])
-m4_require([_LT_DECL_OBJDUMP])
-AC_CACHE_CHECK([how to recognize dependent libraries],
-lt_cv_deplibs_check_method,
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
-lt_cv_file_magic_test_file=
-lt_cv_deplibs_check_method='unknown'
-# Need to set the preceding variable on all platforms that support
-# interlibrary dependencies.
-# 'none' -- dependencies not supported.
-# `unknown' -- same as none, but documents that we really don't know.
-# 'pass_all' -- all dependencies passed with no checks.
-# 'test_compile' -- check by making test program.
-# 'file_magic [[regex]]' -- check by looking for files in library path
-# which responds to the $file_magic_cmd with a given extended regex.
-# If you have `file' or equivalent on your system and you're not sure
-# whether `pass_all' will *always* work, you probably want this one.
-
-case $host_os in
-aix[[4-9]]*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-beos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-bsdi[[45]]*)
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
-  lt_cv_file_magic_test_file=/shlib/libc.so
-  ;;
-
-cygwin*)
-  # func_win32_libid is a shell function defined in ltmain.sh
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-  lt_cv_file_magic_cmd='func_win32_libid'
-  ;;
-
-mingw* | pw32*)
-  # Base MSYS/MinGW do not provide the 'file' command needed by
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
-  # unless we find 'file', for example because we are cross-compiling.
-  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
-  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-    lt_cv_file_magic_cmd='func_win32_libid'
-  else
-    # Keep this pattern in sync with the one in func_win32_libid.
-    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
-  fi
-  ;;
-
-cegcc*)
-  # use the weaker test based on 'objdump'. See mingw*.
-  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
-  ;;
-
-darwin* | rhapsody*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-freebsd* | dragonfly*)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    case $host_cpu in
-    i*86 )
-      # Not sure whether the presence of OpenBSD here was a mistake.
-      # Let's accept both of them until this is cleared up.
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
-      lt_cv_file_magic_cmd=/usr/bin/file
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
-      ;;
-    esac
-  else
-    lt_cv_deplibs_check_method=pass_all
-  fi
-  ;;
-
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-haiku*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-hpux10.20* | hpux11*)
-  lt_cv_file_magic_cmd=/usr/bin/file
-  case $host_cpu in
-  ia64*)
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
-    ;;
-  hppa*64*)
-    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
-    ;;
-  *)
-    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
-    ;;
-  esac
-  ;;
-
-interix[[3-9]]*)
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
-  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
-  ;;
-
-irix5* | irix6* | nonstopux*)
-  case $LD in
-  *-32|*"-32 ") libmagic=32-bit;;
-  *-n32|*"-n32 ") libmagic=N32;;
-  *-64|*"-64 ") libmagic=64-bit;;
-  *) libmagic=never-match;;
-  esac
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-netbsd*)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
-  fi
-  ;;
-
-newos6*)
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
-  lt_cv_file_magic_cmd=/usr/bin/file
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
-  ;;
-
-*nto* | *qnx*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-openbsd*)
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
-  fi
-  ;;
-
-osf3* | osf4* | osf5*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-rdos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-solaris*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv4 | sysv4.3*)
-  case $host_vendor in
-  motorola)
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
-    ;;
-  ncr)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  sequent)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
-    ;;
-  sni)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
-    lt_cv_file_magic_test_file=/lib/libc.so
-    ;;
-  siemens)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  pc)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  esac
-  ;;
-
-tpf*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-esac
-])
-
-file_magic_glob=
-want_nocaseglob=no
-if test "$build" = "$host"; then
-  case $host_os in
-  mingw* | pw32*)
-    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
-      want_nocaseglob=yes
-    else
-      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
-    fi
-    ;;
-  esac
-fi
-
-file_magic_cmd=$lt_cv_file_magic_cmd
-deplibs_check_method=$lt_cv_deplibs_check_method
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
-
-_LT_DECL([], [deplibs_check_method], [1],
-    [Method to check whether dependent libraries are shared objects])
-_LT_DECL([], [file_magic_cmd], [1],
-    [Command to use when deplibs_check_method = "file_magic"])
-_LT_DECL([], [file_magic_glob], [1],
-    [How to find potential files when deplibs_check_method = "file_magic"])
-_LT_DECL([], [want_nocaseglob], [1],
-    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
-])# _LT_CHECK_MAGIC_METHOD
-
-
-# LT_PATH_NM
-# ----------
-# find the pathname to a BSD- or MS-compatible name lister
-AC_DEFUN([LT_PATH_NM],
-[AC_REQUIRE([AC_PROG_CC])dnl
-AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
-[if test -n "$NM"; then
-  # Let the user override the test.
-  lt_cv_path_NM="$NM"
-else
-  lt_nm_to_check="${ac_tool_prefix}nm"
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
-    lt_nm_to_check="$lt_nm_to_check nm"
-  fi
-  for lt_tmp_nm in $lt_nm_to_check; do
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
-      IFS="$lt_save_ifs"
-      test -z "$ac_dir" && ac_dir=.
-      tmp_nm="$ac_dir/$lt_tmp_nm"
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
-       # Check to see if the nm accepts a BSD-compat flag.
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
-       #   nm: unknown option "B" ignored
-       # Tru64's nm complains that /dev/null is an invalid object file
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
-       */dev/null* | *'Invalid file or object type'*)
-         lt_cv_path_NM="$tmp_nm -B"
-         break
-         ;;
-       *)
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
-         */dev/null*)
-           lt_cv_path_NM="$tmp_nm -p"
-           break
-           ;;
-         *)
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
-           continue # so that we can try to find one that supports BSD flags
-           ;;
-         esac
-         ;;
-       esac
-      fi
-    done
-    IFS="$lt_save_ifs"
-  done
-  : ${lt_cv_path_NM=no}
-fi])
-if test "$lt_cv_path_NM" != "no"; then
-  NM="$lt_cv_path_NM"
-else
-  # Didn't find any BSD compatible name lister, look for dumpbin.
-  if test -n "$DUMPBIN"; then :
-    # Let the user override the test.
-  else
-    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
-    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
-    *COFF*)
-      DUMPBIN="$DUMPBIN -symbols"
-      ;;
-    *)
-      DUMPBIN=:
-      ;;
-    esac
-  fi
-  AC_SUBST([DUMPBIN])
-  if test "$DUMPBIN" != ":"; then
-    NM="$DUMPBIN"
-  fi
-fi
-test -z "$NM" && NM=nm
-AC_SUBST([NM])
-_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
-
-AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
-  [lt_cv_nm_interface="BSD nm"
-  echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
-  (eval "$ac_compile" 2>conftest.err)
-  cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
-  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
-  cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
-  cat conftest.out >&AS_MESSAGE_LOG_FD
-  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
-    lt_cv_nm_interface="MS dumpbin"
-  fi
-  rm -f conftest*])
-])# LT_PATH_NM
-
-# Old names:
-AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
-AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_PROG_NM], [])
-dnl AC_DEFUN([AC_PROG_NM], [])
-
-# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
-# --------------------------------
-# how to determine the name of the shared library
-# associated with a specific link library.
-#  -- PORTME fill in with the dynamic library characteristics
-m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
-[m4_require([_LT_DECL_EGREP])
-m4_require([_LT_DECL_OBJDUMP])
-m4_require([_LT_DECL_DLLTOOL])
-AC_CACHE_CHECK([how to associate runtime and link libraries],
-lt_cv_sharedlib_from_linklib_cmd,
-[lt_cv_sharedlib_from_linklib_cmd='unknown'
-
-case $host_os in
-cygwin* | mingw* | pw32* | cegcc*)
-  # two different shell functions defined in ltmain.sh
-  # decide which to use based on capabilities of $DLLTOOL
-  case `$DLLTOOL --help 2>&1` in
-  *--identify-strict*)
-    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
-    ;;
-  *)
-    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
-    ;;
-  esac
-  ;;
-*)
-  # fallback: assume linklib IS sharedlib
-  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
-  ;;
-esac
-])
-sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
-test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
-
-_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
-    [Command to associate shared and link libraries])
-])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
-
-
-# _LT_PATH_MANIFEST_TOOL
-# ----------------------
-# locate the manifest tool
-m4_defun([_LT_PATH_MANIFEST_TOOL],
-[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
-test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
-AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
-  [lt_cv_path_mainfest_tool=no
-  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
-  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
-  cat conftest.err >&AS_MESSAGE_LOG_FD
-  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
-    lt_cv_path_mainfest_tool=yes
-  fi
-  rm -f conftest*])
-if test "x$lt_cv_path_mainfest_tool" != xyes; then
-  MANIFEST_TOOL=:
-fi
-_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
-])# _LT_PATH_MANIFEST_TOOL
-
-
-# LT_LIB_M
-# --------
-# check for math library
-AC_DEFUN([LT_LIB_M],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-LIBM=
-case $host in
-*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
-  # These system don't have libm, or don't need it
-  ;;
-*-ncr-sysv4.3*)
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
-  ;;
-*)
-  AC_CHECK_LIB(m, cos, LIBM="-lm")
-  ;;
-esac
-AC_SUBST([LIBM])
-])# LT_LIB_M
-
-# Old name:
-AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_CHECK_LIBM], [])
-
-
-# _LT_COMPILER_NO_RTTI([TAGNAME])
-# -------------------------------
-m4_defun([_LT_COMPILER_NO_RTTI],
-[m4_require([_LT_TAG_COMPILER])dnl
-
-_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-
-if test "$GCC" = yes; then
-  case $cc_basename in
-  nvcc*)
-    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
-  *)
-    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
-  esac
-
-  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
-    lt_cv_prog_compiler_rtti_exceptions,
-    [-fno-rtti -fno-exceptions], [],
-    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
-fi
-_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
-       [Compiler flag to turn off builtin functions])
-])# _LT_COMPILER_NO_RTTI
-
-
-# _LT_CMD_GLOBAL_SYMBOLS
-# ----------------------
-m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-AC_REQUIRE([LT_PATH_LD])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-
-# Check for command to grab the raw symbol name followed by C symbol from nm.
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
-[
-# These are sane defaults that work on at least a few old systems.
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
-
-# Character class describing NM global symbol codes.
-symcode='[[BCDEGRST]]'
-
-# Regexp to match symbols that can be accessed directly from C.
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
-
-# Define system-specific variables.
-case $host_os in
-aix*)
-  symcode='[[BCDT]]'
-  ;;
-cygwin* | mingw* | pw32* | cegcc*)
-  symcode='[[ABCDGISTW]]'
-  ;;
-hpux*)
-  if test "$host_cpu" = ia64; then
-    symcode='[[ABCDEGRST]]'
-  fi
-  ;;
-irix* | nonstopux*)
-  symcode='[[BCDEGRST]]'
-  ;;
-osf*)
-  symcode='[[BCDEGQRST]]'
-  ;;
-solaris*)
-  symcode='[[BDRT]]'
-  ;;
-sco3.2v5*)
-  symcode='[[DT]]'
-  ;;
-sysv4.2uw2*)
-  symcode='[[DT]]'
-  ;;
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
-  symcode='[[ABDT]]'
-  ;;
-sysv4)
-  symcode='[[DFNSTU]]'
-  ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
-  symcode='[[ABCDGIRSTW]]' ;;
-esac
-
-# Transform an extracted symbol line into a proper C declaration.
-# Some systems (esp. on ia64) link data and code symbols differently,
-# so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
-
-# Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
-
-# Handle CRLF in mingw tool chain
-opt_cr=
-case $build_os in
-mingw*)
-  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
-  ;;
-esac
-
-# Try without a prefix underscore, then with it.
-for ac_symprfx in "" "_"; do
-
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
-
-  # Write the raw and C identifiers.
-  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-    # Fake it for dumpbin and say T for any non-static function
-    # and D for any global variable.
-    # Also find C++ and __fastcall symbols from MSVC++,
-    # which start with @ or ?.
-    lt_cv_sys_global_symbol_pipe="$AWK ['"\
-"     {last_section=section; section=\$ 3};"\
-"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
-"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
-"     \$ 0!~/External *\|/{next};"\
-"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
-"     {if(hide[section]) next};"\
-"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
-"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
-"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
-"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
-"     ' prfx=^$ac_symprfx]"
-  else
-    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
-  fi
-  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
-
-  # Check to see that the pipe works correctly.
-  pipe_works=no
-
-  rm -f conftest*
-  cat > conftest.$ac_ext <<_LT_EOF
-#ifdef __cplusplus
-extern "C" {
-#endif
-char nm_test_var;
-void nm_test_func(void);
-void nm_test_func(void){}
-#ifdef __cplusplus
-}
-#endif
-int main(){nm_test_var='a';nm_test_func();return(0);}
-_LT_EOF
-
-  if AC_TRY_EVAL(ac_compile); then
-    # Now try to grab the symbols.
-    nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
-      # Try sorting and uniquifying the output.
-      if sort "$nlist" | uniq > "$nlist"T; then
-       mv -f "$nlist"T "$nlist"
-      else
-       rm -f "$nlist"T
-      fi
-
-      # Make sure that we snagged all the symbols we need.
-      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
-       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
-         cat <<_LT_EOF > conftest.$ac_ext
-/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
-/* DATA imports from DLLs on WIN32 con't be const, because runtime
-   relocations are performed -- see ld's documentation on pseudo-relocs.  */
-# define LT@&t@_DLSYM_CONST
-#elif defined(__osf__)
-/* This system does not cope well with relocations in const data.  */
-# define LT@&t@_DLSYM_CONST
-#else
-# define LT@&t@_DLSYM_CONST const
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-_LT_EOF
-         # Now generate the symbol file.
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
-
-         cat <<_LT_EOF >> conftest.$ac_ext
-
-/* The mapping between symbol names and symbols.  */
-LT@&t@_DLSYM_CONST struct {
-  const char *name;
-  void       *address;
-}
-lt__PROGRAM__LTX_preloaded_symbols[[]] =
-{
-  { "@PROGRAM@", (void *) 0 },
-_LT_EOF
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
-         cat <<\_LT_EOF >> conftest.$ac_ext
-  {0, (void *) 0}
-};
-
-/* This works around a problem in FreeBSD linker */
-#ifdef FREEBSD_WORKAROUND
-static const void *lt_preloaded_setup() {
-  return lt__PROGRAM__LTX_preloaded_symbols;
-}
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-_LT_EOF
-         # Now try linking the two files.
-         mv conftest.$ac_objext conftstm.$ac_objext
-         lt_globsym_save_LIBS=$LIBS
-         lt_globsym_save_CFLAGS=$CFLAGS
-         LIBS="conftstm.$ac_objext"
-         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
-         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
-           pipe_works=yes
-         fi
-         LIBS=$lt_globsym_save_LIBS
-         CFLAGS=$lt_globsym_save_CFLAGS
-       else
-         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
-       fi
-      else
-       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
-      fi
-    else
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
-    fi
-  else
-    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
-    cat conftest.$ac_ext >&5
-  fi
-  rm -rf conftest* conftst*
-
-  # Do not use the global_symbol_pipe unless it works.
-  if test "$pipe_works" = yes; then
-    break
-  else
-    lt_cv_sys_global_symbol_pipe=
-  fi
-done
-])
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
-  lt_cv_sys_global_symbol_to_cdecl=
-fi
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
-  AC_MSG_RESULT(failed)
-else
-  AC_MSG_RESULT(ok)
-fi
-
-# Response file support.
-if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-  nm_file_list_spec='@'
-elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
-  nm_file_list_spec='@'
-fi
-
-_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
-    [Take the output of nm and produce a listing of raw symbols and C names])
-_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
-    [Transform the output of nm in a proper C declaration])
-_LT_DECL([global_symbol_to_c_name_address],
-    [lt_cv_sys_global_symbol_to_c_name_address], [1],
-    [Transform the output of nm in a C name address pair])
-_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
-    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
-    [Transform the output of nm in a C name address pair when lib prefix is needed])
-_LT_DECL([], [nm_file_list_spec], [1],
-    [Specify filename containing input files for $NM])
-]) # _LT_CMD_GLOBAL_SYMBOLS
-
-
-# _LT_COMPILER_PIC([TAGNAME])
-# ---------------------------
-m4_defun([_LT_COMPILER_PIC],
-[m4_require([_LT_TAG_COMPILER])dnl
-_LT_TAGVAR(lt_prog_compiler_wl, $1)=
-_LT_TAGVAR(lt_prog_compiler_pic, $1)=
-_LT_TAGVAR(lt_prog_compiler_static, $1)=
-
-m4_if([$1], [CXX], [
-  # C++ specific cases for pic, static, wl, etc.
-  if test "$GXX" = yes; then
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
-    case $host_os in
-    aix*)
-      # All AIX code is PIC.
-      if test "$host_cpu" = ia64; then
-       # AIX 5 now supports IA64 processor
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-        ;;
-      m68k)
-            # FIXME: we need at least 68020 code to build shared libraries, but
-            # adding the `-m68020' flag to GCC prevents building anything better,
-            # like `-m68040'.
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
-        ;;
-      esac
-      ;;
-
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
-      # PIC is the default for these OSes.
-      ;;
-    mingw* | cygwin* | os2* | pw32* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
-      # (--disable-auto-import) libraries
-      m4_if([$1], [GCJ], [],
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
-      ;;
-    *djgpp*)
-      # DJGPP does not support shared libraries at all
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-      ;;
-    haiku*)
-      # PIC is the default for Haiku.
-      # The "-static" flag exists, but is broken.
-      _LT_TAGVAR(lt_prog_compiler_static, $1)=
-      ;;
-    interix[[3-9]]*)
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
-      # Instead, we relocate shared libraries at runtime.
-      ;;
-    sysv4*MP*)
-      if test -d /usr/nec; then
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
-      fi
-      ;;
-    hpux*)
-      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
-      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
-      # sets the default TLS model and affects inlining.
-      case $host_cpu in
-      hppa*64*)
-       ;;
-      *)
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-       ;;
-      esac
-      ;;
-    *qnx* | *nto*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-    *)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-      ;;
-    esac
-  else
-    case $host_os in
-      aix[[4-9]]*)
-       # All AIX code is PIC.
-       if test "$host_cpu" = ia64; then
-         # AIX 5 now supports IA64 processor
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-       else
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
-       fi
-       ;;
-      chorus*)
-       case $cc_basename in
-       cxch68*)
-         # Green Hills C++ Compiler
-         # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
-         ;;
-       esac
-       ;;
-      mingw* | cygwin* | os2* | pw32* | cegcc*)
-       # This hack is so that the source file can tell whether it is being
-       # built for inclusion in a dll (and should export symbols for example).
-       m4_if([$1], [GCJ], [],
-         [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-       ;;
-      dgux*)
-       case $cc_basename in
-         ec++*)
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-           ;;
-         ghcx*)
-           # Green Hills C++ Compiler
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      freebsd* | dragonfly*)
-       # FreeBSD uses GNU C++
-       ;;
-      hpux9* | hpux10* | hpux11*)
-       case $cc_basename in
-         CC*)
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
-           if test "$host_cpu" != ia64; then
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
-           fi
-           ;;
-         aCC*)
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
-           case $host_cpu in
-           hppa*64*|ia64*)
-             # +Z the default
-             ;;
-           *)
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
-             ;;
-           esac
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      interix*)
-       # This is c89, which is MS Visual C++ (no shared libs)
-       # Anyone wants to do a port?
-       ;;
-      irix5* | irix6* | nonstopux*)
-       case $cc_basename in
-         CC*)
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-           # CC pic flag -KPIC is the default.
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
-       case $cc_basename in
-         KCC*)
-           # KAI C++ Compiler
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-           ;;
-         ecpc* )
-           # old Intel C++ for x86_64 which still supported -KPIC.
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-           ;;
-         icpc* )
-           # Intel C++, used to be incompatible with GCC.
-           # ICC 10 doesn't accept -KPIC any more.
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-           ;;
-         pgCC* | pgcpp*)
-           # Portland Group C++ compiler
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-           ;;
-         cxx*)
-           # Compaq C++
-           # Make sure the PIC flag is empty.  It appears that all Alpha
-           # Linux and Compaq Tru64 Unix objects are PIC.
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-           ;;
-         xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
-           # IBM XL 8.0, 9.0 on PPC and BlueGene
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
-           ;;
-         *)
-           case `$CC -V 2>&1 | sed 5q` in
-           *Sun\ C*)
-             # Sun C++ 5.9
-             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-             ;;
-           esac
-           ;;
-       esac
-       ;;
-      lynxos*)
-       ;;
-      m88k*)
-       ;;
-      mvs*)
-       case $cc_basename in
-         cxx*)
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      netbsd*)
-       ;;
-      *qnx* | *nto*)
-        # QNX uses GNU C++, but need to define -shared option too, otherwise
-        # it will coredump.
-        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-        ;;
-      osf3* | osf4* | osf5*)
-       case $cc_basename in
-         KCC*)
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
-           ;;
-         RCC*)
-           # Rational C++ 2.4.1
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-           ;;
-         cxx*)
-           # Digital/Compaq C++
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           # Make sure the PIC flag is empty.  It appears that all Alpha
-           # Linux and Compaq Tru64 Unix objects are PIC.
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      psos*)
-       ;;
-      solaris*)
-       case $cc_basename in
-         CC* | sunCC*)
-           # Sun C++ 4.2, 5.x and Centerline C++
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-           ;;
-         gcx*)
-           # Green Hills C++ Compiler
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      sunos4*)
-       case $cc_basename in
-         CC*)
-           # Sun C++ 4.x
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-           ;;
-         lcc*)
-           # Lucid
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
-       case $cc_basename in
-         CC*)
-           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-           ;;
-       esac
-       ;;
-      tandem*)
-       case $cc_basename in
-         NCC*)
-           # NonStop-UX NCC 3.20
-           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-           ;;
-         *)
-           ;;
-       esac
-       ;;
-      vxworks*)
-       ;;
-      *)
-       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-       ;;
-    esac
-  fi
-],
-[
-  if test "$GCC" = yes; then
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
-    case $host_os in
-      aix*)
-      # All AIX code is PIC.
-      if test "$host_cpu" = ia64; then
-       # AIX 5 now supports IA64 processor
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-        ;;
-      m68k)
-            # FIXME: we need at least 68020 code to build shared libraries, but
-            # adding the `-m68020' flag to GCC prevents building anything better,
-            # like `-m68040'.
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
-        ;;
-      esac
-      ;;
-
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
-      # PIC is the default for these OSes.
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
-      # (--disable-auto-import) libraries
-      m4_if([$1], [GCJ], [],
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
-      ;;
-
-    haiku*)
-      # PIC is the default for Haiku.
-      # The "-static" flag exists, but is broken.
-      _LT_TAGVAR(lt_prog_compiler_static, $1)=
-      ;;
-
-    hpux*)
-      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
-      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
-      # sets the default TLS model and affects inlining.
-      case $host_cpu in
-      hppa*64*)
-       # +Z the default
-       ;;
-      *)
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-       ;;
-      esac
-      ;;
-
-    interix[[3-9]]*)
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
-      # Instead, we relocate shared libraries at runtime.
-      ;;
-
-    msdosdjgpp*)
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
-      # on systems that don't support them.
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      enable_shared=no
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
-      fi
-      ;;
-
-    *)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-      ;;
-    esac
-
-    case $cc_basename in
-    nvcc*) # Cuda Compiler Driver 2.2
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
-      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
-        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
-      fi
-      ;;
-    esac
-  else
-    # PORTME Check for flag to pass linker flags through the system compiler.
-    case $host_os in
-    aix*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      if test "$host_cpu" = ia64; then
-       # AIX 5 now supports IA64 processor
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      else
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
-      fi
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      m4_if([$1], [GCJ], [],
-       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-
-    hpux9* | hpux10* | hpux11*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
-      # not for PA HP-UX.
-      case $host_cpu in
-      hppa*64*|ia64*)
-       # +Z the default
-       ;;
-      *)
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
-       ;;
-      esac
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
-      ;;
-
-    irix5* | irix6* | nonstopux*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      # PIC (with -KPIC) is the default.
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-      ;;
-
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
-      case $cc_basename in
-      # old Intel for x86_64 which still supported -KPIC.
-      ecc*)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-        ;;
-      # icc used to be incompatible with GCC.
-      # ICC 10 doesn't accept -KPIC any more.
-      icc* | ifort*)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-        ;;
-      # Lahey Fortran 8.1.
-      lf95*)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
-       ;;
-      nagfor*)
-       # NAG Fortran compiler
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-       ;;
-      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
-        # Portland Group compilers (*not* the Pentium gcc compiler,
-       # which looks to be a dead project)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-        ;;
-      ccc*)
-        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-        # All Alpha code is PIC.
-        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-        ;;
-      xl* | bgxl* | bgf* | mpixl*)
-       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
-       ;;
-      *)
-       case `$CC -V 2>&1 | sed 5q` in
-       *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
-         ;;
-       *Sun\ F* | *Sun*Fortran*)
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-         ;;
-       *Sun\ C*)
-         # Sun C 5.9
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-         ;;
-        *Intel*\ [[CF]]*Compiler*)
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-         ;;
-       *Portland\ Group*)
-         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
-         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-         ;;
-       esac
-       ;;
-      esac
-      ;;
-
-    newsos6)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-
-    osf3* | osf4* | osf5*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      # All OSF/1 code is PIC.
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-      ;;
-
-    rdos*)
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-      ;;
-
-    solaris*)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      case $cc_basename in
-      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
-      *)
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
-      esac
-      ;;
-
-    sunos4*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    sysv4 | sysv4.2uw2* | sysv4.3*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec ;then
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    unicos*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      ;;
-
-    uts4*)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    *)
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      ;;
-    esac
-  fi
-])
-case $host_os in
-  # For platforms which do not support PIC, -DPIC is meaningless:
-  *djgpp*)
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-    ;;
-  *)
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
-    ;;
-esac
-
-AC_CACHE_CHECK([for $compiler option to produce PIC],
-  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
-  [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
-_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
-
-#
-# Check to make sure the PIC flag actually works.
-#
-if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
-  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
-    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
-    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
-    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
-     "" | " "*) ;;
-     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
-     esac],
-    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
-     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
-fi
-_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
-       [Additional compiler flags for building library objects])
-
-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
-       [How to pass a linker flag through the compiler])
-#
-# Check to make sure the static flag actually works.
-#
-wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
-_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
-  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
-  $lt_tmp_static_flag,
-  [],
-  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
-_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
-       [Compiler flag to prevent dynamic linking])
-])# _LT_COMPILER_PIC
-
-
-# _LT_LINKER_SHLIBS([TAGNAME])
-# ----------------------------
-# See if the linker supports building shared libraries.
-m4_defun([_LT_LINKER_SHLIBS],
-[AC_REQUIRE([LT_PATH_LD])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-m4_require([_LT_PATH_MANIFEST_TOOL])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-m4_if([$1], [CXX], [
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
-  case $host_os in
-  aix[[4-9]]*)
-    # If we're using GNU nm, then we don't want the "-C" option.
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
-    # Also, AIX nm treats weak defined symbols like other global defined
-    # symbols, whereas GNU nm marks them as "W".
-    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-    else
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-    fi
-    ;;
-  pw32*)
-    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
-    ;;
-  cygwin* | mingw* | cegcc*)
-    case $cc_basename in
-    cl*)
-      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
-      ;;
-    *)
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
-      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
-      ;;
-    esac
-    ;;
-  *)
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-    ;;
-  esac
-], [
-  runpath_var=
-  _LT_TAGVAR(allow_undefined_flag, $1)=
-  _LT_TAGVAR(always_export_symbols, $1)=no
-  _LT_TAGVAR(archive_cmds, $1)=
-  _LT_TAGVAR(archive_expsym_cmds, $1)=
-  _LT_TAGVAR(compiler_needs_object, $1)=no
-  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  _LT_TAGVAR(hardcode_automatic, $1)=no
-  _LT_TAGVAR(hardcode_direct, $1)=no
-  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
-  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-  _LT_TAGVAR(hardcode_libdir_separator, $1)=
-  _LT_TAGVAR(hardcode_minus_L, $1)=no
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  _LT_TAGVAR(inherit_rpath, $1)=no
-  _LT_TAGVAR(link_all_deplibs, $1)=unknown
-  _LT_TAGVAR(module_cmds, $1)=
-  _LT_TAGVAR(module_expsym_cmds, $1)=
-  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
-  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
-  _LT_TAGVAR(thread_safe_flag_spec, $1)=
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=
-  # include_expsyms should be a list of space-separated symbols to be *always*
-  # included in the symbol list
-  _LT_TAGVAR(include_expsyms, $1)=
-  # exclude_expsyms can be an extended regexp of symbols to exclude
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
-  # as well as any symbol that contains `d'.
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
-  # platforms (ab)use it in PIC code, but their linkers get confused if
-  # the symbol is explicitly referenced.  Since portable code cannot
-  # rely on this symbol name, it's probably fine to never include it in
-  # preloaded symbol tables.
-  # Exclude shared library initialization/finalization symbols.
-dnl Note also adjust exclude_expsyms for C++ above.
-  extract_expsyms_cmds=
-
-  case $host_os in
-  cygwin* | mingw* | pw32* | cegcc*)
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
-    # When not using gcc, we currently assume that we are using
-    # Microsoft Visual C++.
-    if test "$GCC" != yes; then
-      with_gnu_ld=no
-    fi
-    ;;
-  interix*)
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
-    with_gnu_ld=yes
-    ;;
-  openbsd*)
-    with_gnu_ld=no
-    ;;
-  esac
-
-  _LT_TAGVAR(ld_shlibs, $1)=yes
-
-  # On some targets, GNU ld is compatible enough with the native linker
-  # that we're better off using the native interface for both.
-  lt_use_gnu_ld_interface=no
-  if test "$with_gnu_ld" = yes; then
-    case $host_os in
-      aix*)
-       # The AIX port of GNU ld has always aspired to compatibility
-       # with the native linker.  However, as the warning in the GNU ld
-       # block says, versions before 2.19.5* couldn't really create working
-       # shared libraries, regardless of the interface used.
-       case `$LD -v 2>&1` in
-         *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
-         *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
-         *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
-         *)
-           lt_use_gnu_ld_interface=yes
-           ;;
-       esac
-       ;;
-      *)
-       lt_use_gnu_ld_interface=yes
-       ;;
-    esac
-  fi
-
-  if test "$lt_use_gnu_ld_interface" = yes; then
-    # If archive_cmds runs LD, not CC, wlarc should be empty
-    wlarc='${wl}'
-
-    # Set some defaults for GNU ld with shared library support. These
-    # are reset later if shared libraries are not supported. Putting them
-    # here allows them to be overridden if necessary.
-    runpath_var=LD_RUN_PATH
-    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-    # ancient GNU ld didn't support --whole-archive et. al.
-    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
-      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-    else
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
-    fi
-    supports_anon_versioning=no
-    case `$LD -v 2>&1` in
-      *GNU\ gold*) supports_anon_versioning=yes ;;
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
-      *\ 2.11.*) ;; # other 2.11 versions
-      *) supports_anon_versioning=yes ;;
-    esac
-
-    # See if GNU ld supports shared libraries.
-    case $host_os in
-    aix[[3-9]]*)
-      # On AIX/PPC, the GNU linker is very broken
-      if test "$host_cpu" != ia64; then
-       _LT_TAGVAR(ld_shlibs, $1)=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: the GNU linker, at least up to release 2.19, is reported
-*** to be unable to reliably create shared libraries on AIX.
-*** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to install binutils
-*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
-*** You will then need to restart the configuration process.
-
-_LT_EOF
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
-        ;;
-      m68k)
-            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
-        ;;
-      esac
-      ;;
-
-    beos*)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
-       # support --undefined.  This deserves some investigation.  FIXME
-       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-      else
-       _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-      # as there is no search path for DLLs.
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(always_export_symbols, $1)=no
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
-      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
-
-      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-       # If the export-symbols file already is a .def file (1st line
-       # is EXPORTS), use it as is; otherwise, prepend...
-       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-         cp $export_symbols $output_objdir/$soname.def;
-       else
-         echo EXPORTS > $output_objdir/$soname.def;
-         cat $export_symbols >> $output_objdir/$soname.def;
-       fi~
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-      else
-       _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    haiku*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      ;;
-
-    interix[[3-9]]*)
-      _LT_TAGVAR(hardcode_direct, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
-      # default) and relocated if they conflict, which is a slow very memory
-      # consuming and fragmenting process.  To avoid this, we pick a random,
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      ;;
-
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
-      tmp_diet=no
-      if test "$host_os" = linux-dietlibc; then
-       case $cc_basename in
-         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
-       esac
-      fi
-      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
-        && test "$tmp_diet" = no
-      then
-       tmp_addflag=' $pic_flag'
-       tmp_sharedflag='-shared'
-       case $cc_basename,$host_cpu in
-        pgcc*)                         # Portland Group C compiler
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         tmp_addflag=' $pic_flag'
-         ;;
-       pgf77* | pgf90* | pgf95* | pgfortran*)
-                                       # Portland Group f77 and f90 compilers
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         tmp_addflag=' $pic_flag -Mnomain' ;;
-       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
-         tmp_addflag=' -i_dynamic' ;;
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
-       ifc* | ifort*)                  # Intel Fortran compiler
-         tmp_addflag=' -nofor_main' ;;
-       lf95*)                          # Lahey Fortran 8.1
-         _LT_TAGVAR(whole_archive_flag_spec, $1)=
-         tmp_sharedflag='--shared' ;;
-       xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
-         tmp_sharedflag='-qmkshrobj'
-         tmp_addflag= ;;
-       nvcc*)  # Cuda Compiler Driver 2.2
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         _LT_TAGVAR(compiler_needs_object, $1)=yes
-         ;;
-       esac
-       case `$CC -V 2>&1 | sed 5q` in
-       *Sun\ C*)                       # Sun C 5.9
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         _LT_TAGVAR(compiler_needs_object, $1)=yes
-         tmp_sharedflag='-G' ;;
-       *Sun\ F*)                       # Sun Fortran 8.3
-         tmp_sharedflag='-G' ;;
-       esac
-       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-
-        if test "x$supports_anon_versioning" = xyes; then
-          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-           echo "local: *; };" >> $output_objdir/$libname.ver~
-           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-        fi
-
-       case $cc_basename in
-       xlf* | bgf* | bgxlf* | mpixlf*)
-         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
-         if test "x$supports_anon_versioning" = xyes; then
-           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-             echo "local: *; };" >> $output_objdir/$libname.ver~
-             $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
-         fi
-         ;;
-       esac
-      else
-        _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    netbsd*)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
-       wlarc=
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      fi
-      ;;
-
-    solaris*)
-      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
-       _LT_TAGVAR(ld_shlibs, $1)=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
-*** create shared libraries on Solaris systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.9.1 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-       _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
-      case `$LD -v 2>&1` in
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
-       _LT_TAGVAR(ld_shlibs, $1)=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-       ;;
-       *)
-         # For security reasons, it is highly recommended that you always
-         # use absolute paths for naming shared libraries, and exclude the
-         # DT_RUNPATH tag from executables and libraries.  But doing so
-         # requires that you compile everything twice, which is a pain.
-         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-         else
-           _LT_TAGVAR(ld_shlibs, $1)=no
-         fi
-       ;;
-      esac
-      ;;
-
-    sunos4*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      wlarc=
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-       _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-    esac
-
-    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
-      runpath_var=
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
-    fi
-  else
-    # PORTME fill in a description of your system's linker (not GNU ld)
-    case $host_os in
-    aix3*)
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(always_export_symbols, $1)=yes
-      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
-      # Note: this linker hardcodes the directories in LIBPATH if there
-      # are no directories specified by -L.
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
-       # Neither direct hardcoding nor static linking is supported with a
-       # broken collect2.
-       _LT_TAGVAR(hardcode_direct, $1)=unsupported
-      fi
-      ;;
-
-    aix[[4-9]]*)
-      if test "$host_cpu" = ia64; then
-       # On IA64, the linker does run time linking by default, so we don't
-       # have to do anything special.
-       aix_use_runtimelinking=no
-       exp_sym_flag='-Bexport'
-       no_entry_flag=""
-      else
-       # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
-       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-       else
-         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-       fi
-       aix_use_runtimelinking=no
-
-       # Test if we are trying to use run time linking or normal
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
-         for ld_flag in $LDFLAGS; do
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
-           aix_use_runtimelinking=yes
-           break
-         fi
-         done
-         ;;
-       esac
-
-       exp_sym_flag='-bexport'
-       no_entry_flag='-bnoentry'
-      fi
-
-      # When large executables or shared objects are built, AIX ld can
-      # have problems creating the table of contents.  If linking a library
-      # or program results in "error TOC overflow" add -mminimal-toc to
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
-      _LT_TAGVAR(archive_cmds, $1)=''
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
-
-      if test "$GCC" = yes; then
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
-       # We only want to do this on AIX 4.2 and lower, the check
-       # below for broken collect2 doesn't work under 4.3+
-         collect2name=`${CC} -print-prog-name=collect2`
-         if test -f "$collect2name" &&
-          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
-         then
-         # We have reworked collect2
-         :
-         else
-         # We have old collect2
-         _LT_TAGVAR(hardcode_direct, $1)=unsupported
-         # It fails to find uninstalled libraries when the uninstalled
-         # path is not listed in the libpath.  Setting hardcode_minus_L
-         # to unsupported forces relinking
-         _LT_TAGVAR(hardcode_minus_L, $1)=yes
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-         _LT_TAGVAR(hardcode_libdir_separator, $1)=
-         fi
-         ;;
-       esac
-       shared_flag='-shared'
-       if test "$aix_use_runtimelinking" = yes; then
-         shared_flag="$shared_flag "'${wl}-G'
-       fi
-      else
-       # not using gcc
-       if test "$host_cpu" = ia64; then
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
-       # chokes on -Wl,-G. The following line is correct:
-         shared_flag='-G'
-       else
-         if test "$aix_use_runtimelinking" = yes; then
-           shared_flag='${wl}-G'
-         else
-           shared_flag='${wl}-bM:SRE'
-         fi
-       fi
-      fi
-
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
-      # It seems that -bexpall does not export symbols beginning with
-      # underscore (_), so it is better to generate a list of symbols to export.
-      _LT_TAGVAR(always_export_symbols, $1)=yes
-      if test "$aix_use_runtimelinking" = yes; then
-       # Warning - without using the other runtime loading flags (-brtl),
-       # -berok will link without error, but may produce a broken library.
-       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
-        # Determine the default libpath from the value encoded in an
-        # empty executable.
-        _LT_SYS_MODULE_PATH_AIX([$1])
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-      else
-       if test "$host_cpu" = ia64; then
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
-         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
-         _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
-       else
-        # Determine the default libpath from the value encoded in an
-        # empty executable.
-        _LT_SYS_MODULE_PATH_AIX([$1])
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-         # Warning - without using the other run time loading flags,
-         # -berok will link without error, but may produce a broken library.
-         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
-         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-         if test "$with_gnu_ld" = yes; then
-           # We only use this code for GNU lds that support --whole-archive.
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
-         else
-           # Exported symbols can be pulled into shared objects from archives
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
-         fi
-         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
-       fi
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
-        ;;
-      m68k)
-            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
-        ;;
-      esac
-      ;;
-
-    bsdi[[45]]*)
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # When not using gcc, we currently assume that we are using
-      # Microsoft Visual C++.
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
-      # no search path for DLLs.
-      case $cc_basename in
-      cl*)
-       # Native MSVC
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-       _LT_TAGVAR(always_export_symbols, $1)=yes
-       _LT_TAGVAR(file_list_spec, $1)='@'
-       # Tell ltmain to make .lib files, not .a files.
-       libext=lib
-       # Tell ltmain to make .dll files, not .so files.
-       shrext_cmds=".dll"
-       # FIXME: Setting linknames here is a bad hack.
-       _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
-       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-           sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
-         else
-           sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
-         fi~
-         $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
-         linknames='
-       # The linker will not automatically build a static lib if we build a DLL.
-       # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-       _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
-       _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
-       # Don't use ranlib
-       _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
-       _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
-         lt_tool_outputfile="@TOOL_OUTPUT@"~
-         case $lt_outputfile in
-           *.exe|*.EXE) ;;
-           *)
-             lt_outputfile="$lt_outputfile.exe"
-             lt_tool_outputfile="$lt_tool_outputfile.exe"
-             ;;
-         esac~
-         if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
-           $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
-           $RM "$lt_outputfile.manifest";
-         fi'
-       ;;
-      *)
-       # Assume MSVC wrapper
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-       # Tell ltmain to make .lib files, not .a files.
-       libext=lib
-       # Tell ltmain to make .dll files, not .so files.
-       shrext_cmds=".dll"
-       # FIXME: Setting linknames here is a bad hack.
-       _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
-       # The linker will automatically build a .lib file if we build a DLL.
-       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-       # FIXME: Should let the user specify the lib program.
-       _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
-       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-       ;;
-      esac
-      ;;
-
-    darwin* | rhapsody*)
-      _LT_DARWIN_LINKER_FEATURES($1)
-      ;;
-
-    dgux*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
-    # does not break anything, and helps significantly (at the cost of a little
-    # extra space).
-    freebsd2.2*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2.*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | dragonfly*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    hpux9*)
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-
-      # hardcode_minus_L: Not really in the search PATH,
-      # but as the default location of the library.
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-      ;;
-
-    hpux10*)
-      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
-      fi
-      if test "$with_gnu_ld" = no; then
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-       _LT_TAGVAR(hardcode_direct, $1)=yes
-       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-       # hardcode_minus_L: Not really in the search PATH,
-       # but as the default location of the library.
-       _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      fi
-      ;;
-
-    hpux11*)
-      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
-       case $host_cpu in
-       hppa*64*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       ia64*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       *)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       esac
-      else
-       case $host_cpu in
-       hppa*64*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       ia64*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       *)
-       m4_if($1, [], [
-         # Older versions of the 11.00 compiler do not understand -b yet
-         # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
-         _LT_LINKER_OPTION([if $CC understands -b],
-           _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
-           [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
-           [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
-         [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
-         ;;
-       esac
-      fi
-      if test "$with_gnu_ld" = no; then
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-       case $host_cpu in
-       hppa*64*|ia64*)
-         _LT_TAGVAR(hardcode_direct, $1)=no
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-         ;;
-       *)
-         _LT_TAGVAR(hardcode_direct, $1)=yes
-         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-
-         # hardcode_minus_L: Not really in the search PATH,
-         # but as the default location of the library.
-         _LT_TAGVAR(hardcode_minus_L, $1)=yes
-         ;;
-       esac
-      fi
-      ;;
-
-    irix5* | irix6* | nonstopux*)
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-       # Try to use the -exported_symbol ld option, if it does not
-       # work, assume that -exports_file does not work either and
-       # implicitly export all symbols.
-       # This should be the same for all languages, so no per-tag cache variable.
-       AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
-         [lt_cv_irix_exported_symbol],
-         [save_LDFLAGS="$LDFLAGS"
-          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-          AC_LINK_IFELSE(
-            [AC_LANG_SOURCE(
-               [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
-                             [C++], [[int foo (void) { return 0; }]],
-                             [Fortran 77], [[
-      subroutine foo
-      end]],
-                             [Fortran], [[
-      subroutine foo
-      end]])])],
-             [lt_cv_irix_exported_symbol=yes],
-             [lt_cv_irix_exported_symbol=no])
-           LDFLAGS="$save_LDFLAGS"])
-       if test "$lt_cv_irix_exported_symbol" = yes; then
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-       fi
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-      fi
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      _LT_TAGVAR(inherit_rpath, $1)=yes
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      ;;
-
-    netbsd*)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    newsos6)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *nto* | *qnx*)
-      ;;
-
-    openbsd*)
-      if test -f /usr/libexec/ld.so; then
-       _LT_TAGVAR(hardcode_direct, $1)=yes
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-       else
-         case $host_os in
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
-            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-            ;;
-          *)
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-            ;;
-         esac
-       fi
-      else
-       _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    os2*)
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
-      ;;
-
-    osf3*)
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-      else
-       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-      fi
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      ;;
-
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-      else
-       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
-
-       # Both c and cxx compiler support -rpath directly
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
-      fi
-      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      ;;
-
-    solaris*)
-      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
-      if test "$GCC" = yes; then
-       wlarc='${wl}'
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-      else
-       case `$CC -V 2>&1` in
-       *"Compilers 5.0"*)
-         wlarc=''
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
-         ;;
-       *)
-         wlarc='${wl}'
-         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
-         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-         ;;
-       esac
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      case $host_os in
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-      *)
-       # The compiler driver will combine and reorder linker options,
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
-       # but is careful enough not to reorder.
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
-       if test "$GCC" = yes; then
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
-       else
-         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
-       fi
-       ;;
-      esac
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      ;;
-
-    sunos4*)
-      if test "x$host_vendor" = xsequent; then
-       # Use $CC to link under sequent, because it throws in some extra .o
-       # files that make .init and .fini sections work.
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    sysv4)
-      case $host_vendor in
-       sni)
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
-       ;;
-       siemens)
-         ## LD is ld it makes a PLAMLIB
-         ## CC just makes a GrossModule.
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
-         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
-         _LT_TAGVAR(hardcode_direct, $1)=no
-        ;;
-       motorola)
-         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
-       ;;
-      esac
-      runpath_var='LD_RUN_PATH'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    sysv4.3*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-       runpath_var=LD_RUN_PATH
-       hardcode_runpath_var=yes
-       _LT_TAGVAR(ld_shlibs, $1)=yes
-      fi
-      ;;
-
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    sysv5* | sco3.2v5* | sco5v6*)
-      # Note: We can NOT use -z defs as we might desire, because we do not
-      # link with -lc, and that would cause any symbols used from libc to
-      # always be unresolved, which means just about no library would
-      # ever link correctly.  If we're not using GNU ld we use -z text
-      # though, which does catch some bad symbols but isn't as heavy-handed
-      # as -z defs.
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    uts4*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-    esac
-
-    if test x$host_vendor = xsni; then
-      case $host in
-      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
-       ;;
-      esac
-    fi
-  fi
-])
-AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
-test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
-
-_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
-_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
-_LT_DECL([], [extract_expsyms_cmds], [2],
-    [The commands to extract the exported symbol list from a shared archive])
-
-#
-# Do we need to explicitly link libc?
-#
-case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
-x|xyes)
-  # Assume -lc should be added
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
-    case $_LT_TAGVAR(archive_cmds, $1) in
-    *'~'*)
-      # FIXME: we may have to deal with multi-command sequences.
-      ;;
-    '$CC '*)
-      # Test whether the compiler implicitly links with -lc since on some
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
-      # to ld, don't add -lc before -lgcc.
-      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
-       [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
-       [$RM conftest*
-       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-       if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
-         soname=conftest
-         lib=conftest
-         libobjs=conftest.$ac_objext
-         deplibs=
-         wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
-         pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
-         compiler_flags=-v
-         linker_flags=-v
-         verstring=
-         output_objdir=.
-         libname=conftest
-         lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
-         _LT_TAGVAR(allow_undefined_flag, $1)=
-         if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
-         then
-           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-         else
-           lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-         fi
-         _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
-       else
-         cat conftest.err 1>&5
-       fi
-       $RM conftest*
-       ])
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
-      ;;
-    esac
-  fi
-  ;;
-esac
-
-_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
-    [Whether or not to add -lc for building shared libraries])
-_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
-    [enable_shared_with_static_runtimes], [0],
-    [Whether or not to disallow shared libs when runtime libs are static])
-_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
-    [Compiler flag to allow reflexive dlopens])
-_LT_TAGDECL([], [whole_archive_flag_spec], [1],
-    [Compiler flag to generate shared objects directly from archives])
-_LT_TAGDECL([], [compiler_needs_object], [1],
-    [Whether the compiler copes with passing no objects directly])
-_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
-    [Create an old-style archive from a shared archive])
-_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
-    [Create a temporary old-style archive to link instead of a shared archive])
-_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
-_LT_TAGDECL([], [archive_expsym_cmds], [2])
-_LT_TAGDECL([], [module_cmds], [2],
-    [Commands used to build a loadable module if different from building
-    a shared archive.])
-_LT_TAGDECL([], [module_expsym_cmds], [2])
-_LT_TAGDECL([], [with_gnu_ld], [1],
-    [Whether we are building with GNU ld or not])
-_LT_TAGDECL([], [allow_undefined_flag], [1],
-    [Flag that allows shared libraries with undefined symbols to be built])
-_LT_TAGDECL([], [no_undefined_flag], [1],
-    [Flag that enforces no undefined symbols])
-_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
-    [Flag to hardcode $libdir into a binary during linking.
-    This must work even if $libdir does not exist])
-_LT_TAGDECL([], [hardcode_libdir_separator], [1],
-    [Whether we need a single "-rpath" flag with a separated argument])
-_LT_TAGDECL([], [hardcode_direct], [0],
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
-    DIR into the resulting binary])
-_LT_TAGDECL([], [hardcode_direct_absolute], [0],
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
-    DIR into the resulting binary and the resulting library dependency is
-    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
-    library is relocated])
-_LT_TAGDECL([], [hardcode_minus_L], [0],
-    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
-    into the resulting binary])
-_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
-    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
-    into the resulting binary])
-_LT_TAGDECL([], [hardcode_automatic], [0],
-    [Set to "yes" if building a shared library automatically hardcodes DIR
-    into the library and all subsequent libraries and executables linked
-    against it])
-_LT_TAGDECL([], [inherit_rpath], [0],
-    [Set to yes if linker adds runtime paths of dependent libraries
-    to runtime path list])
-_LT_TAGDECL([], [link_all_deplibs], [0],
-    [Whether libtool must link a program against all its dependency libraries])
-_LT_TAGDECL([], [always_export_symbols], [0],
-    [Set to "yes" if exported symbols are required])
-_LT_TAGDECL([], [export_symbols_cmds], [2],
-    [The commands to list exported symbols])
-_LT_TAGDECL([], [exclude_expsyms], [1],
-    [Symbols that should not be listed in the preloaded symbols])
-_LT_TAGDECL([], [include_expsyms], [1],
-    [Symbols that must always be exported])
-_LT_TAGDECL([], [prelink_cmds], [2],
-    [Commands necessary for linking programs (against libraries) with templates])
-_LT_TAGDECL([], [postlink_cmds], [2],
-    [Commands necessary for finishing linking programs])
-_LT_TAGDECL([], [file_list_spec], [1],
-    [Specify filename containing input files])
-dnl FIXME: Not yet implemented
-dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
-dnl    [Compiler flag to generate thread safe objects])
-])# _LT_LINKER_SHLIBS
-
-
-# _LT_LANG_C_CONFIG([TAG])
-# ------------------------
-# Ensure that the configuration variables for a C compiler are suitably
-# defined.  These variables are subsequently used by _LT_CONFIG to write
-# the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_C_CONFIG],
-[m4_require([_LT_DECL_EGREP])dnl
-lt_save_CC="$CC"
-AC_LANG_PUSH(C)
-
-# Source file extension for C test sources.
-ac_ext=c
-
-# Object file extension for compiled C test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(){return(0);}'
-
-_LT_TAG_COMPILER
-# Save the default compiler, since it gets overwritten when the other
-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
-compiler_DEFAULT=$CC
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-if test -n "$compiler"; then
-  _LT_COMPILER_NO_RTTI($1)
-  _LT_COMPILER_PIC($1)
-  _LT_COMPILER_C_O($1)
-  _LT_COMPILER_FILE_LOCKS($1)
-  _LT_LINKER_SHLIBS($1)
-  _LT_SYS_DYNAMIC_LINKER($1)
-  _LT_LINKER_HARDCODE_LIBPATH($1)
-  LT_SYS_DLOPEN_SELF
-  _LT_CMD_STRIPLIB
-
-  # Report which library types will actually be built
-  AC_MSG_CHECKING([if libtool supports shared libraries])
-  AC_MSG_RESULT([$can_build_shared])
-
-  AC_MSG_CHECKING([whether to build shared libraries])
-  test "$can_build_shared" = "no" && enable_shared=no
-
-  # On AIX, shared libraries and static libraries use the same namespace, and
-  # are all built from PIC.
-  case $host_os in
-  aix3*)
-    test "$enable_shared" = yes && enable_static=no
-    if test -n "$RANLIB"; then
-      archive_cmds="$archive_cmds~\$RANLIB \$lib"
-      postinstall_cmds='$RANLIB $lib'
-    fi
-    ;;
-
-  aix[[4-9]]*)
-    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-      test "$enable_shared" = yes && enable_static=no
-    fi
-    ;;
-  esac
-  AC_MSG_RESULT([$enable_shared])
-
-  AC_MSG_CHECKING([whether to build static libraries])
-  # Make sure either enable_shared or enable_static is yes.
-  test "$enable_shared" = yes || enable_static=yes
-  AC_MSG_RESULT([$enable_static])
-
-  _LT_CONFIG($1)
-fi
-AC_LANG_POP
-CC="$lt_save_CC"
-])# _LT_LANG_C_CONFIG
-
-
-# _LT_LANG_CXX_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for a C++ compiler are suitably
-# defined.  These variables are subsequently used by _LT_CONFIG to write
-# the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_CXX_CONFIG],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_PATH_MANIFEST_TOOL])dnl
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
-    (test "X$CXX" != "Xg++"))) ; then
-  AC_PROG_CXXCPP
-else
-  _lt_caught_CXX_error=yes
-fi
-
-AC_LANG_PUSH(C++)
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(compiler_needs_object, $1)=no
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(reload_flag, $1)=$reload_flag
-_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for C++ test sources.
-ac_ext=cpp
-
-# Object file extension for compiled C++ test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the CXX compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_caught_CXX_error" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="int some_variable = 0;"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC=$CC
-  lt_save_CFLAGS=$CFLAGS
-  lt_save_LD=$LD
-  lt_save_GCC=$GCC
-  GCC=$GXX
-  lt_save_with_gnu_ld=$with_gnu_ld
-  lt_save_path_LD=$lt_cv_path_LD
-  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
-    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
-  else
-    $as_unset lt_cv_prog_gnu_ld
-  fi
-  if test -n "${lt_cv_path_LDCXX+set}"; then
-    lt_cv_path_LD=$lt_cv_path_LDCXX
-  else
-    $as_unset lt_cv_path_LD
-  fi
-  test -z "${LDCXX+set}" || LD=$LDCXX
-  CC=${CXX-"c++"}
-  CFLAGS=$CXXFLAGS
-  compiler=$CC
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-
-  if test -n "$compiler"; then
-    # We don't want -fno-exception when compiling C++ code, so set the
-    # no_builtin_flag separately
-    if test "$GXX" = yes; then
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
-    else
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-    fi
-
-    if test "$GXX" = yes; then
-      # Set up default GNU C++ configuration
-
-      LT_PATH_LD
-
-      # Check if GNU C++ uses GNU ld as the underlying linker, since the
-      # archiving commands below assume that GNU ld is being used.
-      if test "$with_gnu_ld" = yes; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
-        # If archive_cmds runs LD, not CC, wlarc should be empty
-        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
-        #     investigate it a little bit more. (MM)
-        wlarc='${wl}'
-
-        # ancient GNU ld didn't support --whole-archive et. al.
-        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
-         $GREP 'no-whole-archive' > /dev/null; then
-          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-        else
-          _LT_TAGVAR(whole_archive_flag_spec, $1)=
-        fi
-      else
-        with_gnu_ld=no
-        wlarc=
-
-        # A generic and very simple default shared library creation
-        # command for GNU C++ for the case where it uses the native
-        # linker, instead of GNU ld.  If possible, this setting should
-        # overridden to take advantage of the native linker features on
-        # the platform it is being used on.
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-      fi
-
-      # Commands to make compiler produce verbose output that lists
-      # what "hidden" libraries, object files and flags are used when
-      # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
-
-    else
-      GXX=no
-      with_gnu_ld=no
-      wlarc=
-    fi
-
-    # PORTME: fill in a description of your system's C++ link characteristics
-    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-    _LT_TAGVAR(ld_shlibs, $1)=yes
-    case $host_os in
-      aix3*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-      aix[[4-9]]*)
-        if test "$host_cpu" = ia64; then
-          # On IA64, the linker does run time linking by default, so we don't
-          # have to do anything special.
-          aix_use_runtimelinking=no
-          exp_sym_flag='-Bexport'
-          no_entry_flag=""
-        else
-          aix_use_runtimelinking=no
-
-          # Test if we are trying to use run time linking or normal
-          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-          # need to do runtime linking.
-          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
-           for ld_flag in $LDFLAGS; do
-             case $ld_flag in
-             *-brtl*)
-               aix_use_runtimelinking=yes
-               break
-               ;;
-             esac
-           done
-           ;;
-          esac
-
-          exp_sym_flag='-bexport'
-          no_entry_flag='-bnoentry'
-        fi
-
-        # When large executables or shared objects are built, AIX ld can
-        # have problems creating the table of contents.  If linking a library
-        # or program results in "error TOC overflow" add -mminimal-toc to
-        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
-        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
-        _LT_TAGVAR(archive_cmds, $1)=''
-        _LT_TAGVAR(hardcode_direct, $1)=yes
-        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-        _LT_TAGVAR(link_all_deplibs, $1)=yes
-        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
-
-        if test "$GXX" = yes; then
-          case $host_os in aix4.[[012]]|aix4.[[012]].*)
-          # We only want to do this on AIX 4.2 and lower, the check
-          # below for broken collect2 doesn't work under 4.3+
-         collect2name=`${CC} -print-prog-name=collect2`
-         if test -f "$collect2name" &&
-            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
-         then
-           # We have reworked collect2
-           :
-         else
-           # We have old collect2
-           _LT_TAGVAR(hardcode_direct, $1)=unsupported
-           # It fails to find uninstalled libraries when the uninstalled
-           # path is not listed in the libpath.  Setting hardcode_minus_L
-           # to unsupported forces relinking
-           _LT_TAGVAR(hardcode_minus_L, $1)=yes
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=
-         fi
-          esac
-          shared_flag='-shared'
-         if test "$aix_use_runtimelinking" = yes; then
-           shared_flag="$shared_flag "'${wl}-G'
-         fi
-        else
-          # not using gcc
-          if test "$host_cpu" = ia64; then
-         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
-         # chokes on -Wl,-G. The following line is correct:
-         shared_flag='-G'
-          else
-           if test "$aix_use_runtimelinking" = yes; then
-             shared_flag='${wl}-G'
-           else
-             shared_flag='${wl}-bM:SRE'
-           fi
-          fi
-        fi
-
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
-        # It seems that -bexpall does not export symbols beginning with
-        # underscore (_), so it is better to generate a list of symbols to
-       # export.
-        _LT_TAGVAR(always_export_symbols, $1)=yes
-        if test "$aix_use_runtimelinking" = yes; then
-          # Warning - without using the other runtime loading flags (-brtl),
-          # -berok will link without error, but may produce a broken library.
-          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
-          # Determine the default libpath from the value encoded in an empty
-          # executable.
-          _LT_SYS_MODULE_PATH_AIX([$1])
-          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-        else
-          if test "$host_cpu" = ia64; then
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
-           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
-           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
-          else
-           # Determine the default libpath from the value encoded in an
-           # empty executable.
-           _LT_SYS_MODULE_PATH_AIX([$1])
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-           # Warning - without using the other run time loading flags,
-           # -berok will link without error, but may produce a broken library.
-           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
-           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-           if test "$with_gnu_ld" = yes; then
-             # We only use this code for GNU lds that support --whole-archive.
-             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
-           else
-             # Exported symbols can be pulled into shared objects from archives
-             _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
-           fi
-           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-           # This is similar to how AIX traditionally builds its shared
-           # libraries.
-           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
-          fi
-        fi
-        ;;
-
-      beos*)
-       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
-         # support --undefined.  This deserves some investigation.  FIXME
-         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       else
-         _LT_TAGVAR(ld_shlibs, $1)=no
-       fi
-       ;;
-
-      chorus*)
-        case $cc_basename in
-          *)
-         # FIXME: insert proper C++ library support
-         _LT_TAGVAR(ld_shlibs, $1)=no
-         ;;
-        esac
-        ;;
-
-      cygwin* | mingw* | pw32* | cegcc*)
-       case $GXX,$cc_basename in
-       ,cl* | no,cl*)
-         # Native MSVC
-         # hardcode_libdir_flag_spec is actually meaningless, as there is
-         # no search path for DLLs.
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-         _LT_TAGVAR(always_export_symbols, $1)=yes
-         _LT_TAGVAR(file_list_spec, $1)='@'
-         # Tell ltmain to make .lib files, not .a files.
-         libext=lib
-         # Tell ltmain to make .dll files, not .so files.
-         shrext_cmds=".dll"
-         # FIXME: Setting linknames here is a bad hack.
-         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
-         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-             $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
-           else
-             $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
-           fi~
-           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
-           linknames='
-         # The linker will not automatically build a static lib if we build a DLL.
-         # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-         # Don't use ranlib
-         _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
-         _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
-           lt_tool_outputfile="@TOOL_OUTPUT@"~
-           case $lt_outputfile in
-             *.exe|*.EXE) ;;
-             *)
-               lt_outputfile="$lt_outputfile.exe"
-               lt_tool_outputfile="$lt_tool_outputfile.exe"
-               ;;
-           esac~
-           func_to_tool_file "$lt_outputfile"~
-           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
-             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
-             $RM "$lt_outputfile.manifest";
-           fi'
-         ;;
-       *)
-         # g++
-         # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-         # as there is no search path for DLLs.
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
-         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-         _LT_TAGVAR(always_export_symbols, $1)=no
-         _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-
-         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-           # If the export-symbols file already is a .def file (1st line
-           # is EXPORTS), use it as is; otherwise, prepend...
-           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-             cp $export_symbols $output_objdir/$soname.def;
-           else
-             echo EXPORTS > $output_objdir/$soname.def;
-             cat $export_symbols >> $output_objdir/$soname.def;
-           fi~
-           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-         else
-           _LT_TAGVAR(ld_shlibs, $1)=no
-         fi
-         ;;
-       esac
-       ;;
-      darwin* | rhapsody*)
-        _LT_DARWIN_LINKER_FEATURES($1)
-       ;;
-
-      dgux*)
-        case $cc_basename in
-          ec++*)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          ghcx*)
-           # Green Hills C++ Compiler
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          *)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-        esac
-        ;;
-
-      freebsd2.*)
-        # C++ shared libraries reported to be fairly broken before
-       # switch to ELF
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      freebsd-elf*)
-        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-        ;;
-
-      freebsd* | dragonfly*)
-        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
-        # conventions
-        _LT_TAGVAR(ld_shlibs, $1)=yes
-        ;;
-
-      gnu*)
-        ;;
-
-      haiku*)
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(link_all_deplibs, $1)=yes
-        ;;
-
-      hpux9*)
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-        _LT_TAGVAR(hardcode_direct, $1)=yes
-        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
-                                            # but as the default
-                                            # location of the library.
-
-        case $cc_basename in
-          CC*)
-            # FIXME: insert proper C++ library support
-            _LT_TAGVAR(ld_shlibs, $1)=no
-            ;;
-          aCC*)
-            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-            # Commands to make compiler produce verbose output that lists
-            # what "hidden" libraries, object files and flags are used when
-            # linking a shared library.
-            #
-            # There doesn't appear to be a way to prevent this compiler from
-            # explicitly linking system object files so we need to strip them
-            # from the output so that they don't get included in the library
-            # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
-            ;;
-          *)
-            if test "$GXX" = yes; then
-              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-            else
-              # FIXME: insert proper C++ library support
-              _LT_TAGVAR(ld_shlibs, $1)=no
-            fi
-            ;;
-        esac
-        ;;
-
-      hpux10*|hpux11*)
-        if test $with_gnu_ld = no; then
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
-         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-          case $host_cpu in
-            hppa*64*|ia64*)
-              ;;
-            *)
-             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-              ;;
-          esac
-        fi
-        case $host_cpu in
-          hppa*64*|ia64*)
-            _LT_TAGVAR(hardcode_direct, $1)=no
-            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-            ;;
-          *)
-            _LT_TAGVAR(hardcode_direct, $1)=yes
-            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
-                                                # but as the default
-                                                # location of the library.
-            ;;
-        esac
-
-        case $cc_basename in
-          CC*)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          aCC*)
-           case $host_cpu in
-             hppa*64*)
-               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-               ;;
-             ia64*)
-               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-               ;;
-             *)
-               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-               ;;
-           esac
-           # Commands to make compiler produce verbose output that lists
-           # what "hidden" libraries, object files and flags are used when
-           # linking a shared library.
-           #
-           # There doesn't appear to be a way to prevent this compiler from
-           # explicitly linking system object files so we need to strip them
-           # from the output so that they don't get included in the library
-           # dependencies.
-           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
-           ;;
-          *)
-           if test "$GXX" = yes; then
-             if test $with_gnu_ld = no; then
-               case $host_cpu in
-                 hppa*64*)
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-                   ;;
-                 ia64*)
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-                   ;;
-                 *)
-                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-                   ;;
-               esac
-             fi
-           else
-             # FIXME: insert proper C++ library support
-             _LT_TAGVAR(ld_shlibs, $1)=no
-           fi
-           ;;
-        esac
-        ;;
-
-      interix[[3-9]]*)
-       _LT_TAGVAR(hardcode_direct, $1)=no
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
-       # Instead, shared libraries are loaded at an image base (0x10000000 by
-       # default) and relocated if they conflict, which is a slow very memory
-       # consuming and fragmenting process.  To avoid this, we pick a random,
-       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
-       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-       ;;
-      irix5* | irix6*)
-        case $cc_basename in
-          CC*)
-           # SGI C++
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-
-           # Archives containing C++ object files must be created using
-           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
-           # necessary to make sure instantiated templates are included
-           # in the archive.
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
-           ;;
-          *)
-           if test "$GXX" = yes; then
-             if test "$with_gnu_ld" = no; then
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-             else
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
-             fi
-           fi
-           _LT_TAGVAR(link_all_deplibs, $1)=yes
-           ;;
-        esac
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-        _LT_TAGVAR(inherit_rpath, $1)=yes
-        ;;
-
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
-        case $cc_basename in
-          KCC*)
-           # Kuck and Associates, Inc. (KAI) C++ Compiler
-
-           # KCC will only create a shared library if the output file
-           # ends with ".so" (or ".sl" for HP-UX), so rename the library
-           # to its proper name (with version) after linking.
-           _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
-           # Commands to make compiler produce verbose output that lists
-           # what "hidden" libraries, object files and flags are used when
-           # linking a shared library.
-           #
-           # There doesn't appear to be a way to prevent this compiler from
-           # explicitly linking system object files so we need to strip them
-           # from the output so that they don't get included in the library
-           # dependencies.
-           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
-
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
-           # Archives containing C++ object files must be created using
-           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
-           ;;
-         icpc* | ecpc* )
-           # Intel C++
-           with_gnu_ld=yes
-           # version 8.0 and above of icpc choke on multiply defined symbols
-           # if we add $predep_objects and $postdep_objects, however 7.1 and
-           # earlier do not add the objects themselves.
-           case `$CC -V 2>&1` in
-             *"Version 7."*)
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-               ;;
-             *)  # Version 8.0 or newer
-               tmp_idyn=
-               case $host_cpu in
-                 ia64*) tmp_idyn=' -i_dynamic';;
-               esac
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-               ;;
-           esac
-           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
-           ;;
-          pgCC* | pgcpp*)
-            # Portland Group C++ compiler
-           case `$CC -V` in
-           *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
-             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
-               rm -rf $tpldir~
-               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
-             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
-               rm -rf $tpldir~
-               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
-               $RANLIB $oldlib'
-             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
-               rm -rf $tpldir~
-               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
-               rm -rf $tpldir~
-               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-             ;;
-           *) # Version 6 and above use weak symbols
-             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-             ;;
-           esac
-
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-            ;;
-         cxx*)
-           # Compaq C++
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
-
-           runpath_var=LD_RUN_PATH
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-           # Commands to make compiler produce verbose output that lists
-           # what "hidden" libraries, object files and flags are used when
-           # linking a shared library.
-           #
-           # There doesn't appear to be a way to prevent this compiler from
-           # explicitly linking system object files so we need to strip them
-           # from the output so that they don't get included in the library
-           # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
-           ;;
-         xl* | mpixl* | bgxl*)
-           # IBM XL 8.0 on PPC, with GNU ld
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-           if test "x$supports_anon_versioning" = xyes; then
-             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-               echo "local: *; };" >> $output_objdir/$libname.ver~
-               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-           fi
-           ;;
-         *)
-           case `$CC -V 2>&1 | sed 5q` in
-           *Sun\ C*)
-             # Sun C++ 5.9
-             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-             _LT_TAGVAR(compiler_needs_object, $1)=yes
-
-             # Not sure whether something based on
-             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
-             # would be better.
-             output_verbose_link_cmd='func_echo_all'
-
-             # Archives containing C++ object files must be created using
-             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
-             # necessary to make sure instantiated templates are included
-             # in the archive.
-             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
-             ;;
-           esac
-           ;;
-       esac
-       ;;
-
-      lynxos*)
-        # FIXME: insert proper C++ library support
-       _LT_TAGVAR(ld_shlibs, $1)=no
-       ;;
-
-      m88k*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-       ;;
-
-      mvs*)
-        case $cc_basename in
-          cxx*)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-         *)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-       esac
-       ;;
-
-      netbsd*)
-        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
-         wlarc=
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-         _LT_TAGVAR(hardcode_direct, $1)=yes
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-       fi
-       # Workaround some broken pre-1.5 toolchains
-       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
-       ;;
-
-      *nto* | *qnx*)
-        _LT_TAGVAR(ld_shlibs, $1)=yes
-       ;;
-
-      openbsd2*)
-        # C++ shared libraries are fairly broken
-       _LT_TAGVAR(ld_shlibs, $1)=no
-       ;;
-
-      openbsd*)
-       if test -f /usr/libexec/ld.so; then
-         _LT_TAGVAR(hardcode_direct, $1)=yes
-         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
-           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-         fi
-         output_verbose_link_cmd=func_echo_all
-       else
-         _LT_TAGVAR(ld_shlibs, $1)=no
-       fi
-       ;;
-
-      osf3* | osf4* | osf5*)
-        case $cc_basename in
-          KCC*)
-           # Kuck and Associates, Inc. (KAI) C++ Compiler
-
-           # KCC will only create a shared library if the output file
-           # ends with ".so" (or ".sl" for HP-UX), so rename the library
-           # to its proper name (with version) after linking.
-           _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
-
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-           # Archives containing C++ object files must be created using
-           # the KAI C++ compiler.
-           case $host in
-             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
-             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
-           esac
-           ;;
-          RCC*)
-           # Rational C++ 2.4.1
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          cxx*)
-           case $host in
-             osf3*)
-               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-               ;;
-             *)
-               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
-                 echo "-hidden">> $lib.exp~
-                 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
-                 $RM $lib.exp'
-               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
-               ;;
-           esac
-
-           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-           # Commands to make compiler produce verbose output that lists
-           # what "hidden" libraries, object files and flags are used when
-           # linking a shared library.
-           #
-           # There doesn't appear to be a way to prevent this compiler from
-           # explicitly linking system object files so we need to strip them
-           # from the output so that they don't get included in the library
-           # dependencies.
-           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
-           ;;
-         *)
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
-             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
-             case $host in
-               osf3*)
-                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-                 ;;
-               *)
-                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-                 ;;
-             esac
-
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-             # Commands to make compiler produce verbose output that lists
-             # what "hidden" libraries, object files and flags are used when
-             # linking a shared library.
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
-
-           else
-             # FIXME: insert proper C++ library support
-             _LT_TAGVAR(ld_shlibs, $1)=no
-           fi
-           ;;
-        esac
-        ;;
-
-      psos*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      sunos4*)
-        case $cc_basename in
-          CC*)
-           # Sun C++ 4.x
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          lcc*)
-           # Lucid
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          *)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-        esac
-        ;;
-
-      solaris*)
-        case $cc_basename in
-          CC* | sunCC*)
-           # Sun C++ 4.2, 5.x and Centerline C++
-            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
-           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-             $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-           case $host_os in
-             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-             *)
-               # The compiler driver will combine and reorder linker options,
-               # but understands `-z linker_flag'.
-               # Supported since Solaris 2.6 (maybe 2.5.1?)
-               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
-               ;;
-           esac
-           _LT_TAGVAR(link_all_deplibs, $1)=yes
-
-           output_verbose_link_cmd='func_echo_all'
-
-           # Archives containing C++ object files must be created using
-           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
-           # necessary to make sure instantiated templates are included
-           # in the archive.
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
-           ;;
-          gcx*)
-           # Green Hills C++ Compiler
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-
-           # The C++ compiler must be used to create the archive.
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
-           ;;
-          *)
-           # GNU C++ compiler with Solaris linker
-           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
-             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
-             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-               # Commands to make compiler produce verbose output that lists
-               # what "hidden" libraries, object files and flags are used when
-               # linking a shared library.
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
-             else
-               # g++ 2.7 appears to require `-G' NOT `-shared' on this
-               # platform.
-               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-               # Commands to make compiler produce verbose output that lists
-               # what "hidden" libraries, object files and flags are used when
-               # linking a shared library.
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
-             fi
-
-             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
-             case $host_os in
-               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-               *)
-                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
-                 ;;
-             esac
-           fi
-           ;;
-        esac
-        ;;
-
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      runpath_var='LD_RUN_PATH'
-
-      case $cc_basename in
-        CC*)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       *)
-         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-      esac
-      ;;
-
-      sysv5* | sco3.2v5* | sco5v6*)
-       # Note: We can NOT use -z defs as we might desire, because we do not
-       # link with -lc, and that would cause any symbols used from libc to
-       # always be unresolved, which means just about no library would
-       # ever link correctly.  If we're not using GNU ld we use -z text
-       # though, which does catch some bad symbols but isn't as heavy-handed
-       # as -z defs.
-       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
-       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
-       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-       _LT_TAGVAR(link_all_deplibs, $1)=yes
-       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
-       runpath_var='LD_RUN_PATH'
-
-       case $cc_basename in
-          CC*)
-           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
-             '"$_LT_TAGVAR(old_archive_cmds, $1)"
-           _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
-             '"$_LT_TAGVAR(reload_cmds, $1)"
-           ;;
-         *)
-           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-           ;;
-       esac
-      ;;
-
-      tandem*)
-        case $cc_basename in
-          NCC*)
-           # NonStop-UX NCC 3.20
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-          *)
-           # FIXME: insert proper C++ library support
-           _LT_TAGVAR(ld_shlibs, $1)=no
-           ;;
-        esac
-        ;;
-
-      vxworks*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      *)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-    esac
-
-    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
-    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-    _LT_TAGVAR(GCC, $1)="$GXX"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_SYS_HIDDEN_LIBDEPS($1)
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  CC=$lt_save_CC
-  CFLAGS=$lt_save_CFLAGS
-  LDCXX=$LD
-  LD=$lt_save_LD
-  GCC=$lt_save_GCC
-  with_gnu_ld=$lt_save_with_gnu_ld
-  lt_cv_path_LDCXX=$lt_cv_path_LD
-  lt_cv_path_LD=$lt_save_path_LD
-  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
-  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
-fi # test "$_lt_caught_CXX_error" != yes
-
-AC_LANG_POP
-])# _LT_LANG_CXX_CONFIG
-
-
-# _LT_FUNC_STRIPNAME_CNF
-# ----------------------
-# func_stripname_cnf prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-#
-# This function is identical to the (non-XSI) version of func_stripname,
-# except this one can be used by m4 code that may be executed by configure,
-# rather than the libtool script.
-m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
-AC_REQUIRE([_LT_DECL_SED])
-AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
-func_stripname_cnf ()
-{
-  case ${2} in
-  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
-  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
-  esac
-} # func_stripname_cnf
-])# _LT_FUNC_STRIPNAME_CNF
-
-# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
-# ---------------------------------
-# Figure out "hidden" library dependencies from verbose
-# compiler output when linking a shared library.
-# Parse the compiler output and extract the necessary
-# objects, libraries and library flags.
-m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
-# Dependencies to place before and after the object being linked:
-_LT_TAGVAR(predep_objects, $1)=
-_LT_TAGVAR(postdep_objects, $1)=
-_LT_TAGVAR(predeps, $1)=
-_LT_TAGVAR(postdeps, $1)=
-_LT_TAGVAR(compiler_lib_search_path, $1)=
-
-dnl we can't use the lt_simple_compile_test_code here,
-dnl because it contains code intended for an executable,
-dnl not a library.  It's possible we should let each
-dnl tag define a new lt_????_link_test_code variable,
-dnl but it's only used here...
-m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
-int a;
-void foo (void) { a = 0; }
-_LT_EOF
-], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
-class Foo
-{
-public:
-  Foo (void) { a = 0; }
-private:
-  int a;
-};
-_LT_EOF
-], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
-      subroutine foo
-      implicit none
-      integer*4 a
-      a=0
-      return
-      end
-_LT_EOF
-], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
-      subroutine foo
-      implicit none
-      integer a
-      a=0
-      return
-      end
-_LT_EOF
-], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
-public class foo {
-  private int a;
-  public void bar (void) {
-    a = 0;
-  }
-};
-_LT_EOF
-], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
-package foo
-func foo() {
-}
-_LT_EOF
-])
-
-_lt_libdeps_save_CFLAGS=$CFLAGS
-case "$CC $CFLAGS " in #(
-*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
-*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
-*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
-esac
-
-dnl Parse the compiler output and extract the necessary
-dnl objects, libraries and library flags.
-if AC_TRY_EVAL(ac_compile); then
-  # Parse the compiler output and extract the necessary
-  # objects, libraries and library flags.
-
-  # Sentinel used to keep track of whether or not we are before
-  # the conftest object file.
-  pre_test_object_deps_done=no
-
-  for p in `eval "$output_verbose_link_cmd"`; do
-    case ${prev}${p} in
-
-    -L* | -R* | -l*)
-       # Some compilers place space between "-{L,R}" and the path.
-       # Remove the space.
-       if test $p = "-L" ||
-          test $p = "-R"; then
-        prev=$p
-        continue
-       fi
-
-       # Expand the sysroot to ease extracting the directories later.
-       if test -z "$prev"; then
-         case $p in
-         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
-         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
-         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
-         esac
-       fi
-       case $p in
-       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
-       esac
-       if test "$pre_test_object_deps_done" = no; then
-        case ${prev} in
-        -L | -R)
-          # Internal compiler library paths should come after those
-          # provided the user.  The postdeps already come after the
-          # user supplied libs so there is no need to process them.
-          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
-          else
-            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
-          fi
-          ;;
-        # The "-l" case would never come before the object being
-        # linked, so don't bother handling this case.
-        esac
-       else
-        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
-          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
-        else
-          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
-        fi
-       fi
-       prev=
-       ;;
-
-    *.lto.$objext) ;; # Ignore GCC LTO objects
-    *.$objext)
-       # This assumes that the test object file only shows up
-       # once in the compiler output.
-       if test "$p" = "conftest.$objext"; then
-        pre_test_object_deps_done=yes
-        continue
-       fi
-
-       if test "$pre_test_object_deps_done" = no; then
-        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
-          _LT_TAGVAR(predep_objects, $1)="$p"
-        else
-          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
-        fi
-       else
-        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
-          _LT_TAGVAR(postdep_objects, $1)="$p"
-        else
-          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
-        fi
-       fi
-       ;;
-
-    *) ;; # Ignore the rest.
-
-    esac
-  done
-
-  # Clean up.
-  rm -f a.out a.exe
-else
-  echo "libtool.m4: error: problem compiling $1 test program"
-fi
-
-$RM -f confest.$objext
-CFLAGS=$_lt_libdeps_save_CFLAGS
-
-# PORTME: override above test on systems where it is broken
-m4_if([$1], [CXX],
-[case $host_os in
-interix[[3-9]]*)
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
-  # hack all around it, let's just trust "g++" to DTRT.
-  _LT_TAGVAR(predep_objects,$1)=
-  _LT_TAGVAR(postdep_objects,$1)=
-  _LT_TAGVAR(postdeps,$1)=
-  ;;
-
-linux*)
-  case `$CC -V 2>&1 | sed 5q` in
-  *Sun\ C*)
-    # Sun C++ 5.9
-
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
-
-    if test "$solaris_use_stlport4" != yes; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
-
-solaris*)
-  case $cc_basename in
-  CC* | sunCC*)
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
-
-    # Adding this requires a known-good setup of shared libraries for
-    # Sun compiler versions before 5.6, else PIC objects from an old
-    # archive will be linked into the output, leading to subtle bugs.
-    if test "$solaris_use_stlport4" != yes; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
-esac
-])
-
-case " $_LT_TAGVAR(postdeps, $1) " in
-*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
-esac
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=
-if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
-fi
-_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
-    [The directories searched by this compiler when creating a shared library])
-_LT_TAGDECL([], [predep_objects], [1],
-    [Dependencies to place before and after the objects being linked to
-    create a shared library])
-_LT_TAGDECL([], [postdep_objects], [1])
-_LT_TAGDECL([], [predeps], [1])
-_LT_TAGDECL([], [postdeps], [1])
-_LT_TAGDECL([], [compiler_lib_search_path], [1],
-    [The library search path used internally by the compiler when linking
-    a shared library])
-])# _LT_SYS_HIDDEN_LIBDEPS
-
-
-# _LT_LANG_F77_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for a Fortran 77 compiler are
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_F77_CONFIG],
-[AC_LANG_PUSH(Fortran 77)
-if test -z "$F77" || test "X$F77" = "Xno"; then
-  _lt_disable_F77=yes
-fi
-
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(reload_flag, $1)=$reload_flag
-_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for f77 test sources.
-ac_ext=f
-
-# Object file extension for compiled f77 test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the F77 compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_disable_F77" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="\
-      subroutine t
-      return
-      end
-"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code="\
-      program t
-      end
-"
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC="$CC"
-  lt_save_GCC=$GCC
-  lt_save_CFLAGS=$CFLAGS
-  CC=${F77-"f77"}
-  CFLAGS=$FFLAGS
-  compiler=$CC
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-  GCC=$G77
-  if test -n "$compiler"; then
-    AC_MSG_CHECKING([if libtool supports shared libraries])
-    AC_MSG_RESULT([$can_build_shared])
-
-    AC_MSG_CHECKING([whether to build shared libraries])
-    test "$can_build_shared" = "no" && enable_shared=no
-
-    # On AIX, shared libraries and static libraries use the same namespace, and
-    # are all built from PIC.
-    case $host_os in
-      aix3*)
-        test "$enable_shared" = yes && enable_static=no
-        if test -n "$RANLIB"; then
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
-          postinstall_cmds='$RANLIB $lib'
-        fi
-        ;;
-      aix[[4-9]]*)
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-         test "$enable_shared" = yes && enable_static=no
-       fi
-        ;;
-    esac
-    AC_MSG_RESULT([$enable_shared])
-
-    AC_MSG_CHECKING([whether to build static libraries])
-    # Make sure either enable_shared or enable_static is yes.
-    test "$enable_shared" = yes || enable_static=yes
-    AC_MSG_RESULT([$enable_static])
-
-    _LT_TAGVAR(GCC, $1)="$G77"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  GCC=$lt_save_GCC
-  CC="$lt_save_CC"
-  CFLAGS="$lt_save_CFLAGS"
-fi # test "$_lt_disable_F77" != yes
-
-AC_LANG_POP
-])# _LT_LANG_F77_CONFIG
-
-
-# _LT_LANG_FC_CONFIG([TAG])
-# -------------------------
-# Ensure that the configuration variables for a Fortran compiler are
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_FC_CONFIG],
-[AC_LANG_PUSH(Fortran)
-
-if test -z "$FC" || test "X$FC" = "Xno"; then
-  _lt_disable_FC=yes
-fi
-
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(reload_flag, $1)=$reload_flag
-_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for fc test sources.
-ac_ext=${ac_fc_srcext-f}
-
-# Object file extension for compiled fc test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the FC compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_disable_FC" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="\
-      subroutine t
-      return
-      end
-"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code="\
-      program t
-      end
-"
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC="$CC"
-  lt_save_GCC=$GCC
-  lt_save_CFLAGS=$CFLAGS
-  CC=${FC-"f95"}
-  CFLAGS=$FCFLAGS
-  compiler=$CC
-  GCC=$ac_cv_fc_compiler_gnu
-
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-
-  if test -n "$compiler"; then
-    AC_MSG_CHECKING([if libtool supports shared libraries])
-    AC_MSG_RESULT([$can_build_shared])
-
-    AC_MSG_CHECKING([whether to build shared libraries])
-    test "$can_build_shared" = "no" && enable_shared=no
-
-    # On AIX, shared libraries and static libraries use the same namespace, and
-    # are all built from PIC.
-    case $host_os in
-      aix3*)
-        test "$enable_shared" = yes && enable_static=no
-        if test -n "$RANLIB"; then
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
-          postinstall_cmds='$RANLIB $lib'
-        fi
-        ;;
-      aix[[4-9]]*)
-       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-         test "$enable_shared" = yes && enable_static=no
-       fi
-        ;;
-    esac
-    AC_MSG_RESULT([$enable_shared])
-
-    AC_MSG_CHECKING([whether to build static libraries])
-    # Make sure either enable_shared or enable_static is yes.
-    test "$enable_shared" = yes || enable_static=yes
-    AC_MSG_RESULT([$enable_static])
-
-    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_SYS_HIDDEN_LIBDEPS($1)
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  GCC=$lt_save_GCC
-  CC=$lt_save_CC
-  CFLAGS=$lt_save_CFLAGS
-fi # test "$_lt_disable_FC" != yes
-
-AC_LANG_POP
-])# _LT_LANG_FC_CONFIG
-
-
-# _LT_LANG_GCJ_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for the GNU Java Compiler compiler
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_GCJ_CONFIG],
-[AC_REQUIRE([LT_PROG_GCJ])dnl
-AC_LANG_SAVE
-
-# Source file extension for Java test sources.
-ac_ext=java
-
-# Object file extension for compiled Java test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="class foo {}"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_TAG_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC=$CC
-lt_save_CFLAGS=$CFLAGS
-lt_save_GCC=$GCC
-GCC=yes
-CC=${GCJ-"gcj"}
-CFLAGS=$GCJFLAGS
-compiler=$CC
-_LT_TAGVAR(compiler, $1)=$CC
-_LT_TAGVAR(LD, $1)="$LD"
-_LT_CC_BASENAME([$compiler])
-
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(reload_flag, $1)=$reload_flag
-_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
-
-if test -n "$compiler"; then
-  _LT_COMPILER_NO_RTTI($1)
-  _LT_COMPILER_PIC($1)
-  _LT_COMPILER_C_O($1)
-  _LT_COMPILER_FILE_LOCKS($1)
-  _LT_LINKER_SHLIBS($1)
-  _LT_LINKER_HARDCODE_LIBPATH($1)
-
-  _LT_CONFIG($1)
-fi
-
-AC_LANG_RESTORE
-
-GCC=$lt_save_GCC
-CC=$lt_save_CC
-CFLAGS=$lt_save_CFLAGS
-])# _LT_LANG_GCJ_CONFIG
-
-
-# _LT_LANG_GO_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for the GNU Go compiler
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_GO_CONFIG],
-[AC_REQUIRE([LT_PROG_GO])dnl
-AC_LANG_SAVE
-
-# Source file extension for Go test sources.
-ac_ext=go
-
-# Object file extension for compiled Go test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="package main; func main() { }"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='package main; func main() { }'
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_TAG_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC=$CC
-lt_save_CFLAGS=$CFLAGS
-lt_save_GCC=$GCC
-GCC=yes
-CC=${GOC-"gccgo"}
-CFLAGS=$GOFLAGS
-compiler=$CC
-_LT_TAGVAR(compiler, $1)=$CC
-_LT_TAGVAR(LD, $1)="$LD"
-_LT_CC_BASENAME([$compiler])
-
-# Go did not exist at the time GCC didn't implicitly link libc in.
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(reload_flag, $1)=$reload_flag
-_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
-
-if test -n "$compiler"; then
-  _LT_COMPILER_NO_RTTI($1)
-  _LT_COMPILER_PIC($1)
-  _LT_COMPILER_C_O($1)
-  _LT_COMPILER_FILE_LOCKS($1)
-  _LT_LINKER_SHLIBS($1)
-  _LT_LINKER_HARDCODE_LIBPATH($1)
-
-  _LT_CONFIG($1)
-fi
-
-AC_LANG_RESTORE
-
-GCC=$lt_save_GCC
-CC=$lt_save_CC
-CFLAGS=$lt_save_CFLAGS
-])# _LT_LANG_GO_CONFIG
-
-
-# _LT_LANG_RC_CONFIG([TAG])
-# -------------------------
-# Ensure that the configuration variables for the Windows resource compiler
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_RC_CONFIG],
-[AC_REQUIRE([LT_PROG_RC])dnl
-AC_LANG_SAVE
-
-# Source file extension for RC test sources.
-ac_ext=rc
-
-# Object file extension for compiled RC test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
-
-# Code to be used in simple link tests
-lt_simple_link_test_code="$lt_simple_compile_test_code"
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_TAG_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-lt_save_CFLAGS=$CFLAGS
-lt_save_GCC=$GCC
-GCC=
-CC=${RC-"windres"}
-CFLAGS=
-compiler=$CC
-_LT_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
-
-if test -n "$compiler"; then
-  :
-  _LT_CONFIG($1)
-fi
-
-GCC=$lt_save_GCC
-AC_LANG_RESTORE
-CC=$lt_save_CC
-CFLAGS=$lt_save_CFLAGS
-])# _LT_LANG_RC_CONFIG
-
-
-# LT_PROG_GCJ
-# -----------
-AC_DEFUN([LT_PROG_GCJ],
-[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
-  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
-    [AC_CHECK_TOOL(GCJ, gcj,)
-      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
-      AC_SUBST(GCJFLAGS)])])[]dnl
-])
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
-
-
-# LT_PROG_GO
-# ----------
-AC_DEFUN([LT_PROG_GO],
-[AC_CHECK_TOOL(GOC, gccgo,)
-])
-
-
-# LT_PROG_RC
-# ----------
-AC_DEFUN([LT_PROG_RC],
-[AC_CHECK_TOOL(RC, windres,)
-])
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_RC], [])
-
-
-# _LT_DECL_EGREP
-# --------------
-# If we don't have a new enough Autoconf to choose the best grep
-# available, choose the one first in the user's PATH.
-m4_defun([_LT_DECL_EGREP],
-[AC_REQUIRE([AC_PROG_EGREP])dnl
-AC_REQUIRE([AC_PROG_FGREP])dnl
-test -z "$GREP" && GREP=grep
-_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
-_LT_DECL([], [EGREP], [1], [An ERE matcher])
-_LT_DECL([], [FGREP], [1], [A literal string matcher])
-dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
-AC_SUBST([GREP])
-])
-
-
-# _LT_DECL_OBJDUMP
-# --------------
-# If we don't have a new enough Autoconf to choose the best objdump
-# available, choose the one first in the user's PATH.
-m4_defun([_LT_DECL_OBJDUMP],
-[AC_CHECK_TOOL(OBJDUMP, objdump, false)
-test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
-AC_SUBST([OBJDUMP])
-])
-
-# _LT_DECL_DLLTOOL
-# ----------------
-# Ensure DLLTOOL variable is set.
-m4_defun([_LT_DECL_DLLTOOL],
-[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
-AC_SUBST([DLLTOOL])
-])
-
-# _LT_DECL_SED
-# ------------
-# Check for a fully-functional sed program, that truncates
-# as few characters as possible.  Prefer GNU sed if found.
-m4_defun([_LT_DECL_SED],
-[AC_PROG_SED
-test -z "$SED" && SED=sed
-Xsed="$SED -e 1s/^X//"
-_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
-_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
-    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
-])# _LT_DECL_SED
-
-m4_ifndef([AC_PROG_SED], [
-# NOTE: This macro has been submitted for inclusion into   #
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
-#  a released version of Autoconf we should remove this    #
-#  macro and use it instead.                               #
-
-m4_defun([AC_PROG_SED],
-[AC_MSG_CHECKING([for a sed that does not truncate output])
-AC_CACHE_VAL(lt_cv_path_SED,
-[# Loop through the user's path and test for sed and gsed.
-# Then use that list of sed's as ones to test for truncation.
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for lt_ac_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
-      fi
-    done
-  done
-done
-IFS=$as_save_IFS
-lt_ac_max=0
-lt_ac_count=0
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
-# along with /bin/sed that truncates output.
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
-  test ! -f $lt_ac_sed && continue
-  cat /dev/null > conftest.in
-  lt_ac_count=0
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
-  # Check for GNU sed and select it if it is found.
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
-    lt_cv_path_SED=$lt_ac_sed
-    break
-  fi
-  while true; do
-    cat conftest.in conftest.in >conftest.tmp
-    mv conftest.tmp conftest.in
-    cp conftest.in conftest.nl
-    echo >>conftest.nl
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
-    cmp -s conftest.out conftest.nl || break
-    # 10000 chars as input seems more than enough
-    test $lt_ac_count -gt 10 && break
-    lt_ac_count=`expr $lt_ac_count + 1`
-    if test $lt_ac_count -gt $lt_ac_max; then
-      lt_ac_max=$lt_ac_count
-      lt_cv_path_SED=$lt_ac_sed
-    fi
-  done
-done
-])
-SED=$lt_cv_path_SED
-AC_SUBST([SED])
-AC_MSG_RESULT([$SED])
-])#AC_PROG_SED
-])#m4_ifndef
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_SED], [])
-
-
-# _LT_CHECK_SHELL_FEATURES
-# ------------------------
-# Find out whether the shell is Bourne or XSI compatible,
-# or has some other useful features.
-m4_defun([_LT_CHECK_SHELL_FEATURES],
-[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
-# Try some XSI features
-xsi_shell=no
-( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,b/c, \
-    && eval 'test $(( 1 + 1 )) -eq 2 \
-    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
-  && xsi_shell=yes
-AC_MSG_RESULT([$xsi_shell])
-_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
-
-AC_MSG_CHECKING([whether the shell understands "+="])
-lt_shell_append=no
-( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
-    >/dev/null 2>&1 \
-  && lt_shell_append=yes
-AC_MSG_RESULT([$lt_shell_append])
-_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
-
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  lt_unset=unset
-else
-  lt_unset=false
-fi
-_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
-
-# test EBCDIC or ASCII
-case `echo X|tr X '\101'` in
- A) # ASCII based system
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
-  lt_SP2NL='tr \040 \012'
-  lt_NL2SP='tr \015\012 \040\040'
-  ;;
- *) # EBCDIC based system
-  lt_SP2NL='tr \100 \n'
-  lt_NL2SP='tr \r\n \100\100'
-  ;;
-esac
-_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
-_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
-])# _LT_CHECK_SHELL_FEATURES
-
-
-# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
-# ------------------------------------------------------
-# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
-# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
-m4_defun([_LT_PROG_FUNCTION_REPLACE],
-[dnl {
-sed -e '/^$1 ()$/,/^} # $1 /c\
-$1 ()\
-{\
-m4_bpatsubsts([$2], [$], [\\], [^\([    ]\)], [\\\1])
-} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-])
-
-
-# _LT_PROG_REPLACE_SHELLFNS
-# -------------------------
-# Replace existing portable implementations of several shell functions with
-# equivalent extended shell implementations where those features are available..
-m4_defun([_LT_PROG_REPLACE_SHELLFNS],
-[if test x"$xsi_shell" = xyes; then
-  _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
-    case ${1} in
-      */*) func_dirname_result="${1%/*}${2}" ;;
-      *  ) func_dirname_result="${3}" ;;
-    esac])
-
-  _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
-    func_basename_result="${1##*/}"])
-
-  _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
-    case ${1} in
-      */*) func_dirname_result="${1%/*}${2}" ;;
-      *  ) func_dirname_result="${3}" ;;
-    esac
-    func_basename_result="${1##*/}"])
-
-  _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
-    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-    # positional parameters, so assign one to ordinary parameter first.
-    func_stripname_result=${3}
-    func_stripname_result=${func_stripname_result#"${1}"}
-    func_stripname_result=${func_stripname_result%"${2}"}])
-
-  _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
-    func_split_long_opt_name=${1%%=*}
-    func_split_long_opt_arg=${1#*=}])
-
-  _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
-    func_split_short_opt_arg=${1#??}
-    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
-
-  _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
-    case ${1} in
-      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-      *)    func_lo2o_result=${1} ;;
-    esac])
-
-  _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])
-
-  _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])
-
-  _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])
-fi
-
-if test x"$lt_shell_append" = xyes; then
-  _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])
-
-  _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
-    func_quote_for_eval "${2}"
-dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
-    eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
-
-  # Save a `func_append' function call where possible by direct use of '+='
-  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
-    && mv -f "$cfgfile.tmp" "$cfgfile" \
-      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-  test 0 -eq $? || _lt_function_replace_fail=:
-else
-  # Save a `func_append' function call even when '+=' is not available
-  sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
-    && mv -f "$cfgfile.tmp" "$cfgfile" \
-      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-  test 0 -eq $? || _lt_function_replace_fail=:
-fi
-
-if test x"$_lt_function_replace_fail" = x":"; then
-  AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
-fi
-])
-
-# _LT_PATH_CONVERSION_FUNCTIONS
-# -----------------------------
-# Determine which file name conversion functions should be used by
-# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
-# for certain cross-compile configurations and native mingw.
-m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-AC_MSG_CHECKING([how to convert $build file names to $host format])
-AC_CACHE_VAL(lt_cv_to_host_file_cmd,
-[case $host in
-  *-*-mingw* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
-        ;;
-      *-*-cygwin* )
-        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
-        ;;
-      * ) # otherwise, assume *nix
-        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
-        ;;
-    esac
-    ;;
-  *-*-cygwin* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
-        ;;
-      *-*-cygwin* )
-        lt_cv_to_host_file_cmd=func_convert_file_noop
-        ;;
-      * ) # otherwise, assume *nix
-        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
-        ;;
-    esac
-    ;;
-  * ) # unhandled hosts (and "normal" native builds)
-    lt_cv_to_host_file_cmd=func_convert_file_noop
-    ;;
-esac
-])
-to_host_file_cmd=$lt_cv_to_host_file_cmd
-AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
-_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
-         [0], [convert $build file names to $host format])dnl
-
-AC_MSG_CHECKING([how to convert $build file names to toolchain format])
-AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
-[#assume ordinary cross tools, or native build.
-lt_cv_to_tool_file_cmd=func_convert_file_noop
-case $host in
-  *-*-mingw* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
-        ;;
-    esac
-    ;;
-esac
-])
-to_tool_file_cmd=$lt_cv_to_tool_file_cmd
-AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
-_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
-         [0], [convert $build files to toolchain format])dnl
-])# _LT_PATH_CONVERSION_FUNCTIONS
-
-# Helper functions for option handling.                    -*- Autoconf -*-
-#
-#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
-#   Inc.
-#   Written by Gary V. Vaughan, 2004
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# serial 7 ltoptions.m4
-
-# This is to help aclocal find these macros, as it can't see m4_define.
-AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
-
-
-# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
-# ------------------------------------------
-m4_define([_LT_MANGLE_OPTION],
-[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
-
-
-# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
-# ---------------------------------------
-# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
-# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
-# saved as a flag.
-m4_define([_LT_SET_OPTION],
-[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
-m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
-        _LT_MANGLE_DEFUN([$1], [$2]),
-    [m4_warning([Unknown $1 option `$2'])])[]dnl
-])
-
-
-# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
-# ------------------------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-m4_define([_LT_IF_OPTION],
-[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
-
-
-# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
-# -------------------------------------------------------
-# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
-# are set.
-m4_define([_LT_UNLESS_OPTIONS],
-[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
-           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
-                     [m4_define([$0_found])])])[]dnl
-m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
-])[]dnl
-])
-
-
-# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
-# ----------------------------------------
-# OPTION-LIST is a space-separated list of Libtool options associated
-# with MACRO-NAME.  If any OPTION has a matching handler declared with
-# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
-# the unknown option and exit.
-m4_defun([_LT_SET_OPTIONS],
-[# Set options
-m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
-    [_LT_SET_OPTION([$1], _LT_Option)])
-
-m4_if([$1],[LT_INIT],[
-  dnl
-  dnl Simply set some default values (i.e off) if boolean options were not
-  dnl specified:
-  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
-  ])
-  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
-  ])
-  dnl
-  dnl If no reference was made to various pairs of opposing options, then
-  dnl we run the default mode handler for the pair.  For example, if neither
-  dnl `shared' nor `disable-shared' was passed, we enable building of shared
-  dnl archives by default:
-  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
-  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
-  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
-  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
-                  [_LT_ENABLE_FAST_INSTALL])
-  ])
-])# _LT_SET_OPTIONS
-
-
-
-# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
-# -----------------------------------------
-m4_define([_LT_MANGLE_DEFUN],
-[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
-
-
-# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
-# -----------------------------------------------
-m4_define([LT_OPTION_DEFINE],
-[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
-])# LT_OPTION_DEFINE
-
-
-# dlopen
-# ------
-LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
-])
-
-AU_DEFUN([AC_LIBTOOL_DLOPEN],
-[_LT_SET_OPTION([LT_INIT], [dlopen])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `dlopen' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
-
-
-# win32-dll
-# ---------
-# Declare package support for building win32 dll's.
-LT_OPTION_DEFINE([LT_INIT], [win32-dll],
-[enable_win32_dll=yes
-
-case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
-  AC_CHECK_TOOL(AS, as, false)
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
-  ;;
-esac
-
-test -z "$AS" && AS=as
-_LT_DECL([], [AS],      [1], [Assembler program])dnl
-
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
-
-test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
-])# win32-dll
-
-AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-_LT_SET_OPTION([LT_INIT], [win32-dll])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `win32-dll' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
-
-
-# _LT_ENABLE_SHARED([DEFAULT])
-# ----------------------------
-# implement the --enable-shared flag, and supports the `shared' and
-# `disable-shared' LT_INIT options.
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_SHARED],
-[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([shared],
-    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
-       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
-    [p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_shared=yes ;;
-    no) enable_shared=no ;;
-    *)
-      enable_shared=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_shared=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac],
-    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
-
-    _LT_DECL([build_libtool_libs], [enable_shared], [0],
-       [Whether or not to build shared libraries])
-])# _LT_ENABLE_SHARED
-
-LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
-
-# Old names:
-AC_DEFUN([AC_ENABLE_SHARED],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
-])
-
-AC_DEFUN([AC_DISABLE_SHARED],
-[_LT_SET_OPTION([LT_INIT], [disable-shared])
-])
-
-AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
-AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_ENABLE_SHARED], [])
-dnl AC_DEFUN([AM_DISABLE_SHARED], [])
-
-
-
-# _LT_ENABLE_STATIC([DEFAULT])
-# ----------------------------
-# implement the --enable-static flag, and support the `static' and
-# `disable-static' LT_INIT options.
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_STATIC],
-[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([static],
-    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
-       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
-    [p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_static=yes ;;
-    no) enable_static=no ;;
-    *)
-     enable_static=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_static=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac],
-    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
-
-    _LT_DECL([build_old_libs], [enable_static], [0],
-       [Whether or not to build static libraries])
-])# _LT_ENABLE_STATIC
-
-LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
-
-# Old names:
-AC_DEFUN([AC_ENABLE_STATIC],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
-])
-
-AC_DEFUN([AC_DISABLE_STATIC],
-[_LT_SET_OPTION([LT_INIT], [disable-static])
-])
-
-AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
-AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_ENABLE_STATIC], [])
-dnl AC_DEFUN([AM_DISABLE_STATIC], [])
-
-
-
-# _LT_ENABLE_FAST_INSTALL([DEFAULT])
-# ----------------------------------
-# implement the --enable-fast-install flag, and support the `fast-install'
-# and `disable-fast-install' LT_INIT options.
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_FAST_INSTALL],
-[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([fast-install],
-    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
-    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
-    [p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_fast_install=yes ;;
-    no) enable_fast_install=no ;;
-    *)
-      enable_fast_install=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_fast_install=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac],
-    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
-
-_LT_DECL([fast_install], [enable_fast_install], [0],
-        [Whether or not to optimize for fast installation])dnl
-])# _LT_ENABLE_FAST_INSTALL
-
-LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
-
-# Old names:
-AU_DEFUN([AC_ENABLE_FAST_INSTALL],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
-the `fast-install' option into LT_INIT's first parameter.])
-])
-
-AU_DEFUN([AC_DISABLE_FAST_INSTALL],
-[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
-the `disable-fast-install' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
-dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
-
-
-# _LT_WITH_PIC([MODE])
-# --------------------
-# implement the --with-pic flag, and support the `pic-only' and `no-pic'
-# LT_INIT options.
-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
-m4_define([_LT_WITH_PIC],
-[AC_ARG_WITH([pic],
-    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
-    [lt_p=${PACKAGE-default}
-    case $withval in
-    yes|no) pic_mode=$withval ;;
-    *)
-      pic_mode=default
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for lt_pkg in $withval; do
-       IFS="$lt_save_ifs"
-       if test "X$lt_pkg" = "X$lt_p"; then
-         pic_mode=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac],
-    [pic_mode=default])
-
-test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
-
-_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
-])# _LT_WITH_PIC
-
-LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
-LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
-
-# Old name:
-AU_DEFUN([AC_LIBTOOL_PICMODE],
-[_LT_SET_OPTION([LT_INIT], [pic-only])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `pic-only' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
-
-
-m4_define([_LTDL_MODE], [])
-LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
-                [m4_define([_LTDL_MODE], [nonrecursive])])
-LT_OPTION_DEFINE([LTDL_INIT], [recursive],
-                [m4_define([_LTDL_MODE], [recursive])])
-LT_OPTION_DEFINE([LTDL_INIT], [subproject],
-                [m4_define([_LTDL_MODE], [subproject])])
-
-m4_define([_LTDL_TYPE], [])
-LT_OPTION_DEFINE([LTDL_INIT], [installable],
-                [m4_define([_LTDL_TYPE], [installable])])
-LT_OPTION_DEFINE([LTDL_INIT], [convenience],
-                [m4_define([_LTDL_TYPE], [convenience])])
-
-# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
-#
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
-# Written by Gary V. Vaughan, 2004
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# serial 6 ltsugar.m4
-
-# This is to help aclocal find these macros, as it can't see m4_define.
-AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
-
-
-# lt_join(SEP, ARG1, [ARG2...])
-# -----------------------------
-# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
-# associated separator.
-# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
-# versions in m4sugar had bugs.
-m4_define([lt_join],
-[m4_if([$#], [1], [],
-       [$#], [2], [[$2]],
-       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
-m4_define([_lt_join],
-[m4_if([$#$2], [2], [],
-       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
-
-
-# lt_car(LIST)
-# lt_cdr(LIST)
-# ------------
-# Manipulate m4 lists.
-# These macros are necessary as long as will still need to support
-# Autoconf-2.59 which quotes differently.
-m4_define([lt_car], [[$1]])
-m4_define([lt_cdr],
-[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
-       [$#], 1, [],
-       [m4_dquote(m4_shift($@))])])
-m4_define([lt_unquote], $1)
-
-
-# lt_append(MACRO-NAME, STRING, [SEPARATOR])
-# ------------------------------------------
-# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
-# Note that neither SEPARATOR nor STRING are expanded; they are appended
-# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
-# No SEPARATOR is output if MACRO-NAME was previously undefined (different
-# than defined and empty).
-#
-# This macro is needed until we can rely on Autoconf 2.62, since earlier
-# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
-m4_define([lt_append],
-[m4_define([$1],
-          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
-
-
-
-# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
-# ----------------------------------------------------------
-# Produce a SEP delimited list of all paired combinations of elements of
-# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
-# has the form PREFIXmINFIXSUFFIXn.
-# Needed until we can rely on m4_combine added in Autoconf 2.62.
-m4_define([lt_combine],
-[m4_if(m4_eval([$# > 3]), [1],
-       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
-[[m4_foreach([_Lt_prefix], [$2],
-            [m4_foreach([_Lt_suffix],
-               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
-       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
-
-
-# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
-# -----------------------------------------------------------------------
-# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
-# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
-m4_define([lt_if_append_uniq],
-[m4_ifdef([$1],
-         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
-                [lt_append([$1], [$2], [$3])$4],
-                [$5])],
-         [lt_append([$1], [$2], [$3])$4])])
-
-
-# lt_dict_add(DICT, KEY, VALUE)
-# -----------------------------
-m4_define([lt_dict_add],
-[m4_define([$1($2)], [$3])])
-
-
-# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
-# --------------------------------------------
-m4_define([lt_dict_add_subkey],
-[m4_define([$1($2:$3)], [$4])])
-
-
-# lt_dict_fetch(DICT, KEY, [SUBKEY])
-# ----------------------------------
-m4_define([lt_dict_fetch],
-[m4_ifval([$3],
-       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
-    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
-
-
-# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
-# -----------------------------------------------------------------
-m4_define([lt_if_dict_fetch],
-[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
-       [$5],
-    [$6])])
-
-
-# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
-# --------------------------------------------------------------
-m4_define([lt_dict_filter],
-[m4_if([$5], [], [],
-  [lt_join(m4_quote(m4_default([$4], [[, ]])),
-           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
-                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
-])
-
-# ltversion.m4 -- version numbers                      -*- Autoconf -*-
-#
-#   Copyright (C) 2004 Free Software Foundation, Inc.
-#   Written by Scott James Remnant, 2004
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# @configure_input@
-
-# serial 3337 ltversion.m4
-# This file is part of GNU Libtool
-
-m4_define([LT_PACKAGE_VERSION], [2.4.2])
-m4_define([LT_PACKAGE_REVISION], [1.3337])
-
-AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.4.2'
-macro_revision='1.3337'
-_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
-_LT_DECL(, macro_revision, 0)
-])
-
-# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
-#
-#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
-#   Written by Scott James Remnant, 2004.
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# serial 5 lt~obsolete.m4
-
-# These exist entirely to fool aclocal when bootstrapping libtool.
-#
-# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
-# which have later been changed to m4_define as they aren't part of the
-# exported API, or moved to Autoconf or Automake where they belong.
-#
-# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
-# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
-# using a macro with the same name in our local m4/libtool.m4 it'll
-# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
-# and doesn't know about Autoconf macros at all.)
-#
-# So we provide this file, which has a silly filename so it's always
-# included after everything else.  This provides aclocal with the
-# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
-# because those macros already exist, or will be overwritten later.
-# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
-#
-# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
-# Yes, that means every name once taken will need to remain here until
-# we give up compatibility with versions before 1.7, at which point
-# we need to keep only those names which we still refer to.
-
-# This is to help aclocal find these macros, as it can't see m4_define.
-AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
-
-m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
-m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
-m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
-m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
-m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
-m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
-m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
-m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
-m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
-m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
-m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
-m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
-m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
-m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
-m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
-m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
-m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
-m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
-m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
-m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
-m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
-m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
-m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
-m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
-m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
-m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
-m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
-m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
-m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
-m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
-m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
-m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
-m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
-m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
-m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
-m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
-m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
-m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
-m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
-m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
-m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
-m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
-m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
-m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
-m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
-m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
-m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
-m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
-m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
-m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
-m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
-m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
-m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
-m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],        [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
-m4_ifndef([_LT_AC_PROG_CXXCPP],                [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
-m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],        [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
-m4_ifndef([_LT_PROG_ECHO_BACKSLASH],   [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
-m4_ifndef([_LT_PROG_F77],              [AC_DEFUN([_LT_PROG_F77])])
-m4_ifndef([_LT_PROG_FC],               [AC_DEFUN([_LT_PROG_FC])])
-m4_ifndef([_LT_PROG_CXX],              [AC_DEFUN([_LT_PROG_CXX])])
-
-# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
-# 
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
-       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=m4_default([$1], [0.9.0])
-       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-               AC_MSG_RESULT([yes])
-       else
-               AC_MSG_RESULT([no])
-               PKG_CONFIG=""
-       fi
-               
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists.  Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
-    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
-  m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
-  $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
-    pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
-    PKG_CHECK_EXISTS([$3],
-                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
-                    [pkg_failed=yes])
- else
-    pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-        _pkg_short_errors_supported=yes
-else
-        _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
-        _PKG_SHORT_ERRORS_SUPPORTED
-        if test $_pkg_short_errors_supported = yes; then
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
-        else 
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
-        fi
-       # Put the nasty error message in config.log where it belongs
-       echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
-       ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
-               [AC_MSG_RESULT([no])
-                $4])
-elif test $pkg_failed = untried; then
-       ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old.  Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
-               [$4])
-else
-       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
-       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
-        AC_MSG_RESULT([yes])
-       ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
-dnl xorg-macros.m4.  Generated from xorg-macros.m4.in xorgversion.m4 by configure.
-dnl
-dnl Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
-dnl 
-dnl Permission is hereby granted, free of charge, to any person obtaining a
-dnl copy of this software and associated documentation files (the "Software"),
-dnl to deal in the Software without restriction, including without limitation
-dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
-dnl and/or sell copies of the Software, and to permit persons to whom the
-dnl Software is furnished to do so, subject to the following conditions:
-dnl
-dnl The above copyright notice and this permission notice (including the next
-dnl paragraph) shall be included in all copies or substantial portions of the
-dnl Software.
-dnl
-dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-dnl DEALINGS IN THE SOFTWARE.
-
-# XORG_MACROS_VERSION(required-version)
-# -------------------------------------
-# Minimum version: 1.1.0
-#
-# If you're using a macro added in Version 1.1 or newer, include this in
-# your configure.ac with the minimum required version, such as:
-# XORG_MACROS_VERSION(1.1)
-#
-# To ensure that this macro is defined, also add:
-# m4_ifndef([XORG_MACROS_VERSION],
-#     [m4_fatal([must install xorg-macros 1.1 or later before running autoconf/autogen])])
-#
-#
-# See the "minimum version" comment for each macro you use to see what 
-# version you require.
-m4_defun([XORG_MACROS_VERSION],[
-m4_define([vers_have], [1.17])
-m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
-m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
-m4_if(m4_cmp(maj_have, maj_needed), 0,,
-    [m4_fatal([xorg-macros major version ]maj_needed[ is required but ]vers_have[ found])])
-m4_if(m4_version_compare(vers_have, [$1]), -1,
-    [m4_fatal([xorg-macros version $1 or higher is required but ]vers_have[ found])])
-m4_undefine([vers_have])
-m4_undefine([maj_have])
-m4_undefine([maj_needed])
-]) # XORG_MACROS_VERSION
-
-# XORG_PROG_RAWCPP()
-# ------------------
-# Minimum version: 1.0.0
-#
-# Find cpp program and necessary flags for use in pre-processing text files
-# such as man pages and config files
-AC_DEFUN([XORG_PROG_RAWCPP],[
-AC_REQUIRE([AC_PROG_CPP])
-AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 
-   [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
-
-# Check for flag to avoid builtin definitions - assumes unix is predefined,
-# which is not the best choice for supporting other OS'es, but covers most
-# of the ones we need for now.
-AC_MSG_CHECKING([if $RAWCPP requires -undef])
-AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp redefine unix ?]])])
-if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-       AC_MSG_RESULT([no])
-else
-       if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-               RAWCPPFLAGS=-undef
-               AC_MSG_RESULT([yes])
-       # under Cygwin unix is still defined even with -undef
-       elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-               RAWCPPFLAGS="-undef -ansi"
-               AC_MSG_RESULT([yes, with -ansi])
-       else
-               AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef.  I don't know what to do.])
-       fi
-fi
-rm -f conftest.$ac_ext
-
-AC_MSG_CHECKING([if $RAWCPP requires -traditional])
-AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp preserve   "whitespace"?]])])
-if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
-       AC_MSG_RESULT([no])
-else
-       if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
-               RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
-               AC_MSG_RESULT([yes])
-       else
-               AC_MSG_ERROR([${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do.])
-       fi
-fi
-rm -f conftest.$ac_ext
-AC_SUBST(RAWCPPFLAGS)
-]) # XORG_PROG_RAWCPP
-
-# XORG_MANPAGE_SECTIONS()
-# -----------------------
-# Minimum version: 1.0.0
-#
-# Determine which sections man pages go in for the different man page types
-# on this OS - replaces *ManSuffix settings in old Imake *.cf per-os files.
-# Not sure if there's any better way than just hardcoding by OS name.
-# Override default settings by setting environment variables
-# Added MAN_SUBSTS in version 1.8
-# Added AC_PROG_SED in version 1.8
-
-AC_DEFUN([XORG_MANPAGE_SECTIONS],[
-AC_REQUIRE([AC_CANONICAL_HOST])
-AC_REQUIRE([AC_PROG_SED])
-
-if test x$APP_MAN_SUFFIX = x    ; then
-    APP_MAN_SUFFIX=1
-fi
-if test x$APP_MAN_DIR = x    ; then
-    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
-fi
-
-if test x$LIB_MAN_SUFFIX = x    ; then
-    LIB_MAN_SUFFIX=3
-fi
-if test x$LIB_MAN_DIR = x    ; then
-    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
-fi
-
-if test x$FILE_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       FILE_MAN_SUFFIX=4  ;;
-       *)              FILE_MAN_SUFFIX=5  ;;
-    esac
-fi
-if test x$FILE_MAN_DIR = x    ; then
-    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
-fi
-
-if test x$MISC_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       MISC_MAN_SUFFIX=5  ;;
-       *)              MISC_MAN_SUFFIX=7  ;;
-    esac
-fi
-if test x$MISC_MAN_DIR = x    ; then
-    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
-fi
-
-if test x$DRIVER_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       DRIVER_MAN_SUFFIX=7  ;;
-       *)              DRIVER_MAN_SUFFIX=4  ;;
-    esac
-fi
-if test x$DRIVER_MAN_DIR = x    ; then
-    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
-fi
-
-if test x$ADMIN_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       ADMIN_MAN_SUFFIX=1m ;;
-       *)              ADMIN_MAN_SUFFIX=8  ;;
-    esac
-fi
-if test x$ADMIN_MAN_DIR = x    ; then
-    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
-fi
-
-
-AC_SUBST([APP_MAN_SUFFIX])
-AC_SUBST([LIB_MAN_SUFFIX])
-AC_SUBST([FILE_MAN_SUFFIX])
-AC_SUBST([MISC_MAN_SUFFIX])
-AC_SUBST([DRIVER_MAN_SUFFIX])
-AC_SUBST([ADMIN_MAN_SUFFIX])
-AC_SUBST([APP_MAN_DIR])
-AC_SUBST([LIB_MAN_DIR])
-AC_SUBST([FILE_MAN_DIR])
-AC_SUBST([MISC_MAN_DIR])
-AC_SUBST([DRIVER_MAN_DIR])
-AC_SUBST([ADMIN_MAN_DIR])
-
-XORG_MAN_PAGE="X Version 11"
-AC_SUBST([XORG_MAN_PAGE])
-MAN_SUBSTS="\
-       -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
-       -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
-       -e 's|__xservername__|Xorg|g' \
-       -e 's|__xconfigfile__|xorg.conf|g' \
-       -e 's|__projectroot__|\$(prefix)|g' \
-       -e 's|__apploaddir__|\$(appdefaultdir)|g' \
-       -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
-       -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
-       -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
-       -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
-       -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
-       -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
-AC_SUBST([MAN_SUBSTS])
-
-]) # XORG_MANPAGE_SECTIONS
-
-# XORG_CHECK_SGML_DOCTOOLS([MIN-VERSION])
-# ------------------------
-# Minimum version: 1.7.0
-#
-# Defines the variable XORG_SGML_PATH containing the location of X11/defs.ent
-# provided by xorg-sgml-doctools, if installed.
-AC_DEFUN([XORG_CHECK_SGML_DOCTOOLS],[
-AC_MSG_CHECKING([for X.Org SGML entities m4_ifval([$1],[>= $1])])
-XORG_SGML_PATH=
-PKG_CHECK_EXISTS([xorg-sgml-doctools m4_ifval([$1],[>= $1])],
-    [XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`],
-    [m4_ifval([$1],[:],
-        [if test x"$cross_compiling" != x"yes" ; then
-            AC_CHECK_FILE([$prefix/share/sgml/X11/defs.ent],
-                          [XORG_SGML_PATH=$prefix/share/sgml])
-         fi])
-    ])
-
-# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
-# the path and the name of the doc stylesheet
-if test "x$XORG_SGML_PATH" != "x" ; then
-   AC_MSG_RESULT([$XORG_SGML_PATH])
-   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
-   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
-else
-   AC_MSG_RESULT([no])
-fi
-
-AC_SUBST(XORG_SGML_PATH)
-AC_SUBST(STYLESHEET_SRCDIR)
-AC_SUBST(XSL_STYLESHEET)
-AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XSL_STYLESHEET" != "x"])
-]) # XORG_CHECK_SGML_DOCTOOLS
-
-# XORG_CHECK_LINUXDOC
-# -------------------
-# Minimum version: 1.0.0
-#
-# Defines the variable MAKE_TEXT if the necessary tools and
-# files are found. $(MAKE_TEXT) blah.sgml will then produce blah.txt.
-# Whether or not the necessary tools and files are found can be checked
-# with the AM_CONDITIONAL "BUILD_LINUXDOC"
-AC_DEFUN([XORG_CHECK_LINUXDOC],[
-AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS])
-AC_REQUIRE([XORG_WITH_PS2PDF])
-
-AC_PATH_PROG(LINUXDOC, linuxdoc)
-
-AC_MSG_CHECKING([whether to build documentation])
-
-if test x$XORG_SGML_PATH != x && test x$LINUXDOC != x ; then
-   BUILDDOC=yes
-else
-   BUILDDOC=no
-fi
-
-AM_CONDITIONAL(BUILD_LINUXDOC, [test x$BUILDDOC = xyes])
-
-AC_MSG_RESULT([$BUILDDOC])
-
-AC_MSG_CHECKING([whether to build pdf documentation])
-
-if test x$have_ps2pdf != xno && test x$BUILD_PDFDOC != xno; then
-   BUILDPDFDOC=yes
-else
-   BUILDPDFDOC=no
-fi
-
-AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes])
-
-AC_MSG_RESULT([$BUILDPDFDOC])
-
-MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt -f"
-MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
-MAKE_PDF="$PS2PDF"
-MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
-
-AC_SUBST(MAKE_TEXT)
-AC_SUBST(MAKE_PS)
-AC_SUBST(MAKE_PDF)
-AC_SUBST(MAKE_HTML)
-]) # XORG_CHECK_LINUXDOC
-
-# XORG_CHECK_DOCBOOK
-# -------------------
-# Minimum version: 1.0.0
-#
-# Checks for the ability to build output formats from SGML DocBook source.
-# For XXX in {TXT, PDF, PS, HTML}, the AM_CONDITIONAL "BUILD_XXXDOC"
-# indicates whether the necessary tools and files are found and, if set,
-# $(MAKE_XXX) blah.sgml will produce blah.xxx.
-AC_DEFUN([XORG_CHECK_DOCBOOK],[
-AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS])
-
-BUILDTXTDOC=no
-BUILDPDFDOC=no
-BUILDPSDOC=no
-BUILDHTMLDOC=no
-
-AC_PATH_PROG(DOCBOOKPS, docbook2ps)
-AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
-AC_PATH_PROG(DOCBOOKHTML, docbook2html)
-AC_PATH_PROG(DOCBOOKTXT, docbook2txt)
-
-AC_MSG_CHECKING([whether to build text documentation])
-if test x$XORG_SGML_PATH != x && test x$DOCBOOKTXT != x &&
-   test x$BUILD_TXTDOC != xno; then
-       BUILDTXTDOC=yes
-fi
-AM_CONDITIONAL(BUILD_TXTDOC, [test x$BUILDTXTDOC = xyes])
-AC_MSG_RESULT([$BUILDTXTDOC])
-
-AC_MSG_CHECKING([whether to build PDF documentation])
-if test x$XORG_SGML_PATH != x && test x$DOCBOOKPDF != x &&
-   test x$BUILD_PDFDOC != xno; then
-       BUILDPDFDOC=yes
-fi
-AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes])
-AC_MSG_RESULT([$BUILDPDFDOC])
-
-AC_MSG_CHECKING([whether to build PostScript documentation])
-if test x$XORG_SGML_PATH != x && test x$DOCBOOKPS != x &&
-   test x$BUILD_PSDOC != xno; then
-       BUILDPSDOC=yes
-fi
-AM_CONDITIONAL(BUILD_PSDOC, [test x$BUILDPSDOC = xyes])
-AC_MSG_RESULT([$BUILDPSDOC])
-
-AC_MSG_CHECKING([whether to build HTML documentation])
-if test x$XORG_SGML_PATH != x && test x$DOCBOOKHTML != x &&
-   test x$BUILD_HTMLDOC != xno; then
-       BUILDHTMLDOC=yes
-fi
-AM_CONDITIONAL(BUILD_HTMLDOC, [test x$BUILDHTMLDOC = xyes])
-AC_MSG_RESULT([$BUILDHTMLDOC])
-
-MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKTXT"
-MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPS"
-MAKE_PDF="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPDF"
-MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKHTML"
-
-AC_SUBST(MAKE_TEXT)
-AC_SUBST(MAKE_PS)
-AC_SUBST(MAKE_PDF)
-AC_SUBST(MAKE_HTML)
-]) # XORG_CHECK_DOCBOOK
-
-# XORG_WITH_XMLTO([MIN-VERSION], [DEFAULT])
-# ----------------
-# Minimum version: 1.5.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-xmlto option, it allows maximum flexibilty in making decisions
-# as whether or not to use the xmlto package. When DEFAULT is not specified,
-# --with-xmlto assumes 'auto'.
-#
-# Interface to module:
-# HAVE_XMLTO:  used in makefiles to conditionally generate documentation
-# XMLTO:       returns the path of the xmlto program found
-#              returns the path set by the user in the environment
-# --with-xmlto:        'yes' user instructs the module to use xmlto
-#              'no' user instructs the module not to use xmlto
-#
-# Added in version 1.10.0
-# HAVE_XMLTO_TEXT: used in makefiles to conditionally generate text documentation
-#                  xmlto for text output requires either lynx, links, or w3m browsers
-#
-# If the user sets the value of XMLTO, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_XMLTO],[
-AC_ARG_VAR([XMLTO], [Path to xmlto command])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(xmlto,
-       AS_HELP_STRING([--with-xmlto],
-          [Use xmlto to regenerate documentation (default: ]_defopt[)]),
-          [use_xmlto=$withval], [use_xmlto=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_xmlto" = x"auto"; then
-   AC_PATH_PROG([XMLTO], [xmlto])
-   if test "x$XMLTO" = "x"; then
-        AC_MSG_WARN([xmlto not found - documentation targets will be skipped])
-       have_xmlto=no
-   else
-        have_xmlto=yes
-   fi
-elif test "x$use_xmlto" = x"yes" ; then
-   AC_PATH_PROG([XMLTO], [xmlto])
-   if test "x$XMLTO" = "x"; then
-        AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH])
-   fi
-   have_xmlto=yes
-elif test "x$use_xmlto" = x"no" ; then
-   if test "x$XMLTO" != "x"; then
-      AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified])
-   fi
-   have_xmlto=no
-else
-   AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
-fi
-
-# Test for a minimum version of xmlto, if provided.
-m4_ifval([$1],
-[if test "$have_xmlto" = yes; then
-    # scrape the xmlto version
-    AC_MSG_CHECKING([the xmlto version])
-    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
-    AC_MSG_RESULT([$xmlto_version])
-    AS_VERSION_COMPARE([$xmlto_version], [$1],
-        [if test "x$use_xmlto" = xauto; then
-            AC_MSG_WARN([xmlto version $xmlto_version found, but $1 needed])
-            have_xmlto=no
-        else
-            AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed])
-        fi])
-fi])
-
-# Test for the ability of xmlto to generate a text target
-have_xmlto_text=no
-cat > conftest.xml << "EOF"
-EOF
-AS_IF([test "$have_xmlto" = yes],
-      [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1],
-             [have_xmlto_text=yes],
-             [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])])
-rm -f conftest.xml
-AM_CONDITIONAL([HAVE_XMLTO_TEXT], [test $have_xmlto_text = yes])
-AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes])
-]) # XORG_WITH_XMLTO
-
-# XORG_WITH_XSLTPROC([MIN-VERSION], [DEFAULT])
-# --------------------------------------------
-# Minimum version: 1.12.0
-# Minimum version for optional DEFAULT argument: 1.12.0
-#
-# XSLT (Extensible Stylesheet Language Transformations) is a declarative,
-# XML-based language used for the transformation of XML documents.
-# The xsltproc command line tool is for applying XSLT stylesheets to XML documents.
-# It is used under the cover by xmlto to generate html files from DocBook/XML.
-# The XSLT processor is often used as a standalone tool for transformations.
-# It should not be assumed that this tool is used only to work with documnetation.
-# When DEFAULT is not specified, --with-xsltproc assumes 'auto'.
-#
-# Interface to module:
-# HAVE_XSLTPROC: used in makefiles to conditionally generate documentation
-# XSLTPROC:     returns the path of the xsltproc program found
-#               returns the path set by the user in the environment
-# --with-xsltproc: 'yes' user instructs the module to use xsltproc
-#                'no' user instructs the module not to use xsltproc
-# have_xsltproc: returns yes if xsltproc found in PATH or no
-#
-# If the user sets the value of XSLTPROC, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_XSLTPROC],[
-AC_ARG_VAR([XSLTPROC], [Path to xsltproc command])
-# Preserves the interface, should it be implemented later
-m4_ifval([$1], [m4_warn([syntax], [Checking for xsltproc MIN-VERSION is not implemented])])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(xsltproc,
-       AS_HELP_STRING([--with-xsltproc],
-          [Use xsltproc for the transformation of XML documents (default: ]_defopt[)]),
-          [use_xsltproc=$withval], [use_xsltproc=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_xsltproc" = x"auto"; then
-   AC_PATH_PROG([XSLTPROC], [xsltproc])
-   if test "x$XSLTPROC" = "x"; then
-        AC_MSG_WARN([xsltproc not found - cannot transform XML documents])
-       have_xsltproc=no
-   else
-        have_xsltproc=yes
-   fi
-elif test "x$use_xsltproc" = x"yes" ; then
-   AC_PATH_PROG([XSLTPROC], [xsltproc])
-   if test "x$XSLTPROC" = "x"; then
-        AC_MSG_ERROR([--with-xsltproc=yes specified but xsltproc not found in PATH])
-   fi
-   have_xsltproc=yes
-elif test "x$use_xsltproc" = x"no" ; then
-   if test "x$XSLTPROC" != "x"; then
-      AC_MSG_WARN([ignoring XSLTPROC environment variable since --with-xsltproc=no was specified])
-   fi
-   have_xsltproc=no
-else
-   AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no'])
-fi
-
-AM_CONDITIONAL([HAVE_XSLTPROC], [test "$have_xsltproc" = yes])
-]) # XORG_WITH_XSLTPROC
-
-# XORG_WITH_PERL([MIN-VERSION], [DEFAULT])
-# ----------------------------------------
-# Minimum version: 1.15.0
-#
-# PERL (Practical Extraction and Report Language) is a language optimized for
-# scanning arbitrary text files, extracting information from those text files,
-# and printing reports based on that information.
-#
-# When DEFAULT is not specified, --with-perl assumes 'auto'.
-#
-# Interface to module:
-# HAVE_PERL: used in makefiles to conditionally scan text files
-# PERL:             returns the path of the perl program found
-#           returns the path set by the user in the environment
-# --with-perl: 'yes' user instructs the module to use perl
-#             'no' user instructs the module not to use perl
-# have_perl: returns yes if perl found in PATH or no
-#
-# If the user sets the value of PERL, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_PERL],[
-AC_ARG_VAR([PERL], [Path to perl command])
-# Preserves the interface, should it be implemented later
-m4_ifval([$1], [m4_warn([syntax], [Checking for perl MIN-VERSION is not implemented])])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(perl,
-       AS_HELP_STRING([--with-perl],
-          [Use perl for extracting information from files (default: ]_defopt[)]),
-          [use_perl=$withval], [use_perl=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_perl" = x"auto"; then
-   AC_PATH_PROG([PERL], [perl])
-   if test "x$PERL" = "x"; then
-        AC_MSG_WARN([perl not found - cannot extract information and report])
-       have_perl=no
-   else
-        have_perl=yes
-   fi
-elif test "x$use_perl" = x"yes" ; then
-   AC_PATH_PROG([PERL], [perl])
-   if test "x$PERL" = "x"; then
-        AC_MSG_ERROR([--with-perl=yes specified but perl not found in PATH])
-   fi
-   have_perl=yes
-elif test "x$use_perl" = x"no" ; then
-   if test "x$PERL" != "x"; then
-      AC_MSG_WARN([ignoring PERL environment variable since --with-perl=no was specified])
-   fi
-   have_perl=no
-else
-   AC_MSG_ERROR([--with-perl expects 'yes' or 'no'])
-fi
-
-AM_CONDITIONAL([HAVE_PERL], [test "$have_perl" = yes])
-]) # XORG_WITH_PERL
-
-# XORG_WITH_ASCIIDOC([MIN-VERSION], [DEFAULT])
-# ----------------
-# Minimum version: 1.5.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-asciidoc option, it allows maximum flexibilty in making decisions
-# as whether or not to use the asciidoc package. When DEFAULT is not specified,
-# --with-asciidoc assumes 'auto'.
-#
-# Interface to module:
-# HAVE_ASCIIDOC: used in makefiles to conditionally generate documentation
-# ASCIIDOC:     returns the path of the asciidoc program found
-#               returns the path set by the user in the environment
-# --with-asciidoc: 'yes' user instructs the module to use asciidoc
-#                'no' user instructs the module not to use asciidoc
-#
-# If the user sets the value of ASCIIDOC, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_ASCIIDOC],[
-AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(asciidoc,
-       AS_HELP_STRING([--with-asciidoc],
-          [Use asciidoc to regenerate documentation (default: ]_defopt[)]),
-          [use_asciidoc=$withval], [use_asciidoc=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_asciidoc" = x"auto"; then
-   AC_PATH_PROG([ASCIIDOC], [asciidoc])
-   if test "x$ASCIIDOC" = "x"; then
-        AC_MSG_WARN([asciidoc not found - documentation targets will be skipped])
-       have_asciidoc=no
-   else
-        have_asciidoc=yes
-   fi
-elif test "x$use_asciidoc" = x"yes" ; then
-   AC_PATH_PROG([ASCIIDOC], [asciidoc])
-   if test "x$ASCIIDOC" = "x"; then
-        AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH])
-   fi
-   have_asciidoc=yes
-elif test "x$use_asciidoc" = x"no" ; then
-   if test "x$ASCIIDOC" != "x"; then
-      AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified])
-   fi
-   have_asciidoc=no
-else
-   AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no'])
-fi
-m4_ifval([$1],
-[if test "$have_asciidoc" = yes; then
-    # scrape the asciidoc version
-    AC_MSG_CHECKING([the asciidoc version])
-    asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
-    AC_MSG_RESULT([$asciidoc_version])
-    AS_VERSION_COMPARE([$asciidoc_version], [$1],
-        [if test "x$use_asciidoc" = xauto; then
-            AC_MSG_WARN([asciidoc version $asciidoc_version found, but $1 needed])
-            have_asciidoc=no
-        else
-            AC_MSG_ERROR([asciidoc version $asciidoc_version found, but $1 needed])
-        fi])
-fi])
-AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes])
-]) # XORG_WITH_ASCIIDOC
-
-# XORG_WITH_DOXYGEN([MIN-VERSION], [DEFAULT])
-# --------------------------------
-# Minimum version: 1.5.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-doxygen option, it allows maximum flexibilty in making decisions
-# as whether or not to use the doxygen package. When DEFAULT is not specified,
-# --with-doxygen assumes 'auto'.
-#
-# Interface to module:
-# HAVE_DOXYGEN: used in makefiles to conditionally generate documentation
-# DOXYGEN:      returns the path of the doxygen program found
-#               returns the path set by the user in the environment
-# --with-doxygen: 'yes' user instructs the module to use doxygen
-#                'no' user instructs the module not to use doxygen
-#
-# If the user sets the value of DOXYGEN, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_DOXYGEN],[
-AC_ARG_VAR([DOXYGEN], [Path to doxygen command])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(doxygen,
-       AS_HELP_STRING([--with-doxygen],
-          [Use doxygen to regenerate documentation (default: ]_defopt[)]),
-          [use_doxygen=$withval], [use_doxygen=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_doxygen" = x"auto"; then
-   AC_PATH_PROG([DOXYGEN], [doxygen])
-   if test "x$DOXYGEN" = "x"; then
-        AC_MSG_WARN([doxygen not found - documentation targets will be skipped])
-       have_doxygen=no
-   else
-        have_doxygen=yes
-   fi
-elif test "x$use_doxygen" = x"yes" ; then
-   AC_PATH_PROG([DOXYGEN], [doxygen])
-   if test "x$DOXYGEN" = "x"; then
-        AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH])
-   fi
-   have_doxygen=yes
-elif test "x$use_doxygen" = x"no" ; then
-   if test "x$DOXYGEN" != "x"; then
-      AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified])
-   fi
-   have_doxygen=no
-else
-   AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no'])
-fi
-m4_ifval([$1],
-[if test "$have_doxygen" = yes; then
-    # scrape the doxygen version
-    AC_MSG_CHECKING([the doxygen version])
-    doxygen_version=`$DOXYGEN --version 2>/dev/null`
-    AC_MSG_RESULT([$doxygen_version])
-    AS_VERSION_COMPARE([$doxygen_version], [$1],
-        [if test "x$use_doxygen" = xauto; then
-            AC_MSG_WARN([doxygen version $doxygen_version found, but $1 needed])
-            have_doxygen=no
-        else
-            AC_MSG_ERROR([doxygen version $doxygen_version found, but $1 needed])
-        fi])
-fi])
-AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes])
-]) # XORG_WITH_DOXYGEN
-
-# XORG_WITH_GROFF([DEFAULT])
-# ----------------
-# Minimum version: 1.6.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-groff option, it allows maximum flexibilty in making decisions
-# as whether or not to use the groff package. When DEFAULT is not specified,
-# --with-groff assumes 'auto'.
-#
-# Interface to module:
-# HAVE_GROFF:   used in makefiles to conditionally generate documentation
-# HAVE_GROFF_MM: the memorandum macros (-mm) package
-# HAVE_GROFF_MS: the -ms macros package
-# GROFF:        returns the path of the groff program found
-#               returns the path set by the user in the environment
-# --with-groff:         'yes' user instructs the module to use groff
-#               'no' user instructs the module not to use groff
-#
-# Added in version 1.9.0:
-# HAVE_GROFF_HTML: groff has dependencies to output HTML format:
-#                 pnmcut pnmcrop pnmtopng pnmtops from the netpbm package.
-#                 psselect from the psutils package.
-#                 the ghostcript package. Refer to the grohtml man pages
-#
-# If the user sets the value of GROFF, AC_PATH_PROG skips testing the path.
-#
-# OS and distros often splits groff in a basic and full package, the former
-# having the groff program and the later having devices, fonts and macros
-# Checking for the groff executable is not enough.
-#
-# If macros are missing, we cannot assume that groff is useless, so we don't
-# unset HAVE_GROFF or GROFF env variables.
-# HAVE_GROFF_?? can never be true while HAVE_GROFF is false.
-#
-AC_DEFUN([XORG_WITH_GROFF],[
-AC_ARG_VAR([GROFF], [Path to groff command])
-m4_define([_defopt], m4_default([$1], [auto]))
-AC_ARG_WITH(groff,
-       AS_HELP_STRING([--with-groff],
-          [Use groff to regenerate documentation (default: ]_defopt[)]),
-          [use_groff=$withval], [use_groff=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_groff" = x"auto"; then
-   AC_PATH_PROG([GROFF], [groff])
-   if test "x$GROFF" = "x"; then
-        AC_MSG_WARN([groff not found - documentation targets will be skipped])
-       have_groff=no
-   else
-        have_groff=yes
-   fi
-elif test "x$use_groff" = x"yes" ; then
-   AC_PATH_PROG([GROFF], [groff])
-   if test "x$GROFF" = "x"; then
-        AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH])
-   fi
-   have_groff=yes
-elif test "x$use_groff" = x"no" ; then
-   if test "x$GROFF" != "x"; then
-      AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified])
-   fi
-   have_groff=no
-else
-   AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
-fi
-
-# We have groff, test for the presence of the macro packages
-if test "x$have_groff" = x"yes"; then
-    AC_MSG_CHECKING([for ${GROFF} -ms macros])
-    if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then
-        groff_ms_works=yes
-    else
-        groff_ms_works=no
-    fi
-    AC_MSG_RESULT([$groff_ms_works])
-    AC_MSG_CHECKING([for ${GROFF} -mm macros])
-    if ${GROFF} -mm -I. /dev/null >/dev/null 2>&1 ; then
-        groff_mm_works=yes
-    else
-        groff_mm_works=no
-    fi
-    AC_MSG_RESULT([$groff_mm_works])
-fi
-
-# We have groff, test for HTML dependencies, one command per package
-if test "x$have_groff" = x"yes"; then
-   AC_PATH_PROGS(GS_PATH, [gs gswin32c])
-   AC_PATH_PROG(PNMTOPNG_PATH, [pnmtopng])
-   AC_PATH_PROG(PSSELECT_PATH, [psselect])
-   if test "x$GS_PATH" != "x" -a "x$PNMTOPNG_PATH" != "x" -a "x$PSSELECT_PATH" != "x"; then
-      have_groff_html=yes
-   else
-      have_groff_html=no
-      AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages])
-   fi
-fi
-
-# Set Automake conditionals for Makefiles
-AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes])
-AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes])
-AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes])
-AM_CONDITIONAL([HAVE_GROFF_HTML], [test "$have_groff_html" = yes])
-]) # XORG_WITH_GROFF
-
-# XORG_WITH_FOP([MIN-VERSION], [DEFAULT])
-# ---------------------------------------
-# Minimum version: 1.6.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-# Minimum version for optional MIN-VERSION argument: 1.15.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-fop option, it allows maximum flexibilty in making decisions
-# as whether or not to use the fop package. When DEFAULT is not specified,
-# --with-fop assumes 'auto'.
-#
-# Interface to module:
-# HAVE_FOP:    used in makefiles to conditionally generate documentation
-# FOP:         returns the path of the fop program found
-#              returns the path set by the user in the environment
-# --with-fop:  'yes' user instructs the module to use fop
-#              'no' user instructs the module not to use fop
-#
-# If the user sets the value of FOP, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_FOP],[
-AC_ARG_VAR([FOP], [Path to fop command])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(fop,
-       AS_HELP_STRING([--with-fop],
-          [Use fop to regenerate documentation (default: ]_defopt[)]),
-          [use_fop=$withval], [use_fop=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_fop" = x"auto"; then
-   AC_PATH_PROG([FOP], [fop])
-   if test "x$FOP" = "x"; then
-        AC_MSG_WARN([fop not found - documentation targets will be skipped])
-       have_fop=no
-   else
-        have_fop=yes
-   fi
-elif test "x$use_fop" = x"yes" ; then
-   AC_PATH_PROG([FOP], [fop])
-   if test "x$FOP" = "x"; then
-        AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH])
-   fi
-   have_fop=yes
-elif test "x$use_fop" = x"no" ; then
-   if test "x$FOP" != "x"; then
-      AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified])
-   fi
-   have_fop=no
-else
-   AC_MSG_ERROR([--with-fop expects 'yes' or 'no'])
-fi
-
-# Test for a minimum version of fop, if provided.
-m4_ifval([$1],
-[if test "$have_fop" = yes; then
-    # scrape the fop version
-    AC_MSG_CHECKING([for fop minimum version])
-    fop_version=`$FOP -version 2>/dev/null | cut -d' ' -f3`
-    AC_MSG_RESULT([$fop_version])
-    AS_VERSION_COMPARE([$fop_version], [$1],
-        [if test "x$use_fop" = xauto; then
-            AC_MSG_WARN([fop version $fop_version found, but $1 needed])
-            have_fop=no
-        else
-            AC_MSG_ERROR([fop version $fop_version found, but $1 needed])
-        fi])
-fi])
-AM_CONDITIONAL([HAVE_FOP], [test "$have_fop" = yes])
-]) # XORG_WITH_FOP
-
-# XORG_WITH_PS2PDF([DEFAULT])
-# ----------------
-# Minimum version: 1.6.0
-# Minimum version for optional DEFAULT argument: 1.11.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a module to test for the
-# presence of the tool and obtain it's path in separate variables. Coupled with
-# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
-# as whether or not to use the ps2pdf package. When DEFAULT is not specified,
-# --with-ps2pdf assumes 'auto'.
-#
-# Interface to module:
-# HAVE_PS2PDF:         used in makefiles to conditionally generate documentation
-# PS2PDF:      returns the path of the ps2pdf program found
-#              returns the path set by the user in the environment
-# --with-ps2pdf: 'yes' user instructs the module to use ps2pdf
-#               'no' user instructs the module not to use ps2pdf
-#
-# If the user sets the value of PS2PDF, AC_PATH_PROG skips testing the path.
-#
-AC_DEFUN([XORG_WITH_PS2PDF],[
-AC_ARG_VAR([PS2PDF], [Path to ps2pdf command])
-m4_define([_defopt], m4_default([$1], [auto]))
-AC_ARG_WITH(ps2pdf,
-       AS_HELP_STRING([--with-ps2pdf],
-          [Use ps2pdf to regenerate documentation (default: ]_defopt[)]),
-          [use_ps2pdf=$withval], [use_ps2pdf=]_defopt)
-m4_undefine([_defopt])
-
-if test "x$use_ps2pdf" = x"auto"; then
-   AC_PATH_PROG([PS2PDF], [ps2pdf])
-   if test "x$PS2PDF" = "x"; then
-        AC_MSG_WARN([ps2pdf not found - documentation targets will be skipped])
-       have_ps2pdf=no
-   else
-        have_ps2pdf=yes
-   fi
-elif test "x$use_ps2pdf" = x"yes" ; then
-   AC_PATH_PROG([PS2PDF], [ps2pdf])
-   if test "x$PS2PDF" = "x"; then
-        AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH])
-   fi
-   have_ps2pdf=yes
-elif test "x$use_ps2pdf" = x"no" ; then
-   if test "x$PS2PDF" != "x"; then
-      AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified])
-   fi
-   have_ps2pdf=no
-else
-   AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no'])
-fi
-AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes])
-]) # XORG_WITH_PS2PDF
-
-# XORG_ENABLE_DOCS (enable_docs=yes)
-# ----------------
-# Minimum version: 1.6.0
-#
-# Documentation tools are not always available on all platforms and sometimes
-# not at the appropriate level. This macro enables a builder to skip all
-# documentation targets except traditional man pages.
-# Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
-# Refer to:
-# XORG_WITH_XMLTO         --with-xmlto
-# XORG_WITH_ASCIIDOC      --with-asciidoc
-# XORG_WITH_DOXYGEN       --with-doxygen
-# XORG_WITH_FOP           --with-fop
-# XORG_WITH_GROFF         --with-groff
-# XORG_WITH_PS2PDF        --with-ps2pdf
-#
-# Interface to module:
-# ENABLE_DOCS:           used in makefiles to conditionally generate documentation
-# --enable-docs: 'yes' user instructs the module to generate docs
-#               'no' user instructs the module not to generate docs
-# parm1:       specify the default value, yes or no.
-#
-AC_DEFUN([XORG_ENABLE_DOCS],[
-m4_define([docs_default], m4_default([$1], [yes]))
-AC_ARG_ENABLE(docs,
-       AS_HELP_STRING([--enable-docs],
-          [Enable building the documentation (default: ]docs_default[)]),
-          [build_docs=$enableval], [build_docs=]docs_default)
-m4_undefine([docs_default])
-AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes])
-AC_MSG_CHECKING([whether to build documentation])
-AC_MSG_RESULT([$build_docs])
-]) # XORG_ENABLE_DOCS
-
-# XORG_ENABLE_DEVEL_DOCS (enable_devel_docs=yes)
-# ----------------
-# Minimum version: 1.6.0
-#
-# This macro enables a builder to skip all developer documentation.
-# Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
-# Refer to:
-# XORG_WITH_XMLTO         --with-xmlto
-# XORG_WITH_ASCIIDOC      --with-asciidoc
-# XORG_WITH_DOXYGEN       --with-doxygen
-# XORG_WITH_FOP           --with-fop
-# XORG_WITH_GROFF         --with-groff
-# XORG_WITH_PS2PDF        --with-ps2pdf
-#
-# Interface to module:
-# ENABLE_DEVEL_DOCS:   used in makefiles to conditionally generate developer docs
-# --enable-devel-docs: 'yes' user instructs the module to generate developer docs
-#                      'no' user instructs the module not to generate developer docs
-# parm1:               specify the default value, yes or no.
-#
-AC_DEFUN([XORG_ENABLE_DEVEL_DOCS],[
-m4_define([devel_default], m4_default([$1], [yes]))
-AC_ARG_ENABLE(devel-docs,
-       AS_HELP_STRING([--enable-devel-docs],
-          [Enable building the developer documentation (default: ]devel_default[)]),
-          [build_devel_docs=$enableval], [build_devel_docs=]devel_default)
-m4_undefine([devel_default])
-AM_CONDITIONAL(ENABLE_DEVEL_DOCS, [test x$build_devel_docs = xyes])
-AC_MSG_CHECKING([whether to build developer documentation])
-AC_MSG_RESULT([$build_devel_docs])
-]) # XORG_ENABLE_DEVEL_DOCS
-
-# XORG_ENABLE_SPECS (enable_specs=yes)
-# ----------------
-# Minimum version: 1.6.0
-#
-# This macro enables a builder to skip all functional specification targets.
-# Combined with the specific tool checking macros XORG_WITH_*, it provides
-# maximum flexibilty in controlling documentation building.
-# Refer to:
-# XORG_WITH_XMLTO         --with-xmlto
-# XORG_WITH_ASCIIDOC      --with-asciidoc
-# XORG_WITH_DOXYGEN       --with-doxygen
-# XORG_WITH_FOP           --with-fop
-# XORG_WITH_GROFF         --with-groff
-# XORG_WITH_PS2PDF        --with-ps2pdf
-#
-# Interface to module:
-# ENABLE_SPECS:                used in makefiles to conditionally generate specs
-# --enable-specs:      'yes' user instructs the module to generate specs
-#                      'no' user instructs the module not to generate specs
-# parm1:               specify the default value, yes or no.
-#
-AC_DEFUN([XORG_ENABLE_SPECS],[
-m4_define([spec_default], m4_default([$1], [yes]))
-AC_ARG_ENABLE(specs,
-       AS_HELP_STRING([--enable-specs],
-          [Enable building the specs (default: ]spec_default[)]),
-          [build_specs=$enableval], [build_specs=]spec_default)
-m4_undefine([spec_default])
-AM_CONDITIONAL(ENABLE_SPECS, [test x$build_specs = xyes])
-AC_MSG_CHECKING([whether to build functional specifications])
-AC_MSG_RESULT([$build_specs])
-]) # XORG_ENABLE_SPECS
-
-# XORG_ENABLE_UNIT_TESTS (enable_unit_tests=auto)
-# ----------------------------------------------
-# Minimum version: 1.13.0
-#
-# This macro enables a builder to enable/disable unit testing
-# It makes no assumption about the test cases implementation
-# Test cases may or may not use Automake "Support for test suites"
-# They may or may not use the software utility library GLib
-#
-# When used in conjunction with XORG_WITH_GLIB, use both AM_CONDITIONAL
-# ENABLE_UNIT_TESTS and HAVE_GLIB. Not all unit tests may use glib.
-# The variable enable_unit_tests is used by other macros in this file.
-#
-# Interface to module:
-# ENABLE_UNIT_TESTS:   used in makefiles to conditionally build tests
-# enable_unit_tests:    used in configure.ac for additional configuration
-# --enable-unit-tests: 'yes' user instructs the module to build tests
-#                      'no' user instructs the module not to build tests
-# parm1:               specify the default value, yes or no.
-#
-AC_DEFUN([XORG_ENABLE_UNIT_TESTS],[
-AC_BEFORE([$0], [XORG_WITH_GLIB])
-AC_BEFORE([$0], [XORG_LD_WRAP])
-AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
-m4_define([_defopt], m4_default([$1], [auto]))
-AC_ARG_ENABLE(unit-tests, AS_HELP_STRING([--enable-unit-tests],
-       [Enable building unit test cases (default: ]_defopt[)]),
-       [enable_unit_tests=$enableval], [enable_unit_tests=]_defopt)
-m4_undefine([_defopt])
-AM_CONDITIONAL(ENABLE_UNIT_TESTS, [test "x$enable_unit_tests" != xno])
-AC_MSG_CHECKING([whether to build unit test cases])
-AC_MSG_RESULT([$enable_unit_tests])
-]) # XORG_ENABLE_UNIT_TESTS
-
-# XORG_ENABLE_INTEGRATION_TESTS (enable_unit_tests=auto)
-# ------------------------------------------------------
-# Minimum version: 1.17.0
-#
-# This macro enables a builder to enable/disable integration testing
-# It makes no assumption about the test cases' implementation
-# Test cases may or may not use Automake "Support for test suites"
-#
-# Please see XORG_ENABLE_UNIT_TESTS for unit test support. Unit test support
-# usually requires less dependencies and may be built and run under less
-# stringent environments than integration tests.
-#
-# Interface to module:
-# ENABLE_INTEGRATION_TESTS:   used in makefiles to conditionally build tests
-# enable_integration_tests:   used in configure.ac for additional configuration
-# --enable-integration-tests: 'yes' user instructs the module to build tests
-#                             'no' user instructs the module not to build tests
-# parm1:                      specify the default value, yes or no.
-#
-AC_DEFUN([XORG_ENABLE_INTEGRATION_TESTS],[
-AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
-m4_define([_defopt], m4_default([$1], [auto]))
-AC_ARG_ENABLE(integration-tests, AS_HELP_STRING([--enable-integration-tests],
-       [Enable building integration test cases (default: ]_defopt[)]),
-       [enable_integration_tests=$enableval],
-       [enable_integration_tests=]_defopt)
-m4_undefine([_defopt])
-AM_CONDITIONAL([ENABLE_INTEGRATION_TESTS],
-       [test "x$enable_integration_tests" != xno])
-AC_MSG_CHECKING([whether to build unit test cases])
-AC_MSG_RESULT([$enable_integration_tests])
-]) # XORG_ENABLE_INTEGRATION_TESTS
-
-# XORG_WITH_GLIB([MIN-VERSION], [DEFAULT])
-# ----------------------------------------
-# Minimum version: 1.13.0
-#
-# GLib is a library which provides advanced data structures and functions.
-# This macro enables a module to test for the presence of Glib.
-#
-# When used with ENABLE_UNIT_TESTS, it is assumed GLib is used for unit testing.
-# Otherwise the value of $enable_unit_tests is blank.
-#
-# Please see XORG_ENABLE_INTEGRATION_TESTS for integration test support. Unit
-# test support usually requires less dependencies and may be built and run under
-# less stringent environments than integration tests.
-#
-# Interface to module:
-# HAVE_GLIB: used in makefiles to conditionally build targets
-# with_glib: used in configure.ac to know if GLib has been found
-# --with-glib: 'yes' user instructs the module to use glib
-#              'no' user instructs the module not to use glib
-#
-AC_DEFUN([XORG_WITH_GLIB],[
-AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-m4_define([_defopt], m4_default([$2], [auto]))
-AC_ARG_WITH(glib, AS_HELP_STRING([--with-glib],
-       [Use GLib library for unit testing (default: ]_defopt[)]),
-       [with_glib=$withval], [with_glib=]_defopt)
-m4_undefine([_defopt])
-
-have_glib=no
-# Do not probe GLib if user explicitly disabled unit testing
-if test "x$enable_unit_tests" != x"no"; then
-  # Do not probe GLib if user explicitly disabled it
-  if test "x$with_glib" != x"no"; then
-    m4_ifval(
-      [$1],
-      [PKG_CHECK_MODULES([GLIB], [glib-2.0 >= $1], [have_glib=yes], [have_glib=no])],
-      [PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])]
-    )
-  fi
-fi
-
-# Not having GLib when unit testing has been explicitly requested is an error
-if test "x$enable_unit_tests" = x"yes"; then
-  if test "x$have_glib" = x"no"; then
-    AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found])
-  fi
-fi
-
-# Having unit testing disabled when GLib has been explicitly requested is an error
-if test "x$enable_unit_tests" = x"no"; then
-  if test "x$with_glib" = x"yes"; then
-    AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found])
-  fi
-fi
-
-# Not having GLib when it has been explicitly requested is an error
-if test "x$with_glib" = x"yes"; then
-  if test "x$have_glib" = x"no"; then
-    AC_MSG_ERROR([--with-glib=yes specified but glib-2.0 not found])
-  fi
-fi
-
-AM_CONDITIONAL([HAVE_GLIB], [test "$have_glib" = yes])
-]) # XORG_WITH_GLIB
-
-# XORG_LD_WRAP([required|optional])
-# ---------------------------------
-# Minimum version: 1.13.0
-#
-# Check if linker supports -wrap, passed via compiler flags
-#
-# When used with ENABLE_UNIT_TESTS, it is assumed -wrap is used for unit testing.
-# Otherwise the value of $enable_unit_tests is blank.
-#
-# Argument added in 1.16.0 - default is "required", to match existing behavior
-# of returning an error if enable_unit_tests is yes, and ld -wrap is not
-# available, an argument of "optional" allows use when some unit tests require
-# ld -wrap and others do not.
-#
-AC_DEFUN([XORG_LD_WRAP],[
-XORG_CHECK_LINKER_FLAGS([-Wl,-wrap,exit],[have_ld_wrap=yes],[have_ld_wrap=no],
-    [AC_LANG_PROGRAM([#include <stdlib.h>
-                      void __wrap_exit(int status) { return; }],
-                     [exit(0);])])
-# Not having ld wrap when unit testing has been explicitly requested is an error
-if test "x$enable_unit_tests" = x"yes" -a "x$1" != "xoptional"; then
-  if test "x$have_ld_wrap" = x"no"; then
-    AC_MSG_ERROR([--enable-unit-tests=yes specified but ld -wrap support is not available])
-  fi
-fi
-AM_CONDITIONAL([HAVE_LD_WRAP], [test "$have_ld_wrap" = yes])
-#
-]) # XORG_LD_WRAP
-
-# XORG_CHECK_LINKER_FLAGS
-# -----------------------
-# SYNOPSIS
-#
-#   XORG_CHECK_LINKER_FLAGS(FLAGS, [ACTION-SUCCESS], [ACTION-FAILURE], [PROGRAM-SOURCE])
-#
-# DESCRIPTION
-#
-#   Check whether the given linker FLAGS work with the current language's
-#   linker, or whether they give an error.
-#
-#   ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
-#   success/failure.
-#
-#   PROGRAM-SOURCE is the program source to link with, if needed
-#
-#   NOTE: Based on AX_CHECK_COMPILER_FLAGS.
-#
-# LICENSE
-#
-#   Copyright (c) 2009 Mike Frysinger <vapier@gentoo.org>
-#   Copyright (c) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
-#   Copyright (c) 2009 Matteo Frigo
-#
-#   This program is free software: you can redistribute it and/or modify it
-#   under the terms of the GNU General Public License as published by the
-#   Free Software Foundation, either version 3 of the License, or (at your
-#   option) any later version.
-#
-#   This program is distributed in the hope that it will be useful, but
-#   WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-#   Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License along
-#   with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#   As a special exception, the respective Autoconf Macro's copyright owner
-#   gives unlimited permission to copy, distribute and modify the configure
-#   scripts that are the output of Autoconf when processing the Macro. You
-#   need not follow the terms of the GNU General Public License when using
-#   or distributing such scripts, even though portions of the text of the
-#   Macro appear in them. The GNU General Public License (GPL) does govern
-#   all other use of the material that constitutes the Autoconf Macro.
-#
-#   This special exception to the GPL applies to versions of the Autoconf
-#   Macro released by the Autoconf Archive. When you make and distribute a
-#   modified version of the Autoconf Macro, you may extend this special
-#   exception to the GPL to apply to your modified version as well.#
-AC_DEFUN([XORG_CHECK_LINKER_FLAGS],
-[AC_MSG_CHECKING([whether the linker accepts $1])
-dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname:
-AS_LITERAL_IF([$1],
-  [AC_CACHE_VAL(AS_TR_SH(xorg_cv_linker_flags_[$1]), [
-      ax_save_FLAGS=$LDFLAGS
-      LDFLAGS="$1"
-      AC_LINK_IFELSE([m4_default([$4],[AC_LANG_PROGRAM()])],
-        AS_TR_SH(xorg_cv_linker_flags_[$1])=yes,
-        AS_TR_SH(xorg_cv_linker_flags_[$1])=no)
-      LDFLAGS=$ax_save_FLAGS])],
-  [ax_save_FLAGS=$LDFLAGS
-   LDFLAGS="$1"
-   AC_LINK_IFELSE([AC_LANG_PROGRAM()],
-     eval AS_TR_SH(xorg_cv_linker_flags_[$1])=yes,
-     eval AS_TR_SH(xorg_cv_linker_flags_[$1])=no)
-   LDFLAGS=$ax_save_FLAGS])
-eval xorg_check_linker_flags=$AS_TR_SH(xorg_cv_linker_flags_[$1])
-AC_MSG_RESULT($xorg_check_linker_flags)
-if test "x$xorg_check_linker_flags" = xyes; then
-       m4_default([$2], :)
-else
-       m4_default([$3], :)
-fi
-]) # XORG_CHECK_LINKER_FLAGS
-
-# XORG_MEMORY_CHECK_FLAGS
-# -----------------------
-# Minimum version: 1.16.0
-#
-# This macro attempts to find appropriate memory checking functionality
-# for various platforms which unit testing code may use to catch various
-# forms of memory allocation and access errors in testing.
-#
-# Interface to module:
-# XORG_MALLOC_DEBUG_ENV - environment variables to set to enable debugging
-#                         Usually added to TESTS_ENVIRONMENT in Makefile.am
-#
-# If the user sets the value of XORG_MALLOC_DEBUG_ENV, it is used verbatim.
-#
-AC_DEFUN([XORG_MEMORY_CHECK_FLAGS],[
-
-AC_REQUIRE([AC_CANONICAL_HOST])
-AC_ARG_VAR([XORG_MALLOC_DEBUG_ENV],
-           [Environment variables to enable memory checking in tests])
-
-# Check for different types of support on different platforms
-case $host_os in
-    solaris*)
-        AC_CHECK_LIB([umem], [umem_alloc],
-            [malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'])
-        ;;
-    *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
-        # both directly and inverted, so should not be 0 or 255.
-        malloc_debug_env='MALLOC_PERTURB_=15'
-        ;;
-    darwin*)
-        malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
-        ;;
-    *bsd*)
-        malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
-        ;;
-esac
-
-# User supplied flags override default flags
-if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
-    malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
-fi
-
-AC_SUBST([XORG_MALLOC_DEBUG_ENV],[$malloc_debug_env])
-]) # XORG_WITH_LINT
-
-# XORG_CHECK_MALLOC_ZERO
-# ----------------------
-# Minimum version: 1.0.0
-#
-# Defines {MALLOC,XMALLOC,XTMALLOC}_ZERO_CFLAGS appropriately if
-# malloc(0) returns NULL.  Packages should add one of these cflags to
-# their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
-AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[
-AC_ARG_ENABLE(malloc0returnsnull,
-       AS_HELP_STRING([--enable-malloc0returnsnull],
-                      [malloc(0) returns NULL (default: auto)]),
-       [MALLOC_ZERO_RETURNS_NULL=$enableval],
-       [MALLOC_ZERO_RETURNS_NULL=auto])
-
-AC_MSG_CHECKING([whether malloc(0) returns NULL])
-if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
-       AC_RUN_IFELSE([AC_LANG_PROGRAM([
-#include <stdlib.h>
-],[
-    char *m0, *r0, *c0, *p;
-    m0 = malloc(0);
-    p = malloc(10);
-    r0 = realloc(p,0);
-    c0 = calloc(0,10);
-    exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
-])],
-               [MALLOC_ZERO_RETURNS_NULL=yes],
-               [MALLOC_ZERO_RETURNS_NULL=no],
-               [MALLOC_ZERO_RETURNS_NULL=yes])
-fi
-AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL])
-
-if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
-       MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
-       XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
-       XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
-else
-       MALLOC_ZERO_CFLAGS=""
-       XMALLOC_ZERO_CFLAGS=""
-       XTMALLOC_ZERO_CFLAGS=""
-fi
-
-AC_SUBST([MALLOC_ZERO_CFLAGS])
-AC_SUBST([XMALLOC_ZERO_CFLAGS])
-AC_SUBST([XTMALLOC_ZERO_CFLAGS])
-]) # XORG_CHECK_MALLOC_ZERO
-
-# XORG_WITH_LINT()
-# ----------------
-# Minimum version: 1.1.0
-#
-# This macro enables the use of a tool that flags some suspicious and
-# non-portable constructs (likely to be bugs) in C language source code.
-# It will attempt to locate the tool and use appropriate options.
-# There are various lint type tools on different platforms.
-#
-# Interface to module:
-# LINT:                returns the path to the tool found on the platform
-#              or the value set to LINT on the configure cmd line
-#              also an Automake conditional
-# LINT_FLAGS:  an Automake variable with appropriate flags
-#
-# --with-lint: 'yes' user instructs the module to use lint
-#              'no' user instructs the module not to use lint (default)
-#
-# If the user sets the value of LINT, AC_PATH_PROG skips testing the path.
-# If the user sets the value of LINT_FLAGS, they are used verbatim.
-#
-AC_DEFUN([XORG_WITH_LINT],[
-
-AC_ARG_VAR([LINT], [Path to a lint-style command])
-AC_ARG_VAR([LINT_FLAGS], [Flags for the lint-style command])
-AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
-               [Use a lint-style source code checker (default: disabled)])],
-               [use_lint=$withval], [use_lint=no])
-
-# Obtain platform specific info like program name and options
-# The lint program on FreeBSD and NetBSD is different from the one on Solaris
-case $host_os in
-  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
-       lint_name=splint
-       lint_options="-badflag"
-       ;;
-  *freebsd* | *netbsd*)
-       lint_name=lint
-       lint_options="-u -b"
-       ;;
-  *solaris*)
-       lint_name=lint
-       lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
-       ;;
-esac
-
-# Test for the presence of the program (either guessed by the code or spelled out by the user)
-if test "x$use_lint" = x"yes" ; then
-   AC_PATH_PROG([LINT], [$lint_name])
-   if test "x$LINT" = "x"; then
-        AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH])
-   fi
-elif test "x$use_lint" = x"no" ; then
-   if test "x$LINT" != "x"; then
-      AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified])
-   fi
-else
-   AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.])
-fi
-
-# User supplied flags override default flags
-if test "x$LINT_FLAGS" != "x"; then
-   lint_options=$LINT_FLAGS
-fi
-
-AC_SUBST([LINT_FLAGS],[$lint_options])
-AM_CONDITIONAL(LINT, [test "x$LINT" != x])
-
-]) # XORG_WITH_LINT
-
-# XORG_LINT_LIBRARY(LIBNAME)
-# --------------------------
-# Minimum version: 1.1.0
-#
-# Sets up flags for building lint libraries for checking programs that call
-# functions in the library.
-#
-# Interface to module:
-# LINTLIB              - Automake variable with the name of lint library file to make
-# MAKE_LINT_LIB                - Automake conditional
-#
-# --enable-lint-library:  - 'yes' user instructs the module to created a lint library
-#                        - 'no' user instructs the module not to create a lint library (default)
-
-AC_DEFUN([XORG_LINT_LIBRARY],[
-AC_REQUIRE([XORG_WITH_LINT])
-AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
-       [Create lint library (default: disabled)])],
-       [make_lint_lib=$enableval], [make_lint_lib=no])
-
-if test "x$make_lint_lib" = x"yes" ; then
-   LINTLIB=llib-l$1.ln
-   if test "x$LINT" = "x"; then
-        AC_MSG_ERROR([Cannot make lint library without --with-lint])
-   fi
-elif test "x$make_lint_lib" != x"no" ; then
-   AC_MSG_ERROR([--enable-lint-library expects 'yes' or 'no'.])
-fi
-
-AC_SUBST(LINTLIB)
-AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno])
-
-]) # XORG_LINT_LIBRARY
-
-# XORG_COMPILER_BRAND
-# -------------------
-# Minimum version: 1.14.0
-#
-# Checks for various brands of compilers and sets flags as appropriate:
-#   GNU gcc - relies on AC_PROG_CC (via AC_PROG_CC_C99) to set GCC to "yes"
-#   GNU g++ - relies on AC_PROG_CXX to set GXX to "yes"
-#   clang compiler - sets CLANGCC to "yes"
-#   Intel compiler - sets INTELCC to "yes"
-#   Sun/Oracle Solaris Studio cc - sets SUNCC to "yes"
-#
-AC_DEFUN([XORG_COMPILER_BRAND], [
-AC_LANG_CASE(
-       [C], [
-               AC_REQUIRE([AC_PROG_CC_C99])
-       ],
-       [C++], [
-               AC_REQUIRE([AC_PROG_CXX])
-       ]
-)
-AC_CHECK_DECL([__clang__], [CLANGCC="yes"], [CLANGCC="no"])
-AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"])
-AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
-]) # XORG_COMPILER_BRAND
-
-# XORG_TESTSET_CFLAG(<variable>, <flag>, [<alternative flag>, ...])
-# ---------------
-# Minimum version: 1.16.0
-#
-# Test if the compiler works when passed the given flag as a command line argument.
-# If it succeeds, the flag is appeneded to the given variable.  If not, it tries the
-# next flag in the list until there are no more options.
-#
-# Note that this does not guarantee that the compiler supports the flag as some
-# compilers will simply ignore arguments that they do not understand, but we do
-# attempt to weed out false positives by using -Werror=unknown-warning-option and
-# -Werror=unused-command-line-argument
-#
-AC_DEFUN([XORG_TESTSET_CFLAG], [
-m4_if([$#], 0, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
-m4_if([$#], 1, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
-
-AC_LANG_COMPILER_REQUIRE
-
-AC_LANG_CASE(
-       [C], [
-               AC_REQUIRE([AC_PROG_CC_C99])
-               define([PREFIX], [C])
-               define([CACHE_PREFIX], [cc])
-               define([COMPILER], [$CC])
-       ],
-       [C++], [
-               define([PREFIX], [CXX])
-               define([CACHE_PREFIX], [cxx])
-               define([COMPILER], [$CXX])
-       ]
-)
-
-[xorg_testset_save_]PREFIX[FLAGS]="$PREFIX[FLAGS]"
-
-if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "x" ; then
-       PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
-       AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unknown-warning-option],
-                       [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option],
-                       AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
-                                         [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=yes],
-                                         [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=no]))
-       [xorg_testset_]CACHE_PREFIX[_unknown_warning_option]=$[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option]
-       PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
-fi
-
-if test "x$[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]" = "x" ; then
-       if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "xyes" ; then
-               PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
-       fi
-       PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
-       AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unused-command-line-argument],
-                       [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument],
-                       AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
-                                         [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=yes],
-                                         [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=no]))
-       [xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]=$[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument]
-       PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
-fi
-
-found="no"
-m4_foreach([flag], m4_cdr($@), [
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
-               fi
-
-               PREFIX[FLAGS]="$PREFIX[FLAGS] ]flag["
-
-dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname
-               AC_MSG_CHECKING([if ]COMPILER[ supports ]flag[])
-               cacheid=AS_TR_SH([xorg_cv_]CACHE_PREFIX[_flag_]flag[])
-               AC_CACHE_VAL($cacheid,
-                            [AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])],
-                                            [eval $cacheid=yes],
-                                            [eval $cacheid=no])])
-
-               PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
-
-               eval supported=\$$cacheid
-               AC_MSG_RESULT([$supported])
-               if test "$supported" = "yes" ; then
-                       $1="$$1 ]flag["
-                       found="yes"
-               fi
-       fi
-])
-]) # XORG_TESTSET_CFLAG
-
-# XORG_COMPILER_FLAGS
-# ---------------
-# Minimum version: 1.16.0
-#
-# Defines BASE_CFLAGS or BASE_CXXFLAGS to contain a set of command line
-# arguments supported by the selected compiler which do NOT alter the generated
-# code.  These arguments will cause the compiler to print various warnings
-# during compilation AND turn a conservative set of warnings into errors.
-#
-# The set of flags supported by BASE_CFLAGS and BASE_CXXFLAGS will grow in
-# future versions of util-macros as options are added to new compilers.
-#
-AC_DEFUN([XORG_COMPILER_FLAGS], [
-AC_REQUIRE([XORG_COMPILER_BRAND])
-
-AC_ARG_ENABLE(selective-werror,
-              AS_HELP_STRING([--disable-selective-werror],
-                             [Turn off selective compiler errors. (default: enabled)]),
-              [SELECTIVE_WERROR=$enableval],
-              [SELECTIVE_WERROR=yes])
-
-AC_LANG_CASE(
-        [C], [
-                define([PREFIX], [C])
-        ],
-        [C++], [
-                define([PREFIX], [CXX])
-        ]
-)
-# -v is too short to test reliably with XORG_TESTSET_CFLAG
-if test "x$SUNCC" = "xyes"; then
-    [BASE_]PREFIX[FLAGS]="-v"
-else
-    [BASE_]PREFIX[FLAGS]=""
-fi
-
-# This chunk of warnings were those that existed in the legacy CWARNFLAGS
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wall])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-arith])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-declarations])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wformat=2], [-Wformat])
-
-AC_LANG_CASE(
-       [C], [
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wstrict-prototypes])
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes])
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
-               XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
-       ]
-)
-
-# This chunk adds additional warnings that could catch undesired effects.
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wunused])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wuninitialized])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls])
-
-# These are currently disabled because they are noisy.  They will be enabled
-# in the future once the codebase is sufficiently modernized to silence
-# them.  For now, I don't want them to drown out the other warnings.
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
-
-# Turn some warnings into errors, so we don't accidently get successful builds
-# when there are problems that should be fixed.
-
-if test "x$SELECTIVE_WERROR" = "xyes" ; then
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=implicit], [-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=nonnull])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=init-self])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=main])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=missing-braces])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=sequence-point])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=return-type], [-errwarn=E_FUNC_HAS_NO_RETURN_STMT])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=trigraphs])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=array-bounds])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=write-strings])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=address])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) # Also -errwarn=E_BAD_PTR_INT_COMBINATION
-else
-AC_MSG_WARN([You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wimplicit])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnonnull])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Winit-self])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmain])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-braces])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wsequence-point])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wreturn-type])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wtrigraphs])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Warray-bounds])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wwrite-strings])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Waddress])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast])
-XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast])
-fi
-
-AC_SUBST([BASE_]PREFIX[FLAGS])
-]) # XORG_COMPILER_FLAGS
-
-# XORG_CWARNFLAGS
-# ---------------
-# Minimum version: 1.2.0
-# Deprecated since: 1.16.0 (Use XORG_COMPILER_FLAGS instead)
-#
-# Defines CWARNFLAGS to enable C compiler warnings.
-#
-# This function is deprecated because it defines -fno-strict-aliasing
-# which alters the code generated by the compiler.  If -fno-strict-aliasing
-# is needed, then it should be added explicitly in the module when
-# it is updated to use BASE_CFLAGS.
-#
-AC_DEFUN([XORG_CWARNFLAGS], [
-AC_REQUIRE([XORG_COMPILER_FLAGS])
-AC_REQUIRE([XORG_COMPILER_BRAND])
-AC_LANG_CASE(
-       [C], [
-               CWARNFLAGS="$BASE_CFLAGS"
-               if  test "x$GCC" = xyes ; then
-                   CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
-               fi
-               AC_SUBST(CWARNFLAGS)
-       ]
-)
-]) # XORG_CWARNFLAGS
-
-# XORG_STRICT_OPTION
-# -----------------------
-# Minimum version: 1.3.0
-#
-# Add configure option to enable strict compilation flags, such as treating
-# warnings as fatal errors.
-# If --enable-strict-compilation is passed to configure, adds strict flags to
-# $BASE_CFLAGS or $BASE_CXXFLAGS and the deprecated $CWARNFLAGS.
-#
-# Starting in 1.14.0 also exports $STRICT_CFLAGS for use in other tests or
-# when strict compilation is unconditionally desired.
-AC_DEFUN([XORG_STRICT_OPTION], [
-AC_REQUIRE([XORG_CWARNFLAGS])
-AC_REQUIRE([XORG_COMPILER_FLAGS])
-
-AC_ARG_ENABLE(strict-compilation,
-                         AS_HELP_STRING([--enable-strict-compilation],
-                         [Enable all warnings from compiler and make them errors (default: disabled)]),
-                         [STRICT_COMPILE=$enableval], [STRICT_COMPILE=no])
-
-AC_LANG_CASE(
-        [C], [
-                define([PREFIX], [C])
-        ],
-        [C++], [
-                define([PREFIX], [CXX])
-        ]
-)
-
-[STRICT_]PREFIX[FLAGS]=""
-XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-pedantic])
-XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror], [-errwarn])
-
-# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
-# activate it with -Werror, so we add it here explicitly.
-XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror=attributes])
-
-if test "x$STRICT_COMPILE" = "xyes"; then
-    [BASE_]PREFIX[FLAGS]="$[BASE_]PREFIX[FLAGS] $[STRICT_]PREFIX[FLAGS]"
-    AC_LANG_CASE([C], [CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"])
-fi
-AC_SUBST([STRICT_]PREFIX[FLAGS])
-AC_SUBST([BASE_]PREFIX[FLAGS])
-AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
-]) # XORG_STRICT_OPTION
-
-# XORG_DEFAULT_OPTIONS
-# --------------------
-# Minimum version: 1.3.0
-#
-# Defines default options for X.Org modules.
-#
-AC_DEFUN([XORG_DEFAULT_OPTIONS], [
-AC_REQUIRE([AC_PROG_INSTALL])
-XORG_COMPILER_FLAGS
-XORG_CWARNFLAGS
-XORG_STRICT_OPTION
-XORG_RELEASE_VERSION
-XORG_CHANGELOG
-XORG_INSTALL
-XORG_MANPAGE_SECTIONS
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
-    [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
-]) # XORG_DEFAULT_OPTIONS
-
-# XORG_INSTALL()
-# ----------------
-# Minimum version: 1.4.0
-#
-# Defines the variable INSTALL_CMD as the command to copy
-# INSTALL from $prefix/share/util-macros.
-#
-AC_DEFUN([XORG_INSTALL], [
-AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
-INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
-mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
-|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
-echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
-AC_SUBST([INSTALL_CMD])
-]) # XORG_INSTALL
-dnl Copyright 2005 Red Hat, Inc
-dnl
-dnl Permission to use, copy, modify, distribute, and sell this software and its
-dnl documentation for any purpose is hereby granted without fee, provided that
-dnl the above copyright notice appear in all copies and that both that
-dnl copyright notice and this permission notice appear in supporting
-dnl documentation.
-dnl
-dnl The above copyright notice and this permission notice shall be included
-dnl in all copies or substantial portions of the Software.
-dnl
-dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-dnl IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
-dnl OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-dnl ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-dnl OTHER DEALINGS IN THE SOFTWARE.
-dnl
-dnl Except as contained in this notice, the name of the copyright holders shall
-dnl not be used in advertising or otherwise to promote the sale, use or
-dnl other dealings in this Software without prior written authorization
-dnl from the copyright holders.
-dnl
-
-# XORG_RELEASE_VERSION
-# --------------------
-# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
-AC_DEFUN([XORG_RELEASE_VERSION],[
-       AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
-               [`echo $PACKAGE_VERSION | cut -d . -f 1`],
-               [Major version of this package])
-       PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
-       if test "x$PVM" = "x"; then
-               PVM="0"
-       fi
-       AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],
-               [$PVM],
-               [Minor version of this package])
-       PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
-       if test "x$PVP" = "x"; then
-               PVP="0"
-       fi
-       AC_DEFINE_UNQUOTED([PACKAGE_VERSION_PATCHLEVEL],
-               [$PVP],
-               [Patch version of this package])
-])
-
-# XORG_CHANGELOG()
-# ----------------
-# Minimum version: 1.2.0
-#
-# Defines the variable CHANGELOG_CMD as the command to generate
-# ChangeLog from git.
-#
-#
-AC_DEFUN([XORG_CHANGELOG], [
-CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
-mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
-|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
-echo 'git directory not found: installing possibly empty changelog.' >&2)"
-AC_SUBST([CHANGELOG_CMD])
-]) # XORG_CHANGELOG
-
-dnl
-dnl Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
-dnl
-dnl Permission is hereby granted, free of charge, to any person obtaining a
-dnl copy of this software and associated documentation files (the "Software"),
-dnl to deal in the Software without restriction, including without limitation
-dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
-dnl and/or sell copies of the Software, and to permit persons to whom the
-dnl Software is furnished to do so, subject to the following conditions:
-dnl
-dnl The above copyright notice and this permission notice (including the next
-dnl paragraph) shall be included in all copies or substantial portions of the
-dnl Software.
-dnl
-dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-dnl DEALINGS IN THE SOFTWARE.
-dnl
-
-# XTRANS_TCP_FLAGS()
-# ------------------
-# Find needed libraries for TCP sockets, and check for IPv6 support
-AC_DEFUN([XTRANS_TCP_FLAGS],[
- # SVR4 hides these in libraries other than libc
- AC_SEARCH_LIBS(socket, [socket])
- AC_SEARCH_LIBS(gethostbyname, [nsl])
- if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
-   AC_HAVE_LIBRARY([ws2_32])
- fi
-
- # Needs to come after above checks for libsocket & libnsl for SVR4 systems
- AC_ARG_ENABLE(ipv6,
-       AC_HELP_STRING([--enable-ipv6],[Enable IPv6 support]),
-       [IPV6CONN=$enableval],
-       [AC_CHECK_FUNC(getaddrinfo,[IPV6CONN=yes],[IPV6CONN=no])])
- AC_MSG_CHECKING([if IPv6 support should be built])
- if test "$IPV6CONN" = "yes"; then
-       AC_DEFINE(IPv6,1,[Support IPv6 for TCP connections])
- fi
- AC_MSG_RESULT($IPV6CONN)
-
- # 4.3BSD-Reno added a new member to struct sockaddr_in
- AC_CHECK_MEMBER([struct sockaddr_in.sin_len],
-       AC_DEFINE([BSD44SOCKETS],1,
-           [Define to 1 if `struct sockaddr_in' has a `sin_len' member]), [], [
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
- ])
-
- # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
- AC_CHECK_TYPES([socklen_t], [], [], [
-AC_INCLUDES_DEFAULT
-#include <sys/socket.h>])
-
-]) # XTRANS_TCP_FLAGS
-
-# XTRANS_CONNECTION_FLAGS()
-# -------------------------
-# Standard checks for which Xtrans transports to use by the Xorg packages
-# that use Xtrans functions
-AC_DEFUN([XTRANS_CONNECTION_FLAGS],[
- AC_REQUIRE([AC_CANONICAL_HOST])
- AC_REQUIRE([AC_TYPE_SIGNAL])
- [case $host_os in
-       mingw*) unixdef="no"   ;;
-       *)      unixdef="yes"  ;;
- esac]
- AC_ARG_ENABLE(unix-transport,
-       AC_HELP_STRING([--enable-unix-transport],[Enable UNIX domain socket transport]),
-       [UNIXCONN=$enableval], [UNIXCONN=$unixdef])
- AC_MSG_CHECKING([if Xtrans should support UNIX socket connections])
- if test "$UNIXCONN" = "yes"; then
-       AC_DEFINE(UNIXCONN,1,[Support UNIX socket connections])
- fi
- AC_MSG_RESULT($UNIXCONN)
- AC_ARG_ENABLE(tcp-transport,
-       AC_HELP_STRING([--enable-tcp-transport],[Enable TCP socket transport]),
-       [TCPCONN=$enableval], [TCPCONN=yes])
- AC_MSG_CHECKING([if Xtrans should support TCP socket connections])
- AC_MSG_RESULT($TCPCONN)
- if test "$TCPCONN" = "yes"; then
-       AC_DEFINE(TCPCONN,1,[Support TCP socket connections])
-       XTRANS_TCP_FLAGS
- fi
- [case $host_os in
-       solaris*|sco*|sysv4*)   localdef="yes" ;;
-       *)                      localdef="no"  ;;
- esac]
- AC_ARG_ENABLE(local-transport,
-       AC_HELP_STRING([--enable-local-transport],[Enable os-specific local transport]),
-       [LOCALCONN=$enableval], [LOCALCONN=$localdef])
- AC_MSG_CHECKING([if Xtrans should support os-specific local connections])
- AC_MSG_RESULT($LOCALCONN)
- if test "$LOCALCONN" = "yes"; then
-       AC_DEFINE(LOCALCONN,1,[Support os-specific local connections])
- fi
-
-]) # XTRANS_CONNECTION_FLAGS
-
-
-# XTRANS_SECURE_RPC_FLAGS()
-# -------------------------
-# Check for Secure RPC functions - must come after XTRANS_TCP_FLAGS
-# so that any necessary networking libraries are already found
-AC_DEFUN([XTRANS_SECURE_RPC_FLAGS],
-[AC_REQUIRE([XTRANS_TCP_FLAGS])
- AC_ARG_ENABLE(secure-rpc,
-       AC_HELP_STRING([--enable-secure-rpc],[Enable Secure RPC]),
-        [SECURE_RPC=$enableval], [SECURE_RPC="try"])
-
- if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
-       FOUND_SECURE_RPC="no"
-       AC_CHECK_FUNCS([authdes_seccreate authdes_create],
-                       [FOUND_SECURE_RPC="yes"])
-       if test "x$FOUND_SECURE_RPC" = "xno" ; then
-               if test "x$SECURE_RPC" = "xyes" ; then
-       AC_MSG_ERROR([Secure RPC requested, but required functions not found])
-               fi
-               SECURE_RPC="no"
-       else
-               dnl FreeBSD keeps getsecretkey in librpcsvc
-               AC_SEARCH_LIBS(getsecretkey, [rpcsvc])
-               SECURE_RPC="yes"
-       fi
- fi
- AC_MSG_CHECKING([if Secure RPC authentication ("SUN-DES-1") should be supported])
- if test "x$SECURE_RPC" = "xyes" ; then
-       AC_DEFINE(SECURE_RPC, 1, [Support Secure RPC ("SUN-DES-1") authentication for X11 clients])
- fi
- AC_MSG_RESULT($SECURE_RPC)
-]) # XTRANS_SECURE_RPC_FLAGS
-
-
diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..fc34bd5
--- /dev/null
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+if test -z "$NOCONFIGURE"; then
+    $srcdir/configure "$@"
+fi
diff --git a/config.guess b/config.guess
deleted file mode 100755 (executable)
index 8152efd..0000000
+++ /dev/null
@@ -1,1522 +0,0 @@
-#! /bin/sh
-# Attempt to guess a canonical system name.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-#   2011 Free Software Foundation, Inc.
-
-timestamp='2011-11-11'
-
-# This file is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Originally written by Per Bothner.  Please send patches (context
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
-# entry.
-#
-# This script attempts to guess a canonical system name similar to
-# config.sub.  If it succeeds, it prints the system name on stdout, and
-# exits with 0.  Otherwise, it exits with 1.
-#
-# You can get the latest version of this script from:
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION]
-
-Output the configuration name of the system \`$me' is run on.
-
-Operation modes:
-  -h, --help         print this help, then exit
-  -t, --time-stamp   print date of last modification, then exit
-  -v, --version      print version number, then exit
-
-Report bugs and patches to <config-patches@gnu.org>."
-
-version="\
-GNU config.guess ($timestamp)
-
-Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
-Software Foundation, Inc.
-
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
-  case $1 in
-    --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit ;;
-    --version | -v )
-       echo "$version" ; exit ;;
-    --help | --h* | -h )
-       echo "$usage"; exit ;;
-    -- )     # Stop option processing
-       shift; break ;;
-    - )        # Use stdin as input.
-       break ;;
-    -* )
-       echo "$me: invalid option $1$help" >&2
-       exit 1 ;;
-    * )
-       break ;;
-  esac
-done
-
-if test $# != 0; then
-  echo "$me: too many arguments$help" >&2
-  exit 1
-fi
-
-trap 'exit 1' 1 2 15
-
-# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
-# compiler to aid in system detection is discouraged as it requires
-# temporary files to be created and, as you can see below, it is a
-# headache to deal with in a portable fashion.
-
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
-
-# Portable tmp directory creation inspired by the Autoconf team.
-
-set_cc_for_build='
-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
-: ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
-dummy=$tmp/dummy ;
-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
-case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,)    echo "int x;" > $dummy.c ;
-       for c in cc gcc c89 c99 ; do
-         if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
-            CC_FOR_BUILD="$c"; break ;
-         fi ;
-       done ;
-       if test x"$CC_FOR_BUILD" = x ; then
-         CC_FOR_BUILD=no_compiler_found ;
-       fi
-       ;;
- ,,*)   CC_FOR_BUILD=$CC ;;
- ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
-esac ; set_cc_for_build= ;'
-
-# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
-# (ghazi@noc.rutgers.edu 1994-08-24)
-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
-       PATH=$PATH:/.attbin ; export PATH
-fi
-
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
-UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
-UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
-UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-
-# Note: order is significant - the case branches are not exclusive.
-
-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
-    *:NetBSD:*:*)
-       # NetBSD (nbsd) targets should (where applicable) match one or
-       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
-       # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
-       # switched to ELF, *-*-netbsd* would select the old
-       # object file format.  This provides both forward
-       # compatibility and a consistent mechanism for selecting the
-       # object file format.
-       #
-       # Note: NetBSD doesn't particularly care about the vendor
-       # portion of the name.  We always set it to "unknown".
-       sysctl="sysctl -n hw.machine_arch"
-       UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
-           /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
-       case "${UNAME_MACHINE_ARCH}" in
-           armeb) machine=armeb-unknown ;;
-           arm*) machine=arm-unknown ;;
-           sh3el) machine=shl-unknown ;;
-           sh3eb) machine=sh-unknown ;;
-           sh5el) machine=sh5le-unknown ;;
-           *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
-       esac
-       # The Operating System including object format, if it has switched
-       # to ELF recently, or will in the future.
-       case "${UNAME_MACHINE_ARCH}" in
-           arm*|i386|m68k|ns32k|sh3*|sparc|vax)
-               eval $set_cc_for_build
-               if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-                       | grep -q __ELF__
-               then
-                   # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
-                   # Return netbsd for either.  FIX?
-                   os=netbsd
-               else
-                   os=netbsdelf
-               fi
-               ;;
-           *)
-               os=netbsd
-               ;;
-       esac
-       # The OS release
-       # Debian GNU/NetBSD machines have a different userland, and
-       # thus, need a distinct triplet. However, they do not need
-       # kernel version information, so it can be replaced with a
-       # suitable tag, in the style of linux-gnu.
-       case "${UNAME_VERSION}" in
-           Debian*)
-               release='-gnu'
-               ;;
-           *)
-               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
-               ;;
-       esac
-       # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
-       # contains redundant information, the shorter form:
-       # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
-       echo "${machine}-${os}${release}"
-       exit ;;
-    *:OpenBSD:*:*)
-       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
-       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
-       exit ;;
-    *:ekkoBSD:*:*)
-       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
-       exit ;;
-    *:SolidBSD:*:*)
-       echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
-       exit ;;
-    macppc:MirBSD:*:*)
-       echo powerpc-unknown-mirbsd${UNAME_RELEASE}
-       exit ;;
-    *:MirBSD:*:*)
-       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
-       exit ;;
-    alpha:OSF1:*:*)
-       case $UNAME_RELEASE in
-       *4.0)
-               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-               ;;
-       *5.*)
-               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
-               ;;
-       esac
-       # According to Compaq, /usr/sbin/psrinfo has been available on
-       # OSF/1 and Tru64 systems produced since 1995.  I hope that
-       # covers most systems running today.  This code pipes the CPU
-       # types through head -n 1, so we only detect the type of CPU 0.
-       ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
-       case "$ALPHA_CPU_TYPE" in
-           "EV4 (21064)")
-               UNAME_MACHINE="alpha" ;;
-           "EV4.5 (21064)")
-               UNAME_MACHINE="alpha" ;;
-           "LCA4 (21066/21068)")
-               UNAME_MACHINE="alpha" ;;
-           "EV5 (21164)")
-               UNAME_MACHINE="alphaev5" ;;
-           "EV5.6 (21164A)")
-               UNAME_MACHINE="alphaev56" ;;
-           "EV5.6 (21164PC)")
-               UNAME_MACHINE="alphapca56" ;;
-           "EV5.7 (21164PC)")
-               UNAME_MACHINE="alphapca57" ;;
-           "EV6 (21264)")
-               UNAME_MACHINE="alphaev6" ;;
-           "EV6.7 (21264A)")
-               UNAME_MACHINE="alphaev67" ;;
-           "EV6.8CB (21264C)")
-               UNAME_MACHINE="alphaev68" ;;
-           "EV6.8AL (21264B)")
-               UNAME_MACHINE="alphaev68" ;;
-           "EV6.8CX (21264D)")
-               UNAME_MACHINE="alphaev68" ;;
-           "EV6.9A (21264/EV69A)")
-               UNAME_MACHINE="alphaev69" ;;
-           "EV7 (21364)")
-               UNAME_MACHINE="alphaev7" ;;
-           "EV7.9 (21364A)")
-               UNAME_MACHINE="alphaev79" ;;
-       esac
-       # A Pn.n version is a patched version.
-       # A Vn.n version is a released version.
-       # A Tn.n version is a released field test version.
-       # A Xn.n version is an unreleased experimental baselevel.
-       # 1.2 uses "1.2" for uname -r.
-       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-       # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
-       exitcode=$?
-       trap '' 0
-       exit $exitcode ;;
-    Alpha\ *:Windows_NT*:*)
-       # How do we know it's Interix rather than the generic POSIX subsystem?
-       # Should we change UNAME_MACHINE based on the output of uname instead
-       # of the specific Alpha model?
-       echo alpha-pc-interix
-       exit ;;
-    21064:Windows_NT:50:3)
-       echo alpha-dec-winnt3.5
-       exit ;;
-    Amiga*:UNIX_System_V:4.0:*)
-       echo m68k-unknown-sysv4
-       exit ;;
-    *:[Aa]miga[Oo][Ss]:*:*)
-       echo ${UNAME_MACHINE}-unknown-amigaos
-       exit ;;
-    *:[Mm]orph[Oo][Ss]:*:*)
-       echo ${UNAME_MACHINE}-unknown-morphos
-       exit ;;
-    *:OS/390:*:*)
-       echo i370-ibm-openedition
-       exit ;;
-    *:z/VM:*:*)
-       echo s390-ibm-zvmoe
-       exit ;;
-    *:OS400:*:*)
-       echo powerpc-ibm-os400
-       exit ;;
-    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
-       echo arm-acorn-riscix${UNAME_RELEASE}
-       exit ;;
-    arm:riscos:*:*|arm:RISCOS:*:*)
-       echo arm-unknown-riscos
-       exit ;;
-    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
-       echo hppa1.1-hitachi-hiuxmpp
-       exit ;;
-    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
-       # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
-       if test "`(/bin/universe) 2>/dev/null`" = att ; then
-               echo pyramid-pyramid-sysv3
-       else
-               echo pyramid-pyramid-bsd
-       fi
-       exit ;;
-    NILE*:*:*:dcosx)
-       echo pyramid-pyramid-svr4
-       exit ;;
-    DRS?6000:unix:4.0:6*)
-       echo sparc-icl-nx6
-       exit ;;
-    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
-       case `/usr/bin/uname -p` in
-           sparc) echo sparc-icl-nx7; exit ;;
-       esac ;;
-    s390x:SunOS:*:*)
-       echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    sun4H:SunOS:5.*:*)
-       echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
-       echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
-       echo i386-pc-auroraux${UNAME_RELEASE}
-       exit ;;
-    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
-       eval $set_cc_for_build
-       SUN_ARCH="i386"
-       # If there is a compiler, see if it is configured for 64-bit objects.
-       # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
-       # This test works for both compilers.
-       if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
-           if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
-               (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
-               grep IS_64BIT_ARCH >/dev/null
-           then
-               SUN_ARCH="x86_64"
-           fi
-       fi
-       echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    sun4*:SunOS:6*:*)
-       # According to config.sub, this is the proper way to canonicalize
-       # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
-       # it's likely to be more like Solaris than SunOS4.
-       echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    sun4*:SunOS:*:*)
-       case "`/usr/bin/arch -k`" in
-           Series*|S4*)
-               UNAME_RELEASE=`uname -v`
-               ;;
-       esac
-       # Japanese Language versions have a version number like `4.1.3-JL'.
-       echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
-       exit ;;
-    sun3*:SunOS:*:*)
-       echo m68k-sun-sunos${UNAME_RELEASE}
-       exit ;;
-    sun*:*:4.2BSD:*)
-       UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
-       test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
-       case "`/bin/arch`" in
-           sun3)
-               echo m68k-sun-sunos${UNAME_RELEASE}
-               ;;
-           sun4)
-               echo sparc-sun-sunos${UNAME_RELEASE}
-               ;;
-       esac
-       exit ;;
-    aushp:SunOS:*:*)
-       echo sparc-auspex-sunos${UNAME_RELEASE}
-       exit ;;
-    # The situation for MiNT is a little confusing.  The machine name
-    # can be virtually everything (everything which is not
-    # "atarist" or "atariste" at least should have a processor
-    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
-    # to the lowercase version "mint" (or "freemint").  Finally
-    # the system name "TOS" denotes a system which is actually not
-    # MiNT.  But MiNT is downward compatible to TOS, so this should
-    # be no problem.
-    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-       echo m68k-atari-mint${UNAME_RELEASE}
-       exit ;;
-    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
-       echo m68k-atari-mint${UNAME_RELEASE}
-       exit ;;
-    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-       echo m68k-atari-mint${UNAME_RELEASE}
-       exit ;;
-    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-       echo m68k-milan-mint${UNAME_RELEASE}
-       exit ;;
-    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-       echo m68k-hades-mint${UNAME_RELEASE}
-       exit ;;
-    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-       echo m68k-unknown-mint${UNAME_RELEASE}
-       exit ;;
-    m68k:machten:*:*)
-       echo m68k-apple-machten${UNAME_RELEASE}
-       exit ;;
-    powerpc:machten:*:*)
-       echo powerpc-apple-machten${UNAME_RELEASE}
-       exit ;;
-    RISC*:Mach:*:*)
-       echo mips-dec-mach_bsd4.3
-       exit ;;
-    RISC*:ULTRIX:*:*)
-       echo mips-dec-ultrix${UNAME_RELEASE}
-       exit ;;
-    VAX*:ULTRIX*:*:*)
-       echo vax-dec-ultrix${UNAME_RELEASE}
-       exit ;;
-    2020:CLIX:*:* | 2430:CLIX:*:*)
-       echo clipper-intergraph-clix${UNAME_RELEASE}
-       exit ;;
-    mips:*:*:UMIPS | mips:*:*:RISCos)
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-#ifdef __cplusplus
-#include <stdio.h>  /* for printf() prototype */
-       int main (int argc, char *argv[]) {
-#else
-       int main (argc, argv) int argc; char *argv[]; {
-#endif
-       #if defined (host_mips) && defined (MIPSEB)
-       #if defined (SYSTYPE_SYSV)
-         printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
-       #endif
-       #if defined (SYSTYPE_SVR4)
-         printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
-       #endif
-       #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
-         printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
-       #endif
-       #endif
-         exit (-1);
-       }
-EOF
-       $CC_FOR_BUILD -o $dummy $dummy.c &&
-         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
-         SYSTEM_NAME=`$dummy $dummyarg` &&
-           { echo "$SYSTEM_NAME"; exit; }
-       echo mips-mips-riscos${UNAME_RELEASE}
-       exit ;;
-    Motorola:PowerMAX_OS:*:*)
-       echo powerpc-motorola-powermax
-       exit ;;
-    Motorola:*:4.3:PL8-*)
-       echo powerpc-harris-powermax
-       exit ;;
-    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
-       echo powerpc-harris-powermax
-       exit ;;
-    Night_Hawk:Power_UNIX:*:*)
-       echo powerpc-harris-powerunix
-       exit ;;
-    m88k:CX/UX:7*:*)
-       echo m88k-harris-cxux7
-       exit ;;
-    m88k:*:4*:R4*)
-       echo m88k-motorola-sysv4
-       exit ;;
-    m88k:*:3*:R3*)
-       echo m88k-motorola-sysv3
-       exit ;;
-    AViiON:dgux:*:*)
-       # DG/UX returns AViiON for all architectures
-       UNAME_PROCESSOR=`/usr/bin/uname -p`
-       if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
-       then
-           if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
-              [ ${TARGET_BINARY_INTERFACE}x = x ]
-           then
-               echo m88k-dg-dgux${UNAME_RELEASE}
-           else
-               echo m88k-dg-dguxbcs${UNAME_RELEASE}
-           fi
-       else
-           echo i586-dg-dgux${UNAME_RELEASE}
-       fi
-       exit ;;
-    M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
-       echo m88k-dolphin-sysv3
-       exit ;;
-    M88*:*:R3*:*)
-       # Delta 88k system running SVR3
-       echo m88k-motorola-sysv3
-       exit ;;
-    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
-       echo m88k-tektronix-sysv3
-       exit ;;
-    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
-       echo m68k-tektronix-bsd
-       exit ;;
-    *:IRIX*:*:*)
-       echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
-       exit ;;
-    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
-       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
-       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
-    i*86:AIX:*:*)
-       echo i386-ibm-aix
-       exit ;;
-    ia64:AIX:*:*)
-       if [ -x /usr/bin/oslevel ] ; then
-               IBM_REV=`/usr/bin/oslevel`
-       else
-               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
-       fi
-       echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
-       exit ;;
-    *:AIX:2:3)
-       if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
-               eval $set_cc_for_build
-               sed 's/^                //' << EOF >$dummy.c
-               #include <sys/systemcfg.h>
-
-               main()
-                       {
-                       if (!__power_pc())
-                               exit(1);
-                       puts("powerpc-ibm-aix3.2.5");
-                       exit(0);
-                       }
-EOF
-               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
-               then
-                       echo "$SYSTEM_NAME"
-               else
-                       echo rs6000-ibm-aix3.2.5
-               fi
-       elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
-               echo rs6000-ibm-aix3.2.4
-       else
-               echo rs6000-ibm-aix3.2
-       fi
-       exit ;;
-    *:AIX:*:[4567])
-       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
-       if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
-               IBM_ARCH=rs6000
-       else
-               IBM_ARCH=powerpc
-       fi
-       if [ -x /usr/bin/oslevel ] ; then
-               IBM_REV=`/usr/bin/oslevel`
-       else
-               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
-       fi
-       echo ${IBM_ARCH}-ibm-aix${IBM_REV}
-       exit ;;
-    *:AIX:*:*)
-       echo rs6000-ibm-aix
-       exit ;;
-    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
-       echo romp-ibm-bsd4.4
-       exit ;;
-    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
-       echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
-       exit ;;                             # report: romp-ibm BSD 4.3
-    *:BOSX:*:*)
-       echo rs6000-bull-bosx
-       exit ;;
-    DPX/2?00:B.O.S.:*:*)
-       echo m68k-bull-sysv3
-       exit ;;
-    9000/[34]??:4.3bsd:1.*:*)
-       echo m68k-hp-bsd
-       exit ;;
-    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
-       echo m68k-hp-bsd4.4
-       exit ;;
-    9000/[34678]??:HP-UX:*:*)
-       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
-       case "${UNAME_MACHINE}" in
-           9000/31? )            HP_ARCH=m68000 ;;
-           9000/[34]?? )         HP_ARCH=m68k ;;
-           9000/[678][0-9][0-9])
-               if [ -x /usr/bin/getconf ]; then
-                   sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                   sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                   case "${sc_cpu_version}" in
-                     523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                     528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                     532)                      # CPU_PA_RISC2_0
-                       case "${sc_kernel_bits}" in
-                         32) HP_ARCH="hppa2.0n" ;;
-                         64) HP_ARCH="hppa2.0w" ;;
-                         '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                       esac ;;
-                   esac
-               fi
-               if [ "${HP_ARCH}" = "" ]; then
-                   eval $set_cc_for_build
-                   sed 's/^            //' << EOF >$dummy.c
-
-               #define _HPUX_SOURCE
-               #include <stdlib.h>
-               #include <unistd.h>
-
-               int main ()
-               {
-               #if defined(_SC_KERNEL_BITS)
-                   long bits = sysconf(_SC_KERNEL_BITS);
-               #endif
-                   long cpu  = sysconf (_SC_CPU_VERSION);
-
-                   switch (cpu)
-                       {
-                       case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-                       case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-                       case CPU_PA_RISC2_0:
-               #if defined(_SC_KERNEL_BITS)
-                           switch (bits)
-                               {
-                               case 64: puts ("hppa2.0w"); break;
-                               case 32: puts ("hppa2.0n"); break;
-                               default: puts ("hppa2.0"); break;
-                               } break;
-               #else  /* !defined(_SC_KERNEL_BITS) */
-                           puts ("hppa2.0"); break;
-               #endif
-                       default: puts ("hppa1.0"); break;
-                       }
-                   exit (0);
-               }
-EOF
-                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
-                   test -z "$HP_ARCH" && HP_ARCH=hppa
-               fi ;;
-       esac
-       if [ ${HP_ARCH} = "hppa2.0w" ]
-       then
-           eval $set_cc_for_build
-
-           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
-           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
-           # generating 64-bit code.  GNU and HP use different nomenclature:
-           #
-           # $ CC_FOR_BUILD=cc ./config.guess
-           # => hppa2.0w-hp-hpux11.23
-           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
-           # => hppa64-hp-hpux11.23
-
-           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
-               grep -q __LP64__
-           then
-               HP_ARCH="hppa2.0w"
-           else
-               HP_ARCH="hppa64"
-           fi
-       fi
-       echo ${HP_ARCH}-hp-hpux${HPUX_REV}
-       exit ;;
-    ia64:HP-UX:*:*)
-       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
-       echo ia64-hp-hpux${HPUX_REV}
-       exit ;;
-    3050*:HI-UX:*:*)
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #include <unistd.h>
-       int
-       main ()
-       {
-         long cpu = sysconf (_SC_CPU_VERSION);
-         /* The order matters, because CPU_IS_HP_MC68K erroneously returns
-            true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
-            results, however.  */
-         if (CPU_IS_PA_RISC (cpu))
-           {
-             switch (cpu)
-               {
-                 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
-                 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
-                 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
-                 default: puts ("hppa-hitachi-hiuxwe2"); break;
-               }
-           }
-         else if (CPU_IS_HP_MC68K (cpu))
-           puts ("m68k-hitachi-hiuxwe2");
-         else puts ("unknown-hitachi-hiuxwe2");
-         exit (0);
-       }
-EOF
-       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
-               { echo "$SYSTEM_NAME"; exit; }
-       echo unknown-hitachi-hiuxwe2
-       exit ;;
-    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
-       echo hppa1.1-hp-bsd
-       exit ;;
-    9000/8??:4.3bsd:*:*)
-       echo hppa1.0-hp-bsd
-       exit ;;
-    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
-       echo hppa1.0-hp-mpeix
-       exit ;;
-    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
-       echo hppa1.1-hp-osf
-       exit ;;
-    hp8??:OSF1:*:*)
-       echo hppa1.0-hp-osf
-       exit ;;
-    i*86:OSF1:*:*)
-       if [ -x /usr/sbin/sysversion ] ; then
-           echo ${UNAME_MACHINE}-unknown-osf1mk
-       else
-           echo ${UNAME_MACHINE}-unknown-osf1
-       fi
-       exit ;;
-    parisc*:Lites*:*:*)
-       echo hppa1.1-hp-lites
-       exit ;;
-    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
-       echo c1-convex-bsd
-       exit ;;
-    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
-       if getsysinfo -f scalar_acc
-       then echo c32-convex-bsd
-       else echo c2-convex-bsd
-       fi
-       exit ;;
-    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
-       echo c34-convex-bsd
-       exit ;;
-    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
-       echo c38-convex-bsd
-       exit ;;
-    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
-       echo c4-convex-bsd
-       exit ;;
-    CRAY*Y-MP:*:*:*)
-       echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-    CRAY*[A-Z]90:*:*:*)
-       echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
-       | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-             -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
-             -e 's/\.[^.]*$/.X/'
-       exit ;;
-    CRAY*TS:*:*:*)
-       echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-    CRAY*T3E:*:*:*)
-       echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-    CRAY*SV1:*:*:*)
-       echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-    *:UNICOS/mp:*:*)
-       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-       exit ;;
-    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
-       FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-       FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-       FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-       echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-       exit ;;
-    5000:UNIX_System_V:4.*:*)
-       FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-       FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-       echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-       exit ;;
-    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
-       echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
-       exit ;;
-    sparc*:BSD/OS:*:*)
-       echo sparc-unknown-bsdi${UNAME_RELEASE}
-       exit ;;
-    *:BSD/OS:*:*)
-       echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
-       exit ;;
-    *:FreeBSD:*:*)
-       UNAME_PROCESSOR=`/usr/bin/uname -p`
-       case ${UNAME_PROCESSOR} in
-           amd64)
-               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-           *)
-               echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
-       esac
-       exit ;;
-    i*:CYGWIN*:*)
-       echo ${UNAME_MACHINE}-pc-cygwin
-       exit ;;
-    *:MINGW*:*)
-       echo ${UNAME_MACHINE}-pc-mingw32
-       exit ;;
-    i*:MSYS*:*)
-       echo ${UNAME_MACHINE}-pc-msys
-       exit ;;
-    i*:windows32*:*)
-       # uname -m includes "-pc" on this system.
-       echo ${UNAME_MACHINE}-mingw32
-       exit ;;
-    i*:PW*:*)
-       echo ${UNAME_MACHINE}-pc-pw32
-       exit ;;
-    *:Interix*:*)
-       case ${UNAME_MACHINE} in
-           x86)
-               echo i586-pc-interix${UNAME_RELEASE}
-               exit ;;
-           authenticamd | genuineintel | EM64T)
-               echo x86_64-unknown-interix${UNAME_RELEASE}
-               exit ;;
-           IA64)
-               echo ia64-unknown-interix${UNAME_RELEASE}
-               exit ;;
-       esac ;;
-    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
-       echo i${UNAME_MACHINE}-pc-mks
-       exit ;;
-    8664:Windows_NT:*)
-       echo x86_64-pc-mks
-       exit ;;
-    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
-       # How do we know it's Interix rather than the generic POSIX subsystem?
-       # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
-       # UNAME_MACHINE based on the output of uname instead of i386?
-       echo i586-pc-interix
-       exit ;;
-    i*:UWIN*:*)
-       echo ${UNAME_MACHINE}-pc-uwin
-       exit ;;
-    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
-       echo x86_64-unknown-cygwin
-       exit ;;
-    p*:CYGWIN*:*)
-       echo powerpcle-unknown-cygwin
-       exit ;;
-    prep*:SunOS:5.*:*)
-       echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-       exit ;;
-    *:GNU:*:*)
-       # the GNU system
-       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
-       exit ;;
-    *:GNU/*:*:*)
-       # other systems with GNU libc and userland
-       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
-       exit ;;
-    i*86:Minix:*:*)
-       echo ${UNAME_MACHINE}-pc-minix
-       exit ;;
-    alpha:Linux:*:*)
-       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
-         EV5)   UNAME_MACHINE=alphaev5 ;;
-         EV56)  UNAME_MACHINE=alphaev56 ;;
-         PCA56) UNAME_MACHINE=alphapca56 ;;
-         PCA57) UNAME_MACHINE=alphapca56 ;;
-         EV6)   UNAME_MACHINE=alphaev6 ;;
-         EV67)  UNAME_MACHINE=alphaev67 ;;
-         EV68*) UNAME_MACHINE=alphaev68 ;;
-       esac
-       objdump --private-headers /bin/sh | grep -q ld.so.1
-       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
-       exit ;;
-    arm*:Linux:*:*)
-       eval $set_cc_for_build
-       if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
-           | grep -q __ARM_EABI__
-       then
-           echo ${UNAME_MACHINE}-unknown-linux-gnu
-       else
-           if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
-               | grep -q __ARM_PCS_VFP
-           then
-               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
-           else
-               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
-           fi
-       fi
-       exit ;;
-    avr32*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    cris:Linux:*:*)
-       echo cris-axis-linux-gnu
-       exit ;;
-    crisv32:Linux:*:*)
-       echo crisv32-axis-linux-gnu
-       exit ;;
-    frv:Linux:*:*)
-       echo frv-unknown-linux-gnu
-       exit ;;
-    hexagon:Linux:*:*)
-       echo hexagon-unknown-linux-gnu
-       exit ;;
-    i*86:Linux:*:*)
-       LIBC=gnu
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #ifdef __dietlibc__
-       LIBC=dietlibc
-       #endif
-EOF
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
-       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
-       exit ;;
-    ia64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    m32r*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    m68*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    mips:Linux:*:* | mips64:Linux:*:*)
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #undef CPU
-       #undef ${UNAME_MACHINE}
-       #undef ${UNAME_MACHINE}el
-       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-       CPU=${UNAME_MACHINE}el
-       #else
-       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-       CPU=${UNAME_MACHINE}
-       #else
-       CPU=
-       #endif
-       #endif
-EOF
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
-       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
-       ;;
-    or32:Linux:*:*)
-       echo or32-unknown-linux-gnu
-       exit ;;
-    padre:Linux:*:*)
-       echo sparc-unknown-linux-gnu
-       exit ;;
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
-       echo hppa64-unknown-linux-gnu
-       exit ;;
-    parisc:Linux:*:* | hppa:Linux:*:*)
-       # Look for CPU level
-       case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-         PA7*) echo hppa1.1-unknown-linux-gnu ;;
-         PA8*) echo hppa2.0-unknown-linux-gnu ;;
-         *)    echo hppa-unknown-linux-gnu ;;
-       esac
-       exit ;;
-    ppc64:Linux:*:*)
-       echo powerpc64-unknown-linux-gnu
-       exit ;;
-    ppc:Linux:*:*)
-       echo powerpc-unknown-linux-gnu
-       exit ;;
-    s390:Linux:*:* | s390x:Linux:*:*)
-       echo ${UNAME_MACHINE}-ibm-linux
-       exit ;;
-    sh64*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    sh*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    sparc:Linux:*:* | sparc64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    tile*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    vax:Linux:*:*)
-       echo ${UNAME_MACHINE}-dec-linux-gnu
-       exit ;;
-    x86_64:Linux:*:*)
-       echo x86_64-unknown-linux-gnu
-       exit ;;
-    xtensa*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-gnu
-       exit ;;
-    i*86:DYNIX/ptx:4*:*)
-       # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
-       # earlier versions are messed up and put the nodename in both
-       # sysname and nodename.
-       echo i386-sequent-sysv4
-       exit ;;
-    i*86:UNIX_SV:4.2MP:2.*)
-       # Unixware is an offshoot of SVR4, but it has its own version
-       # number series starting with 2...
-       # I am not positive that other SVR4 systems won't match this,
-       # I just have to hope.  -- rms.
-       # Use sysv4.2uw... so that sysv4* matches it.
-       echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
-       exit ;;
-    i*86:OS/2:*:*)
-       # If we were able to find `uname', then EMX Unix compatibility
-       # is probably installed.
-       echo ${UNAME_MACHINE}-pc-os2-emx
-       exit ;;
-    i*86:XTS-300:*:STOP)
-       echo ${UNAME_MACHINE}-unknown-stop
-       exit ;;
-    i*86:atheos:*:*)
-       echo ${UNAME_MACHINE}-unknown-atheos
-       exit ;;
-    i*86:syllable:*:*)
-       echo ${UNAME_MACHINE}-pc-syllable
-       exit ;;
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
-       echo i386-unknown-lynxos${UNAME_RELEASE}
-       exit ;;
-    i*86:*DOS:*:*)
-       echo ${UNAME_MACHINE}-pc-msdosdjgpp
-       exit ;;
-    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
-       UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
-       if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
-               echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
-       else
-               echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
-       fi
-       exit ;;
-    i*86:*:5:[678]*)
-       # UnixWare 7.x, OpenUNIX and OpenServer 6.
-       case `/bin/uname -X | grep "^Machine"` in
-           *486*)           UNAME_MACHINE=i486 ;;
-           *Pentium)        UNAME_MACHINE=i586 ;;
-           *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
-       esac
-       echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
-       exit ;;
-    i*86:*:3.2:*)
-       if test -f /usr/options/cb.name; then
-               UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
-               echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
-       elif /bin/uname -X 2>/dev/null >/dev/null ; then
-               UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
-               (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
-               (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
-                       && UNAME_MACHINE=i586
-               (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
-                       && UNAME_MACHINE=i686
-               (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
-                       && UNAME_MACHINE=i686
-               echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
-       else
-               echo ${UNAME_MACHINE}-pc-sysv32
-       fi
-       exit ;;
-    pc:*:*:*)
-       # Left here for compatibility:
-       # uname -m prints for DJGPP always 'pc', but it prints nothing about
-       # the processor, so we play safe by assuming i586.
-       # Note: whatever this is, it MUST be the same as what config.sub
-       # prints for the "djgpp" host, or else GDB configury will decide that
-       # this is a cross-build.
-       echo i586-pc-msdosdjgpp
-       exit ;;
-    Intel:Mach:3*:*)
-       echo i386-pc-mach3
-       exit ;;
-    paragon:*:*:*)
-       echo i860-intel-osf1
-       exit ;;
-    i860:*:4.*:*) # i860-SVR4
-       if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
-         echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
-       else # Add other i860-SVR4 vendors below as they are discovered.
-         echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
-       fi
-       exit ;;
-    mini*:CTIX:SYS*5:*)
-       # "miniframe"
-       echo m68010-convergent-sysv
-       exit ;;
-    mc68k:UNIX:SYSTEM5:3.51m)
-       echo m68k-convergent-sysv
-       exit ;;
-    M680?0:D-NIX:5.3:*)
-       echo m68k-diab-dnix
-       exit ;;
-    M68*:*:R3V[5678]*:*)
-       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
-    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
-       OS_REL=''
-       test -r /etc/.relid \
-       && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
-       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
-       /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
-    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-         && { echo i486-ncr-sysv4; exit; } ;;
-    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
-       OS_REL='.3'
-       test -r /etc/.relid \
-           && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
-       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-           && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
-       /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-           && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
-       /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
-           && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
-    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
-       echo m68k-unknown-lynxos${UNAME_RELEASE}
-       exit ;;
-    mc68030:UNIX_System_V:4.*:*)
-       echo m68k-atari-sysv4
-       exit ;;
-    TSUNAMI:LynxOS:2.*:*)
-       echo sparc-unknown-lynxos${UNAME_RELEASE}
-       exit ;;
-    rs6000:LynxOS:2.*:*)
-       echo rs6000-unknown-lynxos${UNAME_RELEASE}
-       exit ;;
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
-       echo powerpc-unknown-lynxos${UNAME_RELEASE}
-       exit ;;
-    SM[BE]S:UNIX_SV:*:*)
-       echo mips-dde-sysv${UNAME_RELEASE}
-       exit ;;
-    RM*:ReliantUNIX-*:*:*)
-       echo mips-sni-sysv4
-       exit ;;
-    RM*:SINIX-*:*:*)
-       echo mips-sni-sysv4
-       exit ;;
-    *:SINIX-*:*:*)
-       if uname -p 2>/dev/null >/dev/null ; then
-               UNAME_MACHINE=`(uname -p) 2>/dev/null`
-               echo ${UNAME_MACHINE}-sni-sysv4
-       else
-               echo ns32k-sni-sysv
-       fi
-       exit ;;
-    PENTIUM:*:4.0*:*)  # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                       # says <Richard.M.Bartel@ccMail.Census.GOV>
-       echo i586-unisys-sysv4
-       exit ;;
-    *:UNIX_System_V:4*:FTX*)
-       # From Gerald Hewes <hewes@openmarket.com>.
-       # How about differentiating between stratus architectures? -djm
-       echo hppa1.1-stratus-sysv4
-       exit ;;
-    *:*:*:FTX*)
-       # From seanf@swdc.stratus.com.
-       echo i860-stratus-sysv4
-       exit ;;
-    i*86:VOS:*:*)
-       # From Paul.Green@stratus.com.
-       echo ${UNAME_MACHINE}-stratus-vos
-       exit ;;
-    *:VOS:*:*)
-       # From Paul.Green@stratus.com.
-       echo hppa1.1-stratus-vos
-       exit ;;
-    mc68*:A/UX:*:*)
-       echo m68k-apple-aux${UNAME_RELEASE}
-       exit ;;
-    news*:NEWS-OS:6*:*)
-       echo mips-sony-newsos6
-       exit ;;
-    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
-       if [ -d /usr/nec ]; then
-               echo mips-nec-sysv${UNAME_RELEASE}
-       else
-               echo mips-unknown-sysv${UNAME_RELEASE}
-       fi
-       exit ;;
-    BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
-       echo powerpc-be-beos
-       exit ;;
-    BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
-       echo powerpc-apple-beos
-       exit ;;
-    BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
-       echo i586-pc-beos
-       exit ;;
-    BePC:Haiku:*:*)    # Haiku running on Intel PC compatible.
-       echo i586-pc-haiku
-       exit ;;
-    SX-4:SUPER-UX:*:*)
-       echo sx4-nec-superux${UNAME_RELEASE}
-       exit ;;
-    SX-5:SUPER-UX:*:*)
-       echo sx5-nec-superux${UNAME_RELEASE}
-       exit ;;
-    SX-6:SUPER-UX:*:*)
-       echo sx6-nec-superux${UNAME_RELEASE}
-       exit ;;
-    SX-7:SUPER-UX:*:*)
-       echo sx7-nec-superux${UNAME_RELEASE}
-       exit ;;
-    SX-8:SUPER-UX:*:*)
-       echo sx8-nec-superux${UNAME_RELEASE}
-       exit ;;
-    SX-8R:SUPER-UX:*:*)
-       echo sx8r-nec-superux${UNAME_RELEASE}
-       exit ;;
-    Power*:Rhapsody:*:*)
-       echo powerpc-apple-rhapsody${UNAME_RELEASE}
-       exit ;;
-    *:Rhapsody:*:*)
-       echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
-       exit ;;
-    *:Darwin:*:*)
-       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
-       case $UNAME_PROCESSOR in
-           i386)
-               eval $set_cc_for_build
-               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
-                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
-                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
-                     grep IS_64BIT_ARCH >/dev/null
-                 then
-                     UNAME_PROCESSOR="x86_64"
-                 fi
-               fi ;;
-           unknown) UNAME_PROCESSOR=powerpc ;;
-       esac
-       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
-       exit ;;
-    *:procnto*:*:* | *:QNX:[0123456789]*:*)
-       UNAME_PROCESSOR=`uname -p`
-       if test "$UNAME_PROCESSOR" = "x86"; then
-               UNAME_PROCESSOR=i386
-               UNAME_MACHINE=pc
-       fi
-       echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
-       exit ;;
-    *:QNX:*:4*)
-       echo i386-pc-qnx
-       exit ;;
-    NEO-?:NONSTOP_KERNEL:*:*)
-       echo neo-tandem-nsk${UNAME_RELEASE}
-       exit ;;
-    NSE-?:NONSTOP_KERNEL:*:*)
-       echo nse-tandem-nsk${UNAME_RELEASE}
-       exit ;;
-    NSR-?:NONSTOP_KERNEL:*:*)
-       echo nsr-tandem-nsk${UNAME_RELEASE}
-       exit ;;
-    *:NonStop-UX:*:*)
-       echo mips-compaq-nonstopux
-       exit ;;
-    BS2000:POSIX*:*:*)
-       echo bs2000-siemens-sysv
-       exit ;;
-    DS/*:UNIX_System_V:*:*)
-       echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
-       exit ;;
-    *:Plan9:*:*)
-       # "uname -m" is not consistent, so use $cputype instead. 386
-       # is converted to i386 for consistency with other x86
-       # operating systems.
-       if test "$cputype" = "386"; then
-           UNAME_MACHINE=i386
-       else
-           UNAME_MACHINE="$cputype"
-       fi
-       echo ${UNAME_MACHINE}-unknown-plan9
-       exit ;;
-    *:TOPS-10:*:*)
-       echo pdp10-unknown-tops10
-       exit ;;
-    *:TENEX:*:*)
-       echo pdp10-unknown-tenex
-       exit ;;
-    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
-       echo pdp10-dec-tops20
-       exit ;;
-    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
-       echo pdp10-xkl-tops20
-       exit ;;
-    *:TOPS-20:*:*)
-       echo pdp10-unknown-tops20
-       exit ;;
-    *:ITS:*:*)
-       echo pdp10-unknown-its
-       exit ;;
-    SEI:*:*:SEIUX)
-       echo mips-sei-seiux${UNAME_RELEASE}
-       exit ;;
-    *:DragonFly:*:*)
-       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-       exit ;;
-    *:*VMS:*:*)
-       UNAME_MACHINE=`(uname -p) 2>/dev/null`
-       case "${UNAME_MACHINE}" in
-           A*) echo alpha-dec-vms ; exit ;;
-           I*) echo ia64-dec-vms ; exit ;;
-           V*) echo vax-dec-vms ; exit ;;
-       esac ;;
-    *:XENIX:*:SysV)
-       echo i386-pc-xenix
-       exit ;;
-    i*86:skyos:*:*)
-       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
-       exit ;;
-    i*86:rdos:*:*)
-       echo ${UNAME_MACHINE}-pc-rdos
-       exit ;;
-    i*86:AROS:*:*)
-       echo ${UNAME_MACHINE}-pc-aros
-       exit ;;
-esac
-
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
-  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
-     I don't know....  */
-  printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
-  printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
-       "4"
-#else
-       ""
-#endif
-       ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix\n"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
-  printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
-  int version;
-  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
-  if (version < 4)
-    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
-  else
-    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
-  exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
-  printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
-  printf ("ns32k-encore-mach\n"); exit (0);
-#else
-  printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
-  printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
-  printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
-  printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
-    struct utsname un;
-
-    uname(&un);
-
-    if (strncmp(un.version, "V2", 2) == 0) {
-       printf ("i386-sequent-ptx2\n"); exit (0);
-    }
-    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
-       printf ("i386-sequent-ptx1\n"); exit (0);
-    }
-    printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-#  include <sys/param.h>
-#  if defined (BSD)
-#   if BSD == 43
-      printf ("vax-dec-bsd4.3\n"); exit (0);
-#   else
-#    if BSD == 199006
-      printf ("vax-dec-bsd4.3reno\n"); exit (0);
-#    else
-      printf ("vax-dec-bsd\n"); exit (0);
-#    endif
-#   endif
-#  else
-    printf ("vax-dec-bsd\n"); exit (0);
-#  endif
-# else
-    printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
-  printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
-  exit (1);
-}
-EOF
-
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
-       { echo "$SYSTEM_NAME"; exit; }
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
-    case `getsysinfo -f cpu_type` in
-    c1*)
-       echo c1-convex-bsd
-       exit ;;
-    c2*)
-       if getsysinfo -f scalar_acc
-       then echo c32-convex-bsd
-       else echo c2-convex-bsd
-       fi
-       exit ;;
-    c34*)
-       echo c34-convex-bsd
-       exit ;;
-    c38*)
-       echo c38-convex-bsd
-       exit ;;
-    c4*)
-       echo c4-convex-bsd
-       exit ;;
-    esac
-fi
-
-cat >&2 <<EOF
-$0: unable to guess system type
-
-This script, last modified $timestamp, has failed to recognize
-the operating system you are using. It is advised that you
-download the most up to date version of the config scripts from
-
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
-and
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
-
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to <config-patches@gnu.org> in order to provide the needed
-information to handle your system.
-
-config.guess timestamp = $timestamp
-
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
-
-hostinfo               = `(hostinfo) 2>/dev/null`
-/bin/universe          = `(/bin/universe) 2>/dev/null`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
-/bin/arch              = `(/bin/arch) 2>/dev/null`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
-
-UNAME_MACHINE = ${UNAME_MACHINE}
-UNAME_RELEASE = ${UNAME_RELEASE}
-UNAME_SYSTEM  = ${UNAME_SYSTEM}
-UNAME_VERSION = ${UNAME_VERSION}
-EOF
-
-exit 1
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/config.sub b/config.sub
deleted file mode 100755 (executable)
index e76eaf4..0000000
+++ /dev/null
@@ -1,1771 +0,0 @@
-#! /bin/sh
-# Configuration validation subroutine script.
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-#   2011 Free Software Foundation, Inc.
-
-timestamp='2011-11-11'
-
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine.  It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted GNU ChangeLog entry.
-#
-# Configuration subroutine to validate and canonicalize a configuration type.
-# Supply the specified configuration type as an argument.
-# If it is invalid, we print an error message on stderr and exit with code 1.
-# Otherwise, we print the canonical config type on stdout and succeed.
-
-# You can get the latest version of this script from:
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
-
-# This file is supposed to be the same for all GNU packages
-# and recognize all the CPU types, system types and aliases
-# that are meaningful with *any* GNU software.
-# Each package is responsible for reporting which valid configurations
-# it does not support.  The user should be able to distinguish
-# a failure to support a valid configuration from a meaningless
-# configuration.
-
-# The goal of this file is to map all the various variations of a given
-# machine specification into a single specification in the form:
-#      CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or in some cases, the newer four-part form:
-#      CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# It is wrong to echo any other type of specification.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
-       $0 [OPTION] ALIAS
-
-Canonicalize a configuration name.
-
-Operation modes:
-  -h, --help         print this help, then exit
-  -t, --time-stamp   print date of last modification, then exit
-  -v, --version      print version number, then exit
-
-Report bugs and patches to <config-patches@gnu.org>."
-
-version="\
-GNU config.sub ($timestamp)
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
-Software Foundation, Inc.
-
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
-  case $1 in
-    --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit ;;
-    --version | -v )
-       echo "$version" ; exit ;;
-    --help | --h* | -h )
-       echo "$usage"; exit ;;
-    -- )     # Stop option processing
-       shift; break ;;
-    - )        # Use stdin as input.
-       break ;;
-    -* )
-       echo "$me: invalid option $1$help"
-       exit 1 ;;
-
-    *local*)
-       # First pass through any local machine types.
-       echo $1
-       exit ;;
-
-    * )
-       break ;;
-  esac
-done
-
-case $# in
- 0) echo "$me: missing argument$help" >&2
-    exit 1;;
- 1) ;;
- *) echo "$me: too many arguments$help" >&2
-    exit 1;;
-esac
-
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
-# Here we must recognize all the valid KERNEL-OS combinations.
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
-case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
-  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
-  knetbsd*-gnu* | netbsd*-gnu* | \
-  kopensolaris*-gnu* | \
-  storm-chaos* | os2-emx* | rtmk-nova*)
-    os=-$maybe_os
-    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
-    ;;
-  *)
-    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
-    if [ $basic_machine != $1 ]
-    then os=`echo $1 | sed 's/.*-/-/'`
-    else os=; fi
-    ;;
-esac
-
-### Let's recognize common machines as not being operating systems so
-### that things like config.sub decstation-3100 work.  We also
-### recognize some manufacturers as not being operating systems, so we
-### can provide default operating systems below.
-case $os in
-       -sun*os*)
-               # Prevent following clause from handling this invalid input.
-               ;;
-       -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
-       -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-       -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-       -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-       -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-       -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-       -apple | -axis | -knuth | -cray | -microblaze)
-               os=
-               basic_machine=$1
-               ;;
-       -bluegene*)
-               os=-cnk
-               ;;
-       -sim | -cisco | -oki | -wec | -winbond)
-               os=
-               basic_machine=$1
-               ;;
-       -scout)
-               ;;
-       -wrs)
-               os=-vxworks
-               basic_machine=$1
-               ;;
-       -chorusos*)
-               os=-chorusos
-               basic_machine=$1
-               ;;
-       -chorusrdb)
-               os=-chorusrdb
-               basic_machine=$1
-               ;;
-       -hiux*)
-               os=-hiuxwe2
-               ;;
-       -sco6)
-               os=-sco5v6
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco5)
-               os=-sco3.2v5
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco4)
-               os=-sco3.2v4
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco3.2.[4-9]*)
-               os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco3.2v[4-9]*)
-               # Don't forget version if it is 3.2v4 or newer.
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco5v6*)
-               # Don't forget version if it is 3.2v4 or newer.
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -sco*)
-               os=-sco3.2v2
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -udk*)
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -isc)
-               os=-isc2.2
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -clix*)
-               basic_machine=clipper-intergraph
-               ;;
-       -isc*)
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
-               ;;
-       -lynx*)
-               os=-lynxos
-               ;;
-       -ptx*)
-               basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
-               ;;
-       -windowsnt*)
-               os=`echo $os | sed -e 's/windowsnt/winnt/'`
-               ;;
-       -psos*)
-               os=-psos
-               ;;
-       -mint | -mint[0-9]*)
-               basic_machine=m68k-atari
-               os=-mint
-               ;;
-esac
-
-# Decode aliases for certain CPU-COMPANY combinations.
-case $basic_machine in
-       # Recognize the basic CPU types without company name.
-       # Some are omitted here because they have special meanings below.
-       1750a | 580 \
-       | a29k \
-       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
-       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
-       | am33_2.0 \
-       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
-        | be32 | be64 \
-       | bfin \
-       | c4x | clipper \
-       | d10v | d30v | dlx | dsp16xx \
-       | epiphany \
-       | fido | fr30 | frv \
-       | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
-       | hexagon \
-       | i370 | i860 | i960 | ia64 \
-       | ip2k | iq2000 \
-       | le32 | le64 \
-       | lm32 \
-       | m32c | m32r | m32rle | m68000 | m68k | m88k \
-       | maxq | mb | microblaze | mcore | mep | metag \
-       | mips | mipsbe | mipseb | mipsel | mipsle \
-       | mips16 \
-       | mips64 | mips64el \
-       | mips64octeon | mips64octeonel \
-       | mips64orion | mips64orionel \
-       | mips64r5900 | mips64r5900el \
-       | mips64vr | mips64vrel \
-       | mips64vr4100 | mips64vr4100el \
-       | mips64vr4300 | mips64vr4300el \
-       | mips64vr5000 | mips64vr5000el \
-       | mips64vr5900 | mips64vr5900el \
-       | mipsisa32 | mipsisa32el \
-       | mipsisa32r2 | mipsisa32r2el \
-       | mipsisa64 | mipsisa64el \
-       | mipsisa64r2 | mipsisa64r2el \
-       | mipsisa64sb1 | mipsisa64sb1el \
-       | mipsisa64sr71k | mipsisa64sr71kel \
-       | mipstx39 | mipstx39el \
-       | mn10200 | mn10300 \
-       | moxie \
-       | mt \
-       | msp430 \
-       | nds32 | nds32le | nds32be \
-       | nios | nios2 \
-       | ns16k | ns32k \
-       | open8 \
-       | or32 \
-       | pdp10 | pdp11 | pj | pjl \
-       | powerpc | powerpc64 | powerpc64le | powerpcle \
-       | pyramid \
-       | rl78 | rx \
-       | score \
-       | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
-       | sh64 | sh64le \
-       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
-       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
-       | spu \
-       | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
-       | ubicom32 \
-       | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
-       | we32k \
-       | x86 | xc16x | xstormy16 | xtensa \
-       | z8k | z80)
-               basic_machine=$basic_machine-unknown
-               ;;
-       c54x)
-               basic_machine=tic54x-unknown
-               ;;
-       c55x)
-               basic_machine=tic55x-unknown
-               ;;
-       c6x)
-               basic_machine=tic6x-unknown
-               ;;
-       m6811 | m68hc11 | m6812 | m68hc12 | picochip)
-               # Motorola 68HC11/12.
-               basic_machine=$basic_machine-unknown
-               os=-none
-               ;;
-       m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
-               ;;
-       ms1)
-               basic_machine=mt-unknown
-               ;;
-
-       strongarm | thumb | xscale)
-               basic_machine=arm-unknown
-               ;;
-
-       xscaleeb)
-               basic_machine=armeb-unknown
-               ;;
-
-       xscaleel)
-               basic_machine=armel-unknown
-               ;;
-
-       # We use `pc' rather than `unknown'
-       # because (1) that's what they normally are, and
-       # (2) the word "unknown" tends to confuse beginning users.
-       i*86 | x86_64)
-         basic_machine=$basic_machine-pc
-         ;;
-       # Object if more than one company name word.
-       *-*-*)
-               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
-               exit 1
-               ;;
-       # Recognize the basic CPU types with company name.
-       580-* \
-       | a29k-* \
-       | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
-       | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
-       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
-       | avr-* | avr32-* \
-       | be32-* | be64-* \
-       | bfin-* | bs2000-* \
-       | c[123]* | c30-* | [cjt]90-* | c4x-* \
-       | clipper-* | craynv-* | cydra-* \
-       | d10v-* | d30v-* | dlx-* \
-       | elxsi-* \
-       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
-       | h8300-* | h8500-* \
-       | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
-       | hexagon-* \
-       | i*86-* | i860-* | i960-* | ia64-* \
-       | ip2k-* | iq2000-* \
-       | le32-* | le64-* \
-       | lm32-* \
-       | m32c-* | m32r-* | m32rle-* \
-       | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
-       | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
-       | mips16-* \
-       | mips64-* | mips64el-* \
-       | mips64octeon-* | mips64octeonel-* \
-       | mips64orion-* | mips64orionel-* \
-       | mips64r5900-* | mips64r5900el-* \
-       | mips64vr-* | mips64vrel-* \
-       | mips64vr4100-* | mips64vr4100el-* \
-       | mips64vr4300-* | mips64vr4300el-* \
-       | mips64vr5000-* | mips64vr5000el-* \
-       | mips64vr5900-* | mips64vr5900el-* \
-       | mipsisa32-* | mipsisa32el-* \
-       | mipsisa32r2-* | mipsisa32r2el-* \
-       | mipsisa64-* | mipsisa64el-* \
-       | mipsisa64r2-* | mipsisa64r2el-* \
-       | mipsisa64sb1-* | mipsisa64sb1el-* \
-       | mipsisa64sr71k-* | mipsisa64sr71kel-* \
-       | mipstx39-* | mipstx39el-* \
-       | mmix-* \
-       | mt-* \
-       | msp430-* \
-       | nds32-* | nds32le-* | nds32be-* \
-       | nios-* | nios2-* \
-       | none-* | np1-* | ns16k-* | ns32k-* \
-       | open8-* \
-       | orion-* \
-       | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
-       | pyramid-* \
-       | rl78-* | romp-* | rs6000-* | rx-* \
-       | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
-       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
-       | sparclite-* \
-       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
-       | tahoe-* \
-       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
-       | tile*-* \
-       | tron-* \
-       | ubicom32-* \
-       | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
-       | vax-* \
-       | we32k-* \
-       | x86-* | x86_64-* | xc16x-* | xps100-* \
-       | xstormy16-* | xtensa*-* \
-       | ymp-* \
-       | z8k-* | z80-*)
-               ;;
-       # Recognize the basic CPU types without company name, with glob match.
-       xtensa*)
-               basic_machine=$basic_machine-unknown
-               ;;
-       # Recognize the various machine names and aliases which stand
-       # for a CPU type and a company and sometimes even an OS.
-       386bsd)
-               basic_machine=i386-unknown
-               os=-bsd
-               ;;
-       3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
-               basic_machine=m68000-att
-               ;;
-       3b*)
-               basic_machine=we32k-att
-               ;;
-       a29khif)
-               basic_machine=a29k-amd
-               os=-udi
-               ;;
-       abacus)
-               basic_machine=abacus-unknown
-               ;;
-       adobe68k)
-               basic_machine=m68010-adobe
-               os=-scout
-               ;;
-       alliant | fx80)
-               basic_machine=fx80-alliant
-               ;;
-       altos | altos3068)
-               basic_machine=m68k-altos
-               ;;
-       am29k)
-               basic_machine=a29k-none
-               os=-bsd
-               ;;
-       amd64)
-               basic_machine=x86_64-pc
-               ;;
-       amd64-*)
-               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       amdahl)
-               basic_machine=580-amdahl
-               os=-sysv
-               ;;
-       amiga | amiga-*)
-               basic_machine=m68k-unknown
-               ;;
-       amigaos | amigados)
-               basic_machine=m68k-unknown
-               os=-amigaos
-               ;;
-       amigaunix | amix)
-               basic_machine=m68k-unknown
-               os=-sysv4
-               ;;
-       apollo68)
-               basic_machine=m68k-apollo
-               os=-sysv
-               ;;
-       apollo68bsd)
-               basic_machine=m68k-apollo
-               os=-bsd
-               ;;
-       aros)
-               basic_machine=i386-pc
-               os=-aros
-               ;;
-       aux)
-               basic_machine=m68k-apple
-               os=-aux
-               ;;
-       balance)
-               basic_machine=ns32k-sequent
-               os=-dynix
-               ;;
-       blackfin)
-               basic_machine=bfin-unknown
-               os=-linux
-               ;;
-       blackfin-*)
-               basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
-               os=-linux
-               ;;
-       bluegene*)
-               basic_machine=powerpc-ibm
-               os=-cnk
-               ;;
-       c54x-*)
-               basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       c55x-*)
-               basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       c6x-*)
-               basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       c90)
-               basic_machine=c90-cray
-               os=-unicos
-               ;;
-       cegcc)
-               basic_machine=arm-unknown
-               os=-cegcc
-               ;;
-       convex-c1)
-               basic_machine=c1-convex
-               os=-bsd
-               ;;
-       convex-c2)
-               basic_machine=c2-convex
-               os=-bsd
-               ;;
-       convex-c32)
-               basic_machine=c32-convex
-               os=-bsd
-               ;;
-       convex-c34)
-               basic_machine=c34-convex
-               os=-bsd
-               ;;
-       convex-c38)
-               basic_machine=c38-convex
-               os=-bsd
-               ;;
-       cray | j90)
-               basic_machine=j90-cray
-               os=-unicos
-               ;;
-       craynv)
-               basic_machine=craynv-cray
-               os=-unicosmp
-               ;;
-       cr16 | cr16-*)
-               basic_machine=cr16-unknown
-               os=-elf
-               ;;
-       crds | unos)
-               basic_machine=m68k-crds
-               ;;
-       crisv32 | crisv32-* | etraxfs*)
-               basic_machine=crisv32-axis
-               ;;
-       cris | cris-* | etrax*)
-               basic_machine=cris-axis
-               ;;
-       crx)
-               basic_machine=crx-unknown
-               os=-elf
-               ;;
-       da30 | da30-*)
-               basic_machine=m68k-da30
-               ;;
-       decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
-               basic_machine=mips-dec
-               ;;
-       decsystem10* | dec10*)
-               basic_machine=pdp10-dec
-               os=-tops10
-               ;;
-       decsystem20* | dec20*)
-               basic_machine=pdp10-dec
-               os=-tops20
-               ;;
-       delta | 3300 | motorola-3300 | motorola-delta \
-             | 3300-motorola | delta-motorola)
-               basic_machine=m68k-motorola
-               ;;
-       delta88)
-               basic_machine=m88k-motorola
-               os=-sysv3
-               ;;
-       dicos)
-               basic_machine=i686-pc
-               os=-dicos
-               ;;
-       djgpp)
-               basic_machine=i586-pc
-               os=-msdosdjgpp
-               ;;
-       dpx20 | dpx20-*)
-               basic_machine=rs6000-bull
-               os=-bosx
-               ;;
-       dpx2* | dpx2*-bull)
-               basic_machine=m68k-bull
-               os=-sysv3
-               ;;
-       ebmon29k)
-               basic_machine=a29k-amd
-               os=-ebmon
-               ;;
-       elxsi)
-               basic_machine=elxsi-elxsi
-               os=-bsd
-               ;;
-       encore | umax | mmax)
-               basic_machine=ns32k-encore
-               ;;
-       es1800 | OSE68k | ose68k | ose | OSE)
-               basic_machine=m68k-ericsson
-               os=-ose
-               ;;
-       fx2800)
-               basic_machine=i860-alliant
-               ;;
-       genix)
-               basic_machine=ns32k-ns
-               ;;
-       gmicro)
-               basic_machine=tron-gmicro
-               os=-sysv
-               ;;
-       go32)
-               basic_machine=i386-pc
-               os=-go32
-               ;;
-       h3050r* | hiux*)
-               basic_machine=hppa1.1-hitachi
-               os=-hiuxwe2
-               ;;
-       h8300hms)
-               basic_machine=h8300-hitachi
-               os=-hms
-               ;;
-       h8300xray)
-               basic_machine=h8300-hitachi
-               os=-xray
-               ;;
-       h8500hms)
-               basic_machine=h8500-hitachi
-               os=-hms
-               ;;
-       harris)
-               basic_machine=m88k-harris
-               os=-sysv3
-               ;;
-       hp300-*)
-               basic_machine=m68k-hp
-               ;;
-       hp300bsd)
-               basic_machine=m68k-hp
-               os=-bsd
-               ;;
-       hp300hpux)
-               basic_machine=m68k-hp
-               os=-hpux
-               ;;
-       hp3k9[0-9][0-9] | hp9[0-9][0-9])
-               basic_machine=hppa1.0-hp
-               ;;
-       hp9k2[0-9][0-9] | hp9k31[0-9])
-               basic_machine=m68000-hp
-               ;;
-       hp9k3[2-9][0-9])
-               basic_machine=m68k-hp
-               ;;
-       hp9k6[0-9][0-9] | hp6[0-9][0-9])
-               basic_machine=hppa1.0-hp
-               ;;
-       hp9k7[0-79][0-9] | hp7[0-79][0-9])
-               basic_machine=hppa1.1-hp
-               ;;
-       hp9k78[0-9] | hp78[0-9])
-               # FIXME: really hppa2.0-hp
-               basic_machine=hppa1.1-hp
-               ;;
-       hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
-               # FIXME: really hppa2.0-hp
-               basic_machine=hppa1.1-hp
-               ;;
-       hp9k8[0-9][13679] | hp8[0-9][13679])
-               basic_machine=hppa1.1-hp
-               ;;
-       hp9k8[0-9][0-9] | hp8[0-9][0-9])
-               basic_machine=hppa1.0-hp
-               ;;
-       hppa-next)
-               os=-nextstep3
-               ;;
-       hppaosf)
-               basic_machine=hppa1.1-hp
-               os=-osf
-               ;;
-       hppro)
-               basic_machine=hppa1.1-hp
-               os=-proelf
-               ;;
-       i370-ibm* | ibm*)
-               basic_machine=i370-ibm
-               ;;
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
-       i*86v32)
-               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-               os=-sysv32
-               ;;
-       i*86v4*)
-               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-               os=-sysv4
-               ;;
-       i*86v)
-               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-               os=-sysv
-               ;;
-       i*86sol2)
-               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
-               os=-solaris2
-               ;;
-       i386mach)
-               basic_machine=i386-mach
-               os=-mach
-               ;;
-       i386-vsta | vsta)
-               basic_machine=i386-unknown
-               os=-vsta
-               ;;
-       iris | iris4d)
-               basic_machine=mips-sgi
-               case $os in
-                   -irix*)
-                       ;;
-                   *)
-                       os=-irix4
-                       ;;
-               esac
-               ;;
-       isi68 | isi)
-               basic_machine=m68k-isi
-               os=-sysv
-               ;;
-       m68knommu)
-               basic_machine=m68k-unknown
-               os=-linux
-               ;;
-       m68knommu-*)
-               basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
-               os=-linux
-               ;;
-       m88k-omron*)
-               basic_machine=m88k-omron
-               ;;
-       magnum | m3230)
-               basic_machine=mips-mips
-               os=-sysv
-               ;;
-       merlin)
-               basic_machine=ns32k-utek
-               os=-sysv
-               ;;
-       microblaze)
-               basic_machine=microblaze-xilinx
-               ;;
-       mingw32)
-               basic_machine=i386-pc
-               os=-mingw32
-               ;;
-       mingw32ce)
-               basic_machine=arm-unknown
-               os=-mingw32ce
-               ;;
-       miniframe)
-               basic_machine=m68000-convergent
-               ;;
-       *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
-               basic_machine=m68k-atari
-               os=-mint
-               ;;
-       mips3*-*)
-               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
-               ;;
-       mips3*)
-               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
-               ;;
-       monitor)
-               basic_machine=m68k-rom68k
-               os=-coff
-               ;;
-       morphos)
-               basic_machine=powerpc-unknown
-               os=-morphos
-               ;;
-       msdos)
-               basic_machine=i386-pc
-               os=-msdos
-               ;;
-       ms1-*)
-               basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
-               ;;
-       msys)
-               basic_machine=i386-pc
-               os=-msys
-               ;;
-       mvs)
-               basic_machine=i370-ibm
-               os=-mvs
-               ;;
-       nacl)
-               basic_machine=le32-unknown
-               os=-nacl
-               ;;
-       ncr3000)
-               basic_machine=i486-ncr
-               os=-sysv4
-               ;;
-       netbsd386)
-               basic_machine=i386-unknown
-               os=-netbsd
-               ;;
-       netwinder)
-               basic_machine=armv4l-rebel
-               os=-linux
-               ;;
-       news | news700 | news800 | news900)
-               basic_machine=m68k-sony
-               os=-newsos
-               ;;
-       news1000)
-               basic_machine=m68030-sony
-               os=-newsos
-               ;;
-       news-3600 | risc-news)
-               basic_machine=mips-sony
-               os=-newsos
-               ;;
-       necv70)
-               basic_machine=v70-nec
-               os=-sysv
-               ;;
-       next | m*-next )
-               basic_machine=m68k-next
-               case $os in
-                   -nextstep* )
-                       ;;
-                   -ns2*)
-                     os=-nextstep2
-                       ;;
-                   *)
-                     os=-nextstep3
-                       ;;
-               esac
-               ;;
-       nh3000)
-               basic_machine=m68k-harris
-               os=-cxux
-               ;;
-       nh[45]000)
-               basic_machine=m88k-harris
-               os=-cxux
-               ;;
-       nindy960)
-               basic_machine=i960-intel
-               os=-nindy
-               ;;
-       mon960)
-               basic_machine=i960-intel
-               os=-mon960
-               ;;
-       nonstopux)
-               basic_machine=mips-compaq
-               os=-nonstopux
-               ;;
-       np1)
-               basic_machine=np1-gould
-               ;;
-       neo-tandem)
-               basic_machine=neo-tandem
-               ;;
-       nse-tandem)
-               basic_machine=nse-tandem
-               ;;
-       nsr-tandem)
-               basic_machine=nsr-tandem
-               ;;
-       op50n-* | op60c-*)
-               basic_machine=hppa1.1-oki
-               os=-proelf
-               ;;
-       openrisc | openrisc-*)
-               basic_machine=or32-unknown
-               ;;
-       os400)
-               basic_machine=powerpc-ibm
-               os=-os400
-               ;;
-       OSE68000 | ose68000)
-               basic_machine=m68000-ericsson
-               os=-ose
-               ;;
-       os68k)
-               basic_machine=m68k-none
-               os=-os68k
-               ;;
-       pa-hitachi)
-               basic_machine=hppa1.1-hitachi
-               os=-hiuxwe2
-               ;;
-       paragon)
-               basic_machine=i860-intel
-               os=-osf
-               ;;
-       parisc)
-               basic_machine=hppa-unknown
-               os=-linux
-               ;;
-       parisc-*)
-               basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
-               os=-linux
-               ;;
-       pbd)
-               basic_machine=sparc-tti
-               ;;
-       pbb)
-               basic_machine=m68k-tti
-               ;;
-       pc532 | pc532-*)
-               basic_machine=ns32k-pc532
-               ;;
-       pc98)
-               basic_machine=i386-pc
-               ;;
-       pc98-*)
-               basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       pentium | p5 | k5 | k6 | nexgen | viac3)
-               basic_machine=i586-pc
-               ;;
-       pentiumpro | p6 | 6x86 | athlon | athlon_*)
-               basic_machine=i686-pc
-               ;;
-       pentiumii | pentium2 | pentiumiii | pentium3)
-               basic_machine=i686-pc
-               ;;
-       pentium4)
-               basic_machine=i786-pc
-               ;;
-       pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
-               basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       pentiumpro-* | p6-* | 6x86-* | athlon-*)
-               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
-               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       pentium4-*)
-               basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       pn)
-               basic_machine=pn-gould
-               ;;
-       power)  basic_machine=power-ibm
-               ;;
-       ppc | ppcbe)    basic_machine=powerpc-unknown
-               ;;
-       ppc-* | ppcbe-*)
-               basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       ppcle | powerpclittle | ppc-le | powerpc-little)
-               basic_machine=powerpcle-unknown
-               ;;
-       ppcle-* | powerpclittle-*)
-               basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       ppc64)  basic_machine=powerpc64-unknown
-               ;;
-       ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       ppc64le | powerpc64little | ppc64-le | powerpc64-little)
-               basic_machine=powerpc64le-unknown
-               ;;
-       ppc64le-* | powerpc64little-*)
-               basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       ps2)
-               basic_machine=i386-ibm
-               ;;
-       pw32)
-               basic_machine=i586-unknown
-               os=-pw32
-               ;;
-       rdos)
-               basic_machine=i386-pc
-               os=-rdos
-               ;;
-       rom68k)
-               basic_machine=m68k-rom68k
-               os=-coff
-               ;;
-       rm[46]00)
-               basic_machine=mips-siemens
-               ;;
-       rtpc | rtpc-*)
-               basic_machine=romp-ibm
-               ;;
-       s390 | s390-*)
-               basic_machine=s390-ibm
-               ;;
-       s390x | s390x-*)
-               basic_machine=s390x-ibm
-               ;;
-       sa29200)
-               basic_machine=a29k-amd
-               os=-udi
-               ;;
-       sb1)
-               basic_machine=mipsisa64sb1-unknown
-               ;;
-       sb1el)
-               basic_machine=mipsisa64sb1el-unknown
-               ;;
-       sde)
-               basic_machine=mipsisa32-sde
-               os=-elf
-               ;;
-       sei)
-               basic_machine=mips-sei
-               os=-seiux
-               ;;
-       sequent)
-               basic_machine=i386-sequent
-               ;;
-       sh)
-               basic_machine=sh-hitachi
-               os=-hms
-               ;;
-       sh5el)
-               basic_machine=sh5le-unknown
-               ;;
-       sh64)
-               basic_machine=sh64-unknown
-               ;;
-       sparclite-wrs | simso-wrs)
-               basic_machine=sparclite-wrs
-               os=-vxworks
-               ;;
-       sps7)
-               basic_machine=m68k-bull
-               os=-sysv2
-               ;;
-       spur)
-               basic_machine=spur-unknown
-               ;;
-       st2000)
-               basic_machine=m68k-tandem
-               ;;
-       stratus)
-               basic_machine=i860-stratus
-               os=-sysv4
-               ;;
-       strongarm-* | thumb-*)
-               basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
-               ;;
-       sun2)
-               basic_machine=m68000-sun
-               ;;
-       sun2os3)
-               basic_machine=m68000-sun
-               os=-sunos3
-               ;;
-       sun2os4)
-               basic_machine=m68000-sun
-               os=-sunos4
-               ;;
-       sun3os3)
-               basic_machine=m68k-sun
-               os=-sunos3
-               ;;
-       sun3os4)
-               basic_machine=m68k-sun
-               os=-sunos4
-               ;;
-       sun4os3)
-               basic_machine=sparc-sun
-               os=-sunos3
-               ;;
-       sun4os4)
-               basic_machine=sparc-sun
-               os=-sunos4
-               ;;
-       sun4sol2)
-               basic_machine=sparc-sun
-               os=-solaris2
-               ;;
-       sun3 | sun3-*)
-               basic_machine=m68k-sun
-               ;;
-       sun4)
-               basic_machine=sparc-sun
-               ;;
-       sun386 | sun386i | roadrunner)
-               basic_machine=i386-sun
-               ;;
-       sv1)
-               basic_machine=sv1-cray
-               os=-unicos
-               ;;
-       symmetry)
-               basic_machine=i386-sequent
-               os=-dynix
-               ;;
-       t3e)
-               basic_machine=alphaev5-cray
-               os=-unicos
-               ;;
-       t90)
-               basic_machine=t90-cray
-               os=-unicos
-               ;;
-       tile*)
-               basic_machine=$basic_machine-unknown
-               os=-linux-gnu
-               ;;
-       tx39)
-               basic_machine=mipstx39-unknown
-               ;;
-       tx39el)
-               basic_machine=mipstx39el-unknown
-               ;;
-       toad1)
-               basic_machine=pdp10-xkl
-               os=-tops20
-               ;;
-       tower | tower-32)
-               basic_machine=m68k-ncr
-               ;;
-       tpf)
-               basic_machine=s390x-ibm
-               os=-tpf
-               ;;
-       udi29k)
-               basic_machine=a29k-amd
-               os=-udi
-               ;;
-       ultra3)
-               basic_machine=a29k-nyu
-               os=-sym1
-               ;;
-       v810 | necv810)
-               basic_machine=v810-nec
-               os=-none
-               ;;
-       vaxv)
-               basic_machine=vax-dec
-               os=-sysv
-               ;;
-       vms)
-               basic_machine=vax-dec
-               os=-vms
-               ;;
-       vpp*|vx|vx-*)
-               basic_machine=f301-fujitsu
-               ;;
-       vxworks960)
-               basic_machine=i960-wrs
-               os=-vxworks
-               ;;
-       vxworks68)
-               basic_machine=m68k-wrs
-               os=-vxworks
-               ;;
-       vxworks29k)
-               basic_machine=a29k-wrs
-               os=-vxworks
-               ;;
-       w65*)
-               basic_machine=w65-wdc
-               os=-none
-               ;;
-       w89k-*)
-               basic_machine=hppa1.1-winbond
-               os=-proelf
-               ;;
-       xbox)
-               basic_machine=i686-pc
-               os=-mingw32
-               ;;
-       xps | xps100)
-               basic_machine=xps100-honeywell
-               ;;
-       xscale-* | xscalee[bl]-*)
-               basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
-               ;;
-       ymp)
-               basic_machine=ymp-cray
-               os=-unicos
-               ;;
-       z8k-*-coff)
-               basic_machine=z8k-unknown
-               os=-sim
-               ;;
-       z80-*-coff)
-               basic_machine=z80-unknown
-               os=-sim
-               ;;
-       none)
-               basic_machine=none-none
-               os=-none
-               ;;
-
-# Here we handle the default manufacturer of certain CPU types.  It is in
-# some cases the only manufacturer, in others, it is the most popular.
-       w89k)
-               basic_machine=hppa1.1-winbond
-               ;;
-       op50n)
-               basic_machine=hppa1.1-oki
-               ;;
-       op60c)
-               basic_machine=hppa1.1-oki
-               ;;
-       romp)
-               basic_machine=romp-ibm
-               ;;
-       mmix)
-               basic_machine=mmix-knuth
-               ;;
-       rs6000)
-               basic_machine=rs6000-ibm
-               ;;
-       vax)
-               basic_machine=vax-dec
-               ;;
-       pdp10)
-               # there are many clones, so DEC is not a safe bet
-               basic_machine=pdp10-unknown
-               ;;
-       pdp11)
-               basic_machine=pdp11-dec
-               ;;
-       we32k)
-               basic_machine=we32k-att
-               ;;
-       sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
-               basic_machine=sh-unknown
-               ;;
-       sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
-               basic_machine=sparc-sun
-               ;;
-       cydra)
-               basic_machine=cydra-cydrome
-               ;;
-       orion)
-               basic_machine=orion-highlevel
-               ;;
-       orion105)
-               basic_machine=clipper-highlevel
-               ;;
-       mac | mpw | mac-mpw)
-               basic_machine=m68k-apple
-               ;;
-       pmac | pmac-mpw)
-               basic_machine=powerpc-apple
-               ;;
-       *-unknown)
-               # Make sure to match an already-canonicalized machine name.
-               ;;
-       *)
-               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
-               exit 1
-               ;;
-esac
-
-# Here we canonicalize certain aliases for manufacturers.
-case $basic_machine in
-       *-digital*)
-               basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
-               ;;
-       *-commodore*)
-               basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
-               ;;
-       *)
-               ;;
-esac
-
-# Decode manufacturer-specific aliases for certain operating systems.
-
-if [ x"$os" != x"" ]
-then
-case $os in
-       # First match some system type aliases
-       # that might get confused with valid system types.
-       # -solaris* is a basic system type, with this one exception.
-       -auroraux)
-               os=-auroraux
-               ;;
-       -solaris1 | -solaris1.*)
-               os=`echo $os | sed -e 's|solaris1|sunos4|'`
-               ;;
-       -solaris)
-               os=-solaris2
-               ;;
-       -svr4*)
-               os=-sysv4
-               ;;
-       -unixware*)
-               os=-sysv4.2uw
-               ;;
-       -gnu/linux*)
-               os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
-               ;;
-       # First accept the basic system types.
-       # The portable systems comes first.
-       # Each alternative MUST END IN A *, to match a version number.
-       # -sysv* is not here because it comes later, after sysvr4.
-       -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-             | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
-             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
-             | -sym* | -kopensolaris* \
-             | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
-             | -aos* | -aros* \
-             | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
-             | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
-             | -openbsd* | -solidbsd* \
-             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
-             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
-             | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
-             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
-             | -chorusos* | -chorusrdb* | -cegcc* \
-             | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-             | -mingw32* | -linux-gnu* | -linux-android* \
-             | -linux-newlib* | -linux-uclibc* \
-             | -uxpv* | -beos* | -mpeix* | -udk* \
-             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
-             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
-             | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
-             | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
-             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
-             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-             | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
-       # Remember, each alternative MUST END IN *, to match a version number.
-               ;;
-       -qnx*)
-               case $basic_machine in
-                   x86-* | i*86-*)
-                       ;;
-                   *)
-                       os=-nto$os
-                       ;;
-               esac
-               ;;
-       -nto-qnx*)
-               ;;
-       -nto*)
-               os=`echo $os | sed -e 's|nto|nto-qnx|'`
-               ;;
-       -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
-             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
-             | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
-               ;;
-       -mac*)
-               os=`echo $os | sed -e 's|mac|macos|'`
-               ;;
-       -linux-dietlibc)
-               os=-linux-dietlibc
-               ;;
-       -linux*)
-               os=`echo $os | sed -e 's|linux|linux-gnu|'`
-               ;;
-       -sunos5*)
-               os=`echo $os | sed -e 's|sunos5|solaris2|'`
-               ;;
-       -sunos6*)
-               os=`echo $os | sed -e 's|sunos6|solaris3|'`
-               ;;
-       -opened*)
-               os=-openedition
-               ;;
-       -os400*)
-               os=-os400
-               ;;
-       -wince*)
-               os=-wince
-               ;;
-       -osfrose*)
-               os=-osfrose
-               ;;
-       -osf*)
-               os=-osf
-               ;;
-       -utek*)
-               os=-bsd
-               ;;
-       -dynix*)
-               os=-bsd
-               ;;
-       -acis*)
-               os=-aos
-               ;;
-       -atheos*)
-               os=-atheos
-               ;;
-       -syllable*)
-               os=-syllable
-               ;;
-       -386bsd)
-               os=-bsd
-               ;;
-       -ctix* | -uts*)
-               os=-sysv
-               ;;
-       -nova*)
-               os=-rtmk-nova
-               ;;
-       -ns2 )
-               os=-nextstep2
-               ;;
-       -nsk*)
-               os=-nsk
-               ;;
-       # Preserve the version number of sinix5.
-       -sinix5.*)
-               os=`echo $os | sed -e 's|sinix|sysv|'`
-               ;;
-       -sinix*)
-               os=-sysv4
-               ;;
-       -tpf*)
-               os=-tpf
-               ;;
-       -triton*)
-               os=-sysv3
-               ;;
-       -oss*)
-               os=-sysv3
-               ;;
-       -svr4)
-               os=-sysv4
-               ;;
-       -svr3)
-               os=-sysv3
-               ;;
-       -sysvr4)
-               os=-sysv4
-               ;;
-       # This must come after -sysvr4.
-       -sysv*)
-               ;;
-       -ose*)
-               os=-ose
-               ;;
-       -es1800*)
-               os=-ose
-               ;;
-       -xenix)
-               os=-xenix
-               ;;
-       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-               os=-mint
-               ;;
-       -aros*)
-               os=-aros
-               ;;
-       -kaos*)
-               os=-kaos
-               ;;
-       -zvmoe)
-               os=-zvmoe
-               ;;
-       -dicos*)
-               os=-dicos
-               ;;
-       -nacl*)
-               ;;
-       -none)
-               ;;
-       *)
-               # Get rid of the `-' at the beginning of $os.
-               os=`echo $os | sed 's/[^-]*-//'`
-               echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
-               exit 1
-               ;;
-esac
-else
-
-# Here we handle the default operating systems that come with various machines.
-# The value should be what the vendor currently ships out the door with their
-# machine or put another way, the most popular os provided with the machine.
-
-# Note that if you're going to try to match "-MANUFACTURER" here (say,
-# "-sun"), then you have to tell the case statement up towards the top
-# that MANUFACTURER isn't an operating system.  Otherwise, code above
-# will signal an error saying that MANUFACTURER isn't an operating
-# system, and we'll never get to this point.
-
-case $basic_machine in
-       score-*)
-               os=-elf
-               ;;
-       spu-*)
-               os=-elf
-               ;;
-       *-acorn)
-               os=-riscix1.2
-               ;;
-       arm*-rebel)
-               os=-linux
-               ;;
-       arm*-semi)
-               os=-aout
-               ;;
-       c4x-* | tic4x-*)
-               os=-coff
-               ;;
-       tic54x-*)
-               os=-coff
-               ;;
-       tic55x-*)
-               os=-coff
-               ;;
-       tic6x-*)
-               os=-coff
-               ;;
-       # This must come before the *-dec entry.
-       pdp10-*)
-               os=-tops20
-               ;;
-       pdp11-*)
-               os=-none
-               ;;
-       *-dec | vax-*)
-               os=-ultrix4.2
-               ;;
-       m68*-apollo)
-               os=-domain
-               ;;
-       i386-sun)
-               os=-sunos4.0.2
-               ;;
-       m68000-sun)
-               os=-sunos3
-               # This also exists in the configure program, but was not the
-               # default.
-               # os=-sunos4
-               ;;
-       m68*-cisco)
-               os=-aout
-               ;;
-       mep-*)
-               os=-elf
-               ;;
-       mips*-cisco)
-               os=-elf
-               ;;
-       mips*-*)
-               os=-elf
-               ;;
-       or32-*)
-               os=-coff
-               ;;
-       *-tti)  # must be before sparc entry or we get the wrong os.
-               os=-sysv3
-               ;;
-       sparc-* | *-sun)
-               os=-sunos4.1.1
-               ;;
-       *-be)
-               os=-beos
-               ;;
-       *-haiku)
-               os=-haiku
-               ;;
-       *-ibm)
-               os=-aix
-               ;;
-       *-knuth)
-               os=-mmixware
-               ;;
-       *-wec)
-               os=-proelf
-               ;;
-       *-winbond)
-               os=-proelf
-               ;;
-       *-oki)
-               os=-proelf
-               ;;
-       *-hp)
-               os=-hpux
-               ;;
-       *-hitachi)
-               os=-hiux
-               ;;
-       i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
-               os=-sysv
-               ;;
-       *-cbm)
-               os=-amigaos
-               ;;
-       *-dg)
-               os=-dgux
-               ;;
-       *-dolphin)
-               os=-sysv3
-               ;;
-       m68k-ccur)
-               os=-rtu
-               ;;
-       m88k-omron*)
-               os=-luna
-               ;;
-       *-next )
-               os=-nextstep
-               ;;
-       *-sequent)
-               os=-ptx
-               ;;
-       *-crds)
-               os=-unos
-               ;;
-       *-ns)
-               os=-genix
-               ;;
-       i370-*)
-               os=-mvs
-               ;;
-       *-next)
-               os=-nextstep3
-               ;;
-       *-gould)
-               os=-sysv
-               ;;
-       *-highlevel)
-               os=-bsd
-               ;;
-       *-encore)
-               os=-bsd
-               ;;
-       *-sgi)
-               os=-irix
-               ;;
-       *-siemens)
-               os=-sysv4
-               ;;
-       *-masscomp)
-               os=-rtu
-               ;;
-       f30[01]-fujitsu | f700-fujitsu)
-               os=-uxpv
-               ;;
-       *-rom68k)
-               os=-coff
-               ;;
-       *-*bug)
-               os=-coff
-               ;;
-       *-apple)
-               os=-macos
-               ;;
-       *-atari*)
-               os=-mint
-               ;;
-       *)
-               os=-none
-               ;;
-esac
-fi
-
-# Here we handle the case where we know the os, and the CPU type, but not the
-# manufacturer.  We pick the logical manufacturer.
-vendor=unknown
-case $basic_machine in
-       *-unknown)
-               case $os in
-                       -riscix*)
-                               vendor=acorn
-                               ;;
-                       -sunos*)
-                               vendor=sun
-                               ;;
-                       -cnk*|-aix*)
-                               vendor=ibm
-                               ;;
-                       -beos*)
-                               vendor=be
-                               ;;
-                       -hpux*)
-                               vendor=hp
-                               ;;
-                       -mpeix*)
-                               vendor=hp
-                               ;;
-                       -hiux*)
-                               vendor=hitachi
-                               ;;
-                       -unos*)
-                               vendor=crds
-                               ;;
-                       -dgux*)
-                               vendor=dg
-                               ;;
-                       -luna*)
-                               vendor=omron
-                               ;;
-                       -genix*)
-                               vendor=ns
-                               ;;
-                       -mvs* | -opened*)
-                               vendor=ibm
-                               ;;
-                       -os400*)
-                               vendor=ibm
-                               ;;
-                       -ptx*)
-                               vendor=sequent
-                               ;;
-                       -tpf*)
-                               vendor=ibm
-                               ;;
-                       -vxsim* | -vxworks* | -windiss*)
-                               vendor=wrs
-                               ;;
-                       -aux*)
-                               vendor=apple
-                               ;;
-                       -hms*)
-                               vendor=hitachi
-                               ;;
-                       -mpw* | -macos*)
-                               vendor=apple
-                               ;;
-                       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-                               vendor=atari
-                               ;;
-                       -vos*)
-                               vendor=stratus
-                               ;;
-               esac
-               basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
-               ;;
-esac
-
-echo $basic_machine$os
-exit
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/configure b/configure
deleted file mode 100755 (executable)
index 207e62a..0000000
--- a/configure
+++ /dev/null
@@ -1,23377 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for libX11 1.5.0.
-#
-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-       expr "X$arg" : "X\\(.*\\)$as_nl";
-       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""       $as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
-  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
-  setopt NO_GLOB_SUBST
-else
-  case \`(set -o) 2>/dev/null\` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-"
-  as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
-  exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
-  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
-  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
-  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
-  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1
-
-  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
-    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
-    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
-    PATH=/empty FPATH=/empty; export PATH FPATH
-    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
-      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
-  if (eval "$as_required") 2>/dev/null; then :
-  as_have_required=yes
-else
-  as_have_required=no
-fi
-  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  as_found=:
-  case $as_dir in #(
-        /*)
-          for as_base in sh bash ksh sh5; do
-            # Try only shells that exist, to save several forks.
-            as_shell=$as_dir/$as_base
-            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  CONFIG_SHELL=$as_shell as_have_required=yes
-                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
-  break 2
-fi
-fi
-          done;;
-       esac
-  as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
-             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
-  CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
-      if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-       # neutralization value for shells without unset; and this also
-       # works around shells that cannot unset nonexistent variables.
-       # Preserve -v and -x to the replacement shell.
-       BASH_ENV=/dev/null
-       ENV=/dev/null
-       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-       export CONFIG_SHELL
-       case $- in # ((((
-         *v*x* | *x*v* ) as_opts=-vx ;;
-         *v* ) as_opts=-v ;;
-         *x* ) as_opts=-x ;;
-         * ) as_opts= ;;
-       esac
-       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
-    if test x$as_have_required = xno; then :
-  $as_echo "$0: This script requires a shell more modern than all"
-  $as_echo "$0: the shells that I found on your system."
-  if test x${ZSH_VERSION+set} = xset ; then
-    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
-    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
-  else
-    $as_echo "$0: Please tell bug-autoconf@gnu.org and
-$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
-$0: about your system, including any error possibly output
-$0: before this message. Then install a modern shell, or
-$0: manually run the script under such a shell if you do
-$0: have one."
-  fi
-  exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$as_dir" : 'X\(//\)[^/]' \| \
-        X"$as_dir" : 'X\(//\)$' \| \
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-           s//\1/
-           q
-         }
-         /^X\/\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\/\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
-  as_lineno_1=$LINENO as_lineno_1a=$LINENO
-  as_lineno_2=$LINENO as_lineno_2a=$LINENO
-  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
-  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
-  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' <$as_myself |
-    sed '
-      s/[$]LINENO.*/&-/
-      t lineno
-      b
-      :lineno
-      N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
-      t loop
-      s/-\n.*//
-    ' >$as_me.lineno &&
-  chmod +x "$as_me.lineno" ||
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensitive to this).
-  . "./$as_me.lineno"
-  # Exit status is that of the last command.
-  exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='        ';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -p'
-  fi
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-as_awk_strverscmp='
-  # Use only awk features that work with 7th edition Unix awk (1978).
-  # My, what an old awk you have, Mr. Solaris!
-  END {
-    while (length(v1) && length(v2)) {
-      # Set d1 to be the next thing to compare from v1, and likewise for d2.
-      # Normally this is a single character, but if v1 and v2 contain digits,
-      # compare them as integers and fractions as strverscmp does.
-      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
-       # Split v1 and v2 into their leading digit string components d1 and d2,
-       # and advance v1 and v2 past the leading digit strings.
-       for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
-       for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
-       d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
-       d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
-       if (d1 ~ /^0/) {
-         if (d2 ~ /^0/) {
-           # Compare two fractions.
-           while (d1 ~ /^0/ && d2 ~ /^0/) {
-             d1 = substr(d1, 2); len1--
-             d2 = substr(d2, 2); len2--
-           }
-           if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
-             # The two components differ in length, and the common prefix
-             # contains only leading zeros.  Consider the longer to be less.
-             d1 = -len1
-             d2 = -len2
-           } else {
-             # Otherwise, compare as strings.
-             d1 = "x" d1
-             d2 = "x" d2
-           }
-         } else {
-           # A fraction is less than an integer.
-           exit 1
-         }
-       } else {
-         if (d2 ~ /^0/) {
-           # An integer is greater than a fraction.
-           exit 2
-         } else {
-           # Compare two integers.
-           d1 += 0
-           d2 += 0
-         }
-       }
-      } else {
-       # The normal case, without worrying about digits.
-       d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
-       d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
-      }
-      if (d1 < d2) exit 1
-      if (d1 > d2) exit 2
-    }
-    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
-    # which mishandles some comparisons of empty strings to integers.
-    if (length(v2)) exit 1
-    if (length(v1)) exit 2
-  }
-'
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='libX11'
-PACKAGE_TARNAME='libX11'
-PACKAGE_VERSION='1.5.0'
-PACKAGE_STRING='libX11 1.5.0'
-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
-PACKAGE_URL=''
-
-ac_unique_file="Makefile.am"
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# ifdef HAVE_STDLIB_H
-#  include <stdlib.h>
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-#  include <memory.h>
-# endif
-# include <string.h>
-#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
-
-ac_header_list=
-ac_subst_vars='am__EXEEXT_FALSE
-am__EXEEXT_TRUE
-LTLIBOBJS
-LIBOBJS
-XTMALLOC_ZERO_CFLAGS
-XMALLOC_ZERO_CFLAGS
-MALLOC_ZERO_CFLAGS
-XERRORDB
-XKEYSYMDB
-locales
-X11_LOCALEDIR
-XLOCALEDIR
-X11_LOCALELIBDIR
-XLOCALELIBDIR
-X11_LOCALEDATADIR
-XLOCALEDATADIR
-X11_LIBS
-X11_CFLAGS
-X11_LIBDIR
-X11_DATADIR
-MAKE_LINT_LIB_FALSE
-MAKE_LINT_LIB_TRUE
-LINTLIB
-LINT_FALSE
-LINT_TRUE
-LINT_FLAGS
-LINT
-XKBPROTO_REQUIRES
-XKB_FALSE
-XKB_TRUE
-BIGFONT_LIBS
-BIGFONT_CFLAGS
-XLOCALE_FALSE
-XLOCALE_TRUE
-XCMS_FALSE
-XCMS_TRUE
-UDC_FALSE
-UDC_TRUE
-KEYSYMDEFS
-XTHREAD_CFLAGS
-XTHREADLIB
-THRSTUBS_FALSE
-THRSTUBS_TRUE
-LAUNCHD
-OS2_FALSE
-OS2_TRUE
-WCHAR32
-XLIB_LOADABLE_I18N_FALSE
-XLIB_LOADABLE_I18N_TRUE
-I18N_MODULE_LIBS
-X11_EXTRA_DEPS
-LDFLAGS_FOR_BUILD
-CFLAGS_FOR_BUILD
-CPPFLAGS_FOR_BUILD
-CC_FOR_BUILD
-HAVE_PERL_FALSE
-HAVE_PERL_TRUE
-PERL
-RAWCPPFLAGS
-RAWCPP
-HAVE_STYLESHEETS_FALSE
-HAVE_STYLESHEETS_TRUE
-XSL_STYLESHEET
-STYLESHEET_SRCDIR
-XORG_SGML_PATH
-HAVE_XSLTPROC_FALSE
-HAVE_XSLTPROC_TRUE
-XSLTPROC
-HAVE_FOP_FALSE
-HAVE_FOP_TRUE
-FOP
-HAVE_XMLTO_FALSE
-HAVE_XMLTO_TRUE
-HAVE_XMLTO_TEXT_FALSE
-HAVE_XMLTO_TEXT_TRUE
-XMLTO
-ENABLE_SPECS_FALSE
-ENABLE_SPECS_TRUE
-AM_BACKSLASH
-AM_DEFAULT_VERBOSITY
-MAN_SUBSTS
-XORG_MAN_PAGE
-ADMIN_MAN_DIR
-DRIVER_MAN_DIR
-MISC_MAN_DIR
-FILE_MAN_DIR
-LIB_MAN_DIR
-APP_MAN_DIR
-ADMIN_MAN_SUFFIX
-DRIVER_MAN_SUFFIX
-MISC_MAN_SUFFIX
-FILE_MAN_SUFFIX
-LIB_MAN_SUFFIX
-APP_MAN_SUFFIX
-INSTALL_CMD
-PKG_CONFIG
-CHANGELOG_CMD
-STRICT_CFLAGS
-CWARNFLAGS
-BASE_CFLAGS
-OTOOL64
-OTOOL
-LIPO
-NMEDIT
-DSYMUTIL
-MANIFEST_TOOL
-RANLIB
-ac_ct_AR
-AR
-DLLTOOL
-OBJDUMP
-LN_S
-NM
-ac_ct_DUMPBIN
-DUMPBIN
-LD
-FGREP
-SED
-LIBTOOL
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-EGREP
-GREP
-CPP
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-enable_maintainer_mode
-enable_shared
-enable_static
-with_pic
-enable_fast_install
-with_gnu_ld
-with_sysroot
-enable_libtool_lock
-enable_selective_werror
-enable_strict_compilation
-enable_silent_rules
-enable_specs
-with_xmlto
-with_fop
-with_xsltproc
-with_perl
-enable_unix_transport
-enable_tcp_transport
-enable_ipv6
-enable_local_transport
-enable_secure_rpc
-with_local_transport_order
-enable_loadable_i18n
-enable_loadable_xcursor
-with_launchd
-enable_xthreads
-enable_xcms
-enable_xlocale
-enable_xlocaledir
-enable_xf86bigfont
-enable_xkb
-enable_composecache
-with_lint
-enable_lint_library
-with_locale_lib_dir
-enable_malloc0returnsnull
-'
-      ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CPP
-PKG_CONFIG
-XMLTO
-FOP
-XSLTPROC
-PERL
-BIGFONT_CFLAGS
-BIGFONT_LIBS
-LINT
-LINT_FLAGS
-X11_CFLAGS
-X11_LIBS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
-  # If the previous option needs an argument, assign it.
-  if test -n "$ac_prev"; then
-    eval $ac_prev=\$ac_option
-    ac_prev=
-    continue
-  fi
-
-  case $ac_option in
-  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *=)   ac_optarg= ;;
-  *)    ac_optarg=yes ;;
-  esac
-
-  # Accept the important Cygnus configure options, so we can diagnose typos.
-
-  case $ac_dashdash$ac_option in
-  --)
-    ac_dashdash=yes ;;
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir=$ac_optarg ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build_alias ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build_alias=$ac_optarg ;;
-
-  -cache-file | --cache-file | --cache-fil | --cache-fi \
-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
-    ac_prev=cache_file ;;
-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file=$ac_optarg ;;
-
-  --config-cache | -C)
-    cache_file=config.cache ;;
-
-  -datadir | --datadir | --datadi | --datad)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=*)
-    datadir=$ac_optarg ;;
-
-  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
-  | --dataroo | --dataro | --datar)
-    ac_prev=datarootdir ;;
-  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
-  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
-    datarootdir=$ac_optarg ;;
-
-  -disable-* | --disable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
-        ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=no ;;
-
-  -docdir | --docdir | --docdi | --doc | --do)
-    ac_prev=docdir ;;
-  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
-    docdir=$ac_optarg ;;
-
-  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
-    ac_prev=dvidir ;;
-  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
-    dvidir=$ac_optarg ;;
-
-  -enable-* | --enable-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"enable_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
-        ac_unrecognized_sep=', ';;
-    esac
-    eval enable_$ac_useropt=\$ac_optarg ;;
-
-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-  | --exec | --exe | --ex)
-    ac_prev=exec_prefix ;;
-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
-  | --exec=* | --exe=* | --ex=*)
-    exec_prefix=$ac_optarg ;;
-
-  -gas | --gas | --ga | --g)
-    # Obsolete; use --with-gas.
-    with_gas=yes ;;
-
-  -help | --help | --hel | --he | -h)
-    ac_init_help=long ;;
-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
-    ac_init_help=recursive ;;
-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
-    ac_init_help=short ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host_alias ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host_alias=$ac_optarg ;;
-
-  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
-    ac_prev=htmldir ;;
-  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
-  | --ht=*)
-    htmldir=$ac_optarg ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir=$ac_optarg ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir=$ac_optarg ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir=$ac_optarg ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir=$ac_optarg ;;
-
-  -localedir | --localedir | --localedi | --localed | --locale)
-    ac_prev=localedir ;;
-  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
-    localedir=$ac_optarg ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst | --locals)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
-    localstatedir=$ac_optarg ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir=$ac_optarg ;;
-
-  -nfp | --nfp | --nf)
-    # Obsolete; use --without-fp.
-    with_fp=no ;;
-
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n)
-    no_create=yes ;;
-
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    no_recursion=yes ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir=$ac_optarg ;;
-
-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
-    ac_prev=prefix ;;
-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix=$ac_optarg ;;
-
-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
-  | --program-pre | --program-pr | --program-p)
-    ac_prev=program_prefix ;;
-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix=$ac_optarg ;;
-
-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
-  | --program-suf | --program-su | --program-s)
-    ac_prev=program_suffix ;;
-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix=$ac_optarg ;;
-
-  -program-transform-name | --program-transform-name \
-  | --program-transform-nam | --program-transform-na \
-  | --program-transform-n | --program-transform- \
-  | --program-transform | --program-transfor \
-  | --program-transfo | --program-transf \
-  | --program-trans | --program-tran \
-  | --progr-tra | --program-tr | --program-t)
-    ac_prev=program_transform_name ;;
-  -program-transform-name=* | --program-transform-name=* \
-  | --program-transform-nam=* | --program-transform-na=* \
-  | --program-transform-n=* | --program-transform-=* \
-  | --program-transform=* | --program-transfor=* \
-  | --program-transfo=* | --program-transf=* \
-  | --program-trans=* | --program-tran=* \
-  | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name=$ac_optarg ;;
-
-  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
-    ac_prev=pdfdir ;;
-  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
-    pdfdir=$ac_optarg ;;
-
-  -psdir | --psdir | --psdi | --psd | --ps)
-    ac_prev=psdir ;;
-  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
-    psdir=$ac_optarg ;;
-
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil)
-    silent=yes ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir=$ac_optarg ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir=$ac_optarg ;;
-
-  -site | --site | --sit)
-    ac_prev=site ;;
-  -site=* | --site=* | --sit=*)
-    site=$ac_optarg ;;
-
-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
-    ac_prev=srcdir ;;
-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir=$ac_optarg ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir=$ac_optarg ;;
-
-  -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target_alias ;;
-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target_alias=$ac_optarg ;;
-
-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
-    verbose=yes ;;
-
-  -version | --version | --versio | --versi | --vers | -V)
-    ac_init_version=: ;;
-
-  -with-* | --with-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
-        ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=\$ac_optarg ;;
-
-  -without-* | --without-*)
-    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
-    ac_useropt_orig=$ac_useropt
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
-    case $ac_user_opts in
-      *"
-"with_$ac_useropt"
-"*) ;;
-      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
-        ac_unrecognized_sep=', ';;
-    esac
-    eval with_$ac_useropt=no ;;
-
-  --x)
-    # Obsolete; use --with-x.
-    with_x=yes ;;
-
-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
-  | --x-incl | --x-inc | --x-in | --x-i)
-    ac_prev=x_includes ;;
-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes=$ac_optarg ;;
-
-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
-    ac_prev=x_libraries ;;
-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries=$ac_optarg ;;
-
-  -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
-    ;;
-
-  *=*)
-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
-    # Reject names that are not valid shell variable names.
-    case $ac_envvar in #(
-      '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
-    esac
-    eval $ac_envvar=\$ac_optarg
-    export $ac_envvar ;;
-
-  *)
-    # FIXME: should be removed in autoconf 3.0.
-    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
-    ;;
-
-  esac
-done
-
-if test -n "$ac_prev"; then
-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
-  case $enable_option_checking in
-    no) ;;
-    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
-    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
-  esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
-               datadir sysconfdir sharedstatedir localstatedir includedir \
-               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-               libdir localedir mandir
-do
-  eval ac_val=\$$ac_var
-  # Remove trailing slashes.
-  case $ac_val in
-    */ )
-      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
-      eval $ac_var=\$ac_val;;
-  esac
-  # Be sure to have absolute directory names.
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* )  continue;;
-    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
-  esac
-  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
-  if test "x$build_alias" = x; then
-    cross_compiling=maybe
-    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used" >&2
-  elif test "x$build_alias" != "x$host_alias"; then
-    cross_compiling=yes
-  fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$as_myself" : 'X\(//\)[^/]' \| \
-        X"$as_myself" : 'X\(//\)$' \| \
-        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-  srcdir=$ac_confdir
-  if test ! -r "$srcdir/$ac_unique_file"; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
-  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
-       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
-       pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
-  srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
-  eval ac_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_env_${ac_var}_value=\$${ac_var}
-  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
-  # Omit some internal or obsolete options to make the list less imposing.
-  # This message is too long to be a string in the A/UX 3.1 sh.
-  cat <<_ACEOF
-\`configure' configures libX11 1.5.0 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE.  See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              display this help and exit
-      --help=short        display options specific to this package
-      --help=recursive    display the short help of all the included packages
-  -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking ...' messages
-      --cache-file=FILE   cache test results in FILE [disabled]
-  -C, --config-cache      alias for \`--cache-file=config.cache'
-  -n, --no-create         do not create output files
-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
-
-Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          [$ac_default_prefix]
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                          [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
-  --bindir=DIR            user executables [EPREFIX/bin]
-  --sbindir=DIR           system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR        program executables [EPREFIX/libexec]
-  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --libdir=DIR            object code libraries [EPREFIX/lib]
-  --includedir=DIR        C header files [PREFIX/include]
-  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
-  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR           info documentation [DATAROOTDIR/info]
-  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR            man documentation [DATAROOTDIR/man]
-  --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
-  --htmldir=DIR           html documentation [DOCDIR]
-  --dvidir=DIR            dvi documentation [DOCDIR]
-  --pdfdir=DIR            pdf documentation [DOCDIR]
-  --psdir=DIR             ps documentation [DOCDIR]
-_ACEOF
-
-  cat <<\_ACEOF
-
-Program names:
-  --program-prefix=PREFIX            prepend PREFIX to installed program names
-  --program-suffix=SUFFIX            append SUFFIX to installed program names
-  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
-
-System types:
-  --build=BUILD     configure for building on BUILD [guessed]
-  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of libX11 1.5.0:";;
-   esac
-  cat <<\_ACEOF
-
-Optional Features:
-  --disable-option-checking  ignore unrecognized --enable/--with options
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --disable-dependency-tracking  speeds up one-time build
-  --enable-dependency-tracking   do not reject slow dependency extractors
-  --enable-maintainer-mode  enable make rules and dependencies not useful
-                         (and sometimes confusing) to the casual installer
-  --enable-shared[=PKGS]  build shared libraries [default=yes]
-  --enable-static[=PKGS]  build static libraries [default=yes]
-  --enable-fast-install[=PKGS]
-                          optimize for fast installation [default=yes]
-  --disable-libtool-lock  avoid locking (might break parallel builds)
-  --disable-selective-werror
-                          Turn off selective compiler errors. (default:
-                          enabled)
-  --enable-strict-compilation
-                          Enable all warnings from compiler and make them
-                          errors (default: disabled)
-  --enable-silent-rules          less verbose build output (undo: `make V=1')
-  --disable-silent-rules         verbose build output (undo: `make V=0')
-  --enable-specs          Enable building the specs (default: yes)
-  --enable-unix-transport Enable UNIX domain socket transport
-  --enable-tcp-transport  Enable TCP socket transport
-  --enable-ipv6           Enable IPv6 support
-  --enable-local-transport
-                          Enable os-specific local transport
-  --enable-secure-rpc     Enable Secure RPC
-  --enable-loadable-i18n  Controls loadable i18n module support
-  --disable-loadable-xcursor
-                          Controls loadable xcursor library support
-  --disable-xthreads      Disable Xlib support for Multithreading
-  --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
-  --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
-  --enable-xlocaledir     Enable XLOCALEDIR environment variable support
-  --disable-xf86bigfont   Disable XF86BigFont extension support
-  --disable-xkb           Disable XKB support *EXPERIMENTAL*
-  --disable-composecache  Disable compose table cache support
-  --enable-lint-library   Create lint library (default: disabled)
-  --enable-malloc0returnsnull
-                          malloc(0) returns NULL (default: auto)
-
-Optional Packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
-                          both]
-  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
-  --with-sysroot=DIR Search for dependent libraries within DIR
-                        (or the compiler's sysroot if not specified).
-  --with-xmlto            Use xmlto to regenerate documentation (default:
-                          auto)
-  --with-fop              Use fop to regenerate documentation (default: no)
-  --with-xsltproc         Use xsltproc for the transformation of XML documents
-                          (default: auto)
-  --with-perl             Use perl for extracting information from files
-                          (default: auto)
-  --with-local-transport-order=LIST
-                          preference sorted list of transport types to try for
-                          local connections
-  --with-launchd          Build with support for Apple's launchd (default:
-                          auto)
-  --with-lint             Use a lint-style source code checker (default:
-                          disabled)
-  --with-locale-lib-dir=DIR
-                          Directory where locale libraries files are installed
-                          (default: $libdir/X11/locale)
-
-Some influential environment variables:
-  CC          C compiler command
-  CFLAGS      C compiler flags
-  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
-              nonstandard directory <lib dir>
-  LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
-              you have headers in a nonstandard directory <include dir>
-  CPP         C preprocessor
-  PKG_CONFIG  path to pkg-config utility
-  XMLTO       Path to xmlto command
-  FOP         Path to fop command
-  XSLTPROC    Path to xsltproc command
-  PERL        Path to perl command
-  BIGFONT_CFLAGS
-              C compiler flags for BIGFONT, overriding pkg-config
-  BIGFONT_LIBS
-              linker flags for BIGFONT, overriding pkg-config
-  LINT        Path to a lint-style command
-  LINT_FLAGS  Flags for the lint-style command
-  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
-  X11_LIBS    linker flags for X11, overriding pkg-config
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d "$ac_dir" ||
-      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
-      continue
-    ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-    cd "$ac_dir" || { ac_status=$?; continue; }
-    # Check for guested configure.
-    if test -f "$ac_srcdir/configure.gnu"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
-    elif test -f "$ac_srcdir/configure"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure" --help=recursive
-    else
-      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi || ac_status=$?
-    cd "$ac_pwd" || { ac_status=$?; break; }
-  done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
-  cat <<\_ACEOF
-libX11 configure 1.5.0
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
-  exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext
-  if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-        test -z "$ac_c_werror_flag" ||
-        test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-
-# ac_fn_c_try_cpp LINENO
-# ----------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-        test ! -s conftest.err
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-    ac_retval=1
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_cpp
-
-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
-# the include files in INCLUDES and setting the cache variable VAR
-# accordingly.
-ac_fn_c_check_header_mongrel ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_header_compiler=yes
-else
-  ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  ac_header_preproc=yes
-else
-  ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
-  yes:no: )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-    ;;
-  no:yes:* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ---------------------------------------------------------------------- ##
-## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
-## ---------------------------------------------------------------------- ##"
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_mongrel
-
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
-# that executables *can* be run.
-ac_fn_c_try_run ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: program exited with status $ac_status" >&5
-       $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=$ac_status
-fi
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_run
-
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_compile
-
-# ac_fn_c_try_link LINENO
-# -----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-        test -z "$ac_c_werror_flag" ||
-        test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-        test "$cross_compiling" = yes ||
-        $as_test_x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-       ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_link
-
-# ac_fn_c_check_func LINENO FUNC VAR
-# ----------------------------------
-# Tests whether FUNC exists, setting the cache variable VAR accordingly
-ac_fn_c_check_func ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $2 innocuous_$2
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $2 (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $2
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $2 ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$2 || defined __stub___$2
-choke me
-#endif
-
-int
-main ()
-{
-return $2 ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_func
-
-# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
-# ---------------------------------------------
-# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
-# accordingly.
-ac_fn_c_check_decl ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  as_decl_name=`echo $2|sed 's/ *(.*//'`
-  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
-$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-#ifndef $as_decl_name
-#ifdef __cplusplus
-  (void) $as_decl_use;
-#else
-  (void) $as_decl_name;
-#endif
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$3=yes"
-else
-  eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_decl
-
-# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
-# ----------------------------------------------------
-# Tries to find if the field MEMBER exists in type AGGR, after including
-# INCLUDES, setting cache variable VAR accordingly.
-ac_fn_c_check_member ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
-$as_echo_n "checking for $2.$3... " >&6; }
-if eval \${$4+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$5
-int
-main ()
-{
-static $2 ac_aggr;
-if (ac_aggr.$3)
-return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$4=yes"
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$5
-int
-main ()
-{
-static $2 ac_aggr;
-if (sizeof ac_aggr.$3)
-return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  eval "$4=yes"
-else
-  eval "$4=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$4
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_member
-
-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-# -------------------------------------------
-# Tests whether TYPE exists after having included INCLUDES, setting cache
-# variable VAR accordingly.
-ac_fn_c_check_type ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  eval "$3=no"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof ($2))
-        return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
-           return 0;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
-              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_type
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by libX11 $as_me 1.5.0, which was
-generated by GNU Autoconf 2.68.  Invocation command line was
-
-  $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
-
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    $as_echo "PATH: $as_dir"
-  done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
-  for ac_arg
-  do
-    case $ac_arg in
-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-    | -silent | --silent | --silen | --sile | --sil)
-      continue ;;
-    *\'*)
-      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    esac
-    case $ac_pass in
-    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
-    2)
-      as_fn_append ac_configure_args1 " '$ac_arg'"
-      if test $ac_must_keep_next = true; then
-       ac_must_keep_next=false # Got value, back to normal.
-      else
-       case $ac_arg in
-         *=* | --config-cache | -C | -disable-* | --disable-* \
-         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
-         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
-         | -with-* | --with-* | -without-* | --without-* | --x)
-           case "$ac_configure_args0 " in
-             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
-           esac
-           ;;
-         -* ) ac_must_keep_next=true ;;
-       esac
-      fi
-      as_fn_append ac_configure_args " '$ac_arg'"
-      ;;
-    esac
-  done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log.  We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
-  # Save into config.log some information that might help in debugging.
-  {
-    echo
-
-    $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
-    echo
-    # The following way of writing the cache mishandles newlines in values,
-(
-  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-  (set) 2>&1 |
-    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      sed -n \
-       "s/'\''/'\''\\\\'\'''\''/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
-      ;; #(
-    *)
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-)
-    echo
-
-    $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
-    echo
-    for ac_var in $ac_subst_vars
-    do
-      eval ac_val=\$$ac_var
-      case $ac_val in
-      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-      esac
-      $as_echo "$ac_var='\''$ac_val'\''"
-    done | sort
-    echo
-
-    if test -n "$ac_subst_files"; then
-      $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
-      echo
-      for ac_var in $ac_subst_files
-      do
-       eval ac_val=\$$ac_var
-       case $ac_val in
-       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
-       esac
-       $as_echo "$ac_var='\''$ac_val'\''"
-      done | sort
-      echo
-    fi
-
-    if test -s confdefs.h; then
-      $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
-      echo
-      cat confdefs.h
-      echo
-    fi
-    test "$ac_signal" != 0 &&
-      $as_echo "$as_me: caught signal $ac_signal"
-    $as_echo "$as_me: exit $exit_status"
-  } >&5
-  rm -f core *.core core.conftest.* &&
-    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
-    exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
-  # We do not want a PATH search for config.site.
-  case $CONFIG_SITE in #((
-    -*)  ac_site_file1=./$CONFIG_SITE;;
-    */*) ac_site_file1=$CONFIG_SITE;;
-    *)   ac_site_file1=./$CONFIG_SITE;;
-  esac
-elif test "x$prefix" != xNONE; then
-  ac_site_file1=$prefix/share/config.site
-  ac_site_file2=$prefix/etc/config.site
-else
-  ac_site_file1=$ac_default_prefix/share/config.site
-  ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
-  test "x$ac_site_file" = xNONE && continue
-  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
-    sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file" \
-      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
-  fi
-done
-
-if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special files
-  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
-  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
-    case $cache_file in
-      [\\/]* | ?:[\\/]* ) . "$cache_file";;
-      *)                      . "./$cache_file";;
-    esac
-  fi
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
-  >$cache_file
-fi
-
-as_fn_append ac_header_list " stdlib.h"
-as_fn_append ac_header_list " unistd.h"
-as_fn_append ac_header_list " sys/param.h"
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
-  eval ac_new_set=\$ac_env_${ac_var}_set
-  eval ac_old_val=\$ac_cv_env_${ac_var}_value
-  eval ac_new_val=\$ac_env_${ac_var}_value
-  case $ac_old_set,$ac_new_set in
-    set,)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,set)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,);;
-    *)
-      if test "x$ac_old_val" != "x$ac_new_val"; then
-       # differences in whitespace do not lead to failure.
-       ac_old_val_w=`echo x $ac_old_val`
-       ac_new_val_w=`echo x $ac_new_val`
-       if test "$ac_old_val_w" != "$ac_new_val_w"; then
-         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-         ac_cache_corrupted=:
-       else
-         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
-         eval $ac_var=\$ac_old_val
-       fi
-       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
-$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
-       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
-$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
-      fi;;
-  esac
-  # Pass precious variables to config.status.
-  if test "$ac_new_set" = set; then
-    case $ac_new_val in
-    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
-    *) ac_arg=$ac_var=$ac_new_val ;;
-    esac
-    case " $ac_configure_args " in
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
-    esac
-  fi
-done
-if $ac_cache_corrupted; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  if test -f "$ac_dir/install-sh"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install-sh -c"
-    break
-  elif test -f "$ac_dir/install.sh"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install.sh -c"
-    break
-  elif test -f "$ac_dir/shtool"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/shtool install -c"
-    break
-  fi
-done
-if test -z "$ac_aux_dir"; then
-  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
-  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
-  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "x$host_alias" = x; then
-  ac_cv_host=$ac_cv_build
-else
-  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-# Set common system defines for POSIX extensions, such as _GNU_SOURCE
-# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
-# to avoid autoconf errors.
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
-  ac_ct_CC=$CC
-  # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CC="gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-else
-  CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
-          if test -n "$ac_tool_prefix"; then
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="${ac_tool_prefix}cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  fi
-fi
-if test -z "$CC"; then
-  # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-  ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-       ac_prog_rejected=yes
-       continue
-     fi
-    ac_cv_prog_CC="cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
-  # We found a bogon in the path, so make sure we never use it.
-  set dummy $ac_cv_prog_CC
-  shift
-  if test $# != 0; then
-    # We chose a different compiler from the bogus one.
-    # However, it has the same basename, so the bogon will be chosen
-    # first if we set CC to just the basename; use the full file name.
-    shift
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
-  fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in cl.exe
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$CC" && break
-  done
-fi
-if test -z "$CC"; then
-  ac_ct_CC=$CC
-  for ac_prog in cl.exe
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC"; then
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_CC="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_CC" && break
-done
-
-  if test "x$ac_ct_CC" = x; then
-    CC=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
-  esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link_default") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
-       ;;
-    [ab].out )
-       # We found the default executable, but exeext='' is most
-       # certainly right.
-       break;;
-    *.* )
-       if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
-       then :; else
-          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-       fi
-       # We set ac_cv_exeext here because the later test for it is not
-       # safe: cross compilers may not add the suffix if given an `-o'
-       # argument, so we may need to know it at that point already.
-       # Even if this section looks crufty: it has the advantage of
-       # actually working.
-       break;;
-    * )
-       break;;
-  esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
-  ac_file=''
-fi
-if test -z "$ac_file"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
-  test -f "$ac_file" || continue
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
-         break;;
-    * ) break;;
-  esac
-done
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdio.h>
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
-  { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-  if { ac_try='./conftest$ac_cv_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-       cross_compiling=yes
-    else
-       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compile") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then :
-  for ac_file in conftest.o conftest.obj conftest.*; do
-  test -f "$ac_file" || continue;
-  case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
-       break;;
-  esac
-done
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-#ifndef __GNUC__
-       choke me
-#endif
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
-else
-  ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GCC=yes
-else
-  GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_prog_cc_g=no
-   CFLAGS="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-else
-  CFLAGS=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
-  ac_c_werror_flag=$ac_save_c_werror_flag
-        CFLAGS="-g"
-        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
-  CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
-  if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
-  else
-    CFLAGS="-g"
-  fi
-else
-  if test "$GCC" = yes; then
-    CFLAGS="-O2"
-  else
-    CFLAGS=
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
-   function prototypes and stuff, but not '\xHH' hex character constants.
-   These don't provoke an error unfortunately, instead are silently treated
-   as 'x'.  The following induces an error, until -std is added to get
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
-   array size at least.  It's necessary to write '\x00'==0 to get something
-   that's true only with -std.  */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
-   inside strings and character constants.  */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
-  ;
-  return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC="$CC $ac_cv_prog_cc_c89"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-  if ${ac_cv_prog_CPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-      # Double quotes because CPP needs to be expanded
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-                    Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-                    Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$GREP"; then
-  ac_path_GREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in grep ggrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
-# Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'GREP' >> "conftest.nl"
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP="$ac_path_GREP"
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_GREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_GREP"; then
-    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
-   then ac_cv_path_EGREP="$GREP -E"
-   else
-     if test -z "$EGREP"; then
-  ac_path_EGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in egrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'EGREP' >> "conftest.nl"
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP="$ac_path_EGREP"
-      ac_path_EGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_EGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_EGREP=$EGREP
-fi
-
-   fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdc=yes
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then :
-  :
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
-                  (('a' <= (c) && (c) <= 'i') \
-                    || ('j' <= (c) && (c) <= 'r') \
-                    || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
-  int i;
-  for (i = 0; i < 256; i++)
-    if (XOR (islower (i), ISLOWER (i))
-       || toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-                 inttypes.h stdint.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-
-  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
-if test "x$ac_cv_header_minix_config_h" = xyes; then :
-  MINIX=yes
-else
-  MINIX=
-fi
-
-
-  if test "$MINIX" = yes; then
-
-$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
-
-
-$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
-
-
-$as_echo "#define _MINIX 1" >>confdefs.h
-
-  fi
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
-$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
-if ${ac_cv_safe_to_define___extensions__+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#        define __EXTENSIONS__ 1
-         $ac_includes_default
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_safe_to_define___extensions__=yes
-else
-  ac_cv_safe_to_define___extensions__=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
-$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
-  test $ac_cv_safe_to_define___extensions__ = yes &&
-    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
-
-  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
-
-  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
-
-  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
-
-  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
-
-
-
-# Initialize Automake
-am__api_version='1.11'
-
-# Find a good install program.  We prefer a C program (faster),
-# so one script is as good as another.  But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
-  ./ | .// | /[cC]/* | \
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
-  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
-  /usr/ucb/* ) ;;
-  *)
-    # OSF1 and SCO ODT 3.0 have their own names for install.
-    # Don't use installbsd from OSF since it installs stuff as root
-    # by default.
-    for ac_prog in ginstall scoinst install; do
-      for ac_exec_ext in '' $ac_executable_extensions; do
-       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
-         if test $ac_prog = install &&
-           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-           # AIX install.  It has an incompatible calling convention.
-           :
-         elif test $ac_prog = install &&
-           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-           # program-specific install script used by HP pwplus--don't use.
-           :
-         else
-           rm -rf conftest.one conftest.two conftest.dir
-           echo one > conftest.one
-           echo two > conftest.two
-           mkdir conftest.dir
-           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
-             test -s conftest.one && test -s conftest.two &&
-             test -s conftest.dir/conftest.one &&
-             test -s conftest.dir/conftest.two
-           then
-             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
-             break 3
-           fi
-         fi
-       fi
-      done
-    done
-    ;;
-esac
-
-  done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
-  if test "${ac_cv_path_install+set}" = set; then
-    INSTALL=$ac_cv_path_install
-  else
-    # As a last resort, use the slow shell script.  Don't cache a
-    # value for INSTALL within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the value is a relative name.
-    INSTALL=$ac_install_sh
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name.  Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
-  *[\\\"\#\$\&\'\`$am_lf]*)
-    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
-  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
-    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
-esac
-
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments.  Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
-   if test "$*" = "X"; then
-      # -L didn't work.
-      set X `ls -t "$srcdir/configure" conftest.file`
-   fi
-   rm -f conftest.file
-   if test "$*" != "X $srcdir/configure conftest.file" \
-      && test "$*" != "X conftest.file $srcdir/configure"; then
-
-      # If neither matched, then we have a broken ls.  This can happen
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
-      # broken ls alias from the environment.  This has actually
-      # happened.  Such a system could not be considered "sane".
-      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
-alias in your environment" "$LINENO" 5
-   fi
-
-   test "$2" = conftest.file
-   )
-then
-   # Ok.
-   :
-else
-   as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-test "$program_prefix" != NONE &&
-  program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
-  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-if test x"${MISSING+set}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
-  *)
-    MISSING="\${SHELL} $am_aux_dir/missing" ;;
-  esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
-else
-  am_missing_run=
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
-  *)
-    install_sh="\${SHELL} $am_aux_dir/install-sh"
-  esac
-fi
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'.  However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
-  if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$STRIP"; then
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
-  ac_ct_STRIP=$STRIP
-  # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_STRIP"; then
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_STRIP="strip"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_STRIP" = x; then
-    STRIP=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    STRIP=$ac_ct_STRIP
-  fi
-else
-  STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
-  if ${ac_cv_path_mkdir+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in mkdir gmkdir; do
-        for ac_exec_ext in '' $ac_executable_extensions; do
-          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
-          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
-            'mkdir (GNU coreutils) '* | \
-            'mkdir (coreutils) '* | \
-            'mkdir (fileutils) '4.1*)
-              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
-              break 3;;
-          esac
-        done
-       done
-  done
-IFS=$as_save_IFS
-
-fi
-
-  test -d ./--version && rmdir ./--version
-  if test "${ac_cv_path_mkdir+set}" = set; then
-    MKDIR_P="$ac_cv_path_mkdir -p"
-  else
-    # As a last resort, use the slow shell script.  Don't cache a
-    # value for MKDIR_P within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the value is a relative name.
-    MKDIR_P="$ac_install_sh -d"
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
-  [\\/$]* | ?:[\\/]*) ;;
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
-for ac_prog in gawk mawk nawk awk
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$AWK"; then
-  ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_AWK="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
-       @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
-  *@@@%%%=?*=@@@%%%*)
-    eval ac_cv_prog_make_${ac_make}_set=yes;;
-  *)
-    eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-  SET_MAKE=
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-  SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
-  am__leading_dot=.
-else
-  am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
-       @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
-  am__include=include
-  am__quote=
-  _am_result=GNU
-  ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
-   echo '.include "confinc"' > confmf
-   case `$am_make -s -f confmf 2> /dev/null` in #(
-   *the\ am__doit\ target*)
-     am__include=.include
-     am__quote="\""
-     _am_result=BSD
-     ;;
-   esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
-  enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
-  am_depcomp="$ac_aux_dir/depcomp"
-  AMDEPBACKSLASH='\'
-  am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
-  AMDEP_TRUE=
-  AMDEP_FALSE='#'
-else
-  AMDEP_TRUE='#'
-  AMDEP_FALSE=
-fi
-
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
-  # is not polluted with repeated "-I."
-  am__isrc=' -I$(srcdir)'
-  # test to see if srcdir already configured
-  if test -f $srcdir/config.status; then
-    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
-  fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
-  if (cygpath --version) >/dev/null 2>/dev/null; then
-    CYGPATH_W='cygpath -w'
-  else
-    CYGPATH_W=echo
-  fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='libX11'
- VERSION='1.5.0'
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# We need awk for the "check" target.  The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-
-
-
-
-depcc="$CC"   am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named `D' -- because `-MD' means `put the output
-  # in D'.
-  rm -rf conftest.dir
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
-
-  am_cv_CC_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
-  fi
-  am__universal=false
-  case " $depcc " in #(
-     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-     esac
-
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
-      # Solaris 8's {/usr,}/bin/sh.
-      touch sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle `-M -o', and we need to detect this.  Also, some Intel
-    # versions had trouble with output in subdirs
-    am__obj=sub/conftest.${OBJEXT-o}
-    am__minus_obj="-o $am__obj"
-    case $depmode in
-    gcc)
-      # This depmode causes a compiler race in universal mode.
-      test "$am__universal" = false || continue
-      ;;
-    nosideeffect)
-      # after this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested
-      if test "x$enable_dependency_tracking" = xyes; then
-       continue
-      else
-       break
-      fi
-      ;;
-    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
-      # This compiler won't grok `-c -o', but also, the minuso test has
-      # not run yet.  These depmodes are late enough in the game, and
-      # so weak that their functioning should not be impacted.
-      am__obj=conftest.${OBJEXT-o}
-      am__minus_obj=
-      ;;
-    none) break ;;
-    esac
-    if depmode=$depmode \
-       source=sub/conftest.c object=$am__obj \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # or remarks (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored or not supported.
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
-      #   icc: Command line warning: ignoring option '-M'; no argument required
-      # The diagnosis changed in icc 8.0:
-      #   icc: Command line remark: option '-MP' not supported
-      if (grep 'ignoring option' conftest.err ||
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
-        am_cv_CC_dependencies_compiler_type=$depmode
-        break
-      fi
-    fi
-  done
-
-  cd ..
-  rm -rf conftest.dir
-else
-  am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
-  am__fastdepCC_TRUE=
-  am__fastdepCC_FALSE='#'
-else
-  am__fastdepCC_TRUE='#'
-  am__fastdepCC_FALSE=
-fi
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
-    # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
-  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
-  USE_MAINTAINER_MODE=no
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
-   if test $USE_MAINTAINER_MODE = yes; then
-  MAINTAINER_MODE_TRUE=
-  MAINTAINER_MODE_FALSE='#'
-else
-  MAINTAINER_MODE_TRUE='#'
-  MAINTAINER_MODE_FALSE=
-fi
-
-  MAINT=$MAINTAINER_MODE_TRUE
-
-
-
-# Initialize libtool
-case `pwd` in
-  *\ * | *\    *)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
-$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
-esac
-
-
-
-macro_version='2.4.2'
-macro_revision='1.3337'
-
-
-
-
-
-
-
-
-
-
-
-
-
-ltmain="$ac_aux_dir/ltmain.sh"
-
-# Backslashify metacharacters that are still active within
-# double-quoted strings.
-sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\(["`\\]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
-ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
-$as_echo_n "checking how to print strings... " >&6; }
-# Test print first, because it will be a builtin if present.
-if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
-   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
-  ECHO='print -r --'
-elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-  ECHO='printf %s\n'
-else
-  # Use this function as a fallback that always works.
-  func_fallback_echo ()
-  {
-    eval 'cat <<_LTECHO_EOF
-$1
-_LTECHO_EOF'
-  }
-  ECHO='func_fallback_echo'
-fi
-
-# func_echo_all arg...
-# Invoke $ECHO with all args, space-separated.
-func_echo_all ()
-{
-    $ECHO ""
-}
-
-case "$ECHO" in
-  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
-$as_echo "printf" >&6; } ;;
-  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
-$as_echo "print -r" >&6; } ;;
-  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
-$as_echo "cat" >&6; } ;;
-esac
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if ${ac_cv_path_SED+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
-     for ac_i in 1 2 3 4 5 6 7; do
-       ac_script="$ac_script$as_nl$ac_script"
-     done
-     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
-     { ac_script=; unset ac_script;}
-     if test -z "$SED"; then
-  ac_path_SED_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
-# Check for GNU ac_path_SED and select it if it is found.
-  # Check for GNU $ac_path_SED
-case `"$ac_path_SED" --version 2>&1` in
-*GNU*)
-  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo '' >> "conftest.nl"
-    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_SED_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_SED="$ac_path_SED"
-      ac_path_SED_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_SED_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_SED"; then
-    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
-  fi
-else
-  ac_cv_path_SED=$SED
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
-$as_echo "$ac_cv_path_SED" >&6; }
- SED="$ac_cv_path_SED"
-  rm -f conftest.sed
-
-test -z "$SED" && SED=sed
-Xsed="$SED -e 1s/^X//"
-
-
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
-$as_echo_n "checking for fgrep... " >&6; }
-if ${ac_cv_path_FGREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
-   then ac_cv_path_FGREP="$GREP -F"
-   else
-     if test -z "$FGREP"; then
-  ac_path_FGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in fgrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
-# Check for GNU ac_path_FGREP and select it if it is found.
-  # Check for GNU $ac_path_FGREP
-case `"$ac_path_FGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'FGREP' >> "conftest.nl"
-    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_FGREP="$ac_path_FGREP"
-      ac_path_FGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-      $ac_path_FGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_FGREP"; then
-    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_FGREP=$FGREP
-fi
-
-   fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
-$as_echo "$ac_cv_path_FGREP" >&6; }
- FGREP="$ac_cv_path_FGREP"
-
-
-test -z "$GREP" && GREP=grep
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# Check whether --with-gnu-ld was given.
-if test "${with_gnu_ld+set}" = set; then :
-  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
-else
-  with_gnu_ld=no
-fi
-
-ac_prog=ld
-if test "$GCC" = yes; then
-  # Check if gcc -print-prog-name=ld gives a path.
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
-$as_echo_n "checking for ld used by $CC... " >&6; }
-  case $host in
-  *-*-mingw*)
-    # gcc leaves a trailing carriage return which upsets mingw
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
-  *)
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
-  esac
-  case $ac_prog in
-    # Accept absolute paths.
-    [\\/]* | ?:[\\/]*)
-      re_direlt='/[^/][^/]*/\.\./'
-      # Canonicalize the pathname of ld
-      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
-      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
-       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
-      done
-      test -z "$LD" && LD="$ac_prog"
-      ;;
-  "")
-    # If it fails, then pretend we aren't using GCC.
-    ac_prog=ld
-    ;;
-  *)
-    # If it is relative, then search for the first ld in PATH.
-    with_gnu_ld=unknown
-    ;;
-  esac
-elif test "$with_gnu_ld" = yes; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
-$as_echo_n "checking for GNU ld... " >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
-$as_echo_n "checking for non-GNU ld... " >&6; }
-fi
-if ${lt_cv_path_LD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$LD"; then
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-  for ac_dir in $PATH; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
-      lt_cv_path_LD="$ac_dir/$ac_prog"
-      # Check to see if the program is GNU ld.  I'd rather use --version,
-      # but apparently some variants of GNU ld only accept -v.
-      # Break only if it was the GNU/non-GNU ld that we prefer.
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
-      *GNU* | *'with BFD'*)
-       test "$with_gnu_ld" != no && break
-       ;;
-      *)
-       test "$with_gnu_ld" != yes && break
-       ;;
-      esac
-    fi
-  done
-  IFS="$lt_save_ifs"
-else
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
-fi
-fi
-
-LD="$lt_cv_path_LD"
-if test -n "$LD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
-$as_echo "$LD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if ${lt_cv_prog_gnu_ld+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  # I'd rather use --version here, but apparently some GNU lds only accept -v.
-case `$LD -v 2>&1 </dev/null` in
-*GNU* | *'with BFD'*)
-  lt_cv_prog_gnu_ld=yes
-  ;;
-*)
-  lt_cv_prog_gnu_ld=no
-  ;;
-esac
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
-with_gnu_ld=$lt_cv_prog_gnu_ld
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
-$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
-if ${lt_cv_path_NM+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$NM"; then
-  # Let the user override the test.
-  lt_cv_path_NM="$NM"
-else
-  lt_nm_to_check="${ac_tool_prefix}nm"
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
-    lt_nm_to_check="$lt_nm_to_check nm"
-  fi
-  for lt_tmp_nm in $lt_nm_to_check; do
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
-      IFS="$lt_save_ifs"
-      test -z "$ac_dir" && ac_dir=.
-      tmp_nm="$ac_dir/$lt_tmp_nm"
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
-       # Check to see if the nm accepts a BSD-compat flag.
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
-       #   nm: unknown option "B" ignored
-       # Tru64's nm complains that /dev/null is an invalid object file
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
-       */dev/null* | *'Invalid file or object type'*)
-         lt_cv_path_NM="$tmp_nm -B"
-         break
-         ;;
-       *)
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
-         */dev/null*)
-           lt_cv_path_NM="$tmp_nm -p"
-           break
-           ;;
-         *)
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
-           continue # so that we can try to find one that supports BSD flags
-           ;;
-         esac
-         ;;
-       esac
-      fi
-    done
-    IFS="$lt_save_ifs"
-  done
-  : ${lt_cv_path_NM=no}
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
-$as_echo "$lt_cv_path_NM" >&6; }
-if test "$lt_cv_path_NM" != "no"; then
-  NM="$lt_cv_path_NM"
-else
-  # Didn't find any BSD compatible name lister, look for dumpbin.
-  if test -n "$DUMPBIN"; then :
-    # Let the user override the test.
-  else
-    if test -n "$ac_tool_prefix"; then
-  for ac_prog in dumpbin "link -dump"
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_DUMPBIN+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$DUMPBIN"; then
-  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-DUMPBIN=$ac_cv_prog_DUMPBIN
-if test -n "$DUMPBIN"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
-$as_echo "$DUMPBIN" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$DUMPBIN" && break
-  done
-fi
-if test -z "$DUMPBIN"; then
-  ac_ct_DUMPBIN=$DUMPBIN
-  for ac_prog in dumpbin "link -dump"
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_DUMPBIN"; then
-  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
-if test -n "$ac_ct_DUMPBIN"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
-$as_echo "$ac_ct_DUMPBIN" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_DUMPBIN" && break
-done
-
-  if test "x$ac_ct_DUMPBIN" = x; then
-    DUMPBIN=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    DUMPBIN=$ac_ct_DUMPBIN
-  fi
-fi
-
-    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
-    *COFF*)
-      DUMPBIN="$DUMPBIN -symbols"
-      ;;
-    *)
-      DUMPBIN=:
-      ;;
-    esac
-  fi
-
-  if test "$DUMPBIN" != ":"; then
-    NM="$DUMPBIN"
-  fi
-fi
-test -z "$NM" && NM=nm
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
-$as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if ${lt_cv_nm_interface+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_nm_interface="BSD nm"
-  echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
-  (eval "$ac_compile" 2>conftest.err)
-  cat conftest.err >&5
-  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
-  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
-  cat conftest.err >&5
-  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
-  cat conftest.out >&5
-  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
-    lt_cv_nm_interface="MS dumpbin"
-  fi
-  rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
-$as_echo "$lt_cv_nm_interface" >&6; }
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
-$as_echo_n "checking whether ln -s works... " >&6; }
-LN_S=$as_ln_s
-if test "$LN_S" = "ln -s"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
-$as_echo "no, using $LN_S" >&6; }
-fi
-
-# find the maximum length of command line arguments
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
-$as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if ${lt_cv_sys_max_cmd_len+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-    i=0
-  teststring="ABCD"
-
-  case $build_os in
-  msdosdjgpp*)
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
-    # during glob expansion).  Even if it were fixed, the result of this
-    # check would be larger than it should be.
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
-    ;;
-
-  gnu*)
-    # Under GNU Hurd, this test is not required because there is
-    # no limit to the length of command line arguments.
-    # Libtool will interpret -1 as no limit whatsoever
-    lt_cv_sys_max_cmd_len=-1;
-    ;;
-
-  cygwin* | mingw* | cegcc*)
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
-    # about 5 minutes as the teststring grows exponentially.
-    # Worse, since 9x/ME are not pre-emptively multitasking,
-    # you end up with a "frozen" computer, even though with patience
-    # the test eventually succeeds (with a max line length of 256k).
-    # Instead, let's just punt: use the minimum linelength reported by
-    # all of the supported platforms: 8192 (on NT/2K/XP).
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  mint*)
-    # On MiNT this can take a long time and run out of memory.
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  amigaos*)
-    # On AmigaOS with pdksh, this test takes hours, literally.
-    # So we just punt and use a minimum line length of 8192.
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
-    # This has been around since 386BSD, at least.  Likely further.
-    if test -x /sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-    elif test -x /usr/sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
-    else
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
-    fi
-    # And add a safety zone
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    ;;
-
-  interix*)
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
-    lt_cv_sys_max_cmd_len=196608
-    ;;
-
-  os2*)
-    # The test takes a long time on OS/2.
-    lt_cv_sys_max_cmd_len=8192
-    ;;
-
-  osf*)
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
-    # nice to cause kernel panics so lets avoid the loop below.
-    # First set a reasonable default.
-    lt_cv_sys_max_cmd_len=16384
-    #
-    if test -x /sbin/sysconfig; then
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
-      esac
-    fi
-    ;;
-  sco3.2v5*)
-    lt_cv_sys_max_cmd_len=102400
-    ;;
-  sysv5* | sco5v6* | sysv4.2uw2*)
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
-    if test -n "$kargmax"; then
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
-    else
-      lt_cv_sys_max_cmd_len=32768
-    fi
-    ;;
-  *)
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    else
-      # Make teststring a little bigger before we do anything with it.
-      # a 1K string should be a reasonable start.
-      for i in 1 2 3 4 5 6 7 8 ; do
-        teststring=$teststring$teststring
-      done
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
-      # If test is not a shell built-in, we'll probably end up computing a
-      # maximum length that is only half of the actual maximum length, but
-      # we can't tell.
-      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
-                = "X$teststring$teststring"; } >/dev/null 2>&1 &&
-             test $i != 17 # 1/2 MB should be enough
-      do
-        i=`expr $i + 1`
-        teststring=$teststring$teststring
-      done
-      # Only check the string length outside the loop.
-      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
-      teststring=
-      # Add a significant safety factor because C++ compilers can tack on
-      # massive amounts of additional arguments before passing them to the
-      # linker.  It appears as though 1/2 is a usable value.
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
-    fi
-    ;;
-  esac
-
-fi
-
-if test -n $lt_cv_sys_max_cmd_len ; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
-$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
-$as_echo "none" >&6; }
-fi
-max_cmd_len=$lt_cv_sys_max_cmd_len
-
-
-
-
-
-
-: ${CP="cp -f"}
-: ${MV="mv -f"}
-: ${RM="rm -f"}
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
-$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
-# Try some XSI features
-xsi_shell=no
-( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,b/c, \
-    && eval 'test $(( 1 + 1 )) -eq 2 \
-    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
-  && xsi_shell=yes
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
-$as_echo "$xsi_shell" >&6; }
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
-$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
-lt_shell_append=no
-( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
-    >/dev/null 2>&1 \
-  && lt_shell_append=yes
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
-$as_echo "$lt_shell_append" >&6; }
-
-
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  lt_unset=unset
-else
-  lt_unset=false
-fi
-
-
-
-
-
-# test EBCDIC or ASCII
-case `echo X|tr X '\101'` in
- A) # ASCII based system
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
-  lt_SP2NL='tr \040 \012'
-  lt_NL2SP='tr \015\012 \040\040'
-  ;;
- *) # EBCDIC based system
-  lt_SP2NL='tr \100 \n'
-  lt_NL2SP='tr \r\n \100\100'
-  ;;
-esac
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
-$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
-if ${lt_cv_to_host_file_cmd+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $host in
-  *-*-mingw* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
-        ;;
-      *-*-cygwin* )
-        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
-        ;;
-      * ) # otherwise, assume *nix
-        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
-        ;;
-    esac
-    ;;
-  *-*-cygwin* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
-        ;;
-      *-*-cygwin* )
-        lt_cv_to_host_file_cmd=func_convert_file_noop
-        ;;
-      * ) # otherwise, assume *nix
-        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
-        ;;
-    esac
-    ;;
-  * ) # unhandled hosts (and "normal" native builds)
-    lt_cv_to_host_file_cmd=func_convert_file_noop
-    ;;
-esac
-
-fi
-
-to_host_file_cmd=$lt_cv_to_host_file_cmd
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
-$as_echo "$lt_cv_to_host_file_cmd" >&6; }
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
-$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
-if ${lt_cv_to_tool_file_cmd+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  #assume ordinary cross tools, or native build.
-lt_cv_to_tool_file_cmd=func_convert_file_noop
-case $host in
-  *-*-mingw* )
-    case $build in
-      *-*-mingw* ) # actually msys
-        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
-        ;;
-    esac
-    ;;
-esac
-
-fi
-
-to_tool_file_cmd=$lt_cv_to_tool_file_cmd
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
-$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
-$as_echo_n "checking for $LD option to reload object files... " >&6; }
-if ${lt_cv_ld_reload_flag+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_ld_reload_flag='-r'
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
-$as_echo "$lt_cv_ld_reload_flag" >&6; }
-reload_flag=$lt_cv_ld_reload_flag
-case $reload_flag in
-"" | " "*) ;;
-*) reload_flag=" $reload_flag" ;;
-esac
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
-case $host_os in
-  cygwin* | mingw* | pw32* | cegcc*)
-    if test "$GCC" != yes; then
-      reload_cmds=false
-    fi
-    ;;
-  darwin*)
-    if test "$GCC" = yes; then
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-    else
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
-    fi
-    ;;
-esac
-
-
-
-
-
-
-
-
-
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
-set dummy ${ac_tool_prefix}objdump; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OBJDUMP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$OBJDUMP"; then
-  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-OBJDUMP=$ac_cv_prog_OBJDUMP
-if test -n "$OBJDUMP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
-$as_echo "$OBJDUMP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_OBJDUMP"; then
-  ac_ct_OBJDUMP=$OBJDUMP
-  # Extract the first word of "objdump", so it can be a program name with args.
-set dummy objdump; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_OBJDUMP"; then
-  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_OBJDUMP="objdump"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
-if test -n "$ac_ct_OBJDUMP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
-$as_echo "$ac_ct_OBJDUMP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_OBJDUMP" = x; then
-    OBJDUMP="false"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    OBJDUMP=$ac_ct_OBJDUMP
-  fi
-else
-  OBJDUMP="$ac_cv_prog_OBJDUMP"
-fi
-
-test -z "$OBJDUMP" && OBJDUMP=objdump
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
-$as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if ${lt_cv_deplibs_check_method+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_file_magic_cmd='$MAGIC_CMD'
-lt_cv_file_magic_test_file=
-lt_cv_deplibs_check_method='unknown'
-# Need to set the preceding variable on all platforms that support
-# interlibrary dependencies.
-# 'none' -- dependencies not supported.
-# `unknown' -- same as none, but documents that we really don't know.
-# 'pass_all' -- all dependencies passed with no checks.
-# 'test_compile' -- check by making test program.
-# 'file_magic [[regex]]' -- check by looking for files in library path
-# which responds to the $file_magic_cmd with a given extended regex.
-# If you have `file' or equivalent on your system and you're not sure
-# whether `pass_all' will *always* work, you probably want this one.
-
-case $host_os in
-aix[4-9]*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-beos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-bsdi[45]*)
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
-  lt_cv_file_magic_test_file=/shlib/libc.so
-  ;;
-
-cygwin*)
-  # func_win32_libid is a shell function defined in ltmain.sh
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-  lt_cv_file_magic_cmd='func_win32_libid'
-  ;;
-
-mingw* | pw32*)
-  # Base MSYS/MinGW do not provide the 'file' command needed by
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
-  # unless we find 'file', for example because we are cross-compiling.
-  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
-  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-    lt_cv_file_magic_cmd='func_win32_libid'
-  else
-    # Keep this pattern in sync with the one in func_win32_libid.
-    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
-  fi
-  ;;
-
-cegcc*)
-  # use the weaker test based on 'objdump'. See mingw*.
-  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
-  ;;
-
-darwin* | rhapsody*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-freebsd* | dragonfly*)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    case $host_cpu in
-    i*86 )
-      # Not sure whether the presence of OpenBSD here was a mistake.
-      # Let's accept both of them until this is cleared up.
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
-      lt_cv_file_magic_cmd=/usr/bin/file
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
-      ;;
-    esac
-  else
-    lt_cv_deplibs_check_method=pass_all
-  fi
-  ;;
-
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-haiku*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-hpux10.20* | hpux11*)
-  lt_cv_file_magic_cmd=/usr/bin/file
-  case $host_cpu in
-  ia64*)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
-    ;;
-  hppa*64*)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
-    ;;
-  *)
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
-    ;;
-  esac
-  ;;
-
-interix[3-9]*)
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
-  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
-  ;;
-
-irix5* | irix6* | nonstopux*)
-  case $LD in
-  *-32|*"-32 ") libmagic=32-bit;;
-  *-n32|*"-n32 ") libmagic=N32;;
-  *-64|*"-64 ") libmagic=64-bit;;
-  *) libmagic=never-match;;
-  esac
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-netbsd*)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
-  fi
-  ;;
-
-newos6*)
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
-  lt_cv_file_magic_cmd=/usr/bin/file
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
-  ;;
-
-*nto* | *qnx*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-openbsd*)
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
-  fi
-  ;;
-
-osf3* | osf4* | osf5*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-rdos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-solaris*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv4 | sysv4.3*)
-  case $host_vendor in
-  motorola)
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
-    ;;
-  ncr)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  sequent)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
-    ;;
-  sni)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
-    lt_cv_file_magic_test_file=/lib/libc.so
-    ;;
-  siemens)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  pc)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  esac
-  ;;
-
-tpf*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-esac
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
-$as_echo "$lt_cv_deplibs_check_method" >&6; }
-
-file_magic_glob=
-want_nocaseglob=no
-if test "$build" = "$host"; then
-  case $host_os in
-  mingw* | pw32*)
-    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
-      want_nocaseglob=yes
-    else
-      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
-    fi
-    ;;
-  esac
-fi
-
-file_magic_cmd=$lt_cv_file_magic_cmd
-deplibs_check_method=$lt_cv_deplibs_check_method
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
-set dummy ${ac_tool_prefix}dlltool; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_DLLTOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$DLLTOOL"; then
-  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-DLLTOOL=$ac_cv_prog_DLLTOOL
-if test -n "$DLLTOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
-$as_echo "$DLLTOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_DLLTOOL"; then
-  ac_ct_DLLTOOL=$DLLTOOL
-  # Extract the first word of "dlltool", so it can be a program name with args.
-set dummy dlltool; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_DLLTOOL"; then
-  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
-if test -n "$ac_ct_DLLTOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
-$as_echo "$ac_ct_DLLTOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_DLLTOOL" = x; then
-    DLLTOOL="false"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    DLLTOOL=$ac_ct_DLLTOOL
-  fi
-else
-  DLLTOOL="$ac_cv_prog_DLLTOOL"
-fi
-
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
-$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
-if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_sharedlib_from_linklib_cmd='unknown'
-
-case $host_os in
-cygwin* | mingw* | pw32* | cegcc*)
-  # two different shell functions defined in ltmain.sh
-  # decide which to use based on capabilities of $DLLTOOL
-  case `$DLLTOOL --help 2>&1` in
-  *--identify-strict*)
-    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
-    ;;
-  *)
-    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
-    ;;
-  esac
-  ;;
-*)
-  # fallback: assume linklib IS sharedlib
-  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
-  ;;
-esac
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
-$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
-sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
-test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
-
-
-
-
-
-
-
-if test -n "$ac_tool_prefix"; then
-  for ac_prog in ar
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$AR"; then
-  ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-    test -n "$AR" && break
-  done
-fi
-if test -z "$AR"; then
-  ac_ct_AR=$AR
-  for ac_prog in ar
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AR+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_AR"; then
-  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_AR="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$ac_ct_AR" && break
-done
-
-  if test "x$ac_ct_AR" = x; then
-    AR="false"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    AR=$ac_ct_AR
-  fi
-fi
-
-: ${AR=ar}
-: ${AR_FLAGS=cru}
-
-
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
-$as_echo_n "checking for archiver @FILE support... " >&6; }
-if ${lt_cv_ar_at_file+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_ar_at_file=no
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  echo conftest.$ac_objext > conftest.lst
-      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
-      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
-  (eval $lt_ar_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-      if test "$ac_status" -eq 0; then
-       # Ensure the archiver fails upon bogus file names.
-       rm -f conftest.$ac_objext libconftest.a
-       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
-  (eval $lt_ar_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-       if test "$ac_status" -ne 0; then
-          lt_cv_ar_at_file=@
-        fi
-      fi
-      rm -f conftest.* libconftest.a
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
-$as_echo "$lt_cv_ar_at_file" >&6; }
-
-if test "x$lt_cv_ar_at_file" = xno; then
-  archiver_list_spec=
-else
-  archiver_list_spec=$lt_cv_ar_at_file
-fi
-
-
-
-
-
-
-
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$STRIP"; then
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
-  ac_ct_STRIP=$STRIP
-  # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_STRIP"; then
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_STRIP="strip"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_STRIP" = x; then
-    STRIP=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    STRIP=$ac_ct_STRIP
-  fi
-else
-  STRIP="$ac_cv_prog_STRIP"
-fi
-
-test -z "$STRIP" && STRIP=:
-
-
-
-
-
-
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$RANLIB"; then
-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
-  ac_ct_RANLIB=$RANLIB
-  # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_RANLIB"; then
-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_RANLIB="ranlib"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_RANLIB" = x; then
-    RANLIB=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    RANLIB=$ac_ct_RANLIB
-  fi
-else
-  RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-test -z "$RANLIB" && RANLIB=:
-
-
-
-
-
-
-# Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
-old_postinstall_cmds='chmod 644 $oldlib'
-old_postuninstall_cmds=
-
-if test -n "$RANLIB"; then
-  case $host_os in
-  openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
-    ;;
-  *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
-    ;;
-  esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
-fi
-
-case $host_os in
-  darwin*)
-    lock_old_archive_extraction=yes ;;
-  *)
-    lock_old_archive_extraction=no ;;
-esac
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-
-
-# Check for command to grab the raw symbol name followed by C symbol from nm.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
-$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
-if ${lt_cv_sys_global_symbol_pipe+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-# These are sane defaults that work on at least a few old systems.
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
-
-# Character class describing NM global symbol codes.
-symcode='[BCDEGRST]'
-
-# Regexp to match symbols that can be accessed directly from C.
-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
-
-# Define system-specific variables.
-case $host_os in
-aix*)
-  symcode='[BCDT]'
-  ;;
-cygwin* | mingw* | pw32* | cegcc*)
-  symcode='[ABCDGISTW]'
-  ;;
-hpux*)
-  if test "$host_cpu" = ia64; then
-    symcode='[ABCDEGRST]'
-  fi
-  ;;
-irix* | nonstopux*)
-  symcode='[BCDEGRST]'
-  ;;
-osf*)
-  symcode='[BCDEGQRST]'
-  ;;
-solaris*)
-  symcode='[BDRT]'
-  ;;
-sco3.2v5*)
-  symcode='[DT]'
-  ;;
-sysv4.2uw2*)
-  symcode='[DT]'
-  ;;
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
-  symcode='[ABDT]'
-  ;;
-sysv4)
-  symcode='[DFNSTU]'
-  ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
-  symcode='[ABCDGIRSTW]' ;;
-esac
-
-# Transform an extracted symbol line into a proper C declaration.
-# Some systems (esp. on ia64) link data and code symbols differently,
-# so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
-
-# Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
-
-# Handle CRLF in mingw tool chain
-opt_cr=
-case $build_os in
-mingw*)
-  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
-  ;;
-esac
-
-# Try without a prefix underscore, then with it.
-for ac_symprfx in "" "_"; do
-
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
-
-  # Write the raw and C identifiers.
-  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-    # Fake it for dumpbin and say T for any non-static function
-    # and D for any global variable.
-    # Also find C++ and __fastcall symbols from MSVC++,
-    # which start with @ or ?.
-    lt_cv_sys_global_symbol_pipe="$AWK '"\
-"     {last_section=section; section=\$ 3};"\
-"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
-"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
-"     \$ 0!~/External *\|/{next};"\
-"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
-"     {if(hide[section]) next};"\
-"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
-"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
-"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
-"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
-"     ' prfx=^$ac_symprfx"
-  else
-    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
-  fi
-  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
-
-  # Check to see that the pipe works correctly.
-  pipe_works=no
-
-  rm -f conftest*
-  cat > conftest.$ac_ext <<_LT_EOF
-#ifdef __cplusplus
-extern "C" {
-#endif
-char nm_test_var;
-void nm_test_func(void);
-void nm_test_func(void){}
-#ifdef __cplusplus
-}
-#endif
-int main(){nm_test_var='a';nm_test_func();return(0);}
-_LT_EOF
-
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-    # Now try to grab the symbols.
-    nlist=conftest.nm
-    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
-  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s "$nlist"; then
-      # Try sorting and uniquifying the output.
-      if sort "$nlist" | uniq > "$nlist"T; then
-       mv -f "$nlist"T "$nlist"
-      else
-       rm -f "$nlist"T
-      fi
-
-      # Make sure that we snagged all the symbols we need.
-      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
-       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
-         cat <<_LT_EOF > conftest.$ac_ext
-/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
-/* DATA imports from DLLs on WIN32 con't be const, because runtime
-   relocations are performed -- see ld's documentation on pseudo-relocs.  */
-# define LT_DLSYM_CONST
-#elif defined(__osf__)
-/* This system does not cope well with relocations in const data.  */
-# define LT_DLSYM_CONST
-#else
-# define LT_DLSYM_CONST const
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-_LT_EOF
-         # Now generate the symbol file.
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
-
-         cat <<_LT_EOF >> conftest.$ac_ext
-
-/* The mapping between symbol names and symbols.  */
-LT_DLSYM_CONST struct {
-  const char *name;
-  void       *address;
-}
-lt__PROGRAM__LTX_preloaded_symbols[] =
-{
-  { "@PROGRAM@", (void *) 0 },
-_LT_EOF
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
-         cat <<\_LT_EOF >> conftest.$ac_ext
-  {0, (void *) 0}
-};
-
-/* This works around a problem in FreeBSD linker */
-#ifdef FREEBSD_WORKAROUND
-static const void *lt_preloaded_setup() {
-  return lt__PROGRAM__LTX_preloaded_symbols;
-}
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-_LT_EOF
-         # Now try linking the two files.
-         mv conftest.$ac_objext conftstm.$ac_objext
-         lt_globsym_save_LIBS=$LIBS
-         lt_globsym_save_CFLAGS=$CFLAGS
-         LIBS="conftstm.$ac_objext"
-         CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
-         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
-           pipe_works=yes
-         fi
-         LIBS=$lt_globsym_save_LIBS
-         CFLAGS=$lt_globsym_save_CFLAGS
-       else
-         echo "cannot find nm_test_func in $nlist" >&5
-       fi
-      else
-       echo "cannot find nm_test_var in $nlist" >&5
-      fi
-    else
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
-    fi
-  else
-    echo "$progname: failed program was:" >&5
-    cat conftest.$ac_ext >&5
-  fi
-  rm -rf conftest* conftst*
-
-  # Do not use the global_symbol_pipe unless it works.
-  if test "$pipe_works" = yes; then
-    break
-  else
-    lt_cv_sys_global_symbol_pipe=
-  fi
-done
-
-fi
-
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
-  lt_cv_sys_global_symbol_to_cdecl=
-fi
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
-$as_echo "failed" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
-$as_echo "ok" >&6; }
-fi
-
-# Response file support.
-if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-  nm_file_list_spec='@'
-elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
-  nm_file_list_spec='@'
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
-$as_echo_n "checking for sysroot... " >&6; }
-
-# Check whether --with-sysroot was given.
-if test "${with_sysroot+set}" = set; then :
-  withval=$with_sysroot;
-else
-  with_sysroot=no
-fi
-
-
-lt_sysroot=
-case ${with_sysroot} in #(
- yes)
-   if test "$GCC" = yes; then
-     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
-   fi
-   ;; #(
- /*)
-   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
-   ;; #(
- no|'')
-   ;; #(
- *)
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
-$as_echo "${with_sysroot}" >&6; }
-   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
-   ;;
-esac
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
-$as_echo "${lt_sysroot:-no}" >&6; }
-
-
-
-
-
-# Check whether --enable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then :
-  enableval=$enable_libtool_lock;
-fi
-
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-ia64-*-hpux*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-    case `/usr/bin/file conftest.$ac_objext` in
-      *ELF-32*)
-       HPUX_IA64_MODE="32"
-       ;;
-      *ELF-64*)
-       HPUX_IA64_MODE="64"
-       ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-*-*-irix6*)
-  # Find out which ABI we are using.
-  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-    if test "$lt_cv_prog_gnu_ld" = yes; then
-      case `/usr/bin/file conftest.$ac_objext` in
-       *32-bit*)
-         LD="${LD-ld} -melf32bsmip"
-         ;;
-       *N32*)
-         LD="${LD-ld} -melf32bmipn32"
-         ;;
-       *64-bit*)
-         LD="${LD-ld} -melf64bmip"
-       ;;
-      esac
-    else
-      case `/usr/bin/file conftest.$ac_objext` in
-       *32-bit*)
-         LD="${LD-ld} -32"
-         ;;
-       *N32*)
-         LD="${LD-ld} -n32"
-         ;;
-       *64-bit*)
-         LD="${LD-ld} -64"
-         ;;
-      esac
-    fi
-  fi
-  rm -rf conftest*
-  ;;
-
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-    case `/usr/bin/file conftest.o` in
-      *32-bit*)
-       case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_i386_fbsd"
-           ;;
-         x86_64-*linux*)
-           LD="${LD-ld} -m elf_i386"
-           ;;
-         ppc64-*linux*|powerpc64-*linux*)
-           LD="${LD-ld} -m elf32ppclinux"
-           ;;
-         s390x-*linux*)
-           LD="${LD-ld} -m elf_s390"
-           ;;
-         sparc64-*linux*)
-           LD="${LD-ld} -m elf32_sparc"
-           ;;
-       esac
-       ;;
-      *64-bit*)
-       case $host in
-         x86_64-*kfreebsd*-gnu)
-           LD="${LD-ld} -m elf_x86_64_fbsd"
-           ;;
-         x86_64-*linux*)
-           LD="${LD-ld} -m elf_x86_64"
-           ;;
-         ppc*-*linux*|powerpc*-*linux*)
-           LD="${LD-ld} -m elf64ppc"
-           ;;
-         s390*-*linux*|s390*-*tpf*)
-           LD="${LD-ld} -m elf64_s390"
-           ;;
-         sparc*-*linux*)
-           LD="${LD-ld} -m elf64_sparc"
-           ;;
-       esac
-       ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-
-*-*-sco3.2v5*)
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
-  SAVE_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -belf"
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
-$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if ${lt_cv_cc_needs_belf+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  lt_cv_cc_needs_belf=yes
-else
-  lt_cv_cc_needs_belf=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-     ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
-$as_echo "$lt_cv_cc_needs_belf" >&6; }
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
-    CFLAGS="$SAVE_CFLAGS"
-  fi
-  ;;
-*-*solaris*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-    case `/usr/bin/file conftest.o` in
-    *64-bit*)
-      case $lt_cv_prog_gnu_ld in
-      yes*)
-        case $host in
-        i?86-*-solaris*)
-          LD="${LD-ld} -m elf_x86_64"
-          ;;
-        sparc*-*-solaris*)
-          LD="${LD-ld} -m elf64_sparc"
-          ;;
-        esac
-        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
-        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
-          LD="${LD-ld}_sol2"
-        fi
-        ;;
-      *)
-       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
-         LD="${LD-ld} -64"
-       fi
-       ;;
-      esac
-      ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-esac
-
-need_locks="$enable_libtool_lock"
-
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
-set dummy ${ac_tool_prefix}mt; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$MANIFEST_TOOL"; then
-  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
-if test -n "$MANIFEST_TOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
-$as_echo "$MANIFEST_TOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
-  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
-  # Extract the first word of "mt", so it can be a program name with args.
-set dummy mt; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_MANIFEST_TOOL"; then
-  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
-if test -n "$ac_ct_MANIFEST_TOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
-$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_MANIFEST_TOOL" = x; then
-    MANIFEST_TOOL=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
-  fi
-else
-  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
-fi
-
-test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
-$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
-if ${lt_cv_path_mainfest_tool+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_path_mainfest_tool=no
-  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
-  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
-  cat conftest.err >&5
-  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
-    lt_cv_path_mainfest_tool=yes
-  fi
-  rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
-$as_echo "$lt_cv_path_mainfest_tool" >&6; }
-if test "x$lt_cv_path_mainfest_tool" != xyes; then
-  MANIFEST_TOOL=:
-fi
-
-
-
-
-
-
-  case $host_os in
-    rhapsody* | darwin*)
-    if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
-set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_DSYMUTIL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$DSYMUTIL"; then
-  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-DSYMUTIL=$ac_cv_prog_DSYMUTIL
-if test -n "$DSYMUTIL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
-$as_echo "$DSYMUTIL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_DSYMUTIL"; then
-  ac_ct_DSYMUTIL=$DSYMUTIL
-  # Extract the first word of "dsymutil", so it can be a program name with args.
-set dummy dsymutil; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_DSYMUTIL"; then
-  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
-if test -n "$ac_ct_DSYMUTIL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
-$as_echo "$ac_ct_DSYMUTIL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_DSYMUTIL" = x; then
-    DSYMUTIL=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    DSYMUTIL=$ac_ct_DSYMUTIL
-  fi
-else
-  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
-fi
-
-    if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
-set dummy ${ac_tool_prefix}nmedit; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_NMEDIT+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$NMEDIT"; then
-  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-NMEDIT=$ac_cv_prog_NMEDIT
-if test -n "$NMEDIT"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
-$as_echo "$NMEDIT" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_NMEDIT"; then
-  ac_ct_NMEDIT=$NMEDIT
-  # Extract the first word of "nmedit", so it can be a program name with args.
-set dummy nmedit; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_NMEDIT"; then
-  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_NMEDIT="nmedit"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
-if test -n "$ac_ct_NMEDIT"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
-$as_echo "$ac_ct_NMEDIT" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_NMEDIT" = x; then
-    NMEDIT=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    NMEDIT=$ac_ct_NMEDIT
-  fi
-else
-  NMEDIT="$ac_cv_prog_NMEDIT"
-fi
-
-    if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
-set dummy ${ac_tool_prefix}lipo; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_LIPO+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LIPO"; then
-  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-LIPO=$ac_cv_prog_LIPO
-if test -n "$LIPO"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
-$as_echo "$LIPO" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_LIPO"; then
-  ac_ct_LIPO=$LIPO
-  # Extract the first word of "lipo", so it can be a program name with args.
-set dummy lipo; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_LIPO"; then
-  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_LIPO="lipo"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
-if test -n "$ac_ct_LIPO"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
-$as_echo "$ac_ct_LIPO" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_LIPO" = x; then
-    LIPO=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    LIPO=$ac_ct_LIPO
-  fi
-else
-  LIPO="$ac_cv_prog_LIPO"
-fi
-
-    if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
-set dummy ${ac_tool_prefix}otool; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OTOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$OTOOL"; then
-  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-OTOOL=$ac_cv_prog_OTOOL
-if test -n "$OTOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
-$as_echo "$OTOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_OTOOL"; then
-  ac_ct_OTOOL=$OTOOL
-  # Extract the first word of "otool", so it can be a program name with args.
-set dummy otool; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_OTOOL"; then
-  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_OTOOL="otool"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
-if test -n "$ac_ct_OTOOL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
-$as_echo "$ac_ct_OTOOL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_OTOOL" = x; then
-    OTOOL=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    OTOOL=$ac_ct_OTOOL
-  fi
-else
-  OTOOL="$ac_cv_prog_OTOOL"
-fi
-
-    if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
-set dummy ${ac_tool_prefix}otool64; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OTOOL64+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$OTOOL64"; then
-  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-OTOOL64=$ac_cv_prog_OTOOL64
-if test -n "$OTOOL64"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
-$as_echo "$OTOOL64" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_OTOOL64"; then
-  ac_ct_OTOOL64=$OTOOL64
-  # Extract the first word of "otool64", so it can be a program name with args.
-set dummy otool64; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_OTOOL64"; then
-  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_OTOOL64="otool64"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
-if test -n "$ac_ct_OTOOL64"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
-$as_echo "$ac_ct_OTOOL64" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_ct_OTOOL64" = x; then
-    OTOOL64=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    OTOOL64=$ac_ct_OTOOL64
-  fi
-else
-  OTOOL64="$ac_cv_prog_OTOOL64"
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
-$as_echo_n "checking for -single_module linker flag... " >&6; }
-if ${lt_cv_apple_cc_single_mod+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_apple_cc_single_mod=no
-      if test -z "${LT_MULTI_MODULE}"; then
-       # By default we will add the -single_module flag. You can override
-       # by either setting the environment variable LT_MULTI_MODULE
-       # non-empty at configure time, or by adding -multi_module to the
-       # link flags.
-       rm -rf libconftest.dylib*
-       echo "int foo(void){return 1;}" > conftest.c
-       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
--dynamiclib -Wl,-single_module conftest.c" >&5
-       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
-        _lt_result=$?
-       # If there is a non-empty error log, and "single_module"
-       # appears in it, assume the flag caused a linker warning
-        if test -s conftest.err && $GREP single_module conftest.err; then
-         cat conftest.err >&5
-       # Otherwise, if the output was created with a 0 exit code from
-       # the compiler, it worked.
-       elif test -f libconftest.dylib && test $_lt_result -eq 0; then
-         lt_cv_apple_cc_single_mod=yes
-       else
-         cat conftest.err >&5
-       fi
-       rm -rf libconftest.dylib*
-       rm -f conftest.*
-      fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
-$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
-$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if ${lt_cv_ld_exported_symbols_list+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_ld_exported_symbols_list=no
-      save_LDFLAGS=$LDFLAGS
-      echo "_main" > conftest.sym
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  lt_cv_ld_exported_symbols_list=yes
-else
-  lt_cv_ld_exported_symbols_list=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-       LDFLAGS="$save_LDFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
-$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
-$as_echo_n "checking for -force_load linker flag... " >&6; }
-if ${lt_cv_ld_force_load+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_ld_force_load=no
-      cat > conftest.c << _LT_EOF
-int forced_loaded() { return 2;}
-_LT_EOF
-      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
-      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
-      echo "$AR cru libconftest.a conftest.o" >&5
-      $AR cru libconftest.a conftest.o 2>&5
-      echo "$RANLIB libconftest.a" >&5
-      $RANLIB libconftest.a 2>&5
-      cat > conftest.c << _LT_EOF
-int main() { return 0;}
-_LT_EOF
-      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
-      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
-      _lt_result=$?
-      if test -s conftest.err && $GREP force_load conftest.err; then
-       cat conftest.err >&5
-      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
-       lt_cv_ld_force_load=yes
-      else
-       cat conftest.err >&5
-      fi
-        rm -f conftest.err libconftest.a conftest conftest.c
-        rm -rf conftest.dSYM
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
-$as_echo "$lt_cv_ld_force_load" >&6; }
-    case $host_os in
-    rhapsody* | darwin1.[012])
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
-    darwin1.*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-    darwin*) # darwin 5.x on
-      # if running on 10.5 or later, the deployment target defaults
-      # to the OS version, if on x86, and 10.4, the deployment
-      # target defaults to 10.4. Don't you love it?
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-       10.0,*86*-darwin8*|10.0,*-darwin[91]*)
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-       10.[012]*)
-         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-       10.*)
-         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-      esac
-    ;;
-  esac
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
-      _lt_dar_single_mod='$single_module'
-    fi
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
-    else
-      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
-    fi
-    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
-      _lt_dsymutil='~$DSYMUTIL $lib || :'
-    else
-      _lt_dsymutil=
-    fi
-    ;;
-  esac
-
-for ac_header in dlfcn.h
-do :
-  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
-"
-if test "x$ac_cv_header_dlfcn_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_DLFCN_H 1
-_ACEOF
-
-fi
-
-done
-
-
-
-
-
-# Set options
-
-
-
-        enable_dlopen=no
-
-
-  enable_win32_dll=no
-
-
-            # Check whether --enable-shared was given.
-if test "${enable_shared+set}" = set; then :
-  enableval=$enable_shared; p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_shared=yes ;;
-    no) enable_shared=no ;;
-    *)
-      enable_shared=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_shared=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac
-else
-  enable_shared=yes
-fi
-
-
-
-
-
-
-
-
-
-  # Check whether --enable-static was given.
-if test "${enable_static+set}" = set; then :
-  enableval=$enable_static; p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_static=yes ;;
-    no) enable_static=no ;;
-    *)
-     enable_static=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_static=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac
-else
-  enable_static=yes
-fi
-
-
-
-
-
-
-
-
-
-
-# Check whether --with-pic was given.
-if test "${with_pic+set}" = set; then :
-  withval=$with_pic; lt_p=${PACKAGE-default}
-    case $withval in
-    yes|no) pic_mode=$withval ;;
-    *)
-      pic_mode=default
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for lt_pkg in $withval; do
-       IFS="$lt_save_ifs"
-       if test "X$lt_pkg" = "X$lt_p"; then
-         pic_mode=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac
-else
-  pic_mode=default
-fi
-
-
-test -z "$pic_mode" && pic_mode=default
-
-
-
-
-
-
-
-  # Check whether --enable-fast-install was given.
-if test "${enable_fast_install+set}" = set; then :
-  enableval=$enable_fast_install; p=${PACKAGE-default}
-    case $enableval in
-    yes) enable_fast_install=yes ;;
-    no) enable_fast_install=no ;;
-    *)
-      enable_fast_install=no
-      # Look at the argument we got.  We use all the common list separators.
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
-      for pkg in $enableval; do
-       IFS="$lt_save_ifs"
-       if test "X$pkg" = "X$p"; then
-         enable_fast_install=yes
-       fi
-      done
-      IFS="$lt_save_ifs"
-      ;;
-    esac
-else
-  enable_fast_install=yes
-fi
-
-
-
-
-
-
-
-
-
-
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ltmain"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-test -z "$LN_S" && LN_S="ln -s"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-if test -n "${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
-$as_echo_n "checking for objdir... " >&6; }
-if ${lt_cv_objdir+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  rm -f .libs 2>/dev/null
-mkdir .libs 2>/dev/null
-if test -d .libs; then
-  lt_cv_objdir=.libs
-else
-  # MS-DOS does not allow filenames that begin with a dot.
-  lt_cv_objdir=_libs
-fi
-rmdir .libs 2>/dev/null
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
-$as_echo "$lt_cv_objdir" >&6; }
-objdir=$lt_cv_objdir
-
-
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define LT_OBJDIR "$lt_cv_objdir/"
-_ACEOF
-
-
-
-
-case $host_os in
-aix3*)
-  # AIX sometimes has problems with the GCC collect2 program.  For some
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
-  # vanish in a puff of smoke.
-  if test "X${COLLECT_NAMES+set}" != Xset; then
-    COLLECT_NAMES=
-    export COLLECT_NAMES
-  fi
-  ;;
-esac
-
-# Global variables:
-ofile=libtool
-can_build_shared=yes
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-
-with_gnu_ld="$lt_cv_prog_gnu_ld"
-
-old_CC="$CC"
-old_CFLAGS="$CFLAGS"
-
-# Set sane defaults for various variables
-test -z "$CC" && CC=cc
-test -z "$LTCC" && LTCC=$CC
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
-test -z "$LD" && LD=ld
-test -z "$ac_objext" && ac_objext=o
-
-for cc_temp in $compiler""; do
-  case $cc_temp in
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
-    \-*) ;;
-    *) break;;
-  esac
-done
-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
-
-
-# Only perform the check for file, if the check method requires it
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
-case $deplibs_check_method in
-file_magic*)
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
-$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if ${lt_cv_path_MAGIC_CMD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $MAGIC_CMD in
-[\\/*] |  ?:[\\/]*)
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
-  ;;
-*)
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
-  for ac_dir in $ac_dummy; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/${ac_tool_prefix}file; then
-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
-      if test -n "$file_magic_test_file"; then
-       case $deplibs_check_method in
-       "file_magic "*)
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
-           $EGREP "$file_magic_regex" > /dev/null; then
-           :
-         else
-           cat <<_LT_EOF 1>&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such.  This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem.  Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-_LT_EOF
-         fi ;;
-       esac
-      fi
-      break
-    fi
-  done
-  IFS="$lt_save_ifs"
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
-  ;;
-esac
-fi
-
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
-$as_echo "$MAGIC_CMD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-
-
-if test -z "$lt_cv_path_MAGIC_CMD"; then
-  if test -n "$ac_tool_prefix"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
-$as_echo_n "checking for file... " >&6; }
-if ${lt_cv_path_MAGIC_CMD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $MAGIC_CMD in
-[\\/*] |  ?:[\\/]*)
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
-  ;;
-*)
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
-  for ac_dir in $ac_dummy; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/file; then
-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
-      if test -n "$file_magic_test_file"; then
-       case $deplibs_check_method in
-       "file_magic "*)
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
-           $EGREP "$file_magic_regex" > /dev/null; then
-           :
-         else
-           cat <<_LT_EOF 1>&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such.  This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem.  Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-_LT_EOF
-         fi ;;
-       esac
-      fi
-      break
-    fi
-  done
-  IFS="$lt_save_ifs"
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
-  ;;
-esac
-fi
-
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
-$as_echo "$MAGIC_CMD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  else
-    MAGIC_CMD=:
-  fi
-fi
-
-  fi
-  ;;
-esac
-
-# Use C for the default configuration in the libtool script
-
-lt_save_CC="$CC"
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-# Source file extension for C test sources.
-ac_ext=c
-
-# Object file extension for compiled C test sources.
-objext=o
-objext=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(){return(0);}'
-
-
-
-
-
-
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-
-# Save the default compiler, since it gets overwritten when the other
-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
-compiler_DEFAULT=$CC
-
-# save warnings/boilerplate of simple test code
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_compiler_boilerplate=`cat conftest.err`
-$RM conftest*
-
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_linker_boilerplate=`cat conftest.err`
-$RM -r conftest*
-
-
-if test -n "$compiler"; then
-
-lt_prog_compiler_no_builtin_flag=
-
-if test "$GCC" = yes; then
-  case $cc_basename in
-  nvcc*)
-    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
-  *)
-    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
-  esac
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_rtti_exceptions=no
-   ac_outfile=conftest.$ac_objext
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-   lt_compiler_flag="-fno-rtti -fno-exceptions"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   # The option is referenced via a variable to avoid confusing sed.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
-   (eval "$lt_compile" 2>conftest.err)
-   ac_status=$?
-   cat conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   if (exit $ac_status) && test -s "$ac_outfile"; then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings other than the usual output.
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
-       lt_cv_prog_compiler_rtti_exceptions=yes
-     fi
-   fi
-   $RM conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
-
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
-    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
-else
-    :
-fi
-
-fi
-
-
-
-
-
-
-  lt_prog_compiler_wl=
-lt_prog_compiler_pic=
-lt_prog_compiler_static=
-
-
-  if test "$GCC" = yes; then
-    lt_prog_compiler_wl='-Wl,'
-    lt_prog_compiler_static='-static'
-
-    case $host_os in
-      aix*)
-      # All AIX code is PIC.
-      if test "$host_cpu" = ia64; then
-       # AIX 5 now supports IA64 processor
-       lt_prog_compiler_static='-Bstatic'
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            lt_prog_compiler_pic='-fPIC'
-        ;;
-      m68k)
-            # FIXME: we need at least 68020 code to build shared libraries, but
-            # adding the `-m68020' flag to GCC prevents building anything better,
-            # like `-m68040'.
-            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
-        ;;
-      esac
-      ;;
-
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
-      # PIC is the default for these OSes.
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
-      # (--disable-auto-import) libraries
-      lt_prog_compiler_pic='-DDLL_EXPORT'
-      ;;
-
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      lt_prog_compiler_pic='-fno-common'
-      ;;
-
-    haiku*)
-      # PIC is the default for Haiku.
-      # The "-static" flag exists, but is broken.
-      lt_prog_compiler_static=
-      ;;
-
-    hpux*)
-      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
-      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
-      # sets the default TLS model and affects inlining.
-      case $host_cpu in
-      hppa*64*)
-       # +Z the default
-       ;;
-      *)
-       lt_prog_compiler_pic='-fPIC'
-       ;;
-      esac
-      ;;
-
-    interix[3-9]*)
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
-      # Instead, we relocate shared libraries at runtime.
-      ;;
-
-    msdosdjgpp*)
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
-      # on systems that don't support them.
-      lt_prog_compiler_can_build_shared=no
-      enable_shared=no
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      lt_prog_compiler_pic='-fPIC -shared'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-       lt_prog_compiler_pic=-Kconform_pic
-      fi
-      ;;
-
-    *)
-      lt_prog_compiler_pic='-fPIC'
-      ;;
-    esac
-
-    case $cc_basename in
-    nvcc*) # Cuda Compiler Driver 2.2
-      lt_prog_compiler_wl='-Xlinker '
-      if test -n "$lt_prog_compiler_pic"; then
-        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
-      fi
-      ;;
-    esac
-  else
-    # PORTME Check for flag to pass linker flags through the system compiler.
-    case $host_os in
-    aix*)
-      lt_prog_compiler_wl='-Wl,'
-      if test "$host_cpu" = ia64; then
-       # AIX 5 now supports IA64 processor
-       lt_prog_compiler_static='-Bstatic'
-      else
-       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
-      fi
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      lt_prog_compiler_pic='-DDLL_EXPORT'
-      ;;
-
-    hpux9* | hpux10* | hpux11*)
-      lt_prog_compiler_wl='-Wl,'
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
-      # not for PA HP-UX.
-      case $host_cpu in
-      hppa*64*|ia64*)
-       # +Z the default
-       ;;
-      *)
-       lt_prog_compiler_pic='+Z'
-       ;;
-      esac
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
-      lt_prog_compiler_static='${wl}-a ${wl}archive'
-      ;;
-
-    irix5* | irix6* | nonstopux*)
-      lt_prog_compiler_wl='-Wl,'
-      # PIC (with -KPIC) is the default.
-      lt_prog_compiler_static='-non_shared'
-      ;;
-
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
-      case $cc_basename in
-      # old Intel for x86_64 which still supported -KPIC.
-      ecc*)
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='-KPIC'
-       lt_prog_compiler_static='-static'
-        ;;
-      # icc used to be incompatible with GCC.
-      # ICC 10 doesn't accept -KPIC any more.
-      icc* | ifort*)
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='-fPIC'
-       lt_prog_compiler_static='-static'
-        ;;
-      # Lahey Fortran 8.1.
-      lf95*)
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='--shared'
-       lt_prog_compiler_static='--static'
-       ;;
-      nagfor*)
-       # NAG Fortran compiler
-       lt_prog_compiler_wl='-Wl,-Wl,,'
-       lt_prog_compiler_pic='-PIC'
-       lt_prog_compiler_static='-Bstatic'
-       ;;
-      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
-        # Portland Group compilers (*not* the Pentium gcc compiler,
-       # which looks to be a dead project)
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='-fpic'
-       lt_prog_compiler_static='-Bstatic'
-        ;;
-      ccc*)
-        lt_prog_compiler_wl='-Wl,'
-        # All Alpha code is PIC.
-        lt_prog_compiler_static='-non_shared'
-        ;;
-      xl* | bgxl* | bgf* | mpixl*)
-       # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
-       lt_prog_compiler_wl='-Wl,'
-       lt_prog_compiler_pic='-qpic'
-       lt_prog_compiler_static='-qstaticlink'
-       ;;
-      *)
-       case `$CC -V 2>&1 | sed 5q` in
-       *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
-         lt_prog_compiler_pic='-KPIC'
-         lt_prog_compiler_static='-Bstatic'
-         lt_prog_compiler_wl=''
-         ;;
-       *Sun\ F* | *Sun*Fortran*)
-         lt_prog_compiler_pic='-KPIC'
-         lt_prog_compiler_static='-Bstatic'
-         lt_prog_compiler_wl='-Qoption ld '
-         ;;
-       *Sun\ C*)
-         # Sun C 5.9
-         lt_prog_compiler_pic='-KPIC'
-         lt_prog_compiler_static='-Bstatic'
-         lt_prog_compiler_wl='-Wl,'
-         ;;
-        *Intel*\ [CF]*Compiler*)
-         lt_prog_compiler_wl='-Wl,'
-         lt_prog_compiler_pic='-fPIC'
-         lt_prog_compiler_static='-static'
-         ;;
-       *Portland\ Group*)
-         lt_prog_compiler_wl='-Wl,'
-         lt_prog_compiler_pic='-fpic'
-         lt_prog_compiler_static='-Bstatic'
-         ;;
-       esac
-       ;;
-      esac
-      ;;
-
-    newsos6)
-      lt_prog_compiler_pic='-KPIC'
-      lt_prog_compiler_static='-Bstatic'
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      lt_prog_compiler_pic='-fPIC -shared'
-      ;;
-
-    osf3* | osf4* | osf5*)
-      lt_prog_compiler_wl='-Wl,'
-      # All OSF/1 code is PIC.
-      lt_prog_compiler_static='-non_shared'
-      ;;
-
-    rdos*)
-      lt_prog_compiler_static='-non_shared'
-      ;;
-
-    solaris*)
-      lt_prog_compiler_pic='-KPIC'
-      lt_prog_compiler_static='-Bstatic'
-      case $cc_basename in
-      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
-       lt_prog_compiler_wl='-Qoption ld ';;
-      *)
-       lt_prog_compiler_wl='-Wl,';;
-      esac
-      ;;
-
-    sunos4*)
-      lt_prog_compiler_wl='-Qoption ld '
-      lt_prog_compiler_pic='-PIC'
-      lt_prog_compiler_static='-Bstatic'
-      ;;
-
-    sysv4 | sysv4.2uw2* | sysv4.3*)
-      lt_prog_compiler_wl='-Wl,'
-      lt_prog_compiler_pic='-KPIC'
-      lt_prog_compiler_static='-Bstatic'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec ;then
-       lt_prog_compiler_pic='-Kconform_pic'
-       lt_prog_compiler_static='-Bstatic'
-      fi
-      ;;
-
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
-      lt_prog_compiler_wl='-Wl,'
-      lt_prog_compiler_pic='-KPIC'
-      lt_prog_compiler_static='-Bstatic'
-      ;;
-
-    unicos*)
-      lt_prog_compiler_wl='-Wl,'
-      lt_prog_compiler_can_build_shared=no
-      ;;
-
-    uts4*)
-      lt_prog_compiler_pic='-pic'
-      lt_prog_compiler_static='-Bstatic'
-      ;;
-
-    *)
-      lt_prog_compiler_can_build_shared=no
-      ;;
-    esac
-  fi
-
-case $host_os in
-  # For platforms which do not support PIC, -DPIC is meaningless:
-  *djgpp*)
-    lt_prog_compiler_pic=
-    ;;
-  *)
-    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
-    ;;
-esac
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
-if ${lt_cv_prog_compiler_pic+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
-$as_echo "$lt_cv_prog_compiler_pic" >&6; }
-lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
-
-#
-# Check to make sure the PIC flag actually works.
-#
-if test -n "$lt_prog_compiler_pic"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
-if ${lt_cv_prog_compiler_pic_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_pic_works=no
-   ac_outfile=conftest.$ac_objext
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   # The option is referenced via a variable to avoid confusing sed.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
-   (eval "$lt_compile" 2>conftest.err)
-   ac_status=$?
-   cat conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   if (exit $ac_status) && test -s "$ac_outfile"; then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings other than the usual output.
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
-       lt_cv_prog_compiler_pic_works=yes
-     fi
-   fi
-   $RM conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
-$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
-
-if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
-    case $lt_prog_compiler_pic in
-     "" | " "*) ;;
-     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
-     esac
-else
-    lt_prog_compiler_pic=
-     lt_prog_compiler_can_build_shared=no
-fi
-
-fi
-
-
-
-
-
-
-
-
-
-
-
-#
-# Check to make sure the static flag actually works.
-#
-wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if ${lt_cv_prog_compiler_static_works+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_static_works=no
-   save_LDFLAGS="$LDFLAGS"
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
-     # The linker can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     if test -s conftest.err; then
-       # Append any errors to the config.log.
-       cat conftest.err 1>&5
-       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-       if diff conftest.exp conftest.er2 >/dev/null; then
-         lt_cv_prog_compiler_static_works=yes
-       fi
-     else
-       lt_cv_prog_compiler_static_works=yes
-     fi
-   fi
-   $RM -r conftest*
-   LDFLAGS="$save_LDFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
-$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
-
-if test x"$lt_cv_prog_compiler_static_works" = xyes; then
-    :
-else
-    lt_prog_compiler_static=
-fi
-
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if ${lt_cv_prog_compiler_c_o+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_c_o=no
-   $RM -r conftest 2>/dev/null
-   mkdir conftest
-   cd conftest
-   mkdir out
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
-   (eval "$lt_compile" 2>out/conftest.err)
-   ac_status=$?
-   cat out/conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
-   then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
-       lt_cv_prog_compiler_c_o=yes
-     fi
-   fi
-   chmod u+w . 2>&5
-   $RM conftest*
-   # SGI C++ compiler will create directory out/ii_files/ for
-   # template instantiation
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
-   $RM out/* && rmdir out
-   cd ..
-   $RM -r conftest
-   $RM conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if ${lt_cv_prog_compiler_c_o+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler_c_o=no
-   $RM -r conftest 2>/dev/null
-   mkdir conftest
-   cd conftest
-   mkdir out
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
-   (eval "$lt_compile" 2>out/conftest.err)
-   ac_status=$?
-   cat out/conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
-   then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
-       lt_cv_prog_compiler_c_o=yes
-     fi
-   fi
-   chmod u+w . 2>&5
-   $RM conftest*
-   # SGI C++ compiler will create directory out/ii_files/ for
-   # template instantiation
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
-   $RM out/* && rmdir out
-   cd ..
-   $RM -r conftest
-   $RM conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
-
-
-
-
-hard_links="nottested"
-if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
-  # do not overwrite the value of need_locks provided by the user
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
-$as_echo_n "checking if we can lock with hard links... " >&6; }
-  hard_links=yes
-  $RM conftest*
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  touch conftest.a
-  ln conftest.a conftest.b 2>&5 || hard_links=no
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
-$as_echo "$hard_links" >&6; }
-  if test "$hard_links" = no; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
-    need_locks=warn
-  fi
-else
-  need_locks=no
-fi
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
-
-  runpath_var=
-  allow_undefined_flag=
-  always_export_symbols=no
-  archive_cmds=
-  archive_expsym_cmds=
-  compiler_needs_object=no
-  enable_shared_with_static_runtimes=no
-  export_dynamic_flag_spec=
-  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  hardcode_automatic=no
-  hardcode_direct=no
-  hardcode_direct_absolute=no
-  hardcode_libdir_flag_spec=
-  hardcode_libdir_separator=
-  hardcode_minus_L=no
-  hardcode_shlibpath_var=unsupported
-  inherit_rpath=no
-  link_all_deplibs=unknown
-  module_cmds=
-  module_expsym_cmds=
-  old_archive_from_new_cmds=
-  old_archive_from_expsyms_cmds=
-  thread_safe_flag_spec=
-  whole_archive_flag_spec=
-  # include_expsyms should be a list of space-separated symbols to be *always*
-  # included in the symbol list
-  include_expsyms=
-  # exclude_expsyms can be an extended regexp of symbols to exclude
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
-  # as well as any symbol that contains `d'.
-  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
-  # platforms (ab)use it in PIC code, but their linkers get confused if
-  # the symbol is explicitly referenced.  Since portable code cannot
-  # rely on this symbol name, it's probably fine to never include it in
-  # preloaded symbol tables.
-  # Exclude shared library initialization/finalization symbols.
-  extract_expsyms_cmds=
-
-  case $host_os in
-  cygwin* | mingw* | pw32* | cegcc*)
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
-    # When not using gcc, we currently assume that we are using
-    # Microsoft Visual C++.
-    if test "$GCC" != yes; then
-      with_gnu_ld=no
-    fi
-    ;;
-  interix*)
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
-    with_gnu_ld=yes
-    ;;
-  openbsd*)
-    with_gnu_ld=no
-    ;;
-  esac
-
-  ld_shlibs=yes
-
-  # On some targets, GNU ld is compatible enough with the native linker
-  # that we're better off using the native interface for both.
-  lt_use_gnu_ld_interface=no
-  if test "$with_gnu_ld" = yes; then
-    case $host_os in
-      aix*)
-       # The AIX port of GNU ld has always aspired to compatibility
-       # with the native linker.  However, as the warning in the GNU ld
-       # block says, versions before 2.19.5* couldn't really create working
-       # shared libraries, regardless of the interface used.
-       case `$LD -v 2>&1` in
-         *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
-         *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
-         *\ \(GNU\ Binutils\)\ [3-9]*) ;;
-         *)
-           lt_use_gnu_ld_interface=yes
-           ;;
-       esac
-       ;;
-      *)
-       lt_use_gnu_ld_interface=yes
-       ;;
-    esac
-  fi
-
-  if test "$lt_use_gnu_ld_interface" = yes; then
-    # If archive_cmds runs LD, not CC, wlarc should be empty
-    wlarc='${wl}'
-
-    # Set some defaults for GNU ld with shared library support. These
-    # are reset later if shared libraries are not supported. Putting them
-    # here allows them to be overridden if necessary.
-    runpath_var=LD_RUN_PATH
-    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-    export_dynamic_flag_spec='${wl}--export-dynamic'
-    # ancient GNU ld didn't support --whole-archive et. al.
-    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
-      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-    else
-      whole_archive_flag_spec=
-    fi
-    supports_anon_versioning=no
-    case `$LD -v 2>&1` in
-      *GNU\ gold*) supports_anon_versioning=yes ;;
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
-      *\ 2.11.*) ;; # other 2.11 versions
-      *) supports_anon_versioning=yes ;;
-    esac
-
-    # See if GNU ld supports shared libraries.
-    case $host_os in
-    aix[3-9]*)
-      # On AIX/PPC, the GNU linker is very broken
-      if test "$host_cpu" != ia64; then
-       ld_shlibs=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: the GNU linker, at least up to release 2.19, is reported
-*** to be unable to reliably create shared libraries on AIX.
-*** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to install binutils
-*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
-*** You will then need to restart the configuration process.
-
-_LT_EOF
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            archive_expsym_cmds=''
-        ;;
-      m68k)
-            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            hardcode_libdir_flag_spec='-L$libdir'
-            hardcode_minus_L=yes
-        ;;
-      esac
-      ;;
-
-    beos*)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       allow_undefined_flag=unsupported
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
-       # support --undefined.  This deserves some investigation.  FIXME
-       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-      else
-       ld_shlibs=no
-      fi
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
-      # as there is no search path for DLLs.
-      hardcode_libdir_flag_spec='-L$libdir'
-      export_dynamic_flag_spec='${wl}--export-all-symbols'
-      allow_undefined_flag=unsupported
-      always_export_symbols=no
-      enable_shared_with_static_runtimes=yes
-      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
-      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
-
-      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-       # If the export-symbols file already is a .def file (1st line
-       # is EXPORTS), use it as is; otherwise, prepend...
-       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-         cp $export_symbols $output_objdir/$soname.def;
-       else
-         echo EXPORTS > $output_objdir/$soname.def;
-         cat $export_symbols >> $output_objdir/$soname.def;
-       fi~
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-      else
-       ld_shlibs=no
-      fi
-      ;;
-
-    haiku*)
-      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-      link_all_deplibs=yes
-      ;;
-
-    interix[3-9]*)
-      hardcode_direct=no
-      hardcode_shlibpath_var=no
-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
-      export_dynamic_flag_spec='${wl}-E'
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
-      # default) and relocated if they conflict, which is a slow very memory
-      # consuming and fragmenting process.  To avoid this, we pick a random,
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
-      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      ;;
-
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
-      tmp_diet=no
-      if test "$host_os" = linux-dietlibc; then
-       case $cc_basename in
-         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
-       esac
-      fi
-      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
-        && test "$tmp_diet" = no
-      then
-       tmp_addflag=' $pic_flag'
-       tmp_sharedflag='-shared'
-       case $cc_basename,$host_cpu in
-        pgcc*)                         # Portland Group C compiler
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         tmp_addflag=' $pic_flag'
-         ;;
-       pgf77* | pgf90* | pgf95* | pgfortran*)
-                                       # Portland Group f77 and f90 compilers
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         tmp_addflag=' $pic_flag -Mnomain' ;;
-       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
-         tmp_addflag=' -i_dynamic' ;;
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
-       ifc* | ifort*)                  # Intel Fortran compiler
-         tmp_addflag=' -nofor_main' ;;
-       lf95*)                          # Lahey Fortran 8.1
-         whole_archive_flag_spec=
-         tmp_sharedflag='--shared' ;;
-       xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
-         tmp_sharedflag='-qmkshrobj'
-         tmp_addflag= ;;
-       nvcc*)  # Cuda Compiler Driver 2.2
-         whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         compiler_needs_object=yes
-         ;;
-       esac
-       case `$CC -V 2>&1 | sed 5q` in
-       *Sun\ C*)                       # Sun C 5.9
-         whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
-         compiler_needs_object=yes
-         tmp_sharedflag='-G' ;;
-       *Sun\ F*)                       # Sun Fortran 8.3
-         tmp_sharedflag='-G' ;;
-       esac
-       archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-
-        if test "x$supports_anon_versioning" = xyes; then
-          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
-           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-           echo "local: *; };" >> $output_objdir/$libname.ver~
-           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-        fi
-
-       case $cc_basename in
-       xlf* | bgf* | bgxlf* | mpixlf*)
-         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
-         whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
-         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
-         if test "x$supports_anon_versioning" = xyes; then
-           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
-             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-             echo "local: *; };" >> $output_objdir/$libname.ver~
-             $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
-         fi
-         ;;
-       esac
-      else
-        ld_shlibs=no
-      fi
-      ;;
-
-    netbsd*)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
-       wlarc=
-      else
-       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      fi
-      ;;
-
-    solaris*)
-      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
-       ld_shlibs=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
-*** create shared libraries on Solaris systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.9.1 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-       ld_shlibs=no
-      fi
-      ;;
-
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
-      case `$LD -v 2>&1` in
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
-       ld_shlibs=no
-       cat <<_LT_EOF 1>&2
-
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-       ;;
-       *)
-         # For security reasons, it is highly recommended that you always
-         # use absolute paths for naming shared libraries, and exclude the
-         # DT_RUNPATH tag from executables and libraries.  But doing so
-         # requires that you compile everything twice, which is a pain.
-         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-         else
-           ld_shlibs=no
-         fi
-       ;;
-      esac
-      ;;
-
-    sunos4*)
-      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      wlarc=
-      hardcode_direct=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    *)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-       archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-       ld_shlibs=no
-      fi
-      ;;
-    esac
-
-    if test "$ld_shlibs" = no; then
-      runpath_var=
-      hardcode_libdir_flag_spec=
-      export_dynamic_flag_spec=
-      whole_archive_flag_spec=
-    fi
-  else
-    # PORTME fill in a description of your system's linker (not GNU ld)
-    case $host_os in
-    aix3*)
-      allow_undefined_flag=unsupported
-      always_export_symbols=yes
-      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
-      # Note: this linker hardcodes the directories in LIBPATH if there
-      # are no directories specified by -L.
-      hardcode_minus_L=yes
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
-       # Neither direct hardcoding nor static linking is supported with a
-       # broken collect2.
-       hardcode_direct=unsupported
-      fi
-      ;;
-
-    aix[4-9]*)
-      if test "$host_cpu" = ia64; then
-       # On IA64, the linker does run time linking by default, so we don't
-       # have to do anything special.
-       aix_use_runtimelinking=no
-       exp_sym_flag='-Bexport'
-       no_entry_flag=""
-      else
-       # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
-       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-       else
-         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-       fi
-       aix_use_runtimelinking=no
-
-       # Test if we are trying to use run time linking or normal
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
-         for ld_flag in $LDFLAGS; do
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
-           aix_use_runtimelinking=yes
-           break
-         fi
-         done
-         ;;
-       esac
-
-       exp_sym_flag='-bexport'
-       no_entry_flag='-bnoentry'
-      fi
-
-      # When large executables or shared objects are built, AIX ld can
-      # have problems creating the table of contents.  If linking a library
-      # or program results in "error TOC overflow" add -mminimal-toc to
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
-      archive_cmds=''
-      hardcode_direct=yes
-      hardcode_direct_absolute=yes
-      hardcode_libdir_separator=':'
-      link_all_deplibs=yes
-      file_list_spec='${wl}-f,'
-
-      if test "$GCC" = yes; then
-       case $host_os in aix4.[012]|aix4.[012].*)
-       # We only want to do this on AIX 4.2 and lower, the check
-       # below for broken collect2 doesn't work under 4.3+
-         collect2name=`${CC} -print-prog-name=collect2`
-         if test -f "$collect2name" &&
-          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
-         then
-         # We have reworked collect2
-         :
-         else
-         # We have old collect2
-         hardcode_direct=unsupported
-         # It fails to find uninstalled libraries when the uninstalled
-         # path is not listed in the libpath.  Setting hardcode_minus_L
-         # to unsupported forces relinking
-         hardcode_minus_L=yes
-         hardcode_libdir_flag_spec='-L$libdir'
-         hardcode_libdir_separator=
-         fi
-         ;;
-       esac
-       shared_flag='-shared'
-       if test "$aix_use_runtimelinking" = yes; then
-         shared_flag="$shared_flag "'${wl}-G'
-       fi
-      else
-       # not using gcc
-       if test "$host_cpu" = ia64; then
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
-       # chokes on -Wl,-G. The following line is correct:
-         shared_flag='-G'
-       else
-         if test "$aix_use_runtimelinking" = yes; then
-           shared_flag='${wl}-G'
-         else
-           shared_flag='${wl}-bM:SRE'
-         fi
-       fi
-      fi
-
-      export_dynamic_flag_spec='${wl}-bexpall'
-      # It seems that -bexpall does not export symbols beginning with
-      # underscore (_), so it is better to generate a list of symbols to export.
-      always_export_symbols=yes
-      if test "$aix_use_runtimelinking" = yes; then
-       # Warning - without using the other runtime loading flags (-brtl),
-       # -berok will link without error, but may produce a broken library.
-       allow_undefined_flag='-berok'
-        # Determine the default libpath from the value encoded in an
-        # empty executable.
-        if test "${lt_cv_aix_libpath+set}" = set; then
-  aix_libpath=$lt_cv_aix_libpath
-else
-  if ${lt_cv_aix_libpath_+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
-  lt_aix_libpath_sed='
-      /Import File Strings/,/^$/ {
-         /^0/ {
-             s/^0  *\([^ ]*\) *$/\1/
-             p
-         }
-      }'
-  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  # Check for a 64-bit object if we didn't find anything.
-  if test -z "$lt_cv_aix_libpath_"; then
-    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  fi
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  if test -z "$lt_cv_aix_libpath_"; then
-    lt_cv_aix_libpath_="/usr/lib:/lib"
-  fi
-
-fi
-
-  aix_libpath=$lt_cv_aix_libpath_
-fi
-
-        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
-        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-      else
-       if test "$host_cpu" = ia64; then
-         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
-         allow_undefined_flag="-z nodefs"
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
-       else
-        # Determine the default libpath from the value encoded in an
-        # empty executable.
-        if test "${lt_cv_aix_libpath+set}" = set; then
-  aix_libpath=$lt_cv_aix_libpath
-else
-  if ${lt_cv_aix_libpath_+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
-  lt_aix_libpath_sed='
-      /Import File Strings/,/^$/ {
-         /^0/ {
-             s/^0  *\([^ ]*\) *$/\1/
-             p
-         }
-      }'
-  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  # Check for a 64-bit object if we didn't find anything.
-  if test -z "$lt_cv_aix_libpath_"; then
-    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-  fi
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  if test -z "$lt_cv_aix_libpath_"; then
-    lt_cv_aix_libpath_="/usr/lib:/lib"
-  fi
-
-fi
-
-  aix_libpath=$lt_cv_aix_libpath_
-fi
-
-        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
-         # Warning - without using the other run time loading flags,
-         # -berok will link without error, but may produce a broken library.
-         no_undefined_flag=' ${wl}-bernotok'
-         allow_undefined_flag=' ${wl}-berok'
-         if test "$with_gnu_ld" = yes; then
-           # We only use this code for GNU lds that support --whole-archive.
-           whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
-         else
-           # Exported symbols can be pulled into shared objects from archives
-           whole_archive_flag_spec='$convenience'
-         fi
-         archive_cmds_need_lc=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
-       fi
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            archive_expsym_cmds=''
-        ;;
-      m68k)
-            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            hardcode_libdir_flag_spec='-L$libdir'
-            hardcode_minus_L=yes
-        ;;
-      esac
-      ;;
-
-    bsdi[45]*)
-      export_dynamic_flag_spec=-rdynamic
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # When not using gcc, we currently assume that we are using
-      # Microsoft Visual C++.
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
-      # no search path for DLLs.
-      case $cc_basename in
-      cl*)
-       # Native MSVC
-       hardcode_libdir_flag_spec=' '
-       allow_undefined_flag=unsupported
-       always_export_symbols=yes
-       file_list_spec='@'
-       # Tell ltmain to make .lib files, not .a files.
-       libext=lib
-       # Tell ltmain to make .dll files, not .so files.
-       shrext_cmds=".dll"
-       # FIXME: Setting linknames here is a bad hack.
-       archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
-       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-           sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
-         else
-           sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
-         fi~
-         $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
-         linknames='
-       # The linker will not automatically build a static lib if we build a DLL.
-       # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
-       enable_shared_with_static_runtimes=yes
-       exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
-       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
-       # Don't use ranlib
-       old_postinstall_cmds='chmod 644 $oldlib'
-       postlink_cmds='lt_outputfile="@OUTPUT@"~
-         lt_tool_outputfile="@TOOL_OUTPUT@"~
-         case $lt_outputfile in
-           *.exe|*.EXE) ;;
-           *)
-             lt_outputfile="$lt_outputfile.exe"
-             lt_tool_outputfile="$lt_tool_outputfile.exe"
-             ;;
-         esac~
-         if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
-           $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
-           $RM "$lt_outputfile.manifest";
-         fi'
-       ;;
-      *)
-       # Assume MSVC wrapper
-       hardcode_libdir_flag_spec=' '
-       allow_undefined_flag=unsupported
-       # Tell ltmain to make .lib files, not .a files.
-       libext=lib
-       # Tell ltmain to make .dll files, not .so files.
-       shrext_cmds=".dll"
-       # FIXME: Setting linknames here is a bad hack.
-       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
-       # The linker will automatically build a .lib file if we build a DLL.
-       old_archive_from_new_cmds='true'
-       # FIXME: Should let the user specify the lib program.
-       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
-       enable_shared_with_static_runtimes=yes
-       ;;
-      esac
-      ;;
-
-    darwin* | rhapsody*)
-
-
-  archive_cmds_need_lc=no
-  hardcode_direct=no
-  hardcode_automatic=yes
-  hardcode_shlibpath_var=unsupported
-  if test "$lt_cv_ld_force_load" = "yes"; then
-    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
-
-  else
-    whole_archive_flag_spec=''
-  fi
-  link_all_deplibs=yes
-  allow_undefined_flag="$_lt_dar_allow_undefined"
-  case $cc_basename in
-     ifort*) _lt_dar_can_shared=yes ;;
-     *) _lt_dar_can_shared=$GCC ;;
-  esac
-  if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=func_echo_all
-    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
-    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
-    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
-    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
-
-  else
-  ld_shlibs=no
-  fi
-
-      ;;
-
-    dgux*)
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      hardcode_libdir_flag_spec='-L$libdir'
-      hardcode_shlibpath_var=no
-      ;;
-
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
-    # does not break anything, and helps significantly (at the cost of a little
-    # extra space).
-    freebsd2.2*)
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
-      hardcode_libdir_flag_spec='-R$libdir'
-      hardcode_direct=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2.*)
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      hardcode_direct=yes
-      hardcode_minus_L=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | dragonfly*)
-      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-      hardcode_libdir_flag_spec='-R$libdir'
-      hardcode_direct=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    hpux9*)
-      if test "$GCC" = yes; then
-       archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-      else
-       archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
-      fi
-      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
-      hardcode_libdir_separator=:
-      hardcode_direct=yes
-
-      # hardcode_minus_L: Not really in the search PATH,
-      # but as the default location of the library.
-      hardcode_minus_L=yes
-      export_dynamic_flag_spec='${wl}-E'
-      ;;
-
-    hpux10*)
-      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
-       archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
-      fi
-      if test "$with_gnu_ld" = no; then
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
-       hardcode_libdir_separator=:
-       hardcode_direct=yes
-       hardcode_direct_absolute=yes
-       export_dynamic_flag_spec='${wl}-E'
-       # hardcode_minus_L: Not really in the search PATH,
-       # but as the default location of the library.
-       hardcode_minus_L=yes
-      fi
-      ;;
-
-    hpux11*)
-      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
-       case $host_cpu in
-       hppa*64*)
-         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       ia64*)
-         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       *)
-         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       esac
-      else
-       case $host_cpu in
-       hppa*64*)
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       ia64*)
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
-         ;;
-       *)
-
-         # Older versions of the 11.00 compiler do not understand -b yet
-         # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
-         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
-$as_echo_n "checking if $CC understands -b... " >&6; }
-if ${lt_cv_prog_compiler__b+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_prog_compiler__b=no
-   save_LDFLAGS="$LDFLAGS"
-   LDFLAGS="$LDFLAGS -b"
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
-     # The linker can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     if test -s conftest.err; then
-       # Append any errors to the config.log.
-       cat conftest.err 1>&5
-       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-       if diff conftest.exp conftest.er2 >/dev/null; then
-         lt_cv_prog_compiler__b=yes
-       fi
-     else
-       lt_cv_prog_compiler__b=yes
-     fi
-   fi
-   $RM -r conftest*
-   LDFLAGS="$save_LDFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
-$as_echo "$lt_cv_prog_compiler__b" >&6; }
-
-if test x"$lt_cv_prog_compiler__b" = xyes; then
-    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
-else
-    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
-fi
-
-         ;;
-       esac
-      fi
-      if test "$with_gnu_ld" = no; then
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
-       hardcode_libdir_separator=:
-
-       case $host_cpu in
-       hppa*64*|ia64*)
-         hardcode_direct=no
-         hardcode_shlibpath_var=no
-         ;;
-       *)
-         hardcode_direct=yes
-         hardcode_direct_absolute=yes
-         export_dynamic_flag_spec='${wl}-E'
-
-         # hardcode_minus_L: Not really in the search PATH,
-         # but as the default location of the library.
-         hardcode_minus_L=yes
-         ;;
-       esac
-      fi
-      ;;
-
-    irix5* | irix6* | nonstopux*)
-      if test "$GCC" = yes; then
-       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-       # Try to use the -exported_symbol ld option, if it does not
-       # work, assume that -exports_file does not work either and
-       # implicitly export all symbols.
-       # This should be the same for all languages, so no per-tag cache variable.
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
-$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
-if ${lt_cv_irix_exported_symbol+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  save_LDFLAGS="$LDFLAGS"
-          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
-          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int foo (void) { return 0; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  lt_cv_irix_exported_symbol=yes
-else
-  lt_cv_irix_exported_symbol=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-           LDFLAGS="$save_LDFLAGS"
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
-$as_echo "$lt_cv_irix_exported_symbol" >&6; }
-       if test "$lt_cv_irix_exported_symbol" = yes; then
-          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
-       fi
-      else
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-      fi
-      archive_cmds_need_lc='no'
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-      hardcode_libdir_separator=:
-      inherit_rpath=yes
-      link_all_deplibs=yes
-      ;;
-
-    netbsd*)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
-      else
-       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
-      fi
-      hardcode_libdir_flag_spec='-R$libdir'
-      hardcode_direct=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    newsos6)
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      hardcode_direct=yes
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-      hardcode_libdir_separator=:
-      hardcode_shlibpath_var=no
-      ;;
-
-    *nto* | *qnx*)
-      ;;
-
-    openbsd*)
-      if test -f /usr/libexec/ld.so; then
-       hardcode_direct=yes
-       hardcode_shlibpath_var=no
-       hardcode_direct_absolute=yes
-       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
-         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
-         export_dynamic_flag_spec='${wl}-E'
-       else
-         case $host_os in
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
-            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-            hardcode_libdir_flag_spec='-R$libdir'
-            ;;
-          *)
-            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
-            ;;
-         esac
-       fi
-      else
-       ld_shlibs=no
-      fi
-      ;;
-
-    os2*)
-      hardcode_libdir_flag_spec='-L$libdir'
-      hardcode_minus_L=yes
-      allow_undefined_flag=unsupported
-      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
-      ;;
-
-    osf3*)
-      if test "$GCC" = yes; then
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-      else
-       allow_undefined_flag=' -expect_unresolved \*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-      fi
-      archive_cmds_need_lc='no'
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-      hardcode_libdir_separator=:
-      ;;
-
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
-      if test "$GCC" = yes; then
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
-       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
-      else
-       allow_undefined_flag=' -expect_unresolved \*'
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
-       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
-       $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
-
-       # Both c and cxx compiler support -rpath directly
-       hardcode_libdir_flag_spec='-rpath $libdir'
-      fi
-      archive_cmds_need_lc='no'
-      hardcode_libdir_separator=:
-      ;;
-
-    solaris*)
-      no_undefined_flag=' -z defs'
-      if test "$GCC" = yes; then
-       wlarc='${wl}'
-       archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-      else
-       case `$CC -V 2>&1` in
-       *"Compilers 5.0"*)
-         wlarc=''
-         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
-         ;;
-       *)
-         wlarc='${wl}'
-         archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
-         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-         ;;
-       esac
-      fi
-      hardcode_libdir_flag_spec='-R$libdir'
-      hardcode_shlibpath_var=no
-      case $host_os in
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
-      *)
-       # The compiler driver will combine and reorder linker options,
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
-       # but is careful enough not to reorder.
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
-       if test "$GCC" = yes; then
-         whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
-       else
-         whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
-       fi
-       ;;
-      esac
-      link_all_deplibs=yes
-      ;;
-
-    sunos4*)
-      if test "x$host_vendor" = xsequent; then
-       # Use $CC to link under sequent, because it throws in some extra .o
-       # files that make .init and .fini sections work.
-       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
-      fi
-      hardcode_libdir_flag_spec='-L$libdir'
-      hardcode_direct=yes
-      hardcode_minus_L=yes
-      hardcode_shlibpath_var=no
-      ;;
-
-    sysv4)
-      case $host_vendor in
-       sni)
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         hardcode_direct=yes # is this really true???
-       ;;
-       siemens)
-         ## LD is ld it makes a PLAMLIB
-         ## CC just makes a GrossModule.
-         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
-         reload_cmds='$CC -r -o $output$reload_objs'
-         hardcode_direct=no
-        ;;
-       motorola)
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
-       ;;
-      esac
-      runpath_var='LD_RUN_PATH'
-      hardcode_shlibpath_var=no
-      ;;
-
-    sysv4.3*)
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      hardcode_shlibpath_var=no
-      export_dynamic_flag_spec='-Bexport'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-       hardcode_shlibpath_var=no
-       runpath_var=LD_RUN_PATH
-       hardcode_runpath_var=yes
-       ld_shlibs=yes
-      fi
-      ;;
-
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
-      no_undefined_flag='${wl}-z,text'
-      archive_cmds_need_lc=no
-      hardcode_shlibpath_var=no
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    sysv5* | sco3.2v5* | sco5v6*)
-      # Note: We can NOT use -z defs as we might desire, because we do not
-      # link with -lc, and that would cause any symbols used from libc to
-      # always be unresolved, which means just about no library would
-      # ever link correctly.  If we're not using GNU ld we use -z text
-      # though, which does catch some bad symbols but isn't as heavy-handed
-      # as -z defs.
-      no_undefined_flag='${wl}-z,text'
-      allow_undefined_flag='${wl}-z,nodefs'
-      archive_cmds_need_lc=no
-      hardcode_shlibpath_var=no
-      hardcode_libdir_flag_spec='${wl}-R,$libdir'
-      hardcode_libdir_separator=':'
-      link_all_deplibs=yes
-      export_dynamic_flag_spec='${wl}-Bexport'
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    uts4*)
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      hardcode_libdir_flag_spec='-L$libdir'
-      hardcode_shlibpath_var=no
-      ;;
-
-    *)
-      ld_shlibs=no
-      ;;
-    esac
-
-    if test x$host_vendor = xsni; then
-      case $host in
-      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
-       export_dynamic_flag_spec='${wl}-Blargedynsym'
-       ;;
-      esac
-    fi
-  fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
-$as_echo "$ld_shlibs" >&6; }
-test "$ld_shlibs" = no && can_build_shared=no
-
-with_gnu_ld=$with_gnu_ld
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#
-# Do we need to explicitly link libc?
-#
-case "x$archive_cmds_need_lc" in
-x|xyes)
-  # Assume -lc should be added
-  archive_cmds_need_lc=yes
-
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
-    case $archive_cmds in
-    *'~'*)
-      # FIXME: we may have to deal with multi-command sequences.
-      ;;
-    '$CC '*)
-      # Test whether the compiler implicitly links with -lc since on some
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
-      # to ld, don't add -lc before -lgcc.
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-if ${lt_cv_archive_cmds_need_lc+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  $RM conftest*
-       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } 2>conftest.err; then
-         soname=conftest
-         lib=conftest
-         libobjs=conftest.$ac_objext
-         deplibs=
-         wl=$lt_prog_compiler_wl
-         pic_flag=$lt_prog_compiler_pic
-         compiler_flags=-v
-         linker_flags=-v
-         verstring=
-         output_objdir=.
-         libname=conftest
-         lt_save_allow_undefined_flag=$allow_undefined_flag
-         allow_undefined_flag=
-         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
-  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-         then
-           lt_cv_archive_cmds_need_lc=no
-         else
-           lt_cv_archive_cmds_need_lc=yes
-         fi
-         allow_undefined_flag=$lt_save_allow_undefined_flag
-       else
-         cat conftest.err 1>&5
-       fi
-       $RM conftest*
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
-$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
-      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
-      ;;
-    esac
-  fi
-  ;;
-esac
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
-
-if test "$GCC" = yes; then
-  case $host_os in
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
-    *) lt_awk_arg="/^libraries:/" ;;
-  esac
-  case $host_os in
-    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
-    *) lt_sed_strip_eq="s,=/,/,g" ;;
-  esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
-  case $lt_search_path_spec in
-  *\;*)
-    # if the path contains ";" then we assume it to be the separator
-    # otherwise default to the standard path separator (i.e. ":") - it is
-    # assumed that no part of a normal pathname contains ";" but that should
-    # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
-    ;;
-  *)
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
-    ;;
-  esac
-  # Ok, now we have the path, separated by spaces, we can step through it
-  # and add multilib dir if necessary.
-  lt_tmp_lt_search_path_spec=
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
-  for lt_sys_path in $lt_search_path_spec; do
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
-    else
-      test -d "$lt_sys_path" && \
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
-    fi
-  done
-  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
-BEGIN {RS=" "; FS="/|\n";} {
-  lt_foo="";
-  lt_count=0;
-  for (lt_i = NF; lt_i > 0; lt_i--) {
-    if ($lt_i != "" && $lt_i != ".") {
-      if ($lt_i == "..") {
-        lt_count++;
-      } else {
-        if (lt_count == 0) {
-          lt_foo="/" $lt_i lt_foo;
-        } else {
-          lt_count--;
-        }
-      }
-    }
-  }
-  if (lt_foo != "") { lt_freq[lt_foo]++; }
-  if (lt_freq[lt_foo] == 1) { print lt_foo; }
-}'`
-  # AWK program above erroneously prepends '/' to C:/dos/paths
-  # for these hosts.
-  case $host_os in
-    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
-      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
-  esac
-  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
-else
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi
-library_names_spec=
-libname_spec='lib$name'
-soname_spec=
-shrext_cmds=".so"
-postinstall_cmds=
-postuninstall_cmds=
-finish_cmds=
-finish_eval=
-shlibpath_var=
-shlibpath_overrides_runpath=unknown
-version_type=none
-dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-need_lib_prefix=unknown
-hardcode_into_libs=no
-
-# when you set need_version to no, make sure it does not cause -set_version
-# flags to be left without arguments
-need_version=unknown
-
-case $host_os in
-aix3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
-  shlibpath_var=LIBPATH
-
-  # AIX 3 has no versioning support, so we append a major version to the name.
-  soname_spec='${libname}${release}${shared_ext}$major'
-  ;;
-
-aix[4-9]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  hardcode_into_libs=yes
-  if test "$host_cpu" = ia64; then
-    # AIX 5 supports IA64
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
-    shlibpath_var=LD_LIBRARY_PATH
-  else
-    # With GCC up to 2.95.x, collect2 would create an import file
-    # for dependence libraries.  The import file would start with
-    # the line `#! .'.  This would cause the generated library to
-    # depend on `.', always an invalid library.  This was fixed in
-    # development snapshots of GCC prior to 3.0.
-    case $host_os in
-      aix4 | aix4.[01] | aix4.[01].*)
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
-          echo ' yes '
-          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
-       :
-      else
-       can_build_shared=no
-      fi
-      ;;
-    esac
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
-    # soname into executable. Probably we can add versioning support to
-    # collect2, so additional links can be useful in future.
-    if test "$aix_use_runtimelinking" = yes; then
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
-      # instead of lib<name>.a to let people know that these are not
-      # typical AIX shared libraries.
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    else
-      # We preserve .a as extension for shared libraries through AIX4.2
-      # and later when we are not doing run time linking.
-      library_names_spec='${libname}${release}.a $libname.a'
-      soname_spec='${libname}${release}${shared_ext}$major'
-    fi
-    shlibpath_var=LIBPATH
-  fi
-  ;;
-
-amigaos*)
-  case $host_cpu in
-  powerpc)
-    # Since July 2007 AmigaOS4 officially supports .so libraries.
-    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    ;;
-  m68k)
-    library_names_spec='$libname.ixlibrary $libname.a'
-    # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
-    ;;
-  esac
-  ;;
-
-beos*)
-  library_names_spec='${libname}${shared_ext}'
-  dynamic_linker="$host_os ld.so"
-  shlibpath_var=LIBRARY_PATH
-  ;;
-
-bsdi[45]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
-  # the default ld.so.conf also contains /usr/contrib/lib and
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
-  # libtool to hard-code these into programs
-  ;;
-
-cygwin* | mingw* | pw32* | cegcc*)
-  version_type=windows
-  shrext_cmds=".dll"
-  need_version=no
-  need_lib_prefix=no
-
-  case $GCC,$cc_basename in
-  yes,*)
-    # gcc
-    library_names_spec='$libname.dll.a'
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
-    postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
-      dldir=$destdir/`dirname \$dlpath`~
-      test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname~
-      chmod a+x \$dldir/$dlname~
-      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
-        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
-      fi'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
-      dlpath=$dir/\$dldll~
-       $RM \$dlpath'
-    shlibpath_overrides_runpath=yes
-
-    case $host_os in
-    cygwin*)
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-
-      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
-      ;;
-    mingw* | cegcc*)
-      # MinGW DLLs use traditional 'lib' prefix
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      ;;
-    pw32*)
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-      ;;
-    esac
-    dynamic_linker='Win32 ld.exe'
-    ;;
-
-  *,cl*)
-    # Native MSVC
-    libname_spec='$name'
-    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
-    library_names_spec='${libname}.dll.lib'
-
-    case $build_os in
-    mingw*)
-      sys_lib_search_path_spec=
-      lt_save_ifs=$IFS
-      IFS=';'
-      for lt_path in $LIB
-      do
-        IFS=$lt_save_ifs
-        # Let DOS variable expansion print the short 8.3 style file name.
-        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
-        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
-      done
-      IFS=$lt_save_ifs
-      # Convert to MSYS style.
-      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
-      ;;
-    cygwin*)
-      # Convert to unix form, then to dos form, then back to unix form
-      # but this time dos style (no spaces!) so that the unix form looks
-      # like /cygdrive/c/PROGRA~1:/cygdr...
-      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
-      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
-      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
-      ;;
-    *)
-      sys_lib_search_path_spec="$LIB"
-      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
-        # It is most probably a Windows format PATH.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
-      fi
-      # FIXME: find the short name or the path components, as spaces are
-      # common. (e.g. "Program Files" -> "PROGRA~1")
-      ;;
-    esac
-
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
-    postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
-      dldir=$destdir/`dirname \$dlpath`~
-      test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
-      dlpath=$dir/\$dldll~
-       $RM \$dlpath'
-    shlibpath_overrides_runpath=yes
-    dynamic_linker='Win32 link.exe'
-    ;;
-
-  *)
-    # Assume MSVC wrapper
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
-    dynamic_linker='Win32 ld.exe'
-    ;;
-  esac
-  # FIXME: first we should search . and the directory the executable is in
-  shlibpath_var=PATH
-  ;;
-
-darwin* | rhapsody*)
-  dynamic_linker="$host_os dyld"
-  version_type=darwin
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
-  soname_spec='${libname}${release}${major}$shared_ext'
-  shlibpath_overrides_runpath=yes
-  shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
-
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
-  ;;
-
-dgux*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  ;;
-
-freebsd* | dragonfly*)
-  # DragonFly does not have aout.  When/if they implement a new
-  # versioning mechanism, adjust this.
-  if test -x /usr/bin/objformat; then
-    objformat=`/usr/bin/objformat`
-  else
-    case $host_os in
-    freebsd[23].*) objformat=aout ;;
-    *) objformat=elf ;;
-    esac
-  fi
-  version_type=freebsd-$objformat
-  case $version_type in
-    freebsd-elf*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-      need_version=no
-      need_lib_prefix=no
-      ;;
-    freebsd-*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
-      need_version=yes
-      ;;
-  esac
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_os in
-  freebsd2.*)
-    shlibpath_overrides_runpath=yes
-    ;;
-  freebsd3.[01]* | freebsdelf3.[01]*)
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
-    shlibpath_overrides_runpath=no
-    hardcode_into_libs=yes
-    ;;
-  *) # from 4.6 on, and DragonFly
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  esac
-  ;;
-
-gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-haiku*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  dynamic_linker="$host_os runtime_loader"
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
-  hardcode_into_libs=yes
-  ;;
-
-hpux9* | hpux10* | hpux11*)
-  # Give a soname corresponding to the major version so that dld.sl refuses to
-  # link against other versions.
-  version_type=sunos
-  need_lib_prefix=no
-  need_version=no
-  case $host_cpu in
-  ia64*)
-    shrext_cmds='.so'
-    hardcode_into_libs=yes
-    dynamic_linker="$host_os dld.so"
-    shlibpath_var=LD_LIBRARY_PATH
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    if test "X$HPUX_IA64_MODE" = X32; then
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
-    else
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
-    fi
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
-    ;;
-  hppa*64*)
-    shrext_cmds='.sl'
-    hardcode_into_libs=yes
-    dynamic_linker="$host_os dld.sl"
-    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
-    ;;
-  *)
-    shrext_cmds='.sl'
-    dynamic_linker="$host_os dld.sl"
-    shlibpath_var=SHLIB_PATH
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    ;;
-  esac
-  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
-  postinstall_cmds='chmod 555 $lib'
-  # or fails outright, so override atomically:
-  install_override_mode=555
-  ;;
-
-interix[3-9]*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-irix5* | irix6* | nonstopux*)
-  case $host_os in
-    nonstopux*) version_type=nonstopux ;;
-    *)
-       if test "$lt_cv_prog_gnu_ld" = yes; then
-               version_type=linux # correct to gnu/linux during the next big refactor
-       else
-               version_type=irix
-       fi ;;
-  esac
-  need_lib_prefix=no
-  need_version=no
-  soname_spec='${libname}${release}${shared_ext}$major'
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
-  case $host_os in
-  irix5* | nonstopux*)
-    libsuff= shlibsuff=
-    ;;
-  *)
-    case $LD in # libtool.m4 will add one of these switches to LD
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
-      libsuff= shlibsuff= libmagic=32-bit;;
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
-    *) libsuff= shlibsuff= libmagic=never-match;;
-    esac
-    ;;
-  esac
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
-  shlibpath_overrides_runpath=no
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
-  hardcode_into_libs=yes
-  ;;
-
-# No shared lib support for Linux oldld, aout, or coff.
-linux*oldld* | linux*aout* | linux*coff*)
-  dynamic_linker=no
-  ;;
-
-# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-
-  # Some binutils ld are patched to set DT_RUNPATH
-  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  lt_cv_shlibpath_overrides_runpath=no
-    save_LDFLAGS=$LDFLAGS
-    save_libdir=$libdir
-    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
-        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
-  lt_cv_shlibpath_overrides_runpath=yes
-fi
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    LDFLAGS=$save_LDFLAGS
-    libdir=$save_libdir
-
-fi
-
-  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
-
-  # This implies no fast_install, which is unacceptable.
-  # Some rework will be needed to allow for fast_install
-  # before this can be enabled.
-  hardcode_into_libs=yes
-
-  # Append ld.so.conf contents to the search path
-  if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
-  fi
-
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
-  # powerpc, because MkLinux only supported shared libraries with the
-  # GNU dynamic linker.  Since this was broken with cross compilers,
-  # most powerpc-linux boxes support dynamic linking these days and
-  # people can always --disable-shared, the test was removed, and we
-  # assume the GNU/Linux dynamic linker is in use.
-  dynamic_linker='GNU/Linux ld.so'
-  ;;
-
-netbsd*)
-  version_type=sunos
-  need_lib_prefix=no
-  need_version=no
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-    dynamic_linker='NetBSD (a.out) ld.so'
-  else
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    dynamic_linker='NetBSD ld.elf_so'
-  fi
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  ;;
-
-newsos6)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  ;;
-
-*nto* | *qnx*)
-  version_type=qnx
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='ldqnx.so'
-  ;;
-
-openbsd*)
-  version_type=sunos
-  sys_lib_dlsearch_path_spec="/usr/lib"
-  need_lib_prefix=no
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
-  case $host_os in
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
-    *)                         need_version=no  ;;
-  esac
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    case $host_os in
-      openbsd2.[89] | openbsd2.[89].*)
-       shlibpath_overrides_runpath=no
-       ;;
-      *)
-       shlibpath_overrides_runpath=yes
-       ;;
-      esac
-  else
-    shlibpath_overrides_runpath=yes
-  fi
-  ;;
-
-os2*)
-  libname_spec='$name'
-  shrext_cmds=".dll"
-  need_lib_prefix=no
-  library_names_spec='$libname${shared_ext} $libname.a'
-  dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
-  ;;
-
-osf3* | osf4* | osf5*)
-  version_type=osf
-  need_lib_prefix=no
-  need_version=no
-  soname_spec='${libname}${release}${shared_ext}$major'
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
-  ;;
-
-rdos*)
-  dynamic_linker=no
-  ;;
-
-solaris*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  # ldd complains unless libraries are executable
-  postinstall_cmds='chmod +x $lib'
-  ;;
-
-sunos4*)
-  version_type=sunos
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  if test "$with_gnu_ld" = yes; then
-    need_lib_prefix=no
-  fi
-  need_version=yes
-  ;;
-
-sysv4 | sysv4.3*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_vendor in
-    sni)
-      shlibpath_overrides_runpath=no
-      need_lib_prefix=no
-      runpath_var=LD_RUN_PATH
-      ;;
-    siemens)
-      need_lib_prefix=no
-      ;;
-    motorola)
-      need_lib_prefix=no
-      need_version=no
-      shlibpath_overrides_runpath=no
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
-      ;;
-  esac
-  ;;
-
-sysv4*MP*)
-  if test -d /usr/nec ;then
-    version_type=linux # correct to gnu/linux during the next big refactor
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
-    soname_spec='$libname${shared_ext}.$major'
-    shlibpath_var=LD_LIBRARY_PATH
-  fi
-  ;;
-
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  if test "$with_gnu_ld" = yes; then
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
-  else
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
-    case $host_os in
-      sco3.2v5*)
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
-       ;;
-    esac
-  fi
-  sys_lib_dlsearch_path_spec='/usr/lib'
-  ;;
-
-tpf*)
-  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-uts4*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  ;;
-
-*)
-  dynamic_linker=no
-  ;;
-esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
-$as_echo "$dynamic_linker" >&6; }
-test "$dynamic_linker" = no && can_build_shared=no
-
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
-if test "$GCC" = yes; then
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
-fi
-
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
-fi
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
-hardcode_action=
-if test -n "$hardcode_libdir_flag_spec" ||
-   test -n "$runpath_var" ||
-   test "X$hardcode_automatic" = "Xyes" ; then
-
-  # We can hardcode non-existent directories.
-  if test "$hardcode_direct" != no &&
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
-     # have to relink, otherwise we might link with an installed library
-     # when we should be linking with a yet-to-be-installed one
-     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
-     test "$hardcode_minus_L" != no; then
-    # Linking always hardcodes the temporary library directory.
-    hardcode_action=relink
-  else
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
-    hardcode_action=immediate
-  fi
-else
-  # We cannot hardcode anything, or else we can only hardcode existing
-  # directories.
-  hardcode_action=unsupported
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
-$as_echo "$hardcode_action" >&6; }
-
-if test "$hardcode_action" = relink ||
-   test "$inherit_rpath" = yes; then
-  # Fast installation is not supported
-  enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
-     test "$enable_shared" = no; then
-  # Fast installation is not necessary
-  enable_fast_install=needless
-fi
-
-
-
-
-
-
-  if test "x$enable_dlopen" != xyes; then
-  enable_dlopen=unknown
-  enable_dlopen_self=unknown
-  enable_dlopen_self_static=unknown
-else
-  lt_cv_dlopen=no
-  lt_cv_dlopen_libs=
-
-  case $host_os in
-  beos*)
-    lt_cv_dlopen="load_add_on"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-    ;;
-
-  mingw* | pw32* | cegcc*)
-    lt_cv_dlopen="LoadLibrary"
-    lt_cv_dlopen_libs=
-    ;;
-
-  cygwin*)
-    lt_cv_dlopen="dlopen"
-    lt_cv_dlopen_libs=
-    ;;
-
-  darwin*)
-  # if libdl is installed we need to link against it
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen ();
-int
-main ()
-{
-return dlopen ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dl_dlopen=yes
-else
-  ac_cv_lib_dl_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
-else
-
-    lt_cv_dlopen="dyld"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-
-fi
-
-    ;;
-
-  *)
-    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = xyes; then :
-  lt_cv_dlopen="shl_load"
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
-$as_echo_n "checking for shl_load in -ldld... " >&6; }
-if ${ac_cv_lib_dld_shl_load+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldld  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char shl_load ();
-int
-main ()
-{
-return shl_load ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dld_shl_load=yes
-else
-  ac_cv_lib_dld_shl_load=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
-$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
-if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
-  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
-else
-  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = xyes; then :
-  lt_cv_dlopen="dlopen"
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen ();
-int
-main ()
-{
-return dlopen ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dl_dlopen=yes
-else
-  ac_cv_lib_dl_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
-$as_echo_n "checking for dlopen in -lsvld... " >&6; }
-if ${ac_cv_lib_svld_dlopen+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsvld  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen ();
-int
-main ()
-{
-return dlopen ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_svld_dlopen=yes
-else
-  ac_cv_lib_svld_dlopen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
-$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
-if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
-$as_echo_n "checking for dld_link in -ldld... " >&6; }
-if ${ac_cv_lib_dld_dld_link+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldld  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dld_link ();
-int
-main ()
-{
-return dld_link ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dld_dld_link=yes
-else
-  ac_cv_lib_dld_dld_link=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
-$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
-if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
-fi
-
-
-fi
-
-
-fi
-
-
-fi
-
-
-fi
-
-
-fi
-
-    ;;
-  esac
-
-  if test "x$lt_cv_dlopen" != xno; then
-    enable_dlopen=yes
-  else
-    enable_dlopen=no
-  fi
-
-  case $lt_cv_dlopen in
-  dlopen)
-    save_CPPFLAGS="$CPPFLAGS"
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
-
-    save_LDFLAGS="$LDFLAGS"
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
-
-    save_LIBS="$LIBS"
-    LIBS="$lt_cv_dlopen_libs $LIBS"
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
-$as_echo_n "checking whether a program can dlopen itself... " >&6; }
-if ${lt_cv_dlopen_self+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-         if test "$cross_compiling" = yes; then :
-  lt_cv_dlopen_self=cross
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
-#line $LINENO "configure"
-#include "confdefs.h"
-
-#if HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
-
-#include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL          RTLD_GLOBAL
-#else
-#  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL                DL_GLOBAL
-#  else
-#    define LT_DLGLOBAL                0
-#  endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
-#  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW     DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW     0
-#        endif
-#      endif
-#    endif
-#  endif
-#endif
-
-/* When -fvisbility=hidden is used, assume the code has been annotated
-   correspondingly for the symbols needed.  */
-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
-int fnord () __attribute__((visibility("default")));
-#endif
-
-int fnord () { return 42; }
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else
-        {
-         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
-          else puts (dlerror ());
-       }
-      /* dlclose (self); */
-    }
-  else
-    puts (dlerror ());
-
-  return status;
-}
-_LT_EOF
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
-    (./conftest; exit; ) >&5 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
-      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
-      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
-    esac
-  else :
-    # compilation failed
-    lt_cv_dlopen_self=no
-  fi
-fi
-rm -fr conftest*
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
-$as_echo "$lt_cv_dlopen_self" >&6; }
-
-    if test "x$lt_cv_dlopen_self" = xyes; then
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
-$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
-if ${lt_cv_dlopen_self_static+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-         if test "$cross_compiling" = yes; then :
-  lt_cv_dlopen_self_static=cross
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
-#line $LINENO "configure"
-#include "confdefs.h"
-
-#if HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
-
-#include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL          RTLD_GLOBAL
-#else
-#  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL                DL_GLOBAL
-#  else
-#    define LT_DLGLOBAL                0
-#  endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
-#  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW     DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW     0
-#        endif
-#      endif
-#    endif
-#  endif
-#endif
-
-/* When -fvisbility=hidden is used, assume the code has been annotated
-   correspondingly for the symbols needed.  */
-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
-int fnord () __attribute__((visibility("default")));
-#endif
-
-int fnord () { return 42; }
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else
-        {
-         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
-          else puts (dlerror ());
-       }
-      /* dlclose (self); */
-    }
-  else
-    puts (dlerror ());
-
-  return status;
-}
-_LT_EOF
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-  (eval $ac_link) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
-    (./conftest; exit; ) >&5 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
-      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
-      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
-    esac
-  else :
-    # compilation failed
-    lt_cv_dlopen_self_static=no
-  fi
-fi
-rm -fr conftest*
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
-$as_echo "$lt_cv_dlopen_self_static" >&6; }
-    fi
-
-    CPPFLAGS="$save_CPPFLAGS"
-    LDFLAGS="$save_LDFLAGS"
-    LIBS="$save_LIBS"
-    ;;
-  esac
-
-  case $lt_cv_dlopen_self in
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
-  *) enable_dlopen_self=unknown ;;
-  esac
-
-  case $lt_cv_dlopen_self_static in
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
-  *) enable_dlopen_self_static=unknown ;;
-  esac
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-striplib=
-old_striplib=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
-$as_echo_n "checking whether stripping libraries is possible... " >&6; }
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
-# FIXME - insert some real tests, host_os isn't really good enough
-  case $host_os in
-  darwin*)
-    if test -n "$STRIP" ; then
-      striplib="$STRIP -x"
-      old_striplib="$STRIP -S"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-    else
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-    fi
-    ;;
-  *)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-    ;;
-  esac
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-  # Report which library types will actually be built
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
-$as_echo "$can_build_shared" >&6; }
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
-$as_echo_n "checking whether to build shared libraries... " >&6; }
-  test "$can_build_shared" = "no" && enable_shared=no
-
-  # On AIX, shared libraries and static libraries use the same namespace, and
-  # are all built from PIC.
-  case $host_os in
-  aix3*)
-    test "$enable_shared" = yes && enable_static=no
-    if test -n "$RANLIB"; then
-      archive_cmds="$archive_cmds~\$RANLIB \$lib"
-      postinstall_cmds='$RANLIB $lib'
-    fi
-    ;;
-
-  aix[4-9]*)
-    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-      test "$enable_shared" = yes && enable_static=no
-    fi
-    ;;
-  esac
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
-$as_echo "$enable_shared" >&6; }
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
-$as_echo_n "checking whether to build static libraries... " >&6; }
-  # Make sure either enable_shared or enable_static is yes.
-  test "$enable_shared" = yes || enable_static=yes
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
-$as_echo "$enable_static" >&6; }
-
-
-
-
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-CC="$lt_save_CC"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-        ac_config_commands="$ac_config_commands libtool"
-
-
-
-
-# Only expand once:
-
-
-
-# Require xorg-macros minimum of 1.15 for fop minimum version
-
-
-
-
-
-
-
-
-
-
-
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
-$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
-if ${ac_cv_prog_cc_c99+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_prog_cc_c99=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdbool.h>
-#include <stdlib.h>
-#include <wchar.h>
-#include <stdio.h>
-
-// Check varargs macros.  These examples are taken from C99 6.10.3.5.
-#define debug(...) fprintf (stderr, __VA_ARGS__)
-#define showlist(...) puts (#__VA_ARGS__)
-#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
-static void
-test_varargs_macros (void)
-{
-  int x = 1234;
-  int y = 5678;
-  debug ("Flag");
-  debug ("X = %d\n", x);
-  showlist (The first, second, and third items.);
-  report (x>y, "x is %d but y is %d", x, y);
-}
-
-// Check long long types.
-#define BIG64 18446744073709551615ull
-#define BIG32 4294967295ul
-#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
-#if !BIG_OK
-  your preprocessor is broken;
-#endif
-#if BIG_OK
-#else
-  your preprocessor is broken;
-#endif
-static long long int bignum = -9223372036854775807LL;
-static unsigned long long int ubignum = BIG64;
-
-struct incomplete_array
-{
-  int datasize;
-  double data[];
-};
-
-struct named_init {
-  int number;
-  const wchar_t *name;
-  double average;
-};
-
-typedef const char *ccp;
-
-static inline int
-test_restrict (ccp restrict text)
-{
-  // See if C++-style comments work.
-  // Iterate through items via the restricted pointer.
-  // Also check for declarations in for loops.
-  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
-    continue;
-  return 0;
-}
-
-// Check varargs and va_copy.
-static void
-test_varargs (const char *format, ...)
-{
-  va_list args;
-  va_start (args, format);
-  va_list args_copy;
-  va_copy (args_copy, args);
-
-  const char *str;
-  int number;
-  float fnumber;
-
-  while (*format)
-    {
-      switch (*format++)
-       {
-       case 's': // string
-         str = va_arg (args_copy, const char *);
-         break;
-       case 'd': // int
-         number = va_arg (args_copy, int);
-         break;
-       case 'f': // float
-         fnumber = va_arg (args_copy, double);
-         break;
-       default:
-         break;
-       }
-    }
-  va_end (args_copy);
-  va_end (args);
-}
-
-int
-main ()
-{
-
-  // Check bool.
-  _Bool success = false;
-
-  // Check restrict.
-  if (test_restrict ("String literal") == 0)
-    success = true;
-  char *restrict newvar = "Another string";
-
-  // Check varargs.
-  test_varargs ("s, d' f .", "string", 65, 34.234);
-  test_varargs_macros ();
-
-  // Check flexible array members.
-  struct incomplete_array *ia =
-    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
-  ia->datasize = 10;
-  for (int i = 0; i < ia->datasize; ++i)
-    ia->data[i] = i * 1.234;
-
-  // Check named initializers.
-  struct named_init ni = {
-    .number = 34,
-    .name = L"Test wide string",
-    .average = 543.34343,
-  };
-
-  ni.number = 58;
-
-  int dynamic_array[ni.number];
-  dynamic_array[ni.number - 1] = 543;
-
-  // work around unused variable warnings
-  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
-         || dynamic_array[ni.number - 1] != 543);
-
-  ;
-  return 0;
-}
-_ACEOF
-for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
-do
-  CC="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_prog_cc_c99=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
-  test "x$ac_cv_prog_cc_c99" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c99" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC="$CC $ac_cv_prog_cc_c99"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
-$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c99" != xno; then :
-
-fi
-
-
-
-
-
-
-ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
-if test "x$ac_cv_have_decl___clang__" = xyes; then :
-  CLANGCC="yes"
-else
-  CLANGCC="no"
-fi
-
-ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
-if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
-  INTELCC="yes"
-else
-  INTELCC="no"
-fi
-
-ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
-if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
-  SUNCC="yes"
-else
-  SUNCC="no"
-fi
-
-
-
-
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
-       if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
-$as_echo "$PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_path_PKG_CONFIG"; then
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
-  # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $ac_pt_PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
-if test -n "$ac_pt_PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_pt_PKG_CONFIG" = x; then
-    PKG_CONFIG=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
-  fi
-else
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
-fi
-
-fi
-if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=0.9.0
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       else
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-               PKG_CONFIG=""
-       fi
-
-fi
-
-
-
-
-
-# Check whether --enable-selective-werror was given.
-if test "${enable_selective_werror+set}" = set; then :
-  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
-else
-  SELECTIVE_WERROR=yes
-fi
-
-
-
-
-
-# -v is too short to test reliably with XORG_TESTSET_CFLAG
-if test "x$SUNCC" = "xyes"; then
-    BASE_CFLAGS="-v"
-else
-    BASE_CFLAGS=""
-fi
-
-# This chunk of warnings were those that existed in the legacy CWARNFLAGS
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wall"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
-$as_echo_n "checking if $CC supports -Wall... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wall
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wall"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wpointer-arith"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
-$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wpointer_arith
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmissing-declarations"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
-$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmissing_declarations
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wformat=2"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
-$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
-                       found="yes"
-               fi
-       fi
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wformat"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
-$as_echo_n "checking if $CC supports -Wformat... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wformat
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wformat"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wstrict-prototypes"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
-$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wstrict_prototypes
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmissing-prototypes"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
-$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmissing_prototypes
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wnested-externs"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
-$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wnested_externs
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wbad-function-cast"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
-$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wbad_function_cast
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wold-style-definition"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
-$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wold_style_definition
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wdeclaration-after-statement"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
-$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-# This chunk adds additional warnings that could catch undesired effects.
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wunused"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
-$as_echo_n "checking if $CC supports -Wunused... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wunused
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wunused"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wuninitialized"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
-$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wuninitialized
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wshadow"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
-$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wshadow
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wcast-qual"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
-$as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wcast_qual
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmissing-noreturn"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
-$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmissing_noreturn
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmissing-format-attribute"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
-$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wredundant-decls"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
-$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wredundant_decls
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
-                       found="yes"
-               fi
-       fi
-
-
-
-# These are currently disabled because they are noisy.  They will be enabled
-# in the future once the codebase is sufficiently modernized to silence
-# them.  For now, I don't want them to drown out the other warnings.
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
-
-# Turn some warnings into errors, so we don't accidently get successful builds
-# when there are problems that should be fixed.
-
-if test "x$SELECTIVE_WERROR" = "xyes" ; then
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=implicit"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
-$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
-                       found="yes"
-               fi
-       fi
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=nonnull"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
-$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=init-self"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
-$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=main"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
-$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=missing-braces"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
-$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=sequence-point"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
-$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=return-type"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
-$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
-                       found="yes"
-               fi
-       fi
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=trigraphs"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
-$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=array-bounds"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
-$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=write-strings"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
-$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=address"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
-$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
-$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
-                       found="yes"
-               fi
-       fi
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
-$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
-                       found="yes"
-               fi
-       fi
-
- # Also -errwarn=E_BAD_PTR_INT_COMBINATION
-else
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
-$as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wimplicit"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
-$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wimplicit
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wnonnull"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
-$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wnonnull
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Winit-self"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
-$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
-               cacheid=xorg_cv_cc_flag__Winit_self
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmain"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
-$as_echo_n "checking if $CC supports -Wmain... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmain
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmain"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wmissing-braces"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
-$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wmissing_braces
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wsequence-point"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
-$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wsequence_point
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wreturn-type"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
-$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wreturn_type
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wtrigraphs"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
-$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wtrigraphs
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Warray-bounds"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
-$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
-               cacheid=xorg_cv_cc_flag__Warray_bounds
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wwrite-strings"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
-$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wwrite_strings
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Waddress"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
-$as_echo_n "checking if $CC supports -Waddress... " >&6; }
-               cacheid=xorg_cv_cc_flag__Waddress
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Waddress"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wint-to-pointer-cast"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
-$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Wpointer-to-int-cast"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
-$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
-               cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
-                       found="yes"
-               fi
-       fi
-
-
-fi
-
-
-
-
-
-
-
-               CWARNFLAGS="$BASE_CFLAGS"
-               if  test "x$GCC" = xyes ; then
-                   CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
-               fi
-
-
-
-
-
-
-
-
-# Check whether --enable-strict-compilation was given.
-if test "${enable_strict_compilation+set}" = set; then :
-  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
-else
-  STRICT_COMPILE=no
-fi
-
-
-
-
-
-
-STRICT_CFLAGS=""
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -pedantic"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
-$as_echo_n "checking if $CC supports -pedantic... " >&6; }
-               cacheid=xorg_cv_cc_flag__pedantic
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
-                       found="yes"
-               fi
-       fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
-$as_echo_n "checking if $CC supports -Werror... " >&6; }
-               cacheid=xorg_cv_cc_flag__Werror
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
-                       found="yes"
-               fi
-       fi
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -errwarn"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
-$as_echo_n "checking if $CC supports -errwarn... " >&6; }
-               cacheid=xorg_cv_cc_flag__errwarn
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
-                       found="yes"
-               fi
-       fi
-
-
-
-# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
-# activate it with -Werror, so we add it here explicitly.
-
-
-
-
-
-
-
-
-
-
-
-
-
-xorg_testset_save_CFLAGS="$CFLAGS"
-
-if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
-       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unknown_warning_option=yes
-else
-  xorg_cv_cc_flag_unknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
-       xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
-       if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
-               CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-       fi
-       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  xorg_cv_cc_flag_unused_command_line_argument=yes
-else
-  xorg_cv_cc_flag_unused_command_line_argument=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
-       xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
-       CFLAGS="$xorg_testset_save_CFLAGS"
-fi
-
-found="no"
-
-       if test $found = "no" ; then
-               if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unknown-warning-option"
-               fi
-
-               if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
-                       CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
-               fi
-
-               CFLAGS="$CFLAGS -Werror=attributes"
-
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
-$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
-               cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
-               if eval \${$cacheid+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int i;
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  eval $cacheid=yes
-else
-  eval $cacheid=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-fi
-
-
-               CFLAGS="$xorg_testset_save_CFLAGS"
-
-               eval supported=\$$cacheid
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
-$as_echo "$supported" >&6; }
-               if test "$supported" = "yes" ; then
-                       STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
-                       found="yes"
-               fi
-       fi
-
-
-
-if test "x$STRICT_COMPILE" = "xyes"; then
-    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
-    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
-fi
-
-
-
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
-_ACEOF
-
-       PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
-       if test "x$PVM" = "x"; then
-               PVM="0"
-       fi
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION_MINOR $PVM
-_ACEOF
-
-       PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
-       if test "x$PVP" = "x"; then
-               PVP="0"
-       fi
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION_PATCHLEVEL $PVP
-_ACEOF
-
-
-
-CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
-mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
-|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
-echo 'git directory not found: installing possibly empty changelog.' >&2)"
-
-
-
-
-macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
-INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
-mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
-|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
-echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
-
-
-
-
-
-
-if test x$APP_MAN_SUFFIX = x    ; then
-    APP_MAN_SUFFIX=1
-fi
-if test x$APP_MAN_DIR = x    ; then
-    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
-fi
-
-if test x$LIB_MAN_SUFFIX = x    ; then
-    LIB_MAN_SUFFIX=3
-fi
-if test x$LIB_MAN_DIR = x    ; then
-    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
-fi
-
-if test x$FILE_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       FILE_MAN_SUFFIX=4  ;;
-       *)              FILE_MAN_SUFFIX=5  ;;
-    esac
-fi
-if test x$FILE_MAN_DIR = x    ; then
-    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
-fi
-
-if test x$MISC_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       MISC_MAN_SUFFIX=5  ;;
-       *)              MISC_MAN_SUFFIX=7  ;;
-    esac
-fi
-if test x$MISC_MAN_DIR = x    ; then
-    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
-fi
-
-if test x$DRIVER_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       DRIVER_MAN_SUFFIX=7  ;;
-       *)              DRIVER_MAN_SUFFIX=4  ;;
-    esac
-fi
-if test x$DRIVER_MAN_DIR = x    ; then
-    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
-fi
-
-if test x$ADMIN_MAN_SUFFIX = x    ; then
-    case $host_os in
-       solaris*)       ADMIN_MAN_SUFFIX=1m ;;
-       *)              ADMIN_MAN_SUFFIX=8  ;;
-    esac
-fi
-if test x$ADMIN_MAN_DIR = x    ; then
-    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-XORG_MAN_PAGE="X Version 11"
-
-MAN_SUBSTS="\
-       -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
-       -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
-       -e 's|__xservername__|Xorg|g' \
-       -e 's|__xconfigfile__|xorg.conf|g' \
-       -e 's|__projectroot__|\$(prefix)|g' \
-       -e 's|__apploaddir__|\$(appdefaultdir)|g' \
-       -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
-       -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
-       -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
-       -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
-       -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
-       -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
-
-
-
-# Check whether --enable-silent-rules was given.
-if test "${enable_silent_rules+set}" = set; then :
-  enableval=$enable_silent_rules;
-fi
-
-case $enable_silent_rules in
-yes) AM_DEFAULT_VERBOSITY=0;;
-no)  AM_DEFAULT_VERBOSITY=1;;
-*)   AM_DEFAULT_VERBOSITY=0;;
-esac
-AM_BACKSLASH='\'
-
-
-
-
-# Check whether --enable-specs was given.
-if test "${enable_specs+set}" = set; then :
-  enableval=$enable_specs; build_specs=$enableval
-else
-  build_specs=yes
-fi
-
-
- if test x$build_specs = xyes; then
-  ENABLE_SPECS_TRUE=
-  ENABLE_SPECS_FALSE='#'
-else
-  ENABLE_SPECS_TRUE='#'
-  ENABLE_SPECS_FALSE=
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
-$as_echo_n "checking whether to build functional specifications... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
-$as_echo "$build_specs" >&6; }
-
-
-
-
-
-# Check whether --with-xmlto was given.
-if test "${with_xmlto+set}" = set; then :
-  withval=$with_xmlto; use_xmlto=$withval
-else
-  use_xmlto=auto
-fi
-
-
-
-if test "x$use_xmlto" = x"auto"; then
-   # Extract the first word of "xmlto", so it can be a program name with args.
-set dummy xmlto; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_XMLTO+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XMLTO in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-XMLTO=$ac_cv_path_XMLTO
-if test -n "$XMLTO"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
-$as_echo "$XMLTO" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$XMLTO" = "x"; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
-$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
-       have_xmlto=no
-   else
-        have_xmlto=yes
-   fi
-elif test "x$use_xmlto" = x"yes" ; then
-   # Extract the first word of "xmlto", so it can be a program name with args.
-set dummy xmlto; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_XMLTO+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XMLTO in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-XMLTO=$ac_cv_path_XMLTO
-if test -n "$XMLTO"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
-$as_echo "$XMLTO" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$XMLTO" = "x"; then
-        as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
-   fi
-   have_xmlto=yes
-elif test "x$use_xmlto" = x"no" ; then
-   if test "x$XMLTO" != "x"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
-$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
-   fi
-   have_xmlto=no
-else
-   as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
-fi
-
-# Test for a minimum version of xmlto, if provided.
-if test "$have_xmlto" = yes; then
-    # scrape the xmlto version
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
-$as_echo_n "checking the xmlto version... " >&6; }
-    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
-$as_echo "$xmlto_version" >&6; }
-    as_arg_v1=$xmlto_version
-as_arg_v2=0.0.22
-awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
-case $? in #(
-  1) :
-    if test "x$use_xmlto" = xauto; then
-            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
-$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
-            have_xmlto=no
-        else
-            as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
-        fi ;; #(
-  0) :
-     ;; #(
-  2) :
-     ;; #(
-  *) :
-     ;;
-esac
-fi
-
-# Test for the ability of xmlto to generate a text target
-have_xmlto_text=no
-cat > conftest.xml << "EOF"
-EOF
-if test "$have_xmlto" = yes; then :
-  if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
-  have_xmlto_text=yes
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
-$as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
-fi
-fi
-rm -f conftest.xml
- if test $have_xmlto_text = yes; then
-  HAVE_XMLTO_TEXT_TRUE=
-  HAVE_XMLTO_TEXT_FALSE='#'
-else
-  HAVE_XMLTO_TEXT_TRUE='#'
-  HAVE_XMLTO_TEXT_FALSE=
-fi
-
- if test "$have_xmlto" = yes; then
-  HAVE_XMLTO_TRUE=
-  HAVE_XMLTO_FALSE='#'
-else
-  HAVE_XMLTO_TRUE='#'
-  HAVE_XMLTO_FALSE=
-fi
-
-
-
-
-
-
-# Check whether --with-fop was given.
-if test "${with_fop+set}" = set; then :
-  withval=$with_fop; use_fop=$withval
-else
-  use_fop=no
-fi
-
-
-
-if test "x$use_fop" = x"auto"; then
-   # Extract the first word of "fop", so it can be a program name with args.
-set dummy fop; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_FOP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $FOP in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-FOP=$ac_cv_path_FOP
-if test -n "$FOP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
-$as_echo "$FOP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$FOP" = "x"; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
-$as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
-       have_fop=no
-   else
-        have_fop=yes
-   fi
-elif test "x$use_fop" = x"yes" ; then
-   # Extract the first word of "fop", so it can be a program name with args.
-set dummy fop; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_FOP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $FOP in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-FOP=$ac_cv_path_FOP
-if test -n "$FOP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
-$as_echo "$FOP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$FOP" = "x"; then
-        as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
-   fi
-   have_fop=yes
-elif test "x$use_fop" = x"no" ; then
-   if test "x$FOP" != "x"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
-$as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
-   fi
-   have_fop=no
-else
-   as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
-fi
-
-# Test for a minimum version of fop, if provided.
-
- if test "$have_fop" = yes; then
-  HAVE_FOP_TRUE=
-  HAVE_FOP_FALSE='#'
-else
-  HAVE_FOP_TRUE='#'
-  HAVE_FOP_FALSE=
-fi
-
-
-
-
-# Preserves the interface, should it be implemented later
-
-
-
-# Check whether --with-xsltproc was given.
-if test "${with_xsltproc+set}" = set; then :
-  withval=$with_xsltproc; use_xsltproc=$withval
-else
-  use_xsltproc=auto
-fi
-
-
-
-if test "x$use_xsltproc" = x"auto"; then
-   # Extract the first word of "xsltproc", so it can be a program name with args.
-set dummy xsltproc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_XSLTPROC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XSLTPROC in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-XSLTPROC=$ac_cv_path_XSLTPROC
-if test -n "$XSLTPROC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
-$as_echo "$XSLTPROC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$XSLTPROC" = "x"; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
-$as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
-       have_xsltproc=no
-   else
-        have_xsltproc=yes
-   fi
-elif test "x$use_xsltproc" = x"yes" ; then
-   # Extract the first word of "xsltproc", so it can be a program name with args.
-set dummy xsltproc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_XSLTPROC+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $XSLTPROC in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-XSLTPROC=$ac_cv_path_XSLTPROC
-if test -n "$XSLTPROC"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
-$as_echo "$XSLTPROC" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$XSLTPROC" = "x"; then
-        as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
-   fi
-   have_xsltproc=yes
-elif test "x$use_xsltproc" = x"no" ; then
-   if test "x$XSLTPROC" != "x"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
-$as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
-   fi
-   have_xsltproc=no
-else
-   as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
-fi
-
- if test "$have_xsltproc" = yes; then
-  HAVE_XSLTPROC_TRUE=
-  HAVE_XSLTPROC_FALSE='#'
-else
-  HAVE_XSLTPROC_TRUE='#'
-  HAVE_XSLTPROC_FALSE=
-fi
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
-$as_echo_n "checking for X.Org SGML entities >= 1.10... " >&6; }
-XORG_SGML_PATH=
-if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-  XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
-else
-  :
-
-fi
-
-# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
-# the path and the name of the doc stylesheet
-if test "x$XORG_SGML_PATH" != "x" ; then
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
-$as_echo "$XORG_SGML_PATH" >&6; }
-   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
-   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
-else
-   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-
- if test "x$XSL_STYLESHEET" != "x"; then
-  HAVE_STYLESHEETS_TRUE=
-  HAVE_STYLESHEETS_FALSE='#'
-else
-  HAVE_STYLESHEETS_TRUE='#'
-  HAVE_STYLESHEETS_FALSE=
-fi
-
-
-
-
-for ac_prog in cpp
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_RAWCPP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $RAWCPP in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
-for as_dir in $as_dummy
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-RAWCPP=$ac_cv_path_RAWCPP
-if test -n "$RAWCPP"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
-$as_echo "$RAWCPP" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$RAWCPP" && break
-done
-test -n "$RAWCPP" || RAWCPP="${CPP}"
-
-
-# Check for flag to avoid builtin definitions - assumes unix is predefined,
-# which is not the best choice for supporting other OS'es, but covers most
-# of the ones we need for now.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
-$as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-Does cpp redefine unix ?
-_ACEOF
-if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-else
-       if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-               RAWCPPFLAGS=-undef
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       # under Cygwin unix is still defined even with -undef
-       elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
-               RAWCPPFLAGS="-undef -ansi"
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
-$as_echo "yes, with -ansi" >&6; }
-       else
-               as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
-       fi
-fi
-rm -f conftest.$ac_ext
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
-$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-Does cpp preserve   "whitespace"?
-_ACEOF
-if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-else
-       if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
-               RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       else
-               as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
-       fi
-fi
-rm -f conftest.$ac_ext
-
-
-
-
-# Preserves the interface, should it be implemented later
-
-
-
-# Check whether --with-perl was given.
-if test "${with_perl+set}" = set; then :
-  withval=$with_perl; use_perl=$withval
-else
-  use_perl=auto
-fi
-
-
-
-if test "x$use_perl" = x"auto"; then
-   # Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PERL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PERL in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-PERL=$ac_cv_path_PERL
-if test -n "$PERL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
-$as_echo "$PERL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$PERL" = "x"; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
-$as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
-       have_perl=no
-   else
-        have_perl=yes
-   fi
-elif test "x$use_perl" = x"yes" ; then
-   # Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PERL+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PERL in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-PERL=$ac_cv_path_PERL
-if test -n "$PERL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
-$as_echo "$PERL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$PERL" = "x"; then
-        as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
-   fi
-   have_perl=yes
-elif test "x$use_perl" = x"no" ; then
-   if test "x$PERL" != "x"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
-$as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
-   fi
-   have_perl=no
-else
-   as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
-fi
-
- if test "$have_perl" = yes; then
-  HAVE_PERL_TRUE=
-  HAVE_PERL_FALSE='#'
-else
-  HAVE_PERL_TRUE='#'
-  HAVE_PERL_FALSE=
-fi
-
-
-
-# Required when PKG_CHECK_MODULES called within an if statement
-
-
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
-       if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
-$as_echo "$PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_path_PKG_CONFIG"; then
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
-  # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $ac_pt_PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
-if test -n "$ac_pt_PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_pt_PKG_CONFIG" = x; then
-    PKG_CONFIG=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
-  fi
-else
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
-fi
-
-fi
-if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=0.9.0
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       else
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-               PKG_CONFIG=""
-       fi
-
-fi
-
-if test x"$CC_FOR_BUILD" = x; then
-       if test x"$cross_compiling" = xyes; then
-              for ac_prog in gcc cc
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC_FOR_BUILD"; then
-  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_CC_FOR_BUILD="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-fi
-fi
-CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
-if test -n "$CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
-$as_echo "$CC_FOR_BUILD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$CC_FOR_BUILD" && break
-done
-
-       else
-              CC_FOR_BUILD="$CC"
-       fi
-fi
-
-
-if test x"$CPPFLAGS_FOR_BUILD" = x; then
-       if test ! x"$cross_compiling" = xyes; then
-               CPPFLAGS_FOR_BUILD=${CPPFLAGS}
-       fi
-fi
-
-
-if test x"$CFLAGS_FOR_BUILD" = x; then
-       if test ! x"$cross_compiling" = xyes; then
-               CFLAGS_FOR_BUILD=${CFLAGS}
-       fi
-fi
-
-
-if test x"$LDFLAGS_FOR_BUILD" = x; then
-       if test ! x"$cross_compiling" = xyes; then
-               LDFLAGS_FOR_BUILD=${LDFLAGS}
-       fi
-fi
-
-
-# Checks for pkg-config packages
-
-# Always required
-X11_REQUIRES='xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92'
-X11_EXTRA_DEPS="xcb >= 1.1.92"
-
-
-
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
-       if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
-$as_echo "$PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_path_PKG_CONFIG"; then
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
-  # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $ac_pt_PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
-if test -n "$ac_pt_PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-  if test "x$ac_pt_PKG_CONFIG" = x; then
-    PKG_CONFIG=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
-  fi
-else
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
-fi
-
-fi
-if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=0.9.0
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       else
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-               PKG_CONFIG=""
-       fi
-
-fi
-
-
-
-# Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
-# was not expanded, since libX11 with no transport types is rather useless.
-#
-# If you're seeing an error here, be sure you installed the lib/xtrans module
-# first and if it's not in the default location, that you set the ACLOCAL
-# environment variable to find it, such as:
-#      ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
-
-
-# Transport selection macro from xtrans.m4
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
-$as_echo_n "checking return type of signal handlers... " >&6; }
-if ${ac_cv_type_signal+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <sys/types.h>
-#include <signal.h>
-
-int
-main ()
-{
-return *(signal (0, 0)) (0) == 1;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_type_signal=int
-else
-  ac_cv_type_signal=void
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
-$as_echo "$ac_cv_type_signal" >&6; }
-
-cat >>confdefs.h <<_ACEOF
-#define RETSIGTYPE $ac_cv_type_signal
-_ACEOF
-
-
-
-
-
- case $host_os in
-       mingw*) unixdef="no"   ;;
-       *)      unixdef="yes"  ;;
- esac
- # Check whether --enable-unix-transport was given.
-if test "${enable_unix_transport+set}" = set; then :
-  enableval=$enable_unix_transport; UNIXCONN=$enableval
-else
-  UNIXCONN=$unixdef
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
-$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
- if test "$UNIXCONN" = "yes"; then
-
-$as_echo "#define UNIXCONN 1" >>confdefs.h
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
-$as_echo "$UNIXCONN" >&6; }
- # Check whether --enable-tcp-transport was given.
-if test "${enable_tcp_transport+set}" = set; then :
-  enableval=$enable_tcp_transport; TCPCONN=$enableval
-else
-  TCPCONN=yes
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
-$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
-$as_echo "$TCPCONN" >&6; }
- if test "$TCPCONN" = "yes"; then
-
-$as_echo "#define TCPCONN 1" >>confdefs.h
-
-
- # SVR4 hides these in libraries other than libc
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
-$as_echo_n "checking for library containing socket... " >&6; }
-if ${ac_cv_search_socket+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char socket ();
-int
-main ()
-{
-return socket ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' socket; do
-  if test -z "$ac_lib"; then
-    ac_res="none required"
-  else
-    ac_res=-l$ac_lib
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
-  fi
-  if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_socket=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_socket+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_socket+:} false; then :
-
-else
-  ac_cv_search_socket=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
-$as_echo "$ac_cv_search_socket" >&6; }
-ac_res=$ac_cv_search_socket
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
-$as_echo_n "checking for library containing gethostbyname... " >&6; }
-if ${ac_cv_search_gethostbyname+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char gethostbyname ();
-int
-main ()
-{
-return gethostbyname ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' nsl; do
-  if test -z "$ac_lib"; then
-    ac_res="none required"
-  else
-    ac_res=-l$ac_lib
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
-  fi
-  if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_gethostbyname=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_gethostbyname+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_gethostbyname+:} false; then :
-
-else
-  ac_cv_search_gethostbyname=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
-$as_echo "$ac_cv_search_gethostbyname" >&6; }
-ac_res=$ac_cv_search_gethostbyname
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
- if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
-$as_echo_n "checking for main in -lws2_32... " >&6; }
-if ${ac_cv_lib_ws2_32_main+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lws2_32  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-
-int
-main ()
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_ws2_32_main=yes
-else
-  ac_cv_lib_ws2_32_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
-$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
-if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBWS2_32 1
-_ACEOF
-
-  LIBS="-lws2_32 $LIBS"
-
-fi
-ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
-
- fi
-
- # Needs to come after above checks for libsocket & libnsl for SVR4 systems
- # Check whether --enable-ipv6 was given.
-if test "${enable_ipv6+set}" = set; then :
-  enableval=$enable_ipv6; IPV6CONN=$enableval
-else
-  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
-if test "x$ac_cv_func_getaddrinfo" = xyes; then :
-  IPV6CONN=yes
-else
-  IPV6CONN=no
-fi
-
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
-$as_echo_n "checking if IPv6 support should be built... " >&6; }
- if test "$IPV6CONN" = "yes"; then
-
-$as_echo "#define IPv6 1" >>confdefs.h
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
-$as_echo "$IPV6CONN" >&6; }
-
- # 4.3BSD-Reno added a new member to struct sockaddr_in
- ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-
-"
-if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
-
-$as_echo "#define BSD44SOCKETS 1" >>confdefs.h
-
-fi
-
-
- # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
- ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
-$ac_includes_default
-#include <sys/socket.h>
-"
-if test "x$ac_cv_type_socklen_t" = xyes; then :
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_SOCKLEN_T 1
-_ACEOF
-
-
-fi
-
-
-
- fi
- case $host_os in
-       solaris*|sco*|sysv4*)   localdef="yes" ;;
-       *)                      localdef="no"  ;;
- esac
- # Check whether --enable-local-transport was given.
-if test "${enable_local_transport+set}" = set; then :
-  enableval=$enable_local_transport; LOCALCONN=$enableval
-else
-  LOCALCONN=$localdef
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
-$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
-$as_echo "$LOCALCONN" >&6; }
- if test "$LOCALCONN" = "yes"; then
-
-$as_echo "#define LOCALCONN 1" >>confdefs.h
-
- fi
-
-
-
-# Secure RPC detection macro from xtrans.m4
-
- # Check whether --enable-secure-rpc was given.
-if test "${enable_secure_rpc+set}" = set; then :
-  enableval=$enable_secure_rpc; SECURE_RPC=$enableval
-else
-  SECURE_RPC="try"
-fi
-
-
- if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
-       FOUND_SECURE_RPC="no"
-       for ac_func in authdes_seccreate authdes_create
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
- FOUND_SECURE_RPC="yes"
-fi
-done
-
-       if test "x$FOUND_SECURE_RPC" = "xno" ; then
-               if test "x$SECURE_RPC" = "xyes" ; then
-       as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
-               fi
-               SECURE_RPC="no"
-       else
-                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
-$as_echo_n "checking for library containing getsecretkey... " >&6; }
-if ${ac_cv_search_getsecretkey+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char getsecretkey ();
-int
-main ()
-{
-return getsecretkey ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' rpcsvc; do
-  if test -z "$ac_lib"; then
-    ac_res="none required"
-  else
-    ac_res=-l$ac_lib
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
-  fi
-  if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_getsecretkey=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_getsecretkey+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_getsecretkey+:} false; then :
-
-else
-  ac_cv_search_getsecretkey=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
-$as_echo "$ac_cv_search_getsecretkey" >&6; }
-ac_res=$ac_cv_search_getsecretkey
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
-               SECURE_RPC="yes"
-       fi
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
-$as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
- if test "x$SECURE_RPC" = "xyes" ; then
-
-$as_echo "#define SECURE_RPC 1" >>confdefs.h
-
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
-$as_echo "$SECURE_RPC" >&6; }
-
-
-# Preferred order to try transports for local connections
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what order to try transports in for local connections" >&5
-$as_echo_n "checking what order to try transports in for local connections... " >&6; }
-DEFAULT_LOCAL_TRANS=""
-case $host_os in
-       solaris*)
-               # On Solaris 2.6 through 9, named pipes (LOCAL_TRANS) were
-               # faster than Unix domain sockets, but on Solaris 10 & later,
-               # Unix domain sockets are faster now.
-               if test "$UNIXCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
-               fi
-               if test "$LOCALCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
-               fi
-               if test "$TCPCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
-               fi
-               ;;
-       linux*)
-               # LOCAL_TRANS is used for abstract sockets.
-               if test "$UNIXCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS,UNIX_TRANS"
-               fi
-               if test "$TCPCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
-               fi
-               ;;
-       *)
-               if test "$LOCALCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}LOCAL_TRANS"
-               fi
-               if test "$UNIXCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}UNIX_TRANS"
-               fi
-               if test "$TCPCONN" = "yes" ; then
-                       if test ! "x$DEFAULT_LOCAL_TRANS" = "x" ; then
-                               DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS},"
-                       fi
-                       DEFAULT_LOCAL_TRANS="${DEFAULT_LOCAL_TRANS}TCP_TRANS"
-               fi
-               ;;
-esac
-
-
-# Check whether --with-local-transport-order was given.
-if test "${with_local_transport_order+set}" = set; then :
-  withval=$with_local_transport_order; LOCAL_TRANSPORT_LIST=$withval
-else
-  LOCAL_TRANSPORT_LIST=$DEFAULT_LOCAL_TRANS
-fi
-
-
-cat >>confdefs.h <<_ACEOF
-#define LOCAL_TRANSPORT_LIST $LOCAL_TRANSPORT_LIST
-_ACEOF
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCAL_TRANSPORT_LIST" >&5
-$as_echo "$LOCAL_TRANSPORT_LIST" >&6; }
-
-# Check for dlopen
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
-$as_echo_n "checking if run-time linking is supported... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if ${ac_cv_search_dlopen+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dlopen ();
-int
-main ()
-{
-return dlopen ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' dl svld; do
-  if test -z "$ac_lib"; then
-    ac_res="none required"
-  else
-    ac_res=-l$ac_lib
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
-  fi
-  if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_dlopen+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_dlopen+:} false; then :
-
-else
-  ac_cv_search_dlopen=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
-if test "x$ac_cv_search_dlopen" = xno; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
-$as_echo_n "checking for library containing shl_load... " >&6; }
-if ${ac_cv_search_shl_load+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_func_search_save_LIBS=$LIBS
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char shl_load ();
-int
-main ()
-{
-return shl_load ();
-  ;
-  return 0;
-}
-_ACEOF
-for ac_lib in '' dld; do
-  if test -z "$ac_lib"; then
-    ac_res="none required"
-  else
-    ac_res=-l$ac_lib
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
-  fi
-  if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_shl_load=$ac_res
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext
-  if ${ac_cv_search_shl_load+:} false; then :
-  break
-fi
-done
-if ${ac_cv_search_shl_load+:} false; then :
-
-else
-  ac_cv_search_shl_load=no
-fi
-rm conftest.$ac_ext
-LIBS=$ac_func_search_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
-$as_echo "$ac_cv_search_shl_load" >&6; }
-ac_res=$ac_cv_search_shl_load
-if test "$ac_res" != no; then :
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
-
-fi
-
-       if test "x$ac_cv_search_shl_load" != xno; then
-
-$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
-
-               for ac_header in dl.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
-if test "x$ac_cv_header_dl_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_DL_H 1
-_ACEOF
-
-fi
-
-done
-
-       fi
-else
-
-$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
-
-       for ac_header in dlfcn.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
-if test "x$ac_cv_header_dlfcn_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_DLFCN_H 1
-_ACEOF
-
-fi
-
-done
-
-fi
-if test x$ac_cv_header_dlcfn_h -o x$ac_cv_header_dl_h; then
-       HAVE_LOADABLE_MODULES=yes
-else
-       HAVE_LOADABLE_MODULES=no
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
-$as_echo "$HAVE_LOADABLE_MODULES" >&6; }
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
-$as_echo_n "checking if loadable i18n module support should be enabled... " >&6; }
-# Check whether --enable-loadable-i18n was given.
-if test "${enable_loadable_i18n+set}" = set; then :
-  enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
-else
-  XLIB_LOADABLE_I18N="no"
-fi
-
-if test x$XLIB_LOADABLE_I18N = xyes; then
-       if test x$HAVE_LOADABLE_MODULES = xno; then
-               as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
-       fi
-
-$as_echo "#define USE_DYNAMIC_LC 1" >>confdefs.h
-
-       I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
-$as_echo "$XLIB_LOADABLE_I18N" >&6; }
-
- if test x$XLIB_LOADABLE_I18N = xyes; then
-  XLIB_LOADABLE_I18N_TRUE=
-  XLIB_LOADABLE_I18N_FALSE='#'
-else
-  XLIB_LOADABLE_I18N_TRUE='#'
-  XLIB_LOADABLE_I18N_FALSE=
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
-$as_echo_n "checking if loadable Xcursor library support should be enabled... " >&6; }
-# Check whether --enable-loadable-xcursor was given.
-if test "${enable_loadable_xcursor+set}" = set; then :
-  enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
-else
-  XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES
-fi
-
-if test x$XLIB_LOADABLE_XCURSOR = xyes; then
-
-$as_echo "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
-$as_echo "$XLIB_LOADABLE_XCURSOR" >&6; }
-
-# Checks for header files.
-for ac_header in sys/select.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_select_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SYS_SELECT_H 1
-_ACEOF
-
-fi
-
-done
-
-
-# Checks for typedefs, structures, and compiler characteristics.
-
-# Checks for library functions.
-for ac_func in strtol seteuid
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-# Used in lcFile.c (see also --enable-xlocaledir settings below)
-XLOCALEDIR_IS_SAFE="no"
-ac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default"
-if test "x$ac_cv_have_decl_issetugid" = xyes; then :
-
-fi
-
-ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
-if test "x$ac_cv_func_issetugid" = xyes; then :
-
-fi
-
-if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
-    XLOCALEDIR_IS_SAFE="yes"
-
-$as_echo "#define HASSETUGID 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
-if test "x$ac_cv_func_getresuid" = xyes; then :
-  XLOCALEDIR_IS_SAFE="yes"
-
-$as_echo "#define HASGETRESUID 1" >>confdefs.h
-
-fi
-
-# Used in Font.c
-ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
-if test "x$ac_cv_func_shmat" = xyes; then :
-
-$as_echo "#define HAS_SHM 1" >>confdefs.h
-
-fi
-
-
-# Checks for system services
-# AC_PATH_XTRA
-
-# arch specific things
-WCHAR32="1"
-case $host_os in
-  os2*) os2="true" ; WCHAR32="0" ;;
-  *) ;;
-esac
-
-
- if test x$os2 = xtrue; then
-  OS2_TRUE=
-  OS2_FALSE='#'
-else
-  OS2_TRUE='#'
-  OS2_FALSE=
-fi
-
-
-
-# Check whether --with-launchd was given.
-if test "${with_launchd+set}" = set; then :
-  withval=$with_launchd; LAUNCHD=$withval
-else
-  LAUNCHD=auto
-fi
-
-if test "x$LAUNCHD" = xauto; then
-       unset LAUNCHD
-       # Extract the first word of "launchd", so it can be a program name with args.
-set dummy launchd; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_LAUNCHD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LAUNCHD"; then
-  ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/sbin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_LAUNCHD="yes"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
-fi
-fi
-LAUNCHD=$ac_cv_prog_LAUNCHD
-if test -n "$LAUNCHD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
-$as_echo "$LAUNCHD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-
-if test "x$LAUNCHD" = xyes ; then
-
-$as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
-
-
-$as_echo "#define TRANS_REOPEN 1" >>confdefs.h
-
-fi
-
-# Check whether --enable-xthreads was given.
-if test "${enable_xthreads+set}" = set; then :
-  enableval=$enable_xthreads; xthreads=$enableval
-else
-  xthreads=yes
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
-$as_echo_n "checking for getpwuid_r in -lc... " >&6; }
-if ${ac_cv_lib_c_getpwuid_r+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lc  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char getpwuid_r ();
-int
-main ()
-{
-return getpwuid_r ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_c_getpwuid_r=yes
-else
-  ac_cv_lib_c_getpwuid_r=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
-$as_echo "$ac_cv_lib_c_getpwuid_r" >&6; }
-if test "x$ac_cv_lib_c_getpwuid_r" = xyes; then :
-  mtsafeapi="yes"
-else
-  mtsafeapi="no"
-fi
-
-
-case x$xthreads in
-xyes)
-
-$as_echo "#define XTHREADS 1" >>confdefs.h
-
-       if test x$mtsafeapi = xyes
-       then
-
-$as_echo "#define XUSE_MTSAFE_API 1" >>confdefs.h
-
-       fi
-       ;;
-*)
-       ;;
-esac
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lc" >&5
-$as_echo_n "checking for pthread_self in -lc... " >&6; }
-if ${ac_cv_lib_c_pthread_self+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lc  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char pthread_self ();
-int
-main ()
-{
-return pthread_self ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_c_pthread_self=yes
-else
-  ac_cv_lib_c_pthread_self=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_self" >&5
-$as_echo "$ac_cv_lib_c_pthread_self" >&6; }
-if test "x$ac_cv_lib_c_pthread_self" = xyes; then :
-  thrstubs="no"
-else
-  thrstubs="yes"
-fi
-
- if test x$thrstubs = xyes; then
-  THRSTUBS_TRUE=
-  THRSTUBS_FALSE='#'
-else
-  THRSTUBS_TRUE='#'
-  THRSTUBS_FALSE=
-fi
-
-
-# XXX incomplete, please fill this in
-if test x$xthreads = xyes ; then
-    case $host_os in
-    linux*|gnu*|k*bsd*-gnu)
-        XTHREADLIB=-lpthread ;;
-    netbsd*)
-       XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
-       XTHREADLIB="-lpthread" ;;
-    freebsd*)
-        XTHREAD_CFLAGS="-D_THREAD_SAFE"
-        XTHREADLIB="-pthread" ;;
-    dragonfly*|openbsd*)
-        XTHREADLIB="-pthread" ;;
-    solaris*)
-       XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
-    esac
-fi
-
-
-
-ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
-if test "x$ac_cv_func_poll" = xyes; then :
-
-$as_echo "#define USE_POLL 1" >>confdefs.h
-
-fi
-
-
-#
-# Find keysymdef.h
-#
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
-$as_echo_n "checking keysym definitions... " >&6; }
-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
-FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
-for i in $FILES; do
-    if test -f "$KEYSYMDEFDIR/$i"; then
-            KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
-    elif test "x$i" = "xkeysymdef.h"; then
-           as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
-    fi
-done
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
-$as_echo "$KEYSYMDEFS" >&6; }
-
-
- if test xfalse = xtrue; then
-  UDC_TRUE=
-  UDC_FALSE='#'
-else
-  UDC_TRUE='#'
-  UDC_FALSE=
-fi
-
-
-# Check whether --enable-xcms was given.
-if test "${enable_xcms+set}" = set; then :
-  enableval=$enable_xcms; XCMS=$enableval
-else
-  XCMS=yes
-fi
-
- if test x$XCMS = xyes ; then
-  XCMS_TRUE=
-  XCMS_FALSE='#'
-else
-  XCMS_TRUE='#'
-  XCMS_FALSE=
-fi
-
-if test x"$XCMS" = "xyes"; then
-
-$as_echo "#define XCMS 1" >>confdefs.h
-
-fi
-
-# Check whether --enable-xlocale was given.
-if test "${enable_xlocale+set}" = set; then :
-  enableval=$enable_xlocale; XLOCALE=$enableval
-else
-  XLOCALE=yes
-fi
-
-
- if  test x$XLOCALE = xyes ; then
-  XLOCALE_TRUE=
-  XLOCALE_FALSE='#'
-else
-  XLOCALE_TRUE='#'
-  XLOCALE_FALSE=
-fi
-
-if test x"$XLOCALE" = "xyes"; then
-
-$as_echo "#define XLOCALE 1" >>confdefs.h
-
-fi
-
-# This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
-# don't have either issetugid() or getresuid(), and you need to protect
-# clients that are setgid or setuid to an id other than 0.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
-$as_echo_n "checking if XLOCALEDIR support should be enabled... " >&6; }
-# Check whether --enable-xlocaledir was given.
-if test "${enable_xlocaledir+set}" = set; then :
-  enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
-else
-  ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE
-fi
-
-if test "x$ENABLE_XLOCALEDIR" = "xno"; then
-
-$as_echo "#define NO_XLOCALEDIR 1" >>confdefs.h
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
-$as_echo "$ENABLE_XLOCALEDIR" >&6; }
-
-# Check whether --enable-xf86bigfont was given.
-if test "${enable_xf86bigfont+set}" = set; then :
-  enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
-else
-  XF86BIGFONT="yes"
-fi
-
-if test "x$XF86BIGFONT" = "xyes"; then
-
-pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
-$as_echo_n "checking for BIGFONT... " >&6; }
-
-if test -n "$BIGFONT_CFLAGS"; then
-    pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
-    if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-  pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
-else
-  pkg_failed=yes
-fi
- else
-    pkg_failed=untried
-fi
-if test -n "$BIGFONT_LIBS"; then
-    pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
- elif test -n "$PKG_CONFIG"; then
-    if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-  pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
-else
-  pkg_failed=yes
-fi
- else
-    pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-        _pkg_short_errors_supported=yes
-else
-        _pkg_short_errors_supported=no
-fi
-        if test $_pkg_short_errors_supported = yes; then
-               BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xf86bigfontproto >= 1.2.0" 2>&1`
-        else
-               BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xf86bigfontproto >= 1.2.0" 2>&1`
-        fi
-       # Put the nasty error message in config.log where it belongs
-       echo "$BIGFONT_PKG_ERRORS" >&5
-
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-                XF86BIGFONT="no"
-elif test $pkg_failed = untried; then
-       XF86BIGFONT="no"
-else
-       BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
-       BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-$as_echo "#define XF86BIGFONT 1" >>confdefs.h
-
-fi
-fi
-
-# Check whether --enable-xkb was given.
-if test "${enable_xkb+set}" = set; then :
-  enableval=$enable_xkb; XKB=$enableval
-else
-  XKB=yes
-fi
-
-
- if  test x$XKB = xyes ; then
-  XKB_TRUE=
-  XKB_FALSE='#'
-else
-  XKB_TRUE='#'
-  XKB_FALSE=
-fi
-
-if test x"$XKB" = "xyes"; then
-   XKBPROTO_REQUIRES="kbproto"
-   X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
-
-$as_echo "#define XKB 1" >>confdefs.h
-
-else
-   XKBPROTO_REQUIRES=""
-fi
-
-
-
-
-
-  for ac_header in $ac_header_list
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-
-
-
-
-
-
-for ac_func in getpagesize
-do :
-  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
-if test "x$ac_cv_func_getpagesize" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_GETPAGESIZE 1
-_ACEOF
-
-fi
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
-$as_echo_n "checking for working mmap... " >&6; }
-if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test "$cross_compiling" = yes; then :
-  ac_cv_func_mmap_fixed_mapped=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-/* malloc might have been renamed as rpl_malloc. */
-#undef malloc
-
-/* Thanks to Mike Haertel and Jim Avera for this test.
-   Here is a matrix of mmap possibilities:
-       mmap private not fixed
-       mmap private fixed at somewhere currently unmapped
-       mmap private fixed at somewhere already mapped
-       mmap shared not fixed
-       mmap shared fixed at somewhere currently unmapped
-       mmap shared fixed at somewhere already mapped
-   For private mappings, we should verify that changes cannot be read()
-   back from the file, nor mmap's back from the file at a different
-   address.  (There have been systems where private was not correctly
-   implemented like the infamous i386 svr4.0, and systems where the
-   VM page cache was not coherent with the file system buffer cache
-   like early versions of FreeBSD and possibly contemporary NetBSD.)
-   For shared mappings, we should conversely verify that changes get
-   propagated back to all the places they're supposed to be.
-
-   Grep wants private fixed already mapped.
-   The main things grep needs to know about mmap are:
-   * does it exist and is it safe to write into the mmap'd area
-   * how to use it (BSD variants)  */
-
-#include <fcntl.h>
-#include <sys/mman.h>
-
-#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
-char *malloc ();
-#endif
-
-/* This mess was copied from the GNU getpagesize.h.  */
-#ifndef HAVE_GETPAGESIZE
-# ifdef _SC_PAGESIZE
-#  define getpagesize() sysconf(_SC_PAGESIZE)
-# else /* no _SC_PAGESIZE */
-#  ifdef HAVE_SYS_PARAM_H
-#   include <sys/param.h>
-#   ifdef EXEC_PAGESIZE
-#    define getpagesize() EXEC_PAGESIZE
-#   else /* no EXEC_PAGESIZE */
-#    ifdef NBPG
-#     define getpagesize() NBPG * CLSIZE
-#     ifndef CLSIZE
-#      define CLSIZE 1
-#     endif /* no CLSIZE */
-#    else /* no NBPG */
-#     ifdef NBPC
-#      define getpagesize() NBPC
-#     else /* no NBPC */
-#      ifdef PAGESIZE
-#       define getpagesize() PAGESIZE
-#      endif /* PAGESIZE */
-#     endif /* no NBPC */
-#    endif /* no NBPG */
-#   endif /* no EXEC_PAGESIZE */
-#  else /* no HAVE_SYS_PARAM_H */
-#   define getpagesize() 8192  /* punt totally */
-#  endif /* no HAVE_SYS_PARAM_H */
-# endif /* no _SC_PAGESIZE */
-
-#endif /* no HAVE_GETPAGESIZE */
-
-int
-main ()
-{
-  char *data, *data2, *data3;
-  const char *cdata2;
-  int i, pagesize;
-  int fd, fd2;
-
-  pagesize = getpagesize ();
-
-  /* First, make a file with some known garbage in it. */
-  data = (char *) malloc (pagesize);
-  if (!data)
-    return 1;
-  for (i = 0; i < pagesize; ++i)
-    *(data + i) = rand ();
-  umask (0);
-  fd = creat ("conftest.mmap", 0600);
-  if (fd < 0)
-    return 2;
-  if (write (fd, data, pagesize) != pagesize)
-    return 3;
-  close (fd);
-
-  /* Next, check that the tail of a page is zero-filled.  File must have
-     non-zero length, otherwise we risk SIGBUS for entire page.  */
-  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
-  if (fd2 < 0)
-    return 4;
-  cdata2 = "";
-  if (write (fd2, cdata2, 1) != 1)
-    return 5;
-  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
-  if (data2 == MAP_FAILED)
-    return 6;
-  for (i = 0; i < pagesize; ++i)
-    if (*(data2 + i))
-      return 7;
-  close (fd2);
-  if (munmap (data2, pagesize))
-    return 8;
-
-  /* Next, try to mmap the file at a fixed address which already has
-     something else allocated at it.  If we can, also make sure that
-     we see the same garbage.  */
-  fd = open ("conftest.mmap", O_RDWR);
-  if (fd < 0)
-    return 9;
-  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
-                    MAP_PRIVATE | MAP_FIXED, fd, 0L))
-    return 10;
-  for (i = 0; i < pagesize; ++i)
-    if (*(data + i) != *(data2 + i))
-      return 11;
-
-  /* Finally, make sure that changes to the mapped area do not
-     percolate back to the file as seen by read().  (This is a bug on
-     some variants of i386 svr4.0.)  */
-  for (i = 0; i < pagesize; ++i)
-    *(data2 + i) = *(data2 + i) + 1;
-  data3 = (char *) malloc (pagesize);
-  if (!data3)
-    return 12;
-  if (read (fd, data3, pagesize) != pagesize)
-    return 13;
-  for (i = 0; i < pagesize; ++i)
-    if (*(data + i) != *(data3 + i))
-      return 14;
-  close (fd);
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_func_mmap_fixed_mapped=yes
-else
-  ac_cv_func_mmap_fixed_mapped=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
-$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
-if test $ac_cv_func_mmap_fixed_mapped = yes; then
-
-$as_echo "#define HAVE_MMAP 1" >>confdefs.h
-
-fi
-rm -f conftest.mmap conftest.txt
-
-composecache_default=$ac_cv_func_mmap_fixed_mapped
-ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
-if test "x$ac_cv_func_nl_langinfo" = xyes; then :
-
-else
-  composecache_default=no
-fi
-
-# Check whether --enable-composecache was given.
-if test "${enable_composecache+set}" = set; then :
-  enableval=$enable_composecache; COMPOSECACHE=$enableval
-else
-  COMPOSECACHE=$composecache_default
-fi
-
-if test x"$COMPOSECACHE" = "xyes"; then
-
-$as_echo "#define COMPOSECACHE 1" >>confdefs.h
-
-fi
-
-# Allow checking code with lint, sparse, etc.
-
-
-
-
-
-# Check whether --with-lint was given.
-if test "${with_lint+set}" = set; then :
-  withval=$with_lint; use_lint=$withval
-else
-  use_lint=no
-fi
-
-
-# Obtain platform specific info like program name and options
-# The lint program on FreeBSD and NetBSD is different from the one on Solaris
-case $host_os in
-  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
-       lint_name=splint
-       lint_options="-badflag"
-       ;;
-  *freebsd* | *netbsd*)
-       lint_name=lint
-       lint_options="-u -b"
-       ;;
-  *solaris*)
-       lint_name=lint
-       lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
-       ;;
-esac
-
-# Test for the presence of the program (either guessed by the code or spelled out by the user)
-if test "x$use_lint" = x"yes" ; then
-   # Extract the first word of "$lint_name", so it can be a program name with args.
-set dummy $lint_name; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_LINT+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $LINT in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-LINT=$ac_cv_path_LINT
-if test -n "$LINT"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
-$as_echo "$LINT" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-   if test "x$LINT" = "x"; then
-        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
-   fi
-elif test "x$use_lint" = x"no" ; then
-   if test "x$LINT" != "x"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
-$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
-   fi
-else
-   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
-fi
-
-# User supplied flags override default flags
-if test "x$LINT_FLAGS" != "x"; then
-   lint_options=$LINT_FLAGS
-fi
-
-LINT_FLAGS=$lint_options
-
- if test "x$LINT" != x; then
-  LINT_TRUE=
-  LINT_FALSE='#'
-else
-  LINT_TRUE='#'
-  LINT_FALSE=
-fi
-
-
-
-
-
-# Check whether --enable-lint-library was given.
-if test "${enable_lint_library+set}" = set; then :
-  enableval=$enable_lint_library; make_lint_lib=$enableval
-else
-  make_lint_lib=no
-fi
-
-
-if test "x$make_lint_lib" = x"yes" ; then
-   LINTLIB=llib-lX11.ln
-   if test "x$LINT" = "x"; then
-        as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
-   fi
-elif test "x$make_lint_lib" != x"no" ; then
-   as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
-fi
-
-
- if test x$make_lint_lib != xno; then
-  MAKE_LINT_LIB_TRUE=
-  MAKE_LINT_LIB_FALSE='#'
-else
-  MAKE_LINT_LIB_TRUE='#'
-  MAKE_LINT_LIB_FALSE=
-fi
-
-
-
-
-X11_DATADIR="${datadir}/X11"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$X11_DATADIR\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  X11_DATADIR="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define X11_DATADIR "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-X11_LIBDIR="${libdir}/X11"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$X11_LIBDIR\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  X11_LIBDIR="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define X11_LIBDIR "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-
-pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
-$as_echo_n "checking for X11... " >&6; }
-
-if test -n "$X11_CFLAGS"; then
-    pkg_cv_X11_CFLAGS="$X11_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
-    if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
-else
-  pkg_failed=yes
-fi
- else
-    pkg_failed=untried
-fi
-if test -n "$X11_LIBS"; then
-    pkg_cv_X11_LIBS="$X11_LIBS"
- elif test -n "$PKG_CONFIG"; then
-    if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; then
-  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
-else
-  pkg_failed=yes
-fi
- else
-    pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-        _pkg_short_errors_supported=yes
-else
-        _pkg_short_errors_supported=no
-fi
-        if test $_pkg_short_errors_supported = yes; then
-               X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$X11_REQUIRES" 2>&1`
-        else
-               X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "$X11_REQUIRES" 2>&1`
-        fi
-       # Put the nasty error message in config.log where it belongs
-       echo "$X11_PKG_ERRORS" >&5
-
-       as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
-
-$X11_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-Alternatively, you may set the environment variables X11_CFLAGS
-and X11_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-" "$LINENO" 5
-elif test $pkg_failed = untried; then
-       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-Alternatively, you may set the environment variables X11_CFLAGS
-and X11_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details" "$LINENO" 5; }
-else
-       X11_CFLAGS=$pkg_cv_X11_CFLAGS
-       X11_LIBS=$pkg_cv_X11_LIBS
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       :
-fi
-X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
-
-#
-# Yes, it would be nice to put the locale data in
-# /usr/share, but the locale stuff includes loadable
-# libraries which must be located in the same directory
-# as the other locale data, so for now, everything lives
-# in ${libdir}
-#
-
-X11_LOCALEDATADIR="${X11_DATADIR}/locale"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$X11_LOCALEDATADIR\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  XLOCALEDATADIR="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define XLOCALEDATADIR "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-
-# Check whether --with-locale-lib-dir was given.
-if test "${with_locale_lib_dir+set}" = set; then :
-  withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
-else
-   X11_LOCALELIBDIR="${X11_LIBDIR}/locale"
-fi
-
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$X11_LOCALELIBDIR\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  XLOCALELIBDIR="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define XLOCALELIBDIR "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-X11_LOCALEDIR="${X11_LOCALEDATADIR}"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$X11_LOCALEDIR\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  XLOCALEDIR="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define XLOCALEDIR "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-locales="\
- am_ET.UTF-8  armscii-8   C           el_GR.UTF-8  en_US.UTF-8  fi_FI.UTF-8 \
- georgian-academy         georgian-ps ibm-cp1133   iscii-dev    isiri-3342 \
- iso8859-1    iso8859-10  iso8859-11  iso8859-13   iso8859-14   iso8859-15 \
- iso8859-2    iso8859-3   iso8859-4   iso8859-5    iso8859-6    iso8859-7 \
- iso8859-8    iso8859-9   iso8859-9e  ja           ja.JIS       ja_JP.UTF-8\
- ja.S90       ja.SJIS     ja.U90      ko           koi8-c       koi8-r \
- koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
- microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  ru_RU.UTF-8 \
- tatar-cyr    th_TH       th_TH.UTF-8 tscii-0      vi_VN.tcvn   vi_VN.viscii \
- zh_CN        zh_CN.gb18030           zh_CN.gbk    zh_CN.UTF-8  zh_HK.big5 \
- zh_HK.big5hkscs          zh_HK.UTF-8 zh_TW        zh_TW.big5   zh_TW.UTF-8"
-
-
-XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$XKEYSYMDB\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  XKEYSYMDB="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define XKEYSYMDB "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-XERRORDB="${X11_DATADIR}/XErrorDB"
-
-  prefix_NONE=
-  exec_prefix_NONE=
-  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
-  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
-  eval ax_define_dir="\"$XERRORDB\""
-  eval ax_define_dir="\"$ax_define_dir\""
-  XERRORDB="$ax_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define XERRORDB "$ax_define_dir"
-_ACEOF
-
-  test "$prefix_NONE" && prefix=NONE
-  test "$exec_prefix_NONE" && exec_prefix=NONE
-
-
-
-# Check whether --enable-malloc0returnsnull was given.
-if test "${enable_malloc0returnsnull+set}" = set; then :
-  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
-else
-  MALLOC_ZERO_RETURNS_NULL=auto
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
-$as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
-if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
-       if test "$cross_compiling" = yes; then :
-  MALLOC_ZERO_RETURNS_NULL=yes
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#include <stdlib.h>
-
-int
-main ()
-{
-
-    char *m0, *r0, *c0, *p;
-    m0 = malloc(0);
-    p = malloc(10);
-    r0 = realloc(p,0);
-    c0 = calloc(0,10);
-    exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  MALLOC_ZERO_RETURNS_NULL=yes
-else
-  MALLOC_ZERO_RETURNS_NULL=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
-$as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
-
-if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
-       MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
-       XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
-       XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
-else
-       MALLOC_ZERO_CFLAGS=""
-       XMALLOC_ZERO_CFLAGS=""
-       XTMALLOC_ZERO_CFLAGS=""
-fi
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile man/xkb/Makefile src/Makefile src/util/Makefile src/xcms/Makefile src/xlibi18n/Makefile modules/Makefile modules/im/Makefile modules/im/ximcp/Makefile modules/lc/Makefile modules/lc/def/Makefile modules/lc/gen/Makefile modules/lc/Utf8/Makefile modules/lc/xlocale/Makefile modules/om/Makefile modules/om/generic/Makefile src/xkb/Makefile nls/Makefile specs/Makefile specs/i18n/Makefile specs/i18n/compose/Makefile specs/i18n/framework/Makefile specs/i18n/localedb/Makefile specs/i18n/trans/Makefile specs/libX11/Makefile specs/XIM/Makefile specs/XKB/Makefile x11.pc x11-xcb.pc"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems.  If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
-  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
-      *) { eval $ac_var=; unset $ac_var;} ;;
-      esac ;;
-    esac
-  done
-
-  (set) 2>&1 |
-    case $as_nl`(ac_space=' '; set) 2>&1` in #(
-    *${as_nl}ac_space=\ *)
-      # `set' does not quote correctly, so add quotes: double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \.
-      sed -n \
-       "s/'/'\\\\''/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
-      ;; #(
-    *)
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
-      ;;
-    esac |
-    sort
-) |
-  sed '
-     /^ac_cv_env_/b end
-     t clear
-     :clear
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
-     t end
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
-  if test -w "$cache_file"; then
-    if test "x$cache_file" != "x/dev/null"; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
-      if test ! -f "$cache_file" || test -h "$cache_file"; then
-       cat confcache >"$cache_file"
-      else
-        case $cache_file in #(
-        */* | ?:*)
-         mv -f confcache "$cache_file"$$ &&
-         mv -f "$cache_file"$$ "$cache_file" ;; #(
-        *)
-         mv -f confcache "$cache_file" ;;
-       esac
-      fi
-    fi
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
-  fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
-  # 1. Remove the extension, and $U if already installed.
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
-  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
-  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
-  #    will be set to the directory where LIBOBJS objects are built.
-  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
-  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
-  as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
-  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
- if test -n "$EXEEXT"; then
-  am__EXEEXT_TRUE=
-  am__EXEEXT_FALSE='#'
-else
-  am__EXEEXT_TRUE='#'
-  am__EXEEXT_FALSE=
-fi
-
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
-  as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
-  as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
-  as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
-  as_fn_error $? "conditional \"OS2\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${THRSTUBS_TRUE}" && test -z "${THRSTUBS_FALSE}"; then
-  as_fn_error $? "conditional \"THRSTUBS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${UDC_TRUE}" && test -z "${UDC_FALSE}"; then
-  as_fn_error $? "conditional \"UDC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
-  as_fn_error $? "conditional \"XCMS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
-  as_fn_error $? "conditional \"XLOCALE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
-  as_fn_error $? "conditional \"XKB\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
-  as_fn_error $? "conditional \"LINT\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
-  as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-       expr "X$arg" : "X\\(.*\\)$as_nl";
-       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""       $as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
-  fi
-  $as_echo "$as_me: error: $2" >&2
-  as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
-  return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
-  set +e
-  as_fn_set_status $1
-  exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
-  { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-  eval 'as_fn_append ()
-  {
-    eval $1+=\$2
-  }'
-else
-  as_fn_append ()
-  {
-    eval $1=\$$1\$2
-  }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-  eval 'as_fn_arith ()
-  {
-    as_val=$(( $* ))
-  }'
-else
-  as_fn_arith ()
-  {
-    as_val=`expr "$@" || test $? -eq 1`
-  }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-           s//\1/
-           q
-         }
-         /^X\/\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\/\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
-  case `echo 'xy\c'` in
-  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
-  xy)  ECHO_C='\c';;
-  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-       ECHO_T='        ';;
-  esac;;
-*)
-  ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s='ln -s'
-    # ... but there are two gotchas:
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
-  elif ln conf$$.file conf$$ 2>/dev/null; then
-    as_ln_s=ln
-  else
-    as_ln_s='cp -p'
-  fi
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || eval $as_mkdir_p || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$as_dir" : 'X\(//\)[^/]' \| \
-        X"$as_dir" : 'X\(//\)$' \| \
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p='mkdir -p "$as_dir"'
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by libX11 $as_me 1.5.0, which was
-generated by GNU Autoconf 2.68.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration.  Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number and configuration settings, then exit
-      --config     print configuration, then exit
-  -q, --quiet, --silent
-                   do not print progress messages
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-      --file=FILE[:TEMPLATE]
-                   instantiate the configuration file FILE
-      --header=FILE[:TEMPLATE]
-                   instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration commands:
-$config_commands
-
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-libX11 config.status 1.5.0
-configured by $0, generated by GNU Autoconf 2.68,
-  with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=?*)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
-    ac_shift=:
-    ;;
-  --*=)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=
-    ac_shift=:
-    ;;
-  *)
-    ac_option=$1
-    ac_optarg=$2
-    ac_shift=shift
-    ;;
-  esac
-
-  case $ac_option in
-  # Handling of the options.
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    ac_cs_recheck=: ;;
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    $as_echo "$ac_cs_version"; exit ;;
-  --config | --confi | --conf | --con | --co | --c )
-    $as_echo "$ac_cs_config"; exit ;;
-  --debug | --debu | --deb | --de | --d | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    $ac_shift
-    case $ac_optarg in
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    '') as_fn_error $? "missing file argument" ;;
-    esac
-    as_fn_append CONFIG_FILES " '$ac_optarg'"
-    ac_need_defaults=false;;
-  --header | --heade | --head | --hea )
-    $ac_shift
-    case $ac_optarg in
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    esac
-    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
-    ac_need_defaults=false;;
-  --he | --h)
-    # Conflict between --help and --header
-    as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
-  --help | --hel | -h )
-    $as_echo "$ac_cs_usage"; exit ;;
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
-    ac_cs_silent=: ;;
-
-  # This is an error.
-  -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
-  *) as_fn_append ac_config_targets " $1"
-     ac_need_defaults=false ;;
-
-  esac
-  shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
-  exec 6>/dev/null
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-  shift
-  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
-  CONFIG_SHELL='$SHELL'
-  export CONFIG_SHELL
-  exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
-  $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-sed_quote_subst='$sed_quote_subst'
-double_quote_subst='$double_quote_subst'
-delay_variable_subst='$delay_variable_subst'
-macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
-macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
-enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
-enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
-pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
-enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
-SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
-ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
-PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
-host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
-host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
-host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
-build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
-build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
-build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
-SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
-Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
-GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
-EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
-FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
-LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
-NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
-LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
-max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
-ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
-exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
-lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
-lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
-lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
-lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
-lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
-reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
-reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
-OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
-deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
-file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
-file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
-want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
-DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
-sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
-AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
-AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
-archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
-STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
-RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
-old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
-old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
-lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
-CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
-CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
-compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
-GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
-nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
-lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
-objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
-MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
-lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
-lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
-lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
-lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
-need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
-MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
-DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
-NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
-LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
-OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
-libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
-shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
-extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
-archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
-enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
-export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
-whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
-compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
-old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
-old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
-archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
-archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
-module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
-module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
-with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
-allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
-no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
-hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
-hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
-hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
-hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
-hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
-hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
-inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
-link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
-always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
-export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
-exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
-include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
-prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
-postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
-file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
-variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
-need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
-version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
-runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
-shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
-shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
-libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
-library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
-soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
-install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
-postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
-finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
-finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
-hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
-sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
-sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
-hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
-enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
-enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
-enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
-old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
-striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
-
-LTCC='$LTCC'
-LTCFLAGS='$LTCFLAGS'
-compiler='$compiler_DEFAULT'
-
-# A function that is used when there is no print builtin or printf.
-func_fallback_echo ()
-{
-  eval 'cat <<_LTECHO_EOF
-\$1
-_LTECHO_EOF'
-}
-
-# Quote evaled strings.
-for var in SHELL \
-ECHO \
-PATH_SEPARATOR \
-SED \
-GREP \
-EGREP \
-FGREP \
-LD \
-NM \
-LN_S \
-lt_SP2NL \
-lt_NL2SP \
-reload_flag \
-OBJDUMP \
-deplibs_check_method \
-file_magic_cmd \
-file_magic_glob \
-want_nocaseglob \
-DLLTOOL \
-sharedlib_from_linklib_cmd \
-AR \
-AR_FLAGS \
-archiver_list_spec \
-STRIP \
-RANLIB \
-CC \
-CFLAGS \
-compiler \
-lt_cv_sys_global_symbol_pipe \
-lt_cv_sys_global_symbol_to_cdecl \
-lt_cv_sys_global_symbol_to_c_name_address \
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
-nm_file_list_spec \
-lt_prog_compiler_no_builtin_flag \
-lt_prog_compiler_pic \
-lt_prog_compiler_wl \
-lt_prog_compiler_static \
-lt_cv_prog_compiler_c_o \
-need_locks \
-MANIFEST_TOOL \
-DSYMUTIL \
-NMEDIT \
-LIPO \
-OTOOL \
-OTOOL64 \
-shrext_cmds \
-export_dynamic_flag_spec \
-whole_archive_flag_spec \
-compiler_needs_object \
-with_gnu_ld \
-allow_undefined_flag \
-no_undefined_flag \
-hardcode_libdir_flag_spec \
-hardcode_libdir_separator \
-exclude_expsyms \
-include_expsyms \
-file_list_spec \
-variables_saved_for_relink \
-libname_spec \
-library_names_spec \
-soname_spec \
-install_override_mode \
-finish_eval \
-old_striplib \
-striplib; do
-    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
-    *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-# Double-quote double-evaled strings.
-for var in reload_cmds \
-old_postinstall_cmds \
-old_postuninstall_cmds \
-old_archive_cmds \
-extract_expsyms_cmds \
-old_archive_from_new_cmds \
-old_archive_from_expsyms_cmds \
-archive_cmds \
-archive_expsym_cmds \
-module_cmds \
-module_expsym_cmds \
-export_symbols_cmds \
-prelink_cmds \
-postlink_cmds \
-postinstall_cmds \
-postuninstall_cmds \
-finish_cmds \
-sys_lib_search_path_spec \
-sys_lib_dlsearch_path_spec; do
-    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
-    *[\\\\\\\`\\"\\\$]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-ac_aux_dir='$ac_aux_dir'
-xsi_shell='$xsi_shell'
-lt_shell_append='$lt_shell_append'
-
-# See if we are running on zsh, and set the options which allow our
-# commands through without removal of \ escapes INIT.
-if test -n "\${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-
-
-    PACKAGE='$PACKAGE'
-    VERSION='$VERSION'
-    TIMESTAMP='$TIMESTAMP'
-    RM='$RM'
-    ofile='$ofile'
-
-
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
-  case $ac_config_target in
-    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
-    "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
-    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
-    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
-    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
-    "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
-    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
-    "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
-    "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
-    "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
-    "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
-    "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
-    "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
-    "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
-    "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
-    "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
-    "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
-    "modules/lc/xlocale/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/xlocale/Makefile" ;;
-    "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
-    "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
-    "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
-    "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
-    "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
-    "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
-    "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
-    "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
-    "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
-    "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
-    "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
-    "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
-    "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
-    "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
-    "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
-
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
-  esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
-  tmp= ac_tmp=
-  trap 'exit_status=$?
-  : "${ac_tmp:=$tmp}"
-  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
-  trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -d "$tmp"
-}  ||
-{
-  tmp=./conf$$-$RANDOM
-  (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
-  eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\\r'
-else
-  ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
-  echo "cat >conf$$subs.awk <<_ACEOF" &&
-  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
-  echo "_ACEOF"
-} >conf$$subs.sh ||
-  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
-  . ./conf$$subs.sh ||
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
-  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
-  if test $ac_delim_n = $ac_delim_num; then
-    break
-  elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-  else
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
-  fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
-  N
-  s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
-  for (key in S) S_is_set[key] = 1
-  FS = "\a"
-
-}
-{
-  line = $ 0
-  nfields = split(line, field, "@")
-  substed = 0
-  len = length(field[1])
-  for (i = 2; i < nfields; i++) {
-    key = field[i]
-    keylen = length(key)
-    if (S_is_set[key]) {
-      value = S[key]
-      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
-      len += length(value) + length(field[++i])
-      substed = 1
-    } else
-      len += 1 + keylen
-  }
-
-  print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
-  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
-  cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
-  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
-  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
-h
-s///
-s/^/:/
-s/[     ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[  ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[      ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
-  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_tt"; then
-    break
-  elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
-  else
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
-  fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any.  Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[    ]*#[    ]*define[       ][      ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' <confdefs.h | sed '
-s/'"$ac_delim"'/"\\\
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-  for (key in D) D_is_set[key] = 1
-  FS = "\a"
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
-  line = \$ 0
-  split(line, arg, " ")
-  if (arg[1] == "#") {
-    defundef = arg[2]
-    mac1 = arg[3]
-  } else {
-    defundef = substr(arg[1], 2)
-    mac1 = arg[2]
-  }
-  split(mac1, mac2, "(") #)
-  macro = mac2[1]
-  prefix = substr(line, 1, index(line, defundef) - 1)
-  if (D_is_set[macro]) {
-    # Preserve the white space surrounding the "#".
-    print prefix "define", macro P[macro] D[macro]
-    next
-  } else {
-    # Replace #undef with comments.  This is necessary, for example,
-    # in the case of _POSIX_SOURCE, which is predefined and required
-    # on some systems where configure will not decide to define it.
-    if (defundef == "undef") {
-      print "/*", prefix defundef, macro, "*/"
-      next
-    }
-  }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
-  case $ac_tag in
-  :[FHLC]) ac_mode=$ac_tag; continue;;
-  esac
-  case $ac_mode$ac_tag in
-  :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
-  :[FH]-) ac_tag=-:-;;
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
-  esac
-  ac_save_IFS=$IFS
-  IFS=:
-  set x $ac_tag
-  IFS=$ac_save_IFS
-  shift
-  ac_file=$1
-  shift
-
-  case $ac_mode in
-  :L) ac_source=$1;;
-  :[FH])
-    ac_file_inputs=
-    for ac_f
-    do
-      case $ac_f in
-      -) ac_f="$ac_tmp/stdin";;
-      *) # Look for the file first in the build tree, then in the source tree
-        # (if the path is not absolute).  The absolute path cannot be DOS-style,
-        # because $ac_f cannot contain `:'.
-        test -f "$ac_f" ||
-          case $ac_f in
-          [\\/$]*) false;;
-          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
-          esac ||
-          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
-      esac
-      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
-      as_fn_append ac_file_inputs " '$ac_f'"
-    done
-
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
-    # use $as_me), people would be surprised to read:
-    #    /* config.h.  Generated by config.status.  */
-    configure_input='Generated from '`
-         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
-       `' by configure.'
-    if test x"$ac_file" != x-; then
-      configure_input="$ac_file.  $configure_input"
-      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
-    fi
-    # Neutralize special characters interpreted by sed in replacement strings.
-    case $configure_input in #(
-    *\&* | *\|* | *\\* )
-       ac_sed_conf_input=`$as_echo "$configure_input" |
-       sed 's/[\\\\&|]/\\\\&/g'`;; #(
-    *) ac_sed_conf_input=$configure_input;;
-    esac
-
-    case $ac_tag in
-    *:-:* | *:-) cat >"$ac_tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
-    esac
-    ;;
-  esac
-
-  ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$ac_file" : 'X\(//\)[^/]' \| \
-        X"$ac_file" : 'X\(//\)$' \| \
-        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-  as_dir="$ac_dir"; as_fn_mkdir_p
-  ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
-  case $ac_mode in
-  :F)
-  #
-  # CONFIG_FILE
-  #
-
-  case $INSTALL in
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
-  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
-  esac
-  ac_MKDIR_P=$MKDIR_P
-  case $MKDIR_P in
-  [\\/$]* | ?:[\\/]* ) ;;
-  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
-  esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
-  p
-  q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-  ac_datarootdir_hack='
-  s&@datadir@&$datadir&g
-  s&@docdir@&$docdir&g
-  s&@infodir@&$infodir&g
-  s&@localedir@&$localedir&g
-  s&@mandir@&$mandir&g
-  s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
-  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
-      "$ac_tmp/out"`; test -z "$ac_out"; } &&
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&2;}
-
-  rm -f "$ac_tmp/stdin"
-  case $ac_file in
-  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
-  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
-  esac \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-  :H)
-  #
-  # CONFIG_HEADER
-  #
-  if test x"$ac_file" != x-; then
-    {
-      $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
-    } >"$ac_tmp/config.h" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
-      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
-    else
-      rm -f "$ac_file"
-      mv "$ac_tmp/config.h" "$ac_file" \
-       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-    fi
-  else
-    $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
-      || as_fn_error $? "could not create -" "$LINENO" 5
-  fi
-# Compute "$ac_file"'s index in $config_headers.
-_am_arg="$ac_file"
-_am_stamp_count=1
-for _am_header in $config_headers :; do
-  case $_am_header in
-    $_am_arg | $_am_arg:* )
-      break ;;
-    * )
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
-  esac
-done
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$_am_arg" : 'X\(//\)[^/]' \| \
-        X"$_am_arg" : 'X\(//\)$' \| \
-        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$_am_arg" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
-
-  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
-  esac
-
-
-  case $ac_file$ac_mode in
-    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
-  # are listed without --file.  Let's play safe and only enable the eval
-  # if we detect the quoting.
-  case $CONFIG_FILES in
-  *\'*) eval set x "$CONFIG_FILES" ;;
-  *)   set x $CONFIG_FILES ;;
-  esac
-  shift
-  for mf
-  do
-    # Strip MF so we end up with the name of the file.
-    mf=`echo "$mf" | sed -e 's/:.*$//'`
-    # Check whether this is an Automake generated Makefile or not.
-    # We used to match only the files named `Makefile.in', but
-    # some people rename them; so instead we look at the file content.
-    # Grep'ing the first line is not enough: some people post-process
-    # each Makefile.in and add a new line on top of each file to say so.
-    # Grep'ing the whole file is not good either: AIX grep has a line
-    # limit of 2048, but all sed's we know have understand at least 4000.
-    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
-      dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$mf" : 'X\(//\)[^/]' \| \
-        X"$mf" : 'X\(//\)$' \| \
-        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-    else
-      continue
-    fi
-    # Extract the definition of DEPDIR, am__include, and am__quote
-    # from the Makefile without running `make'.
-    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
-    test -z "$DEPDIR" && continue
-    am__include=`sed -n 's/^am__include = //p' < "$mf"`
-    test -z "am__include" && continue
-    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
-    # When using ansi2knr, U may be empty or an underscore; expand it
-    U=`sed -n 's/^U = //p' < "$mf"`
-    # Find all dependency output files, they are included files with
-    # $(DEPDIR) in their names.  We invoke sed twice because it is the
-    # simplest approach to changing $(DEPDIR) to its actual value in the
-    # expansion.
-    for file in `sed -n "
-      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
-        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
-      # Make sure the directory exists.
-      test -f "$dirpart/$file" && continue
-      fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$file" : 'X\(//\)[^/]' \| \
-        X"$file" : 'X\(//\)$' \| \
-        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)[^/].*/{
-           s//\1/
-           q
-         }
-         /^X\(\/\/\)$/{
-           s//\1/
-           q
-         }
-         /^X\(\/\).*/{
-           s//\1/
-           q
-         }
-         s/.*/./; q'`
-      as_dir=$dirpart/$fdir; as_fn_mkdir_p
-      # echo "creating $dirpart/$file"
-      echo '# dummy' > "$dirpart/$file"
-    done
-  done
-}
- ;;
-    "libtool":C)
-
-    # See if we are running on zsh, and set the options which allow our
-    # commands through without removal of \ escapes.
-    if test -n "${ZSH_VERSION+set}" ; then
-      setopt NO_GLOB_SUBST
-    fi
-
-    cfgfile="${ofile}T"
-    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
-    $RM "$cfgfile"
-
-    cat <<_LT_EOF >> "$cfgfile"
-#! $SHELL
-
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
-#
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-#                 Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-#   This file is part of GNU Libtool.
-#
-# GNU Libtool is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# As a special exception to the GNU General Public License,
-# if you distribute this file as part of a program or library that
-# is built using GNU Libtool, you may include this file under the
-# same distribution terms that you use for the rest of that program.
-#
-# GNU Libtool is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Libtool; see the file COPYING.  If not, a copy
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
-# obtained by writing to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-# The names of the tagged configurations supported by this script.
-available_tags=""
-
-# ### BEGIN LIBTOOL CONFIG
-
-# Which release of libtool.m4 was used?
-macro_version=$macro_version
-macro_revision=$macro_revision
-
-# Whether or not to build shared libraries.
-build_libtool_libs=$enable_shared
-
-# Whether or not to build static libraries.
-build_old_libs=$enable_static
-
-# What type of objects to build.
-pic_mode=$pic_mode
-
-# Whether or not to optimize for fast installation.
-fast_install=$enable_fast_install
-
-# Shell to use when invoking shell scripts.
-SHELL=$lt_SHELL
-
-# An echo program that protects backslashes.
-ECHO=$lt_ECHO
-
-# The PATH separator for the build system.
-PATH_SEPARATOR=$lt_PATH_SEPARATOR
-
-# The host system.
-host_alias=$host_alias
-host=$host
-host_os=$host_os
-
-# The build system.
-build_alias=$build_alias
-build=$build
-build_os=$build_os
-
-# A sed program that does not truncate output.
-SED=$lt_SED
-
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
-Xsed="\$SED -e 1s/^X//"
-
-# A grep program that handles long lines.
-GREP=$lt_GREP
-
-# An ERE matcher.
-EGREP=$lt_EGREP
-
-# A literal string matcher.
-FGREP=$lt_FGREP
-
-# A BSD- or MS-compatible name lister.
-NM=$lt_NM
-
-# Whether we need soft or hard links.
-LN_S=$lt_LN_S
-
-# What is the maximum length of a command?
-max_cmd_len=$max_cmd_len
-
-# Object file suffix (normally "o").
-objext=$ac_objext
-
-# Executable file suffix (normally "").
-exeext=$exeext
-
-# whether the shell understands "unset".
-lt_unset=$lt_unset
-
-# turn spaces into newlines.
-SP2NL=$lt_lt_SP2NL
-
-# turn newlines into spaces.
-NL2SP=$lt_lt_NL2SP
-
-# convert \$build file names to \$host format.
-to_host_file_cmd=$lt_cv_to_host_file_cmd
-
-# convert \$build files to toolchain format.
-to_tool_file_cmd=$lt_cv_to_tool_file_cmd
-
-# An object symbol dumper.
-OBJDUMP=$lt_OBJDUMP
-
-# Method to check whether dependent libraries are shared objects.
-deplibs_check_method=$lt_deplibs_check_method
-
-# Command to use when deplibs_check_method = "file_magic".
-file_magic_cmd=$lt_file_magic_cmd
-
-# How to find potential files when deplibs_check_method = "file_magic".
-file_magic_glob=$lt_file_magic_glob
-
-# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
-want_nocaseglob=$lt_want_nocaseglob
-
-# DLL creation program.
-DLLTOOL=$lt_DLLTOOL
-
-# Command to associate shared and link libraries.
-sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
-
-# The archiver.
-AR=$lt_AR
-
-# Flags to create an archive.
-AR_FLAGS=$lt_AR_FLAGS
-
-# How to feed a file listing to the archiver.
-archiver_list_spec=$lt_archiver_list_spec
-
-# A symbol stripping program.
-STRIP=$lt_STRIP
-
-# Commands used to install an old-style archive.
-RANLIB=$lt_RANLIB
-old_postinstall_cmds=$lt_old_postinstall_cmds
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
-
-# Whether to use a lock for old archive extraction.
-lock_old_archive_extraction=$lock_old_archive_extraction
-
-# A C compiler.
-LTCC=$lt_CC
-
-# LTCC compiler flags.
-LTCFLAGS=$lt_CFLAGS
-
-# Take the output of nm and produce a listing of raw symbols and C names.
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
-
-# Transform the output of nm in a proper C declaration.
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
-
-# Transform the output of nm in a C name address pair.
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
-
-# Transform the output of nm in a C name address pair when lib prefix is needed.
-global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
-
-# Specify filename containing input files for \$NM.
-nm_file_list_spec=$lt_nm_file_list_spec
-
-# The root where to search for dependent libraries,and in which our libraries should be installed.
-lt_sysroot=$lt_sysroot
-
-# The name of the directory that contains temporary libtool files.
-objdir=$objdir
-
-# Used to examine libraries when file_magic_cmd begins with "file".
-MAGIC_CMD=$MAGIC_CMD
-
-# Must we lock files when doing compilation?
-need_locks=$lt_need_locks
-
-# Manifest tool.
-MANIFEST_TOOL=$lt_MANIFEST_TOOL
-
-# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
-DSYMUTIL=$lt_DSYMUTIL
-
-# Tool to change global to local symbols on Mac OS X.
-NMEDIT=$lt_NMEDIT
-
-# Tool to manipulate fat objects and archives on Mac OS X.
-LIPO=$lt_LIPO
-
-# ldd/readelf like tool for Mach-O binaries on Mac OS X.
-OTOOL=$lt_OTOOL
-
-# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
-OTOOL64=$lt_OTOOL64
-
-# Old archive suffix (normally "a").
-libext=$libext
-
-# Shared library suffix (normally ".so").
-shrext_cmds=$lt_shrext_cmds
-
-# The commands to extract the exported symbol list from a shared archive.
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
-
-# Variables whose values should be saved in libtool wrapper scripts and
-# restored at link time.
-variables_saved_for_relink=$lt_variables_saved_for_relink
-
-# Do we need the "lib" prefix for modules?
-need_lib_prefix=$need_lib_prefix
-
-# Do we need a version for libraries?
-need_version=$need_version
-
-# Library versioning type.
-version_type=$version_type
-
-# Shared library runtime path variable.
-runpath_var=$runpath_var
-
-# Shared library path variable.
-shlibpath_var=$shlibpath_var
-
-# Is shlibpath searched before the hard-coded library search path?
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
-
-# Format of library name prefix.
-libname_spec=$lt_libname_spec
-
-# List of archive names.  First name is the real one, the rest are links.
-# The last name is the one that the linker finds with -lNAME
-library_names_spec=$lt_library_names_spec
-
-# The coded name of the library, if different from the real name.
-soname_spec=$lt_soname_spec
-
-# Permission mode override for installation of shared libraries.
-install_override_mode=$lt_install_override_mode
-
-# Command to use after installation of a shared archive.
-postinstall_cmds=$lt_postinstall_cmds
-
-# Command to use after uninstallation of a shared archive.
-postuninstall_cmds=$lt_postuninstall_cmds
-
-# Commands used to finish a libtool library installation in a directory.
-finish_cmds=$lt_finish_cmds
-
-# As "finish_cmds", except a single script fragment to be evaled but
-# not shown.
-finish_eval=$lt_finish_eval
-
-# Whether we should hardcode library paths into libraries.
-hardcode_into_libs=$hardcode_into_libs
-
-# Compile-time system search path for libraries.
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
-
-# Run-time system search path for libraries.
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
-
-# Whether dlopen is supported.
-dlopen_support=$enable_dlopen
-
-# Whether dlopen of programs is supported.
-dlopen_self=$enable_dlopen_self
-
-# Whether dlopen of statically linked programs is supported.
-dlopen_self_static=$enable_dlopen_self_static
-
-# Commands to strip libraries.
-old_striplib=$lt_old_striplib
-striplib=$lt_striplib
-
-
-# The linker used to build libraries.
-LD=$lt_LD
-
-# How to create reloadable object files.
-reload_flag=$lt_reload_flag
-reload_cmds=$lt_reload_cmds
-
-# Commands used to build an old-style archive.
-old_archive_cmds=$lt_old_archive_cmds
-
-# A language specific compiler.
-CC=$lt_compiler
-
-# Is the compiler the GNU compiler?
-with_gcc=$GCC
-
-# Compiler flag to turn off builtin functions.
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
-
-# Additional compiler flags for building library objects.
-pic_flag=$lt_lt_prog_compiler_pic
-
-# How to pass a linker flag through the compiler.
-wl=$lt_lt_prog_compiler_wl
-
-# Compiler flag to prevent dynamic linking.
-link_static_flag=$lt_lt_prog_compiler_static
-
-# Does compiler simultaneously support -c and -o options?
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o
-
-# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=$archive_cmds_need_lc
-
-# Whether or not to disallow shared libs when runtime libs are static.
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
-
-# Compiler flag to allow reflexive dlopens.
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
-
-# Compiler flag to generate shared objects directly from archives.
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
-
-# Whether the compiler copes with passing no objects directly.
-compiler_needs_object=$lt_compiler_needs_object
-
-# Create an old-style archive from a shared archive.
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
-
-# Create a temporary old-style archive to link instead of a shared archive.
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
-
-# Commands used to build a shared archive.
-archive_cmds=$lt_archive_cmds
-archive_expsym_cmds=$lt_archive_expsym_cmds
-
-# Commands used to build a loadable module if different from building
-# a shared archive.
-module_cmds=$lt_module_cmds
-module_expsym_cmds=$lt_module_expsym_cmds
-
-# Whether we are building with GNU ld or not.
-with_gnu_ld=$lt_with_gnu_ld
-
-# Flag that allows shared libraries with undefined symbols to be built.
-allow_undefined_flag=$lt_allow_undefined_flag
-
-# Flag that enforces no undefined symbols.
-no_undefined_flag=$lt_no_undefined_flag
-
-# Flag to hardcode \$libdir into a binary during linking.
-# This must work even if \$libdir does not exist
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
-
-# Whether we need a single "-rpath" flag with a separated argument.
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
-
-# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
-# DIR into the resulting binary.
-hardcode_direct=$hardcode_direct
-
-# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
-# DIR into the resulting binary and the resulting library dependency is
-# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
-# library is relocated.
-hardcode_direct_absolute=$hardcode_direct_absolute
-
-# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
-# into the resulting binary.
-hardcode_minus_L=$hardcode_minus_L
-
-# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
-# into the resulting binary.
-hardcode_shlibpath_var=$hardcode_shlibpath_var
-
-# Set to "yes" if building a shared library automatically hardcodes DIR
-# into the library and all subsequent libraries and executables linked
-# against it.
-hardcode_automatic=$hardcode_automatic
-
-# Set to yes if linker adds runtime paths of dependent libraries
-# to runtime path list.
-inherit_rpath=$inherit_rpath
-
-# Whether libtool must link a program against all its dependency libraries.
-link_all_deplibs=$link_all_deplibs
-
-# Set to "yes" if exported symbols are required.
-always_export_symbols=$always_export_symbols
-
-# The commands to list exported symbols.
-export_symbols_cmds=$lt_export_symbols_cmds
-
-# Symbols that should not be listed in the preloaded symbols.
-exclude_expsyms=$lt_exclude_expsyms
-
-# Symbols that must always be exported.
-include_expsyms=$lt_include_expsyms
-
-# Commands necessary for linking programs (against libraries) with templates.
-prelink_cmds=$lt_prelink_cmds
-
-# Commands necessary for finishing linking programs.
-postlink_cmds=$lt_postlink_cmds
-
-# Specify filename containing input files.
-file_list_spec=$lt_file_list_spec
-
-# How to hardcode a shared library path into an executable.
-hardcode_action=$hardcode_action
-
-# ### END LIBTOOL CONFIG
-
-_LT_EOF
-
-  case $host_os in
-  aix3*)
-    cat <<\_LT_EOF >> "$cfgfile"
-# AIX sometimes has problems with the GCC collect2 program.  For some
-# reason, if we set the COLLECT_NAMES environment variable, the problems
-# vanish in a puff of smoke.
-if test "X${COLLECT_NAMES+set}" != Xset; then
-  COLLECT_NAMES=
-  export COLLECT_NAMES
-fi
-_LT_EOF
-    ;;
-  esac
-
-
-ltmain="$ac_aux_dir/ltmain.sh"
-
-
-  # We use sed instead of cat because bash on DJGPP gets confused if
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
-  # text mode, it properly converts lines to CR/LF.  This bash problem
-  # is reportedly fixed, but why not run on old versions too?
-  sed '$q' "$ltmain" >> "$cfgfile" \
-     || (rm -f "$cfgfile"; exit 1)
-
-  if test x"$xsi_shell" = xyes; then
-  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
-func_dirname ()\
-{\
-\    case ${1} in\
-\      */*) func_dirname_result="${1%/*}${2}" ;;\
-\      *  ) func_dirname_result="${3}" ;;\
-\    esac\
-} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_basename ()$/,/^} # func_basename /c\
-func_basename ()\
-{\
-\    func_basename_result="${1##*/}"\
-} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
-func_dirname_and_basename ()\
-{\
-\    case ${1} in\
-\      */*) func_dirname_result="${1%/*}${2}" ;;\
-\      *  ) func_dirname_result="${3}" ;;\
-\    esac\
-\    func_basename_result="${1##*/}"\
-} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
-func_stripname ()\
-{\
-\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
-\    # positional parameters, so assign one to ordinary parameter first.\
-\    func_stripname_result=${3}\
-\    func_stripname_result=${func_stripname_result#"${1}"}\
-\    func_stripname_result=${func_stripname_result%"${2}"}\
-} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
-func_split_long_opt ()\
-{\
-\    func_split_long_opt_name=${1%%=*}\
-\    func_split_long_opt_arg=${1#*=}\
-} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
-func_split_short_opt ()\
-{\
-\    func_split_short_opt_arg=${1#??}\
-\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
-} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
-func_lo2o ()\
-{\
-\    case ${1} in\
-\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
-\      *)    func_lo2o_result=${1} ;;\
-\    esac\
-} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_xform ()$/,/^} # func_xform /c\
-func_xform ()\
-{\
-    func_xform_result=${1%.*}.lo\
-} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_arith ()$/,/^} # func_arith /c\
-func_arith ()\
-{\
-    func_arith_result=$(( $* ))\
-} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_len ()$/,/^} # func_len /c\
-func_len ()\
-{\
-    func_len_result=${#1}\
-} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-fi
-
-if test x"$lt_shell_append" = xyes; then
-  sed -e '/^func_append ()$/,/^} # func_append /c\
-func_append ()\
-{\
-    eval "${1}+=\\${2}"\
-} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
-func_append_quoted ()\
-{\
-\    func_quote_for_eval "${2}"\
-\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
-} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
-  && mv -f "$cfgfile.tmp" "$cfgfile" \
-    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-test 0 -eq $? || _lt_function_replace_fail=:
-
-
-  # Save a `func_append' function call where possible by direct use of '+='
-  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
-    && mv -f "$cfgfile.tmp" "$cfgfile" \
-      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-  test 0 -eq $? || _lt_function_replace_fail=:
-else
-  # Save a `func_append' function call even when '+=' is not available
-  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
-    && mv -f "$cfgfile.tmp" "$cfgfile" \
-      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
-  test 0 -eq $? || _lt_function_replace_fail=:
-fi
-
-if test x"$_lt_function_replace_fail" = x":"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
-$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
-fi
-
-
-   mv -f "$cfgfile" "$ofile" ||
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
-  chmod +x "$ofile"
-
- ;;
-
-  esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
-  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded.  So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status.  When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
-  ac_cs_success=:
-  ac_config_status_args=
-  test "$silent" = yes &&
-    ac_config_status_args="$ac_config_status_args --quiet"
-  exec 5>/dev/null
-  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
-  exec 5>>config.log
-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
-  # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-echo ""
-echo "X11 will be built with the following settings:"
-echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
-echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
-echo " Threading support:                       "$xthreads
-echo " Use Threads safe API:                    "$mtsafeapi
-echo " Threads stubs in libX11:                 "$thrstubs
-echo " XCMS:                                    "$XCMS
-echo " Internationalization support:            "$XLOCALE
-echo " XF86BigFont support:                     "$XF86BIGFONT
-echo " XKB support:                             "$XKB
-echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
-echo " Compose table cache enabled:             "$COMPOSECACHE
-echo " Functional specs building enabled:       "$build_specs
-echo ""
index 48a0c8a..8ad1f00 100644 (file)
@@ -1,7 +1,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libX11], [1.5.0],
+AC_INIT([libX11], [1.6.2],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libX11])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([src/config.h include/X11/XlibConf.h])
@@ -15,7 +15,6 @@ AC_USE_SYSTEM_EXTENSIONS
 
 # Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
-AM_MAINTAINER_MODE
 
 # Initialize libtool
 AC_PROG_LIBTOOL
@@ -177,7 +176,7 @@ else
        AC_DEFINE(HAVE_DLOPEN,1,[Use dlopen to load shared libraries])
        AC_CHECK_HEADERS([dlfcn.h])
 fi
-if test x$ac_cv_header_dlcfn_h -o x$ac_cv_header_dl_h; then
+if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
        HAVE_LOADABLE_MODULES=yes
 else
        HAVE_LOADABLE_MODULES=no
@@ -306,7 +305,15 @@ AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
 # Find keysymdef.h
 #
 AC_MSG_CHECKING([keysym definitions])
-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
+AC_ARG_WITH([keysymdefdir],
+        [AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h (defaults to xproto include dir)])],
+        [KEYSYMDEFDIR=$withval],
+        [KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11])
+
+if test ! -d "$KEYSYMDEFDIR"; then
+       AC_MSG_ERROR([$KEYSYMDEFDIR doesn't exist or isn't a directory])
+fi
+
 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
 for i in $FILES; do
     if test -f "$KEYSYMDEFDIR/$i"; then
@@ -318,8 +325,6 @@ done
 AC_MSG_RESULT([$KEYSYMDEFS])
 AC_SUBST(KEYSYMDEFS)
 
-AM_CONDITIONAL(UDC, test xfalse = xtrue)
-
 AC_ARG_ENABLE(xcms,
               AS_HELP_STRING([--disable-xcms],
                 [Disable Xlib support for CMS *EXPERIMENTAL*]),
@@ -431,9 +436,9 @@ locales="\
  iso8859-1    iso8859-10  iso8859-11  iso8859-13   iso8859-14   iso8859-15 \
  iso8859-2    iso8859-3   iso8859-4   iso8859-5    iso8859-6    iso8859-7 \
  iso8859-8    iso8859-9   iso8859-9e  ja           ja.JIS       ja_JP.UTF-8\
- ja.S90       ja.SJIS     ja.U90      ko           koi8-c       koi8-r \
- koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
- microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  ru_RU.UTF-8 \
+ ja.SJIS      km_KH.UTF-8 ko          koi8-c       koi8-r       koi8-u     \
+ ko_KR.UTF-8  microsoft-cp1251        microsoft-cp1255     microsoft-cp1256 \
+ mulelao-1    nokhchi-1   pt_BR.UTF-8 ru_RU.UTF-8  sr_CS.UTF-8              \
  tatar-cyr    th_TH       th_TH.UTF-8 tscii-0      vi_VN.tcvn   vi_VN.viscii \
  zh_CN        zh_CN.gb18030           zh_CN.gbk    zh_CN.UTF-8  zh_HK.big5 \
  zh_HK.big5hkscs          zh_HK.UTF-8 zh_TW        zh_TW.big5   zh_TW.UTF-8"
diff --git a/depcomp b/depcomp
deleted file mode 100755 (executable)
index bd0ac08..0000000
--- a/depcomp
+++ /dev/null
@@ -1,688 +0,0 @@
-#! /bin/sh
-# depcomp - compile a program generating dependencies as side-effects
-
-scriptversion=2011-12-04.11; # UTC
-
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
-
-case $1 in
-  '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
-     exit 1;
-     ;;
-  -h | --h*)
-    cat <<\EOF
-Usage: depcomp [--help] [--version] PROGRAM [ARGS]
-
-Run PROGRAMS ARGS to compile a file, generating dependencies
-as side-effects.
-
-Environment variables:
-  depmode     Dependency tracking mode.
-  source      Source file read by `PROGRAMS ARGS'.
-  object      Object file output by `PROGRAMS ARGS'.
-  DEPDIR      directory where to store dependencies.
-  depfile     Dependency file to output.
-  tmpdepfile  Temporary file to use when outputting dependencies.
-  libtool     Whether libtool is used (yes/no).
-
-Report bugs to <bug-automake@gnu.org>.
-EOF
-    exit $?
-    ;;
-  -v | --v*)
-    echo "depcomp $scriptversion"
-    exit $?
-    ;;
-esac
-
-if test -z "$depmode" || test -z "$source" || test -z "$object"; then
-  echo "depcomp: Variables source, object and depmode must be set" 1>&2
-  exit 1
-fi
-
-# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
-depfile=${depfile-`echo "$object" |
-  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
-tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
-
-rm -f "$tmpdepfile"
-
-# Some modes work just like other modes, but use different flags.  We
-# parameterize here, but still list the modes in the big case below,
-# to make depend.m4 easier to write.  Note that we *cannot* use a case
-# here, because this file can only contain one case statement.
-if test "$depmode" = hp; then
-  # HP compiler uses -M and no extra arg.
-  gccflag=-M
-  depmode=gcc
-fi
-
-if test "$depmode" = dashXmstdout; then
-   # This is just like dashmstdout with a different argument.
-   dashmflag=-xM
-   depmode=dashmstdout
-fi
-
-cygpath_u="cygpath -u -f -"
-if test "$depmode" = msvcmsys; then
-   # This is just like msvisualcpp but w/o cygpath translation.
-   # Just convert the backslash-escaped backslashes to single forward
-   # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
-   depmode=msvisualcpp
-fi
-
-if test "$depmode" = msvc7msys; then
-   # This is just like msvc7 but w/o cygpath translation.
-   # Just convert the backslash-escaped backslashes to single forward
-   # slashes to satisfy depend.m4
-   cygpath_u='sed s,\\\\,/,g'
-   depmode=msvc7
-fi
-
-case "$depmode" in
-gcc3)
-## gcc 3 implements dependency tracking that does exactly what
-## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
-## it if -MD -MP comes after the -MF stuff.  Hmm.
-## Unfortunately, FreeBSD c89 acceptance of flags depends upon
-## the command line argument order; so add the flags where they
-## appear in depend2.am.  Note that the slowdown incurred here
-## affects only configure: in makefiles, %FASTDEP% shortcuts this.
-  for arg
-  do
-    case $arg in
-    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
-    *)  set fnord "$@" "$arg" ;;
-    esac
-    shift # fnord
-    shift # $arg
-  done
-  "$@"
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  mv "$tmpdepfile" "$depfile"
-  ;;
-
-gcc)
-## There are various ways to get dependency output from gcc.  Here's
-## why we pick this rather obscure method:
-## - Don't want to use -MD because we'd like the dependencies to end
-##   up in a subdir.  Having to rename by hand is ugly.
-##   (We might end up doing this anyway to support other compilers.)
-## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
-##   -MM, not -M (despite what the docs say).
-## - Using -M directly means running the compiler twice (even worse
-##   than renaming).
-  if test -z "$gccflag"; then
-    gccflag=-MD,
-  fi
-  "$@" -Wp,"$gccflag$tmpdepfile"
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-  echo "$object : \\" > "$depfile"
-  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
-## The second -e expression handles DOS-style file names with drive letters.
-  sed -e 's/^[^:]*: / /' \
-      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
-## This next piece of magic avoids the `deleted header file' problem.
-## The problem is that when a header file which appears in a .P file
-## is deleted, the dependency causes make to die (because there is
-## typically no way to rebuild the header).  We avoid this by adding
-## dummy dependencies for each header file.  Too bad gcc doesn't do
-## this for us directly.
-  tr ' ' '
-' < "$tmpdepfile" |
-## Some versions of gcc put a space before the `:'.  On the theory
-## that the space means something, we add a space to the output as
-## well.  hp depmode also adds that space, but also prefixes the VPATH
-## to the object.  Take care to not repeat it in the output.
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
-      | sed -e 's/$/ :/' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-hp)
-  # This case exists only to let depend.m4 do its work.  It works by
-  # looking at the text of this script.  This case will never be run,
-  # since it is checked for above.
-  exit 1
-  ;;
-
-sgi)
-  if test "$libtool" = yes; then
-    "$@" "-Wp,-MDupdate,$tmpdepfile"
-  else
-    "$@" -MDupdate "$tmpdepfile"
-  fi
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-
-  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
-    echo "$object : \\" > "$depfile"
-
-    # Clip off the initial element (the dependent).  Don't try to be
-    # clever and replace this with sed code, as IRIX sed won't handle
-    # lines with more than a fixed number of characters (4096 in
-    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
-    # the IRIX cc adds comments like `#:fec' to the end of the
-    # dependency line.
-    tr ' ' '
-' < "$tmpdepfile" \
-    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
-    tr '
-' ' ' >> "$depfile"
-    echo >> "$depfile"
-
-    # The second pass generates a dummy entry for each header file.
-    tr ' ' '
-' < "$tmpdepfile" \
-   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
-   >> "$depfile"
-  else
-    # The sourcefile does not contain any dependencies, so just
-    # store a dummy comment line, to avoid errors with the Makefile
-    # "include basename.Plo" scheme.
-    echo "#dummy" > "$depfile"
-  fi
-  rm -f "$tmpdepfile"
-  ;;
-
-aix)
-  # The C for AIX Compiler uses -M and outputs the dependencies
-  # in a .u file.  In older versions, this file always lives in the
-  # current directory.  Also, the AIX compiler puts `$object:' at the
-  # start of each line; $object doesn't have directory information.
-  # Version 6 uses the directory in both cases.
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-  test "x$dir" = "x$object" && dir=
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
-  if test "$libtool" = yes; then
-    tmpdepfile1=$dir$base.u
-    tmpdepfile2=$base.u
-    tmpdepfile3=$dir.libs/$base.u
-    "$@" -Wc,-M
-  else
-    tmpdepfile1=$dir$base.u
-    tmpdepfile2=$dir$base.u
-    tmpdepfile3=$dir$base.u
-    "$@" -M
-  fi
-  stat=$?
-
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
-    exit $stat
-  fi
-
-  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
-  do
-    test -f "$tmpdepfile" && break
-  done
-  if test -f "$tmpdepfile"; then
-    # Each line is of the form `foo.o: dependent.h'.
-    # Do two passes, one to just change these to
-    # `$object: dependent.h' and one to simply `dependent.h:'.
-    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-    # That's a tab and a space in the [].
-    sed -e 's,^.*\.[a-z]*:[     ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
-  else
-    # The sourcefile does not contain any dependencies, so just
-    # store a dummy comment line, to avoid errors with the Makefile
-    # "include basename.Plo" scheme.
-    echo "#dummy" > "$depfile"
-  fi
-  rm -f "$tmpdepfile"
-  ;;
-
-icc)
-  # Intel's C compiler understands `-MD -MF file'.  However on
-  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
-  # ICC 7.0 will fill foo.d with something like
-  #    foo.o: sub/foo.c
-  #    foo.o: sub/foo.h
-  # which is wrong.  We want:
-  #    sub/foo.o: sub/foo.c
-  #    sub/foo.o: sub/foo.h
-  #    sub/foo.c:
-  #    sub/foo.h:
-  # ICC 7.1 will output
-  #    foo.o: sub/foo.c sub/foo.h
-  # and will wrap long lines using \ :
-  #    foo.o: sub/foo.c ... \
-  #     sub/foo.h ... \
-  #     ...
-
-  "$@" -MD -MF "$tmpdepfile"
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-  # Each line is of the form `foo.o: dependent.h',
-  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
-  # Do two passes, one to just change these to
-  # `$object: dependent.h' and one to simply `dependent.h:'.
-  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
-  # Some versions of the HPUX 10.20 sed can't process this invocation
-  # correctly.  Breaking it into two sed invocations is a workaround.
-  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
-    sed -e 's/$/ :/' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-hp2)
-  # The "hp" stanza above does not work with aCC (C++) and HP's ia64
-  # compilers, which have integrated preprocessors.  The correct option
-  # to use with these is +Maked; it writes dependencies to a file named
-  # 'foo.d', which lands next to the object file, wherever that
-  # happens to be.
-  # Much of this is similar to the tru64 case; see comments there.
-  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-  test "x$dir" = "x$object" && dir=
-  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
-  if test "$libtool" = yes; then
-    tmpdepfile1=$dir$base.d
-    tmpdepfile2=$dir.libs/$base.d
-    "$@" -Wc,+Maked
-  else
-    tmpdepfile1=$dir$base.d
-    tmpdepfile2=$dir$base.d
-    "$@" +Maked
-  fi
-  stat=$?
-  if test $stat -eq 0; then :
-  else
-     rm -f "$tmpdepfile1" "$tmpdepfile2"
-     exit $stat
-  fi
-
-  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
-  do
-    test -f "$tmpdepfile" && break
-  done
-  if test -f "$tmpdepfile"; then
-    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
-    # Add `dependent.h:' lines.
-    sed -ne '2,${
-              s/^ *//
-              s/ \\*$//
-              s/$/:/
-              p
-            }' "$tmpdepfile" >> "$depfile"
-  else
-    echo "#dummy" > "$depfile"
-  fi
-  rm -f "$tmpdepfile" "$tmpdepfile2"
-  ;;
-
-tru64)
-   # The Tru64 compiler uses -MD to generate dependencies as a side
-   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
-   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
-   # dependencies in `foo.d' instead, so we check for that too.
-   # Subdirectories are respected.
-   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
-   test "x$dir" = "x$object" && dir=
-   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
-
-   if test "$libtool" = yes; then
-      # With Tru64 cc, shared objects can also be used to make a
-      # static library.  This mechanism is used in libtool 1.4 series to
-      # handle both shared and static libraries in a single compilation.
-      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
-      #
-      # With libtool 1.5 this exception was removed, and libtool now
-      # generates 2 separate objects for the 2 libraries.  These two
-      # compilations output dependencies in $dir.libs/$base.o.d and
-      # in $dir$base.o.d.  We have to check for both files, because
-      # one of the two compilations can be disabled.  We should prefer
-      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
-      # automatically cleaned when .libs/ is deleted, while ignoring
-      # the former would cause a distcleancheck panic.
-      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
-      tmpdepfile2=$dir$base.o.d          # libtool 1.5
-      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
-      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
-      "$@" -Wc,-MD
-   else
-      tmpdepfile1=$dir$base.o.d
-      tmpdepfile2=$dir$base.d
-      tmpdepfile3=$dir$base.d
-      tmpdepfile4=$dir$base.d
-      "$@" -MD
-   fi
-
-   stat=$?
-   if test $stat -eq 0; then :
-   else
-      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
-      exit $stat
-   fi
-
-   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
-   do
-     test -f "$tmpdepfile" && break
-   done
-   if test -f "$tmpdepfile"; then
-      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-      # That's a tab and a space in the [].
-      sed -e 's,^.*\.[a-z]*:[   ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
-   else
-      echo "#dummy" > "$depfile"
-   fi
-   rm -f "$tmpdepfile"
-   ;;
-
-msvc7)
-  if test "$libtool" = yes; then
-    showIncludes=-Wc,-showIncludes
-  else
-    showIncludes=-showIncludes
-  fi
-  "$@" $showIncludes > "$tmpdepfile"
-  stat=$?
-  grep -v '^Note: including file: ' "$tmpdepfile"
-  if test "$stat" = 0; then :
-  else
-    rm -f "$tmpdepfile"
-    exit $stat
-  fi
-  rm -f "$depfile"
-  echo "$object : \\" > "$depfile"
-  # The first sed program below extracts the file names and escapes
-  # backslashes for cygpath.  The second sed program outputs the file
-  # name when reading, but also accumulates all include files in the
-  # hold buffer in order to output them again at the end.  This only
-  # works with sed implementations that can handle large buffers.
-  sed < "$tmpdepfile" -n '
-/^Note: including file:  *\(.*\)/ {
-  s//\1/
-  s/\\/\\\\/g
-  p
-}' | $cygpath_u | sort -u | sed -n '
-s/ /\\ /g
-s/\(.*\)/      \1 \\/p
-s/.\(.*\) \\/\1:/
-H
-$ {
-  s/.*/        /
-  G
-  p
-}' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-msvc7msys)
-  # This case exists only to let depend.m4 do its work.  It works by
-  # looking at the text of this script.  This case will never be run,
-  # since it is checked for above.
-  exit 1
-  ;;
-
-#nosideeffect)
-  # This comment above is used by automake to tell side-effect
-  # dependency tracking mechanisms from slower ones.
-
-dashmstdout)
-  # Important note: in order to support this mode, a compiler *must*
-  # always write the preprocessed file to stdout, regardless of -o.
-  "$@" || exit $?
-
-  # Remove the call to Libtool.
-  if test "$libtool" = yes; then
-    while test "X$1" != 'X--mode=compile'; do
-      shift
-    done
-    shift
-  fi
-
-  # Remove `-o $object'.
-  IFS=" "
-  for arg
-  do
-    case $arg in
-    -o)
-      shift
-      ;;
-    $object)
-      shift
-      ;;
-    *)
-      set fnord "$@" "$arg"
-      shift # fnord
-      shift # $arg
-      ;;
-    esac
-  done
-
-  test -z "$dashmflag" && dashmflag=-M
-  # Require at least two characters before searching for `:'
-  # in the target name.  This is to cope with DOS-style filenames:
-  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
-  "$@" $dashmflag |
-    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
-  rm -f "$depfile"
-  cat < "$tmpdepfile" > "$depfile"
-  tr ' ' '
-' < "$tmpdepfile" | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-dashXmstdout)
-  # This case only exists to satisfy depend.m4.  It is never actually
-  # run, as this mode is specially recognized in the preamble.
-  exit 1
-  ;;
-
-makedepend)
-  "$@" || exit $?
-  # Remove any Libtool call
-  if test "$libtool" = yes; then
-    while test "X$1" != 'X--mode=compile'; do
-      shift
-    done
-    shift
-  fi
-  # X makedepend
-  shift
-  cleared=no eat=no
-  for arg
-  do
-    case $cleared in
-    no)
-      set ""; shift
-      cleared=yes ;;
-    esac
-    if test $eat = yes; then
-      eat=no
-      continue
-    fi
-    case "$arg" in
-    -D*|-I*)
-      set fnord "$@" "$arg"; shift ;;
-    # Strip any option that makedepend may not understand.  Remove
-    # the object too, otherwise makedepend will parse it as a source file.
-    -arch)
-      eat=yes ;;
-    -*|$object)
-      ;;
-    *)
-      set fnord "$@" "$arg"; shift ;;
-    esac
-  done
-  obj_suffix=`echo "$object" | sed 's/^.*\././'`
-  touch "$tmpdepfile"
-  ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
-  rm -f "$depfile"
-  # makedepend may prepend the VPATH from the source file name to the object.
-  # No need to regex-escape $object, excess matching of '.' is harmless.
-  sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
-  sed '1,2d' "$tmpdepfile" | tr ' ' '
-' | \
-## Some versions of the HPUX 10.20 sed can't process this invocation
-## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
-  rm -f "$tmpdepfile" "$tmpdepfile".bak
-  ;;
-
-cpp)
-  # Important note: in order to support this mode, a compiler *must*
-  # always write the preprocessed file to stdout.
-  "$@" || exit $?
-
-  # Remove the call to Libtool.
-  if test "$libtool" = yes; then
-    while test "X$1" != 'X--mode=compile'; do
-      shift
-    done
-    shift
-  fi
-
-  # Remove `-o $object'.
-  IFS=" "
-  for arg
-  do
-    case $arg in
-    -o)
-      shift
-      ;;
-    $object)
-      shift
-      ;;
-    *)
-      set fnord "$@" "$arg"
-      shift # fnord
-      shift # $arg
-      ;;
-    esac
-  done
-
-  "$@" -E |
-    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
-    sed '$ s: \\$::' > "$tmpdepfile"
-  rm -f "$depfile"
-  echo "$object : \\" > "$depfile"
-  cat < "$tmpdepfile" >> "$depfile"
-  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-msvisualcpp)
-  # Important note: in order to support this mode, a compiler *must*
-  # always write the preprocessed file to stdout.
-  "$@" || exit $?
-
-  # Remove the call to Libtool.
-  if test "$libtool" = yes; then
-    while test "X$1" != 'X--mode=compile'; do
-      shift
-    done
-    shift
-  fi
-
-  IFS=" "
-  for arg
-  do
-    case "$arg" in
-    -o)
-      shift
-      ;;
-    $object)
-      shift
-      ;;
-    "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
-       set fnord "$@"
-       shift
-       shift
-       ;;
-    *)
-       set fnord "$@" "$arg"
-       shift
-       shift
-       ;;
-    esac
-  done
-  "$@" -E 2>/dev/null |
-  sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
-  rm -f "$depfile"
-  echo "$object : \\" > "$depfile"
-  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::     \1 \\:p' >> "$depfile"
-  echo "       " >> "$depfile"
-  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
-  rm -f "$tmpdepfile"
-  ;;
-
-msvcmsys)
-  # This case exists only to let depend.m4 do its work.  It works by
-  # looking at the text of this script.  This case will never be run,
-  # since it is checked for above.
-  exit 1
-  ;;
-
-none)
-  exec "$@"
-  ;;
-
-*)
-  echo "Unknown depmode $depmode" 1>&2
-  exit 1
-  ;;
-esac
-
-exit 0
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
diff --git a/include/Makefile.in b/include/Makefile.in
deleted file mode 100644 (file)
index 7c4e694..0000000
+++ /dev/null
@@ -1,571 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = include
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(x11include_HEADERS)
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(x11includedir)" \
-       "$(DESTDIR)$(x11includedir)"
-HEADERS = $(nodist_x11include_HEADERS) $(x11include_HEADERS)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-x11includedir = ${includedir}/X11
-x11include_HEADERS = \
-       X11/XKBlib.h \
-       X11/Xcms.h \
-       X11/Xlib.h \
-       X11/Xlibint.h \
-       X11/Xlocale.h \
-       X11/Xresource.h \
-       X11/Xutil.h \
-       X11/cursorfont.h \
-       X11/Xregion.h \
-       X11/ImUtil.h \
-       X11/Xlib-xcb.h
-
-nodist_x11include_HEADERS = \
-       X11/XlibConf.h
-
-EXTRA_DIST = \
-       X11/XlibConf.h.in
-
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign include/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-nodist_x11includeHEADERS: $(nodist_x11include_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11includedir)" || $(MKDIR_P) "$(DESTDIR)$(x11includedir)"
-       @list='$(nodist_x11include_HEADERS)'; test -n "$(x11includedir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(x11includedir)'"; \
-         $(INSTALL_HEADER) $$files "$(DESTDIR)$(x11includedir)" || exit $$?; \
-       done
-
-uninstall-nodist_x11includeHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(nodist_x11include_HEADERS)'; test -n "$(x11includedir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(x11includedir)'; $(am__uninstall_files_from_dir)
-install-x11includeHEADERS: $(x11include_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11includedir)" || $(MKDIR_P) "$(DESTDIR)$(x11includedir)"
-       @list='$(x11include_HEADERS)'; test -n "$(x11includedir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(x11includedir)'"; \
-         $(INSTALL_HEADER) $$files "$(DESTDIR)$(x11includedir)" || exit $$?; \
-       done
-
-uninstall-x11includeHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(x11include_HEADERS)'; test -n "$(x11includedir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(x11includedir)'; $(am__uninstall_files_from_dir)
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(HEADERS)
-installdirs:
-       for dir in "$(DESTDIR)$(x11includedir)" "$(DESTDIR)$(x11includedir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-nodist_x11includeHEADERS \
-       install-x11includeHEADERS
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-nodist_x11includeHEADERS \
-       uninstall-x11includeHEADERS
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool ctags distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-nodist_x11includeHEADERS \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip install-x11includeHEADERS installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-nodist_x11includeHEADERS \
-       uninstall-x11includeHEADERS
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/include/X11/.gitignore b/include/X11/.gitignore
new file mode 100644 (file)
index 0000000..b43616a
--- /dev/null
@@ -0,0 +1,2 @@
+#              Add & Override for this directory and it's subdirectories
+XlibConf.h
index 8151fd1..6631854 100644 (file)
 
 #include <X11/Xlib.h>
 
+/* The Xcms structs are full of implicit padding to properly align members.
+   We can't clean that up without breaking ABI, so tell clang not to bother
+   complaining about it. */
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpadded"
+#endif
+
     /*
      * XCMS Status Values
      */
@@ -798,6 +806,10 @@ extern Visual *XcmsVisualOfCCC (
     XcmsCCC            /* ccc */
 );
 
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 _XFUNCPROTOEND
 
 #endif /* _X11_XCMS_H_ */
index dd4c7c4..65f253c 100644 (file)
@@ -81,6 +81,14 @@ _Xmblen(
    November 2000. Its presence is indicated through the following macro. */
 #define X_HAVE_UTF8_STRING 1
 
+/* The Xlib structs are full of implicit padding to properly align members.
+   We can't clean that up without breaking ABI, so tell clang not to bother
+   complaining about it. */
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpadded"
+#endif
+
 typedef char *XPointer;
 
 #define Bool int
@@ -120,11 +128,7 @@ typedef char *XPointer;
 #define BitmapBitOrder(dpy)    (((_XPrivDisplay)dpy)->bitmap_bit_order)
 #define BitmapPad(dpy)                 (((_XPrivDisplay)dpy)->bitmap_pad)
 #define ImageByteOrder(dpy)    (((_XPrivDisplay)dpy)->byte_order)
-#ifdef CRAY /* unable to get WORD64 without pulling in other symbols */
-#define NextRequest(dpy)       XNextRequest(dpy)
-#else
 #define NextRequest(dpy)       (((_XPrivDisplay)dpy)->request + 1)
-#endif
 #define LastKnownRequestProcessed(dpy) (((_XPrivDisplay)dpy)->last_request_read)
 
 /* macros for screen oriented applications (toolkit) */
@@ -4019,6 +4023,10 @@ extern void XFreeEventData(
     XGenericEventCookie*       /* cookie*/
 );
 
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 _XFUNCPROTOEND
 
 #endif /* _X11_XLIB_H_ */
index 80edeec..4431559 100644 (file)
@@ -42,6 +42,14 @@ from The Open Group.
 #include <X11/Xproto.h>                /* to declare xEvent */
 #include <X11/XlibConf.h>      /* for configured options like XTHREADS */
 
+/* The Xlib structs are full of implicit padding to properly align members.
+   We can't clean that up without breaking ABI, so tell clang not to bother
+   complaining about it. */
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpadded"
+#endif
+
 #ifdef WIN32
 #define _XFlush _XFlushIt
 #endif
@@ -201,13 +209,6 @@ struct _XDisplay
 
 #define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n)
 
-/*
- * define the following if you want the Data macro to be a procedure instead
- */
-#ifdef CRAY
-#define DataRoutineIsProcedure
-#endif /* CRAY */
-
 #ifndef _XEVENT_
 /*
  * _QEvent datatype for use in input queueing.
@@ -400,25 +401,8 @@ extern LockInfoPtr _Xglobal_lock;
  * X Protocol packetizing macros.
  */
 
-/*   Need to start requests on 64 bit word boundaries
- *   on a CRAY computer so add a NoOp (127) if needed.
- *   A character pointer on a CRAY computer will be non-zero
- *   after shifting right 61 bits of it is not pointing to
- *   a word boundary.
- */
-#ifdef WORD64
-#define WORD64ALIGN if ((long)dpy->bufptr >> 61) {\
-           dpy->last_req = dpy->bufptr;\
-           *(dpy->bufptr)   = X_NoOperation;\
-           *(dpy->bufptr+1) =  0;\
-           *(dpy->bufptr+2) =  0;\
-           *(dpy->bufptr+3) =  1;\
-             dpy->request++;\
-             dpy->bufptr += 4;\
-         }
-#else /* else does not require alignment on 64-bit boundaries */
+/* Leftover from CRAY support - was defined empty on all non-Cray systems */
 #define WORD64ALIGN
-#endif /* WORD64 */
 
 /**
  * Return a len-sized request buffer for the request type. This function may
@@ -436,14 +420,8 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
 /* GetReqSized is the same as GetReq but allows the caller to specify the
  * size in bytes. 'sz' must be a multiple of 4! */
 
-#if !defined(UNIXCPP) || defined(ANSICPP)
 #define GetReqSized(name, sz, req) \
        req = (x##name##Req *) _XGetRequest(dpy, X_##name, sz)
-#else
-#define GetReqSized(name, sz, req) \
-       req = (x/**/name/**/Req *) _XGetRequest(dpy, X_/**/name, sz)
-#endif
-
 
 /*
  * GetReq - Get the next available X request packet in the buffer and
@@ -454,25 +432,14 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
  *
  */
 
-#if !defined(UNIXCPP) || defined(ANSICPP)
 #define GetReq(name, req) \
        GetReqSized(name, SIZEOF(x##name##Req), req)
-#else  /* non-ANSI C uses empty comment instead of "##" for token concatenation */
-#define GetReq(name, req) \
-       GetReqSized(name, SIZEOF(x/**/name/**/Req), req)
-#endif
 
 /* GetReqExtra is the same as GetReq, but allocates "n" additional
    bytes after the request. "n" must be a multiple of 4!  */
 
-#if !defined(UNIXCPP) || defined(ANSICPP)
 #define GetReqExtra(name, n, req) \
         GetReqSized(name, SIZEOF(x##name##Req) + n, req)
-#else
-#define GetReqExtra(name, n, req) \
-        GetReqSized(name, SIZEOF(x/**/name/**/Req) + n, req)
-#endif
-
 
 /*
  * GetResReq is for those requests that have a resource ID
@@ -480,40 +447,26 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
  * "rid" is the name of the resource.
  */
 
-#if !defined(UNIXCPP) || defined(ANSICPP)
 #define GetResReq(name, rid, req) \
        req = (xResourceReq *) _XGetRequest(dpy, X_##name, SIZEOF(xResourceReq)); \
        req->id = (rid)
-#else
-#define GetResReq(name, rid, req) \
-       req = (xResourceReq *) _XGetRequest(dpy, X_/**/name, SIZEOF(xResourceReq)); \
-       req->id = (rid)
-#endif
 
 /*
  * GetEmptyReq is for those requests that have no arguments
  * at all.
  */
-#if !defined(UNIXCPP) || defined(ANSICPP)
+
 #define GetEmptyReq(name, req) \
        req = (xReq *) _XGetRequest(dpy, X_##name, SIZEOF(xReq))
-#else
-#define GetEmptyReq(name, req) \
-       req = (xReq *) _XGetRequest(dpy, X_/**/name, SIZEOF(xReq))
-#endif
 
-#ifdef WORD64
-#define MakeBigReq(req,n) \
-    { \
-    char _BRdat[4]; \
-    unsigned long _BRlen = req->length - 1; \
-    req->length = 0; \
-    memcpy(_BRdat, ((char *)req) + (_BRlen << 2), 4); \
-    memmove(((char *)req) + 8, ((char *)req) + 4, _BRlen << 2); \
-    memcpy(((char *)req) + 4, _BRdat, 4); \
-    Data32(dpy, (long *)&_BRdat, 4); \
-    }
-#else
+/*
+ * MakeBigReq sets the CARD16 "req->length" to 0 and inserts a new CARD32
+ * length, after req->length, before the data in the request.  The new length
+ * includes the "n" extra 32-bit words.
+ *
+ * Do not use MakeBigReq if there is no data already in the request.
+ * req->length must already be >= 2.
+ */
 #ifdef LONG64
 #define MakeBigReq(req,n) \
     { \
@@ -521,7 +474,7 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
     CARD32 _BRlen = req->length - 1; \
     req->length = 0; \
     _BRdat = ((CARD32 *)req)[_BRlen]; \
-    memmove(((char *)req) + 8, ((char *)req) + 4, _BRlen << 2); \
+    memmove(((char *)req) + 8, ((char *)req) + 4, (_BRlen - 1) << 2); \
     ((CARD32 *)req)[1] = _BRlen + n + 2; \
     Data32(dpy, &_BRdat, 4); \
     }
@@ -532,13 +485,19 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
     CARD32 _BRlen = req->length - 1; \
     req->length = 0; \
     _BRdat = ((CARD32 *)req)[_BRlen]; \
-    memmove(((char *)req) + 8, ((char *)req) + 4, _BRlen << 2); \
+    memmove(((char *)req) + 8, ((char *)req) + 4, (_BRlen - 1) << 2); \
     ((CARD32 *)req)[1] = _BRlen + n + 2; \
     Data32(dpy, &_BRdat, 4); \
     }
 #endif
-#endif
 
+/*
+ * SetReqLen increases the count of 32-bit words in the request by "n",
+ * or by "badlen" if "n" is too large.
+ *
+ * Do not use SetReqLen if "req" does not already have data after the
+ * xReq header.  req->length must already be >= 2.
+ */
 #ifndef __clang_analyzer__
 #define SetReqLen(req,n,badlen) \
     if ((req->length + n) > (unsigned)65535) { \
@@ -566,7 +525,7 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
  * 32 bit word alignment.  Transmit if the buffer fills.
  *
  * "dpy" is a pointer to a Display.
- * "data" is a pinter to a data buffer.
+ * "data" is a pointer to a data buffer.
  * "len" is the length of the data buffer.
  */
 #ifndef DataRoutineIsProcedure
@@ -576,7 +535,7 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
                dpy->bufptr += ((len) + 3) & ~3;\
        } else\
                _XSend(dpy, data, len);\
-       }
+}
 #endif /* DataRoutineIsProcedure */
 
 
@@ -601,18 +560,14 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
     memset(ptr, '\0', n); \
     dpy->bufptr += (n);
 
-#ifdef WORD64
-#define Data16(dpy, data, len) _XData16(dpy, (short *)data, len)
-#define Data32(dpy, data, len) _XData32(dpy, (long *)data, len)
-#else
-#define Data16(dpy, data, len) Data((dpy), (char *)(data), (len))
+#define Data16(dpy, data, len) Data((dpy), (_Xconst char *)(data), (len))
 #define _XRead16Pad(dpy, data, len) _XReadPad((dpy), (char *)(data), (len))
 #define _XRead16(dpy, data, len) _XRead((dpy), (char *)(data), (len))
 #ifdef LONG64
-#define Data32(dpy, data, len) _XData32(dpy, (long *)data, len)
+#define Data32(dpy, data, len) _XData32(dpy, (_Xconst long *)data, len)
 extern int _XData32(
             Display *dpy,
-            register long *data,
+            register _Xconst long *data,
             unsigned len
 );
 extern void _XRead32(
@@ -621,10 +576,9 @@ extern void _XRead32(
             long len
 );
 #else
-#define Data32(dpy, data, len) Data((dpy), (char *)(data), (len))
+#define Data32(dpy, data, len) Data((dpy), (_Xconst char *)(data), (len))
 #define _XRead32(dpy, data, len) _XRead((dpy), (char *)(data), (len))
 #endif
-#endif /* not WORD64 */
 
 #define PackData16(dpy,data,len) Data16 (dpy, data, len)
 #define PackData32(dpy,data,len) Data32 (dpy, data, len)
@@ -693,19 +647,10 @@ extern void _XRead32(
 }
 
 
-#ifdef MUSTCOPY
-
-/* for when 32-bit alignment is not good enough */
-#define OneDataCard32(dpy,dstaddr,srcvar) \
-  { dpy->bufptr -= 4; Data32 (dpy, (char *) &(srcvar), 4); }
-
-#else
-
 /* srcvar must be a variable for large architecture version */
 #define OneDataCard32(dpy,dstaddr,srcvar) \
   { *(CARD32 *)(dstaddr) = (srcvar); }
 
-#endif /* MUSTCOPY */
 
 typedef struct _XInternalAsync {
     struct _XInternalAsync *next;
@@ -860,6 +805,15 @@ typedef struct _XExten {           /* private to extension mechanism */
        struct _XExten *next_flush;     /* next in list of those with flushes */
 } _XExtension;
 
+/* Temporary definition until we can depend on an xproto release with it */
+#ifdef _X_COLD
+# define _XLIB_COLD _X_COLD
+#elif defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 403) /* 4.3+ */
+# define _XLIB_COLD __attribute__((__cold__))
+#else
+# define _XLIB_COLD /* nothing */
+#endif
+
 /* extension hooks */
 
 #ifdef DataRoutineIsProcedure
@@ -882,7 +836,14 @@ extern int (*_XErrorFunction)(
 extern void _XEatData(
     Display*           /* dpy */,
     unsigned long      /* n */
-);
+) _XLIB_COLD;
+extern void _XEatDataWords(
+    Display*           /* dpy */,
+    unsigned long      /* n */
+) _XLIB_COLD;
+#if defined(__SUNPRO_C) /* Studio compiler alternative to "cold" attribute */
+# pragma rarely_called(_XEatData, _XEatDataWords)
+#endif
 extern char *_XAllocScratch(
     Display*           /* dpy */,
     unsigned long      /* nbytes */
@@ -1364,6 +1325,10 @@ extern void xlocaledir(
     int buf_len
 );
 
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 _XFUNCPROTOEND
 
 #endif /* _X11_XLIBINT_H_ */
index c25d70b..cf10f86 100644 (file)
@@ -112,10 +112,11 @@ typedef struct _XRegion {
  */
 #define MEMCHECK(reg, rect, firstrect){\
         if ((reg)->numRects >= ((reg)->size - 1)){\
-          (firstrect) = (BOX *) Xrealloc \
-          ((char *)(firstrect), (unsigned) (2 * (sizeof(BOX)) * ((reg)->size)));\
-          if ((firstrect) == 0)\
+          BoxPtr tmpRect = Xrealloc ((firstrect), \
+                                     (2 * (sizeof(BOX)) * ((reg)->size))); \
+          if (tmpRect == NULL) \
             return(0);\
+          (firstrect) = tmpRect; \
           (reg)->size *= 2;\
           (rect) = &(firstrect)[(reg)->numRects];\
          }\
index 8cab50e..62cdf55 100644 (file)
@@ -53,6 +53,14 @@ SOFTWARE.
 #include <X11/Xlib.h>
 #include <X11/keysym.h>
 
+/* The Xlib structs are full of implicit padding to properly align members.
+   We can't clean that up without breaking ABI, so tell clang not to bother
+   complaining about it. */
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpadded"
+#endif
+
 /*
  * Bitmask returned by XParseGeometry().  Each bit tells if the corresponding
  * value (x, y, width, height) was found in the parsed string.
@@ -821,6 +829,10 @@ extern int XXorRegion(
     Region             /* dr_return */
 );
 
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 _XFUNCPROTOEND
 
 #endif /* _X11_XUTIL_H_ */
diff --git a/install-sh b/install-sh
deleted file mode 100755 (executable)
index a9244eb..0000000
+++ /dev/null
@@ -1,527 +0,0 @@
-#!/bin/sh
-# install - install a program, script, or datafile
-
-scriptversion=2011-01-19.21; # UTC
-
-# This originates from X11R5 (mit/util/scripts/install.sh), which was
-# later released in X11R6 (xc/config/util/install.sh) with the
-# following copyright and license.
-#
-# Copyright (C) 1994 X Consortium
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to
-# deal in the Software without restriction, including without limitation the
-# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-# sell copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
-# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
-# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-# Except as contained in this notice, the name of the X Consortium shall not
-# be used in advertising or otherwise to promote the sale, use or other deal-
-# ings in this Software without prior written authorization from the X Consor-
-# tium.
-#
-#
-# FSF changes to this file are in the public domain.
-#
-# Calling this script install-sh is preferred over install.sh, to prevent
-# `make' implicit rules from creating a file called install from it
-# when there is no Makefile.
-#
-# This script is compatible with the BSD install script, but was written
-# from scratch.
-
-nl='
-'
-IFS=" ""       $nl"
-
-# set DOITPROG to echo to test this script
-
-# Don't use :- since 4.3BSD and earlier shells don't like it.
-doit=${DOITPROG-}
-if test -z "$doit"; then
-  doit_exec=exec
-else
-  doit_exec=$doit
-fi
-
-# Put in absolute file names if you don't have them in your path;
-# or use environment vars.
-
-chgrpprog=${CHGRPPROG-chgrp}
-chmodprog=${CHMODPROG-chmod}
-chownprog=${CHOWNPROG-chown}
-cmpprog=${CMPPROG-cmp}
-cpprog=${CPPROG-cp}
-mkdirprog=${MKDIRPROG-mkdir}
-mvprog=${MVPROG-mv}
-rmprog=${RMPROG-rm}
-stripprog=${STRIPPROG-strip}
-
-posix_glob='?'
-initialize_posix_glob='
-  test "$posix_glob" != "?" || {
-    if (set -f) 2>/dev/null; then
-      posix_glob=
-    else
-      posix_glob=:
-    fi
-  }
-'
-
-posix_mkdir=
-
-# Desired mode of installed file.
-mode=0755
-
-chgrpcmd=
-chmodcmd=$chmodprog
-chowncmd=
-mvcmd=$mvprog
-rmcmd="$rmprog -f"
-stripcmd=
-
-src=
-dst=
-dir_arg=
-dst_arg=
-
-copy_on_change=false
-no_target_directory=
-
-usage="\
-Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
-   or: $0 [OPTION]... SRCFILES... DIRECTORY
-   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
-   or: $0 [OPTION]... -d DIRECTORIES...
-
-In the 1st form, copy SRCFILE to DSTFILE.
-In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
-In the 4th, create DIRECTORIES.
-
-Options:
-     --help     display this help and exit.
-     --version  display version info and exit.
-
-  -c            (ignored)
-  -C            install only if different (preserve the last data modification time)
-  -d            create directories instead of installing files.
-  -g GROUP      $chgrpprog installed files to GROUP.
-  -m MODE       $chmodprog installed files to MODE.
-  -o USER       $chownprog installed files to USER.
-  -s            $stripprog installed files.
-  -t DIRECTORY  install into DIRECTORY.
-  -T            report an error if DSTFILE is a directory.
-
-Environment variables override the default commands:
-  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
-  RMPROG STRIPPROG
-"
-
-while test $# -ne 0; do
-  case $1 in
-    -c) ;;
-
-    -C) copy_on_change=true;;
-
-    -d) dir_arg=true;;
-
-    -g) chgrpcmd="$chgrpprog $2"
-       shift;;
-
-    --help) echo "$usage"; exit $?;;
-
-    -m) mode=$2
-       case $mode in
-         *' '* | *'    '* | *'
-'*       | *'*'* | *'?'* | *'['*)
-           echo "$0: invalid mode: $mode" >&2
-           exit 1;;
-       esac
-       shift;;
-
-    -o) chowncmd="$chownprog $2"
-       shift;;
-
-    -s) stripcmd=$stripprog;;
-
-    -t) dst_arg=$2
-       # Protect names problematic for `test' and other utilities.
-       case $dst_arg in
-         -* | [=\(\)!]) dst_arg=./$dst_arg;;
-       esac
-       shift;;
-
-    -T) no_target_directory=true;;
-
-    --version) echo "$0 $scriptversion"; exit $?;;
-
-    --)        shift
-       break;;
-
-    -*)        echo "$0: invalid option: $1" >&2
-       exit 1;;
-
-    *)  break;;
-  esac
-  shift
-done
-
-if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
-  # When -d is used, all remaining arguments are directories to create.
-  # When -t is used, the destination is already specified.
-  # Otherwise, the last argument is the destination.  Remove it from $@.
-  for arg
-  do
-    if test -n "$dst_arg"; then
-      # $@ is not empty: it contains at least $arg.
-      set fnord "$@" "$dst_arg"
-      shift # fnord
-    fi
-    shift # arg
-    dst_arg=$arg
-    # Protect names problematic for `test' and other utilities.
-    case $dst_arg in
-      -* | [=\(\)!]) dst_arg=./$dst_arg;;
-    esac
-  done
-fi
-
-if test $# -eq 0; then
-  if test -z "$dir_arg"; then
-    echo "$0: no input file specified." >&2
-    exit 1
-  fi
-  # It's OK to call `install-sh -d' without argument.
-  # This can happen when creating conditional directories.
-  exit 0
-fi
-
-if test -z "$dir_arg"; then
-  do_exit='(exit $ret); exit $ret'
-  trap "ret=129; $do_exit" 1
-  trap "ret=130; $do_exit" 2
-  trap "ret=141; $do_exit" 13
-  trap "ret=143; $do_exit" 15
-
-  # Set umask so as not to create temps with too-generous modes.
-  # However, 'strip' requires both read and write access to temps.
-  case $mode in
-    # Optimize common cases.
-    *644) cp_umask=133;;
-    *755) cp_umask=22;;
-
-    *[0-7])
-      if test -z "$stripcmd"; then
-       u_plus_rw=
-      else
-       u_plus_rw='% 200'
-      fi
-      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
-    *)
-      if test -z "$stripcmd"; then
-       u_plus_rw=
-      else
-       u_plus_rw=,u+rw
-      fi
-      cp_umask=$mode$u_plus_rw;;
-  esac
-fi
-
-for src
-do
-  # Protect names problematic for `test' and other utilities.
-  case $src in
-    -* | [=\(\)!]) src=./$src;;
-  esac
-
-  if test -n "$dir_arg"; then
-    dst=$src
-    dstdir=$dst
-    test -d "$dstdir"
-    dstdir_status=$?
-  else
-
-    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
-    # might cause directories to be created, which would be especially bad
-    # if $src (and thus $dsttmp) contains '*'.
-    if test ! -f "$src" && test ! -d "$src"; then
-      echo "$0: $src does not exist." >&2
-      exit 1
-    fi
-
-    if test -z "$dst_arg"; then
-      echo "$0: no destination specified." >&2
-      exit 1
-    fi
-    dst=$dst_arg
-
-    # If destination is a directory, append the input filename; won't work
-    # if double slashes aren't ignored.
-    if test -d "$dst"; then
-      if test -n "$no_target_directory"; then
-       echo "$0: $dst_arg: Is a directory" >&2
-       exit 1
-      fi
-      dstdir=$dst
-      dst=$dstdir/`basename "$src"`
-      dstdir_status=0
-    else
-      # Prefer dirname, but fall back on a substitute if dirname fails.
-      dstdir=`
-       (dirname "$dst") 2>/dev/null ||
-       expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-            X"$dst" : 'X\(//\)[^/]' \| \
-            X"$dst" : 'X\(//\)$' \| \
-            X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
-       echo X"$dst" |
-           sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\/\)[^/].*/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\/\)$/{
-                  s//\1/
-                  q
-                }
-                /^X\(\/\).*/{
-                  s//\1/
-                  q
-                }
-                s/.*/./; q'
-      `
-
-      test -d "$dstdir"
-      dstdir_status=$?
-    fi
-  fi
-
-  obsolete_mkdir_used=false
-
-  if test $dstdir_status != 0; then
-    case $posix_mkdir in
-      '')
-       # Create intermediate dirs using mode 755 as modified by the umask.
-       # This is like FreeBSD 'install' as of 1997-10-28.
-       umask=`umask`
-       case $stripcmd.$umask in
-         # Optimize common cases.
-         *[2367][2367]) mkdir_umask=$umask;;
-         .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
-         *[0-7])
-           mkdir_umask=`expr $umask + 22 \
-             - $umask % 100 % 40 + $umask % 20 \
-             - $umask % 10 % 4 + $umask % 2
-           `;;
-         *) mkdir_umask=$umask,go-w;;
-       esac
-
-       # With -d, create the new directory with the user-specified mode.
-       # Otherwise, rely on $mkdir_umask.
-       if test -n "$dir_arg"; then
-         mkdir_mode=-m$mode
-       else
-         mkdir_mode=
-       fi
-
-       posix_mkdir=false
-       case $umask in
-         *[123567][0-7][0-7])
-           # POSIX mkdir -p sets u+wx bits regardless of umask, which
-           # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
-           ;;
-         *)
-           tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
-           trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
-
-           if (umask $mkdir_umask &&
-               exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
-           then
-             if test -z "$dir_arg" || {
-                  # Check for POSIX incompatibilities with -m.
-                  # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
-                  # other-writeable bit of parent directory when it shouldn't.
-                  # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
-                  ls_ld_tmpdir=`ls -ld "$tmpdir"`
-                  case $ls_ld_tmpdir in
-                    d????-?r-*) different_mode=700;;
-                    d????-?--*) different_mode=755;;
-                    *) false;;
-                  esac &&
-                  $mkdirprog -m$different_mode -p -- "$tmpdir" && {
-                    ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
-                    test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
-                  }
-                }
-             then posix_mkdir=:
-             fi
-             rmdir "$tmpdir/d" "$tmpdir"
-           else
-             # Remove any dirs left behind by ancient mkdir implementations.
-             rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
-           fi
-           trap '' 0;;
-       esac;;
-    esac
-
-    if
-      $posix_mkdir && (
-       umask $mkdir_umask &&
-       $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
-      )
-    then :
-    else
-
-      # The umask is ridiculous, or mkdir does not conform to POSIX,
-      # or it failed possibly due to a race condition.  Create the
-      # directory the slow way, step by step, checking for races as we go.
-
-      case $dstdir in
-       /*) prefix='/';;
-       [-=\(\)!]*) prefix='./';;
-       *)  prefix='';;
-      esac
-
-      eval "$initialize_posix_glob"
-
-      oIFS=$IFS
-      IFS=/
-      $posix_glob set -f
-      set fnord $dstdir
-      shift
-      $posix_glob set +f
-      IFS=$oIFS
-
-      prefixes=
-
-      for d
-      do
-       test X"$d" = X && continue
-
-       prefix=$prefix$d
-       if test -d "$prefix"; then
-         prefixes=
-       else
-         if $posix_mkdir; then
-           (umask=$mkdir_umask &&
-            $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
-           # Don't fail if two instances are running concurrently.
-           test -d "$prefix" || exit 1
-         else
-           case $prefix in
-             *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
-             *) qprefix=$prefix;;
-           esac
-           prefixes="$prefixes '$qprefix'"
-         fi
-       fi
-       prefix=$prefix/
-      done
-
-      if test -n "$prefixes"; then
-       # Don't fail if two instances are running concurrently.
-       (umask $mkdir_umask &&
-        eval "\$doit_exec \$mkdirprog $prefixes") ||
-         test -d "$dstdir" || exit 1
-       obsolete_mkdir_used=true
-      fi
-    fi
-  fi
-
-  if test -n "$dir_arg"; then
-    { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
-    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
-    { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
-      test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
-  else
-
-    # Make a couple of temp file names in the proper directory.
-    dsttmp=$dstdir/_inst.$$_
-    rmtmp=$dstdir/_rm.$$_
-
-    # Trap to clean up those temp files at exit.
-    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
-
-    # Copy the file name to the temp name.
-    (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
-
-    # and set any options; do chmod last to preserve setuid bits.
-    #
-    # If any of these fail, we abort the whole thing.  If we want to
-    # ignore errors from any of these, just make sure not to ignore
-    # errors from the above "$doit $cpprog $src $dsttmp" command.
-    #
-    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
-    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
-    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
-    { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
-
-    # If -C, don't bother to copy if it wouldn't change the file.
-    if $copy_on_change &&
-       old=`LC_ALL=C ls -dlL "$dst"    2>/dev/null` &&
-       new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
-
-       eval "$initialize_posix_glob" &&
-       $posix_glob set -f &&
-       set X $old && old=:$2:$4:$5:$6 &&
-       set X $new && new=:$2:$4:$5:$6 &&
-       $posix_glob set +f &&
-
-       test "$old" = "$new" &&
-       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
-    then
-      rm -f "$dsttmp"
-    else
-      # Rename the file to the real destination.
-      $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
-
-      # The rename failed, perhaps because mv can't rename something else
-      # to itself, or perhaps because mv is so ancient that it does not
-      # support -f.
-      {
-       # Now remove or move aside any old file at destination location.
-       # We try this two ways since rm can't unlink itself on some
-       # systems and the destination file might be busy for other
-       # reasons.  In this case, the final cleanup might fail but the new
-       # file should still install successfully.
-       {
-         test ! -f "$dst" ||
-         $doit $rmcmd -f "$dst" 2>/dev/null ||
-         { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
-           { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
-         } ||
-         { echo "$0: cannot unlink or rename $dst" >&2
-           (exit 1); exit 1
-         }
-       } &&
-
-       # Now rename the file to the real destination.
-       $doit $mvcmd "$dsttmp" "$dst"
-      }
-    fi || exit 1
-
-    trap '' 0
-  fi
-done
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
diff --git a/ltmain.sh b/ltmain.sh
deleted file mode 100644 (file)
index 63ae69d..0000000
--- a/ltmain.sh
+++ /dev/null
@@ -1,9655 +0,0 @@
-
-# libtool (GNU libtool) 2.4.2
-# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
-# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
-# This is free software; see the source for copying conditions.  There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# GNU Libtool is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# As a special exception to the GNU General Public License,
-# if you distribute this file as part of a program or library that
-# is built using GNU Libtool, you may include this file under the
-# same distribution terms that you use for the rest of that program.
-#
-# GNU Libtool is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Libtool; see the file COPYING.  If not, a copy
-# can be downloaded from http://www.gnu.org/licenses/gpl.html,
-# or obtained by writing to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-# Usage: $progname [OPTION]... [MODE-ARG]...
-#
-# Provide generalized library-building support services.
-#
-#       --config             show all configuration variables
-#       --debug              enable verbose shell tracing
-#   -n, --dry-run            display commands without modifying any files
-#       --features           display basic configuration information and exit
-#       --mode=MODE          use operation mode MODE
-#       --preserve-dup-deps  don't remove duplicate dependency libraries
-#       --quiet, --silent    don't print informational messages
-#       --no-quiet, --no-silent
-#                            print informational messages (default)
-#       --no-warn            don't display warning messages
-#       --tag=TAG            use configuration variables from tag TAG
-#   -v, --verbose            print more informational messages than default
-#       --no-verbose         don't print the extra informational messages
-#       --version            print version information
-#   -h, --help, --help-all   print short, long, or detailed help message
-#
-# MODE must be one of the following:
-#
-#         clean              remove files from the build directory
-#         compile            compile a source file into a libtool object
-#         execute            automatically set library path, then run a program
-#         finish             complete the installation of libtool libraries
-#         install            install libraries or executables
-#         link               create a library or an executable
-#         uninstall          remove libraries from an installed directory
-#
-# MODE-ARGS vary depending on the MODE.  When passed as first option,
-# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
-# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
-#
-# When reporting a bug, please describe a test case to reproduce it and
-# include the following information:
-#
-#         host-triplet:        $host
-#         shell:               $SHELL
-#         compiler:            $LTCC
-#         compiler flags:              $LTCFLAGS
-#         linker:              $LD (gnu? $with_gnu_ld)
-#         $progname:   (GNU libtool) 2.4.2
-#         automake:    $automake_version
-#         autoconf:    $autoconf_version
-#
-# Report bugs to <bug-libtool@gnu.org>.
-# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
-# General help using GNU software: <http://www.gnu.org/gethelp/>.
-
-PROGRAM=libtool
-PACKAGE=libtool
-VERSION=2.4.2
-TIMESTAMP=""
-package_revision=1.3337
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
-fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# A function that is used when there is no print builtin or printf.
-func_fallback_echo ()
-{
-  eval 'cat <<_LTECHO_EOF
-$1
-_LTECHO_EOF'
-}
-
-# NLS nuisances: We save the old values to restore during execute mode.
-lt_user_locale=
-lt_safe_locale=
-for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
-do
-  eval "if test \"\${$lt_var+set}\" = set; then
-          save_$lt_var=\$$lt_var
-          $lt_var=C
-         export $lt_var
-         lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
-         lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
-       fi"
-done
-LC_ALL=C
-LANGUAGE=C
-export LANGUAGE LC_ALL
-
-$lt_unset CDPATH
-
-
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
-
-
-
-: ${CP="cp -f"}
-test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
-: ${MAKE="make"}
-: ${MKDIR="mkdir"}
-: ${MV="mv -f"}
-: ${RM="rm -f"}
-: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
-: ${Xsed="$SED -e 1s/^X//"}
-
-# Global variables:
-EXIT_SUCCESS=0
-EXIT_FAILURE=1
-EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
-EXIT_SKIP=77     # $? = 77 is used to indicate a skipped test to automake.
-
-exit_status=$EXIT_SUCCESS
-
-# Make sure IFS has a sensible default
-lt_nl='
-'
-IFS="  $lt_nl"
-
-dirname="s,/[^/]*$,,"
-basename="s,^.*/,,"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-    func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
-    if test "X$func_dirname_result" = "X${1}"; then
-      func_dirname_result="${3}"
-    else
-      func_dirname_result="$func_dirname_result${2}"
-    fi
-} # func_dirname may be replaced by extended shell implementation
-
-
-# func_basename file
-func_basename ()
-{
-    func_basename_result=`$ECHO "${1}" | $SED "$basename"`
-} # func_basename may be replaced by extended shell implementation
-
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-    # Extract subdirectory from the argument.
-    func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
-    if test "X$func_dirname_result" = "X${1}"; then
-      func_dirname_result="${3}"
-    else
-      func_dirname_result="$func_dirname_result${2}"
-    fi
-    func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
-} # func_dirname_and_basename may be replaced by extended shell implementation
-
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-    case ${2} in
-      .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
-      *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
-    esac
-} # func_stripname may be replaced by extended shell implementation
-
-
-# These SED scripts presuppose an absolute path with a trailing slash.
-pathcar='s,^/\([^/]*\).*$,\1,'
-pathcdr='s,^/[^/]*,,'
-removedotparts=':dotsl
-               s@/\./@/@g
-               t dotsl
-               s,/\.$,/,'
-collapseslashes='s@/\{1,\}@/@g'
-finalslash='s,/*$,/,'
-
-# func_normal_abspath PATH
-# Remove doubled-up and trailing slashes, "." path components,
-# and cancel out any ".." path components in PATH after making
-# it an absolute path.
-#             value returned in "$func_normal_abspath_result"
-func_normal_abspath ()
-{
-  # Start from root dir and reassemble the path.
-  func_normal_abspath_result=
-  func_normal_abspath_tpath=$1
-  func_normal_abspath_altnamespace=
-  case $func_normal_abspath_tpath in
-    "")
-      # Empty path, that just means $cwd.
-      func_stripname '' '/' "`pwd`"
-      func_normal_abspath_result=$func_stripname_result
-      return
-    ;;
-    # The next three entries are used to spot a run of precisely
-    # two leading slashes without using negated character classes;
-    # we take advantage of case's first-match behaviour.
-    ///*)
-      # Unusual form of absolute path, do nothing.
-    ;;
-    //*)
-      # Not necessarily an ordinary path; POSIX reserves leading '//'
-      # and for example Cygwin uses it to access remote file shares
-      # over CIFS/SMB, so we conserve a leading double slash if found.
-      func_normal_abspath_altnamespace=/
-    ;;
-    /*)
-      # Absolute path, do nothing.
-    ;;
-    *)
-      # Relative path, prepend $cwd.
-      func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
-    ;;
-  esac
-  # Cancel out all the simple stuff to save iterations.  We also want
-  # the path to end with a slash for ease of parsing, so make sure
-  # there is one (and only one) here.
-  func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
-        -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
-  while :; do
-    # Processed it all yet?
-    if test "$func_normal_abspath_tpath" = / ; then
-      # If we ascended to the root using ".." the result may be empty now.
-      if test -z "$func_normal_abspath_result" ; then
-        func_normal_abspath_result=/
-      fi
-      break
-    fi
-    func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
-        -e "$pathcar"`
-    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
-        -e "$pathcdr"`
-    # Figure out what to do with it
-    case $func_normal_abspath_tcomponent in
-      "")
-        # Trailing empty path component, ignore it.
-      ;;
-      ..)
-        # Parent dir; strip last assembled component from result.
-        func_dirname "$func_normal_abspath_result"
-        func_normal_abspath_result=$func_dirname_result
-      ;;
-      *)
-        # Actual path component, append it.
-        func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
-      ;;
-    esac
-  done
-  # Restore leading double-slash if one was found on entry.
-  func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
-}
-
-# func_relative_path SRCDIR DSTDIR
-# generates a relative path from SRCDIR to DSTDIR, with a trailing
-# slash if non-empty, suitable for immediately appending a filename
-# without needing to append a separator.
-#             value returned in "$func_relative_path_result"
-func_relative_path ()
-{
-  func_relative_path_result=
-  func_normal_abspath "$1"
-  func_relative_path_tlibdir=$func_normal_abspath_result
-  func_normal_abspath "$2"
-  func_relative_path_tbindir=$func_normal_abspath_result
-
-  # Ascend the tree starting from libdir
-  while :; do
-    # check if we have found a prefix of bindir
-    case $func_relative_path_tbindir in
-      $func_relative_path_tlibdir)
-        # found an exact match
-        func_relative_path_tcancelled=
-        break
-        ;;
-      $func_relative_path_tlibdir*)
-        # found a matching prefix
-        func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
-        func_relative_path_tcancelled=$func_stripname_result
-        if test -z "$func_relative_path_result"; then
-          func_relative_path_result=.
-        fi
-        break
-        ;;
-      *)
-        func_dirname $func_relative_path_tlibdir
-        func_relative_path_tlibdir=${func_dirname_result}
-        if test "x$func_relative_path_tlibdir" = x ; then
-          # Have to descend all the way to the root!
-          func_relative_path_result=../$func_relative_path_result
-          func_relative_path_tcancelled=$func_relative_path_tbindir
-          break
-        fi
-        func_relative_path_result=../$func_relative_path_result
-        ;;
-    esac
-  done
-
-  # Now calculate path; take care to avoid doubling-up slashes.
-  func_stripname '' '/' "$func_relative_path_result"
-  func_relative_path_result=$func_stripname_result
-  func_stripname '/' '/' "$func_relative_path_tcancelled"
-  if test "x$func_stripname_result" != x ; then
-    func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
-  fi
-
-  # Normalisation. If bindir is libdir, return empty string,
-  # else relative path ending with a slash; either way, target
-  # file name can be directly appended.
-  if test ! -z "$func_relative_path_result"; then
-    func_stripname './' '' "$func_relative_path_result/"
-    func_relative_path_result=$func_stripname_result
-  fi
-}
-
-# The name of this program:
-func_dirname_and_basename "$progpath"
-progname=$func_basename_result
-
-# Make sure we have an absolute path for reexecution:
-case $progpath in
-  [\\/]*|[A-Za-z]:\\*) ;;
-  *[\\/]*)
-     progdir=$func_dirname_result
-     progdir=`cd "$progdir" && pwd`
-     progpath="$progdir/$progname"
-     ;;
-  *)
-     save_IFS="$IFS"
-     IFS=${PATH_SEPARATOR-:}
-     for progdir in $PATH; do
-       IFS="$save_IFS"
-       test -x "$progdir/$progname" && break
-     done
-     IFS="$save_IFS"
-     test -n "$progdir" || progdir=`pwd`
-     progpath="$progdir/$progname"
-     ;;
-esac
-
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed="${SED}"' -e 1s/^X//'
-sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\(["`\\]\)/\\\1/g'
-
-# Sed substitution that turns a string into a regex matching for the
-# string literally.
-sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
-
-# Sed substitution that converts a w32 file name or path
-# which contains forward slashes, into one that contains
-# (escaped) backslashes.  A very naive implementation.
-lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
-
-# Re-`\' parameter expansions in output of double_quote_subst that were
-# `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
-# in input to double_quote_subst, that '$' was protected from expansion.
-# Since each input `\' is now two `\'s, look for any number of runs of
-# four `\'s followed by two `\'s and then a '$'.  `\' that '$'.
-bs='\\'
-bs2='\\\\'
-bs4='\\\\\\\\'
-dollar='\$'
-sed_double_backslash="\
-  s/$bs4/&\\
-/g
-  s/^$bs2$dollar/$bs&/
-  s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
-  s/\n//g"
-
-# Standard options:
-opt_dry_run=false
-opt_help=false
-opt_quiet=false
-opt_verbose=false
-opt_warning=:
-
-# func_echo arg...
-# Echo program name prefixed message, along with the current mode
-# name if it has been set yet.
-func_echo ()
-{
-    $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
-}
-
-# func_verbose arg...
-# Echo program name prefixed message in verbose mode only.
-func_verbose ()
-{
-    $opt_verbose && func_echo ${1+"$@"}
-
-    # A bug in bash halts the script if the last line of a function
-    # fails when set -e is in force, so we need another command to
-    # work around that:
-    :
-}
-
-# func_echo_all arg...
-# Invoke $ECHO with all args, space-separated.
-func_echo_all ()
-{
-    $ECHO "$*"
-}
-
-# func_error arg...
-# Echo program name prefixed message to standard error.
-func_error ()
-{
-    $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
-}
-
-# func_warning arg...
-# Echo program name prefixed warning message to standard error.
-func_warning ()
-{
-    $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
-
-    # bash bug again:
-    :
-}
-
-# func_fatal_error arg...
-# Echo program name prefixed message to standard error, and exit.
-func_fatal_error ()
-{
-    func_error ${1+"$@"}
-    exit $EXIT_FAILURE
-}
-
-# func_fatal_help arg...
-# Echo program name prefixed message to standard error, followed by
-# a help hint, and exit.
-func_fatal_help ()
-{
-    func_error ${1+"$@"}
-    func_fatal_error "$help"
-}
-help="Try \`$progname --help' for more information."  ## default
-
-
-# func_grep expression filename
-# Check whether EXPRESSION matches any line of FILENAME, without output.
-func_grep ()
-{
-    $GREP "$1" "$2" >/dev/null 2>&1
-}
-
-
-# func_mkdir_p directory-path
-# Make sure the entire path to DIRECTORY-PATH is available.
-func_mkdir_p ()
-{
-    my_directory_path="$1"
-    my_dir_list=
-
-    if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
-
-      # Protect directory names starting with `-'
-      case $my_directory_path in
-        -*) my_directory_path="./$my_directory_path" ;;
-      esac
-
-      # While some portion of DIR does not yet exist...
-      while test ! -d "$my_directory_path"; do
-        # ...make a list in topmost first order.  Use a colon delimited
-       # list incase some portion of path contains whitespace.
-        my_dir_list="$my_directory_path:$my_dir_list"
-
-        # If the last portion added has no slash in it, the list is done
-        case $my_directory_path in */*) ;; *) break ;; esac
-
-        # ...otherwise throw away the child directory and loop
-        my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
-      done
-      my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
-
-      save_mkdir_p_IFS="$IFS"; IFS=':'
-      for my_dir in $my_dir_list; do
-       IFS="$save_mkdir_p_IFS"
-        # mkdir can fail with a `File exist' error if two processes
-        # try to create one of the directories concurrently.  Don't
-        # stop in that case!
-        $MKDIR "$my_dir" 2>/dev/null || :
-      done
-      IFS="$save_mkdir_p_IFS"
-
-      # Bail out if we (or some other process) failed to create a directory.
-      test -d "$my_directory_path" || \
-        func_fatal_error "Failed to create \`$1'"
-    fi
-}
-
-
-# func_mktempdir [string]
-# Make a temporary directory that won't clash with other running
-# libtool processes, and avoids race conditions if possible.  If
-# given, STRING is the basename for that directory.
-func_mktempdir ()
-{
-    my_template="${TMPDIR-/tmp}/${1-$progname}"
-
-    if test "$opt_dry_run" = ":"; then
-      # Return a directory name, but don't create it in dry-run mode
-      my_tmpdir="${my_template}-$$"
-    else
-
-      # If mktemp works, use that first and foremost
-      my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
-
-      if test ! -d "$my_tmpdir"; then
-        # Failing that, at least try and use $RANDOM to avoid a race
-        my_tmpdir="${my_template}-${RANDOM-0}$$"
-
-        save_mktempdir_umask=`umask`
-        umask 0077
-        $MKDIR "$my_tmpdir"
-        umask $save_mktempdir_umask
-      fi
-
-      # If we're not in dry-run mode, bomb out on failure
-      test -d "$my_tmpdir" || \
-        func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
-    fi
-
-    $ECHO "$my_tmpdir"
-}
-
-
-# func_quote_for_eval arg
-# Aesthetically quote ARG to be evaled later.
-# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
-# is double-quoted, suitable for a subsequent eval, whereas
-# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
-# which are still active within double quotes backslashified.
-func_quote_for_eval ()
-{
-    case $1 in
-      *[\\\`\"\$]*)
-       func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
-      *)
-        func_quote_for_eval_unquoted_result="$1" ;;
-    esac
-
-    case $func_quote_for_eval_unquoted_result in
-      # Double-quote args containing shell metacharacters to delay
-      # word splitting, command substitution and and variable
-      # expansion for a subsequent eval.
-      # Many Bourne shells cannot handle close brackets correctly
-      # in scan sets, so we specify it separately.
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
-        func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
-        ;;
-      *)
-        func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
-    esac
-}
-
-
-# func_quote_for_expand arg
-# Aesthetically quote ARG to be evaled later; same as above,
-# but do not quote variable references.
-func_quote_for_expand ()
-{
-    case $1 in
-      *[\\\`\"]*)
-       my_arg=`$ECHO "$1" | $SED \
-           -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
-      *)
-        my_arg="$1" ;;
-    esac
-
-    case $my_arg in
-      # Double-quote args containing shell metacharacters to delay
-      # word splitting and command substitution for a subsequent eval.
-      # Many Bourne shells cannot handle close brackets correctly
-      # in scan sets, so we specify it separately.
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
-        my_arg="\"$my_arg\""
-        ;;
-    esac
-
-    func_quote_for_expand_result="$my_arg"
-}
-
-
-# func_show_eval cmd [fail_exp]
-# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
-# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
-# is given, then evaluate it.
-func_show_eval ()
-{
-    my_cmd="$1"
-    my_fail_exp="${2-:}"
-
-    ${opt_silent-false} || {
-      func_quote_for_expand "$my_cmd"
-      eval "func_echo $func_quote_for_expand_result"
-    }
-
-    if ${opt_dry_run-false}; then :; else
-      eval "$my_cmd"
-      my_status=$?
-      if test "$my_status" -eq 0; then :; else
-       eval "(exit $my_status); $my_fail_exp"
-      fi
-    fi
-}
-
-
-# func_show_eval_locale cmd [fail_exp]
-# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
-# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
-# is given, then evaluate it.  Use the saved locale for evaluation.
-func_show_eval_locale ()
-{
-    my_cmd="$1"
-    my_fail_exp="${2-:}"
-
-    ${opt_silent-false} || {
-      func_quote_for_expand "$my_cmd"
-      eval "func_echo $func_quote_for_expand_result"
-    }
-
-    if ${opt_dry_run-false}; then :; else
-      eval "$lt_user_locale
-           $my_cmd"
-      my_status=$?
-      eval "$lt_safe_locale"
-      if test "$my_status" -eq 0; then :; else
-       eval "(exit $my_status); $my_fail_exp"
-      fi
-    fi
-}
-
-# func_tr_sh
-# Turn $1 into a string suitable for a shell variable name.
-# Result is stored in $func_tr_sh_result.  All characters
-# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
-# if $1 begins with a digit, a '_' is prepended as well.
-func_tr_sh ()
-{
-  case $1 in
-  [0-9]* | *[!a-zA-Z0-9_]*)
-    func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
-    ;;
-  * )
-    func_tr_sh_result=$1
-    ;;
-  esac
-}
-
-
-# func_version
-# Echo version message to standard output and exit.
-func_version ()
-{
-    $opt_debug
-
-    $SED -n '/(C)/!b go
-       :more
-       /\./!{
-         N
-         s/\n# / /
-         b more
-       }
-       :go
-       /^# '$PROGRAM' (GNU /,/# warranty; / {
-        s/^# //
-       s/^# *$//
-        s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
-        p
-     }' < "$progpath"
-     exit $?
-}
-
-# func_usage
-# Echo short help message to standard output and exit.
-func_usage ()
-{
-    $opt_debug
-
-    $SED -n '/^# Usage:/,/^#  *.*--help/ {
-        s/^# //
-       s/^# *$//
-       s/\$progname/'$progname'/
-       p
-    }' < "$progpath"
-    echo
-    $ECHO "run \`$progname --help | more' for full usage"
-    exit $?
-}
-
-# func_help [NOEXIT]
-# Echo long help message to standard output and exit,
-# unless 'noexit' is passed as argument.
-func_help ()
-{
-    $opt_debug
-
-    $SED -n '/^# Usage:/,/# Report bugs to/ {
-       :print
-        s/^# //
-       s/^# *$//
-       s*\$progname*'$progname'*
-       s*\$host*'"$host"'*
-       s*\$SHELL*'"$SHELL"'*
-       s*\$LTCC*'"$LTCC"'*
-       s*\$LTCFLAGS*'"$LTCFLAGS"'*
-       s*\$LD*'"$LD"'*
-       s/\$with_gnu_ld/'"$with_gnu_ld"'/
-       s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
-       s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
-       p
-       d
-     }
-     /^# .* home page:/b print
-     /^# General help using/b print
-     ' < "$progpath"
-    ret=$?
-    if test -z "$1"; then
-      exit $ret
-    fi
-}
-
-# func_missing_arg argname
-# Echo program name prefixed message to standard error and set global
-# exit_cmd.
-func_missing_arg ()
-{
-    $opt_debug
-
-    func_error "missing argument for $1."
-    exit_cmd=exit
-}
-
-
-# func_split_short_opt shortopt
-# Set func_split_short_opt_name and func_split_short_opt_arg shell
-# variables after splitting SHORTOPT after the 2nd character.
-func_split_short_opt ()
-{
-    my_sed_short_opt='1s/^\(..\).*$/\1/;q'
-    my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
-
-    func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
-    func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
-} # func_split_short_opt may be replaced by extended shell implementation
-
-
-# func_split_long_opt longopt
-# Set func_split_long_opt_name and func_split_long_opt_arg shell
-# variables after splitting LONGOPT at the `=' sign.
-func_split_long_opt ()
-{
-    my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
-    my_sed_long_arg='1s/^--[^=]*=//'
-
-    func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
-    func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
-} # func_split_long_opt may be replaced by extended shell implementation
-
-exit_cmd=:
-
-
-
-
-
-magic="%%%MAGIC variable%%%"
-magic_exe="%%%MAGIC EXE variable%%%"
-
-# Global variables.
-nonopt=
-preserve_args=
-lo2o="s/\\.lo\$/.${objext}/"
-o2lo="s/\\.${objext}\$/.lo/"
-extracted_archives=
-extracted_serial=0
-
-# If this variable is set in any of the actions, the command in it
-# will be execed at the end.  This prevents here-documents from being
-# left over by shells.
-exec_cmd=
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-    eval "${1}=\$${1}\${2}"
-} # func_append may be replaced by extended shell implementation
-
-# func_append_quoted var value
-# Quote VALUE and append to the end of shell variable VAR, separated
-# by a space.
-func_append_quoted ()
-{
-    func_quote_for_eval "${2}"
-    eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
-} # func_append_quoted may be replaced by extended shell implementation
-
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-    func_arith_result=`expr "${@}"`
-} # func_arith may be replaced by extended shell implementation
-
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-    func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
-} # func_len may be replaced by extended shell implementation
-
-
-# func_lo2o object
-func_lo2o ()
-{
-    func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
-} # func_lo2o may be replaced by extended shell implementation
-
-
-# func_xform libobj-or-source
-func_xform ()
-{
-    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
-} # func_xform may be replaced by extended shell implementation
-
-
-# func_fatal_configuration arg...
-# Echo program name prefixed message to standard error, followed by
-# a configuration failure hint, and exit.
-func_fatal_configuration ()
-{
-    func_error ${1+"$@"}
-    func_error "See the $PACKAGE documentation for more information."
-    func_fatal_error "Fatal configuration error."
-}
-
-
-# func_config
-# Display the configuration for all the tags in this script.
-func_config ()
-{
-    re_begincf='^# ### BEGIN LIBTOOL'
-    re_endcf='^# ### END LIBTOOL'
-
-    # Default configuration.
-    $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
-
-    # Now print the configurations for the tags.
-    for tagname in $taglist; do
-      $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
-    done
-
-    exit $?
-}
-
-# func_features
-# Display the features supported by this script.
-func_features ()
-{
-    echo "host: $host"
-    if test "$build_libtool_libs" = yes; then
-      echo "enable shared libraries"
-    else
-      echo "disable shared libraries"
-    fi
-    if test "$build_old_libs" = yes; then
-      echo "enable static libraries"
-    else
-      echo "disable static libraries"
-    fi
-
-    exit $?
-}
-
-# func_enable_tag tagname
-# Verify that TAGNAME is valid, and either flag an error and exit, or
-# enable the TAGNAME tag.  We also add TAGNAME to the global $taglist
-# variable here.
-func_enable_tag ()
-{
-  # Global variable:
-  tagname="$1"
-
-  re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
-  re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
-  sed_extractcf="/$re_begincf/,/$re_endcf/p"
-
-  # Validate tagname.
-  case $tagname in
-    *[!-_A-Za-z0-9,/]*)
-      func_fatal_error "invalid tag name: $tagname"
-      ;;
-  esac
-
-  # Don't test for the "default" C tag, as we know it's
-  # there but not specially marked.
-  case $tagname in
-    CC) ;;
-    *)
-      if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
-       taglist="$taglist $tagname"
-
-       # Evaluate the configuration.  Be careful to quote the path
-       # and the sed script, to avoid splitting on whitespace, but
-       # also don't use non-portable quotes within backquotes within
-       # quotes we have to do it in 2 steps:
-       extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
-       eval "$extractedcf"
-      else
-       func_error "ignoring unknown tag $tagname"
-      fi
-      ;;
-  esac
-}
-
-# func_check_version_match
-# Ensure that we are using m4 macros, and libtool script from the same
-# release of libtool.
-func_check_version_match ()
-{
-  if test "$package_revision" != "$macro_revision"; then
-    if test "$VERSION" != "$macro_version"; then
-      if test -z "$macro_version"; then
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from an older release.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      else
-        cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
-$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
-$progname: and run autoconf again.
-_LT_EOF
-      fi
-    else
-      cat >&2 <<_LT_EOF
-$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
-$progname: but the definition of this LT_INIT comes from revision $macro_revision.
-$progname: You should recreate aclocal.m4 with macros from revision $package_revision
-$progname: of $PACKAGE $VERSION and run autoconf again.
-_LT_EOF
-    fi
-
-    exit $EXIT_MISMATCH
-  fi
-}
-
-
-# Shorthand for --mode=foo, only valid as the first argument
-case $1 in
-clean|clea|cle|cl)
-  shift; set dummy --mode clean ${1+"$@"}; shift
-  ;;
-compile|compil|compi|comp|com|co|c)
-  shift; set dummy --mode compile ${1+"$@"}; shift
-  ;;
-execute|execut|execu|exec|exe|ex|e)
-  shift; set dummy --mode execute ${1+"$@"}; shift
-  ;;
-finish|finis|fini|fin|fi|f)
-  shift; set dummy --mode finish ${1+"$@"}; shift
-  ;;
-install|instal|insta|inst|ins|in|i)
-  shift; set dummy --mode install ${1+"$@"}; shift
-  ;;
-link|lin|li|l)
-  shift; set dummy --mode link ${1+"$@"}; shift
-  ;;
-uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
-  shift; set dummy --mode uninstall ${1+"$@"}; shift
-  ;;
-esac
-
-
-
-# Option defaults:
-opt_debug=:
-opt_dry_run=false
-opt_config=false
-opt_preserve_dup_deps=false
-opt_features=false
-opt_finish=false
-opt_help=false
-opt_help_all=false
-opt_silent=:
-opt_warning=:
-opt_verbose=:
-opt_silent=false
-opt_verbose=false
-
-
-# Parse options once, thoroughly.  This comes as soon as possible in the
-# script to make things like `--version' happen as quickly as we can.
-{
-  # this just eases exit handling
-  while test $# -gt 0; do
-    opt="$1"
-    shift
-    case $opt in
-      --debug|-x)      opt_debug='set -x'
-                       func_echo "enabling shell trace mode"
-                       $opt_debug
-                       ;;
-      --dry-run|--dryrun|-n)
-                       opt_dry_run=:
-                       ;;
-      --config)
-                       opt_config=:
-func_config
-                       ;;
-      --dlopen|-dlopen)
-                       optarg="$1"
-                       opt_dlopen="${opt_dlopen+$opt_dlopen
-}$optarg"
-                       shift
-                       ;;
-      --preserve-dup-deps)
-                       opt_preserve_dup_deps=:
-                       ;;
-      --features)
-                       opt_features=:
-func_features
-                       ;;
-      --finish)
-                       opt_finish=:
-set dummy --mode finish ${1+"$@"}; shift
-                       ;;
-      --help)
-                       opt_help=:
-                       ;;
-      --help-all)
-                       opt_help_all=:
-opt_help=': help-all'
-                       ;;
-      --mode)
-                       test $# = 0 && func_missing_arg $opt && break
-                       optarg="$1"
-                       opt_mode="$optarg"
-case $optarg in
-  # Valid mode arguments:
-  clean|compile|execute|finish|install|link|relink|uninstall) ;;
-
-  # Catch anything else as an error
-  *) func_error "invalid argument for $opt"
-     exit_cmd=exit
-     break
-     ;;
-esac
-                       shift
-                       ;;
-      --no-silent|--no-quiet)
-                       opt_silent=false
-func_append preserve_args " $opt"
-                       ;;
-      --no-warning|--no-warn)
-                       opt_warning=false
-func_append preserve_args " $opt"
-                       ;;
-      --no-verbose)
-                       opt_verbose=false
-func_append preserve_args " $opt"
-                       ;;
-      --silent|--quiet)
-                       opt_silent=:
-func_append preserve_args " $opt"
-        opt_verbose=false
-                       ;;
-      --verbose|-v)
-                       opt_verbose=:
-func_append preserve_args " $opt"
-opt_silent=false
-                       ;;
-      --tag)
-                       test $# = 0 && func_missing_arg $opt && break
-                       optarg="$1"
-                       opt_tag="$optarg"
-func_append preserve_args " $opt $optarg"
-func_enable_tag "$optarg"
-                       shift
-                       ;;
-
-      -\?|-h)          func_usage                              ;;
-      --help)          func_help                               ;;
-      --version)       func_version                            ;;
-
-      # Separate optargs to long options:
-      --*=*)
-                       func_split_long_opt "$opt"
-                       set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
-                       shift
-                       ;;
-
-      # Separate non-argument short options:
-      -\?*|-h*|-n*|-v*)
-                       func_split_short_opt "$opt"
-                       set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
-                       shift
-                       ;;
-
-      --)              break                                   ;;
-      -*)              func_fatal_help "unrecognized option \`$opt'" ;;
-      *)               set dummy "$opt" ${1+"$@"};     shift; break  ;;
-    esac
-  done
-
-  # Validate options:
-
-  # save first non-option argument
-  if test "$#" -gt 0; then
-    nonopt="$opt"
-    shift
-  fi
-
-  # preserve --debug
-  test "$opt_debug" = : || func_append preserve_args " --debug"
-
-  case $host in
-    *cygwin* | *mingw* | *pw32* | *cegcc*)
-      # don't eliminate duplications in $postdeps and $predeps
-      opt_duplicate_compiler_generated_deps=:
-      ;;
-    *)
-      opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
-      ;;
-  esac
-
-  $opt_help || {
-    # Sanity checks first:
-    func_check_version_match
-
-    if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
-      func_fatal_configuration "not configured to build any kind of library"
-    fi
-
-    # Darwin sucks
-    eval std_shrext=\"$shrext_cmds\"
-
-    # Only execute mode is allowed to have -dlopen flags.
-    if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
-      func_error "unrecognized option \`-dlopen'"
-      $ECHO "$help" 1>&2
-      exit $EXIT_FAILURE
-    fi
-
-    # Change the help message to a mode-specific one.
-    generic_help="$help"
-    help="Try \`$progname --help --mode=$opt_mode' for more information."
-  }
-
-
-  # Bail if the options were screwed
-  $exit_cmd $EXIT_FAILURE
-}
-
-
-
-
-## ----------- ##
-##    Main.    ##
-## ----------- ##
-
-# func_lalib_p file
-# True iff FILE is a libtool `.la' library or `.lo' object file.
-# This function is only a basic sanity check; it will hardly flush out
-# determined imposters.
-func_lalib_p ()
-{
-    test -f "$1" &&
-      $SED -e 4q "$1" 2>/dev/null \
-        | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
-}
-
-# func_lalib_unsafe_p file
-# True iff FILE is a libtool `.la' library or `.lo' object file.
-# This function implements the same check as func_lalib_p without
-# resorting to external programs.  To this end, it redirects stdin and
-# closes it afterwards, without saving the original file descriptor.
-# As a safety measure, use it only where a negative result would be
-# fatal anyway.  Works if `file' does not exist.
-func_lalib_unsafe_p ()
-{
-    lalib_p=no
-    if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
-       for lalib_p_l in 1 2 3 4
-       do
-           read lalib_p_line
-           case "$lalib_p_line" in
-               \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
-           esac
-       done
-       exec 0<&5 5<&-
-    fi
-    test "$lalib_p" = yes
-}
-
-# func_ltwrapper_script_p file
-# True iff FILE is a libtool wrapper script
-# This function is only a basic sanity check; it will hardly flush out
-# determined imposters.
-func_ltwrapper_script_p ()
-{
-    func_lalib_p "$1"
-}
-
-# func_ltwrapper_executable_p file
-# True iff FILE is a libtool wrapper executable
-# This function is only a basic sanity check; it will hardly flush out
-# determined imposters.
-func_ltwrapper_executable_p ()
-{
-    func_ltwrapper_exec_suffix=
-    case $1 in
-    *.exe) ;;
-    *) func_ltwrapper_exec_suffix=.exe ;;
-    esac
-    $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
-}
-
-# func_ltwrapper_scriptname file
-# Assumes file is an ltwrapper_executable
-# uses $file to determine the appropriate filename for a
-# temporary ltwrapper_script.
-func_ltwrapper_scriptname ()
-{
-    func_dirname_and_basename "$1" "" "."
-    func_stripname '' '.exe' "$func_basename_result"
-    func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
-}
-
-# func_ltwrapper_p file
-# True iff FILE is a libtool wrapper script or wrapper executable
-# This function is only a basic sanity check; it will hardly flush out
-# determined imposters.
-func_ltwrapper_p ()
-{
-    func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
-}
-
-
-# func_execute_cmds commands fail_cmd
-# Execute tilde-delimited COMMANDS.
-# If FAIL_CMD is given, eval that upon failure.
-# FAIL_CMD may read-access the current command in variable CMD!
-func_execute_cmds ()
-{
-    $opt_debug
-    save_ifs=$IFS; IFS='~'
-    for cmd in $1; do
-      IFS=$save_ifs
-      eval cmd=\"$cmd\"
-      func_show_eval "$cmd" "${2-:}"
-    done
-    IFS=$save_ifs
-}
-
-
-# func_source file
-# Source FILE, adding directory component if necessary.
-# Note that it is not necessary on cygwin/mingw to append a dot to
-# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
-# behavior happens only for exec(3), not for open(2)!  Also, sourcing
-# `FILE.' does not work on cygwin managed mounts.
-func_source ()
-{
-    $opt_debug
-    case $1 in
-    */* | *\\*)        . "$1" ;;
-    *)         . "./$1" ;;
-    esac
-}
-
-
-# func_resolve_sysroot PATH
-# Replace a leading = in PATH with a sysroot.  Store the result into
-# func_resolve_sysroot_result
-func_resolve_sysroot ()
-{
-  func_resolve_sysroot_result=$1
-  case $func_resolve_sysroot_result in
-  =*)
-    func_stripname '=' '' "$func_resolve_sysroot_result"
-    func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
-    ;;
-  esac
-}
-
-# func_replace_sysroot PATH
-# If PATH begins with the sysroot, replace it with = and
-# store the result into func_replace_sysroot_result.
-func_replace_sysroot ()
-{
-  case "$lt_sysroot:$1" in
-  ?*:"$lt_sysroot"*)
-    func_stripname "$lt_sysroot" '' "$1"
-    func_replace_sysroot_result="=$func_stripname_result"
-    ;;
-  *)
-    # Including no sysroot.
-    func_replace_sysroot_result=$1
-    ;;
-  esac
-}
-
-# func_infer_tag arg
-# Infer tagged configuration to use if any are available and
-# if one wasn't chosen via the "--tag" command line option.
-# Only attempt this if the compiler in the base compile
-# command doesn't match the default compiler.
-# arg is usually of the form 'gcc ...'
-func_infer_tag ()
-{
-    $opt_debug
-    if test -n "$available_tags" && test -z "$tagname"; then
-      CC_quoted=
-      for arg in $CC; do
-       func_append_quoted CC_quoted "$arg"
-      done
-      CC_expanded=`func_echo_all $CC`
-      CC_quoted_expanded=`func_echo_all $CC_quoted`
-      case $@ in
-      # Blanks in the command may have been stripped by the calling shell,
-      # but not from the CC environment variable when configure was run.
-      " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
-      " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
-      # Blanks at the start of $base_compile will cause this to fail
-      # if we don't check for them as well.
-      *)
-       for z in $available_tags; do
-         if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
-           # Evaluate the configuration.
-           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
-           CC_quoted=
-           for arg in $CC; do
-             # Double-quote args containing other shell metacharacters.
-             func_append_quoted CC_quoted "$arg"
-           done
-           CC_expanded=`func_echo_all $CC`
-           CC_quoted_expanded=`func_echo_all $CC_quoted`
-           case "$@ " in
-           " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
-           " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
-             # The compiler in the base compile command matches
-             # the one in the tagged configuration.
-             # Assume this is the tagged configuration we want.
-             tagname=$z
-             break
-             ;;
-           esac
-         fi
-       done
-       # If $tagname still isn't set, then no tagged configuration
-       # was found and let the user know that the "--tag" command
-       # line option must be used.
-       if test -z "$tagname"; then
-         func_echo "unable to infer tagged configuration"
-         func_fatal_error "specify a tag with \`--tag'"
-#      else
-#        func_verbose "using $tagname tagged configuration"
-       fi
-       ;;
-      esac
-    fi
-}
-
-
-
-# func_write_libtool_object output_name pic_name nonpic_name
-# Create a libtool object file (analogous to a ".la" file),
-# but don't create it if we're doing a dry run.
-func_write_libtool_object ()
-{
-    write_libobj=${1}
-    if test "$build_libtool_libs" = yes; then
-      write_lobj=\'${2}\'
-    else
-      write_lobj=none
-    fi
-
-    if test "$build_old_libs" = yes; then
-      write_oldobj=\'${3}\'
-    else
-      write_oldobj=none
-    fi
-
-    $opt_dry_run || {
-      cat >${write_libobj}T <<EOF
-# $write_libobj - a libtool object file
-# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# Name of the PIC object.
-pic_object=$write_lobj
-
-# Name of the non-PIC object
-non_pic_object=$write_oldobj
-
-EOF
-      $MV "${write_libobj}T" "${write_libobj}"
-    }
-}
-
-
-##################################################
-# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
-##################################################
-
-# func_convert_core_file_wine_to_w32 ARG
-# Helper function used by file name conversion functions when $build is *nix,
-# and $host is mingw, cygwin, or some other w32 environment. Relies on a
-# correctly configured wine environment available, with the winepath program
-# in $build's $PATH.
-#
-# ARG is the $build file name to be converted to w32 format.
-# Result is available in $func_convert_core_file_wine_to_w32_result, and will
-# be empty on error (or when ARG is empty)
-func_convert_core_file_wine_to_w32 ()
-{
-  $opt_debug
-  func_convert_core_file_wine_to_w32_result="$1"
-  if test -n "$1"; then
-    # Unfortunately, winepath does not exit with a non-zero error code, so we
-    # are forced to check the contents of stdout. On the other hand, if the
-    # command is not found, the shell will set an exit code of 127 and print
-    # *an error message* to stdout. So we must check for both error code of
-    # zero AND non-empty stdout, which explains the odd construction:
-    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
-    if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
-      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
-        $SED -e "$lt_sed_naive_backslashify"`
-    else
-      func_convert_core_file_wine_to_w32_result=
-    fi
-  fi
-}
-# end: func_convert_core_file_wine_to_w32
-
-
-# func_convert_core_path_wine_to_w32 ARG
-# Helper function used by path conversion functions when $build is *nix, and
-# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
-# configured wine environment available, with the winepath program in $build's
-# $PATH. Assumes ARG has no leading or trailing path separator characters.
-#
-# ARG is path to be converted from $build format to win32.
-# Result is available in $func_convert_core_path_wine_to_w32_result.
-# Unconvertible file (directory) names in ARG are skipped; if no directory names
-# are convertible, then the result may be empty.
-func_convert_core_path_wine_to_w32 ()
-{
-  $opt_debug
-  # unfortunately, winepath doesn't convert paths, only file names
-  func_convert_core_path_wine_to_w32_result=""
-  if test -n "$1"; then
-    oldIFS=$IFS
-    IFS=:
-    for func_convert_core_path_wine_to_w32_f in $1; do
-      IFS=$oldIFS
-      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
-      if test -n "$func_convert_core_file_wine_to_w32_result" ; then
-        if test -z "$func_convert_core_path_wine_to_w32_result"; then
-          func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
-        else
-          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
-        fi
-      fi
-    done
-    IFS=$oldIFS
-  fi
-}
-# end: func_convert_core_path_wine_to_w32
-
-
-# func_cygpath ARGS...
-# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
-# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
-# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
-# (2), returns the Cygwin file name or path in func_cygpath_result (input
-# file name or path is assumed to be in w32 format, as previously converted
-# from $build's *nix or MSYS format). In case (3), returns the w32 file name
-# or path in func_cygpath_result (input file name or path is assumed to be in
-# Cygwin format). Returns an empty string on error.
-#
-# ARGS are passed to cygpath, with the last one being the file name or path to
-# be converted.
-#
-# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
-# environment variable; do not put it in $PATH.
-func_cygpath ()
-{
-  $opt_debug
-  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
-    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
-    if test "$?" -ne 0; then
-      # on failure, ensure result is empty
-      func_cygpath_result=
-    fi
-  else
-    func_cygpath_result=
-    func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
-  fi
-}
-#end: func_cygpath
-
-
-# func_convert_core_msys_to_w32 ARG
-# Convert file name or path ARG from MSYS format to w32 format.  Return
-# result in func_convert_core_msys_to_w32_result.
-func_convert_core_msys_to_w32 ()
-{
-  $opt_debug
-  # awkward: cmd appends spaces to result
-  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
-    $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
-}
-#end: func_convert_core_msys_to_w32
-
-
-# func_convert_file_check ARG1 ARG2
-# Verify that ARG1 (a file name in $build format) was converted to $host
-# format in ARG2. Otherwise, emit an error message, but continue (resetting
-# func_to_host_file_result to ARG1).
-func_convert_file_check ()
-{
-  $opt_debug
-  if test -z "$2" && test -n "$1" ; then
-    func_error "Could not determine host file name corresponding to"
-    func_error "  \`$1'"
-    func_error "Continuing, but uninstalled executables may not work."
-    # Fallback:
-    func_to_host_file_result="$1"
-  fi
-}
-# end func_convert_file_check
-
-
-# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
-# Verify that FROM_PATH (a path in $build format) was converted to $host
-# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
-# func_to_host_file_result to a simplistic fallback value (see below).
-func_convert_path_check ()
-{
-  $opt_debug
-  if test -z "$4" && test -n "$3"; then
-    func_error "Could not determine the host path corresponding to"
-    func_error "  \`$3'"
-    func_error "Continuing, but uninstalled executables may not work."
-    # Fallback.  This is a deliberately simplistic "conversion" and
-    # should not be "improved".  See libtool.info.
-    if test "x$1" != "x$2"; then
-      lt_replace_pathsep_chars="s|$1|$2|g"
-      func_to_host_path_result=`echo "$3" |
-        $SED -e "$lt_replace_pathsep_chars"`
-    else
-      func_to_host_path_result="$3"
-    fi
-  fi
-}
-# end func_convert_path_check
-
-
-# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
-# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
-# and appending REPL if ORIG matches BACKPAT.
-func_convert_path_front_back_pathsep ()
-{
-  $opt_debug
-  case $4 in
-  $1 ) func_to_host_path_result="$3$func_to_host_path_result"
-    ;;
-  esac
-  case $4 in
-  $2 ) func_append func_to_host_path_result "$3"
-    ;;
-  esac
-}
-# end func_convert_path_front_back_pathsep
-
-
-##################################################
-# $build to $host FILE NAME CONVERSION FUNCTIONS #
-##################################################
-# invoked via `$to_host_file_cmd ARG'
-#
-# In each case, ARG is the path to be converted from $build to $host format.
-# Result will be available in $func_to_host_file_result.
-
-
-# func_to_host_file ARG
-# Converts the file name ARG from $build format to $host format. Return result
-# in func_to_host_file_result.
-func_to_host_file ()
-{
-  $opt_debug
-  $to_host_file_cmd "$1"
-}
-# end func_to_host_file
-
-
-# func_to_tool_file ARG LAZY
-# converts the file name ARG from $build format to toolchain format. Return
-# result in func_to_tool_file_result.  If the conversion in use is listed
-# in (the comma separated) LAZY, no conversion takes place.
-func_to_tool_file ()
-{
-  $opt_debug
-  case ,$2, in
-    *,"$to_tool_file_cmd",*)
-      func_to_tool_file_result=$1
-      ;;
-    *)
-      $to_tool_file_cmd "$1"
-      func_to_tool_file_result=$func_to_host_file_result
-      ;;
-  esac
-}
-# end func_to_tool_file
-
-
-# func_convert_file_noop ARG
-# Copy ARG to func_to_host_file_result.
-func_convert_file_noop ()
-{
-  func_to_host_file_result="$1"
-}
-# end func_convert_file_noop
-
-
-# func_convert_file_msys_to_w32 ARG
-# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
-# conversion to w32 is not available inside the cwrapper.  Returns result in
-# func_to_host_file_result.
-func_convert_file_msys_to_w32 ()
-{
-  $opt_debug
-  func_to_host_file_result="$1"
-  if test -n "$1"; then
-    func_convert_core_msys_to_w32 "$1"
-    func_to_host_file_result="$func_convert_core_msys_to_w32_result"
-  fi
-  func_convert_file_check "$1" "$func_to_host_file_result"
-}
-# end func_convert_file_msys_to_w32
-
-
-# func_convert_file_cygwin_to_w32 ARG
-# Convert file name ARG from Cygwin to w32 format.  Returns result in
-# func_to_host_file_result.
-func_convert_file_cygwin_to_w32 ()
-{
-  $opt_debug
-  func_to_host_file_result="$1"
-  if test -n "$1"; then
-    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
-    # LT_CYGPATH in this case.
-    func_to_host_file_result=`cygpath -m "$1"`
-  fi
-  func_convert_file_check "$1" "$func_to_host_file_result"
-}
-# end func_convert_file_cygwin_to_w32
-
-
-# func_convert_file_nix_to_w32 ARG
-# Convert file name ARG from *nix to w32 format.  Requires a wine environment
-# and a working winepath. Returns result in func_to_host_file_result.
-func_convert_file_nix_to_w32 ()
-{
-  $opt_debug
-  func_to_host_file_result="$1"
-  if test -n "$1"; then
-    func_convert_core_file_wine_to_w32 "$1"
-    func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
-  fi
-  func_convert_file_check "$1" "$func_to_host_file_result"
-}
-# end func_convert_file_nix_to_w32
-
-
-# func_convert_file_msys_to_cygwin ARG
-# Convert file name ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
-# Returns result in func_to_host_file_result.
-func_convert_file_msys_to_cygwin ()
-{
-  $opt_debug
-  func_to_host_file_result="$1"
-  if test -n "$1"; then
-    func_convert_core_msys_to_w32 "$1"
-    func_cygpath -u "$func_convert_core_msys_to_w32_result"
-    func_to_host_file_result="$func_cygpath_result"
-  fi
-  func_convert_file_check "$1" "$func_to_host_file_result"
-}
-# end func_convert_file_msys_to_cygwin
-
-
-# func_convert_file_nix_to_cygwin ARG
-# Convert file name ARG from *nix to Cygwin format.  Requires Cygwin installed
-# in a wine environment, working winepath, and LT_CYGPATH set.  Returns result
-# in func_to_host_file_result.
-func_convert_file_nix_to_cygwin ()
-{
-  $opt_debug
-  func_to_host_file_result="$1"
-  if test -n "$1"; then
-    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
-    func_convert_core_file_wine_to_w32 "$1"
-    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
-    func_to_host_file_result="$func_cygpath_result"
-  fi
-  func_convert_file_check "$1" "$func_to_host_file_result"
-}
-# end func_convert_file_nix_to_cygwin
-
-
-#############################################
-# $build to $host PATH CONVERSION FUNCTIONS #
-#############################################
-# invoked via `$to_host_path_cmd ARG'
-#
-# In each case, ARG is the path to be converted from $build to $host format.
-# The result will be available in $func_to_host_path_result.
-#
-# Path separators are also converted from $build format to $host format.  If
-# ARG begins or ends with a path separator character, it is preserved (but
-# converted to $host format) on output.
-#
-# All path conversion functions are named using the following convention:
-#   file name conversion function    : func_convert_file_X_to_Y ()
-#   path conversion function         : func_convert_path_X_to_Y ()
-# where, for any given $build/$host combination the 'X_to_Y' value is the
-# same.  If conversion functions are added for new $build/$host combinations,
-# the two new functions must follow this pattern, or func_init_to_host_path_cmd
-# will break.
-
-
-# func_init_to_host_path_cmd
-# Ensures that function "pointer" variable $to_host_path_cmd is set to the
-# appropriate value, based on the value of $to_host_file_cmd.
-to_host_path_cmd=
-func_init_to_host_path_cmd ()
-{
-  $opt_debug
-  if test -z "$to_host_path_cmd"; then
-    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
-    to_host_path_cmd="func_convert_path_${func_stripname_result}"
-  fi
-}
-
-
-# func_to_host_path ARG
-# Converts the path ARG from $build format to $host format. Return result
-# in func_to_host_path_result.
-func_to_host_path ()
-{
-  $opt_debug
-  func_init_to_host_path_cmd
-  $to_host_path_cmd "$1"
-}
-# end func_to_host_path
-
-
-# func_convert_path_noop ARG
-# Copy ARG to func_to_host_path_result.
-func_convert_path_noop ()
-{
-  func_to_host_path_result="$1"
-}
-# end func_convert_path_noop
-
-
-# func_convert_path_msys_to_w32 ARG
-# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
-# conversion to w32 is not available inside the cwrapper.  Returns result in
-# func_to_host_path_result.
-func_convert_path_msys_to_w32 ()
-{
-  $opt_debug
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    # Remove leading and trailing path separator characters from ARG.  MSYS
-    # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
-    # and winepath ignores them completely.
-    func_stripname : : "$1"
-    func_to_host_path_tmp1=$func_stripname_result
-    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
-    func_to_host_path_result="$func_convert_core_msys_to_w32_result"
-    func_convert_path_check : ";" \
-      "$func_to_host_path_tmp1" "$func_to_host_path_result"
-    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
-  fi
-}
-# end func_convert_path_msys_to_w32
-
-
-# func_convert_path_cygwin_to_w32 ARG
-# Convert path ARG from Cygwin to w32 format.  Returns result in
-# func_to_host_file_result.
-func_convert_path_cygwin_to_w32 ()
-{
-  $opt_debug
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    # See func_convert_path_msys_to_w32:
-    func_stripname : : "$1"
-    func_to_host_path_tmp1=$func_stripname_result
-    func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
-    func_convert_path_check : ";" \
-      "$func_to_host_path_tmp1" "$func_to_host_path_result"
-    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
-  fi
-}
-# end func_convert_path_cygwin_to_w32
-
-
-# func_convert_path_nix_to_w32 ARG
-# Convert path ARG from *nix to w32 format.  Requires a wine environment and
-# a working winepath.  Returns result in func_to_host_file_result.
-func_convert_path_nix_to_w32 ()
-{
-  $opt_debug
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    # See func_convert_path_msys_to_w32:
-    func_stripname : : "$1"
-    func_to_host_path_tmp1=$func_stripname_result
-    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
-    func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
-    func_convert_path_check : ";" \
-      "$func_to_host_path_tmp1" "$func_to_host_path_result"
-    func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
-  fi
-}
-# end func_convert_path_nix_to_w32
-
-
-# func_convert_path_msys_to_cygwin ARG
-# Convert path ARG from MSYS to Cygwin format.  Requires LT_CYGPATH set.
-# Returns result in func_to_host_file_result.
-func_convert_path_msys_to_cygwin ()
-{
-  $opt_debug
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    # See func_convert_path_msys_to_w32:
-    func_stripname : : "$1"
-    func_to_host_path_tmp1=$func_stripname_result
-    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
-    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
-    func_to_host_path_result="$func_cygpath_result"
-    func_convert_path_check : : \
-      "$func_to_host_path_tmp1" "$func_to_host_path_result"
-    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
-  fi
-}
-# end func_convert_path_msys_to_cygwin
-
-
-# func_convert_path_nix_to_cygwin ARG
-# Convert path ARG from *nix to Cygwin format.  Requires Cygwin installed in a
-# a wine environment, working winepath, and LT_CYGPATH set.  Returns result in
-# func_to_host_file_result.
-func_convert_path_nix_to_cygwin ()
-{
-  $opt_debug
-  func_to_host_path_result="$1"
-  if test -n "$1"; then
-    # Remove leading and trailing path separator characters from
-    # ARG. msys behavior is inconsistent here, cygpath turns them
-    # into '.;' and ';.', and winepath ignores them completely.
-    func_stripname : : "$1"
-    func_to_host_path_tmp1=$func_stripname_result
-    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
-    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
-    func_to_host_path_result="$func_cygpath_result"
-    func_convert_path_check : : \
-      "$func_to_host_path_tmp1" "$func_to_host_path_result"
-    func_convert_path_front_back_pathsep ":*" "*:" : "$1"
-  fi
-}
-# end func_convert_path_nix_to_cygwin
-
-
-# func_mode_compile arg...
-func_mode_compile ()
-{
-    $opt_debug
-    # Get the compilation command and the source file.
-    base_compile=
-    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
-    suppress_opt=yes
-    suppress_output=
-    arg_mode=normal
-    libobj=
-    later=
-    pie_flag=
-
-    for arg
-    do
-      case $arg_mode in
-      arg  )
-       # do not "continue".  Instead, add this to base_compile
-       lastarg="$arg"
-       arg_mode=normal
-       ;;
-
-      target )
-       libobj="$arg"
-       arg_mode=normal
-       continue
-       ;;
-
-      normal )
-       # Accept any command-line options.
-       case $arg in
-       -o)
-         test -n "$libobj" && \
-           func_fatal_error "you cannot specify \`-o' more than once"
-         arg_mode=target
-         continue
-         ;;
-
-       -pie | -fpie | -fPIE)
-          func_append pie_flag " $arg"
-         continue
-         ;;
-
-       -shared | -static | -prefer-pic | -prefer-non-pic)
-         func_append later " $arg"
-         continue
-         ;;
-
-       -no-suppress)
-         suppress_opt=no
-         continue
-         ;;
-
-       -Xcompiler)
-         arg_mode=arg  #  the next one goes into the "base_compile" arg list
-         continue      #  The current "srcfile" will either be retained or
-         ;;            #  replaced later.  I would guess that would be a bug.
-
-       -Wc,*)
-         func_stripname '-Wc,' '' "$arg"
-         args=$func_stripname_result
-         lastarg=
-         save_ifs="$IFS"; IFS=','
-         for arg in $args; do
-           IFS="$save_ifs"
-           func_append_quoted lastarg "$arg"
-         done
-         IFS="$save_ifs"
-         func_stripname ' ' '' "$lastarg"
-         lastarg=$func_stripname_result
-
-         # Add the arguments to base_compile.
-         func_append base_compile " $lastarg"
-         continue
-         ;;
-
-       *)
-         # Accept the current argument as the source file.
-         # The previous "srcfile" becomes the current argument.
-         #
-         lastarg="$srcfile"
-         srcfile="$arg"
-         ;;
-       esac  #  case $arg
-       ;;
-      esac    #  case $arg_mode
-
-      # Aesthetically quote the previous argument.
-      func_append_quoted base_compile "$lastarg"
-    done # for arg
-
-    case $arg_mode in
-    arg)
-      func_fatal_error "you must specify an argument for -Xcompile"
-      ;;
-    target)
-      func_fatal_error "you must specify a target with \`-o'"
-      ;;
-    *)
-      # Get the name of the library object.
-      test -z "$libobj" && {
-       func_basename "$srcfile"
-       libobj="$func_basename_result"
-      }
-      ;;
-    esac
-
-    # Recognize several different file suffixes.
-    # If the user specifies -o file.o, it is replaced with file.lo
-    case $libobj in
-    *.[cCFSifmso] | \
-    *.ada | *.adb | *.ads | *.asm | \
-    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
-    *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
-      func_xform "$libobj"
-      libobj=$func_xform_result
-      ;;
-    esac
-
-    case $libobj in
-    *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
-    *)
-      func_fatal_error "cannot determine name of library object from \`$libobj'"
-      ;;
-    esac
-
-    func_infer_tag $base_compile
-
-    for arg in $later; do
-      case $arg in
-      -shared)
-       test "$build_libtool_libs" != yes && \
-         func_fatal_configuration "can not build a shared library"
-       build_old_libs=no
-       continue
-       ;;
-
-      -static)
-       build_libtool_libs=no
-       build_old_libs=yes
-       continue
-       ;;
-
-      -prefer-pic)
-       pic_mode=yes
-       continue
-       ;;
-
-      -prefer-non-pic)
-       pic_mode=no
-       continue
-       ;;
-      esac
-    done
-
-    func_quote_for_eval "$libobj"
-    test "X$libobj" != "X$func_quote_for_eval_result" \
-      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'   &()|`$[]' \
-      && func_warning "libobj name \`$libobj' may not contain shell special characters."
-    func_dirname_and_basename "$obj" "/" ""
-    objname="$func_basename_result"
-    xdir="$func_dirname_result"
-    lobj=${xdir}$objdir/$objname
-
-    test -z "$base_compile" && \
-      func_fatal_help "you must specify a compilation command"
-
-    # Delete any leftover library objects.
-    if test "$build_old_libs" = yes; then
-      removelist="$obj $lobj $libobj ${libobj}T"
-    else
-      removelist="$lobj $libobj ${libobj}T"
-    fi
-
-    # On Cygwin there's no "real" PIC flag so we must build both object types
-    case $host_os in
-    cygwin* | mingw* | pw32* | os2* | cegcc*)
-      pic_mode=default
-      ;;
-    esac
-    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
-      # non-PIC code in shared libraries is not supported
-      pic_mode=default
-    fi
-
-    # Calculate the filename of the output object if compiler does
-    # not support -o with -c
-    if test "$compiler_c_o" = no; then
-      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
-      lockfile="$output_obj.lock"
-    else
-      output_obj=
-      need_locks=no
-      lockfile=
-    fi
-
-    # Lock this critical section if it is needed
-    # We use this script file to make the link, it avoids creating a new file
-    if test "$need_locks" = yes; then
-      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
-       func_echo "Waiting for $lockfile to be removed"
-       sleep 2
-      done
-    elif test "$need_locks" = warn; then
-      if test -f "$lockfile"; then
-       $ECHO "\
-*** ERROR, $lockfile exists and contains:
-`cat $lockfile 2>/dev/null`
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together.  If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
-       $opt_dry_run || $RM $removelist
-       exit $EXIT_FAILURE
-      fi
-      func_append removelist " $output_obj"
-      $ECHO "$srcfile" > "$lockfile"
-    fi
-
-    $opt_dry_run || $RM $removelist
-    func_append removelist " $lockfile"
-    trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
-
-    func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
-    srcfile=$func_to_tool_file_result
-    func_quote_for_eval "$srcfile"
-    qsrcfile=$func_quote_for_eval_result
-
-    # Only build a PIC object if we are building libtool libraries.
-    if test "$build_libtool_libs" = yes; then
-      # Without this assignment, base_compile gets emptied.
-      fbsd_hideous_sh_bug=$base_compile
-
-      if test "$pic_mode" != no; then
-       command="$base_compile $qsrcfile $pic_flag"
-      else
-       # Don't build PIC code
-       command="$base_compile $qsrcfile"
-      fi
-
-      func_mkdir_p "$xdir$objdir"
-
-      if test -z "$output_obj"; then
-       # Place PIC objects in $objdir
-       func_append command " -o $lobj"
-      fi
-
-      func_show_eval_locale "$command" \
-          'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
-
-      if test "$need_locks" = warn &&
-        test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
-       $ECHO "\
-*** ERROR, $lockfile contains:
-`cat $lockfile 2>/dev/null`
-
-but it should contain:
-$srcfile
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together.  If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
-       $opt_dry_run || $RM $removelist
-       exit $EXIT_FAILURE
-      fi
-
-      # Just move the object if needed, then go on to compile the next one
-      if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
-       func_show_eval '$MV "$output_obj" "$lobj"' \
-         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
-      fi
-
-      # Allow error messages only from the first compilation.
-      if test "$suppress_opt" = yes; then
-       suppress_output=' >/dev/null 2>&1'
-      fi
-    fi
-
-    # Only build a position-dependent object if we build old libraries.
-    if test "$build_old_libs" = yes; then
-      if test "$pic_mode" != yes; then
-       # Don't build PIC code
-       command="$base_compile $qsrcfile$pie_flag"
-      else
-       command="$base_compile $qsrcfile $pic_flag"
-      fi
-      if test "$compiler_c_o" = yes; then
-       func_append command " -o $obj"
-      fi
-
-      # Suppress compiler output if we already did a PIC compilation.
-      func_append command "$suppress_output"
-      func_show_eval_locale "$command" \
-        '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
-
-      if test "$need_locks" = warn &&
-        test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
-       $ECHO "\
-*** ERROR, $lockfile contains:
-`cat $lockfile 2>/dev/null`
-
-but it should contain:
-$srcfile
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together.  If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
-       $opt_dry_run || $RM $removelist
-       exit $EXIT_FAILURE
-      fi
-
-      # Just move the object if needed
-      if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
-       func_show_eval '$MV "$output_obj" "$obj"' \
-         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
-      fi
-    fi
-
-    $opt_dry_run || {
-      func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
-
-      # Unlock the critical section if it was locked
-      if test "$need_locks" != no; then
-       removelist=$lockfile
-        $RM "$lockfile"
-      fi
-    }
-
-    exit $EXIT_SUCCESS
-}
-
-$opt_help || {
-  test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
-}
-
-func_mode_help ()
-{
-    # We need to display help for each of the modes.
-    case $opt_mode in
-      "")
-        # Generic help is extracted from the usage comments
-        # at the start of this file.
-        func_help
-        ;;
-
-      clean)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
-
-Remove files from the build directory.
-
-RM is the name of the program to use to delete files associated with each FILE
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
-to RM.
-
-If FILE is a libtool library, object or program, all the files associated
-with it are deleted. Otherwise, only FILE itself is deleted using RM."
-        ;;
-
-      compile)
-      $ECHO \
-"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
-
-Compile a source file into a libtool library object.
-
-This mode accepts the following additional options:
-
-  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
-  -no-suppress      do not suppress compiler output for multiple passes
-  -prefer-pic       try to build PIC objects only
-  -prefer-non-pic   try to build non-PIC objects only
-  -shared           do not build a \`.o' file suitable for static linking
-  -static           only build a \`.o' file suitable for static linking
-  -Wc,FLAG          pass FLAG directly to the compiler
-
-COMPILE-COMMAND is a command to be used in creating a \`standard' object file
-from the given SOURCEFILE.
-
-The output file name is determined by removing the directory component from
-SOURCEFILE, then substituting the C source code suffix \`.c' with the
-library object suffix, \`.lo'."
-        ;;
-
-      execute)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
-
-Automatically set library path, then run a program.
-
-This mode accepts the following additional options:
-
-  -dlopen FILE      add the directory containing FILE to the library path
-
-This mode sets the library path environment variable according to \`-dlopen'
-flags.
-
-If any of the ARGS are libtool executable wrappers, then they are translated
-into their corresponding uninstalled binary, and any of their required library
-directories are added to the library path.
-
-Then, COMMAND is executed, with ARGS as arguments."
-        ;;
-
-      finish)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
-
-Complete the installation of libtool libraries.
-
-Each LIBDIR is a directory that contains libtool libraries.
-
-The commands that this mode executes may require superuser privileges.  Use
-the \`--dry-run' option if you just want to see what would be executed."
-        ;;
-
-      install)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
-
-Install executables or libraries.
-
-INSTALL-COMMAND is the installation command.  The first component should be
-either the \`install' or \`cp' program.
-
-The following components of INSTALL-COMMAND are treated specially:
-
-  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
-
-The rest of the components are interpreted as arguments to that command (only
-BSD-compatible install options are recognized)."
-        ;;
-
-      link)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
-
-Link object files or libraries together to form another library, or to
-create an executable program.
-
-LINK-COMMAND is a command using the C compiler that you would use to create
-a program from several object files.
-
-The following components of LINK-COMMAND are treated specially:
-
-  -all-static       do not do any dynamic linking at all
-  -avoid-version    do not add a version suffix if possible
-  -bindir BINDIR    specify path to binaries directory (for systems where
-                    libraries must be found in the PATH setting at runtime)
-  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
-  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
-  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
-  -export-symbols SYMFILE
-                    try to export only the symbols listed in SYMFILE
-  -export-symbols-regex REGEX
-                    try to export only the symbols matching REGEX
-  -LLIBDIR          search LIBDIR for required installed libraries
-  -lNAME            OUTPUT-FILE requires the installed library libNAME
-  -module           build a library that can dlopened
-  -no-fast-install  disable the fast-install mode
-  -no-install       link a not-installable executable
-  -no-undefined     declare that a library does not refer to external symbols
-  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
-  -objectlist FILE  Use a list of object files found in FILE to specify objects
-  -precious-files-regex REGEX
-                    don't remove output files matching REGEX
-  -release RELEASE  specify package release information
-  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
-  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
-  -shared           only do dynamic linking of libtool libraries
-  -shrext SUFFIX    override the standard shared library file extension
-  -static           do not do any dynamic linking of uninstalled libtool libraries
-  -static-libtool-libs
-                    do not do any dynamic linking of libtool libraries
-  -version-info CURRENT[:REVISION[:AGE]]
-                    specify library version info [each variable defaults to 0]
-  -weak LIBNAME     declare that the target provides the LIBNAME interface
-  -Wc,FLAG
-  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler
-  -Wl,FLAG
-  -Xlinker FLAG     pass linker-specific FLAG directly to the linker
-  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
-
-All other options (arguments beginning with \`-') are ignored.
-
-Every other argument is treated as a filename.  Files ending in \`.la' are
-treated as uninstalled libtool libraries, other files are standard or library
-object files.
-
-If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
-only library objects (\`.lo' files) may be specified, and \`-rpath' is
-required, except when creating a convenience library.
-
-If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
-using \`ar' and \`ranlib', or on Windows using \`lib'.
-
-If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
-is created, otherwise an executable program is created."
-        ;;
-
-      uninstall)
-        $ECHO \
-"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
-
-Remove libraries from an installation directory.
-
-RM is the name of the program to use to delete files associated with each FILE
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
-to RM.
-
-If FILE is a libtool library, all the files associated with it are deleted.
-Otherwise, only FILE itself is deleted using RM."
-        ;;
-
-      *)
-        func_fatal_help "invalid operation mode \`$opt_mode'"
-        ;;
-    esac
-
-    echo
-    $ECHO "Try \`$progname --help' for more information about other modes."
-}
-
-# Now that we've collected a possible --mode arg, show help if necessary
-if $opt_help; then
-  if test "$opt_help" = :; then
-    func_mode_help
-  else
-    {
-      func_help noexit
-      for opt_mode in compile link execute install finish uninstall clean; do
-       func_mode_help
-      done
-    } | sed -n '1p; 2,$s/^Usage:/  or: /p'
-    {
-      func_help noexit
-      for opt_mode in compile link execute install finish uninstall clean; do
-       echo
-       func_mode_help
-      done
-    } |
-    sed '1d
-      /^When reporting/,/^Report/{
-       H
-       d
-      }
-      $x
-      /information about other modes/d
-      /more detailed .*MODE/d
-      s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
-  fi
-  exit $?
-fi
-
-
-# func_mode_execute arg...
-func_mode_execute ()
-{
-    $opt_debug
-    # The first argument is the command name.
-    cmd="$nonopt"
-    test -z "$cmd" && \
-      func_fatal_help "you must specify a COMMAND"
-
-    # Handle -dlopen flags immediately.
-    for file in $opt_dlopen; do
-      test -f "$file" \
-       || func_fatal_help "\`$file' is not a file"
-
-      dir=
-      case $file in
-      *.la)
-       func_resolve_sysroot "$file"
-       file=$func_resolve_sysroot_result
-
-       # Check to see that this really is a libtool archive.
-       func_lalib_unsafe_p "$file" \
-         || func_fatal_help "\`$lib' is not a valid libtool archive"
-
-       # Read the libtool library.
-       dlname=
-       library_names=
-       func_source "$file"
-
-       # Skip this library if it cannot be dlopened.
-       if test -z "$dlname"; then
-         # Warn if it was a shared library.
-         test -n "$library_names" && \
-           func_warning "\`$file' was not linked with \`-export-dynamic'"
-         continue
-       fi
-
-       func_dirname "$file" "" "."
-       dir="$func_dirname_result"
-
-       if test -f "$dir/$objdir/$dlname"; then
-         func_append dir "/$objdir"
-       else
-         if test ! -f "$dir/$dlname"; then
-           func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
-         fi
-       fi
-       ;;
-
-      *.lo)
-       # Just add the directory containing the .lo file.
-       func_dirname "$file" "" "."
-       dir="$func_dirname_result"
-       ;;
-
-      *)
-       func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
-       continue
-       ;;
-      esac
-
-      # Get the absolute pathname.
-      absdir=`cd "$dir" && pwd`
-      test -n "$absdir" && dir="$absdir"
-
-      # Now add the directory to shlibpath_var.
-      if eval "test -z \"\$$shlibpath_var\""; then
-       eval "$shlibpath_var=\"\$dir\""
-      else
-       eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
-      fi
-    done
-
-    # This variable tells wrapper scripts just to set shlibpath_var
-    # rather than running their programs.
-    libtool_execute_magic="$magic"
-
-    # Check if any of the arguments is a wrapper script.
-    args=
-    for file
-    do
-      case $file in
-      -* | *.la | *.lo ) ;;
-      *)
-       # Do a test to see if this is really a libtool program.
-       if func_ltwrapper_script_p "$file"; then
-         func_source "$file"
-         # Transform arg to wrapped name.
-         file="$progdir/$program"
-       elif func_ltwrapper_executable_p "$file"; then
-         func_ltwrapper_scriptname "$file"
-         func_source "$func_ltwrapper_scriptname_result"
-         # Transform arg to wrapped name.
-         file="$progdir/$program"
-       fi
-       ;;
-      esac
-      # Quote arguments (to preserve shell metacharacters).
-      func_append_quoted args "$file"
-    done
-
-    if test "X$opt_dry_run" = Xfalse; then
-      if test -n "$shlibpath_var"; then
-       # Export the shlibpath_var.
-       eval "export $shlibpath_var"
-      fi
-
-      # Restore saved environment variables
-      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
-      do
-       eval "if test \"\${save_$lt_var+set}\" = set; then
-                $lt_var=\$save_$lt_var; export $lt_var
-             else
-               $lt_unset $lt_var
-             fi"
-      done
-
-      # Now prepare to actually exec the command.
-      exec_cmd="\$cmd$args"
-    else
-      # Display what would be done.
-      if test -n "$shlibpath_var"; then
-       eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
-       echo "export $shlibpath_var"
-      fi
-      $ECHO "$cmd$args"
-      exit $EXIT_SUCCESS
-    fi
-}
-
-test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
-
-
-# func_mode_finish arg...
-func_mode_finish ()
-{
-    $opt_debug
-    libs=
-    libdirs=
-    admincmds=
-
-    for opt in "$nonopt" ${1+"$@"}
-    do
-      if test -d "$opt"; then
-       func_append libdirs " $opt"
-
-      elif test -f "$opt"; then
-       if func_lalib_unsafe_p "$opt"; then
-         func_append libs " $opt"
-       else
-         func_warning "\`$opt' is not a valid libtool archive"
-       fi
-
-      else
-       func_fatal_error "invalid argument \`$opt'"
-      fi
-    done
-
-    if test -n "$libs"; then
-      if test -n "$lt_sysroot"; then
-        sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
-        sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
-      else
-        sysroot_cmd=
-      fi
-
-      # Remove sysroot references
-      if $opt_dry_run; then
-        for lib in $libs; do
-          echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
-        done
-      else
-        tmpdir=`func_mktempdir`
-        for lib in $libs; do
-         sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
-           > $tmpdir/tmp-la
-         mv -f $tmpdir/tmp-la $lib
-       done
-        ${RM}r "$tmpdir"
-      fi
-    fi
-
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      for libdir in $libdirs; do
-       if test -n "$finish_cmds"; then
-         # Do each command in the finish commands.
-         func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
-'"$cmd"'"'
-       fi
-       if test -n "$finish_eval"; then
-         # Do the single finish_eval.
-         eval cmds=\"$finish_eval\"
-         $opt_dry_run || eval "$cmds" || func_append admincmds "
-       $cmds"
-       fi
-      done
-    fi
-
-    # Exit here if they wanted silent mode.
-    $opt_silent && exit $EXIT_SUCCESS
-
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
-      echo "----------------------------------------------------------------------"
-      echo "Libraries have been installed in:"
-      for libdir in $libdirs; do
-       $ECHO "   $libdir"
-      done
-      echo
-      echo "If you ever happen to want to link against installed libraries"
-      echo "in a given directory, LIBDIR, you must either use libtool, and"
-      echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
-      echo "flag during linking and do at least one of the following:"
-      if test -n "$shlibpath_var"; then
-       echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
-       echo "     during execution"
-      fi
-      if test -n "$runpath_var"; then
-       echo "   - add LIBDIR to the \`$runpath_var' environment variable"
-       echo "     during linking"
-      fi
-      if test -n "$hardcode_libdir_flag_spec"; then
-       libdir=LIBDIR
-       eval flag=\"$hardcode_libdir_flag_spec\"
-
-       $ECHO "   - use the \`$flag' linker flag"
-      fi
-      if test -n "$admincmds"; then
-       $ECHO "   - have your system administrator run these commands:$admincmds"
-      fi
-      if test -f /etc/ld.so.conf; then
-       echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
-      fi
-      echo
-
-      echo "See any operating system documentation about shared libraries for"
-      case $host in
-       solaris2.[6789]|solaris2.1[0-9])
-         echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
-         echo "pages."
-         ;;
-       *)
-         echo "more information, such as the ld(1) and ld.so(8) manual pages."
-         ;;
-      esac
-      echo "----------------------------------------------------------------------"
-    fi
-    exit $EXIT_SUCCESS
-}
-
-test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
-
-
-# func_mode_install arg...
-func_mode_install ()
-{
-    $opt_debug
-    # There may be an optional sh(1) argument at the beginning of
-    # install_prog (especially on Windows NT).
-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
-       # Allow the use of GNU shtool's install command.
-       case $nonopt in *shtool*) :;; *) false;; esac; then
-      # Aesthetically quote it.
-      func_quote_for_eval "$nonopt"
-      install_prog="$func_quote_for_eval_result "
-      arg=$1
-      shift
-    else
-      install_prog=
-      arg=$nonopt
-    fi
-
-    # The real first argument should be the name of the installation program.
-    # Aesthetically quote it.
-    func_quote_for_eval "$arg"
-    func_append install_prog "$func_quote_for_eval_result"
-    install_shared_prog=$install_prog
-    case " $install_prog " in
-      *[\\\ /]cp\ *) install_cp=: ;;
-      *) install_cp=false ;;
-    esac
-
-    # We need to accept at least all the BSD install flags.
-    dest=
-    files=
-    opts=
-    prev=
-    install_type=
-    isdir=no
-    stripme=
-    no_mode=:
-    for arg
-    do
-      arg2=
-      if test -n "$dest"; then
-       func_append files " $dest"
-       dest=$arg
-       continue
-      fi
-
-      case $arg in
-      -d) isdir=yes ;;
-      -f)
-       if $install_cp; then :; else
-         prev=$arg
-       fi
-       ;;
-      -g | -m | -o)
-       prev=$arg
-       ;;
-      -s)
-       stripme=" -s"
-       continue
-       ;;
-      -*)
-       ;;
-      *)
-       # If the previous option needed an argument, then skip it.
-       if test -n "$prev"; then
-         if test "x$prev" = x-m && test -n "$install_override_mode"; then
-           arg2=$install_override_mode
-           no_mode=false
-         fi
-         prev=
-       else
-         dest=$arg
-         continue
-       fi
-       ;;
-      esac
-
-      # Aesthetically quote the argument.
-      func_quote_for_eval "$arg"
-      func_append install_prog " $func_quote_for_eval_result"
-      if test -n "$arg2"; then
-       func_quote_for_eval "$arg2"
-      fi
-      func_append install_shared_prog " $func_quote_for_eval_result"
-    done
-
-    test -z "$install_prog" && \
-      func_fatal_help "you must specify an install program"
-
-    test -n "$prev" && \
-      func_fatal_help "the \`$prev' option requires an argument"
-
-    if test -n "$install_override_mode" && $no_mode; then
-      if $install_cp; then :; else
-       func_quote_for_eval "$install_override_mode"
-       func_append install_shared_prog " -m $func_quote_for_eval_result"
-      fi
-    fi
-
-    if test -z "$files"; then
-      if test -z "$dest"; then
-       func_fatal_help "no file or destination specified"
-      else
-       func_fatal_help "you must specify a destination"
-      fi
-    fi
-
-    # Strip any trailing slash from the destination.
-    func_stripname '' '/' "$dest"
-    dest=$func_stripname_result
-
-    # Check to see that the destination is a directory.
-    test -d "$dest" && isdir=yes
-    if test "$isdir" = yes; then
-      destdir="$dest"
-      destname=
-    else
-      func_dirname_and_basename "$dest" "" "."
-      destdir="$func_dirname_result"
-      destname="$func_basename_result"
-
-      # Not a directory, so check to see that there is only one file specified.
-      set dummy $files; shift
-      test "$#" -gt 1 && \
-       func_fatal_help "\`$dest' is not a directory"
-    fi
-    case $destdir in
-    [\\/]* | [A-Za-z]:[\\/]*) ;;
-    *)
-      for file in $files; do
-       case $file in
-       *.lo) ;;
-       *)
-         func_fatal_help "\`$destdir' must be an absolute directory name"
-         ;;
-       esac
-      done
-      ;;
-    esac
-
-    # This variable tells wrapper scripts just to set variables rather
-    # than running their programs.
-    libtool_install_magic="$magic"
-
-    staticlibs=
-    future_libdirs=
-    current_libdirs=
-    for file in $files; do
-
-      # Do each installation.
-      case $file in
-      *.$libext)
-       # Do the static libraries later.
-       func_append staticlibs " $file"
-       ;;
-
-      *.la)
-       func_resolve_sysroot "$file"
-       file=$func_resolve_sysroot_result
-
-       # Check to see that this really is a libtool archive.
-       func_lalib_unsafe_p "$file" \
-         || func_fatal_help "\`$file' is not a valid libtool archive"
-
-       library_names=
-       old_library=
-       relink_command=
-       func_source "$file"
-
-       # Add the libdir to current_libdirs if it is the destination.
-       if test "X$destdir" = "X$libdir"; then
-         case "$current_libdirs " in
-         *" $libdir "*) ;;
-         *) func_append current_libdirs " $libdir" ;;
-         esac
-       else
-         # Note the libdir as a future libdir.
-         case "$future_libdirs " in
-         *" $libdir "*) ;;
-         *) func_append future_libdirs " $libdir" ;;
-         esac
-       fi
-
-       func_dirname "$file" "/" ""
-       dir="$func_dirname_result"
-       func_append dir "$objdir"
-
-       if test -n "$relink_command"; then
-         # Determine the prefix the user has applied to our future dir.
-         inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
-
-         # Don't allow the user to place us outside of our expected
-         # location b/c this prevents finding dependent libraries that
-         # are installed to the same prefix.
-         # At present, this check doesn't affect windows .dll's that
-         # are installed into $libdir/../bin (currently, that works fine)
-         # but it's something to keep an eye on.
-         test "$inst_prefix_dir" = "$destdir" && \
-           func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
-
-         if test -n "$inst_prefix_dir"; then
-           # Stick the inst_prefix_dir data into the link command.
-           relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
-         else
-           relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
-         fi
-
-         func_warning "relinking \`$file'"
-         func_show_eval "$relink_command" \
-           'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
-       fi
-
-       # See the names of the shared library.
-       set dummy $library_names; shift
-       if test -n "$1"; then
-         realname="$1"
-         shift
-
-         srcname="$realname"
-         test -n "$relink_command" && srcname="$realname"T
-
-         # Install the shared library and build the symlinks.
-         func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
-             'exit $?'
-         tstripme="$stripme"
-         case $host_os in
-         cygwin* | mingw* | pw32* | cegcc*)
-           case $realname in
-           *.dll.a)
-             tstripme=""
-             ;;
-           esac
-           ;;
-         esac
-         if test -n "$tstripme" && test -n "$striplib"; then
-           func_show_eval "$striplib $destdir/$realname" 'exit $?'
-         fi
-
-         if test "$#" -gt 0; then
-           # Delete the old symlinks, and create new ones.
-           # Try `ln -sf' first, because the `ln' binary might depend on
-           # the symlink we replace!  Solaris /bin/ln does not understand -f,
-           # so we also need to try rm && ln -s.
-           for linkname
-           do
-             test "$linkname" != "$realname" \
-               && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
-           done
-         fi
-
-         # Do each command in the postinstall commands.
-         lib="$destdir/$realname"
-         func_execute_cmds "$postinstall_cmds" 'exit $?'
-       fi
-
-       # Install the pseudo-library for information purposes.
-       func_basename "$file"
-       name="$func_basename_result"
-       instname="$dir/$name"i
-       func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
-
-       # Maybe install the static library, too.
-       test -n "$old_library" && func_append staticlibs " $dir/$old_library"
-       ;;
-
-      *.lo)
-       # Install (i.e. copy) a libtool object.
-
-       # Figure out destination file name, if it wasn't already specified.
-       if test -n "$destname"; then
-         destfile="$destdir/$destname"
-       else
-         func_basename "$file"
-         destfile="$func_basename_result"
-         destfile="$destdir/$destfile"
-       fi
-
-       # Deduce the name of the destination old-style object file.
-       case $destfile in
-       *.lo)
-         func_lo2o "$destfile"
-         staticdest=$func_lo2o_result
-         ;;
-       *.$objext)
-         staticdest="$destfile"
-         destfile=
-         ;;
-       *)
-         func_fatal_help "cannot copy a libtool object to \`$destfile'"
-         ;;
-       esac
-
-       # Install the libtool object if requested.
-       test -n "$destfile" && \
-         func_show_eval "$install_prog $file $destfile" 'exit $?'
-
-       # Install the old object if enabled.
-       if test "$build_old_libs" = yes; then
-         # Deduce the name of the old-style object file.
-         func_lo2o "$file"
-         staticobj=$func_lo2o_result
-         func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
-       fi
-       exit $EXIT_SUCCESS
-       ;;
-
-      *)
-       # Figure out destination file name, if it wasn't already specified.
-       if test -n "$destname"; then
-         destfile="$destdir/$destname"
-       else
-         func_basename "$file"
-         destfile="$func_basename_result"
-         destfile="$destdir/$destfile"
-       fi
-
-       # If the file is missing, and there is a .exe on the end, strip it
-       # because it is most likely a libtool script we actually want to
-       # install
-       stripped_ext=""
-       case $file in
-         *.exe)
-           if test ! -f "$file"; then
-             func_stripname '' '.exe' "$file"
-             file=$func_stripname_result
-             stripped_ext=".exe"
-           fi
-           ;;
-       esac
-
-       # Do a test to see if this is really a libtool program.
-       case $host in
-       *cygwin* | *mingw*)
-           if func_ltwrapper_executable_p "$file"; then
-             func_ltwrapper_scriptname "$file"
-             wrapper=$func_ltwrapper_scriptname_result
-           else
-             func_stripname '' '.exe' "$file"
-             wrapper=$func_stripname_result
-           fi
-           ;;
-       *)
-           wrapper=$file
-           ;;
-       esac
-       if func_ltwrapper_script_p "$wrapper"; then
-         notinst_deplibs=
-         relink_command=
-
-         func_source "$wrapper"
-
-         # Check the variables that should have been set.
-         test -z "$generated_by_libtool_version" && \
-           func_fatal_error "invalid libtool wrapper script \`$wrapper'"
-
-         finalize=yes
-         for lib in $notinst_deplibs; do
-           # Check to see that each library is installed.
-           libdir=
-           if test -f "$lib"; then
-             func_source "$lib"
-           fi
-           libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
-           if test -n "$libdir" && test ! -f "$libfile"; then
-             func_warning "\`$lib' has not been installed in \`$libdir'"
-             finalize=no
-           fi
-         done
-
-         relink_command=
-         func_source "$wrapper"
-
-         outputname=
-         if test "$fast_install" = no && test -n "$relink_command"; then
-           $opt_dry_run || {
-             if test "$finalize" = yes; then
-               tmpdir=`func_mktempdir`
-               func_basename "$file$stripped_ext"
-               file="$func_basename_result"
-               outputname="$tmpdir/$file"
-               # Replace the output file specification.
-               relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
-
-               $opt_silent || {
-                 func_quote_for_expand "$relink_command"
-                 eval "func_echo $func_quote_for_expand_result"
-               }
-               if eval "$relink_command"; then :
-                 else
-                 func_error "error: relink \`$file' with the above command before installing it"
-                 $opt_dry_run || ${RM}r "$tmpdir"
-                 continue
-               fi
-               file="$outputname"
-             else
-               func_warning "cannot relink \`$file'"
-             fi
-           }
-         else
-           # Install the binary that we compiled earlier.
-           file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
-         fi
-       fi
-
-       # remove .exe since cygwin /usr/bin/install will append another
-       # one anyway
-       case $install_prog,$host in
-       */usr/bin/install*,*cygwin*)
-         case $file:$destfile in
-         *.exe:*.exe)
-           # this is ok
-           ;;
-         *.exe:*)
-           destfile=$destfile.exe
-           ;;
-         *:*.exe)
-           func_stripname '' '.exe' "$destfile"
-           destfile=$func_stripname_result
-           ;;
-         esac
-         ;;
-       esac
-       func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
-       $opt_dry_run || if test -n "$outputname"; then
-         ${RM}r "$tmpdir"
-       fi
-       ;;
-      esac
-    done
-
-    for file in $staticlibs; do
-      func_basename "$file"
-      name="$func_basename_result"
-
-      # Set up the ranlib parameters.
-      oldlib="$destdir/$name"
-      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-      tool_oldlib=$func_to_tool_file_result
-
-      func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
-
-      if test -n "$stripme" && test -n "$old_striplib"; then
-       func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
-      fi
-
-      # Do each command in the postinstall commands.
-      func_execute_cmds "$old_postinstall_cmds" 'exit $?'
-    done
-
-    test -n "$future_libdirs" && \
-      func_warning "remember to run \`$progname --finish$future_libdirs'"
-
-    if test -n "$current_libdirs"; then
-      # Maybe just do a dry run.
-      $opt_dry_run && current_libdirs=" -n$current_libdirs"
-      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
-    else
-      exit $EXIT_SUCCESS
-    fi
-}
-
-test "$opt_mode" = install && func_mode_install ${1+"$@"}
-
-
-# func_generate_dlsyms outputname originator pic_p
-# Extract symbols from dlprefiles and create ${outputname}S.o with
-# a dlpreopen symbol table.
-func_generate_dlsyms ()
-{
-    $opt_debug
-    my_outputname="$1"
-    my_originator="$2"
-    my_pic_p="${3-no}"
-    my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
-    my_dlsyms=
-
-    if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
-      if test -n "$NM" && test -n "$global_symbol_pipe"; then
-       my_dlsyms="${my_outputname}S.c"
-      else
-       func_error "not configured to extract global symbols from dlpreopened files"
-      fi
-    fi
-
-    if test -n "$my_dlsyms"; then
-      case $my_dlsyms in
-      "") ;;
-      *.c)
-       # Discover the nlist of each of the dlfiles.
-       nlist="$output_objdir/${my_outputname}.nm"
-
-       func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
-
-       # Parse the name list into a source file.
-       func_verbose "creating $output_objdir/$my_dlsyms"
-
-       $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
-/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
-/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
-
-#ifdef __cplusplus
-extern \"C\" {
-#endif
-
-#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
-#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
-#endif
-
-/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
-#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
-/* DATA imports from DLLs on WIN32 con't be const, because runtime
-   relocations are performed -- see ld's documentation on pseudo-relocs.  */
-# define LT_DLSYM_CONST
-#elif defined(__osf__)
-/* This system does not cope well with relocations in const data.  */
-# define LT_DLSYM_CONST
-#else
-# define LT_DLSYM_CONST const
-#endif
-
-/* External symbol declarations for the compiler. */\
-"
-
-       if test "$dlself" = yes; then
-         func_verbose "generating symbol list for \`$output'"
-
-         $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
-
-         # Add our own program objects to the symbol list.
-         progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
-         for progfile in $progfiles; do
-           func_to_tool_file "$progfile" func_convert_file_msys_to_w32
-           func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
-           $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
-         done
-
-         if test -n "$exclude_expsyms"; then
-           $opt_dry_run || {
-             eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
-             eval '$MV "$nlist"T "$nlist"'
-           }
-         fi
-
-         if test -n "$export_symbols_regex"; then
-           $opt_dry_run || {
-             eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
-             eval '$MV "$nlist"T "$nlist"'
-           }
-         fi
-
-         # Prepare the list of exported symbols
-         if test -z "$export_symbols"; then
-           export_symbols="$output_objdir/$outputname.exp"
-           $opt_dry_run || {
-             $RM $export_symbols
-             eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
-             case $host in
-             *cygwin* | *mingw* | *cegcc* )
-                eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
-                eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
-               ;;
-             esac
-           }
-         else
-           $opt_dry_run || {
-             eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
-             eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
-             eval '$MV "$nlist"T "$nlist"'
-             case $host in
-               *cygwin* | *mingw* | *cegcc* )
-                 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
-                 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
-                 ;;
-             esac
-           }
-         fi
-       fi
-
-       for dlprefile in $dlprefiles; do
-         func_verbose "extracting global C symbols from \`$dlprefile'"
-         func_basename "$dlprefile"
-         name="$func_basename_result"
-          case $host in
-           *cygwin* | *mingw* | *cegcc* )
-             # if an import library, we need to obtain dlname
-             if func_win32_import_lib_p "$dlprefile"; then
-               func_tr_sh "$dlprefile"
-               eval "curr_lafile=\$libfile_$func_tr_sh_result"
-               dlprefile_dlbasename=""
-               if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
-                 # Use subshell, to avoid clobbering current variable values
-                 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
-                 if test -n "$dlprefile_dlname" ; then
-                   func_basename "$dlprefile_dlname"
-                   dlprefile_dlbasename="$func_basename_result"
-                 else
-                   # no lafile. user explicitly requested -dlpreopen <import library>.
-                   $sharedlib_from_linklib_cmd "$dlprefile"
-                   dlprefile_dlbasename=$sharedlib_from_linklib_result
-                 fi
-               fi
-               $opt_dry_run || {
-                 if test -n "$dlprefile_dlbasename" ; then
-                   eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
-                 else
-                   func_warning "Could not compute DLL name from $name"
-                   eval '$ECHO ": $name " >> "$nlist"'
-                 fi
-                 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
-                 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
-                   $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
-               }
-             else # not an import lib
-               $opt_dry_run || {
-                 eval '$ECHO ": $name " >> "$nlist"'
-                 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
-                 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
-               }
-             fi
-           ;;
-           *)
-             $opt_dry_run || {
-               eval '$ECHO ": $name " >> "$nlist"'
-               func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
-               eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
-             }
-           ;;
-          esac
-       done
-
-       $opt_dry_run || {
-         # Make sure we have at least an empty file.
-         test -f "$nlist" || : > "$nlist"
-
-         if test -n "$exclude_expsyms"; then
-           $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
-           $MV "$nlist"T "$nlist"
-         fi
-
-         # Try sorting and uniquifying the output.
-         if $GREP -v "^: " < "$nlist" |
-             if sort -k 3 </dev/null >/dev/null 2>&1; then
-               sort -k 3
-             else
-               sort +2
-             fi |
-             uniq > "$nlist"S; then
-           :
-         else
-           $GREP -v "^: " < "$nlist" > "$nlist"S
-         fi
-
-         if test -f "$nlist"S; then
-           eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
-         else
-           echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
-         fi
-
-         echo >> "$output_objdir/$my_dlsyms" "\
-
-/* The mapping between symbol names and symbols.  */
-typedef struct {
-  const char *name;
-  void *address;
-} lt_dlsymlist;
-extern LT_DLSYM_CONST lt_dlsymlist
-lt_${my_prefix}_LTX_preloaded_symbols[];
-LT_DLSYM_CONST lt_dlsymlist
-lt_${my_prefix}_LTX_preloaded_symbols[] =
-{\
-  { \"$my_originator\", (void *) 0 },"
-
-         case $need_lib_prefix in
-         no)
-           eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
-           ;;
-         *)
-           eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
-           ;;
-         esac
-         echo >> "$output_objdir/$my_dlsyms" "\
-  {0, (void *) 0}
-};
-
-/* This works around a problem in FreeBSD linker */
-#ifdef FREEBSD_WORKAROUND
-static const void *lt_preloaded_setup() {
-  return lt_${my_prefix}_LTX_preloaded_symbols;
-}
-#endif
-
-#ifdef __cplusplus
-}
-#endif\
-"
-       } # !$opt_dry_run
-
-       pic_flag_for_symtable=
-       case "$compile_command " in
-       *" -static "*) ;;
-       *)
-         case $host in
-         # compiling the symbol table file with pic_flag works around
-         # a FreeBSD bug that causes programs to crash when -lm is
-         # linked before any other PIC object.  But we must not use
-         # pic_flag when linking with -static.  The problem exists in
-         # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-         *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
-           pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
-         *-*-hpux*)
-           pic_flag_for_symtable=" $pic_flag"  ;;
-         *)
-           if test "X$my_pic_p" != Xno; then
-             pic_flag_for_symtable=" $pic_flag"
-           fi
-           ;;
-         esac
-         ;;
-       esac
-       symtab_cflags=
-       for arg in $LTCFLAGS; do
-         case $arg in
-         -pie | -fpie | -fPIE) ;;
-         *) func_append symtab_cflags " $arg" ;;
-         esac
-       done
-
-       # Now compile the dynamic symbol file.
-       func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
-
-       # Clean up the generated files.
-       func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
-
-       # Transform the symbol file into the correct name.
-       symfileobj="$output_objdir/${my_outputname}S.$objext"
-       case $host in
-       *cygwin* | *mingw* | *cegcc* )
-         if test -f "$output_objdir/$my_outputname.def"; then
-           compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-           finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
-         else
-           compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
-           finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
-         fi
-         ;;
-       *)
-         compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
-         finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
-         ;;
-       esac
-       ;;
-      *)
-       func_fatal_error "unknown suffix for \`$my_dlsyms'"
-       ;;
-      esac
-    else
-      # We keep going just in case the user didn't refer to
-      # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
-      # really was required.
-
-      # Nullify the symbol file.
-      compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
-      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
-    fi
-}
-
-# func_win32_libid arg
-# return the library type of file 'arg'
-#
-# Need a lot of goo to handle *both* DLLs and import libs
-# Has to be a shell function in order to 'eat' the argument
-# that is supplied when $file_magic_command is called.
-# Despite the name, also deal with 64 bit binaries.
-func_win32_libid ()
-{
-  $opt_debug
-  win32_libid_type="unknown"
-  win32_fileres=`file -L $1 2>/dev/null`
-  case $win32_fileres in
-  *ar\ archive\ import\ library*) # definitely import
-    win32_libid_type="x86 archive import"
-    ;;
-  *ar\ archive*) # could be an import, or static
-    # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
-    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
-      func_to_tool_file "$1" func_convert_file_msys_to_w32
-      win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
-       $SED -n -e '
-           1,100{
-               / I /{
-                   s,.*,import,
-                   p
-                   q
-               }
-           }'`
-      case $win32_nmres in
-      import*)  win32_libid_type="x86 archive import";;
-      *)        win32_libid_type="x86 archive static";;
-      esac
-    fi
-    ;;
-  *DLL*)
-    win32_libid_type="x86 DLL"
-    ;;
-  *executable*) # but shell scripts are "executable" too...
-    case $win32_fileres in
-    *MS\ Windows\ PE\ Intel*)
-      win32_libid_type="x86 DLL"
-      ;;
-    esac
-    ;;
-  esac
-  $ECHO "$win32_libid_type"
-}
-
-# func_cygming_dll_for_implib ARG
-#
-# Platform-specific function to extract the
-# name of the DLL associated with the specified
-# import library ARG.
-# Invoked by eval'ing the libtool variable
-#    $sharedlib_from_linklib_cmd
-# Result is available in the variable
-#    $sharedlib_from_linklib_result
-func_cygming_dll_for_implib ()
-{
-  $opt_debug
-  sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
-}
-
-# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
-#
-# The is the core of a fallback implementation of a
-# platform-specific function to extract the name of the
-# DLL associated with the specified import library LIBNAME.
-#
-# SECTION_NAME is either .idata$6 or .idata$7, depending
-# on the platform and compiler that created the implib.
-#
-# Echos the name of the DLL associated with the
-# specified import library.
-func_cygming_dll_for_implib_fallback_core ()
-{
-  $opt_debug
-  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
-  $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
-    $SED '/^Contents of section '"$match_literal"':/{
-      # Place marker at beginning of archive member dllname section
-      s/.*/====MARK====/
-      p
-      d
-    }
-    # These lines can sometimes be longer than 43 characters, but
-    # are always uninteresting
-    /:[         ]*file format pe[i]\{,1\}-/d
-    /^In archive [^:]*:/d
-    # Ensure marker is printed
-    /^====MARK====/p
-    # Remove all lines with less than 43 characters
-    /^.\{43\}/!d
-    # From remaining lines, remove first 43 characters
-    s/^.\{43\}//' |
-    $SED -n '
-      # Join marker and all lines until next marker into a single line
-      /^====MARK====/ b para
-      H
-      $ b para
-      b
-      :para
-      x
-      s/\n//g
-      # Remove the marker
-      s/^====MARK====//
-      # Remove trailing dots and whitespace
-      s/[\. \t]*$//
-      # Print
-      /./p' |
-    # we now have a list, one entry per line, of the stringified
-    # contents of the appropriate section of all members of the
-    # archive which possess that section. Heuristic: eliminate
-    # all those which have a first or second character that is
-    # a '.' (that is, objdump's representation of an unprintable
-    # character.) This should work for all archives with less than
-    # 0x302f exports -- but will fail for DLLs whose name actually
-    # begins with a literal '.' or a single character followed by
-    # a '.'.
-    #
-    # Of those that remain, print the first one.
-    $SED -e '/^\./d;/^.\./d;q'
-}
-
-# func_cygming_gnu_implib_p ARG
-# This predicate returns with zero status (TRUE) if
-# ARG is a GNU/binutils-style import library. Returns
-# with nonzero status (FALSE) otherwise.
-func_cygming_gnu_implib_p ()
-{
-  $opt_debug
-  func_to_tool_file "$1" func_convert_file_msys_to_w32
-  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
-  test -n "$func_cygming_gnu_implib_tmp"
-}
-
-# func_cygming_ms_implib_p ARG
-# This predicate returns with zero status (TRUE) if
-# ARG is an MS-style import library. Returns
-# with nonzero status (FALSE) otherwise.
-func_cygming_ms_implib_p ()
-{
-  $opt_debug
-  func_to_tool_file "$1" func_convert_file_msys_to_w32
-  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
-  test -n "$func_cygming_ms_implib_tmp"
-}
-
-# func_cygming_dll_for_implib_fallback ARG
-# Platform-specific function to extract the
-# name of the DLL associated with the specified
-# import library ARG.
-#
-# This fallback implementation is for use when $DLLTOOL
-# does not support the --identify-strict option.
-# Invoked by eval'ing the libtool variable
-#    $sharedlib_from_linklib_cmd
-# Result is available in the variable
-#    $sharedlib_from_linklib_result
-func_cygming_dll_for_implib_fallback ()
-{
-  $opt_debug
-  if func_cygming_gnu_implib_p "$1" ; then
-    # binutils import library
-    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
-  elif func_cygming_ms_implib_p "$1" ; then
-    # ms-generated import library
-    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
-  else
-    # unknown
-    sharedlib_from_linklib_result=""
-  fi
-}
-
-
-# func_extract_an_archive dir oldlib
-func_extract_an_archive ()
-{
-    $opt_debug
-    f_ex_an_ar_dir="$1"; shift
-    f_ex_an_ar_oldlib="$1"
-    if test "$lock_old_archive_extraction" = yes; then
-      lockfile=$f_ex_an_ar_oldlib.lock
-      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
-       func_echo "Waiting for $lockfile to be removed"
-       sleep 2
-      done
-    fi
-    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
-                  'stat=$?; rm -f "$lockfile"; exit $stat'
-    if test "$lock_old_archive_extraction" = yes; then
-      $opt_dry_run || rm -f "$lockfile"
-    fi
-    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
-     :
-    else
-      func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
-    fi
-}
-
-
-# func_extract_archives gentop oldlib ...
-func_extract_archives ()
-{
-    $opt_debug
-    my_gentop="$1"; shift
-    my_oldlibs=${1+"$@"}
-    my_oldobjs=""
-    my_xlib=""
-    my_xabs=""
-    my_xdir=""
-
-    for my_xlib in $my_oldlibs; do
-      # Extract the objects.
-      case $my_xlib in
-       [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
-       *) my_xabs=`pwd`"/$my_xlib" ;;
-      esac
-      func_basename "$my_xlib"
-      my_xlib="$func_basename_result"
-      my_xlib_u=$my_xlib
-      while :; do
-        case " $extracted_archives " in
-       *" $my_xlib_u "*)
-         func_arith $extracted_serial + 1
-         extracted_serial=$func_arith_result
-         my_xlib_u=lt$extracted_serial-$my_xlib ;;
-       *) break ;;
-       esac
-      done
-      extracted_archives="$extracted_archives $my_xlib_u"
-      my_xdir="$my_gentop/$my_xlib_u"
-
-      func_mkdir_p "$my_xdir"
-
-      case $host in
-      *-darwin*)
-       func_verbose "Extracting $my_xabs"
-       # Do not bother doing anything if just a dry run
-       $opt_dry_run || {
-         darwin_orig_dir=`pwd`
-         cd $my_xdir || exit $?
-         darwin_archive=$my_xabs
-         darwin_curdir=`pwd`
-         darwin_base_archive=`basename "$darwin_archive"`
-         darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
-         if test -n "$darwin_arches"; then
-           darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
-           darwin_arch=
-           func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
-           for darwin_arch in  $darwin_arches ; do
-             func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
-             $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
-             cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
-             func_extract_an_archive "`pwd`" "${darwin_base_archive}"
-             cd "$darwin_curdir"
-             $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
-           done # $darwin_arches
-            ## Okay now we've a bunch of thin objects, gotta fatten them up :)
-           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
-           darwin_file=
-           darwin_files=
-           for darwin_file in $darwin_filelist; do
-             darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
-             $LIPO -create -output "$darwin_file" $darwin_files
-           done # $darwin_filelist
-           $RM -rf unfat-$$
-           cd "$darwin_orig_dir"
-         else
-           cd $darwin_orig_dir
-           func_extract_an_archive "$my_xdir" "$my_xabs"
-         fi # $darwin_arches
-       } # !$opt_dry_run
-       ;;
-      *)
-        func_extract_an_archive "$my_xdir" "$my_xabs"
-       ;;
-      esac
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
-    done
-
-    func_extract_archives_result="$my_oldobjs"
-}
-
-
-# func_emit_wrapper [arg=no]
-#
-# Emit a libtool wrapper script on stdout.
-# Don't directly open a file because we may want to
-# incorporate the script contents within a cygwin/mingw
-# wrapper executable.  Must ONLY be called from within
-# func_mode_link because it depends on a number of variables
-# set therein.
-#
-# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
-# variable will take.  If 'yes', then the emitted script
-# will assume that the directory in which it is stored is
-# the $objdir directory.  This is a cygwin/mingw-specific
-# behavior.
-func_emit_wrapper ()
-{
-       func_emit_wrapper_arg1=${1-no}
-
-       $ECHO "\
-#! $SHELL
-
-# $output - temporary wrapper script for $objdir/$outputname
-# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
-#
-# The $output program cannot be directly executed until all the libtool
-# libraries that it depends on are installed.
-#
-# This wrapper script should never be moved out of the build directory.
-# If it is, it will not operate correctly.
-
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='$sed_quote_subst'
-
-# Be Bourne compatible
-if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
-  setopt NO_GLOB_SUBST
-else
-  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
-fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-relink_command=\"$relink_command\"
-
-# This environment variable determines our operation mode.
-if test \"\$libtool_install_magic\" = \"$magic\"; then
-  # install mode needs the following variables:
-  generated_by_libtool_version='$macro_version'
-  notinst_deplibs='$notinst_deplibs'
-else
-  # When we are sourced in execute mode, \$file and \$ECHO are already set.
-  if test \"\$libtool_execute_magic\" != \"$magic\"; then
-    file=\"\$0\""
-
-    qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
-    $ECHO "\
-
-# A function that is used when there is no print builtin or printf.
-func_fallback_echo ()
-{
-  eval 'cat <<_LTECHO_EOF
-\$1
-_LTECHO_EOF'
-}
-    ECHO=\"$qECHO\"
-  fi
-
-# Very basic option parsing. These options are (a) specific to
-# the libtool wrapper, (b) are identical between the wrapper
-# /script/ and the wrapper /executable/ which is used only on
-# windows platforms, and (c) all begin with the string "--lt-"
-# (application programs are unlikely to have options which match
-# this pattern).
-#
-# There are only two supported options: --lt-debug and
-# --lt-dump-script. There is, deliberately, no --lt-help.
-#
-# The first argument to this parsing function should be the
-# script's $0 value, followed by "$@".
-lt_option_debug=
-func_parse_lt_options ()
-{
-  lt_script_arg0=\$0
-  shift
-  for lt_opt
-  do
-    case \"\$lt_opt\" in
-    --lt-debug) lt_option_debug=1 ;;
-    --lt-dump-script)
-        lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
-        test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
-        lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
-        cat \"\$lt_dump_D/\$lt_dump_F\"
-        exit 0
-      ;;
-    --lt-*)
-        \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
-        exit 1
-      ;;
-    esac
-  done
-
-  # Print the debug banner immediately:
-  if test -n \"\$lt_option_debug\"; then
-    echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
-  fi
-}
-
-# Used when --lt-debug. Prints its arguments to stdout
-# (redirection is the responsibility of the caller)
-func_lt_dump_args ()
-{
-  lt_dump_args_N=1;
-  for lt_arg
-  do
-    \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
-    lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
-  done
-}
-
-# Core function for launching the target application
-func_exec_program_core ()
-{
-"
-  case $host in
-  # Backslashes separate directories on plain windows
-  *-*-mingw | *-*-os2* | *-cegcc*)
-    $ECHO "\
-      if test -n \"\$lt_option_debug\"; then
-        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
-        func_lt_dump_args \${1+\"\$@\"} 1>&2
-      fi
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
-"
-    ;;
-
-  *)
-    $ECHO "\
-      if test -n \"\$lt_option_debug\"; then
-        \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
-        func_lt_dump_args \${1+\"\$@\"} 1>&2
-      fi
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
-"
-    ;;
-  esac
-  $ECHO "\
-      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
-      exit 1
-}
-
-# A function to encapsulate launching the target application
-# Strips options in the --lt-* namespace from \$@ and
-# launches target application with the remaining arguments.
-func_exec_program ()
-{
-  case \" \$* \" in
-  *\\ --lt-*)
-    for lt_wr_arg
-    do
-      case \$lt_wr_arg in
-      --lt-*) ;;
-      *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
-      esac
-      shift
-    done ;;
-  esac
-  func_exec_program_core \${1+\"\$@\"}
-}
-
-  # Parse options
-  func_parse_lt_options \"\$0\" \${1+\"\$@\"}
-
-  # Find the directory that this script lives in.
-  thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
-  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
-
-  # Follow symbolic links until we get to the real thisdir.
-  file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
-  while test -n \"\$file\"; do
-    destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
-
-    # If there was a directory component, then change thisdir.
-    if test \"x\$destdir\" != \"x\$file\"; then
-      case \"\$destdir\" in
-      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
-      *) thisdir=\"\$thisdir/\$destdir\" ;;
-      esac
-    fi
-
-    file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
-    file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
-  done
-
-  # Usually 'no', except on cygwin/mingw when embedded into
-  # the cwrapper.
-  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
-  if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
-    # special case for '.'
-    if test \"\$thisdir\" = \".\"; then
-      thisdir=\`pwd\`
-    fi
-    # remove .libs from thisdir
-    case \"\$thisdir\" in
-    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
-    $objdir )   thisdir=. ;;
-    esac
-  fi
-
-  # Try to get the absolute directory name.
-  absdir=\`cd \"\$thisdir\" && pwd\`
-  test -n \"\$absdir\" && thisdir=\"\$absdir\"
-"
-
-       if test "$fast_install" = yes; then
-         $ECHO "\
-  program=lt-'$outputname'$exeext
-  progdir=\"\$thisdir/$objdir\"
-
-  if test ! -f \"\$progdir/\$program\" ||
-     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
-       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
-
-    file=\"\$\$-\$program\"
-
-    if test ! -d \"\$progdir\"; then
-      $MKDIR \"\$progdir\"
-    else
-      $RM \"\$progdir/\$file\"
-    fi"
-
-         $ECHO "\
-
-    # relink executable if necessary
-    if test -n \"\$relink_command\"; then
-      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
-      else
-       $ECHO \"\$relink_command_output\" >&2
-       $RM \"\$progdir/\$file\"
-       exit 1
-      fi
-    fi
-
-    $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
-    { $RM \"\$progdir/\$program\";
-      $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
-    $RM \"\$progdir/\$file\"
-  fi"
-       else
-         $ECHO "\
-  program='$outputname'
-  progdir=\"\$thisdir/$objdir\"
-"
-       fi
-
-       $ECHO "\
-
-  if test -f \"\$progdir/\$program\"; then"
-
-       # fixup the dll searchpath if we need to.
-       #
-       # Fix the DLL searchpath if we need to.  Do this before prepending
-       # to shlibpath, because on Windows, both are PATH and uninstalled
-       # libraries must come first.
-       if test -n "$dllsearchpath"; then
-         $ECHO "\
-    # Add the dll search path components to the executable PATH
-    PATH=$dllsearchpath:\$PATH
-"
-       fi
-
-       # Export our shlibpath_var if we have one.
-       if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-         $ECHO "\
-    # Add our own library path to $shlibpath_var
-    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
-
-    # Some systems cannot cope with colon-terminated $shlibpath_var
-    # The second colon is a workaround for a bug in BeOS R4 sed
-    $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
-
-    export $shlibpath_var
-"
-       fi
-
-       $ECHO "\
-    if test \"\$libtool_execute_magic\" != \"$magic\"; then
-      # Run the actual program with our arguments.
-      func_exec_program \${1+\"\$@\"}
-    fi
-  else
-    # The program doesn't exist.
-    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
-    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
-    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
-    exit 1
-  fi
-fi\
-"
-}
-
-
-# func_emit_cwrapperexe_src
-# emit the source code for a wrapper executable on stdout
-# Must ONLY be called from within func_mode_link because
-# it depends on a number of variable set therein.
-func_emit_cwrapperexe_src ()
-{
-       cat <<EOF
-
-/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
-   Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
-
-   The $output program cannot be directly executed until all the libtool
-   libraries that it depends on are installed.
-
-   This wrapper executable should never be moved out of the build directory.
-   If it is, it will not operate correctly.
-*/
-EOF
-           cat <<"EOF"
-#ifdef _MSC_VER
-# define _CRT_SECURE_NO_DEPRECATE 1
-#endif
-#include <stdio.h>
-#include <stdlib.h>
-#ifdef _MSC_VER
-# include <direct.h>
-# include <process.h>
-# include <io.h>
-#else
-# include <unistd.h>
-# include <stdint.h>
-# ifdef __CYGWIN__
-#  include <io.h>
-# endif
-#endif
-#include <malloc.h>
-#include <stdarg.h>
-#include <assert.h>
-#include <string.h>
-#include <ctype.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <sys/stat.h>
-
-/* declarations of non-ANSI functions */
-#if defined(__MINGW32__)
-# ifdef __STRICT_ANSI__
-int _putenv (const char *);
-# endif
-#elif defined(__CYGWIN__)
-# ifdef __STRICT_ANSI__
-char *realpath (const char *, char *);
-int putenv (char *);
-int setenv (const char *, const char *, int);
-# endif
-/* #elif defined (other platforms) ... */
-#endif
-
-/* portability defines, excluding path handling macros */
-#if defined(_MSC_VER)
-# define setmode _setmode
-# define stat    _stat
-# define chmod   _chmod
-# define getcwd  _getcwd
-# define putenv  _putenv
-# define S_IXUSR _S_IEXEC
-# ifndef _INTPTR_T_DEFINED
-#  define _INTPTR_T_DEFINED
-#  define intptr_t int
-# endif
-#elif defined(__MINGW32__)
-# define setmode _setmode
-# define stat    _stat
-# define chmod   _chmod
-# define getcwd  _getcwd
-# define putenv  _putenv
-#elif defined(__CYGWIN__)
-# define HAVE_SETENV
-# define FOPEN_WB "wb"
-/* #elif defined (other platforms) ... */
-#endif
-
-#if defined(PATH_MAX)
-# define LT_PATHMAX PATH_MAX
-#elif defined(MAXPATHLEN)
-# define LT_PATHMAX MAXPATHLEN
-#else
-# define LT_PATHMAX 1024
-#endif
-
-#ifndef S_IXOTH
-# define S_IXOTH 0
-#endif
-#ifndef S_IXGRP
-# define S_IXGRP 0
-#endif
-
-/* path handling portability macros */
-#ifndef DIR_SEPARATOR
-# define DIR_SEPARATOR '/'
-# define PATH_SEPARATOR ':'
-#endif
-
-#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
-  defined (__OS2__)
-# define HAVE_DOS_BASED_FILE_SYSTEM
-# define FOPEN_WB "wb"
-# ifndef DIR_SEPARATOR_2
-#  define DIR_SEPARATOR_2 '\\'
-# endif
-# ifndef PATH_SEPARATOR_2
-#  define PATH_SEPARATOR_2 ';'
-# endif
-#endif
-
-#ifndef DIR_SEPARATOR_2
-# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
-#else /* DIR_SEPARATOR_2 */
-# define IS_DIR_SEPARATOR(ch) \
-       (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
-#endif /* DIR_SEPARATOR_2 */
-
-#ifndef PATH_SEPARATOR_2
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
-#else /* PATH_SEPARATOR_2 */
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
-#endif /* PATH_SEPARATOR_2 */
-
-#ifndef FOPEN_WB
-# define FOPEN_WB "w"
-#endif
-#ifndef _O_BINARY
-# define _O_BINARY 0
-#endif
-
-#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
-#define XFREE(stale) do { \
-  if (stale) { free ((void *) stale); stale = 0; } \
-} while (0)
-
-#if defined(LT_DEBUGWRAPPER)
-static int lt_debug = 1;
-#else
-static int lt_debug = 0;
-#endif
-
-const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
-
-void *xmalloc (size_t num);
-char *xstrdup (const char *string);
-const char *base_name (const char *name);
-char *find_executable (const char *wrapper);
-char *chase_symlinks (const char *pathspec);
-int make_executable (const char *path);
-int check_executable (const char *path);
-char *strendzap (char *str, const char *pat);
-void lt_debugprintf (const char *file, int line, const char *fmt, ...);
-void lt_fatal (const char *file, int line, const char *message, ...);
-static const char *nonnull (const char *s);
-static const char *nonempty (const char *s);
-void lt_setenv (const char *name, const char *value);
-char *lt_extend_str (const char *orig_value, const char *add, int to_end);
-void lt_update_exe_path (const char *name, const char *value);
-void lt_update_lib_path (const char *name, const char *value);
-char **prepare_spawn (char **argv);
-void lt_dump_script (FILE *f);
-EOF
-
-           cat <<EOF
-volatile const char * MAGIC_EXE = "$magic_exe";
-const char * LIB_PATH_VARNAME = "$shlibpath_var";
-EOF
-
-           if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-              func_to_host_path "$temp_rpath"
-             cat <<EOF
-const char * LIB_PATH_VALUE   = "$func_to_host_path_result";
-EOF
-           else
-             cat <<"EOF"
-const char * LIB_PATH_VALUE   = "";
-EOF
-           fi
-
-           if test -n "$dllsearchpath"; then
-              func_to_host_path "$dllsearchpath:"
-             cat <<EOF
-const char * EXE_PATH_VARNAME = "PATH";
-const char * EXE_PATH_VALUE   = "$func_to_host_path_result";
-EOF
-           else
-             cat <<"EOF"
-const char * EXE_PATH_VARNAME = "";
-const char * EXE_PATH_VALUE   = "";
-EOF
-           fi
-
-           if test "$fast_install" = yes; then
-             cat <<EOF
-const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
-EOF
-           else
-             cat <<EOF
-const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
-EOF
-           fi
-
-
-           cat <<"EOF"
-
-#define LTWRAPPER_OPTION_PREFIX         "--lt-"
-
-static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
-static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
-static const char *debug_opt            = LTWRAPPER_OPTION_PREFIX "debug";
-
-int
-main (int argc, char *argv[])
-{
-  char **newargz;
-  int  newargc;
-  char *tmp_pathspec;
-  char *actual_cwrapper_path;
-  char *actual_cwrapper_name;
-  char *target_name;
-  char *lt_argv_zero;
-  intptr_t rval = 127;
-
-  int i;
-
-  program_name = (char *) xstrdup (base_name (argv[0]));
-  newargz = XMALLOC (char *, argc + 1);
-
-  /* very simple arg parsing; don't want to rely on getopt
-   * also, copy all non cwrapper options to newargz, except
-   * argz[0], which is handled differently
-   */
-  newargc=0;
-  for (i = 1; i < argc; i++)
-    {
-      if (strcmp (argv[i], dumpscript_opt) == 0)
-       {
-EOF
-           case "$host" in
-             *mingw* | *cygwin* )
-               # make stdout use "unix" line endings
-               echo "          setmode(1,_O_BINARY);"
-               ;;
-             esac
-
-           cat <<"EOF"
-         lt_dump_script (stdout);
-         return 0;
-       }
-      if (strcmp (argv[i], debug_opt) == 0)
-       {
-          lt_debug = 1;
-          continue;
-       }
-      if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
-        {
-          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
-             namespace, but it is not one of the ones we know about and
-             have already dealt with, above (inluding dump-script), then
-             report an error. Otherwise, targets might begin to believe
-             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
-             namespace. The first time any user complains about this, we'll
-             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
-             or a configure.ac-settable value.
-           */
-          lt_fatal (__FILE__, __LINE__,
-                   "unrecognized %s option: '%s'",
-                    ltwrapper_option_prefix, argv[i]);
-        }
-      /* otherwise ... */
-      newargz[++newargc] = xstrdup (argv[i]);
-    }
-  newargz[++newargc] = NULL;
-
-EOF
-           cat <<EOF
-  /* The GNU banner must be the first non-error debug message */
-  lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
-EOF
-           cat <<"EOF"
-  lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
-  lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
-
-  tmp_pathspec = find_executable (argv[0]);
-  if (tmp_pathspec == NULL)
-    lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
-  lt_debugprintf (__FILE__, __LINE__,
-                  "(main) found exe (before symlink chase) at: %s\n",
-                 tmp_pathspec);
-
-  actual_cwrapper_path = chase_symlinks (tmp_pathspec);
-  lt_debugprintf (__FILE__, __LINE__,
-                  "(main) found exe (after symlink chase) at: %s\n",
-                 actual_cwrapper_path);
-  XFREE (tmp_pathspec);
-
-  actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
-  strendzap (actual_cwrapper_path, actual_cwrapper_name);
-
-  /* wrapper name transforms */
-  strendzap (actual_cwrapper_name, ".exe");
-  tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
-  XFREE (actual_cwrapper_name);
-  actual_cwrapper_name = tmp_pathspec;
-  tmp_pathspec = 0;
-
-  /* target_name transforms -- use actual target program name; might have lt- prefix */
-  target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
-  strendzap (target_name, ".exe");
-  tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
-  XFREE (target_name);
-  target_name = tmp_pathspec;
-  tmp_pathspec = 0;
-
-  lt_debugprintf (__FILE__, __LINE__,
-                 "(main) libtool target name: %s\n",
-                 target_name);
-EOF
-
-           cat <<EOF
-  newargz[0] =
-    XMALLOC (char, (strlen (actual_cwrapper_path) +
-                   strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
-  strcpy (newargz[0], actual_cwrapper_path);
-  strcat (newargz[0], "$objdir");
-  strcat (newargz[0], "/");
-EOF
-
-           cat <<"EOF"
-  /* stop here, and copy so we don't have to do this twice */
-  tmp_pathspec = xstrdup (newargz[0]);
-
-  /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
-  strcat (newargz[0], actual_cwrapper_name);
-
-  /* DO want the lt- prefix here if it exists, so use target_name */
-  lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
-  XFREE (tmp_pathspec);
-  tmp_pathspec = NULL;
-EOF
-
-           case $host_os in
-             mingw*)
-           cat <<"EOF"
-  {
-    char* p;
-    while ((p = strchr (newargz[0], '\\')) != NULL)
-      {
-       *p = '/';
-      }
-    while ((p = strchr (lt_argv_zero, '\\')) != NULL)
-      {
-       *p = '/';
-      }
-  }
-EOF
-           ;;
-           esac
-
-           cat <<"EOF"
-  XFREE (target_name);
-  XFREE (actual_cwrapper_path);
-  XFREE (actual_cwrapper_name);
-
-  lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
-  lt_setenv ("DUALCASE", "1");  /* for MSK sh */
-  /* Update the DLL searchpath.  EXE_PATH_VALUE ($dllsearchpath) must
-     be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
-     because on Windows, both *_VARNAMEs are PATH but uninstalled
-     libraries must come first. */
-  lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
-  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
-
-  lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
-                 nonnull (lt_argv_zero));
-  for (i = 0; i < newargc; i++)
-    {
-      lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
-                     i, nonnull (newargz[i]));
-    }
-
-EOF
-
-           case $host_os in
-             mingw*)
-               cat <<"EOF"
-  /* execv doesn't actually work on mingw as expected on unix */
-  newargz = prepare_spawn (newargz);
-  rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
-  if (rval == -1)
-    {
-      /* failed to start process */
-      lt_debugprintf (__FILE__, __LINE__,
-                     "(main) failed to launch target \"%s\": %s\n",
-                     lt_argv_zero, nonnull (strerror (errno)));
-      return 127;
-    }
-  return rval;
-EOF
-               ;;
-             *)
-               cat <<"EOF"
-  execv (lt_argv_zero, newargz);
-  return rval; /* =127, but avoids unused variable warning */
-EOF
-               ;;
-           esac
-
-           cat <<"EOF"
-}
-
-void *
-xmalloc (size_t num)
-{
-  void *p = (void *) malloc (num);
-  if (!p)
-    lt_fatal (__FILE__, __LINE__, "memory exhausted");
-
-  return p;
-}
-
-char *
-xstrdup (const char *string)
-{
-  return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
-                         string) : NULL;
-}
-
-const char *
-base_name (const char *name)
-{
-  const char *base;
-
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
-  /* Skip over the disk name in MSDOS pathnames. */
-  if (isalpha ((unsigned char) name[0]) && name[1] == ':')
-    name += 2;
-#endif
-
-  for (base = name; *name; name++)
-    if (IS_DIR_SEPARATOR (*name))
-      base = name + 1;
-  return base;
-}
-
-int
-check_executable (const char *path)
-{
-  struct stat st;
-
-  lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
-                  nonempty (path));
-  if ((!path) || (!*path))
-    return 0;
-
-  if ((stat (path, &st) >= 0)
-      && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
-    return 1;
-  else
-    return 0;
-}
-
-int
-make_executable (const char *path)
-{
-  int rval = 0;
-  struct stat st;
-
-  lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
-                  nonempty (path));
-  if ((!path) || (!*path))
-    return 0;
-
-  if (stat (path, &st) >= 0)
-    {
-      rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
-    }
-  return rval;
-}
-
-/* Searches for the full path of the wrapper.  Returns
-   newly allocated full path name if found, NULL otherwise
-   Does not chase symlinks, even on platforms that support them.
-*/
-char *
-find_executable (const char *wrapper)
-{
-  int has_slash = 0;
-  const char *p;
-  const char *p_next;
-  /* static buffer for getcwd */
-  char tmp[LT_PATHMAX + 1];
-  int tmp_len;
-  char *concat_name;
-
-  lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
-                  nonempty (wrapper));
-
-  if ((wrapper == NULL) || (*wrapper == '\0'))
-    return NULL;
-
-  /* Absolute path? */
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
-  if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
-    {
-      concat_name = xstrdup (wrapper);
-      if (check_executable (concat_name))
-       return concat_name;
-      XFREE (concat_name);
-    }
-  else
-    {
-#endif
-      if (IS_DIR_SEPARATOR (wrapper[0]))
-       {
-         concat_name = xstrdup (wrapper);
-         if (check_executable (concat_name))
-           return concat_name;
-         XFREE (concat_name);
-       }
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
-    }
-#endif
-
-  for (p = wrapper; *p; p++)
-    if (*p == '/')
-      {
-       has_slash = 1;
-       break;
-      }
-  if (!has_slash)
-    {
-      /* no slashes; search PATH */
-      const char *path = getenv ("PATH");
-      if (path != NULL)
-       {
-         for (p = path; *p; p = p_next)
-           {
-             const char *q;
-             size_t p_len;
-             for (q = p; *q; q++)
-               if (IS_PATH_SEPARATOR (*q))
-                 break;
-             p_len = q - p;
-             p_next = (*q == '\0' ? q : q + 1);
-             if (p_len == 0)
-               {
-                 /* empty path: current directory */
-                 if (getcwd (tmp, LT_PATHMAX) == NULL)
-                   lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
-                              nonnull (strerror (errno)));
-                 tmp_len = strlen (tmp);
-                 concat_name =
-                   XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
-                 memcpy (concat_name, tmp, tmp_len);
-                 concat_name[tmp_len] = '/';
-                 strcpy (concat_name + tmp_len + 1, wrapper);
-               }
-             else
-               {
-                 concat_name =
-                   XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
-                 memcpy (concat_name, p, p_len);
-                 concat_name[p_len] = '/';
-                 strcpy (concat_name + p_len + 1, wrapper);
-               }
-             if (check_executable (concat_name))
-               return concat_name;
-             XFREE (concat_name);
-           }
-       }
-      /* not found in PATH; assume curdir */
-    }
-  /* Relative path | not found in path: prepend cwd */
-  if (getcwd (tmp, LT_PATHMAX) == NULL)
-    lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
-              nonnull (strerror (errno)));
-  tmp_len = strlen (tmp);
-  concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
-  memcpy (concat_name, tmp, tmp_len);
-  concat_name[tmp_len] = '/';
-  strcpy (concat_name + tmp_len + 1, wrapper);
-
-  if (check_executable (concat_name))
-    return concat_name;
-  XFREE (concat_name);
-  return NULL;
-}
-
-char *
-chase_symlinks (const char *pathspec)
-{
-#ifndef S_ISLNK
-  return xstrdup (pathspec);
-#else
-  char buf[LT_PATHMAX];
-  struct stat s;
-  char *tmp_pathspec = xstrdup (pathspec);
-  char *p;
-  int has_symlinks = 0;
-  while (strlen (tmp_pathspec) && !has_symlinks)
-    {
-      lt_debugprintf (__FILE__, __LINE__,
-                     "checking path component for symlinks: %s\n",
-                     tmp_pathspec);
-      if (lstat (tmp_pathspec, &s) == 0)
-       {
-         if (S_ISLNK (s.st_mode) != 0)
-           {
-             has_symlinks = 1;
-             break;
-           }
-
-         /* search backwards for last DIR_SEPARATOR */
-         p = tmp_pathspec + strlen (tmp_pathspec) - 1;
-         while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
-           p--;
-         if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
-           {
-             /* no more DIR_SEPARATORS left */
-             break;
-           }
-         *p = '\0';
-       }
-      else
-       {
-         lt_fatal (__FILE__, __LINE__,
-                   "error accessing file \"%s\": %s",
-                   tmp_pathspec, nonnull (strerror (errno)));
-       }
-    }
-  XFREE (tmp_pathspec);
-
-  if (!has_symlinks)
-    {
-      return xstrdup (pathspec);
-    }
-
-  tmp_pathspec = realpath (pathspec, buf);
-  if (tmp_pathspec == 0)
-    {
-      lt_fatal (__FILE__, __LINE__,
-               "could not follow symlinks for %s", pathspec);
-    }
-  return xstrdup (tmp_pathspec);
-#endif
-}
-
-char *
-strendzap (char *str, const char *pat)
-{
-  size_t len, patlen;
-
-  assert (str != NULL);
-  assert (pat != NULL);
-
-  len = strlen (str);
-  patlen = strlen (pat);
-
-  if (patlen <= len)
-    {
-      str += len - patlen;
-      if (strcmp (str, pat) == 0)
-       *str = '\0';
-    }
-  return str;
-}
-
-void
-lt_debugprintf (const char *file, int line, const char *fmt, ...)
-{
-  va_list args;
-  if (lt_debug)
-    {
-      (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
-      va_start (args, fmt);
-      (void) vfprintf (stderr, fmt, args);
-      va_end (args);
-    }
-}
-
-static void
-lt_error_core (int exit_status, const char *file,
-              int line, const char *mode,
-              const char *message, va_list ap)
-{
-  fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
-  vfprintf (stderr, message, ap);
-  fprintf (stderr, ".\n");
-
-  if (exit_status >= 0)
-    exit (exit_status);
-}
-
-void
-lt_fatal (const char *file, int line, const char *message, ...)
-{
-  va_list ap;
-  va_start (ap, message);
-  lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
-  va_end (ap);
-}
-
-static const char *
-nonnull (const char *s)
-{
-  return s ? s : "(null)";
-}
-
-static const char *
-nonempty (const char *s)
-{
-  return (s && !*s) ? "(empty)" : nonnull (s);
-}
-
-void
-lt_setenv (const char *name, const char *value)
-{
-  lt_debugprintf (__FILE__, __LINE__,
-                 "(lt_setenv) setting '%s' to '%s'\n",
-                  nonnull (name), nonnull (value));
-  {
-#ifdef HAVE_SETENV
-    /* always make a copy, for consistency with !HAVE_SETENV */
-    char *str = xstrdup (value);
-    setenv (name, str, 1);
-#else
-    int len = strlen (name) + 1 + strlen (value) + 1;
-    char *str = XMALLOC (char, len);
-    sprintf (str, "%s=%s", name, value);
-    if (putenv (str) != EXIT_SUCCESS)
-      {
-        XFREE (str);
-      }
-#endif
-  }
-}
-
-char *
-lt_extend_str (const char *orig_value, const char *add, int to_end)
-{
-  char *new_value;
-  if (orig_value && *orig_value)
-    {
-      int orig_value_len = strlen (orig_value);
-      int add_len = strlen (add);
-      new_value = XMALLOC (char, add_len + orig_value_len + 1);
-      if (to_end)
-        {
-          strcpy (new_value, orig_value);
-          strcpy (new_value + orig_value_len, add);
-        }
-      else
-        {
-          strcpy (new_value, add);
-          strcpy (new_value + add_len, orig_value);
-        }
-    }
-  else
-    {
-      new_value = xstrdup (add);
-    }
-  return new_value;
-}
-
-void
-lt_update_exe_path (const char *name, const char *value)
-{
-  lt_debugprintf (__FILE__, __LINE__,
-                 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
-                  nonnull (name), nonnull (value));
-
-  if (name && *name && value && *value)
-    {
-      char *new_value = lt_extend_str (getenv (name), value, 0);
-      /* some systems can't cope with a ':'-terminated path #' */
-      int len = strlen (new_value);
-      while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
-        {
-          new_value[len-1] = '\0';
-        }
-      lt_setenv (name, new_value);
-      XFREE (new_value);
-    }
-}
-
-void
-lt_update_lib_path (const char *name, const char *value)
-{
-  lt_debugprintf (__FILE__, __LINE__,
-                 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
-                  nonnull (name), nonnull (value));
-
-  if (name && *name && value && *value)
-    {
-      char *new_value = lt_extend_str (getenv (name), value, 0);
-      lt_setenv (name, new_value);
-      XFREE (new_value);
-    }
-}
-
-EOF
-           case $host_os in
-             mingw*)
-               cat <<"EOF"
-
-/* Prepares an argument vector before calling spawn().
-   Note that spawn() does not by itself call the command interpreter
-     (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
-      ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
-         GetVersionEx(&v);
-         v.dwPlatformId == VER_PLATFORM_WIN32_NT;
-      }) ? "cmd.exe" : "command.com").
-   Instead it simply concatenates the arguments, separated by ' ', and calls
-   CreateProcess().  We must quote the arguments since Win32 CreateProcess()
-   interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
-   special way:
-   - Space and tab are interpreted as delimiters. They are not treated as
-     delimiters if they are surrounded by double quotes: "...".
-   - Unescaped double quotes are removed from the input. Their only effect is
-     that within double quotes, space and tab are treated like normal
-     characters.
-   - Backslashes not followed by double quotes are not special.
-   - But 2*n+1 backslashes followed by a double quote become
-     n backslashes followed by a double quote (n >= 0):
-       \" -> "
-       \\\" -> \"
-       \\\\\" -> \\"
- */
-#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
-#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
-char **
-prepare_spawn (char **argv)
-{
-  size_t argc;
-  char **new_argv;
-  size_t i;
-
-  /* Count number of arguments.  */
-  for (argc = 0; argv[argc] != NULL; argc++)
-    ;
-
-  /* Allocate new argument vector.  */
-  new_argv = XMALLOC (char *, argc + 1);
-
-  /* Put quoted arguments into the new argument vector.  */
-  for (i = 0; i < argc; i++)
-    {
-      const char *string = argv[i];
-
-      if (string[0] == '\0')
-       new_argv[i] = xstrdup ("\"\"");
-      else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
-       {
-         int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
-         size_t length;
-         unsigned int backslashes;
-         const char *s;
-         char *quoted_string;
-         char *p;
-
-         length = 0;
-         backslashes = 0;
-         if (quote_around)
-           length++;
-         for (s = string; *s != '\0'; s++)
-           {
-             char c = *s;
-             if (c == '"')
-               length += backslashes + 1;
-             length++;
-             if (c == '\\')
-               backslashes++;
-             else
-               backslashes = 0;
-           }
-         if (quote_around)
-           length += backslashes + 1;
-
-         quoted_string = XMALLOC (char, length + 1);
-
-         p = quoted_string;
-         backslashes = 0;
-         if (quote_around)
-           *p++ = '"';
-         for (s = string; *s != '\0'; s++)
-           {
-             char c = *s;
-             if (c == '"')
-               {
-                 unsigned int j;
-                 for (j = backslashes + 1; j > 0; j--)
-                   *p++ = '\\';
-               }
-             *p++ = c;
-             if (c == '\\')
-               backslashes++;
-             else
-               backslashes = 0;
-           }
-         if (quote_around)
-           {
-             unsigned int j;
-             for (j = backslashes; j > 0; j--)
-               *p++ = '\\';
-             *p++ = '"';
-           }
-         *p = '\0';
-
-         new_argv[i] = quoted_string;
-       }
-      else
-       new_argv[i] = (char *) string;
-    }
-  new_argv[argc] = NULL;
-
-  return new_argv;
-}
-EOF
-               ;;
-           esac
-
-            cat <<"EOF"
-void lt_dump_script (FILE* f)
-{
-EOF
-           func_emit_wrapper yes |
-             $SED -n -e '
-s/^\(.\{79\}\)\(..*\)/\1\
-\2/
-h
-s/\([\\"]\)/\\\1/g
-s/$/\\n/
-s/\([^\n]*\).*/  fputs ("\1", f);/p
-g
-D'
-            cat <<"EOF"
-}
-EOF
-}
-# end: func_emit_cwrapperexe_src
-
-# func_win32_import_lib_p ARG
-# True if ARG is an import lib, as indicated by $file_magic_cmd
-func_win32_import_lib_p ()
-{
-    $opt_debug
-    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
-    *import*) : ;;
-    *) false ;;
-    esac
-}
-
-# func_mode_link arg...
-func_mode_link ()
-{
-    $opt_debug
-    case $host in
-    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-      # It is impossible to link a dll without this setting, and
-      # we shouldn't force the makefile maintainer to figure out
-      # which system we are compiling for in order to pass an extra
-      # flag for every libtool invocation.
-      # allow_undefined=no
-
-      # FIXME: Unfortunately, there are problems with the above when trying
-      # to make a dll which has undefined symbols, in which case not
-      # even a static library is built.  For now, we need to specify
-      # -no-undefined on the libtool link line when we can be certain
-      # that all symbols are satisfied, otherwise we get a static library.
-      allow_undefined=yes
-      ;;
-    *)
-      allow_undefined=yes
-      ;;
-    esac
-    libtool_args=$nonopt
-    base_compile="$nonopt $@"
-    compile_command=$nonopt
-    finalize_command=$nonopt
-
-    compile_rpath=
-    finalize_rpath=
-    compile_shlibpath=
-    finalize_shlibpath=
-    convenience=
-    old_convenience=
-    deplibs=
-    old_deplibs=
-    compiler_flags=
-    linker_flags=
-    dllsearchpath=
-    lib_search_path=`pwd`
-    inst_prefix_dir=
-    new_inherited_linker_flags=
-
-    avoid_version=no
-    bindir=
-    dlfiles=
-    dlprefiles=
-    dlself=no
-    export_dynamic=no
-    export_symbols=
-    export_symbols_regex=
-    generated=
-    libobjs=
-    ltlibs=
-    module=no
-    no_install=no
-    objs=
-    non_pic_objects=
-    precious_files_regex=
-    prefer_static_libs=no
-    preload=no
-    prev=
-    prevarg=
-    release=
-    rpath=
-    xrpath=
-    perm_rpath=
-    temp_rpath=
-    thread_safe=no
-    vinfo=
-    vinfo_number=no
-    weak_libs=
-    single_module="${wl}-single_module"
-    func_infer_tag $base_compile
-
-    # We need to know -static, to get the right output filenames.
-    for arg
-    do
-      case $arg in
-      -shared)
-       test "$build_libtool_libs" != yes && \
-         func_fatal_configuration "can not build a shared library"
-       build_old_libs=no
-       break
-       ;;
-      -all-static | -static | -static-libtool-libs)
-       case $arg in
-       -all-static)
-         if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
-           func_warning "complete static linking is impossible in this configuration"
-         fi
-         if test -n "$link_static_flag"; then
-           dlopen_self=$dlopen_self_static
-         fi
-         prefer_static_libs=yes
-         ;;
-       -static)
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
-           dlopen_self=$dlopen_self_static
-         fi
-         prefer_static_libs=built
-         ;;
-       -static-libtool-libs)
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
-           dlopen_self=$dlopen_self_static
-         fi
-         prefer_static_libs=yes
-         ;;
-       esac
-       build_libtool_libs=no
-       build_old_libs=yes
-       break
-       ;;
-      esac
-    done
-
-    # See if our shared archives depend on static archives.
-    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
-
-    # Go through the arguments, transforming them on the way.
-    while test "$#" -gt 0; do
-      arg="$1"
-      shift
-      func_quote_for_eval "$arg"
-      qarg=$func_quote_for_eval_unquoted_result
-      func_append libtool_args " $func_quote_for_eval_result"
-
-      # If the previous option needs an argument, assign it.
-      if test -n "$prev"; then
-       case $prev in
-       output)
-         func_append compile_command " @OUTPUT@"
-         func_append finalize_command " @OUTPUT@"
-         ;;
-       esac
-
-       case $prev in
-       bindir)
-         bindir="$arg"
-         prev=
-         continue
-         ;;
-       dlfiles|dlprefiles)
-         if test "$preload" = no; then
-           # Add the symbol object into the linking commands.
-           func_append compile_command " @SYMFILE@"
-           func_append finalize_command " @SYMFILE@"
-           preload=yes
-         fi
-         case $arg in
-         *.la | *.lo) ;;  # We handle these cases below.
-         force)
-           if test "$dlself" = no; then
-             dlself=needless
-             export_dynamic=yes
-           fi
-           prev=
-           continue
-           ;;
-         self)
-           if test "$prev" = dlprefiles; then
-             dlself=yes
-           elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
-             dlself=yes
-           else
-             dlself=needless
-             export_dynamic=yes
-           fi
-           prev=
-           continue
-           ;;
-         *)
-           if test "$prev" = dlfiles; then
-             func_append dlfiles " $arg"
-           else
-             func_append dlprefiles " $arg"
-           fi
-           prev=
-           continue
-           ;;
-         esac
-         ;;
-       expsyms)
-         export_symbols="$arg"
-         test -f "$arg" \
-           || func_fatal_error "symbol file \`$arg' does not exist"
-         prev=
-         continue
-         ;;
-       expsyms_regex)
-         export_symbols_regex="$arg"
-         prev=
-         continue
-         ;;
-       framework)
-         case $host in
-           *-*-darwin*)
-             case "$deplibs " in
-               *" $qarg.ltframework "*) ;;
-               *) func_append deplibs " $qarg.ltframework" # this is fixed later
-                  ;;
-             esac
-             ;;
-         esac
-         prev=
-         continue
-         ;;
-       inst_prefix)
-         inst_prefix_dir="$arg"
-         prev=
-         continue
-         ;;
-       objectlist)
-         if test -f "$arg"; then
-           save_arg=$arg
-           moreargs=
-           for fil in `cat "$save_arg"`
-           do
-#            func_append moreargs " $fil"
-             arg=$fil
-             # A libtool-controlled object.
-
-             # Check to see that this really is a libtool object.
-             if func_lalib_unsafe_p "$arg"; then
-               pic_object=
-               non_pic_object=
-
-               # Read the .lo file
-               func_source "$arg"
-
-               if test -z "$pic_object" ||
-                  test -z "$non_pic_object" ||
-                  test "$pic_object" = none &&
-                  test "$non_pic_object" = none; then
-                 func_fatal_error "cannot find name of object for \`$arg'"
-               fi
-
-               # Extract subdirectory from the argument.
-               func_dirname "$arg" "/" ""
-               xdir="$func_dirname_result"
-
-               if test "$pic_object" != none; then
-                 # Prepend the subdirectory the object is found in.
-                 pic_object="$xdir$pic_object"
-
-                 if test "$prev" = dlfiles; then
-                   if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-                     func_append dlfiles " $pic_object"
-                     prev=
-                     continue
-                   else
-                     # If libtool objects are unsupported, then we need to preload.
-                     prev=dlprefiles
-                   fi
-                 fi
-
-                 # CHECK ME:  I think I busted this.  -Ossama
-                 if test "$prev" = dlprefiles; then
-                   # Preload the old-style object.
-                   func_append dlprefiles " $pic_object"
-                   prev=
-                 fi
-
-                 # A PIC object.
-                 func_append libobjs " $pic_object"
-                 arg="$pic_object"
-               fi
-
-               # Non-PIC object.
-               if test "$non_pic_object" != none; then
-                 # Prepend the subdirectory the object is found in.
-                 non_pic_object="$xdir$non_pic_object"
-
-                 # A standard non-PIC object
-                 func_append non_pic_objects " $non_pic_object"
-                 if test -z "$pic_object" || test "$pic_object" = none ; then
-                   arg="$non_pic_object"
-                 fi
-               else
-                 # If the PIC object exists, use it instead.
-                 # $xdir was prepended to $pic_object above.
-                 non_pic_object="$pic_object"
-                 func_append non_pic_objects " $non_pic_object"
-               fi
-             else
-               # Only an error if not doing a dry-run.
-               if $opt_dry_run; then
-                 # Extract subdirectory from the argument.
-                 func_dirname "$arg" "/" ""
-                 xdir="$func_dirname_result"
-
-                 func_lo2o "$arg"
-                 pic_object=$xdir$objdir/$func_lo2o_result
-                 non_pic_object=$xdir$func_lo2o_result
-                 func_append libobjs " $pic_object"
-                 func_append non_pic_objects " $non_pic_object"
-               else
-                 func_fatal_error "\`$arg' is not a valid libtool object"
-               fi
-             fi
-           done
-         else
-           func_fatal_error "link input file \`$arg' does not exist"
-         fi
-         arg=$save_arg
-         prev=
-         continue
-         ;;
-       precious_regex)
-         precious_files_regex="$arg"
-         prev=
-         continue
-         ;;
-       release)
-         release="-$arg"
-         prev=
-         continue
-         ;;
-       rpath | xrpath)
-         # We need an absolute path.
-         case $arg in
-         [\\/]* | [A-Za-z]:[\\/]*) ;;
-         *)
-           func_fatal_error "only absolute run-paths are allowed"
-           ;;
-         esac
-         if test "$prev" = rpath; then
-           case "$rpath " in
-           *" $arg "*) ;;
-           *) func_append rpath " $arg" ;;
-           esac
-         else
-           case "$xrpath " in
-           *" $arg "*) ;;
-           *) func_append xrpath " $arg" ;;
-           esac
-         fi
-         prev=
-         continue
-         ;;
-       shrext)
-         shrext_cmds="$arg"
-         prev=
-         continue
-         ;;
-       weak)
-         func_append weak_libs " $arg"
-         prev=
-         continue
-         ;;
-       xcclinker)
-         func_append linker_flags " $qarg"
-         func_append compiler_flags " $qarg"
-         prev=
-         func_append compile_command " $qarg"
-         func_append finalize_command " $qarg"
-         continue
-         ;;
-       xcompiler)
-         func_append compiler_flags " $qarg"
-         prev=
-         func_append compile_command " $qarg"
-         func_append finalize_command " $qarg"
-         continue
-         ;;
-       xlinker)
-         func_append linker_flags " $qarg"
-         func_append compiler_flags " $wl$qarg"
-         prev=
-         func_append compile_command " $wl$qarg"
-         func_append finalize_command " $wl$qarg"
-         continue
-         ;;
-       *)
-         eval "$prev=\"\$arg\""
-         prev=
-         continue
-         ;;
-       esac
-      fi # test -n "$prev"
-
-      prevarg="$arg"
-
-      case $arg in
-      -all-static)
-       if test -n "$link_static_flag"; then
-         # See comment for -static flag below, for more details.
-         func_append compile_command " $link_static_flag"
-         func_append finalize_command " $link_static_flag"
-       fi
-       continue
-       ;;
-
-      -allow-undefined)
-       # FIXME: remove this flag sometime in the future.
-       func_fatal_error "\`-allow-undefined' must not be used because it is the default"
-       ;;
-
-      -avoid-version)
-       avoid_version=yes
-       continue
-       ;;
-
-      -bindir)
-       prev=bindir
-       continue
-       ;;
-
-      -dlopen)
-       prev=dlfiles
-       continue
-       ;;
-
-      -dlpreopen)
-       prev=dlprefiles
-       continue
-       ;;
-
-      -export-dynamic)
-       export_dynamic=yes
-       continue
-       ;;
-
-      -export-symbols | -export-symbols-regex)
-       if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
-         func_fatal_error "more than one -exported-symbols argument is not allowed"
-       fi
-       if test "X$arg" = "X-export-symbols"; then
-         prev=expsyms
-       else
-         prev=expsyms_regex
-       fi
-       continue
-       ;;
-
-      -framework)
-       prev=framework
-       continue
-       ;;
-
-      -inst-prefix-dir)
-       prev=inst_prefix
-       continue
-       ;;
-
-      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
-      # so, if we see these flags be careful not to treat them like -L
-      -L[A-Z][A-Z]*:*)
-       case $with_gcc/$host in
-       no/*-*-irix* | /*-*-irix*)
-         func_append compile_command " $arg"
-         func_append finalize_command " $arg"
-         ;;
-       esac
-       continue
-       ;;
-
-      -L*)
-       func_stripname "-L" '' "$arg"
-       if test -z "$func_stripname_result"; then
-         if test "$#" -gt 0; then
-           func_fatal_error "require no space between \`-L' and \`$1'"
-         else
-           func_fatal_error "need path for \`-L' option"
-         fi
-       fi
-       func_resolve_sysroot "$func_stripname_result"
-       dir=$func_resolve_sysroot_result
-       # We need an absolute path.
-       case $dir in
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
-       *)
-         absdir=`cd "$dir" && pwd`
-         test -z "$absdir" && \
-           func_fatal_error "cannot determine absolute directory name of \`$dir'"
-         dir="$absdir"
-         ;;
-       esac
-       case "$deplibs " in
-       *" -L$dir "* | *" $arg "*)
-         # Will only happen for absolute or sysroot arguments
-         ;;
-       *)
-         # Preserve sysroot, but never include relative directories
-         case $dir in
-           [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
-           *) func_append deplibs " -L$dir" ;;
-         esac
-         func_append lib_search_path " $dir"
-         ;;
-       esac
-       case $host in
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-         testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
-         case :$dllsearchpath: in
-         *":$dir:"*) ;;
-         ::) dllsearchpath=$dir;;
-         *) func_append dllsearchpath ":$dir";;
-         esac
-         case :$dllsearchpath: in
-         *":$testbindir:"*) ;;
-         ::) dllsearchpath=$testbindir;;
-         *) func_append dllsearchpath ":$testbindir";;
-         esac
-         ;;
-       esac
-       continue
-       ;;
-
-      -l*)
-       if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
-         case $host in
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
-           # These systems don't actually have a C or math library (as such)
-           continue
-           ;;
-         *-*-os2*)
-           # These systems don't actually have a C library (as such)
-           test "X$arg" = "X-lc" && continue
-           ;;
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
-           # Do not include libc due to us having libc/libc_r.
-           test "X$arg" = "X-lc" && continue
-           ;;
-         *-*-rhapsody* | *-*-darwin1.[012])
-           # Rhapsody C and math libraries are in the System framework
-           func_append deplibs " System.ltframework"
-           continue
-           ;;
-         *-*-sco3.2v5* | *-*-sco5v6*)
-           # Causes problems with __ctype
-           test "X$arg" = "X-lc" && continue
-           ;;
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
-           # Compiler inserts libc in the correct place for threads to work
-           test "X$arg" = "X-lc" && continue
-           ;;
-         esac
-       elif test "X$arg" = "X-lc_r"; then
-        case $host in
-        *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
-          # Do not include libc_r directly, use -pthread flag.
-          continue
-          ;;
-        esac
-       fi
-       func_append deplibs " $arg"
-       continue
-       ;;
-
-      -module)
-       module=yes
-       continue
-       ;;
-
-      # Tru64 UNIX uses -model [arg] to determine the layout of C++
-      # classes, name mangling, and exception handling.
-      # Darwin uses the -arch flag to determine output architecture.
-      -model|-arch|-isysroot|--sysroot)
-       func_append compiler_flags " $arg"
-       func_append compile_command " $arg"
-       func_append finalize_command " $arg"
-       prev=xcompiler
-       continue
-       ;;
-
-      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
-       func_append compiler_flags " $arg"
-       func_append compile_command " $arg"
-       func_append finalize_command " $arg"
-       case "$new_inherited_linker_flags " in
-           *" $arg "*) ;;
-           * ) func_append new_inherited_linker_flags " $arg" ;;
-       esac
-       continue
-       ;;
-
-      -multi_module)
-       single_module="${wl}-multi_module"
-       continue
-       ;;
-
-      -no-fast-install)
-       fast_install=no
-       continue
-       ;;
-
-      -no-install)
-       case $host in
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
-         # The PATH hackery in wrapper scripts is required on Windows
-         # and Darwin in order for the loader to find any dlls it needs.
-         func_warning "\`-no-install' is ignored for $host"
-         func_warning "assuming \`-no-fast-install' instead"
-         fast_install=no
-         ;;
-       *) no_install=yes ;;
-       esac
-       continue
-       ;;
-
-      -no-undefined)
-       allow_undefined=no
-       continue
-       ;;
-
-      -objectlist)
-       prev=objectlist
-       continue
-       ;;
-
-      -o) prev=output ;;
-
-      -precious-files-regex)
-       prev=precious_regex
-       continue
-       ;;
-
-      -release)
-       prev=release
-       continue
-       ;;
-
-      -rpath)
-       prev=rpath
-       continue
-       ;;
-
-      -R)
-       prev=xrpath
-       continue
-       ;;
-
-      -R*)
-       func_stripname '-R' '' "$arg"
-       dir=$func_stripname_result
-       # We need an absolute path.
-       case $dir in
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
-       =*)
-         func_stripname '=' '' "$dir"
-         dir=$lt_sysroot$func_stripname_result
-         ;;
-       *)
-         func_fatal_error "only absolute run-paths are allowed"
-         ;;
-       esac
-       case "$xrpath " in
-       *" $dir "*) ;;
-       *) func_append xrpath " $dir" ;;
-       esac
-       continue
-       ;;
-
-      -shared)
-       # The effects of -shared are defined in a previous loop.
-       continue
-       ;;
-
-      -shrext)
-       prev=shrext
-       continue
-       ;;
-
-      -static | -static-libtool-libs)
-       # The effects of -static are defined in a previous loop.
-       # We used to do the same as -all-static on platforms that
-       # didn't have a PIC flag, but the assumption that the effects
-       # would be equivalent was wrong.  It would break on at least
-       # Digital Unix and AIX.
-       continue
-       ;;
-
-      -thread-safe)
-       thread_safe=yes
-       continue
-       ;;
-
-      -version-info)
-       prev=vinfo
-       continue
-       ;;
-
-      -version-number)
-       prev=vinfo
-       vinfo_number=yes
-       continue
-       ;;
-
-      -weak)
-        prev=weak
-       continue
-       ;;
-
-      -Wc,*)
-       func_stripname '-Wc,' '' "$arg"
-       args=$func_stripname_result
-       arg=
-       save_ifs="$IFS"; IFS=','
-       for flag in $args; do
-         IFS="$save_ifs"
-          func_quote_for_eval "$flag"
-         func_append arg " $func_quote_for_eval_result"
-         func_append compiler_flags " $func_quote_for_eval_result"
-       done
-       IFS="$save_ifs"
-       func_stripname ' ' '' "$arg"
-       arg=$func_stripname_result
-       ;;
-
-      -Wl,*)
-       func_stripname '-Wl,' '' "$arg"
-       args=$func_stripname_result
-       arg=
-       save_ifs="$IFS"; IFS=','
-       for flag in $args; do
-         IFS="$save_ifs"
-          func_quote_for_eval "$flag"
-         func_append arg " $wl$func_quote_for_eval_result"
-         func_append compiler_flags " $wl$func_quote_for_eval_result"
-         func_append linker_flags " $func_quote_for_eval_result"
-       done
-       IFS="$save_ifs"
-       func_stripname ' ' '' "$arg"
-       arg=$func_stripname_result
-       ;;
-
-      -Xcompiler)
-       prev=xcompiler
-       continue
-       ;;
-
-      -Xlinker)
-       prev=xlinker
-       continue
-       ;;
-
-      -XCClinker)
-       prev=xcclinker
-       continue
-       ;;
-
-      # -msg_* for osf cc
-      -msg_*)
-       func_quote_for_eval "$arg"
-       arg="$func_quote_for_eval_result"
-       ;;
-
-      # Flags to be passed through unchanged, with rationale:
-      # -64, -mips[0-9]      enable 64-bit mode for the SGI compiler
-      # -r[0-9][0-9]*        specify processor for the SGI compiler
-      # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
-      # +DA*, +DD*           enable 64-bit mode for the HP compiler
-      # -q*                  compiler args for the IBM compiler
-      # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
-      # -F/path              path to uninstalled frameworks, gcc on darwin
-      # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
-      # @file                GCC response files
-      # -tp=*                Portland pgcc target processor selection
-      # --sysroot=*          for sysroot support
-      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
-      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-      -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
-        func_quote_for_eval "$arg"
-       arg="$func_quote_for_eval_result"
-        func_append compile_command " $arg"
-        func_append finalize_command " $arg"
-        func_append compiler_flags " $arg"
-        continue
-        ;;
-
-      # Some other compiler flag.
-      -* | +*)
-        func_quote_for_eval "$arg"
-       arg="$func_quote_for_eval_result"
-       ;;
-
-      *.$objext)
-       # A standard object.
-       func_append objs " $arg"
-       ;;
-
-      *.lo)
-       # A libtool-controlled object.
-
-       # Check to see that this really is a libtool object.
-       if func_lalib_unsafe_p "$arg"; then
-         pic_object=
-         non_pic_object=
-
-         # Read the .lo file
-         func_source "$arg"
-
-         if test -z "$pic_object" ||
-            test -z "$non_pic_object" ||
-            test "$pic_object" = none &&
-            test "$non_pic_object" = none; then
-           func_fatal_error "cannot find name of object for \`$arg'"
-         fi
-
-         # Extract subdirectory from the argument.
-         func_dirname "$arg" "/" ""
-         xdir="$func_dirname_result"
-
-         if test "$pic_object" != none; then
-           # Prepend the subdirectory the object is found in.
-           pic_object="$xdir$pic_object"
-
-           if test "$prev" = dlfiles; then
-             if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
-               func_append dlfiles " $pic_object"
-               prev=
-               continue
-             else
-               # If libtool objects are unsupported, then we need to preload.
-               prev=dlprefiles
-             fi
-           fi
-
-           # CHECK ME:  I think I busted this.  -Ossama
-           if test "$prev" = dlprefiles; then
-             # Preload the old-style object.
-             func_append dlprefiles " $pic_object"
-             prev=
-           fi
-
-           # A PIC object.
-           func_append libobjs " $pic_object"
-           arg="$pic_object"
-         fi
-
-         # Non-PIC object.
-         if test "$non_pic_object" != none; then
-           # Prepend the subdirectory the object is found in.
-           non_pic_object="$xdir$non_pic_object"
-
-           # A standard non-PIC object
-           func_append non_pic_objects " $non_pic_object"
-           if test -z "$pic_object" || test "$pic_object" = none ; then
-             arg="$non_pic_object"
-           fi
-         else
-           # If the PIC object exists, use it instead.
-           # $xdir was prepended to $pic_object above.
-           non_pic_object="$pic_object"
-           func_append non_pic_objects " $non_pic_object"
-         fi
-       else
-         # Only an error if not doing a dry-run.
-         if $opt_dry_run; then
-           # Extract subdirectory from the argument.
-           func_dirname "$arg" "/" ""
-           xdir="$func_dirname_result"
-
-           func_lo2o "$arg"
-           pic_object=$xdir$objdir/$func_lo2o_result
-           non_pic_object=$xdir$func_lo2o_result
-           func_append libobjs " $pic_object"
-           func_append non_pic_objects " $non_pic_object"
-         else
-           func_fatal_error "\`$arg' is not a valid libtool object"
-         fi
-       fi
-       ;;
-
-      *.$libext)
-       # An archive.
-       func_append deplibs " $arg"
-       func_append old_deplibs " $arg"
-       continue
-       ;;
-
-      *.la)
-       # A libtool-controlled library.
-
-       func_resolve_sysroot "$arg"
-       if test "$prev" = dlfiles; then
-         # This library was specified with -dlopen.
-         func_append dlfiles " $func_resolve_sysroot_result"
-         prev=
-       elif test "$prev" = dlprefiles; then
-         # The library was specified with -dlpreopen.
-         func_append dlprefiles " $func_resolve_sysroot_result"
-         prev=
-       else
-         func_append deplibs " $func_resolve_sysroot_result"
-       fi
-       continue
-       ;;
-
-      # Some other compiler argument.
-      *)
-       # Unknown arguments in both finalize_command and compile_command need
-       # to be aesthetically quoted because they are evaled later.
-       func_quote_for_eval "$arg"
-       arg="$func_quote_for_eval_result"
-       ;;
-      esac # arg
-
-      # Now actually substitute the argument into the commands.
-      if test -n "$arg"; then
-       func_append compile_command " $arg"
-       func_append finalize_command " $arg"
-      fi
-    done # argument parsing loop
-
-    test -n "$prev" && \
-      func_fatal_help "the \`$prevarg' option requires an argument"
-
-    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
-      eval arg=\"$export_dynamic_flag_spec\"
-      func_append compile_command " $arg"
-      func_append finalize_command " $arg"
-    fi
-
-    oldlibs=
-    # calculate the name of the file, without its directory
-    func_basename "$output"
-    outputname="$func_basename_result"
-    libobjs_save="$libobjs"
-
-    if test -n "$shlibpath_var"; then
-      # get the directories listed in $shlibpath_var
-      eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
-    else
-      shlib_search_path=
-    fi
-    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
-    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
-
-    func_dirname "$output" "/" ""
-    output_objdir="$func_dirname_result$objdir"
-    func_to_tool_file "$output_objdir/"
-    tool_output_objdir=$func_to_tool_file_result
-    # Create the object directory.
-    func_mkdir_p "$output_objdir"
-
-    # Determine the type of output
-    case $output in
-    "")
-      func_fatal_help "you must specify an output file"
-      ;;
-    *.$libext) linkmode=oldlib ;;
-    *.lo | *.$objext) linkmode=obj ;;
-    *.la) linkmode=lib ;;
-    *) linkmode=prog ;; # Anything else should be a program.
-    esac
-
-    specialdeplibs=
-
-    libs=
-    # Find all interdependent deplibs by searching for libraries
-    # that are linked more than once (e.g. -la -lb -la)
-    for deplib in $deplibs; do
-      if $opt_preserve_dup_deps ; then
-       case "$libs " in
-       *" $deplib "*) func_append specialdeplibs " $deplib" ;;
-       esac
-      fi
-      func_append libs " $deplib"
-    done
-
-    if test "$linkmode" = lib; then
-      libs="$predeps $libs $compiler_lib_search_path $postdeps"
-
-      # Compute libraries that are listed more than once in $predeps
-      # $postdeps and mark them as special (i.e., whose duplicates are
-      # not to be eliminated).
-      pre_post_deps=
-      if $opt_duplicate_compiler_generated_deps; then
-       for pre_post_dep in $predeps $postdeps; do
-         case "$pre_post_deps " in
-         *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
-         esac
-         func_append pre_post_deps " $pre_post_dep"
-       done
-      fi
-      pre_post_deps=
-    fi
-
-    deplibs=
-    newdependency_libs=
-    newlib_search_path=
-    need_relink=no # whether we're linking any uninstalled libtool libraries
-    notinst_deplibs= # not-installed libtool libraries
-    notinst_path= # paths that contain not-installed libtool libraries
-
-    case $linkmode in
-    lib)
-       passes="conv dlpreopen link"
-       for file in $dlfiles $dlprefiles; do
-         case $file in
-         *.la) ;;
-         *)
-           func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
-           ;;
-         esac
-       done
-       ;;
-    prog)
-       compile_deplibs=
-       finalize_deplibs=
-       alldeplibs=no
-       newdlfiles=
-       newdlprefiles=
-       passes="conv scan dlopen dlpreopen link"
-       ;;
-    *)  passes="conv"
-       ;;
-    esac
-
-    for pass in $passes; do
-      # The preopen pass in lib mode reverses $deplibs; put it back here
-      # so that -L comes before libs that need it for instance...
-      if test "$linkmode,$pass" = "lib,link"; then
-       ## FIXME: Find the place where the list is rebuilt in the wrong
-       ##        order, and fix it there properly
-        tmp_deplibs=
-       for deplib in $deplibs; do
-         tmp_deplibs="$deplib $tmp_deplibs"
-       done
-       deplibs="$tmp_deplibs"
-      fi
-
-      if test "$linkmode,$pass" = "lib,link" ||
-        test "$linkmode,$pass" = "prog,scan"; then
-       libs="$deplibs"
-       deplibs=
-      fi
-      if test "$linkmode" = prog; then
-       case $pass in
-       dlopen) libs="$dlfiles" ;;
-       dlpreopen) libs="$dlprefiles" ;;
-       link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
-       esac
-      fi
-      if test "$linkmode,$pass" = "lib,dlpreopen"; then
-       # Collect and forward deplibs of preopened libtool libs
-       for lib in $dlprefiles; do
-         # Ignore non-libtool-libs
-         dependency_libs=
-         func_resolve_sysroot "$lib"
-         case $lib in
-         *.la) func_source "$func_resolve_sysroot_result" ;;
-         esac
-
-         # Collect preopened libtool deplibs, except any this library
-         # has declared as weak libs
-         for deplib in $dependency_libs; do
-           func_basename "$deplib"
-            deplib_base=$func_basename_result
-           case " $weak_libs " in
-           *" $deplib_base "*) ;;
-           *) func_append deplibs " $deplib" ;;
-           esac
-         done
-       done
-       libs="$dlprefiles"
-      fi
-      if test "$pass" = dlopen; then
-       # Collect dlpreopened libraries
-       save_deplibs="$deplibs"
-       deplibs=
-      fi
-
-      for deplib in $libs; do
-       lib=
-       found=no
-       case $deplib in
-       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
-         if test "$linkmode,$pass" = "prog,link"; then
-           compile_deplibs="$deplib $compile_deplibs"
-           finalize_deplibs="$deplib $finalize_deplibs"
-         else
-           func_append compiler_flags " $deplib"
-           if test "$linkmode" = lib ; then
-               case "$new_inherited_linker_flags " in
-                   *" $deplib "*) ;;
-                   * ) func_append new_inherited_linker_flags " $deplib" ;;
-               esac
-           fi
-         fi
-         continue
-         ;;
-       -l*)
-         if test "$linkmode" != lib && test "$linkmode" != prog; then
-           func_warning "\`-l' is ignored for archives/objects"
-           continue
-         fi
-         func_stripname '-l' '' "$deplib"
-         name=$func_stripname_result
-         if test "$linkmode" = lib; then
-           searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
-         else
-           searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
-         fi
-         for searchdir in $searchdirs; do
-           for search_ext in .la $std_shrext .so .a; do
-             # Search the libtool library
-             lib="$searchdir/lib${name}${search_ext}"
-             if test -f "$lib"; then
-               if test "$search_ext" = ".la"; then
-                 found=yes
-               else
-                 found=no
-               fi
-               break 2
-             fi
-           done
-         done
-         if test "$found" != yes; then
-           # deplib doesn't seem to be a libtool library
-           if test "$linkmode,$pass" = "prog,link"; then
-             compile_deplibs="$deplib $compile_deplibs"
-             finalize_deplibs="$deplib $finalize_deplibs"
-           else
-             deplibs="$deplib $deplibs"
-             test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
-           fi
-           continue
-         else # deplib is a libtool library
-           # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
-           # We need to do some special things here, and not later.
-           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-             case " $predeps $postdeps " in
-             *" $deplib "*)
-               if func_lalib_p "$lib"; then
-                 library_names=
-                 old_library=
-                 func_source "$lib"
-                 for l in $old_library $library_names; do
-                   ll="$l"
-                 done
-                 if test "X$ll" = "X$old_library" ; then # only static version available
-                   found=no
-                   func_dirname "$lib" "" "."
-                   ladir="$func_dirname_result"
-                   lib=$ladir/$old_library
-                   if test "$linkmode,$pass" = "prog,link"; then
-                     compile_deplibs="$deplib $compile_deplibs"
-                     finalize_deplibs="$deplib $finalize_deplibs"
-                   else
-                     deplibs="$deplib $deplibs"
-                     test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
-                   fi
-                   continue
-                 fi
-               fi
-               ;;
-             *) ;;
-             esac
-           fi
-         fi
-         ;; # -l
-       *.ltframework)
-         if test "$linkmode,$pass" = "prog,link"; then
-           compile_deplibs="$deplib $compile_deplibs"
-           finalize_deplibs="$deplib $finalize_deplibs"
-         else
-           deplibs="$deplib $deplibs"
-           if test "$linkmode" = lib ; then
-               case "$new_inherited_linker_flags " in
-                   *" $deplib "*) ;;
-                   * ) func_append new_inherited_linker_flags " $deplib" ;;
-               esac
-           fi
-         fi
-         continue
-         ;;
-       -L*)
-         case $linkmode in
-         lib)
-           deplibs="$deplib $deplibs"
-           test "$pass" = conv && continue
-           newdependency_libs="$deplib $newdependency_libs"
-           func_stripname '-L' '' "$deplib"
-           func_resolve_sysroot "$func_stripname_result"
-           func_append newlib_search_path " $func_resolve_sysroot_result"
-           ;;
-         prog)
-           if test "$pass" = conv; then
-             deplibs="$deplib $deplibs"
-             continue
-           fi
-           if test "$pass" = scan; then
-             deplibs="$deplib $deplibs"
-           else
-             compile_deplibs="$deplib $compile_deplibs"
-             finalize_deplibs="$deplib $finalize_deplibs"
-           fi
-           func_stripname '-L' '' "$deplib"
-           func_resolve_sysroot "$func_stripname_result"
-           func_append newlib_search_path " $func_resolve_sysroot_result"
-           ;;
-         *)
-           func_warning "\`-L' is ignored for archives/objects"
-           ;;
-         esac # linkmode
-         continue
-         ;; # -L
-       -R*)
-         if test "$pass" = link; then
-           func_stripname '-R' '' "$deplib"
-           func_resolve_sysroot "$func_stripname_result"
-           dir=$func_resolve_sysroot_result
-           # Make sure the xrpath contains only unique directories.
-           case "$xrpath " in
-           *" $dir "*) ;;
-           *) func_append xrpath " $dir" ;;
-           esac
-         fi
-         deplibs="$deplib $deplibs"
-         continue
-         ;;
-       *.la)
-         func_resolve_sysroot "$deplib"
-         lib=$func_resolve_sysroot_result
-         ;;
-       *.$libext)
-         if test "$pass" = conv; then
-           deplibs="$deplib $deplibs"
-           continue
-         fi
-         case $linkmode in
-         lib)
-           # Linking convenience modules into shared libraries is allowed,
-           # but linking other static libraries is non-portable.
-           case " $dlpreconveniencelibs " in
-           *" $deplib "*) ;;
-           *)
-             valid_a_lib=no
-             case $deplibs_check_method in
-               match_pattern*)
-                 set dummy $deplibs_check_method; shift
-                 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-                 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
-                   | $EGREP "$match_pattern_regex" > /dev/null; then
-                   valid_a_lib=yes
-                 fi
-               ;;
-               pass_all)
-                 valid_a_lib=yes
-               ;;
-             esac
-             if test "$valid_a_lib" != yes; then
-               echo
-               $ECHO "*** Warning: Trying to link with static lib archive $deplib."
-               echo "*** I have the capability to make that library automatically link in when"
-               echo "*** you link to this library.  But I can only do this if you have a"
-               echo "*** shared version of the library, which you do not appear to have"
-               echo "*** because the file extensions .$libext of this argument makes me believe"
-               echo "*** that it is just a static archive that I should not use here."
-             else
-               echo
-               $ECHO "*** Warning: Linking the shared library $output against the"
-               $ECHO "*** static library $deplib is not portable!"
-               deplibs="$deplib $deplibs"
-             fi
-             ;;
-           esac
-           continue
-           ;;
-         prog)
-           if test "$pass" != link; then
-             deplibs="$deplib $deplibs"
-           else
-             compile_deplibs="$deplib $compile_deplibs"
-             finalize_deplibs="$deplib $finalize_deplibs"
-           fi
-           continue
-           ;;
-         esac # linkmode
-         ;; # *.$libext
-       *.lo | *.$objext)
-         if test "$pass" = conv; then
-           deplibs="$deplib $deplibs"
-         elif test "$linkmode" = prog; then
-           if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
-             # If there is no dlopen support or we're linking statically,
-             # we need to preload.
-             func_append newdlprefiles " $deplib"
-             compile_deplibs="$deplib $compile_deplibs"
-             finalize_deplibs="$deplib $finalize_deplibs"
-           else
-             func_append newdlfiles " $deplib"
-           fi
-         fi
-         continue
-         ;;
-       %DEPLIBS%)
-         alldeplibs=yes
-         continue
-         ;;
-       esac # case $deplib
-
-       if test "$found" = yes || test -f "$lib"; then :
-       else
-         func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
-       fi
-
-       # Check to see that this really is a libtool archive.
-       func_lalib_unsafe_p "$lib" \
-         || func_fatal_error "\`$lib' is not a valid libtool archive"
-
-       func_dirname "$lib" "" "."
-       ladir="$func_dirname_result"
-
-       dlname=
-       dlopen=
-       dlpreopen=
-       libdir=
-       library_names=
-       old_library=
-       inherited_linker_flags=
-       # If the library was installed with an old release of libtool,
-       # it will not redefine variables installed, or shouldnotlink
-       installed=yes
-       shouldnotlink=no
-       avoidtemprpath=
-
-
-       # Read the .la file
-       func_source "$lib"
-
-       # Convert "-framework foo" to "foo.ltframework"
-       if test -n "$inherited_linker_flags"; then
-         tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
-         for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
-           case " $new_inherited_linker_flags " in
-             *" $tmp_inherited_linker_flag "*) ;;
-             *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
-           esac
-         done
-       fi
-       dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-       if test "$linkmode,$pass" = "lib,link" ||
-          test "$linkmode,$pass" = "prog,scan" ||
-          { test "$linkmode" != prog && test "$linkmode" != lib; }; then
-         test -n "$dlopen" && func_append dlfiles " $dlopen"
-         test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
-       fi
-
-       if test "$pass" = conv; then
-         # Only check for convenience libraries
-         deplibs="$lib $deplibs"
-         if test -z "$libdir"; then
-           if test -z "$old_library"; then
-             func_fatal_error "cannot find name of link library for \`$lib'"
-           fi
-           # It is a libtool convenience library, so add in its objects.
-           func_append convenience " $ladir/$objdir/$old_library"
-           func_append old_convenience " $ladir/$objdir/$old_library"
-         elif test "$linkmode" != prog && test "$linkmode" != lib; then
-           func_fatal_error "\`$lib' is not a convenience library"
-         fi
-         tmp_libs=
-         for deplib in $dependency_libs; do
-           deplibs="$deplib $deplibs"
-           if $opt_preserve_dup_deps ; then
-             case "$tmp_libs " in
-             *" $deplib "*) func_append specialdeplibs " $deplib" ;;
-             esac
-           fi
-           func_append tmp_libs " $deplib"
-         done
-         continue
-       fi # $pass = conv
-
-
-       # Get the name of the library we link against.
-       linklib=
-       if test -n "$old_library" &&
-          { test "$prefer_static_libs" = yes ||
-            test "$prefer_static_libs,$installed" = "built,no"; }; then
-         linklib=$old_library
-       else
-         for l in $old_library $library_names; do
-           linklib="$l"
-         done
-       fi
-       if test -z "$linklib"; then
-         func_fatal_error "cannot find name of link library for \`$lib'"
-       fi
-
-       # This library was specified with -dlopen.
-       if test "$pass" = dlopen; then
-         if test -z "$libdir"; then
-           func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
-         fi
-         if test -z "$dlname" ||
-            test "$dlopen_support" != yes ||
-            test "$build_libtool_libs" = no; then
-           # If there is no dlname, no dlopen support or we're linking
-           # statically, we need to preload.  We also need to preload any
-           # dependent libraries so libltdl's deplib preloader doesn't
-           # bomb out in the load deplibs phase.
-           func_append dlprefiles " $lib $dependency_libs"
-         else
-           func_append newdlfiles " $lib"
-         fi
-         continue
-       fi # $pass = dlopen
-
-       # We need an absolute path.
-       case $ladir in
-       [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
-       *)
-         abs_ladir=`cd "$ladir" && pwd`
-         if test -z "$abs_ladir"; then
-           func_warning "cannot determine absolute directory name of \`$ladir'"
-           func_warning "passing it literally to the linker, although it might fail"
-           abs_ladir="$ladir"
-         fi
-         ;;
-       esac
-       func_basename "$lib"
-       laname="$func_basename_result"
-
-       # Find the relevant object directory and library name.
-       if test "X$installed" = Xyes; then
-         if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
-           func_warning "library \`$lib' was moved."
-           dir="$ladir"
-           absdir="$abs_ladir"
-           libdir="$abs_ladir"
-         else
-           dir="$lt_sysroot$libdir"
-           absdir="$lt_sysroot$libdir"
-         fi
-         test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
-       else
-         if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
-           dir="$ladir"
-           absdir="$abs_ladir"
-           # Remove this search path later
-           func_append notinst_path " $abs_ladir"
-         else
-           dir="$ladir/$objdir"
-           absdir="$abs_ladir/$objdir"
-           # Remove this search path later
-           func_append notinst_path " $abs_ladir"
-         fi
-       fi # $installed = yes
-       func_stripname 'lib' '.la' "$laname"
-       name=$func_stripname_result
-
-       # This library was specified with -dlpreopen.
-       if test "$pass" = dlpreopen; then
-         if test -z "$libdir" && test "$linkmode" = prog; then
-           func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
-         fi
-         case "$host" in
-           # special handling for platforms with PE-DLLs.
-           *cygwin* | *mingw* | *cegcc* )
-             # Linker will automatically link against shared library if both
-             # static and shared are present.  Therefore, ensure we extract
-             # symbols from the import library if a shared library is present
-             # (otherwise, the dlopen module name will be incorrect).  We do
-             # this by putting the import library name into $newdlprefiles.
-             # We recover the dlopen module name by 'saving' the la file
-             # name in a special purpose variable, and (later) extracting the
-             # dlname from the la file.
-             if test -n "$dlname"; then
-               func_tr_sh "$dir/$linklib"
-               eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
-               func_append newdlprefiles " $dir/$linklib"
-             else
-               func_append newdlprefiles " $dir/$old_library"
-               # Keep a list of preopened convenience libraries to check
-               # that they are being used correctly in the link pass.
-               test -z "$libdir" && \
-                 func_append dlpreconveniencelibs " $dir/$old_library"
-             fi
-           ;;
-           * )
-             # Prefer using a static library (so that no silly _DYNAMIC symbols
-             # are required to link).
-             if test -n "$old_library"; then
-               func_append newdlprefiles " $dir/$old_library"
-               # Keep a list of preopened convenience libraries to check
-               # that they are being used correctly in the link pass.
-               test -z "$libdir" && \
-                 func_append dlpreconveniencelibs " $dir/$old_library"
-             # Otherwise, use the dlname, so that lt_dlopen finds it.
-             elif test -n "$dlname"; then
-               func_append newdlprefiles " $dir/$dlname"
-             else
-               func_append newdlprefiles " $dir/$linklib"
-             fi
-           ;;
-         esac
-       fi # $pass = dlpreopen
-
-       if test -z "$libdir"; then
-         # Link the convenience library
-         if test "$linkmode" = lib; then
-           deplibs="$dir/$old_library $deplibs"
-         elif test "$linkmode,$pass" = "prog,link"; then
-           compile_deplibs="$dir/$old_library $compile_deplibs"
-           finalize_deplibs="$dir/$old_library $finalize_deplibs"
-         else
-           deplibs="$lib $deplibs" # used for prog,scan pass
-         fi
-         continue
-       fi
-
-
-       if test "$linkmode" = prog && test "$pass" != link; then
-         func_append newlib_search_path " $ladir"
-         deplibs="$lib $deplibs"
-
-         linkalldeplibs=no
-         if test "$link_all_deplibs" != no || test -z "$library_names" ||
-            test "$build_libtool_libs" = no; then
-           linkalldeplibs=yes
-         fi
-
-         tmp_libs=
-         for deplib in $dependency_libs; do
-           case $deplib in
-           -L*) func_stripname '-L' '' "$deplib"
-                func_resolve_sysroot "$func_stripname_result"
-                func_append newlib_search_path " $func_resolve_sysroot_result"
-                ;;
-           esac
-           # Need to link against all dependency_libs?
-           if test "$linkalldeplibs" = yes; then
-             deplibs="$deplib $deplibs"
-           else
-             # Need to hardcode shared library paths
-             # or/and link against static libraries
-             newdependency_libs="$deplib $newdependency_libs"
-           fi
-           if $opt_preserve_dup_deps ; then
-             case "$tmp_libs " in
-             *" $deplib "*) func_append specialdeplibs " $deplib" ;;
-             esac
-           fi
-           func_append tmp_libs " $deplib"
-         done # for deplib
-         continue
-       fi # $linkmode = prog...
-
-       if test "$linkmode,$pass" = "prog,link"; then
-         if test -n "$library_names" &&
-            { { test "$prefer_static_libs" = no ||
-                test "$prefer_static_libs,$installed" = "built,yes"; } ||
-              test -z "$old_library"; }; then
-           # We need to hardcode the library path
-           if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
-             # Make sure the rpath contains only unique directories.
-             case "$temp_rpath:" in
-             *"$absdir:"*) ;;
-             *) func_append temp_rpath "$absdir:" ;;
-             esac
-           fi
-
-           # Hardcode the library path.
-           # Skip directories that are in the system default run-time
-           # search path.
-           case " $sys_lib_dlsearch_path " in
-           *" $absdir "*) ;;
-           *)
-             case "$compile_rpath " in
-             *" $absdir "*) ;;
-             *) func_append compile_rpath " $absdir" ;;
-             esac
-             ;;
-           esac
-           case " $sys_lib_dlsearch_path " in
-           *" $libdir "*) ;;
-           *)
-             case "$finalize_rpath " in
-             *" $libdir "*) ;;
-             *) func_append finalize_rpath " $libdir" ;;
-             esac
-             ;;
-           esac
-         fi # $linkmode,$pass = prog,link...
-
-         if test "$alldeplibs" = yes &&
-            { test "$deplibs_check_method" = pass_all ||
-              { test "$build_libtool_libs" = yes &&
-                test -n "$library_names"; }; }; then
-           # We only need to search for static libraries
-           continue
-         fi
-       fi
-
-       link_static=no # Whether the deplib will be linked statically
-       use_static_libs=$prefer_static_libs
-       if test "$use_static_libs" = built && test "$installed" = yes; then
-         use_static_libs=no
-       fi
-       if test -n "$library_names" &&
-          { test "$use_static_libs" = no || test -z "$old_library"; }; then
-         case $host in
-         *cygwin* | *mingw* | *cegcc*)
-             # No point in relinking DLLs because paths are not encoded
-             func_append notinst_deplibs " $lib"
-             need_relink=no
-           ;;
-         *)
-           if test "$installed" = no; then
-             func_append notinst_deplibs " $lib"
-             need_relink=yes
-           fi
-           ;;
-         esac
-         # This is a shared library
-
-         # Warn about portability, can't link against -module's on some
-         # systems (darwin).  Don't bleat about dlopened modules though!
-         dlopenmodule=""
-         for dlpremoduletest in $dlprefiles; do
-           if test "X$dlpremoduletest" = "X$lib"; then
-             dlopenmodule="$dlpremoduletest"
-             break
-           fi
-         done
-         if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
-           echo
-           if test "$linkmode" = prog; then
-             $ECHO "*** Warning: Linking the executable $output against the loadable module"
-           else
-             $ECHO "*** Warning: Linking the shared library $output against the loadable module"
-           fi
-           $ECHO "*** $linklib is not portable!"
-         fi
-         if test "$linkmode" = lib &&
-            test "$hardcode_into_libs" = yes; then
-           # Hardcode the library path.
-           # Skip directories that are in the system default run-time
-           # search path.
-           case " $sys_lib_dlsearch_path " in
-           *" $absdir "*) ;;
-           *)
-             case "$compile_rpath " in
-             *" $absdir "*) ;;
-             *) func_append compile_rpath " $absdir" ;;
-             esac
-             ;;
-           esac
-           case " $sys_lib_dlsearch_path " in
-           *" $libdir "*) ;;
-           *)
-             case "$finalize_rpath " in
-             *" $libdir "*) ;;
-             *) func_append finalize_rpath " $libdir" ;;
-             esac
-             ;;
-           esac
-         fi
-
-         if test -n "$old_archive_from_expsyms_cmds"; then
-           # figure out the soname
-           set dummy $library_names
-           shift
-           realname="$1"
-           shift
-           libname=`eval "\\$ECHO \"$libname_spec\""`
-           # use dlname if we got it. it's perfectly good, no?
-           if test -n "$dlname"; then
-             soname="$dlname"
-           elif test -n "$soname_spec"; then
-             # bleh windows
-             case $host in
-             *cygwin* | mingw* | *cegcc*)
-               func_arith $current - $age
-               major=$func_arith_result
-               versuffix="-$major"
-               ;;
-             esac
-             eval soname=\"$soname_spec\"
-           else
-             soname="$realname"
-           fi
-
-           # Make a new name for the extract_expsyms_cmds to use
-           soroot="$soname"
-           func_basename "$soroot"
-           soname="$func_basename_result"
-           func_stripname 'lib' '.dll' "$soname"
-           newlib=libimp-$func_stripname_result.a
-
-           # If the library has no export list, then create one now
-           if test -f "$output_objdir/$soname-def"; then :
-           else
-             func_verbose "extracting exported symbol list from \`$soname'"
-             func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
-           fi
-
-           # Create $newlib
-           if test -f "$output_objdir/$newlib"; then :; else
-             func_verbose "generating import library for \`$soname'"
-             func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
-           fi
-           # make sure the library variables are pointing to the new library
-           dir=$output_objdir
-           linklib=$newlib
-         fi # test -n "$old_archive_from_expsyms_cmds"
-
-         if test "$linkmode" = prog || test "$opt_mode" != relink; then
-           add_shlibpath=
-           add_dir=
-           add=
-           lib_linked=yes
-           case $hardcode_action in
-           immediate | unsupported)
-             if test "$hardcode_direct" = no; then
-               add="$dir/$linklib"
-               case $host in
-                 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
-                 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
-                 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
-                   *-*-unixware7*) add_dir="-L$dir" ;;
-                 *-*-darwin* )
-                   # if the lib is a (non-dlopened) module then we can not
-                   # link against it, someone is ignoring the earlier warnings
-                   if /usr/bin/file -L $add 2> /dev/null |
-                        $GREP ": [^:]* bundle" >/dev/null ; then
-                     if test "X$dlopenmodule" != "X$lib"; then
-                       $ECHO "*** Warning: lib $linklib is a module, not a shared library"
-                       if test -z "$old_library" ; then
-                         echo
-                         echo "*** And there doesn't seem to be a static archive available"
-                         echo "*** The link will probably fail, sorry"
-                       else
-                         add="$dir/$old_library"
-                       fi
-                     elif test -n "$old_library"; then
-                       add="$dir/$old_library"
-                     fi
-                   fi
-               esac
-             elif test "$hardcode_minus_L" = no; then
-               case $host in
-               *-*-sunos*) add_shlibpath="$dir" ;;
-               esac
-               add_dir="-L$dir"
-               add="-l$name"
-             elif test "$hardcode_shlibpath_var" = no; then
-               add_shlibpath="$dir"
-               add="-l$name"
-             else
-               lib_linked=no
-             fi
-             ;;
-           relink)
-             if test "$hardcode_direct" = yes &&
-                test "$hardcode_direct_absolute" = no; then
-               add="$dir/$linklib"
-             elif test "$hardcode_minus_L" = yes; then
-               add_dir="-L$absdir"
-               # Try looking first in the location we're being installed to.
-               if test -n "$inst_prefix_dir"; then
-                 case $libdir in
-                   [\\/]*)
-                     func_append add_dir " -L$inst_prefix_dir$libdir"
-                     ;;
-                 esac
-               fi
-               add="-l$name"
-             elif test "$hardcode_shlibpath_var" = yes; then
-               add_shlibpath="$dir"
-               add="-l$name"
-             else
-               lib_linked=no
-             fi
-             ;;
-           *) lib_linked=no ;;
-           esac
-
-           if test "$lib_linked" != yes; then
-             func_fatal_configuration "unsupported hardcode properties"
-           fi
-
-           if test -n "$add_shlibpath"; then
-             case :$compile_shlibpath: in
-             *":$add_shlibpath:"*) ;;
-             *) func_append compile_shlibpath "$add_shlibpath:" ;;
-             esac
-           fi
-           if test "$linkmode" = prog; then
-             test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
-             test -n "$add" && compile_deplibs="$add $compile_deplibs"
-           else
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
-             test -n "$add" && deplibs="$add $deplibs"
-             if test "$hardcode_direct" != yes &&
-                test "$hardcode_minus_L" != yes &&
-                test "$hardcode_shlibpath_var" = yes; then
-               case :$finalize_shlibpath: in
-               *":$libdir:"*) ;;
-               *) func_append finalize_shlibpath "$libdir:" ;;
-               esac
-             fi
-           fi
-         fi
-
-         if test "$linkmode" = prog || test "$opt_mode" = relink; then
-           add_shlibpath=
-           add_dir=
-           add=
-           # Finalize command for both is simple: just hardcode it.
-           if test "$hardcode_direct" = yes &&
-              test "$hardcode_direct_absolute" = no; then
-             add="$libdir/$linklib"
-           elif test "$hardcode_minus_L" = yes; then
-             add_dir="-L$libdir"
-             add="-l$name"
-           elif test "$hardcode_shlibpath_var" = yes; then
-             case :$finalize_shlibpath: in
-             *":$libdir:"*) ;;
-             *) func_append finalize_shlibpath "$libdir:" ;;
-             esac
-             add="-l$name"
-           elif test "$hardcode_automatic" = yes; then
-             if test -n "$inst_prefix_dir" &&
-                test -f "$inst_prefix_dir$libdir/$linklib" ; then
-               add="$inst_prefix_dir$libdir/$linklib"
-             else
-               add="$libdir/$linklib"
-             fi
-           else
-             # We cannot seem to hardcode it, guess we'll fake it.
-             add_dir="-L$libdir"
-             # Try looking first in the location we're being installed to.
-             if test -n "$inst_prefix_dir"; then
-               case $libdir in
-                 [\\/]*)
-                   func_append add_dir " -L$inst_prefix_dir$libdir"
-                   ;;
-               esac
-             fi
-             add="-l$name"
-           fi
-
-           if test "$linkmode" = prog; then
-             test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
-             test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
-           else
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
-             test -n "$add" && deplibs="$add $deplibs"
-           fi
-         fi
-       elif test "$linkmode" = prog; then
-         # Here we assume that one of hardcode_direct or hardcode_minus_L
-         # is not unsupported.  This is valid on all known static and
-         # shared platforms.
-         if test "$hardcode_direct" != unsupported; then
-           test -n "$old_library" && linklib="$old_library"
-           compile_deplibs="$dir/$linklib $compile_deplibs"
-           finalize_deplibs="$dir/$linklib $finalize_deplibs"
-         else
-           compile_deplibs="-l$name -L$dir $compile_deplibs"
-           finalize_deplibs="-l$name -L$dir $finalize_deplibs"
-         fi
-       elif test "$build_libtool_libs" = yes; then
-         # Not a shared library
-         if test "$deplibs_check_method" != pass_all; then
-           # We're trying link a shared library against a static one
-           # but the system doesn't support it.
-
-           # Just print a warning and add the library to dependency_libs so
-           # that the program can be linked against the static library.
-           echo
-           $ECHO "*** Warning: This system can not link to static lib archive $lib."
-           echo "*** I have the capability to make that library automatically link in when"
-           echo "*** you link to this library.  But I can only do this if you have a"
-           echo "*** shared version of the library, which you do not appear to have."
-           if test "$module" = yes; then
-             echo "*** But as you try to build a module library, libtool will still create "
-             echo "*** a static module, that should work as long as the dlopening application"
-             echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
-             if test -z "$global_symbol_pipe"; then
-               echo
-               echo "*** However, this would only work if libtool was able to extract symbol"
-               echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
-               echo "*** not find such a program.  So, this module is probably useless."
-               echo "*** \`nm' from GNU binutils and a full rebuild may help."
-             fi
-             if test "$build_old_libs" = no; then
-               build_libtool_libs=module
-               build_old_libs=yes
-             else
-               build_libtool_libs=no
-             fi
-           fi
-         else
-           deplibs="$dir/$old_library $deplibs"
-           link_static=yes
-         fi
-       fi # link shared/static library?
-
-       if test "$linkmode" = lib; then
-         if test -n "$dependency_libs" &&
-            { test "$hardcode_into_libs" != yes ||
-              test "$build_old_libs" = yes ||
-              test "$link_static" = yes; }; then
-           # Extract -R from dependency_libs
-           temp_deplibs=
-           for libdir in $dependency_libs; do
-             case $libdir in
-             -R*) func_stripname '-R' '' "$libdir"
-                  temp_xrpath=$func_stripname_result
-                  case " $xrpath " in
-                  *" $temp_xrpath "*) ;;
-                  *) func_append xrpath " $temp_xrpath";;
-                  esac;;
-             *) func_append temp_deplibs " $libdir";;
-             esac
-           done
-           dependency_libs="$temp_deplibs"
-         fi
-
-         func_append newlib_search_path " $absdir"
-         # Link against this library
-         test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
-         # ... and its dependency_libs
-         tmp_libs=
-         for deplib in $dependency_libs; do
-           newdependency_libs="$deplib $newdependency_libs"
-           case $deplib in
-              -L*) func_stripname '-L' '' "$deplib"
-                   func_resolve_sysroot "$func_stripname_result";;
-              *) func_resolve_sysroot "$deplib" ;;
-            esac
-           if $opt_preserve_dup_deps ; then
-             case "$tmp_libs " in
-             *" $func_resolve_sysroot_result "*)
-                func_append specialdeplibs " $func_resolve_sysroot_result" ;;
-             esac
-           fi
-           func_append tmp_libs " $func_resolve_sysroot_result"
-         done
-
-         if test "$link_all_deplibs" != no; then
-           # Add the search paths of all dependency libraries
-           for deplib in $dependency_libs; do
-             path=
-             case $deplib in
-             -L*) path="$deplib" ;;
-             *.la)
-               func_resolve_sysroot "$deplib"
-               deplib=$func_resolve_sysroot_result
-               func_dirname "$deplib" "" "."
-               dir=$func_dirname_result
-               # We need an absolute path.
-               case $dir in
-               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
-               *)
-                 absdir=`cd "$dir" && pwd`
-                 if test -z "$absdir"; then
-                   func_warning "cannot determine absolute directory name of \`$dir'"
-                   absdir="$dir"
-                 fi
-                 ;;
-               esac
-               if $GREP "^installed=no" $deplib > /dev/null; then
-               case $host in
-               *-*-darwin*)
-                 depdepl=
-                 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
-                 if test -n "$deplibrary_names" ; then
-                   for tmp in $deplibrary_names ; do
-                     depdepl=$tmp
-                   done
-                   if test -f "$absdir/$objdir/$depdepl" ; then
-                     depdepl="$absdir/$objdir/$depdepl"
-                     darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
-                      if test -z "$darwin_install_name"; then
-                          darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
-                      fi
-                     func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
-                     func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
-                     path=
-                   fi
-                 fi
-                 ;;
-               *)
-                 path="-L$absdir/$objdir"
-                 ;;
-               esac
-               else
-                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
-                 test -z "$libdir" && \
-                   func_fatal_error "\`$deplib' is not a valid libtool archive"
-                 test "$absdir" != "$libdir" && \
-                   func_warning "\`$deplib' seems to be moved"
-
-                 path="-L$absdir"
-               fi
-               ;;
-             esac
-             case " $deplibs " in
-             *" $path "*) ;;
-             *) deplibs="$path $deplibs" ;;
-             esac
-           done
-         fi # link_all_deplibs != no
-       fi # linkmode = lib
-      done # for deplib in $libs
-      if test "$pass" = link; then
-       if test "$linkmode" = "prog"; then
-         compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
-         finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
-       else
-         compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-       fi
-      fi
-      dependency_libs="$newdependency_libs"
-      if test "$pass" = dlpreopen; then
-       # Link the dlpreopened libraries before other libraries
-       for deplib in $save_deplibs; do
-         deplibs="$deplib $deplibs"
-       done
-      fi
-      if test "$pass" != dlopen; then
-       if test "$pass" != conv; then
-         # Make sure lib_search_path contains only unique directories.
-         lib_search_path=
-         for dir in $newlib_search_path; do
-           case "$lib_search_path " in
-           *" $dir "*) ;;
-           *) func_append lib_search_path " $dir" ;;
-           esac
-         done
-         newlib_search_path=
-       fi
-
-       if test "$linkmode,$pass" != "prog,link"; then
-         vars="deplibs"
-       else
-         vars="compile_deplibs finalize_deplibs"
-       fi
-       for var in $vars dependency_libs; do
-         # Add libraries to $var in reverse order
-         eval tmp_libs=\"\$$var\"
-         new_libs=
-         for deplib in $tmp_libs; do
-           # FIXME: Pedantically, this is the right thing to do, so
-           #        that some nasty dependency loop isn't accidentally
-           #        broken:
-           #new_libs="$deplib $new_libs"
-           # Pragmatically, this seems to cause very few problems in
-           # practice:
-           case $deplib in
-           -L*) new_libs="$deplib $new_libs" ;;
-           -R*) ;;
-           *)
-             # And here is the reason: when a library appears more
-             # than once as an explicit dependence of a library, or
-             # is implicitly linked in more than once by the
-             # compiler, it is considered special, and multiple
-             # occurrences thereof are not removed.  Compare this
-             # with having the same library being listed as a
-             # dependency of multiple other libraries: in this case,
-             # we know (pedantically, we assume) the library does not
-             # need to be listed more than once, so we keep only the
-             # last copy.  This is not always right, but it is rare
-             # enough that we require users that really mean to play
-             # such unportable linking tricks to link the library
-             # using -Wl,-lname, so that libtool does not consider it
-             # for duplicate removal.
-             case " $specialdeplibs " in
-             *" $deplib "*) new_libs="$deplib $new_libs" ;;
-             *)
-               case " $new_libs " in
-               *" $deplib "*) ;;
-               *) new_libs="$deplib $new_libs" ;;
-               esac
-               ;;
-             esac
-             ;;
-           esac
-         done
-         tmp_libs=
-         for deplib in $new_libs; do
-           case $deplib in
-           -L*)
-             case " $tmp_libs " in
-             *" $deplib "*) ;;
-             *) func_append tmp_libs " $deplib" ;;
-             esac
-             ;;
-           *) func_append tmp_libs " $deplib" ;;
-           esac
-         done
-         eval $var=\"$tmp_libs\"
-       done # for var
-      fi
-      # Last step: remove runtime libs from dependency_libs
-      # (they stay in deplibs)
-      tmp_libs=
-      for i in $dependency_libs ; do
-       case " $predeps $postdeps $compiler_lib_search_path " in
-       *" $i "*)
-         i=""
-         ;;
-       esac
-       if test -n "$i" ; then
-         func_append tmp_libs " $i"
-       fi
-      done
-      dependency_libs=$tmp_libs
-    done # for pass
-    if test "$linkmode" = prog; then
-      dlfiles="$newdlfiles"
-    fi
-    if test "$linkmode" = prog || test "$linkmode" = lib; then
-      dlprefiles="$newdlprefiles"
-    fi
-
-    case $linkmode in
-    oldlib)
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
-       func_warning "\`-dlopen' is ignored for archives"
-      fi
-
-      case " $deplibs" in
-      *\ -l* | *\ -L*)
-       func_warning "\`-l' and \`-L' are ignored for archives" ;;
-      esac
-
-      test -n "$rpath" && \
-       func_warning "\`-rpath' is ignored for archives"
-
-      test -n "$xrpath" && \
-       func_warning "\`-R' is ignored for archives"
-
-      test -n "$vinfo" && \
-       func_warning "\`-version-info/-version-number' is ignored for archives"
-
-      test -n "$release" && \
-       func_warning "\`-release' is ignored for archives"
-
-      test -n "$export_symbols$export_symbols_regex" && \
-       func_warning "\`-export-symbols' is ignored for archives"
-
-      # Now set the variables for building old libraries.
-      build_libtool_libs=no
-      oldlibs="$output"
-      func_append objs "$old_deplibs"
-      ;;
-
-    lib)
-      # Make sure we only generate libraries of the form `libNAME.la'.
-      case $outputname in
-      lib*)
-       func_stripname 'lib' '.la' "$outputname"
-       name=$func_stripname_result
-       eval shared_ext=\"$shrext_cmds\"
-       eval libname=\"$libname_spec\"
-       ;;
-      *)
-       test "$module" = no && \
-         func_fatal_help "libtool library \`$output' must begin with \`lib'"
-
-       if test "$need_lib_prefix" != no; then
-         # Add the "lib" prefix for modules if required
-         func_stripname '' '.la' "$outputname"
-         name=$func_stripname_result
-         eval shared_ext=\"$shrext_cmds\"
-         eval libname=\"$libname_spec\"
-       else
-         func_stripname '' '.la' "$outputname"
-         libname=$func_stripname_result
-       fi
-       ;;
-      esac
-
-      if test -n "$objs"; then
-       if test "$deplibs_check_method" != pass_all; then
-         func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
-       else
-         echo
-         $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
-         $ECHO "*** objects $objs is not portable!"
-         func_append libobjs " $objs"
-       fi
-      fi
-
-      test "$dlself" != no && \
-       func_warning "\`-dlopen self' is ignored for libtool libraries"
-
-      set dummy $rpath
-      shift
-      test "$#" -gt 1 && \
-       func_warning "ignoring multiple \`-rpath's for a libtool library"
-
-      install_libdir="$1"
-
-      oldlibs=
-      if test -z "$rpath"; then
-       if test "$build_libtool_libs" = yes; then
-         # Building a libtool convenience library.
-         # Some compilers have problems with a `.al' extension so
-         # convenience libraries should have the same extension an
-         # archive normally would.
-         oldlibs="$output_objdir/$libname.$libext $oldlibs"
-         build_libtool_libs=convenience
-         build_old_libs=yes
-       fi
-
-       test -n "$vinfo" && \
-         func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
-
-       test -n "$release" && \
-         func_warning "\`-release' is ignored for convenience libraries"
-      else
-
-       # Parse the version information argument.
-       save_ifs="$IFS"; IFS=':'
-       set dummy $vinfo 0 0 0
-       shift
-       IFS="$save_ifs"
-
-       test -n "$7" && \
-         func_fatal_help "too many parameters to \`-version-info'"
-
-       # convert absolute version numbers to libtool ages
-       # this retains compatibility with .la files and attempts
-       # to make the code below a bit more comprehensible
-
-       case $vinfo_number in
-       yes)
-         number_major="$1"
-         number_minor="$2"
-         number_revision="$3"
-         #
-         # There are really only two kinds -- those that
-         # use the current revision as the major version
-         # and those that subtract age and use age as
-         # a minor version.  But, then there is irix
-         # which has an extra 1 added just for fun
-         #
-         case $version_type in
-         # correct linux to gnu/linux during the next big refactor
-         darwin|linux|osf|windows|none)
-           func_arith $number_major + $number_minor
-           current=$func_arith_result
-           age="$number_minor"
-           revision="$number_revision"
-           ;;
-         freebsd-aout|freebsd-elf|qnx|sunos)
-           current="$number_major"
-           revision="$number_minor"
-           age="0"
-           ;;
-         irix|nonstopux)
-           func_arith $number_major + $number_minor
-           current=$func_arith_result
-           age="$number_minor"
-           revision="$number_minor"
-           lt_irix_increment=no
-           ;;
-         esac
-         ;;
-       no)
-         current="$1"
-         revision="$2"
-         age="$3"
-         ;;
-       esac
-
-       # Check that each of the things are valid numbers.
-       case $current in
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-       *)
-         func_error "CURRENT \`$current' must be a nonnegative integer"
-         func_fatal_error "\`$vinfo' is not valid version information"
-         ;;
-       esac
-
-       case $revision in
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-       *)
-         func_error "REVISION \`$revision' must be a nonnegative integer"
-         func_fatal_error "\`$vinfo' is not valid version information"
-         ;;
-       esac
-
-       case $age in
-       0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
-       *)
-         func_error "AGE \`$age' must be a nonnegative integer"
-         func_fatal_error "\`$vinfo' is not valid version information"
-         ;;
-       esac
-
-       if test "$age" -gt "$current"; then
-         func_error "AGE \`$age' is greater than the current interface number \`$current'"
-         func_fatal_error "\`$vinfo' is not valid version information"
-       fi
-
-       # Calculate the version variables.
-       major=
-       versuffix=
-       verstring=
-       case $version_type in
-       none) ;;
-
-       darwin)
-         # Like Linux, but with the current version available in
-         # verstring for coding it into the library header
-         func_arith $current - $age
-         major=.$func_arith_result
-         versuffix="$major.$age.$revision"
-         # Darwin ld doesn't like 0 for these options...
-         func_arith $current + 1
-         minor_current=$func_arith_result
-         xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
-         verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
-         ;;
-
-       freebsd-aout)
-         major=".$current"
-         versuffix=".$current.$revision";
-         ;;
-
-       freebsd-elf)
-         major=".$current"
-         versuffix=".$current"
-         ;;
-
-       irix | nonstopux)
-         if test "X$lt_irix_increment" = "Xno"; then
-           func_arith $current - $age
-         else
-           func_arith $current - $age + 1
-         fi
-         major=$func_arith_result
-
-         case $version_type in
-           nonstopux) verstring_prefix=nonstopux ;;
-           *)         verstring_prefix=sgi ;;
-         esac
-         verstring="$verstring_prefix$major.$revision"
-
-         # Add in all the interfaces that we are compatible with.
-         loop=$revision
-         while test "$loop" -ne 0; do
-           func_arith $revision - $loop
-           iface=$func_arith_result
-           func_arith $loop - 1
-           loop=$func_arith_result
-           verstring="$verstring_prefix$major.$iface:$verstring"
-         done
-
-         # Before this point, $major must not contain `.'.
-         major=.$major
-         versuffix="$major.$revision"
-         ;;
-
-       linux) # correct to gnu/linux during the next big refactor
-         func_arith $current - $age
-         major=.$func_arith_result
-         versuffix="$major.$age.$revision"
-         ;;
-
-       osf)
-         func_arith $current - $age
-         major=.$func_arith_result
-         versuffix=".$current.$age.$revision"
-         verstring="$current.$age.$revision"
-
-         # Add in all the interfaces that we are compatible with.
-         loop=$age
-         while test "$loop" -ne 0; do
-           func_arith $current - $loop
-           iface=$func_arith_result
-           func_arith $loop - 1
-           loop=$func_arith_result
-           verstring="$verstring:${iface}.0"
-         done
-
-         # Make executables depend on our current version.
-         func_append verstring ":${current}.0"
-         ;;
-
-       qnx)
-         major=".$current"
-         versuffix=".$current"
-         ;;
-
-       sunos)
-         major=".$current"
-         versuffix=".$current.$revision"
-         ;;
-
-       windows)
-         # Use '-' rather than '.', since we only want one
-         # extension on DOS 8.3 filesystems.
-         func_arith $current - $age
-         major=$func_arith_result
-         versuffix="-$major"
-         ;;
-
-       *)
-         func_fatal_configuration "unknown library version type \`$version_type'"
-         ;;
-       esac
-
-       # Clear the version info if we defaulted, and they specified a release.
-       if test -z "$vinfo" && test -n "$release"; then
-         major=
-         case $version_type in
-         darwin)
-           # we can't check for "0.0" in archive_cmds due to quoting
-           # problems, so we reset it completely
-           verstring=
-           ;;
-         *)
-           verstring="0.0"
-           ;;
-         esac
-         if test "$need_version" = no; then
-           versuffix=
-         else
-           versuffix=".0.0"
-         fi
-       fi
-
-       # Remove version info from name if versioning should be avoided
-       if test "$avoid_version" = yes && test "$need_version" = no; then
-         major=
-         versuffix=
-         verstring=""
-       fi
-
-       # Check to see if the archive will have undefined symbols.
-       if test "$allow_undefined" = yes; then
-         if test "$allow_undefined_flag" = unsupported; then
-           func_warning "undefined symbols not allowed in $host shared libraries"
-           build_libtool_libs=no
-           build_old_libs=yes
-         fi
-       else
-         # Don't allow undefined symbols.
-         allow_undefined_flag="$no_undefined_flag"
-       fi
-
-      fi
-
-      func_generate_dlsyms "$libname" "$libname" "yes"
-      func_append libobjs " $symfileobj"
-      test "X$libobjs" = "X " && libobjs=
-
-      if test "$opt_mode" != relink; then
-       # Remove our outputs, but don't remove object files since they
-       # may have been created when compiling PIC objects.
-       removelist=
-       tempremovelist=`$ECHO "$output_objdir/*"`
-       for p in $tempremovelist; do
-         case $p in
-           *.$objext | *.gcno)
-              ;;
-           $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
-              if test "X$precious_files_regex" != "X"; then
-                if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
-                then
-                  continue
-                fi
-              fi
-              func_append removelist " $p"
-              ;;
-           *) ;;
-         esac
-       done
-       test -n "$removelist" && \
-         func_show_eval "${RM}r \$removelist"
-      fi
-
-      # Now set the variables for building old libraries.
-      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
-       func_append oldlibs " $output_objdir/$libname.$libext"
-
-       # Transform .lo files to .o files.
-       oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
-      fi
-
-      # Eliminate all temporary directories.
-      #for path in $notinst_path; do
-      #        lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
-      #        deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
-      #        dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
-      #done
-
-      if test -n "$xrpath"; then
-       # If the user specified any rpath flags, then add them.
-       temp_xrpath=
-       for libdir in $xrpath; do
-         func_replace_sysroot "$libdir"
-         func_append temp_xrpath " -R$func_replace_sysroot_result"
-         case "$finalize_rpath " in
-         *" $libdir "*) ;;
-         *) func_append finalize_rpath " $libdir" ;;
-         esac
-       done
-       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
-         dependency_libs="$temp_xrpath $dependency_libs"
-       fi
-      fi
-
-      # Make sure dlfiles contains only unique files that won't be dlpreopened
-      old_dlfiles="$dlfiles"
-      dlfiles=
-      for lib in $old_dlfiles; do
-       case " $dlprefiles $dlfiles " in
-       *" $lib "*) ;;
-       *) func_append dlfiles " $lib" ;;
-       esac
-      done
-
-      # Make sure dlprefiles contains only unique files
-      old_dlprefiles="$dlprefiles"
-      dlprefiles=
-      for lib in $old_dlprefiles; do
-       case "$dlprefiles " in
-       *" $lib "*) ;;
-       *) func_append dlprefiles " $lib" ;;
-       esac
-      done
-
-      if test "$build_libtool_libs" = yes; then
-       if test -n "$rpath"; then
-         case $host in
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
-           # these systems don't actually have a c library (as such)!
-           ;;
-         *-*-rhapsody* | *-*-darwin1.[012])
-           # Rhapsody C library is in the System framework
-           func_append deplibs " System.ltframework"
-           ;;
-         *-*-netbsd*)
-           # Don't link with libc until the a.out ld.so is fixed.
-           ;;
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
-           # Do not include libc due to us having libc/libc_r.
-           ;;
-         *-*-sco3.2v5* | *-*-sco5v6*)
-           # Causes problems with __ctype
-           ;;
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
-           # Compiler inserts libc in the correct place for threads to work
-           ;;
-         *)
-           # Add libc to deplibs on all other systems if necessary.
-           if test "$build_libtool_need_lc" = "yes"; then
-             func_append deplibs " -lc"
-           fi
-           ;;
-         esac
-       fi
-
-       # Transform deplibs into only deplibs that can be linked in shared.
-       name_save=$name
-       libname_save=$libname
-       release_save=$release
-       versuffix_save=$versuffix
-       major_save=$major
-       # I'm not sure if I'm treating the release correctly.  I think
-       # release should show up in the -l (ie -lgmp5) so we don't want to
-       # add it in twice.  Is that correct?
-       release=""
-       versuffix=""
-       major=""
-       newdeplibs=
-       droppeddeps=no
-       case $deplibs_check_method in
-       pass_all)
-         # Don't check for shared/static.  Everything works.
-         # This might be a little naive.  We might want to check
-         # whether the library exists or not.  But this is on
-         # osf3 & osf4 and I'm not really sure... Just
-         # implementing what was already the behavior.
-         newdeplibs=$deplibs
-         ;;
-       test_compile)
-         # This code stresses the "libraries are programs" paradigm to its
-         # limits. Maybe even breaks it.  We compile a program, linking it
-         # against the deplibs as a proxy for the library.  Then we can check
-         # whether they linked in statically or dynamically with ldd.
-         $opt_dry_run || $RM conftest.c
-         cat > conftest.c <<EOF
-         int main() { return 0; }
-EOF
-         $opt_dry_run || $RM conftest
-         if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
-           ldd_output=`ldd conftest`
-           for i in $deplibs; do
-             case $i in
-             -l*)
-               func_stripname -l '' "$i"
-               name=$func_stripname_result
-               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-                 case " $predeps $postdeps " in
-                 *" $i "*)
-                   func_append newdeplibs " $i"
-                   i=""
-                   ;;
-                 esac
-               fi
-               if test -n "$i" ; then
-                 libname=`eval "\\$ECHO \"$libname_spec\""`
-                 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
-                 set dummy $deplib_matches; shift
-                 deplib_match=$1
-                 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                   func_append newdeplibs " $i"
-                 else
-                   droppeddeps=yes
-                   echo
-                   $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-                   echo "*** I have the capability to make that library automatically link in when"
-                   echo "*** you link to this library.  But I can only do this if you have a"
-                   echo "*** shared version of the library, which I believe you do not have"
-                   echo "*** because a test_compile did reveal that the linker did not use it for"
-                   echo "*** its dynamic dependency list that programs get resolved with at runtime."
-                 fi
-               fi
-               ;;
-             *)
-               func_append newdeplibs " $i"
-               ;;
-             esac
-           done
-         else
-           # Error occurred in the first compile.  Let's try to salvage
-           # the situation: Compile a separate program for each library.
-           for i in $deplibs; do
-             case $i in
-             -l*)
-               func_stripname -l '' "$i"
-               name=$func_stripname_result
-               $opt_dry_run || $RM conftest
-               if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
-                 ldd_output=`ldd conftest`
-                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-                   case " $predeps $postdeps " in
-                   *" $i "*)
-                     func_append newdeplibs " $i"
-                     i=""
-                     ;;
-                   esac
-                 fi
-                 if test -n "$i" ; then
-                   libname=`eval "\\$ECHO \"$libname_spec\""`
-                   deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
-                   set dummy $deplib_matches; shift
-                   deplib_match=$1
-                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                     func_append newdeplibs " $i"
-                   else
-                     droppeddeps=yes
-                     echo
-                     $ECHO "*** Warning: dynamic linker does not accept needed library $i."
-                     echo "*** I have the capability to make that library automatically link in when"
-                     echo "*** you link to this library.  But I can only do this if you have a"
-                     echo "*** shared version of the library, which you do not appear to have"
-                     echo "*** because a test_compile did reveal that the linker did not use this one"
-                     echo "*** as a dynamic dependency that programs can get resolved with at runtime."
-                   fi
-                 fi
-               else
-                 droppeddeps=yes
-                 echo
-                 $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
-                 echo "*** make it link in!  You will probably need to install it or some"
-                 echo "*** library that it depends on before this library will be fully"
-                 echo "*** functional.  Installing it before continuing would be even better."
-               fi
-               ;;
-             *)
-               func_append newdeplibs " $i"
-               ;;
-             esac
-           done
-         fi
-         ;;
-       file_magic*)
-         set dummy $deplibs_check_method; shift
-         file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-         for a_deplib in $deplibs; do
-           case $a_deplib in
-           -l*)
-             func_stripname -l '' "$a_deplib"
-             name=$func_stripname_result
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-               case " $predeps $postdeps " in
-               *" $a_deplib "*)
-                 func_append newdeplibs " $a_deplib"
-                 a_deplib=""
-                 ;;
-               esac
-             fi
-             if test -n "$a_deplib" ; then
-               libname=`eval "\\$ECHO \"$libname_spec\""`
-               if test -n "$file_magic_glob"; then
-                 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
-               else
-                 libnameglob=$libname
-               fi
-               test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
-                 if test "$want_nocaseglob" = yes; then
-                   shopt -s nocaseglob
-                   potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
-                   $nocaseglob
-                 else
-                   potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
-                 fi
-                 for potent_lib in $potential_libs; do
-                     # Follow soft links.
-                     if ls -lLd "$potent_lib" 2>/dev/null |
-                        $GREP " -> " >/dev/null; then
-                       continue
-                     fi
-                     # The statement above tries to avoid entering an
-                     # endless loop below, in case of cyclic links.
-                     # We might still enter an endless loop, since a link
-                     # loop can be closed while we follow links,
-                     # but so what?
-                     potlib="$potent_lib"
-                     while test -h "$potlib" 2>/dev/null; do
-                       potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
-                       case $potliblink in
-                       [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
-                       *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
-                       esac
-                     done
-                     if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
-                        $SED -e 10q |
-                        $EGREP "$file_magic_regex" > /dev/null; then
-                       func_append newdeplibs " $a_deplib"
-                       a_deplib=""
-                       break 2
-                     fi
-                 done
-               done
-             fi
-             if test -n "$a_deplib" ; then
-               droppeddeps=yes
-               echo
-               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-               echo "*** I have the capability to make that library automatically link in when"
-               echo "*** you link to this library.  But I can only do this if you have a"
-               echo "*** shared version of the library, which you do not appear to have"
-               echo "*** because I did check the linker path looking for a file starting"
-               if test -z "$potlib" ; then
-                 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
-               else
-                 $ECHO "*** with $libname and none of the candidates passed a file format test"
-                 $ECHO "*** using a file magic. Last file checked: $potlib"
-               fi
-             fi
-             ;;
-           *)
-             # Add a -L argument.
-             func_append newdeplibs " $a_deplib"
-             ;;
-           esac
-         done # Gone through all deplibs.
-         ;;
-       match_pattern*)
-         set dummy $deplibs_check_method; shift
-         match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
-         for a_deplib in $deplibs; do
-           case $a_deplib in
-           -l*)
-             func_stripname -l '' "$a_deplib"
-             name=$func_stripname_result
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-               case " $predeps $postdeps " in
-               *" $a_deplib "*)
-                 func_append newdeplibs " $a_deplib"
-                 a_deplib=""
-                 ;;
-               esac
-             fi
-             if test -n "$a_deplib" ; then
-               libname=`eval "\\$ECHO \"$libname_spec\""`
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
-                 for potent_lib in $potential_libs; do
-                   potlib="$potent_lib" # see symlink-check above in file_magic test
-                   if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
-                      $EGREP "$match_pattern_regex" > /dev/null; then
-                     func_append newdeplibs " $a_deplib"
-                     a_deplib=""
-                     break 2
-                   fi
-                 done
-               done
-             fi
-             if test -n "$a_deplib" ; then
-               droppeddeps=yes
-               echo
-               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
-               echo "*** I have the capability to make that library automatically link in when"
-               echo "*** you link to this library.  But I can only do this if you have a"
-               echo "*** shared version of the library, which you do not appear to have"
-               echo "*** because I did check the linker path looking for a file starting"
-               if test -z "$potlib" ; then
-                 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
-               else
-                 $ECHO "*** with $libname and none of the candidates passed a file format test"
-                 $ECHO "*** using a regex pattern. Last file checked: $potlib"
-               fi
-             fi
-             ;;
-           *)
-             # Add a -L argument.
-             func_append newdeplibs " $a_deplib"
-             ;;
-           esac
-         done # Gone through all deplibs.
-         ;;
-       none | unknown | *)
-         newdeplibs=""
-         tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
-         if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
-           for i in $predeps $postdeps ; do
-             # can't use Xsed below, because $i might contain '/'
-             tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
-           done
-         fi
-         case $tmp_deplibs in
-         *[!\  \ ]*)
-           echo
-           if test "X$deplibs_check_method" = "Xnone"; then
-             echo "*** Warning: inter-library dependencies are not supported in this platform."
-           else
-             echo "*** Warning: inter-library dependencies are not known to be supported."
-           fi
-           echo "*** All declared inter-library dependencies are being dropped."
-           droppeddeps=yes
-           ;;
-         esac
-         ;;
-       esac
-       versuffix=$versuffix_save
-       major=$major_save
-       release=$release_save
-       libname=$libname_save
-       name=$name_save
-
-       case $host in
-       *-*-rhapsody* | *-*-darwin1.[012])
-         # On Rhapsody replace the C library with the System framework
-         newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
-         ;;
-       esac
-
-       if test "$droppeddeps" = yes; then
-         if test "$module" = yes; then
-           echo
-           echo "*** Warning: libtool could not satisfy all declared inter-library"
-           $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
-           echo "*** a static module, that should work as long as the dlopening"
-           echo "*** application is linked with the -dlopen flag."
-           if test -z "$global_symbol_pipe"; then
-             echo
-             echo "*** However, this would only work if libtool was able to extract symbol"
-             echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
-             echo "*** not find such a program.  So, this module is probably useless."
-             echo "*** \`nm' from GNU binutils and a full rebuild may help."
-           fi
-           if test "$build_old_libs" = no; then
-             oldlibs="$output_objdir/$libname.$libext"
-             build_libtool_libs=module
-             build_old_libs=yes
-           else
-             build_libtool_libs=no
-           fi
-         else
-           echo "*** The inter-library dependencies that have been dropped here will be"
-           echo "*** automatically added whenever a program is linked with this library"
-           echo "*** or is declared to -dlopen it."
-
-           if test "$allow_undefined" = no; then
-             echo
-             echo "*** Since this library must not contain undefined symbols,"
-             echo "*** because either the platform does not support them or"
-             echo "*** it was explicitly requested with -no-undefined,"
-             echo "*** libtool will only create a static version of it."
-             if test "$build_old_libs" = no; then
-               oldlibs="$output_objdir/$libname.$libext"
-               build_libtool_libs=module
-               build_old_libs=yes
-             else
-               build_libtool_libs=no
-             fi
-           fi
-         fi
-       fi
-       # Done checking deplibs!
-       deplibs=$newdeplibs
-      fi
-      # Time to change all our "foo.ltframework" stuff back to "-framework foo"
-      case $host in
-       *-*-darwin*)
-         newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-         new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-         deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-         ;;
-      esac
-
-      # move library search paths that coincide with paths to not yet
-      # installed libraries to the beginning of the library search list
-      new_libs=
-      for path in $notinst_path; do
-       case " $new_libs " in
-       *" -L$path/$objdir "*) ;;
-       *)
-         case " $deplibs " in
-         *" -L$path/$objdir "*)
-           func_append new_libs " -L$path/$objdir" ;;
-         esac
-         ;;
-       esac
-      done
-      for deplib in $deplibs; do
-       case $deplib in
-       -L*)
-         case " $new_libs " in
-         *" $deplib "*) ;;
-         *) func_append new_libs " $deplib" ;;
-         esac
-         ;;
-       *) func_append new_libs " $deplib" ;;
-       esac
-      done
-      deplibs="$new_libs"
-
-      # All the library-specific variables (install_libdir is set above).
-      library_names=
-      old_library=
-      dlname=
-
-      # Test again, we may have decided not to build it any more
-      if test "$build_libtool_libs" = yes; then
-       # Remove ${wl} instances when linking with ld.
-       # FIXME: should test the right _cmds variable.
-       case $archive_cmds in
-         *\$LD\ *) wl= ;;
-        esac
-       if test "$hardcode_into_libs" = yes; then
-         # Hardcode the library paths
-         hardcode_libdirs=
-         dep_rpath=
-         rpath="$finalize_rpath"
-         test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
-         for libdir in $rpath; do
-           if test -n "$hardcode_libdir_flag_spec"; then
-             if test -n "$hardcode_libdir_separator"; then
-               func_replace_sysroot "$libdir"
-               libdir=$func_replace_sysroot_result
-               if test -z "$hardcode_libdirs"; then
-                 hardcode_libdirs="$libdir"
-               else
-                 # Just accumulate the unique libdirs.
-                 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
-                 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
-                   ;;
-                 *)
-                   func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
-                   ;;
-                 esac
-               fi
-             else
-               eval flag=\"$hardcode_libdir_flag_spec\"
-               func_append dep_rpath " $flag"
-             fi
-           elif test -n "$runpath_var"; then
-             case "$perm_rpath " in
-             *" $libdir "*) ;;
-             *) func_append perm_rpath " $libdir" ;;
-             esac
-           fi
-         done
-         # Substitute the hardcoded libdirs into the rpath.
-         if test -n "$hardcode_libdir_separator" &&
-            test -n "$hardcode_libdirs"; then
-           libdir="$hardcode_libdirs"
-           eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
-         fi
-         if test -n "$runpath_var" && test -n "$perm_rpath"; then
-           # We should set the runpath_var.
-           rpath=
-           for dir in $perm_rpath; do
-             func_append rpath "$dir:"
-           done
-           eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
-         fi
-         test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
-       fi
-
-       shlibpath="$finalize_shlibpath"
-       test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
-       if test -n "$shlibpath"; then
-         eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
-       fi
-
-       # Get the real and link names of the library.
-       eval shared_ext=\"$shrext_cmds\"
-       eval library_names=\"$library_names_spec\"
-       set dummy $library_names
-       shift
-       realname="$1"
-       shift
-
-       if test -n "$soname_spec"; then
-         eval soname=\"$soname_spec\"
-       else
-         soname="$realname"
-       fi
-       if test -z "$dlname"; then
-         dlname=$soname
-       fi
-
-       lib="$output_objdir/$realname"
-       linknames=
-       for link
-       do
-         func_append linknames " $link"
-       done
-
-       # Use standard objects if they are pic
-       test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
-       test "X$libobjs" = "X " && libobjs=
-
-       delfiles=
-       if test -n "$export_symbols" && test -n "$include_expsyms"; then
-         $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
-         export_symbols="$output_objdir/$libname.uexp"
-         func_append delfiles " $export_symbols"
-       fi
-
-       orig_export_symbols=
-       case $host_os in
-       cygwin* | mingw* | cegcc*)
-         if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
-           # exporting using user supplied symfile
-           if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
-             # and it's NOT already a .def file. Must figure out
-             # which of the given symbols are data symbols and tag
-             # them as such. So, trigger use of export_symbols_cmds.
-             # export_symbols gets reassigned inside the "prepare
-             # the list of exported symbols" if statement, so the
-             # include_expsyms logic still works.
-             orig_export_symbols="$export_symbols"
-             export_symbols=
-             always_export_symbols=yes
-           fi
-         fi
-         ;;
-       esac
-
-       # Prepare the list of exported symbols
-       if test -z "$export_symbols"; then
-         if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
-           func_verbose "generating symbol list for \`$libname.la'"
-           export_symbols="$output_objdir/$libname.exp"
-           $opt_dry_run || $RM $export_symbols
-           cmds=$export_symbols_cmds
-           save_ifs="$IFS"; IFS='~'
-           for cmd1 in $cmds; do
-             IFS="$save_ifs"
-             # Take the normal branch if the nm_file_list_spec branch
-             # doesn't work or if tool conversion is not needed.
-             case $nm_file_list_spec~$to_tool_file_cmd in
-               *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
-                 try_normal_branch=yes
-                 eval cmd=\"$cmd1\"
-                 func_len " $cmd"
-                 len=$func_len_result
-                 ;;
-               *)
-                 try_normal_branch=no
-                 ;;
-             esac
-             if test "$try_normal_branch" = yes \
-                && { test "$len" -lt "$max_cmd_len" \
-                     || test "$max_cmd_len" -le -1; }
-             then
-               func_show_eval "$cmd" 'exit $?'
-               skipped_export=false
-             elif test -n "$nm_file_list_spec"; then
-               func_basename "$output"
-               output_la=$func_basename_result
-               save_libobjs=$libobjs
-               save_output=$output
-               output=${output_objdir}/${output_la}.nm
-               func_to_tool_file "$output"
-               libobjs=$nm_file_list_spec$func_to_tool_file_result
-               func_append delfiles " $output"
-               func_verbose "creating $NM input file list: $output"
-               for obj in $save_libobjs; do
-                 func_to_tool_file "$obj"
-                 $ECHO "$func_to_tool_file_result"
-               done > "$output"
-               eval cmd=\"$cmd1\"
-               func_show_eval "$cmd" 'exit $?'
-               output=$save_output
-               libobjs=$save_libobjs
-               skipped_export=false
-             else
-               # The command line is too long to execute in one step.
-               func_verbose "using reloadable object file for export list..."
-               skipped_export=:
-               # Break out early, otherwise skipped_export may be
-               # set to false by a later but shorter cmd.
-               break
-             fi
-           done
-           IFS="$save_ifs"
-           if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
-             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
-             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
-           fi
-         fi
-       fi
-
-       if test -n "$export_symbols" && test -n "$include_expsyms"; then
-         tmp_export_symbols="$export_symbols"
-         test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-         $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
-       fi
-
-       if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
-         # The given exports_symbols file has to be filtered, so filter it.
-         func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
-         # FIXME: $output_objdir/$libname.filter potentially contains lots of
-         # 's' commands which not all seds can handle. GNU sed should be fine
-         # though. Also, the filter scales superlinearly with the number of
-         # global variables. join(1) would be nice here, but unfortunately
-         # isn't a blessed tool.
-         $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-         func_append delfiles " $export_symbols $output_objdir/$libname.filter"
-         export_symbols=$output_objdir/$libname.def
-         $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
-       fi
-
-       tmp_deplibs=
-       for test_deplib in $deplibs; do
-         case " $convenience " in
-         *" $test_deplib "*) ;;
-         *)
-           func_append tmp_deplibs " $test_deplib"
-           ;;
-         esac
-       done
-       deplibs="$tmp_deplibs"
-
-       if test -n "$convenience"; then
-         if test -n "$whole_archive_flag_spec" &&
-           test "$compiler_needs_object" = yes &&
-           test -z "$libobjs"; then
-           # extract the archives, so we have objects to list.
-           # TODO: could optimize this to just extract one archive.
-           whole_archive_flag_spec=
-         fi
-         if test -n "$whole_archive_flag_spec"; then
-           save_libobjs=$libobjs
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
-           test "X$libobjs" = "X " && libobjs=
-         else
-           gentop="$output_objdir/${outputname}x"
-           func_append generated " $gentop"
-
-           func_extract_archives $gentop $convenience
-           func_append libobjs " $func_extract_archives_result"
-           test "X$libobjs" = "X " && libobjs=
-         fi
-       fi
-
-       if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
-         eval flag=\"$thread_safe_flag_spec\"
-         func_append linker_flags " $flag"
-       fi
-
-       # Make a backup of the uninstalled library when relinking
-       if test "$opt_mode" = relink; then
-         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
-       fi
-
-       # Do each of the archive commands.
-       if test "$module" = yes && test -n "$module_cmds" ; then
-         if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
-           eval test_cmds=\"$module_expsym_cmds\"
-           cmds=$module_expsym_cmds
-         else
-           eval test_cmds=\"$module_cmds\"
-           cmds=$module_cmds
-         fi
-       else
-         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
-           eval test_cmds=\"$archive_expsym_cmds\"
-           cmds=$archive_expsym_cmds
-         else
-           eval test_cmds=\"$archive_cmds\"
-           cmds=$archive_cmds
-         fi
-       fi
-
-       if test "X$skipped_export" != "X:" &&
-          func_len " $test_cmds" &&
-          len=$func_len_result &&
-          test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
-         :
-       else
-         # The command line is too long to link in one step, link piecewise
-         # or, if using GNU ld and skipped_export is not :, use a linker
-         # script.
-
-         # Save the value of $output and $libobjs because we want to
-         # use them later.  If we have whole_archive_flag_spec, we
-         # want to use save_libobjs as it was before
-         # whole_archive_flag_spec was expanded, because we can't
-         # assume the linker understands whole_archive_flag_spec.
-         # This may have to be revisited, in case too many
-         # convenience libraries get linked in and end up exceeding
-         # the spec.
-         if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
-           save_libobjs=$libobjs
-         fi
-         save_output=$output
-         func_basename "$output"
-         output_la=$func_basename_result
-
-         # Clear the reloadable object creation command queue and
-         # initialize k to one.
-         test_cmds=
-         concat_cmds=
-         objlist=
-         last_robj=
-         k=1
-
-         if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
-           output=${output_objdir}/${output_la}.lnkscript
-           func_verbose "creating GNU ld script: $output"
-           echo 'INPUT (' > $output
-           for obj in $save_libobjs
-           do
-             func_to_tool_file "$obj"
-             $ECHO "$func_to_tool_file_result" >> $output
-           done
-           echo ')' >> $output
-           func_append delfiles " $output"
-           func_to_tool_file "$output"
-           output=$func_to_tool_file_result
-         elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
-           output=${output_objdir}/${output_la}.lnk
-           func_verbose "creating linker input file list: $output"
-           : > $output
-           set x $save_libobjs
-           shift
-           firstobj=
-           if test "$compiler_needs_object" = yes; then
-             firstobj="$1 "
-             shift
-           fi
-           for obj
-           do
-             func_to_tool_file "$obj"
-             $ECHO "$func_to_tool_file_result" >> $output
-           done
-           func_append delfiles " $output"
-           func_to_tool_file "$output"
-           output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
-         else
-           if test -n "$save_libobjs"; then
-             func_verbose "creating reloadable object files..."
-             output=$output_objdir/$output_la-${k}.$objext
-             eval test_cmds=\"$reload_cmds\"
-             func_len " $test_cmds"
-             len0=$func_len_result
-             len=$len0
-
-             # Loop over the list of objects to be linked.
-             for obj in $save_libobjs
-             do
-               func_len " $obj"
-               func_arith $len + $func_len_result
-               len=$func_arith_result
-               if test "X$objlist" = X ||
-                  test "$len" -lt "$max_cmd_len"; then
-                 func_append objlist " $obj"
-               else
-                 # The command $test_cmds is almost too long, add a
-                 # command to the queue.
-                 if test "$k" -eq 1 ; then
-                   # The first file doesn't have a previous command to add.
-                   reload_objs=$objlist
-                   eval concat_cmds=\"$reload_cmds\"
-                 else
-                   # All subsequent reloadable object files will link in
-                   # the last one created.
-                   reload_objs="$objlist $last_robj"
-                   eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
-                 fi
-                 last_robj=$output_objdir/$output_la-${k}.$objext
-                 func_arith $k + 1
-                 k=$func_arith_result
-                 output=$output_objdir/$output_la-${k}.$objext
-                 objlist=" $obj"
-                 func_len " $last_robj"
-                 func_arith $len0 + $func_len_result
-                 len=$func_arith_result
-               fi
-             done
-             # Handle the remaining objects by creating one last
-             # reloadable object file.  All subsequent reloadable object
-             # files will link in the last one created.
-             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-             reload_objs="$objlist $last_robj"
-             eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
-             if test -n "$last_robj"; then
-               eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
-             fi
-             func_append delfiles " $output"
-
-           else
-             output=
-           fi
-
-           if ${skipped_export-false}; then
-             func_verbose "generating symbol list for \`$libname.la'"
-             export_symbols="$output_objdir/$libname.exp"
-             $opt_dry_run || $RM $export_symbols
-             libobjs=$output
-             # Append the command to create the export file.
-             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-             eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
-             if test -n "$last_robj"; then
-               eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
-             fi
-           fi
-
-           test -n "$save_libobjs" &&
-             func_verbose "creating a temporary reloadable object file: $output"
-
-           # Loop through the commands generated above and execute them.
-           save_ifs="$IFS"; IFS='~'
-           for cmd in $concat_cmds; do
-             IFS="$save_ifs"
-             $opt_silent || {
-                 func_quote_for_expand "$cmd"
-                 eval "func_echo $func_quote_for_expand_result"
-             }
-             $opt_dry_run || eval "$cmd" || {
-               lt_exit=$?
-
-               # Restore the uninstalled library and exit
-               if test "$opt_mode" = relink; then
-                 ( cd "$output_objdir" && \
-                   $RM "${realname}T" && \
-                   $MV "${realname}U" "$realname" )
-               fi
-
-               exit $lt_exit
-             }
-           done
-           IFS="$save_ifs"
-
-           if test -n "$export_symbols_regex" && ${skipped_export-false}; then
-             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
-             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
-           fi
-         fi
-
-          if ${skipped_export-false}; then
-           if test -n "$export_symbols" && test -n "$include_expsyms"; then
-             tmp_export_symbols="$export_symbols"
-             test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
-             $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
-           fi
-
-           if test -n "$orig_export_symbols"; then
-             # The given exports_symbols file has to be filtered, so filter it.
-             func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
-             # FIXME: $output_objdir/$libname.filter potentially contains lots of
-             # 's' commands which not all seds can handle. GNU sed should be fine
-             # though. Also, the filter scales superlinearly with the number of
-             # global variables. join(1) would be nice here, but unfortunately
-             # isn't a blessed tool.
-             $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
-             func_append delfiles " $export_symbols $output_objdir/$libname.filter"
-             export_symbols=$output_objdir/$libname.def
-             $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
-           fi
-         fi
-
-         libobjs=$output
-         # Restore the value of output.
-         output=$save_output
-
-         if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
-           test "X$libobjs" = "X " && libobjs=
-         fi
-         # Expand the library linking commands again to reset the
-         # value of $libobjs for piecewise linking.
-
-         # Do each of the archive commands.
-         if test "$module" = yes && test -n "$module_cmds" ; then
-           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
-             cmds=$module_expsym_cmds
-           else
-             cmds=$module_cmds
-           fi
-         else
-           if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
-             cmds=$archive_expsym_cmds
-           else
-             cmds=$archive_cmds
-           fi
-         fi
-       fi
-
-       if test -n "$delfiles"; then
-         # Append the command to remove temporary files to $cmds.
-         eval cmds=\"\$cmds~\$RM $delfiles\"
-       fi
-
-       # Add any objects from preloaded convenience libraries
-       if test -n "$dlprefiles"; then
-         gentop="$output_objdir/${outputname}x"
-         func_append generated " $gentop"
-
-         func_extract_archives $gentop $dlprefiles
-         func_append libobjs " $func_extract_archives_result"
-         test "X$libobjs" = "X " && libobjs=
-       fi
-
-       save_ifs="$IFS"; IFS='~'
-       for cmd in $cmds; do
-         IFS="$save_ifs"
-         eval cmd=\"$cmd\"
-         $opt_silent || {
-           func_quote_for_expand "$cmd"
-           eval "func_echo $func_quote_for_expand_result"
-         }
-         $opt_dry_run || eval "$cmd" || {
-           lt_exit=$?
-
-           # Restore the uninstalled library and exit
-           if test "$opt_mode" = relink; then
-             ( cd "$output_objdir" && \
-               $RM "${realname}T" && \
-               $MV "${realname}U" "$realname" )
-           fi
-
-           exit $lt_exit
-         }
-       done
-       IFS="$save_ifs"
-
-       # Restore the uninstalled library and exit
-       if test "$opt_mode" = relink; then
-         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
-
-         if test -n "$convenience"; then
-           if test -z "$whole_archive_flag_spec"; then
-             func_show_eval '${RM}r "$gentop"'
-           fi
-         fi
-
-         exit $EXIT_SUCCESS
-       fi
-
-       # Create links to the real library.
-       for linkname in $linknames; do
-         if test "$realname" != "$linkname"; then
-           func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
-         fi
-       done
-
-       # If -module or -export-dynamic was specified, set the dlname.
-       if test "$module" = yes || test "$export_dynamic" = yes; then
-         # On all known operating systems, these are identical.
-         dlname="$soname"
-       fi
-      fi
-      ;;
-
-    obj)
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
-       func_warning "\`-dlopen' is ignored for objects"
-      fi
-
-      case " $deplibs" in
-      *\ -l* | *\ -L*)
-       func_warning "\`-l' and \`-L' are ignored for objects" ;;
-      esac
-
-      test -n "$rpath" && \
-       func_warning "\`-rpath' is ignored for objects"
-
-      test -n "$xrpath" && \
-       func_warning "\`-R' is ignored for objects"
-
-      test -n "$vinfo" && \
-       func_warning "\`-version-info' is ignored for objects"
-
-      test -n "$release" && \
-       func_warning "\`-release' is ignored for objects"
-
-      case $output in
-      *.lo)
-       test -n "$objs$old_deplibs" && \
-         func_fatal_error "cannot build library object \`$output' from non-libtool objects"
-
-       libobj=$output
-       func_lo2o "$libobj"
-       obj=$func_lo2o_result
-       ;;
-      *)
-       libobj=
-       obj="$output"
-       ;;
-      esac
-
-      # Delete the old objects.
-      $opt_dry_run || $RM $obj $libobj
-
-      # Objects from convenience libraries.  This assumes
-      # single-version convenience libraries.  Whenever we create
-      # different ones for PIC/non-PIC, this we'll have to duplicate
-      # the extraction.
-      reload_conv_objs=
-      gentop=
-      # reload_cmds runs $LD directly, so let us get rid of
-      # -Wl from whole_archive_flag_spec and hope we can get by with
-      # turning comma into space..
-      wl=
-
-      if test -n "$convenience"; then
-       if test -n "$whole_archive_flag_spec"; then
-         eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
-         reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
-       else
-         gentop="$output_objdir/${obj}x"
-         func_append generated " $gentop"
-
-         func_extract_archives $gentop $convenience
-         reload_conv_objs="$reload_objs $func_extract_archives_result"
-       fi
-      fi
-
-      # If we're not building shared, we need to use non_pic_objs
-      test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
-
-      # Create the old-style object.
-      reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
-
-      output="$obj"
-      func_execute_cmds "$reload_cmds" 'exit $?'
-
-      # Exit if we aren't doing a library object file.
-      if test -z "$libobj"; then
-       if test -n "$gentop"; then
-         func_show_eval '${RM}r "$gentop"'
-       fi
-
-       exit $EXIT_SUCCESS
-      fi
-
-      if test "$build_libtool_libs" != yes; then
-       if test -n "$gentop"; then
-         func_show_eval '${RM}r "$gentop"'
-       fi
-
-       # Create an invalid libtool object if no PIC, so that we don't
-       # accidentally link it into a program.
-       # $show "echo timestamp > $libobj"
-       # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
-       exit $EXIT_SUCCESS
-      fi
-
-      if test -n "$pic_flag" || test "$pic_mode" != default; then
-       # Only do commands if we really have different PIC objects.
-       reload_objs="$libobjs $reload_conv_objs"
-       output="$libobj"
-       func_execute_cmds "$reload_cmds" 'exit $?'
-      fi
-
-      if test -n "$gentop"; then
-       func_show_eval '${RM}r "$gentop"'
-      fi
-
-      exit $EXIT_SUCCESS
-      ;;
-
-    prog)
-      case $host in
-       *cygwin*) func_stripname '' '.exe' "$output"
-                 output=$func_stripname_result.exe;;
-      esac
-      test -n "$vinfo" && \
-       func_warning "\`-version-info' is ignored for programs"
-
-      test -n "$release" && \
-       func_warning "\`-release' is ignored for programs"
-
-      test "$preload" = yes \
-        && test "$dlopen_support" = unknown \
-       && test "$dlopen_self" = unknown \
-       && test "$dlopen_self_static" = unknown && \
-         func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
-
-      case $host in
-      *-*-rhapsody* | *-*-darwin1.[012])
-       # On Rhapsody replace the C library is the System framework
-       compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
-       finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
-       ;;
-      esac
-
-      case $host in
-      *-*-darwin*)
-       # Don't allow lazy linking, it breaks C++ global constructors
-       # But is supposedly fixed on 10.4 or later (yay!).
-       if test "$tagname" = CXX ; then
-         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
-           10.[0123])
-             func_append compile_command " ${wl}-bind_at_load"
-             func_append finalize_command " ${wl}-bind_at_load"
-           ;;
-         esac
-       fi
-       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
-       compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-       finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
-       ;;
-      esac
-
-
-      # move library search paths that coincide with paths to not yet
-      # installed libraries to the beginning of the library search list
-      new_libs=
-      for path in $notinst_path; do
-       case " $new_libs " in
-       *" -L$path/$objdir "*) ;;
-       *)
-         case " $compile_deplibs " in
-         *" -L$path/$objdir "*)
-           func_append new_libs " -L$path/$objdir" ;;
-         esac
-         ;;
-       esac
-      done
-      for deplib in $compile_deplibs; do
-       case $deplib in
-       -L*)
-         case " $new_libs " in
-         *" $deplib "*) ;;
-         *) func_append new_libs " $deplib" ;;
-         esac
-         ;;
-       *) func_append new_libs " $deplib" ;;
-       esac
-      done
-      compile_deplibs="$new_libs"
-
-
-      func_append compile_command " $compile_deplibs"
-      func_append finalize_command " $finalize_deplibs"
-
-      if test -n "$rpath$xrpath"; then
-       # If the user specified any rpath flags, then add them.
-       for libdir in $rpath $xrpath; do
-         # This is the magic to use -rpath.
-         case "$finalize_rpath " in
-         *" $libdir "*) ;;
-         *) func_append finalize_rpath " $libdir" ;;
-         esac
-       done
-      fi
-
-      # Now hardcode the library paths
-      rpath=
-      hardcode_libdirs=
-      for libdir in $compile_rpath $finalize_rpath; do
-       if test -n "$hardcode_libdir_flag_spec"; then
-         if test -n "$hardcode_libdir_separator"; then
-           if test -z "$hardcode_libdirs"; then
-             hardcode_libdirs="$libdir"
-           else
-             # Just accumulate the unique libdirs.
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
-               ;;
-             *)
-               func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
-               ;;
-             esac
-           fi
-         else
-           eval flag=\"$hardcode_libdir_flag_spec\"
-           func_append rpath " $flag"
-         fi
-       elif test -n "$runpath_var"; then
-         case "$perm_rpath " in
-         *" $libdir "*) ;;
-         *) func_append perm_rpath " $libdir" ;;
-         esac
-       fi
-       case $host in
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
-         testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
-         case :$dllsearchpath: in
-         *":$libdir:"*) ;;
-         ::) dllsearchpath=$libdir;;
-         *) func_append dllsearchpath ":$libdir";;
-         esac
-         case :$dllsearchpath: in
-         *":$testbindir:"*) ;;
-         ::) dllsearchpath=$testbindir;;
-         *) func_append dllsearchpath ":$testbindir";;
-         esac
-         ;;
-       esac
-      done
-      # Substitute the hardcoded libdirs into the rpath.
-      if test -n "$hardcode_libdir_separator" &&
-        test -n "$hardcode_libdirs"; then
-       libdir="$hardcode_libdirs"
-       eval rpath=\" $hardcode_libdir_flag_spec\"
-      fi
-      compile_rpath="$rpath"
-
-      rpath=
-      hardcode_libdirs=
-      for libdir in $finalize_rpath; do
-       if test -n "$hardcode_libdir_flag_spec"; then
-         if test -n "$hardcode_libdir_separator"; then
-           if test -z "$hardcode_libdirs"; then
-             hardcode_libdirs="$libdir"
-           else
-             # Just accumulate the unique libdirs.
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
-               ;;
-             *)
-               func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
-               ;;
-             esac
-           fi
-         else
-           eval flag=\"$hardcode_libdir_flag_spec\"
-           func_append rpath " $flag"
-         fi
-       elif test -n "$runpath_var"; then
-         case "$finalize_perm_rpath " in
-         *" $libdir "*) ;;
-         *) func_append finalize_perm_rpath " $libdir" ;;
-         esac
-       fi
-      done
-      # Substitute the hardcoded libdirs into the rpath.
-      if test -n "$hardcode_libdir_separator" &&
-        test -n "$hardcode_libdirs"; then
-       libdir="$hardcode_libdirs"
-       eval rpath=\" $hardcode_libdir_flag_spec\"
-      fi
-      finalize_rpath="$rpath"
-
-      if test -n "$libobjs" && test "$build_old_libs" = yes; then
-       # Transform all the library objects into standard objects.
-       compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
-       finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
-      fi
-
-      func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
-
-      # template prelinking step
-      if test -n "$prelink_cmds"; then
-       func_execute_cmds "$prelink_cmds" 'exit $?'
-      fi
-
-      wrappers_required=yes
-      case $host in
-      *cegcc* | *mingw32ce*)
-        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
-      *cygwin* | *mingw* )
-        if test "$build_libtool_libs" != yes; then
-          wrappers_required=no
-        fi
-        ;;
-      *)
-        if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
-          wrappers_required=no
-        fi
-        ;;
-      esac
-      if test "$wrappers_required" = no; then
-       # Replace the output file specification.
-       compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
-       link_command="$compile_command$compile_rpath"
-
-       # We have no uninstalled library dependencies, so finalize right now.
-       exit_status=0
-       func_show_eval "$link_command" 'exit_status=$?'
-
-       if test -n "$postlink_cmds"; then
-         func_to_tool_file "$output"
-         postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
-         func_execute_cmds "$postlink_cmds" 'exit $?'
-       fi
-
-       # Delete the generated files.
-       if test -f "$output_objdir/${outputname}S.${objext}"; then
-         func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
-       fi
-
-       exit $exit_status
-      fi
-
-      if test -n "$compile_shlibpath$finalize_shlibpath"; then
-       compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
-      fi
-      if test -n "$finalize_shlibpath"; then
-       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
-      fi
-
-      compile_var=
-      finalize_var=
-      if test -n "$runpath_var"; then
-       if test -n "$perm_rpath"; then
-         # We should set the runpath_var.
-         rpath=
-         for dir in $perm_rpath; do
-           func_append rpath "$dir:"
-         done
-         compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
-       fi
-       if test -n "$finalize_perm_rpath"; then
-         # We should set the runpath_var.
-         rpath=
-         for dir in $finalize_perm_rpath; do
-           func_append rpath "$dir:"
-         done
-         finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
-       fi
-      fi
-
-      if test "$no_install" = yes; then
-       # We don't need to create a wrapper script.
-       link_command="$compile_var$compile_command$compile_rpath"
-       # Replace the output file specification.
-       link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
-       # Delete the old output file.
-       $opt_dry_run || $RM $output
-       # Link the executable and exit
-       func_show_eval "$link_command" 'exit $?'
-
-       if test -n "$postlink_cmds"; then
-         func_to_tool_file "$output"
-         postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
-         func_execute_cmds "$postlink_cmds" 'exit $?'
-       fi
-
-       exit $EXIT_SUCCESS
-      fi
-
-      if test "$hardcode_action" = relink; then
-       # Fast installation is not supported
-       link_command="$compile_var$compile_command$compile_rpath"
-       relink_command="$finalize_var$finalize_command$finalize_rpath"
-
-       func_warning "this platform does not like uninstalled shared libraries"
-       func_warning "\`$output' will be relinked during installation"
-      else
-       if test "$fast_install" != no; then
-         link_command="$finalize_var$compile_command$finalize_rpath"
-         if test "$fast_install" = yes; then
-           relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
-         else
-           # fast_install is set to needless
-           relink_command=
-         fi
-       else
-         link_command="$compile_var$compile_command$compile_rpath"
-         relink_command="$finalize_var$finalize_command$finalize_rpath"
-       fi
-      fi
-
-      # Replace the output file specification.
-      link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
-
-      # Delete the old output files.
-      $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
-
-      func_show_eval "$link_command" 'exit $?'
-
-      if test -n "$postlink_cmds"; then
-       func_to_tool_file "$output_objdir/$outputname"
-       postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
-       func_execute_cmds "$postlink_cmds" 'exit $?'
-      fi
-
-      # Now create the wrapper script.
-      func_verbose "creating $output"
-
-      # Quote the relink command for shipping.
-      if test -n "$relink_command"; then
-       # Preserve any variables that may affect compiler behavior
-       for var in $variables_saved_for_relink; do
-         if eval test -z \"\${$var+set}\"; then
-           relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
-         elif eval var_value=\$$var; test -z "$var_value"; then
-           relink_command="$var=; export $var; $relink_command"
-         else
-           func_quote_for_eval "$var_value"
-           relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
-         fi
-       done
-       relink_command="(cd `pwd`; $relink_command)"
-       relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
-      fi
-
-      # Only actually do things if not in dry run mode.
-      $opt_dry_run || {
-       # win32 will think the script is a binary if it has
-       # a .exe suffix, so we strip it off here.
-       case $output in
-         *.exe) func_stripname '' '.exe' "$output"
-                output=$func_stripname_result ;;
-       esac
-       # test for cygwin because mv fails w/o .exe extensions
-       case $host in
-         *cygwin*)
-           exeext=.exe
-           func_stripname '' '.exe' "$outputname"
-           outputname=$func_stripname_result ;;
-         *) exeext= ;;
-       esac
-       case $host in
-         *cygwin* | *mingw* )
-           func_dirname_and_basename "$output" "" "."
-           output_name=$func_basename_result
-           output_path=$func_dirname_result
-           cwrappersource="$output_path/$objdir/lt-$output_name.c"
-           cwrapper="$output_path/$output_name.exe"
-           $RM $cwrappersource $cwrapper
-           trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
-
-           func_emit_cwrapperexe_src > $cwrappersource
-
-           # The wrapper executable is built using the $host compiler,
-           # because it contains $host paths and files. If cross-
-           # compiling, it, like the target executable, must be
-           # executed on the $host or under an emulation environment.
-           $opt_dry_run || {
-             $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
-             $STRIP $cwrapper
-           }
-
-           # Now, create the wrapper script for func_source use:
-           func_ltwrapper_scriptname $cwrapper
-           $RM $func_ltwrapper_scriptname_result
-           trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
-           $opt_dry_run || {
-             # note: this script will not be executed, so do not chmod.
-             if test "x$build" = "x$host" ; then
-               $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
-             else
-               func_emit_wrapper no > $func_ltwrapper_scriptname_result
-             fi
-           }
-         ;;
-         * )
-           $RM $output
-           trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
-
-           func_emit_wrapper no > $output
-           chmod +x $output
-         ;;
-       esac
-      }
-      exit $EXIT_SUCCESS
-      ;;
-    esac
-
-    # See if we need to build an old-fashioned archive.
-    for oldlib in $oldlibs; do
-
-      if test "$build_libtool_libs" = convenience; then
-       oldobjs="$libobjs_save $symfileobj"
-       addlibs="$convenience"
-       build_libtool_libs=no
-      else
-       if test "$build_libtool_libs" = module; then
-         oldobjs="$libobjs_save"
-         build_libtool_libs=no
-       else
-         oldobjs="$old_deplibs $non_pic_objects"
-         if test "$preload" = yes && test -f "$symfileobj"; then
-           func_append oldobjs " $symfileobj"
-         fi
-       fi
-       addlibs="$old_convenience"
-      fi
-
-      if test -n "$addlibs"; then
-       gentop="$output_objdir/${outputname}x"
-       func_append generated " $gentop"
-
-       func_extract_archives $gentop $addlibs
-       func_append oldobjs " $func_extract_archives_result"
-      fi
-
-      # Do each command in the archive commands.
-      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
-       cmds=$old_archive_from_new_cmds
-      else
-
-       # Add any objects from preloaded convenience libraries
-       if test -n "$dlprefiles"; then
-         gentop="$output_objdir/${outputname}x"
-         func_append generated " $gentop"
-
-         func_extract_archives $gentop $dlprefiles
-         func_append oldobjs " $func_extract_archives_result"
-       fi
-
-       # POSIX demands no paths to be encoded in archives.  We have
-       # to avoid creating archives with duplicate basenames if we
-       # might have to extract them afterwards, e.g., when creating a
-       # static archive out of a convenience library, or when linking
-       # the entirety of a libtool archive into another (currently
-       # not supported by libtool).
-       if (for obj in $oldobjs
-           do
-             func_basename "$obj"
-             $ECHO "$func_basename_result"
-           done | sort | sort -uc >/dev/null 2>&1); then
-         :
-       else
-         echo "copying selected object files to avoid basename conflicts..."
-         gentop="$output_objdir/${outputname}x"
-         func_append generated " $gentop"
-         func_mkdir_p "$gentop"
-         save_oldobjs=$oldobjs
-         oldobjs=
-         counter=1
-         for obj in $save_oldobjs
-         do
-           func_basename "$obj"
-           objbase="$func_basename_result"
-           case " $oldobjs " in
-           " ") oldobjs=$obj ;;
-           *[\ /]"$objbase "*)
-             while :; do
-               # Make sure we don't pick an alternate name that also
-               # overlaps.
-               newobj=lt$counter-$objbase
-               func_arith $counter + 1
-               counter=$func_arith_result
-               case " $oldobjs " in
-               *[\ /]"$newobj "*) ;;
-               *) if test ! -f "$gentop/$newobj"; then break; fi ;;
-               esac
-             done
-             func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
-             func_append oldobjs " $gentop/$newobj"
-             ;;
-           *) func_append oldobjs " $obj" ;;
-           esac
-         done
-       fi
-       func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
-       tool_oldlib=$func_to_tool_file_result
-       eval cmds=\"$old_archive_cmds\"
-
-       func_len " $cmds"
-       len=$func_len_result
-       if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
-         cmds=$old_archive_cmds
-       elif test -n "$archiver_list_spec"; then
-         func_verbose "using command file archive linking..."
-         for obj in $oldobjs
-         do
-           func_to_tool_file "$obj"
-           $ECHO "$func_to_tool_file_result"
-         done > $output_objdir/$libname.libcmd
-         func_to_tool_file "$output_objdir/$libname.libcmd"
-         oldobjs=" $archiver_list_spec$func_to_tool_file_result"
-         cmds=$old_archive_cmds
-       else
-         # the command line is too long to link in one step, link in parts
-         func_verbose "using piecewise archive linking..."
-         save_RANLIB=$RANLIB
-         RANLIB=:
-         objlist=
-         concat_cmds=
-         save_oldobjs=$oldobjs
-         oldobjs=
-         # Is there a better way of finding the last object in the list?
-         for obj in $save_oldobjs
-         do
-           last_oldobj=$obj
-         done
-         eval test_cmds=\"$old_archive_cmds\"
-         func_len " $test_cmds"
-         len0=$func_len_result
-         len=$len0
-         for obj in $save_oldobjs
-         do
-           func_len " $obj"
-           func_arith $len + $func_len_result
-           len=$func_arith_result
-           func_append objlist " $obj"
-           if test "$len" -lt "$max_cmd_len"; then
-             :
-           else
-             # the above command should be used before it gets too long
-             oldobjs=$objlist
-             if test "$obj" = "$last_oldobj" ; then
-               RANLIB=$save_RANLIB
-             fi
-             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
-             eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
-             objlist=
-             len=$len0
-           fi
-         done
-         RANLIB=$save_RANLIB
-         oldobjs=$objlist
-         if test "X$oldobjs" = "X" ; then
-           eval cmds=\"\$concat_cmds\"
-         else
-           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
-         fi
-       fi
-      fi
-      func_execute_cmds "$cmds" 'exit $?'
-    done
-
-    test -n "$generated" && \
-      func_show_eval "${RM}r$generated"
-
-    # Now create the libtool archive.
-    case $output in
-    *.la)
-      old_library=
-      test "$build_old_libs" = yes && old_library="$libname.$libext"
-      func_verbose "creating $output"
-
-      # Preserve any variables that may affect compiler behavior
-      for var in $variables_saved_for_relink; do
-       if eval test -z \"\${$var+set}\"; then
-         relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
-       elif eval var_value=\$$var; test -z "$var_value"; then
-         relink_command="$var=; export $var; $relink_command"
-       else
-         func_quote_for_eval "$var_value"
-         relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
-       fi
-      done
-      # Quote the link command for shipping.
-      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
-      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
-      if test "$hardcode_automatic" = yes ; then
-       relink_command=
-      fi
-
-      # Only create the output if not a dry run.
-      $opt_dry_run || {
-       for installed in no yes; do
-         if test "$installed" = yes; then
-           if test -z "$install_libdir"; then
-             break
-           fi
-           output="$output_objdir/$outputname"i
-           # Replace all uninstalled libtool libraries with the installed ones
-           newdependency_libs=
-           for deplib in $dependency_libs; do
-             case $deplib in
-             *.la)
-               func_basename "$deplib"
-               name="$func_basename_result"
-               func_resolve_sysroot "$deplib"
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
-               test -z "$libdir" && \
-                 func_fatal_error "\`$deplib' is not a valid libtool archive"
-               func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
-               ;;
-             -L*)
-               func_stripname -L '' "$deplib"
-               func_replace_sysroot "$func_stripname_result"
-               func_append newdependency_libs " -L$func_replace_sysroot_result"
-               ;;
-             -R*)
-               func_stripname -R '' "$deplib"
-               func_replace_sysroot "$func_stripname_result"
-               func_append newdependency_libs " -R$func_replace_sysroot_result"
-               ;;
-             *) func_append newdependency_libs " $deplib" ;;
-             esac
-           done
-           dependency_libs="$newdependency_libs"
-           newdlfiles=
-
-           for lib in $dlfiles; do
-             case $lib in
-             *.la)
-               func_basename "$lib"
-               name="$func_basename_result"
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
-               test -z "$libdir" && \
-                 func_fatal_error "\`$lib' is not a valid libtool archive"
-               func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
-               ;;
-             *) func_append newdlfiles " $lib" ;;
-             esac
-           done
-           dlfiles="$newdlfiles"
-           newdlprefiles=
-           for lib in $dlprefiles; do
-             case $lib in
-             *.la)
-               # Only pass preopened files to the pseudo-archive (for
-               # eventual linking with the app. that links it) if we
-               # didn't already link the preopened objects directly into
-               # the library:
-               func_basename "$lib"
-               name="$func_basename_result"
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
-               test -z "$libdir" && \
-                 func_fatal_error "\`$lib' is not a valid libtool archive"
-               func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
-               ;;
-             esac
-           done
-           dlprefiles="$newdlprefiles"
-         else
-           newdlfiles=
-           for lib in $dlfiles; do
-             case $lib in
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
-               *) abs=`pwd`"/$lib" ;;
-             esac
-             func_append newdlfiles " $abs"
-           done
-           dlfiles="$newdlfiles"
-           newdlprefiles=
-           for lib in $dlprefiles; do
-             case $lib in
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
-               *) abs=`pwd`"/$lib" ;;
-             esac
-             func_append newdlprefiles " $abs"
-           done
-           dlprefiles="$newdlprefiles"
-         fi
-         $RM $output
-         # place dlname in correct position for cygwin
-         # In fact, it would be nice if we could use this code for all target
-         # systems that can't hard-code library paths into their executables
-         # and that have no shared library path variable independent of PATH,
-         # but it turns out we can't easily determine that from inspecting
-         # libtool variables, so we have to hard-code the OSs to which it
-         # applies here; at the moment, that means platforms that use the PE
-         # object format with DLL files.  See the long comment at the top of
-         # tests/bindir.at for full details.
-         tdlname=$dlname
-         case $host,$output,$installed,$module,$dlname in
-           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
-             # If a -bindir argument was supplied, place the dll there.
-             if test "x$bindir" != x ;
-             then
-               func_relative_path "$install_libdir" "$bindir"
-               tdlname=$func_relative_path_result$dlname
-             else
-               # Otherwise fall back on heuristic.
-               tdlname=../bin/$dlname
-             fi
-             ;;
-         esac
-         $ECHO > $output "\
-# $outputname - a libtool library file
-# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='$tdlname'
-
-# Names of this library.
-library_names='$library_names'
-
-# The name of the static archive.
-old_library='$old_library'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags='$new_inherited_linker_flags'
-
-# Libraries that this one depends upon.
-dependency_libs='$dependency_libs'
-
-# Names of additional weak libraries provided by this library
-weak_library_names='$weak_libs'
-
-# Version information for $libname.
-current=$current
-age=$age
-revision=$revision
-
-# Is this an already installed library?
-installed=$installed
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=$module
-
-# Files to dlopen/dlpreopen
-dlopen='$dlfiles'
-dlpreopen='$dlprefiles'
-
-# Directory that this library needs to be installed in:
-libdir='$install_libdir'"
-         if test "$installed" = no && test "$need_relink" = yes; then
-           $ECHO >> $output "\
-relink_command=\"$relink_command\""
-         fi
-       done
-      }
-
-      # Do a symbolic link so that the libtool archive can be found in
-      # LD_LIBRARY_PATH before the program is installed.
-      func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
-      ;;
-    esac
-    exit $EXIT_SUCCESS
-}
-
-{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
-    func_mode_link ${1+"$@"}
-
-
-# func_mode_uninstall arg...
-func_mode_uninstall ()
-{
-    $opt_debug
-    RM="$nonopt"
-    files=
-    rmforce=
-    exit_status=0
-
-    # This variable tells wrapper scripts just to set variables rather
-    # than running their programs.
-    libtool_install_magic="$magic"
-
-    for arg
-    do
-      case $arg in
-      -f) func_append RM " $arg"; rmforce=yes ;;
-      -*) func_append RM " $arg" ;;
-      *) func_append files " $arg" ;;
-      esac
-    done
-
-    test -z "$RM" && \
-      func_fatal_help "you must specify an RM program"
-
-    rmdirs=
-
-    for file in $files; do
-      func_dirname "$file" "" "."
-      dir="$func_dirname_result"
-      if test "X$dir" = X.; then
-       odir="$objdir"
-      else
-       odir="$dir/$objdir"
-      fi
-      func_basename "$file"
-      name="$func_basename_result"
-      test "$opt_mode" = uninstall && odir="$dir"
-
-      # Remember odir for removal later, being careful to avoid duplicates
-      if test "$opt_mode" = clean; then
-       case " $rmdirs " in
-         *" $odir "*) ;;
-         *) func_append rmdirs " $odir" ;;
-       esac
-      fi
-
-      # Don't error if the file doesn't exist and rm -f was used.
-      if { test -L "$file"; } >/dev/null 2>&1 ||
-        { test -h "$file"; } >/dev/null 2>&1 ||
-        test -f "$file"; then
-       :
-      elif test -d "$file"; then
-       exit_status=1
-       continue
-      elif test "$rmforce" = yes; then
-       continue
-      fi
-
-      rmfiles="$file"
-
-      case $name in
-      *.la)
-       # Possibly a libtool archive, so verify it.
-       if func_lalib_p "$file"; then
-         func_source $dir/$name
-
-         # Delete the libtool libraries and symlinks.
-         for n in $library_names; do
-           func_append rmfiles " $odir/$n"
-         done
-         test -n "$old_library" && func_append rmfiles " $odir/$old_library"
-
-         case "$opt_mode" in
-         clean)
-           case " $library_names " in
-           *" $dlname "*) ;;
-           *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
-           esac
-           test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
-           ;;
-         uninstall)
-           if test -n "$library_names"; then
-             # Do each command in the postuninstall commands.
-             func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
-           fi
-
-           if test -n "$old_library"; then
-             # Do each command in the old_postuninstall commands.
-             func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
-           fi
-           # FIXME: should reinstall the best remaining shared library.
-           ;;
-         esac
-       fi
-       ;;
-
-      *.lo)
-       # Possibly a libtool object, so verify it.
-       if func_lalib_p "$file"; then
-
-         # Read the .lo file
-         func_source $dir/$name
-
-         # Add PIC object to the list of files to remove.
-         if test -n "$pic_object" &&
-            test "$pic_object" != none; then
-           func_append rmfiles " $dir/$pic_object"
-         fi
-
-         # Add non-PIC object to the list of files to remove.
-         if test -n "$non_pic_object" &&
-            test "$non_pic_object" != none; then
-           func_append rmfiles " $dir/$non_pic_object"
-         fi
-       fi
-       ;;
-
-      *)
-       if test "$opt_mode" = clean ; then
-         noexename=$name
-         case $file in
-         *.exe)
-           func_stripname '' '.exe' "$file"
-           file=$func_stripname_result
-           func_stripname '' '.exe' "$name"
-           noexename=$func_stripname_result
-           # $file with .exe has already been added to rmfiles,
-           # add $file without .exe
-           func_append rmfiles " $file"
-           ;;
-         esac
-         # Do a test to see if this is a libtool program.
-         if func_ltwrapper_p "$file"; then
-           if func_ltwrapper_executable_p "$file"; then
-             func_ltwrapper_scriptname "$file"
-             relink_command=
-             func_source $func_ltwrapper_scriptname_result
-             func_append rmfiles " $func_ltwrapper_scriptname_result"
-           else
-             relink_command=
-             func_source $dir/$noexename
-           fi
-
-           # note $name still contains .exe if it was in $file originally
-           # as does the version of $file that was added into $rmfiles
-           func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
-           if test "$fast_install" = yes && test -n "$relink_command"; then
-             func_append rmfiles " $odir/lt-$name"
-           fi
-           if test "X$noexename" != "X$name" ; then
-             func_append rmfiles " $odir/lt-${noexename}.c"
-           fi
-         fi
-       fi
-       ;;
-      esac
-      func_show_eval "$RM $rmfiles" 'exit_status=1'
-    done
-
-    # Try to remove the ${objdir}s in the directories where we deleted files
-    for dir in $rmdirs; do
-      if test -d "$dir"; then
-       func_show_eval "rmdir $dir >/dev/null 2>&1"
-      fi
-    done
-
-    exit $exit_status
-}
-
-{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
-    func_mode_uninstall ${1+"$@"}
-
-test -z "$opt_mode" && {
-  help="$generic_help"
-  func_fatal_help "you must specify a MODE"
-}
-
-test -z "$exec_cmd" && \
-  func_fatal_help "invalid operation mode \`$opt_mode'"
-
-if test -n "$exec_cmd"; then
-  eval exec "$exec_cmd"
-  exit $EXIT_FAILURE
-fi
-
-exit $exit_status
-
-
-# The TAGs below are defined such that we never get into a situation
-# in which we disable both kinds of libraries.  Given conflicting
-# choices, we go for a static library, that is the most portable,
-# since we can't tell whether shared libraries were disabled because
-# the user asked for that or because the platform doesn't support
-# them.  This is particularly important on AIX, because we don't
-# support having both static and shared libraries enabled at the same
-# time on that platform, so we default to a shared-only configuration.
-# If a disable-shared tag is given, we'll fallback to a static-only
-# configuration.  But we'll never go from static-only to shared-only.
-
-# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
-build_libtool_libs=no
-build_old_libs=yes
-# ### END LIBTOOL TAG CONFIG: disable-shared
-
-# ### BEGIN LIBTOOL TAG CONFIG: disable-static
-build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
-# ### END LIBTOOL TAG CONFIG: disable-static
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation:2
-# End:
-# vi:sw=2
-
index 2311447..8766645 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH AllPlanes __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index af6042d..535b4ad 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
index 160eeb5..85bd672 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
index 27579c8..bfae688 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH ImageByteOrder __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -228,12 +167,10 @@ structure provides an interface to the pixmap format information
 that is returned at the time of a connection setup.
 It contains:
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int depth;
-       int bits_per_pixel;
-       int scanline_pad;
+        int depth;
+        int bits_per_pixel;
+        int scanline_pad;
 } XPixmapFormatValues;
 .De
 .SH "SEE ALSO"
index 0fa3dfb..fdeb416 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH IsCursorKey __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
diff --git a/man/Makefile.in b/man/Makefile.in
deleted file mode 100644 (file)
index 5848df3..0000000
+++ /dev/null
@@ -1,1774 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = man
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(filemandir)" "$(DESTDIR)$(libmandir)"
-DATA = $(fileman_DATA) $(libman_DATA)
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@ -e 's|__xlocaledir__|$(X11_LOCALEDATADIR)|g'
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = xkb
-libmandir = $(LIB_MAN_DIR)
-libman_PRE = \
-       $(all_shadows:=.man) \
-       $(file_shadows:=.man) \
-       AllPlanes.man \
-       BlackPixelOfScreen.man \
-       DisplayOfCCC.man \
-       ImageByteOrder.man \
-       IsCursorKey.man \
-       XAddConnectionWatch.man \
-       XAddHost.man \
-       XAllocClassHint.man \
-       XAllocColor.man \
-       XAllocIconSize.man \
-       XAllocSizeHints.man \
-       XAllocStandardColormap.man \
-       XAllocWMHints.man \
-       XAllowEvents.man \
-       XAnyEvent.man \
-       XButtonEvent.man \
-       XChangeKeyboardControl.man \
-       XChangeKeyboardMapping.man \
-       XChangePointerControl.man \
-       XChangeSaveSet.man \
-       XChangeWindowAttributes.man \
-       XCirculateEvent.man \
-       XCirculateRequestEvent.man \
-       XClearArea.man \
-       XClientMessageEvent.man \
-       XcmsAllocColor.man \
-       XcmsCCCOfColormap.man \
-       XcmsCIELabQueryMaxC.man \
-       XcmsCIELuvQueryMaxC.man \
-       XcmsColor.man \
-       XcmsConvertColors.man \
-       XcmsCreateCCC.man \
-       XcmsDefaultCCC.man \
-       XcmsQueryBlack.man \
-       XcmsQueryColor.man \
-       XcmsSetWhitePoint.man \
-       XcmsStoreColor.man \
-       XcmsTekHVCQueryMaxC.man \
-       XColormapEvent.man \
-       XConfigureEvent.man \
-       XConfigureRequestEvent.man \
-       XConfigureWindow.man \
-       XCopyArea.man \
-       XCreateColormap.man \
-       XCreateFontCursor.man \
-       XCreateFontSet.man \
-       XCreateGC.man \
-       XCreateIC.man \
-       XCreateOC.man \
-       XCreatePixmap.man \
-       XCreateRegion.man \
-       XCreateWindowEvent.man \
-       XCreateWindow.man \
-       XCrossingEvent.man \
-       XDefineCursor.man \
-       XDestroyWindowEvent.man \
-       XDestroyWindow.man \
-       XDrawArc.man \
-       XDrawImageString.man \
-       XDrawLine.man \
-       XDrawPoint.man \
-       XDrawRectangle.man \
-       XDrawString.man \
-       XDrawText.man \
-       XEmptyRegion.man \
-       XErrorEvent.man \
-       XExposeEvent.man \
-       XExtentsOfFontSet.man \
-       XFillRectangle.man \
-       XFilterEvent.man \
-       XFlush.man \
-       XFocusChangeEvent.man \
-       XFontSetExtents.man \
-       XFontsOfFontSet.man \
-       XFree.man \
-       XGetEventData.man \
-       XGetVisualInfo.man \
-       XGetWindowAttributes.man \
-       XGetWindowProperty.man \
-       XGetXCBConnection.man \
-       XGrabButton.man \
-       XGrabKeyboard.man \
-       XGrabKey.man \
-       XGrabPointer.man \
-       XGrabServer.man \
-       XGraphicsExposeEvent.man \
-       XGravityEvent.man \
-       XIconifyWindow.man \
-       XIfEvent.man \
-       XInitImage.man \
-       XInitThreads.man \
-       XInstallColormap.man \
-       XInternAtom.man \
-       XIntersectRegion.man \
-       XKeymapEvent.man \
-       XListFonts.man \
-       XLoadFont.man \
-       XLookupKeysym.man \
-       XMapEvent.man \
-       XMapRequestEvent.man \
-       XMapWindow.man \
-       XmbDrawImageString.man \
-       XmbDrawString.man \
-       XmbDrawText.man \
-       XmbLookupString.man \
-       XmbResetIC.man \
-       XmbTextEscapement.man \
-       XmbTextExtents.man \
-       XmbTextListToTextProperty.man \
-       XmbTextPerCharExtents.man \
-       XNextEvent.man \
-       XNoOp.man \
-       XOpenDisplay.man \
-       XOpenIM.man \
-       XOpenOM.man \
-       XParseGeometry.man \
-       XPolygonRegion.man \
-       XPropertyEvent.man \
-       XPutBackEvent.man \
-       XPutImage.man \
-       XQueryBestSize.man \
-       XQueryColor.man \
-       XQueryExtension.man \
-       XQueryPointer.man \
-       XQueryTree.man \
-       XRaiseWindow.man \
-       XReadBitmapFile.man \
-       XRecolorCursor.man \
-       XReparentEvent.man \
-       XReparentWindow.man \
-       XResizeRequestEvent.man \
-       XResourceManagerString.man \
-       XrmEnumerateDatabase.man \
-       XrmGetFileDatabase.man \
-       XrmGetResource.man \
-       XrmInitialize.man \
-       XrmMergeDatabases.man \
-       XrmPutResource.man \
-       XrmUniqueQuark.man \
-       XSaveContext.man \
-       XSelectInput.man \
-       XSelectionClearEvent.man \
-       XSelectionEvent.man \
-       XSelectionRequestEvent.man \
-       XSendEvent.man \
-       XSetArcMode.man \
-       XSetClipOrigin.man \
-       XSetCloseDownMode.man \
-       XSetCommand.man \
-       XSetErrorHandler.man \
-       XSetEventQueueOwner.man \
-       XSetFillStyle.man \
-       XSetFont.man \
-       XSetFontPath.man \
-       XSetICFocus.man \
-       XSetICValues.man \
-       XSetInputFocus.man \
-       XSetLineAttributes.man \
-       XSetPointerMapping.man \
-       XSetScreenSaver.man \
-       XSetSelectionOwner.man \
-       XSetState.man \
-       XSetTextProperty.man \
-       XSetTile.man \
-       XSetTransientForHint.man \
-       XSetWMClientMachine.man \
-       XSetWMColormapWindows.man \
-       XSetWMIconName.man \
-       XSetWMName.man \
-       XSetWMProperties.man \
-       XSetWMProtocols.man \
-       XStoreBytes.man \
-       XStoreColors.man \
-       XStringListToTextProperty.man \
-       XStringToKeysym.man \
-       XSupportsLocale.man \
-       XSynchronize.man \
-       XTextExtents.man \
-       XTextWidth.man \
-       XTranslateCoordinates.man \
-       XUnmapEvent.man \
-       XUnmapWindow.man \
-       XVaCreateNestedList.man \
-       XVisibilityEvent.man \
-       XWarpPointer.man
-
-filemandir = $(FILE_MAN_DIR)
-fileman_PRE = Compose.man
-libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
-             $(all_shadows:=.@LIB_MAN_SUFFIX@)
-
-fileman_DATA = $(fileman_PRE:man=@FILE_MAN_SUFFIX@) \
-              $(file_shadows:=.@FILE_MAN_SUFFIX@)
-
-EXTRA_DIST = $(libman_PRE) $(fileman_PRE)
-CLEANFILES = $(libman_DATA) $(fileman_DATA)
-SUFFIXES = .$(LIB_MAN_SUFFIX) .$(FILE_MAN_SUFFIX) .man
-
-# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
-all_shadows = \
-    $(AllPlanes_shadows)                     \
-    $(BlackPixelOfScreen_shadows)            \
-    $(DisplayOfCCC_shadows)                  \
-    $(ImageByteOrder_shadows)                \
-    $(IsCursorKey_shadows)                   \
-    $(XAllocClassHint_shadows)               \
-    $(XAllocIconSize_shadows)                \
-    $(XAllocStandardColormap_shadows)        \
-    $(XAllocSizeHints_shadows)               \
-    $(XAllocWMHints_shadows)                 \
-    $(XAddHost_shadows)                      \
-    $(XAllocColor_shadows)                   \
-    $(XAnyEvent_shadows)                     \
-    $(XButtonEvent_shadows)                  \
-    $(XChangeKeyboardControl_shadows)        \
-    $(XChangeKeyboardMapping_shadows)        \
-    $(XChangePointerControl_shadows)         \
-    $(XChangeSaveSet_shadows)                \
-    $(XChangeWindowAttributes_shadows)       \
-    $(XClearArea_shadows)                    \
-    $(XConfigureWindow_shadows)              \
-    $(XCopyArea_shadows)                     \
-    $(XCreateColormap_shadows)               \
-    $(XCreateFontCursor_shadows)             \
-    $(XCreateFontSet_shadows)                \
-    $(XCreateGC_shadows)                     \
-    $(XCreateIC_shadows)                     \
-    $(XInitImage_shadows)                    \
-    $(XCreateOC_shadows)                     \
-    $(XCreatePixmap_shadows)                 \
-    $(XCreateRegion_shadows)                 \
-    $(XCreateWindow_shadows)                 \
-    $(XDefineCursor_shadows)                 \
-    $(XDestroyWindow_shadows)                \
-    $(XDrawArc_shadows)                      \
-    $(XDrawImageString_shadows)              \
-    $(XDrawLine_shadows)                     \
-    $(XDrawPoint_shadows)                    \
-    $(XDrawRectangle_shadows)                \
-    $(XDrawString_shadows)                   \
-    $(XDrawText_shadows)                     \
-    $(XEmptyRegion_shadows)                  \
-    $(XFillRectangle_shadows)                \
-    $(XFlush_shadows)                        \
-    $(XFontsOfFontSet_shadows)               \
-    $(XGraphicsExposeEvent_shadows)          \
-    $(XrmGetFileDatabase_shadows)            \
-    $(XrmGetResource_shadows)                \
-    $(XGetEventData_shadows)                 \
-    $(XGetVisualInfo_shadows)                \
-    $(XGetWindowAttributes_shadows)          \
-    $(XGetWindowProperty_shadows)            \
-    $(XGrabButton_shadows)                   \
-    $(XGrabKey_shadows)                      \
-    $(XGrabKeyboard_shadows)                 \
-    $(XGrabPointer_shadows)                  \
-    $(XGrabServer_shadows)                   \
-    $(XIconifyWindow_shadows)                \
-    $(XIfEvent_shadows)                      \
-    $(XrmInitialize_shadows)                 \
-    $(XInstallColormap_shadows)              \
-    $(XAddConnectionWatch_shadows)           \
-    $(XIntersectRegion_shadows)              \
-    $(XInternAtom_shadows)                   \
-    $(XListFonts_shadows)                    \
-    $(XLoadFont_shadows)                     \
-    $(XLookupKeysym_shadows)                 \
-    $(XrmMergeDatabases_shadows)             \
-    $(XMapEvent_shadows)                     \
-    $(XMapWindow_shadows)                    \
-    $(XNextEvent_shadows)                    \
-    $(XOpenDisplay_shadows)                  \
-    $(XOpenIM_shadows)                       \
-    $(XOpenOM_shadows)                       \
-    $(XParseGeometry_shadows)                \
-    $(XPolygonRegion_shadows)                \
-    $(XPutImage_shadows)                     \
-    $(XrmPutResource_shadows)                \
-    $(XQueryBestSize_shadows)                \
-    $(XQueryColor_shadows)                   \
-    $(XQueryExtension_shadows)               \
-    $(XResourceManagerString_shadows)        \
-    $(XRaiseWindow_shadows)                  \
-    $(XReadBitmapFile_shadows)               \
-    $(XRecolorCursor_shadows)                \
-    $(XSaveContext_shadows)                  \
-    $(XSetICFocus_shadows)                   \
-    $(XSetICValues_shadows)                  \
-    $(XStringListToTextProperty_shadows)     \
-    $(XSetArcMode_shadows)                   \
-    $(XSetClipOrigin_shadows)                \
-    $(XSetCloseDownMode_shadows)             \
-    $(XSetCommand_shadows)                   \
-    $(XSetErrorHandler_shadows)              \
-    $(XSendEvent_shadows)                    \
-    $(XSetFillStyle_shadows)                 \
-    $(XSetFontPath_shadows)                  \
-    $(XSetInputFocus_shadows)                \
-    $(XSetLineAttributes_shadows)            \
-    $(XSetPointerMapping_shadows)            \
-    $(XSetScreenSaver_shadows)               \
-    $(XSetSelectionOwner_shadows)            \
-    $(XSetState_shadows)                     \
-    $(XSetTransientForHint_shadows)          \
-    $(XSetTextProperty_shadows)              \
-    $(XSetTile_shadows)                      \
-    $(XSetWMClientMachine_shadows)           \
-    $(XSetWMColormapWindows_shadows)         \
-    $(XSetWMIconName_shadows)                \
-    $(XSetWMName_shadows)                    \
-    $(XSetWMProperties_shadows)              \
-    $(XSetWMProtocols_shadows)               \
-    $(XStoreBytes_shadows)                   \
-    $(XStoreColors_shadows)                  \
-    $(XStringToKeysym_shadows)               \
-    $(XSupportsLocale_shadows)               \
-    $(XSynchronize_shadows)                  \
-    $(XmbTextListToTextProperty_shadows)     \
-    $(XTextExtents_shadows)                  \
-    $(XTextWidth_shadows)                    \
-    $(XInitThreads_shadows)                  \
-    $(XrmUniqueQuark_shadows)                \
-    $(XUnmapWindow_shadows)                  \
-    $(XcmsCCCOfColormap_shadows)             \
-    $(XcmsAllocColor_shadows)                \
-    $(XcmsColor_shadows)                     \
-    $(XcmsCreateCCC_shadows)                 \
-    $(XcmsCIELabQueryMaxC_shadows)           \
-    $(XcmsCIELuvQueryMaxC_shadows)           \
-    $(XcmsQueryBlack_shadows)                \
-    $(XcmsQueryColor_shadows)                \
-    $(XcmsStoreColor_shadows)                \
-    $(XcmsSetWhitePoint_shadows)             \
-    $(XcmsTekHVCQueryMaxC_shadows)           \
-    $(XmbDrawImageString_shadows)            \
-    $(XmbDrawString_shadows)                 \
-    $(XmbDrawText_shadows)                   \
-    $(XmbLookupString_shadows)               \
-    $(XmbResetIC_shadows)                    \
-    $(XmbTextEscapement_shadows)             \
-    $(XmbTextExtents_shadows)                \
-    $(XmbTextPerCharExtents_shadows)
-
-AllPlanes_shadows = \
-    BlackPixel                              \
-    WhitePixel                              \
-    ConnectionNumber                        \
-    DefaultColormap                         \
-    DefaultDepth                            \
-    XListDepths                             \
-    DefaultGC                               \
-    DefaultRootWindow                       \
-    DefaultScreenOfDisplay                  \
-    DefaultScreen                           \
-    DefaultVisual                           \
-    DisplayCells                            \
-    DisplayPlanes                           \
-    DisplayString                           \
-    XMaxRequestSize                         \
-    XExtendedMaxRequestSize                 \
-    LastKnownRequestProcessed               \
-    NextRequest                             \
-    ProtocolVersion                         \
-    ProtocolRevision                        \
-    QLength                                 \
-    RootWindow                              \
-    ScreenCount                             \
-    ScreenOfDisplay                         \
-    ServerVendor                            \
-    VendorRelease
-
-BlackPixelOfScreen_shadows = \
-    WhitePixelOfScreen                      \
-    CellsOfScreen                           \
-    DefaultColormapOfScreen                 \
-    DefaultDepthOfScreen                    \
-    DefaultGCOfScreen                       \
-    DefaultVisualOfScreen                   \
-    DoesBackingStore                        \
-    DoesSaveUnders                          \
-    DisplayOfScreen                         \
-    XScreenNumberOfScreen                   \
-    EventMaskOfScreen                       \
-    HeightOfScreen                          \
-    HeightMMOfScreen                        \
-    MaxCmapsOfScreen                        \
-    MinCmapsOfScreen                        \
-    PlanesOfScreen                          \
-    RootWindowOfScreen                      \
-    WidthOfScreen                           \
-    WidthMMOfScreen
-
-DisplayOfCCC_shadows = \
-    VisualOfCCC                             \
-    ScreenNumberOfCCC                       \
-    ScreenWhitePointOfCCC                   \
-    ClientWhitePointOfCCC
-
-ImageByteOrder_shadows = \
-    BitmapBitOrder                          \
-    BitmapPad                               \
-    BitmapUnit                              \
-    DisplayHeight                           \
-    DisplayHeightMM                         \
-    DisplayWidth                            \
-    DisplayWidthMM                          \
-    XListPixmapFormats                      \
-    XPixmapFormatValues
-
-IsCursorKey_shadows = \
-    IsFunctionKey                           \
-    IsKeypadKey                             \
-    IsMiscFunctionKey                       \
-    IsModifierKey                           \
-    IsPFKey                                 \
-    IsPrivateKeypadKey
-
-XAllocClassHint_shadows = \
-    XSetClassHint                           \
-    XGetClassHint                           \
-    XClassHint
-
-XAllocIconSize_shadows = \
-    XSetIconSizes                           \
-    XGetIconSizes                           \
-    XIconSize
-
-XAllocStandardColormap_shadows = \
-    XSetRGBColormaps                        \
-    XGetRGBColormaps                        \
-    XStandardColormap
-
-XAllocSizeHints_shadows = \
-    XSetWMNormalHints                       \
-    XGetWMNormalHints                       \
-    XSetWMSizeHints                         \
-    XGetWMSizeHints                         \
-    XSizeHints
-
-XAllocWMHints_shadows = \
-    XSetWMHints                             \
-    XGetWMHints                             \
-    XWMHints
-
-XAddHost_shadows = \
-    XAddHosts                               \
-    XListHosts                              \
-    XRemoveHost                             \
-    XRemoveHosts                            \
-    XSetAccessControl                       \
-    XEnableAccessControl                    \
-    XDisableAccessControl                   \
-    XHostAddress
-
-XAllocColor_shadows = \
-    XAllocNamedColor                        \
-    XAllocColorCells                        \
-    XAllocColorPlanes                       \
-    XFreeColors
-
-XAnyEvent_shadows = \
-    XEvent
-
-XButtonEvent_shadows = \
-    XKeyEvent                               \
-    XMotionEvent
-
-XChangeKeyboardControl_shadows = \
-    XGetKeyboardControl                     \
-    XAutoRepeatOn                           \
-    XAutoRepeatOff                          \
-    XBell                                   \
-    XQueryKeymap                            \
-    XKeyboardControl
-
-XChangeKeyboardMapping_shadows = \
-    XGetKeyboardMapping                     \
-    XDisplayKeycodes                        \
-    XSetModifierMapping                     \
-    XGetModifierMapping                     \
-    XNewModifiermap                         \
-    XInsertModifiermapEntry                 \
-    XDeleteModifiermapEntry                 \
-    XFreeModifiermap                        \
-    XModifierKeymap
-
-XChangePointerControl_shadows = \
-    XGetPointerControl
-
-XChangeSaveSet_shadows = \
-    XAddToSaveSet                           \
-    XRemoveFromSaveSet
-
-XChangeWindowAttributes_shadows = \
-    XSetWindowBackground                    \
-    XSetWindowBackgroundPixmap              \
-    XSetWindowBorder                        \
-    XSetWindowBorderPixmap                  \
-    XSetWindowColormap
-
-XClearArea_shadows = \
-    XClearWindow
-
-XConfigureWindow_shadows = \
-    XMoveWindow                             \
-    XResizeWindow                           \
-    XMoveResizeWindow                       \
-    XSetWindowBorderWidth                   \
-    XWindowChanges
-
-XCopyArea_shadows = \
-    XCopyPlane
-
-XCreateColormap_shadows = \
-    XCopyColormapAndFree                    \
-    XFreeColormap                           \
-    XColor
-
-XCreateFontCursor_shadows = \
-    XCreatePixmapCursor                     \
-    XCreateGlyphCursor
-
-XCreateFontSet_shadows = \
-    XFreeFontSet
-
-XCreateGC_shadows = \
-    XCopyGC                                 \
-    XChangeGC                               \
-    XGetGCValues                            \
-    XFreeGC                                 \
-    XGContextFromGC                         \
-    XGCValues
-
-XCreateIC_shadows = \
-    XDestroyIC                              \
-    XIMOfIC
-
-XInitImage_shadows = \
-    XCreateImage                            \
-    XGetPixel                               \
-    XPutPixel                               \
-    XSubImage                               \
-    XAddPixel                               \
-    XDestroyImage
-
-XCreateOC_shadows = \
-    XDestroyOC                              \
-    XSetOCValues                            \
-    XGetOCValues                            \
-    XOMOfOC
-
-XCreatePixmap_shadows = \
-    XFreePixmap
-
-XCreateRegion_shadows = \
-    XSetRegion                              \
-    XDestroyRegion
-
-XCreateWindow_shadows = \
-    XCreateSimpleWindow                     \
-    XSetWindowAttributes
-
-XDefineCursor_shadows = \
-    XUndefineCursor
-
-XDestroyWindow_shadows = \
-    XDestroySubwindows
-
-XDrawArc_shadows = \
-    XDrawArcs                               \
-    XArc
-
-XDrawImageString_shadows = \
-    XDrawImageString16
-
-XDrawLine_shadows = \
-    XDrawLines                              \
-    XDrawSegments                           \
-    XSegment
-
-XDrawPoint_shadows = \
-    XDrawPoints                             \
-    XPoint
-
-XDrawRectangle_shadows = \
-    XDrawRectangles                         \
-    XRectangle
-
-XDrawString_shadows = \
-    XDrawString16
-
-XDrawText_shadows = \
-    XDrawText16                             \
-    XTextItem                               \
-    XTextItem16
-
-XEmptyRegion_shadows = \
-    XEqualRegion                            \
-    XPointInRegion                          \
-    XRectInRegion
-
-XFillRectangle_shadows = \
-    XFillRectangles                         \
-    XFillPolygon                            \
-    XFillArc                                \
-    XFillArcs
-
-XFlush_shadows = \
-    XSync                                   \
-    XEventsQueued                           \
-    XPending
-
-XFontsOfFontSet_shadows = \
-    XBaseFontNameListOfFontSet              \
-    XLocaleOfFontSet                        \
-    XContextDependentDrawing                \
-    XContextualDrawing                      \
-    XDirectionalDependentDrawing
-
-XGraphicsExposeEvent_shadows = \
-    XNoExposeEvent
-
-XrmGetFileDatabase_shadows = \
-    XrmPutFileDatabase                      \
-    XrmGetStringDatabase                    \
-    XrmLocaleOfDatabase                     \
-    XrmGetDatabase                          \
-    XrmSetDatabase                          \
-    XrmDestroyDatabase
-
-XrmGetResource_shadows = \
-    XrmQGetResource                         \
-    XrmQGetSearchList                       \
-    XrmQGetSearchResource
-
-XGetEventData_shadows = \
-    XFreeEventData                          \
-    XGenericEventCookie
-
-XGetVisualInfo_shadows = \
-    XMatchVisualInfo                        \
-    XVisualIDFromVisual                     \
-    XVisualInfo
-
-XGetWindowAttributes_shadows = \
-    XGetGeometry                            \
-    XWindowAttributes
-
-XGetWindowProperty_shadows = \
-    XListProperties                         \
-    XChangeProperty                         \
-    XRotateWindowProperties                 \
-    XDeleteProperty
-
-XGrabButton_shadows = \
-    XUngrabButton
-
-XGrabKey_shadows = \
-    XUngrabKey
-
-XGrabKeyboard_shadows = \
-    XUngrabKeyboard
-
-XGrabPointer_shadows = \
-    XUngrabPointer                          \
-    XChangeActivePointerGrab
-
-XGrabServer_shadows = \
-    XUngrabServer
-
-XIconifyWindow_shadows = \
-    XWithdrawWindow                         \
-    XReconfigureWMWindow
-
-XIfEvent_shadows = \
-    XCheckIfEvent                           \
-    XPeekIfEvent
-
-XrmInitialize_shadows = \
-    XrmParseCommand                         \
-    XrmValue                                \
-    XrmOptionKind                           \
-    XrmOptionDescRec
-
-XInstallColormap_shadows = \
-    XUninstallColormap                      \
-    XListInstalledColormaps
-
-XAddConnectionWatch_shadows = \
-    XRemoveConnectionWatch                  \
-    XProcessInternalConnection              \
-    XInternalConnectionNumbers
-
-XIntersectRegion_shadows = \
-    XUnionRegion                            \
-    XUnionRectWithRegion                    \
-    XSubtractRegion                         \
-    XXorRegion                              \
-    XOffsetRegion                           \
-    XShrinkRegion
-
-XInternAtom_shadows = \
-    XInternAtoms                            \
-    XGetAtomName                            \
-    XGetAtomNames
-
-XListFonts_shadows = \
-    XFreeFontNames                          \
-    XListFontsWithInfo                      \
-    XFreeFontInfo
-
-XLoadFont_shadows = \
-    XQueryFont                              \
-    XLoadQueryFont                          \
-    XFreeFont                               \
-    XGetFontProperty                        \
-    XUnloadFont                             \
-    XCharStruct                             \
-    XFontProp                               \
-    XChar2b                                 \
-    XFontStruct
-
-XLookupKeysym_shadows = \
-    XRefreshKeyboardMapping                 \
-    XLookupString                           \
-    XRebindKeysym
-
-XrmMergeDatabases_shadows = \
-    XrmCombineDatabase                      \
-    XrmCombineFileDatabase
-
-XMapEvent_shadows = \
-    XMappingEvent
-
-XMapWindow_shadows = \
-    XMapRaised                              \
-    XMapSubwindows
-
-XNextEvent_shadows = \
-    XPeekEvent                              \
-    XWindowEvent                            \
-    XCheckWindowEvent                       \
-    XMaskEvent                              \
-    XCheckMaskEvent                         \
-    XCheckTypedEvent                        \
-    XCheckTypedWindowEvent
-
-XOpenDisplay_shadows = \
-    XCloseDisplay
-
-XOpenIM_shadows = \
-    XCloseIM                                \
-    XSetIMValues                            \
-    XGetIMValues                            \
-    XDisplayOfIM                            \
-    XLocaleOfIM                             \
-    XRegisterIMInstantiateCallback          \
-    XUnregisterIMInstantiateCallback
-
-XOpenOM_shadows = \
-    XCloseOM                                \
-    XSetOMValues                            \
-    XGetOMValues                            \
-    XDisplayOfOM                            \
-    XLocaleOfOM
-
-XParseGeometry_shadows = \
-    XWMGeometry
-
-XPolygonRegion_shadows = \
-    XClipBox
-
-XPutImage_shadows = \
-    XGetImage                               \
-    XGetSubImage
-
-XrmPutResource_shadows = \
-    XrmQPutResource                         \
-    XrmPutStringResource                    \
-    XrmQPutStringResource                   \
-    XrmPutLineResource
-
-XQueryBestSize_shadows = \
-    XQueryBestTile                          \
-    XQueryBestStipple
-
-XQueryColor_shadows = \
-    XQueryColors                            \
-    XLookupColor                            \
-    XParseColor
-
-XQueryExtension_shadows = \
-    XListExtensions                         \
-    XFreeExtensionList
-
-XResourceManagerString_shadows = \
-    XScreenResourceString
-
-XRaiseWindow_shadows = \
-    XLowerWindow                            \
-    XCirculateSubwindows                    \
-    XCirculateSubwindowsUp                  \
-    XCirculateSubwindowsDown                \
-    XRestackWindows
-
-XReadBitmapFile_shadows = \
-    XReadBitmapFileData                     \
-    XWriteBitmapFile                        \
-    XCreatePixmapFromBitmapData             \
-    XCreateBitmapFromData
-
-XRecolorCursor_shadows = \
-    XFreeCursor                             \
-    XQueryBestCursor
-
-XSaveContext_shadows = \
-    XFindContext                            \
-    XDeleteContext                          \
-    XUniqueContext
-
-XSetICFocus_shadows = \
-    XUnsetICFocus
-
-XSetICValues_shadows = \
-    XGetICValues
-
-XStringListToTextProperty_shadows = \
-    XTextPropertyToStringList               \
-    XFreeStringList                         \
-    XTextProperty
-
-XSetArcMode_shadows = \
-    XSetSubwindowMode                       \
-    XSetGraphicsExposure
-
-XSetClipOrigin_shadows = \
-    XSetClipMask                            \
-    XSetClipRectangles
-
-XSetCloseDownMode_shadows = \
-    XKillClient
-
-XSetCommand_shadows = \
-    XGetCommand
-
-XSetErrorHandler_shadows = \
-    XGetErrorText                           \
-    XDisplayName                            \
-    XSetIOErrorHandler                      \
-    XGetErrorDatabaseText
-
-XSendEvent_shadows = \
-    XDisplayMotionBufferSize                \
-    XGetMotionEvents                        \
-    XTimeCoord
-
-XSetFillStyle_shadows = \
-    XSetFillRule
-
-XSetFontPath_shadows = \
-    XGetFontPath                            \
-    XFreeFontPath
-
-XSetInputFocus_shadows = \
-    XGetInputFocus
-
-XSetLineAttributes_shadows = \
-    XSetDashes
-
-XSetPointerMapping_shadows = \
-    XGetPointerMapping
-
-XSetScreenSaver_shadows = \
-    XForceScreenSaver                       \
-    XActivateScreenSaver                    \
-    XResetScreenSaver                       \
-    XGetScreenSaver
-
-XSetSelectionOwner_shadows = \
-    XGetSelectionOwner                      \
-    XConvertSelection
-
-XSetState_shadows = \
-    XSetFunction                            \
-    XSetPlaneMask                           \
-    XSetForeground                          \
-    XSetBackground
-
-XSetTransientForHint_shadows = \
-    XGetTransientForHint
-
-XSetTextProperty_shadows = \
-    XGetTextProperty
-
-XSetTile_shadows = \
-    XSetStipple                             \
-    XSetTSOrigin
-
-XSetWMClientMachine_shadows = \
-    XGetWMClientMachine
-
-XSetWMColormapWindows_shadows = \
-    XGetWMColormapWindows
-
-XSetWMIconName_shadows = \
-    XGetWMIconName                          \
-    XSetIconName                            \
-    XGetIconName
-
-XSetWMName_shadows = \
-    XGetWMName                              \
-    XStoreName                              \
-    XFetchName
-
-XSetWMProperties_shadows = \
-    XmbSetWMProperties                      \
-    Xutf8SetWMProperties
-
-XSetWMProtocols_shadows = \
-    XGetWMProtocols
-
-XStoreBytes_shadows = \
-    XStoreBuffer                            \
-    XFetchBytes                             \
-    XFetchBuffer                            \
-    XRotateBuffers
-
-XStoreColors_shadows = \
-    XStoreColor                             \
-    XStoreNamedColor
-
-XStringToKeysym_shadows = \
-    XKeysymToString                         \
-    XKeycodeToKeysym                        \
-    XKeysymToKeycode                        \
-    XConvertCase
-
-XSupportsLocale_shadows = \
-    XSetLocaleModifiers
-
-XSynchronize_shadows = \
-    XSetAfterFunction
-
-XmbTextListToTextProperty_shadows = \
-    XwcTextListToTextProperty               \
-    Xutf8TextListToTextProperty             \
-    XmbTextPropertyToTextList               \
-    XwcTextPropertyToTextList               \
-    Xutf8TextPropertyToTextList             \
-    XwcFreeStringList                       \
-    XDefaultString
-
-XTextExtents_shadows = \
-    XTextExtents16                          \
-    XQueryTextExtents                       \
-    XQueryTextExtents16
-
-XTextWidth_shadows = \
-    XTextWidth16
-
-XInitThreads_shadows = \
-    XLockDisplay                            \
-    XUnlockDisplay
-
-XrmUniqueQuark_shadows = \
-    XrmStringToQuark                        \
-    XrmPermStringToQuark                    \
-    XrmQuarkToString                        \
-    XrmStringToQuarkList                    \
-    XrmStringToBindingQuarkList
-
-XUnmapWindow_shadows = \
-    XUnmapSubwindows
-
-XcmsCCCOfColormap_shadows = \
-    XcmsSetCCCOfColormap
-
-XcmsAllocColor_shadows = \
-    XcmsAllocNamedColor
-
-XcmsColor_shadows = \
-    XcmsRGB                                 \
-    XcmsRGBi                                \
-    XcmsCIEXYZ                              \
-    XcmsCIEuvY                              \
-    XcmsCIExyY                              \
-    XcmsCIELab                              \
-    XcmsCIELuv                              \
-    XcmsTekHVC                              \
-    XcmsPad
-
-XcmsCreateCCC_shadows = \
-    XcmsFreeCCC
-
-XcmsCIELabQueryMaxC_shadows = \
-    XcmsCIELabQueryMaxL                     \
-    XcmsCIELabQueryMaxLC                    \
-    XcmsCIELabQueryMinL
-
-XcmsCIELuvQueryMaxC_shadows = \
-    XcmsCIELuvQueryMaxL                     \
-    XcmsCIELuvQueryMaxLC                    \
-    XcmsCIELuvQueryMinL
-
-XcmsQueryBlack_shadows = \
-    XcmsQueryBlue                           \
-    XcmsQueryGreen                          \
-    XcmsQueryRed                            \
-    XcmsQueryWhite
-
-XcmsQueryColor_shadows = \
-    XcmsQueryColors                         \
-    XcmsLookupColor
-
-XcmsStoreColor_shadows = \
-    XcmsStoreColors
-
-XcmsSetWhitePoint_shadows = \
-    XcmsSetWhiteAdjustProc
-
-XcmsTekHVCQueryMaxC_shadows = \
-    XcmsTekHVCQueryMaxV                     \
-    XcmsTekHVCQueryMaxVC                    \
-    XcmsTekHVCQueryMaxVSamples              \
-    XcmsTekHVCQueryMinV
-
-XmbDrawImageString_shadows = \
-    XwcDrawImageString                      \
-    Xutf8DrawImageString
-
-XmbDrawString_shadows = \
-    XwcDrawString                           \
-    Xutf8DrawString
-
-XmbDrawText_shadows = \
-    XwcDrawText                             \
-    Xutf8DrawText
-
-XmbLookupString_shadows = \
-    XwcLookupString                         \
-    Xutf8LookupString
-
-XmbResetIC_shadows = \
-    XwcResetIC                              \
-    Xutf8ResetIC
-
-XmbTextEscapement_shadows = \
-    XwcTextEscapement                       \
-    Xutf8TextEscapement
-
-XmbTextExtents_shadows = \
-    XwcTextExtents                          \
-    Xutf8TextExtents
-
-XmbTextPerCharExtents_shadows = \
-    XwcTextPerCharExtents                   \
-    Xutf8TextPerCharExtents
-
-file_shadows = \
-    $(Compose_shadows)
-
-Compose_shadows = \
-    XCompose
-
-all: all-recursive
-
-.SUFFIXES:
-.SUFFIXES: .$(LIB_MAN_SUFFIX) .$(FILE_MAN_SUFFIX) .man
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign man/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-filemanDATA: $(fileman_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(filemandir)" || $(MKDIR_P) "$(DESTDIR)$(filemandir)"
-       @list='$(fileman_DATA)'; test -n "$(filemandir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filemandir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(filemandir)" || exit $$?; \
-       done
-
-uninstall-filemanDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(fileman_DATA)'; test -n "$(filemandir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(filemandir)'; $(am__uninstall_files_from_dir)
-install-libmanDATA: $(libman_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libmandir)" || $(MKDIR_P) "$(DESTDIR)$(libmandir)"
-       @list='$(libman_DATA)'; test -n "$(libmandir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmandir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(libmandir)" || exit $$?; \
-       done
-
-uninstall-libmanDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libman_DATA)'; test -n "$(libmandir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(libmandir)'; $(am__uninstall_files_from_dir)
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile $(DATA)
-installdirs: installdirs-recursive
-installdirs-am:
-       for dir in "$(DESTDIR)$(filemandir)" "$(DESTDIR)$(libmandir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am: install-filemanDATA install-libmanDATA
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-filemanDATA uninstall-libmanDATA
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-filemanDATA install-html \
-       install-html-am install-info install-info-am \
-       install-libmanDATA install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am uninstall-filemanDATA \
-       uninstall-libmanDATA
-
-
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-.man.$(LIB_MAN_SUFFIX) .man.$(FILE_MAN_SUFFIX):
-       $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 765162f..e58afff 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAddConnectionWatch __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b048dd7..44f3dba 100644 (file)
@@ -75,7 +75,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAddHost __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -320,12 +259,10 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int family;     /\&* for example FamilyInternet */
-       int length;     /\&* length of address, in bytes */
-       char *address;  /\&* pointer to where to find the address */
+        int family;     /\&* for example FamilyInternet */
+        int length;     /\&* length of address, in bytes */
+        char *address;  /\&* pointer to where to find the address */
 } XHostAddress;
 .De
 .LP
@@ -346,13 +283,11 @@ member is a pointer to a
 structure which contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int typelength;         /\&* length of type string, in bytes */
-       int valuelength;        /\&* length of value string, in bytes */
-       char *type;             /\&* pointer to where to find the type string */
-       char *value;            /\&* pointer to where to find the address */
+        int typelength;         /\&* length of type string, in bytes */
+        int valuelength;        /\&* length of value string, in bytes */
+        char *type;             /\&* pointer to where to find the type string */
+        char *value;            /\&* pointer to where to find the address */
 } XServerInterpretedAddress;
 .De
 .LP
index 438ec1e..34d0ce7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAllocClassHint __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -221,13 +160,10 @@ structure contains:
 .LP
 .IN "XClassHint" "" "@DEF@"
 .Ds 0
-.TA .5i
-.ta .5i
 typedef struct {
-       char *res_name;
-       char *res_class;
+        char *res_name;
+        char *res_class;
 } XClassHint;
-.De
 .LP
 The res_name member contains the application name, 
 and the res_class member contains the application class. 
index 851f4d7..7b21b56 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" e
 .TH XAllocColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
index eb13027..c8b9087 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAllocIconSize __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -224,12 +163,10 @@ structure contains:
 .LP
 .IN "XIconSize" "" "@DEF@"
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       int min_width, min_height;
-       int max_width, max_height;
-       int width_inc, height_inc;
+        int min_width, min_height;
+        int max_width, max_height;
+        int width_inc, height_inc;
 } XIconSize;
 .De
 .LP
index 838d497..9c01736 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XAllocSizeHints __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -426,24 +365,22 @@ T}
 .TE
 .IN "XSizeHints" "" "@DEF@"
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 /\&* Values */
 
 typedef struct {
-       long flags;     /\&* marks which fields in this structure are defined */
-       int x, y;       /\&* Obsolete */
-       int width, height;      /\&* Obsolete */
-       int min_width, min_height;
-       int max_width, max_height;
-       int width_inc, height_inc;
-       struct {
-              int x;   /\&* numerator */
-              int y;   /\&* denominator */
-       } min_aspect, max_aspect;
-       int base_width, base_height;
-       int win_gravity;
-       /\&* this structure may be extended in the future */
+        long flags;     /\&* marks which fields in this structure are defined */
+        int x, y;       /\&* Obsolete */
+        int width, height;      /\&* Obsolete */
+        int min_width, min_height;
+        int max_width, max_height;
+        int width_inc, height_inc;
+        struct {
+               int x;   /\&* numerator */
+               int y;   /\&* denominator */
+        } min_aspect, max_aspect;
+        int base_width, base_height;
+        int win_gravity;
+        /\&* this structure may be extended in the future */
 } XSizeHints;
 .De
 .LP
index 813e893..13cab68 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XAllocStandardColormap __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -296,19 +235,17 @@ T}
 /\&* Values */
 .IN "XStandardColormap" "" "@DEF@"
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       Colormap colormap;
-       unsigned long red_max;
-       unsigned long red_mult;
-       unsigned long green_max;
-       unsigned long green_mult;
-       unsigned long blue_max;
-       unsigned long blue_mult;
-       unsigned long base_pixel;
-       VisualID visualid;
-       XID killid;
+        Colormap colormap;
+        unsigned long red_max;
+        unsigned long red_mult;
+        unsigned long green_max;
+        unsigned long green_mult;
+        unsigned long blue_max;
+        unsigned long blue_mult;
+        unsigned long base_pixel;
+        VisualID visualid;
+        XID killid;
 } XStandardColormap;
 .De
 .LP
@@ -344,8 +281,6 @@ ranges, one then can compute a corresponding pixel value by
 using the following expression:
 .LP
 .Ds
-.TA .5i 1.5i
-.ta .5i 1.5i
 (r * red_mult + g * green_mult + b * blue_mult + base_pixel) & 0xFFFFFFFF
 .De
 .LP
@@ -360,8 +295,6 @@ To compute a
 pixel value, use the following expression:
 .LP
 .Ds
-.TA .5i 1.5i
-.ta .5i 1.5i
 (gray * red_mult + base_pixel) & 0xFFFFFFFF
 .De
 .LP
index 5b402fe..f871c36 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XAllocWMHints __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -288,21 +227,19 @@ T}
 .TE
 .IN "XWMHints" "" "@DEF@"
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 /\&* Values */
 
 typedef struct {
-       long flags;     /\&* marks which fields in this structure are defined */
-       Bool input;     /\&* does this application rely on the window manager to
-                       get keyboard input? */
-       int initial_state;      /\&* see below */
-       Pixmap icon_pixmap;     /\&* pixmap to be used as icon */
-       Window icon_window;     /\&* window to be used as icon */
-       int icon_x, icon_y;     /\&* initial position of icon */
-       Pixmap icon_mask;       /\&* pixmap to be used as mask for icon_pixmap */
-       XID window_group;       /\&* id of related window group */
-       /\&* this structure may be extended in the future */
+        long flags;     /\&* marks which fields in this structure are defined */
+        Bool input;     /\&* does this application rely on the window manager to
+                        get keyboard input? */
+        int initial_state;      /\&* see below */
+        Pixmap icon_pixmap;     /\&* pixmap to be used as icon */
+        Window icon_window;     /\&* window to be used as icon */
+        int icon_x, icon_y;     /\&* initial position of icon */
+        Pixmap icon_mask;       /\&* pixmap to be used as mask for icon_pixmap */
+        XID window_group;       /\&* id of related window group */
+        /\&* this structure may be extended in the future */
 } XWMHints;
 .De
 .LP
index cb95e8a..cecb006 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAllowEvents __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index af35218..651be42 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XAnyEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -147,14 +86,12 @@ All the event structures declared in
 .Pn < X11/Xlib.h >
 have the following common members:
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
+        int type;
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
 } XAnyEvent;
 .De
 .LP
@@ -181,42 +118,40 @@ The
 .ZN XEvent
 structure is a union of the individual structures declared for each event type:
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef union _XEvent {
-       int type;       /\&* must not be changed */
-       XAnyEvent xany;
-       XKeyEvent xkey;
-       XButtonEvent xbutton;
-       XMotionEvent xmotion;
-       XCrossingEvent xcrossing;
-       XFocusChangeEvent xfocus;
-       XExposeEvent xexpose;
-       XGraphicsExposeEvent xgraphicsexpose;
-       XNoExposeEvent xnoexpose;
-       XVisibilityEvent xvisibility;
-       XCreateWindowEvent xcreatewindow;
-       XDestroyWindowEvent xdestroywindow;
-       XUnmapEvent xunmap;
-       XMapEvent xmap;
-       XMapRequestEvent xmaprequest;
-       XReparentEvent xreparent;
-       XConfigureEvent xconfigure;
-       XGravityEvent xgravity;
-       XResizeRequestEvent xresizerequest;
-       XConfigureRequestEvent xconfigurerequest;
-       XCirculateEvent xcirculate;
-       XCirculateRequestEvent xcirculaterequest;
-       XPropertyEvent xproperty;
-       XSelectionClearEvent xselectionclear;
-       XSelectionRequestEvent xselectionrequest;
-       XSelectionEvent xselection;
-       XColormapEvent xcolormap;
-       XClientMessageEvent xclient;
-       XMappingEvent xmapping;
-       XErrorEvent xerror;
-       XKeymapEvent xkeymap;
-       long pad[24];
+        int type;       /\&* must not be changed */
+        XAnyEvent xany;
+        XKeyEvent xkey;
+        XButtonEvent xbutton;
+        XMotionEvent xmotion;
+        XCrossingEvent xcrossing;
+        XFocusChangeEvent xfocus;
+        XExposeEvent xexpose;
+        XGraphicsExposeEvent xgraphicsexpose;
+        XNoExposeEvent xnoexpose;
+        XVisibilityEvent xvisibility;
+        XCreateWindowEvent xcreatewindow;
+        XDestroyWindowEvent xdestroywindow;
+        XUnmapEvent xunmap;
+        XMapEvent xmap;
+        XMapRequestEvent xmaprequest;
+        XReparentEvent xreparent;
+        XConfigureEvent xconfigure;
+        XGravityEvent xgravity;
+        XResizeRequestEvent xresizerequest;
+        XConfigureRequestEvent xconfigurerequest;
+        XCirculateEvent xcirculate;
+        XCirculateRequestEvent xcirculaterequest;
+        XPropertyEvent xproperty;
+        XSelectionClearEvent xselectionclear;
+        XSelectionRequestEvent xselectionrequest;
+        XSelectionEvent xselection;
+        XColormapEvent xcolormap;
+        XClientMessageEvent xclient;
+        XMappingEvent xmapping;
+        XErrorEvent xerror;
+        XKeymapEvent xkeymap;
+        long pad[24];
 } XEvent;
 .De
 .LP
index 607897f..14a8bc6 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XButtonEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -153,66 +92,60 @@ and
 events contain:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ButtonPress or ButtonRelease */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* ``event'' window it is reported relative to */
-       Window root;    /\&* root window that the event occurred on */
-       Window subwindow;       /\&* child window */
-       Time time;      /\&* milliseconds */
-       int x, y;       /\&* pointer x, y coordinates in event window */
-       int x_root, y_root;     /\&* coordinates relative to root */
-       unsigned int state;     /\&* key or button mask */
-       unsigned int button;    /\&* detail */
-       Bool same_screen;       /\&* same screen flag */
+        int type;       /\&* ButtonPress or ButtonRelease */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* ``event'' window it is reported relative to */
+        Window root;    /\&* root window that the event occurred on */
+        Window subwindow;       /\&* child window */
+        Time time;      /\&* milliseconds */
+        int x, y;       /\&* pointer x, y coordinates in event window */
+        int x_root, y_root;     /\&* coordinates relative to root */
+        unsigned int state;     /\&* key or button mask */
+        unsigned int button;    /\&* detail */
+        Bool same_screen;       /\&* same screen flag */
 } XButtonEvent;
 typedef XButtonEvent XButtonPressedEvent;
 typedef XButtonEvent XButtonReleasedEvent;
 .De
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* KeyPress or KeyRelease */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* ``event'' window it is reported relative to */
-       Window root;    /\&* root window that the event occurred on */
-       Window subwindow;       /\&* child window */
-       Time time;      /\&* milliseconds */
-       int x, y;       /\&* pointer x, y coordinates in event window */
-       int x_root, y_root;     /\&* coordinates relative to root */
-       unsigned int state;     /\&* key or button mask */
-       unsigned int keycode;   /\&* detail */
-       Bool same_screen;       /\&* same screen flag */
+        int type;       /\&* KeyPress or KeyRelease */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* ``event'' window it is reported relative to */
+        Window root;    /\&* root window that the event occurred on */
+        Window subwindow;       /\&* child window */
+        Time time;      /\&* milliseconds */
+        int x, y;       /\&* pointer x, y coordinates in event window */
+        int x_root, y_root;     /\&* coordinates relative to root */
+        unsigned int state;     /\&* key or button mask */
+        unsigned int keycode;   /\&* detail */
+        Bool same_screen;       /\&* same screen flag */
 } XKeyEvent;
 typedef XKeyEvent XKeyPressedEvent;
 typedef XKeyEvent XKeyReleasedEvent;
 .De
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* MotionNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* ``event'' window reported relative to */
-       Window root;    /\&* root window that the event occurred on */
-       Window subwindow;       /\&* child window */
-       Time time;      /\&* milliseconds */
-       int x, y;       /\&* pointer x, y coordinates in event window */
-       int x_root, y_root;     /\&* coordinates relative to root */
-       unsigned int state;     /\&* key or button mask */
-       char is_hint;   /\&* detail */
-       Bool same_screen;       /\&* same screen flag */
+        int type;       /\&* MotionNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* ``event'' window reported relative to */
+        Window root;    /\&* root window that the event occurred on */
+        Window subwindow;       /\&* child window */
+        Time time;      /\&* milliseconds */
+        int x, y;       /\&* pointer x, y coordinates in event window */
+        int x_root, y_root;     /\&* coordinates relative to root */
+        unsigned int state;     /\&* key or button mask */
+        char is_hint;   /\&* detail */
+        Bool same_screen;       /\&* same screen flag */
 } XMotionEvent;
 typedef XMotionEvent XPointerMovedEvent;
 .De
index 63f9392..efaf0ee 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XChangeKeyboardControl __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -311,20 +250,18 @@ T}
 .TE
 .IN "XKeyboardControl" "" "@DEF@"
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 /\&* Values */
 
 typedef struct {
-       int key_click_percent;
-       int bell_percent;
-       int bell_pitch;
-       int bell_duration;
-       int led;
-       int led_mode;   /\&* LedModeOn, LedModeOff */
-       int key;
-       int auto_repeat_mode;   /\&* AutoRepeatModeOff, AutoRepeatModeOn, 
-                               AutoRepeatModeDefault */
+        int key_click_percent;
+        int bell_percent;
+        int bell_pitch;
+        int bell_duration;
+        int led;
+        int led_mode;   /\&* LedModeOn, LedModeOff */
+        int key;
+        int auto_repeat_mode;   /\&* AutoRepeatModeOff, AutoRepeatModeOn, 
+                                AutoRepeatModeDefault */
 } XKeyboardControl;
 .De
 .LP
@@ -405,15 +342,13 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 
-.ta .5i
 typedef struct {
-       int key_click_percent;
-       int bell_percent;
-       unsigned int bell_pitch, bell_duration;
-       unsigned long led_mask;
-       int global_auto_repeat;
-       char auto_repeats[32];
+        int key_click_percent;
+        int bell_percent;
+        unsigned int bell_pitch, bell_duration;
+        unsigned long led_mask;
+        int global_auto_repeat;
+        char auto_repeats[32];
 } XKeyboardState;
 .De
 .LP
index b964548..3cb8095 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XChangeKeyboardMapping __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -423,11 +362,9 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       int max_keypermod;      /\&* This server's max number of keys per modifier */
-       KeyCode *modifiermap;   /\&* An 8 by max_keypermod array of the modifiers */
+        int max_keypermod;      /\&* This server's max number of keys per modifier */
+        KeyCode *modifiermap;   /\&* An 8 by max_keypermod array of the modifiers */
 } XModifierKeymap;
 .De
 .SH DIAGNOSTICS
index 3a8fa6f..57d46a3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XChangePointerControl __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0192409..0858f0e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XChangeSaveSet __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3789a51..9075d55 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XChangeWindowAttributes __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 304f34e..e5f41cf 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCirculateEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* CirculateNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       int place;      /\&* PlaceOnTop, PlaceOnBottom */
+        int type;       /\&* CirculateNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        int place;      /\&* PlaceOnTop, PlaceOnBottom */
 } XCirculateEvent;
 .De
 .LP
index 8a7afdb..146a71e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCirculateRequestEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* CirculateRequest */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window parent;
-       Window window;
-       int place;      /\&* PlaceOnTop, PlaceOnBottom */
+        int type;       /\&* CirculateRequest */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window parent;
+        Window window;
+        int place;      /\&* PlaceOnTop, PlaceOnBottom */
 } XCirculateRequestEvent;
 .De
 .LP
index 3bdb86e..64f34bd 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XClearArea __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f8239a8..fc42114 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XClientMessageEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,21 +87,19 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 1i 3i
-.ta .5i 1i 3i
 typedef struct {
-       int type;       /\&* ClientMessage */
-       unsigned long serial;           /\&* # of last request processed by server */
-       Bool send_event;                /\&* true if this came from a SendEvent request */
-       Display *display;               /\&* Display the event was read from */
-       Window window;
-       Atom message_type;
-       int format;
-       union {
-               char b[20];
-               short s[10];
-               long l[5];
-               } data;
+        int type;       /\&* ClientMessage */
+        unsigned long serial;           /\&* # of last request processed by server */
+        Bool send_event;                /\&* true if this came from a SendEvent request */
+        Display *display;               /\&* Display the event was read from */
+        Window window;
+        Atom message_type;
+        int format;
+        union {
+                char b[20];
+                short s[10];
+                long l[5];
+                } data;
 } XClientMessageEvent;
 .De
 .LP
index 02f89d6..f793ac7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XColormapEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,17 +87,15 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ColormapNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       Colormap colormap;      /\&* colormap or None */
-       Bool new;
-       int state;      /\&* ColormapInstalled, ColormapUninstalled */
+        int type;       /\&* ColormapNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        Colormap colormap;      /\&* colormap or None */
+        Bool new;
+        int state;      /\&* ColormapInstalled, ColormapUninstalled */
 } XColormapEvent;
 .De
 .LP
index 589e939..103e3da 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XConfigureEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,20 +87,18 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ConfigureNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       int x, y;
-       int width, height;
-       int border_width;
-       Window above;
-       Bool override_redirect;
+        int type;       /\&* ConfigureNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        int x, y;
+        int width, height;
+        int border_width;
+        Window above;
+        Bool override_redirect;
 } XConfigureEvent;
 .De
 .LP
index fc5a836..520e3f8 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XConfigureRequestEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,21 +87,19 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ConfigureRequest */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window parent;
-       Window window;
-       int x, y;
-       int width, height;
-       int border_width;
-       Window above;
-       int detail;     /\&* Above, Below, TopIf, BottomIf, Opposite */
-       unsigned long value_mask;
+        int type;       /\&* ConfigureRequest */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window parent;
+        Window window;
+        int x, y;
+        int width, height;
+        int border_width;
+        Window above;
+        int detail;     /\&* Above, Below, TopIf, BottomIf, Opposite */
+        unsigned long value_mask;
 } XConfigureRequestEvent;
 .De
 .LP
index e91dd02..156cbec 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XConfigureWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -387,16 +326,14 @@ T}
 .TE
 .IN "XWindowChanges" "" "@DEF@"
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 /\&* Values */
 
 typedef struct {
-       int x, y;
-       int width, height;
-       int border_width;
-       Window sibling;
-       int stack_mode;
+        int x, y;
+        int width, height;
+        int border_width;
+        Window sibling;
+        int stack_mode;
 } XWindowChanges;
 .De
 .LP
index 503cddd..86e6ff0 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCopyArea __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0a51739..9a75b26 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateColormap __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -308,13 +247,11 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       unsigned long pixel;    /\&* pixel value */
-       unsigned short red, green, blue;        /\&* rgb values */
-       char flags;     /\&* DoRed, DoGreen, DoBlue */  
-       char pad;
+        unsigned long pixel;    /\&* pixel value */
+        unsigned short red, green, blue;        /\&* rgb values */
+        char flags;     /\&* DoRed, DoGreen, DoBlue */  
+        char pad;
 } XColor;
 .De
 .LP
index ba8431e..637d926 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateFontCursor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 7e442d9..38cb9f3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateFontSet __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 72a31f0..de0d039 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XCreateGC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -476,34 +415,32 @@ T}
 .TE
 .IN "XGCValues" "" "@DEF@"
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 /\&* Values */
 
 typedef struct {
-       int function;   /\&* logical operation */
-       unsigned long plane_mask;       /\&* plane mask */
-       unsigned long foreground;       /\&* foreground pixel */
-       unsigned long background;       /\&* background pixel */
-       int line_width; /\&* line width (in pixels) */
-       int line_style; /\&* LineSolid, LineOnOffDash, LineDoubleDash */
-       int cap_style;  /\&* CapNotLast, CapButt, CapRound, CapProjecting */
-       int join_style; /\&* JoinMiter, JoinRound, JoinBevel */
-       int fill_style; /\&* FillSolid, FillTiled, FillStippled FillOpaqueStippled*/
-       int fill_rule;  /\&* EvenOddRule, WindingRule */
-       int arc_mode;   /\&* ArcChord, ArcPieSlice */
-       Pixmap tile;    /\&* tile pixmap for tiling operations */
-       Pixmap stipple; /\&* stipple 1 plane pixmap for stippling */
-       int ts_x_origin;        /\&* offset for tile or stipple operations */
-       int ts_y_origin;
-       Font font;      /\&* default text font for text operations */
-       int subwindow_mode;     /\&* ClipByChildren, IncludeInferiors */
-       Bool graphics_exposures;        /\&* boolean, should exposures be generated */
-       int clip_x_origin;      /\&* origin for clipping */
-       int clip_y_origin;
-       Pixmap clip_mask;       /\&* bitmap clipping; other calls for rects */
-       int dash_offset;        /\&* patterned/dashed line information */
-       char dashes;
+        int function;   /\&* logical operation */
+        unsigned long plane_mask;       /\&* plane mask */
+        unsigned long foreground;       /\&* foreground pixel */
+        unsigned long background;       /\&* background pixel */
+        int line_width; /\&* line width (in pixels) */
+        int line_style; /\&* LineSolid, LineOnOffDash, LineDoubleDash */
+        int cap_style;  /\&* CapNotLast, CapButt, CapRound, CapProjecting */
+        int join_style; /\&* JoinMiter, JoinRound, JoinBevel */
+        int fill_style; /\&* FillSolid, FillTiled, FillStippled FillOpaqueStippled*/
+        int fill_rule;  /\&* EvenOddRule, WindingRule */
+        int arc_mode;   /\&* ArcChord, ArcPieSlice */
+        Pixmap tile;    /\&* tile pixmap for tiling operations */
+        Pixmap stipple; /\&* stipple 1 plane pixmap for stippling */
+        int ts_x_origin;        /\&* offset for tile or stipple operations */
+        int ts_y_origin;
+        Font font;      /\&* default text font for text operations */
+        int subwindow_mode;     /\&* ClipByChildren, IncludeInferiors */
+        Bool graphics_exposures;        /\&* boolean, should exposures be generated */
+        int clip_x_origin;      /\&* origin for clipping */
+        int clip_y_origin;
+        Pixmap clip_mask;       /\&* bitmap clipping; other calls for rects */
+        int dash_offset;        /\&* patterned/dashed line information */
+        char dashes;
 } XGCValues;
 .De
 .LP
@@ -523,7 +460,7 @@ are:
 .\" and operation.
 .\".CP T 1
 .\"Display Functions
-.TS H
+.TS
 lw(1.5i) cw(.5i) lw(2i).
 _
 .sp 6p
@@ -532,7 +469,6 @@ Function Name       Value   Operation
 .sp 6p
 _
 .sp 6p
-.TH
 T{
 .ZN GXclear
 T}     T{
@@ -685,8 +621,6 @@ the bounding box of a wide line with endpoints [x1, y1], [x2, y2] and
 width w is a rectangle with vertices at the following real coordinates:
 .LP
 .Ds
-.TA .5i 2.5i
-.ta .5i 2.5i
 [x1-(w*sn/2), y1+(w*cs/2)], [x1+(w*sn/2), y1-(w*cs/2)],
 [x2-(w*sn/2), y2+(w*cs/2)], [x2+(w*sn/2), y2-(w*cs/2)]
 .De
index 822cc8e..290ea3d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateIC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 5c3e8dc..e04a1ef 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateOC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index ef54ac5..d9d6422 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreatePixmap __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0f6d324..7759035 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateRegion __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8d122d5..16cc745 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XCreateWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -428,26 +367,24 @@ T}
 .TE
 .IN "XSetWindowAttributes" "" "@DEF@"
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 /\&* Values */
 
 typedef struct {
-       Pixmap background_pixmap;       /\&* background, None, or ParentRelative */
-       unsigned long background_pixel; /\&* background pixel */
-       Pixmap border_pixmap;           /\&* border of the window or CopyFromParent */
-       unsigned long border_pixel;     /\&* border pixel value */
-       int bit_gravity;        /\&* one of bit gravity values */
-       int win_gravity;        /\&* one of the window gravity values */
-       int backing_store;      /\&* NotUseful, WhenMapped, Always */
-       unsigned long backing_planes;   /\&* planes to be preserved if possible */
-       unsigned long backing_pixel;    /\&* value to use in restoring planes */
-       Bool save_under;        /\&* should bits under be saved? (popups) */
-       long event_mask;        /\&* set of events that should be saved */
-       long do_not_propagate_mask;     /\&* set of events that should not propagate */
-       Bool override_redirect; /\&* boolean value for override_redirect */
-       Colormap colormap;      /\&* color map to be associated with window */
-       Cursor cursor;          /\&* cursor to be displayed (or None) */
+        Pixmap background_pixmap;       /\&* background, None, or ParentRelative */
+        unsigned long background_pixel; /\&* background pixel */
+        Pixmap border_pixmap;           /\&* border of the window or CopyFromParent */
+        unsigned long border_pixel;     /\&* border pixel value */
+        int bit_gravity;        /\&* one of bit gravity values */
+        int win_gravity;        /\&* one of the window gravity values */
+        int backing_store;      /\&* NotUseful, WhenMapped, Always */
+        unsigned long backing_planes;   /\&* planes to be preserved if possible */
+        unsigned long backing_pixel;    /\&* value to use in restoring planes */
+        Bool save_under;        /\&* should bits under be saved? (popups) */
+        long event_mask;        /\&* set of events that should be saved */
+        long do_not_propagate_mask;     /\&* set of events that should not propagate */
+        Bool override_redirect; /\&* boolean value for override_redirect */
+        Colormap colormap;      /\&* color map to be associated with window */
+        Cursor cursor;          /\&* cursor to be displayed (or None) */
 } XSetWindowAttributes;
 .De
 .LP
index 410a1fb..9322bb5 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateWindowEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,19 +87,17 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* CreateNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window parent;  /\&* parent of the window */
-       Window window;  /\&* window id of window created */
-       int x, y;       /\&* window location */
-       int width, height;      /\&* size of window */
-       int border_width;       /\&* border width */
-       Bool override_redirect; /\&* creation should be overridden */
+        int type;       /\&* CreateNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window parent;  /\&* parent of the window */
+        Window window;  /\&* window id of window created */
+        int x, y;       /\&* window location */
+        int width, height;      /\&* size of window */
+        int border_width;       /\&* border width */
+        Bool override_redirect; /\&* creation should be overridden */
 } XCreateWindowEvent;
 .De
 .LP
index 9603105..98eaf55 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCrossingEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -150,28 +89,26 @@ and
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* EnterNotify or LeaveNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* ``event'' window reported relative to */
-       Window root;    /\&* root window that the event occurred on */
-       Window subwindow;       /\&* child window */
-       Time time;      /\&* milliseconds */
-       int x, y;       /\&* pointer x, y coordinates in event window */
-       int x_root, y_root;     /\&* coordinates relative to root */
-       int mode;       /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
-       int detail;
-               /\&*
-               * NotifyAncestor, NotifyVirtual, NotifyInferior, 
-               * NotifyNonlinear,NotifyNonlinearVirtual
-               */
-       Bool same_screen;       /\&* same screen flag */
-       Bool focus;     /\&* boolean focus */
-       unsigned int state;     /\&* key or button mask */
+        int type;       /\&* EnterNotify or LeaveNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* ``event'' window reported relative to */
+        Window root;    /\&* root window that the event occurred on */
+        Window subwindow;       /\&* child window */
+        Time time;      /\&* milliseconds */
+        int x, y;       /\&* pointer x, y coordinates in event window */
+        int x_root, y_root;     /\&* coordinates relative to root */
+        int mode;       /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
+        int detail;
+                /\&*
+                * NotifyAncestor, NotifyVirtual, NotifyInferior, 
+                * NotifyNonlinear,NotifyNonlinearVirtual
+                */
+        Bool same_screen;       /\&* same screen flag */
+        Bool focus;     /\&* boolean focus */
+        unsigned int state;     /\&* key or button mask */
 } XCrossingEvent;
 typedef XCrossingEvent XEnterWindowEvent;
 typedef XCrossingEvent XLeaveWindowEvent;
index 21e605d..4f003cc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDefineCursor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index aec3c89..c2bffb3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDestroyWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 954406a..7d6753b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDestroyWindowEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,15 +87,13 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* DestroyNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
+        int type;       /\&* DestroyNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
 } XDestroyWindowEvent;
 .De
 .LP
index 3621d1c..e916187 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .de EX
 .sp
index 480e2d4..15d6b24 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawImageString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8f22ecf..03433aa 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawLine __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -266,10 +205,8 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i
-.ta .5i
 typedef struct {
-       short x1, y1, x2, y2;
+        short x1, y1, x2, y2;
 } XSegment;
 .De
 .LP
index ca0e0b9..05721ca 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawPoint __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -210,10 +149,8 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i
-.ta .5i
 typedef struct {
-       short x, y;
+        short x, y;
 } XPoint;
 .De
 .LP
index 1383825..06fffe4 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawRectangle __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -215,11 +154,9 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i
-.ta .5i
 typedef struct {
-       short x, y;
-       unsigned short width, height;
+        short x, y;
+        unsigned short width, height;
 } XRectangle;
 .De
 .LP
index d9a9d35..6c8ec2b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 132ea97..c4cae4e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XDrawText __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -223,24 +162,20 @@ and
 structures contain:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       char *chars;    /\&* pointer to string */
-       int nchars;     /\&* number of characters */
-       int delta;      /\&* delta between strings */
-       Font font;      /\&* Font to print it in, None don't change */
+        char *chars;    /\&* pointer to string */
+        int nchars;     /\&* number of characters */
+        int delta;      /\&* delta between strings */
+        Font font;      /\&* Font to print it in, None don't change */
 } XTextItem;
 .De
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       XChar2b *chars; /\&* pointer to two-byte characters */
-       int nchars;     /\&* number of characters */
-       int delta;      /\&* delta between strings */
-       Font font;      /\&* font to print it in, None don't change */
+        XChar2b *chars; /\&* pointer to two-byte characters */
+        int nchars;     /\&* number of characters */
+        int delta;      /\&* delta between strings */
+        Font font;      /\&* font to print it in, None don't change */
 } XTextItem16;
 .De
 .LP
index bc00d4c..b87687f 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XEmptyRegion __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 37bb020..66c07d0 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XErrorEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       int type;
-       Display *display;       /\&* Display the event was read from */
-       unsigned long serial;           /\&* serial number of failed request */
-       unsigned char error_code;       /\&* error code of failed request */
-       unsigned char request_code;     /\&* Major op-code of failed request */
-       unsigned char minor_code;       /\&* Minor op-code of failed request */
-       XID resourceid;         /\&* resource id */
+        int type;
+        Display *display;       /\&* Display the event was read from */
+        unsigned long serial;           /\&* serial number of failed request */
+        unsigned char error_code;       /\&* error code of failed request */
+        unsigned char request_code;     /\&* Major op-code of failed request */
+        unsigned char minor_code;       /\&* Minor op-code of failed request */
+        XID resourceid;         /\&* resource id */
 } XErrorEvent;
 .De
 .LP
index ea2eef7..7bf90cd 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XExposeEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,17 +87,15 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* Expose */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       int x, y;
-       int width, height;
-       int count;      /\&* if nonzero, at least this many more */
+        int type;       /\&* Expose */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        int x, y;
+        int width, height;
+        int count;      /\&* if nonzero, at least this many more */
 } XExposeEvent;
 .De
 .LP
index 2242729..6200f60 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XExtentsOfFontSet __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3ae9ce3..d2d5e56 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFillRectangle __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 2a006f0..70154fa 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFilterEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 87302f0..9e1f21e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFlush __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b95c89d..0dfaee5 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFocusChangeEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -150,21 +89,19 @@ and
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* FocusIn or FocusOut */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* window of event */
-       int mode;       /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
-       int detail;
-               /\&*
-               * NotifyAncestor, NotifyVirtual, NotifyInferior, 
-               * NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
-               * NotifyPointerRoot, NotifyDetailNone 
-               */
+        int type;       /\&* FocusIn or FocusOut */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* window of event */
+        int mode;       /\&* NotifyNormal, NotifyGrab, NotifyUngrab */
+        int detail;
+                /\&*
+                * NotifyAncestor, NotifyVirtual, NotifyInferior, 
+                * NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
+                * NotifyPointerRoot, NotifyDetailNone 
+                */
 } XFocusChangeEvent;
 typedef XFocusChangeEvent XFocusInEvent;
 typedef XFocusChangeEvent XFocusOutEvent;
index 79ad9e6..d78db7d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFontSetExtents __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,11 +87,9 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       XRectangle max_ink_extent;      /\&* over all drawable characters */
-       XRectangle max_logical_extent;  /\&* over all drawable characters */
+        XRectangle max_ink_extent;      /\&* over all drawable characters */
+        XRectangle max_logical_extent;  /\&* over all drawable characters */
 } XFontSetExtents;
 .De
 .LP
index 3c783ef..845599d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFontsOfFontSet __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f0a8d1f..ffc513b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XFree __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index fdbab45..6d1f2db 100644 (file)
@@ -27,7 +27,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGetEventData __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -134,17 +73,15 @@ Specifies the cookie to free or retrieve the data for.
 
 .SH STRUCTURES
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;
-       unsigned long serial;
-       Bool send_event;
-       Display *display;
-       int extension;
-       int evtype;
-       unsigned int cookie;
-       void *data;
+        int type;
+        unsigned long serial;
+        Bool send_event;
+        Display *display;
+        int extension;
+        int evtype;
+        unsigned int cookie;
+        void *data;
 } XGenericEventCookie;
 .De
 
@@ -188,8 +125,6 @@ for each cookie claimed with
 
 .SH EXAMPLE CODE
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 XEvent event;
 XGenericEventCookie *cookie = &ev;
 
index 7d7dca6..5c5d226 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XGetVisualInfo __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -290,21 +229,19 @@ T}
 .TE
 .IN "XVisualInfo" "" "@DEF@"
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 /\&* Values */
 
 typedef struct {
-       Visual *visual;
-       VisualID visualid;
-       int screen;
-       int depth;
-       int class;
-       unsigned long red_mask;
-       unsigned long green_mask;
-       unsigned long blue_mask;
-       int colormap_size;
-       int bits_per_rgb;
+        Visual *visual;
+        VisualID visualid;
+        int screen;
+        int depth;
+        int class;
+        unsigned long red_mask;
+        unsigned long green_mask;
+        unsigned long blue_mask;
+        int colormap_size;
+        int bits_per_rgb;
 } XVisualInfo;
 .De
 .SH "SEE ALSO"
index de85601..953aeed 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XGetWindowAttributes __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -217,30 +156,28 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int x, y;       /\&* location of window */
-       int width, height;      /\&* width and height of window */
-       int border_width;       /\&* border width of window */
-       int depth;      /\&* depth of window */
-       Visual *visual; /\&* the associated visual structure */
-       Window root;    /\&* root of screen containing window */
-       int class;      /\&* InputOutput, InputOnly*/
-       int bit_gravity;        /\&* one of the bit gravity values */
-       int win_gravity;        /\&* one of the window gravity values */
-       int backing_store;      /\&* NotUseful, WhenMapped, Always */
-       unsigned long backing_planes;   /\&* planes to be preserved if possible */
-       unsigned long backing_pixel;    /\&* value to be used when restoring planes */
-       Bool save_under;        /\&* boolean, should bits under be saved? */
-       Colormap colormap;      /\&* color map to be associated with window */
-       Bool map_installed;     /\&* boolean, is color map currently installed*/
-       int map_state;  /\&* IsUnmapped, IsUnviewable, IsViewable */
-       long all_event_masks;   /\&* set of events all people have interest in*/
-       long your_event_mask;   /\&* my event mask */
-       long do_not_propagate_mask;     /\&* set of events that should not propagate */
-       Bool override_redirect; /\&* boolean value for override-redirect */
-       Screen *screen; /\&* back pointer to correct screen */
+        int x, y;       /\&* location of window */
+        int width, height;      /\&* width and height of window */
+        int border_width;       /\&* border width of window */
+        int depth;      /\&* depth of window */
+        Visual *visual; /\&* the associated visual structure */
+        Window root;    /\&* root of screen containing window */
+        int class;      /\&* InputOutput, InputOnly*/
+        int bit_gravity;        /\&* one of the bit gravity values */
+        int win_gravity;        /\&* one of the window gravity values */
+        int backing_store;      /\&* NotUseful, WhenMapped, Always */
+        unsigned long backing_planes;   /\&* planes to be preserved if possible */
+        unsigned long backing_pixel;    /\&* value to be used when restoring planes */
+        Bool save_under;        /\&* boolean, should bits under be saved? */
+        Colormap colormap;      /\&* color map to be associated with window */
+        Bool map_installed;     /\&* boolean, is color map currently installed*/
+        int map_state;  /\&* IsUnmapped, IsUnviewable, IsViewable */
+        long all_event_masks;   /\&* set of events all people have interest in*/
+        long your_event_mask;   /\&* my event mask */
+        long do_not_propagate_mask;     /\&* set of events that should not propagate */
+        Bool override_redirect; /\&* boolean value for override-redirect */
+        Screen *screen; /\&* back pointer to correct screen */
 } XWindowAttributes;
 .De
 .LP
index da9460a..33e6e3d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGetWindowProperty __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3b4ad11..7488b6e 100644 (file)
@@ -30,7 +30,6 @@ xcb_connection_t *XGetXCBConnection(Display *\fIdpy\fP);
 .SH ARGUMENTS
 .IP \fIdpy\fP 1i
 Specifies the connection to the X server.
-.IN "Environment" "DISPLAY"
 .SH DESCRIPTION
 The \fIXGetXCBConnection\fP function returns the XCB connection associated with
 an Xlib Display.  Clients can use this XCB connection with functions from the
index 9a7f0c2..a96b398 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGrabButton __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8b31dd1..0ffc666 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGrabKey __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index e448b3b..875fe3e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGrabKeyboard __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 23426cc..b29d0c9 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGrabPointer __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 03b2b90..c050231 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGrabServer __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8360822..9961f8c 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGraphicsExposeEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -150,33 +89,29 @@ and
 events contain:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* GraphicsExpose */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Drawable drawable;
-       int x, y;
-       int width, height;
-       int count;      /\&* if nonzero, at least this many more */
-       int major_code; /\&* core is CopyArea or CopyPlane */
-       int minor_code; /\&* not defined in the core */
+        int type;       /\&* GraphicsExpose */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Drawable drawable;
+        int x, y;
+        int width, height;
+        int count;      /\&* if nonzero, at least this many more */
+        int major_code; /\&* core is CopyArea or CopyPlane */
+        int minor_code; /\&* not defined in the core */
 } XGraphicsExposeEvent;
 .De
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* NoExpose */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Drawable drawable;
-       int major_code; /\&* core is CopyArea or CopyPlane */
-       int minor_code; /\&* not defined in the core */
+        int type;       /\&* NoExpose */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Drawable drawable;
+        int major_code; /\&* core is CopyArea or CopyPlane */
+        int minor_code; /\&* not defined in the core */
 } XNoExposeEvent;
 .De
 .LP
index 09f5654..afdacc7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XGravityEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* GravityNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       int x, y;
+        int type;       /\&* GravityNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        int x, y;
 } XGravityEvent;
 .De
 .LP
index a4e6be8..b11776e 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XIconifyWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index ebfbf8c..1cfc571 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XIfEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b58a946..efd9478 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XCreateImage __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 51db3f5..2ca9802 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XInitThreads __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 15a1ce5..b3570cb 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XInstallColormap __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 237ed91..3c0039b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XInternAtom __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8d96803..0686935 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XIntersectRegion __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 2bd9346..1fdb516 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XKeymapEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,17 +87,15 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 /\&* generated on EnterWindow and FocusIn when KeymapState selected */
 typedef struct {
-       int type;       /\&* KeymapNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       char key_vector[32];
-} XKeymapEvent;        
+        int type;       /\&* KeymapNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        char key_vector[32];
+} XKeymapEvent; 
 .De
 .LP
 When you receive this event,
index 4077220..b386ae8 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XListFonts __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b85fcb2..2d2d142 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .de EX
 .sp
index bdbfe31..0ec8f4f 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XLookupKeysym __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 551c2bc..1251c24 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XMapEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* MapNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       Bool override_redirect; /\&* boolean, is override set... */
+        int type;       /\&* MapNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        Bool override_redirect; /\&* boolean, is override set... */
 } XMapEvent;
 .De
 .LP
@@ -203,18 +140,16 @@ The structure for
 events is:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* MappingNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;  /\&* unused */
-       int request;    /\&* one of MappingModifier, MappingKeyboard,
-                  MappingPointer */
-       int first_keycode;      /\&* first keycode */
-       int count;      /\&* defines range of change w. first_keycode*/
+        int type;       /\&* MappingNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;  /\&* unused */
+        int request;    /\&* one of MappingModifier, MappingKeyboard,
+                   MappingPointer */
+        int first_keycode;      /\&* first keycode */
+        int count;      /\&* defines range of change w. first_keycode*/
 } XMappingEvent;
 .De
 .LP
index e30edf4..30fc860 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XMapRequestEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,15 +87,13 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* MapRequest */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window parent;
-       Window window;
+        int type;       /\&* MapRequest */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window parent;
+        Window window;
 } XMapRequestEvent;
 .De
 .LP
index b4e6cde..94d28f1 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XMapWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8480757..2435789 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XNextEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index a85752b..6851ff3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XNoOp __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 76d6737..30859b2 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XOpenDisplay __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c559705..50e84d0 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XOpenIM __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3d67b0c..e911599 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XOpenOM __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 057895f..50a95ab 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XParseGeometry __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index ef5e48b..81bb143 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XPolygonRegion __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 53c8e78..e9a40c2 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XPropertyEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,17 +87,15 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* PropertyNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       Atom atom;
-       Time time;
-       int state;      /\&* PropertyNewValue or PropertyDelete */
+        int type;       /\&* PropertyNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        Atom atom;
+        Time time;
+        int state;      /\&* PropertyNewValue or PropertyDelete */
 } XPropertyEvent;
 .De
 .LP
index 1632572..9360ebe 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XPutBackEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 010ac41..3fec850 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XPutImage __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 993491f..d6c4504 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XQueryBestSize __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index fb8c8b5..f1fa461 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XQueryColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0550ddd..dd25486 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XQueryPointer __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index e5f6d78..24ca965 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XQueryTree __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3926b16..4dcd6a7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XRaiseWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 28fbf57..163c803 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XReadBitmapFile __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0a5608f..dfaec98 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XRecolorCursor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index fc67d43..459391c 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XReparentEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,18 +87,16 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ReparentNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       Window parent;
-       int x, y;
-       Bool override_redirect;
+        int type;       /\&* ReparentNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        Window parent;
+        int x, y;
+        Bool override_redirect;
 } XReparentEvent;
 .De
 .LP
index 14653a7..4b66ed5 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XReparentWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 291a410..36ea8cf 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XResizeRequestEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,15 +87,13 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* ResizeRequest */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       int width, height;
+        int type;       /\&* ResizeRequest */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        int width, height;
 } XResizeRequestEvent;
 .De
 .LP
index 50c1a25..7d4884b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XResourceManagerString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 64481cc..de7482b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSaveContext __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 39b7639..6913c35 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSelectInput __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index bf04e43..d8db1fc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSelectionClearEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* SelectionClear */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       Atom selection;
-       Time time;
+        int type;       /\&* SelectionClear */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        Atom selection;
+        Time time;
 } XSelectionClearEvent;
 .De
 .LP
index 618bb6a..feb5dfc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSelectionEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,18 +87,16 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* SelectionNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window requestor;
-       Atom selection;
-       Atom target;
-       Atom property;  /\&* atom or None */
-       Time time;
+        int type;       /\&* SelectionNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window requestor;
+        Atom selection;
+        Atom target;
+        Atom property;  /\&* atom or None */
+        Time time;
 } XSelectionEvent;
 .De
 .LP
index 6ec5cc1..35454c3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSelectionRequestEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,19 +87,17 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* SelectionRequest */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window owner;
-       Window requestor;
-       Atom selection;
-       Atom target;
-       Atom property;
-       Time time;
+        int type;       /\&* SelectionRequest */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window owner;
+        Window requestor;
+        Atom selection;
+        Atom target;
+        Atom property;
+        Time time;
 } XSelectionRequestEvent;
 .De
 .LP
index 7dcf99c..2b21cdd 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSendEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -283,11 +222,9 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i
-.ta .5i
 typedef struct {
-       Time time;
-       short x, y;
+        Time time;
+        short x, y;
 } XTimeCoord;
 .De
 .LP
index dc4e123..18326f0 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetArcMode __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 83decc7..a227ebc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetClipOrigin __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 27405c4..6ae6fd8 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetCloseDownMode __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 86caed3..3b89c66 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetCommand __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c601837..0e3121b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetErrorHandler __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index d9740d4..f49ac71 100644 (file)
@@ -42,7 +42,6 @@ call the XCB event-handling functions.
 XCB owns the event queue.  Use the XCB event-handling functions.  Do not call
 the Xlib event-handling functions.
 .RE
-.IN "Environment" "DISPLAY"
 .SH DESCRIPTION
 While a client using Xlib/XCB can issue requests and handle their replies or
 errors with either Xlib or XCB, only one can own and handle the event queue.
index 3de363c..a4af017 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetFillStyle __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 7021959..8c303d6 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetFont __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b2336f6..382537f 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetFontPath __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 63a60bd..3927888 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetICFocus __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 36deb6e..490ee17 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetICValues __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 6b6f57d..25deddd 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetInputFocus __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 6900430..f54c774 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetLineAttributes __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index d164028..054757d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetPointerMapping __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index e605817..8684769 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetScreenSaver __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 011cf1d..3a3707c 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetSelectionOwner __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0d15236..6fb7d72 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetState __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index d966ae1..1438a42 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetTextProperty __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8f9e2a4..d35c5a2 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetTile __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index fc4cf5c..3255137 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetTransientForHint __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index bae111b..1fe1fa3 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMClientMachine __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index e205db3..66cb8a0 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMColormapWindows __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f0c87bd..98190a4 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMIconName __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 37f2b80..8f598d1 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMName __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8a9b1c3..9d670c5 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMProperties __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f3fefb6..d435107 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSetWMProtocols __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 8cc82d7..c57d5b5 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XStoreBytes __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 6dccc93..b487390 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XStoreColors __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 42da5b1..d990525 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XStringListToTextProperty __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -225,13 +164,11 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       unsigned char *value;   /\&* property data */
-       Atom encoding;  /\&* type of property */
-       int format;     /\&* 8, 16, or 32 */
-       unsigned long nitems;   /\&* number of items in value */
+        unsigned char *value;   /\&* property data */
+        Atom encoding;  /\&* type of property */
+        int format;     /\&* 8, 16, or 32 */
+        unsigned long nitems;   /\&* number of items in value */
 } XTextProperty;
 .De
 .SH "SEE ALSO"
index 515ca91..3a7fb7b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XStringToKeysym __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 786aa6e..f0e4853 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSupportsLocale __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index cf59c90..f99facc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XSynchronize __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c0c524f..cd8f37a 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XTextExtents __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index b9ec942..b236de9 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XTextWidth __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 019d123..cddd180 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XTranslateCoordinates __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index edc4f64..c47bc13 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XUnmapEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,16 +87,14 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* UnmapNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window event;
-       Window window;
-       Bool from_configure;
+        int type;       /\&* UnmapNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window event;
+        Window window;
+        Bool from_configure;
 } XUnmapEvent;
 .De
 .LP
index 5c6cd33..87fca88 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XUnmapWindow __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 7ccdadb..39ed727 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XVaCreateNestedList __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0cdf54c..b406cde 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XVisibilityEvent __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -148,15 +87,13 @@ The structure for
 events contains:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       int type;       /\&* VisibilityNotify */
-       unsigned long serial;   /\&* # of last request processed by server */
-       Bool send_event;        /\&* true if this came from a SendEvent request */
-       Display *display;       /\&* Display the event was read from */
-       Window window;
-       int state;
+        int type;       /\&* VisibilityNotify */
+        unsigned long serial;   /\&* # of last request processed by server */
+        Bool send_event;        /\&* true if this came from a SendEvent request */
+        Display *display;       /\&* Display the event was read from */
+        Window window;
+        int state;
 } XVisibilityEvent;
 .De
 .LP
index 930e8a5..7b10ef2 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XWarpPointer __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 0cef6a8..ebae27c 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsAllocColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 26ce027..9f0dfc1 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsCCCOfColormap __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 03beb48..69ad94d 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsCIELabQueryMax __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 41113dd..14a2a22 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsCIELuvQueryMaxC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 9bd38f5..376913d 100644 (file)
@@ -48,7 +48,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .de EX
 .sp
index 1c4c416..941873b 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsConvertColors __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 65465d8..1c26017 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsCreateCCC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 64c9a91..21bf6cf 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsDefaultCCC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index baa8294..4c65f90 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsQueryBlack __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 61fa50f..cc4742a 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsQueryColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c93c026..c44b7de 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsSetWhitePoint __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c9774d1..5828288 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsStoreColor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 3e0f40e..5d682cc 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XcmsTekHVCQueryMaxC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index c4d728f..6599f50 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbDrawImageString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f093364..1c608d6 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbDrawString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 9b94256..81bd284 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbDrawText __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
@@ -223,26 +162,22 @@ The
 .ZN XmbTextItem
 structure contains:
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       char *chars;    /\&* pointer to string */
-       int nchars;     /\&* number of bytes */
-       int delta;      /\&* pixel delta between strings */
-       XFontSet font_set;      /\&* fonts, None means don't change */
+        char *chars;    /\&* pointer to string */
+        int nchars;     /\&* number of bytes */
+        int delta;      /\&* pixel delta between strings */
+        XFontSet font_set;      /\&* fonts, None means don't change */
 } XmbTextItem;
 .De
 The
 .ZN XwcTextItem
 structure contains:
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       wchar_t *chars; /\&* pointer to wide char string */
-       int nchars;     /\&* number of wide characters */
-       int delta;      /\&* pixel delta between strings */
-       XFontSet font_set;      /\&* fonts, None means don't change */
+        wchar_t *chars; /\&* pointer to wide char string */
+        int nchars;     /\&* number of wide characters */
+        int delta;      /\&* pixel delta between strings */
+        XFontSet font_set;      /\&* fonts, None means don't change */
 } XwcTextItem;
 .De
 .SH "SEE ALSO"
index 72bf2cd..c03a582 100644 (file)
@@ -51,7 +51,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XmbLookupString __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -214,8 +153,8 @@ and
 .ZN XwcLookupString
 begins in the initial state of the encoding of the locale
 (if the encoding of the locale is state-dependent).
-.NT
-To ensure proper input processing,
+.LP
+Note: To ensure proper input processing,
 it is essential that the client pass only 
 .ZN KeyPress
 events to
@@ -226,7 +165,6 @@ and
 Their behavior when a client passes a 
 .ZN KeyRelease
 event is undefined.
-.NE
 .LP
 Clients should check the status_return argument before
 using the other returned values.
index ac67c4a..f265ee2 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbResetIC __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index f6cdd14..35da94c 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbTextEscapement __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 4ff3366..8ede8fc 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbTextExtents __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 5f1aad7..b937761 100644 (file)
@@ -51,7 +51,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XmbTextListToTextProperty __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
@@ -403,13 +342,11 @@ The
 structure contains:
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       unsigned char *value;   /\&* property data */
-       Atom encoding;  /\&* type of property */
-       int format;     /\&* 8, 16, or 32 */
-       unsigned long nitems;   /\&* number of items in value */
+        unsigned char *value;   /\&* property data */
+        Atom encoding;  /\&* type of property */
+        int format;     /\&* 8, 16, or 32 */
+        unsigned long nitems;   /\&* number of items in value */
 } XTextProperty;
 .De
 .LP
@@ -442,14 +379,12 @@ T}        T{
 T}
 .TE
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef enum {
-       XStringStyle,           /\&* STRING */
-       XCompoundTextStyle,     /\&* COMPOUND_TEXT */
-       XTextStyle,             /\&* text in owner's encoding (current locale) */
-       XStdICCTextStyle,       /\&* STRING, else COMPOUND_TEXT */
-       XUTF8StringStyle        /\&* UTF8_STRING */
+        XStringStyle,           /\&* STRING */
+        XCompoundTextStyle,     /\&* COMPOUND_TEXT */
+        XTextStyle,             /\&* text in owner's encoding (current locale) */
+        XStdICCTextStyle,       /\&* STRING, else COMPOUND_TEXT */
+        XUTF8StringStyle        /\&* UTF8_STRING */
 } XICCEncodingStyle;
 .De
 .SH "SEE ALSO"
index cfaa153..eceaf6a 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XmbTextPerCharExtents __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
index 4fe6817..03c0f30 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" t
 .TH XrmEnumerateDatabase __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
 XrmEnumerateDatabase \- enumerate resource database entries
 .SH SYNTAX
+.HP
+#include <X11/Xresource.h>
 .TS
 lw(.5i) lw(2i) lw(2.5i).
 T{
@@ -205,15 +146,13 @@ The procedure is called with the following arguments:
 .LP
 .\" Start marker code here
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 (*\fIproc\fP\^)(\^\fIdatabase\fP, \fIbindings\fP, \fIquarks\fP, \fItype\fP, \fIvalue\fP, \fIarg\fP\^)
-       XrmDatabase *\fIdatabase\fP\^;
-       XrmBindingList \fIbindings\fP\^;
-       XrmQuarkList \fIquarks\fP\^;
-       XrmRepresentation *\fItype\fP\^;
-       XrmValue *\fIvalue\fP\^;
-       XPointer \fIarg\fP\^;
+        XrmDatabase *\fIdatabase\fP\^;
+        XrmBindingList \fIbindings\fP\^;
+        XrmQuarkList \fIquarks\fP\^;
+        XrmRepresentation *\fItype\fP\^;
+        XrmValue *\fIvalue\fP\^;
+        XPointer \fIarg\fP\^;
 .De
 .\" End marker code here
 .LP
index 08d0810..71ddd9f 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .de EX
 .sp
 XrmGetFileDatabase, XrmPutFileDatabase, XrmGetStringDatabase, XrmLocaleOfDatabase, XrmGetDatabase, XrmSetDatabase, XrmDestroyDatabase \- retrieve and store resource databases
 .SH SYNTAX
 .HP
+#include <X11/Xresource.h>
+.HP
 XrmDatabase XrmGetFileDatabase\^(\^char *\fIfilename\fP\^); 
 .HP
 void XrmPutFileDatabase\^(\^XrmDatabase \fIdatabase\fP\^, char
index 2745892..ef2cf9a 100644 (file)
@@ -50,7 +50,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 '\" e
 .TH XrmGetResource __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 XrmGetResource, XrmQGetResource, XrmQGetSearchList, XrmQGetSearchResource \- retrieve database resources and search lists
 .SH SYNTAX
 .HP
+#include <X11/Xresource.h>
+.HP
 Bool XrmGetResource\^(\^XrmDatabase \fIdatabase\fP\^, char *\fIstr_name\fP\^,
 char *\fIstr_class\fP\^, char **\fIstr_type_return\fP\^, XrmValue
 *\fIvalue_return\fP\^); 
index 3e6dcd1..3b3ddd7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XrmInitialize __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
 XrmInitialize, XrmParseCommand, XrmValue, XrmOptionKind, XrmOptionDescRec \- initialize the Resource Manager, Resource Manager structures, and parse the command line
 .SH SYNTAX
 .HP
+#include <X11/Xresource.h>
+.HP
 void XrmInitialize\^(void\^);
 .HP
 void XrmParseCommand\^(\^XrmDatabase *\fIdatabase\fP\^, XrmOptionDescList
@@ -219,39 +160,33 @@ and
 structures contain:
 .LP
 .Ds 0
-.TA .5i 3i
-.ta .5i 3i
 typedef struct {
-       unsigned int size;
-       XPointer addr;
+        unsigned int size;
+        XPointer addr;
 } XrmValue, *XrmValuePtr;
 .De
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef enum {
-       XrmoptionNoArg, /\&* Value is specified in XrmOptionDescRec.value */
-       XrmoptionIsArg, /\&* Value is the option string itself */
-       XrmoptionStickyArg,     /\&* Value is characters immediately following option */
-       XrmoptionSepArg,        /\&* Value is next argument in argv */
-       XrmoptionResArg,        /\&* Resource and value in next argument in argv */
-       XrmoptionSkipArg,       /\&* Ignore this option and the next argument in argv */
-       XrmoptionSkipLine,      /\&* Ignore this option and the rest of argv */
-       XrmoptionSkipNArgs      /\&* Ignore this option and the next
-               \ \ \ XrmOptionDescRec.value arguments in argv */
+        XrmoptionNoArg, /\&* Value is specified in XrmOptionDescRec.value */
+        XrmoptionIsArg, /\&* Value is the option string itself */
+        XrmoptionStickyArg,     /\&* Value is characters immediately following option */
+        XrmoptionSepArg,        /\&* Value is next argument in argv */
+        XrmoptionResArg,        /\&* Resource and value in next argument in argv */
+        XrmoptionSkipArg,       /\&* Ignore this option and the next argument in argv */
+        XrmoptionSkipLine,      /\&* Ignore this option and the rest of argv */
+        XrmoptionSkipNArgs      /\&* Ignore this option and the next
+                \ \ \ XrmOptionDescRec.value arguments in argv */
 } XrmOptionKind;
 .De
 .LP
 .Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
 typedef struct {
-       char *option;   /\&* Option specification string in argv                    */
-       char *specifier;        /\&* Binding and resource name (sans application name)    */
-       XrmOptionKind argKind;  /\&* Which style of option it is            */
-       XPointer value; /\&* Value to provide if XrmoptionNoArg or 
-               \ \ \ XrmoptionSkipNArgs   */
+        char *option;   /\&* Option specification string in argv                    */
+        char *specifier;        /\&* Binding and resource name (sans application name)    */
+        XrmOptionKind argKind;  /\&* Which style of option it is            */
+        XPointer value; /\&* Value to provide if XrmoptionNoArg or 
+                \ \ \ XrmoptionSkipNArgs   */
 } XrmOptionDescRec, *XrmOptionDescList;
 .De
 .SH "SEE ALSO"
index bb4d3bd..41b27bb 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XrmMergeDatabases __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
 XrmMergeDatabases, XrmCombineDatabase, XrmCombineFileDatabase \- merge resource databases
 .SH SYNTAX
 .HP
+#include <X11/Xresource.h>
+.HP
 void XrmMergeDatabases(\^XrmDatabase \fIsource_db\fP, XrmDatabase
 *\fItarget_db\fP\^); 
 .HP
index fb9638e..fd64463 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XrmPutResource __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
 XrmPutResource, XrmQPutResource, XrmPutStringResource, XrmQPutStringResource, XrmPutLineResource \- store database resources
 .SH SYNTAX
 .HP
+#include <X11/Xresource.h>
+.HP
 void XrmPutResource\^(\^XrmDatabase *\fIdatabase\fP\^, char
 *\fIspecifier\fP\^, char *\fItype\fP\^, XrmValue *\fIvalue\fP\^); 
 .HP
index 78ae2e6..93755f7 100644 (file)
@@ -49,7 +49,7 @@
 .de Ds
 .nf
 .\\$1D \\$2 \\$1
-.ft 1
+.ft CW
 .\".ps \\n(PS
 .\".if \\n(VS>=40 .vs \\n(VSu
 .\".if \\n(VS<=39 .vs \\n(VSp
 .sp \\n(DDu
 .fi
 ..
-.de FD
-.LP
-.KS
-.TA .5i 3i
-.ta .5i 3i
-.nf
-..
-.de FN
-.fi
-.KE
-.LP
-..
 .de IN         \" send an index entry to the stderr
 ..
-.de C{
-.KS
-.nf
-.D
-.\"
-.\"    choose appropriate monospace font
-.\"    the imagen conditional, 480,
-.\"    may be changed to L if LB is too
-.\"    heavy for your eyes...
-.\"
-.ie "\\*(.T"480" .ft L
-.el .ie "\\*(.T"300" .ft L
-.el .ie "\\*(.T"202" .ft PO
-.el .ie "\\*(.T"aps" .ft CW
-.el .ft R
-.ps \\n(PS
-.ie \\n(VS>40 .vs \\n(VSu
-.el .vs \\n(VSp
-..
-.de C}
-.DE
-.R
-..
 .de Pn
 .ie t \\$1\fB\^\\$2\^\fR\\$3
 .el \\$1\fI\^\\$2\^\fP\\$3
 .ie t <\fB\\$1\fR>\\$2
 .el <\fI\\$1\fP>\\$2
 ..
-.de NT
-.ne 7
-.ds NO Note
-.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
-.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
-.ie n .sp
-.el .sp 10p
-.TB
-.ce
-\\*(NO
-.ie n .sp
-.el .sp 5p
-.if '\\$1'C' .ce 99
-.if '\\$2'C' .ce 99
-.in +5n
-.ll -5n
-.R
-..
-.              \" Note End -- doug kraft 3/85
-.de NE
-.ce 0
-.in -5n
-.ll +5n
-.ie n .sp
-.el .sp 10p
-..
 .ny0
 .TH XrmUniqueQuark __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS"
 .SH NAME
 XrmUniqueQuark, XrmStringToQuark, XrmPermStringToQuark, XrmQuarkToString, XrmStringToQuarkList, XrmStringToBindingQuarkList \- manipulate resource quarks
 .SH SYNOPSIS
 .HP
+#include <X11/Xresource.h>
+.HP
 XrmQuark XrmUniqueQuark\^(void); 
 .LP
 \&#define XrmStringToName(string) XrmStringToQuark(string)
diff --git a/man/xkb/Makefile.in b/man/xkb/Makefile.in
deleted file mode 100644 (file)
index 423774f..0000000
+++ /dev/null
@@ -1,691 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = man/xkb
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(libmandir)"
-DATA = $(libman_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-libmandir = $(LIB_MAN_DIR)
-libman_PRE = \
-       XkbActionCtrls.man                      \
-       XkbAddDeviceLedInfo.man                 \
-       XkbAddGeomColor.man                     \
-       XkbAddGeomDoodad.man                    \
-       XkbAddGeomKey.man                       \
-       XkbAddGeomKeyAlias.man                  \
-       XkbAddGeomOutline.man                   \
-       XkbAddGeomOverlay.man                   \
-       XkbAddGeomOverlayKey.man                \
-       XkbAddGeomOverlayRow.man                \
-       XkbAddGeomProperty.man                  \
-       XkbAddGeomRow.man                       \
-       XkbAddGeomSection.man                   \
-       XkbAddGeomShape.man                     \
-       XkbAddSymInterpret.man                  \
-       XkbAllocClientMap.man                   \
-       XkbAllocCompatMap.man                   \
-       XkbAllocControls.man                    \
-       XkbAllocDeviceInfo.man                  \
-       XkbAllocDeviceLedInfo.man               \
-       XkbAllocGeomColors.man                  \
-       XkbAllocGeomDoodads.man                 \
-       XkbAllocGeomKeyAliases.man              \
-       XkbAllocGeomKeys.man                    \
-       XkbAllocGeomOutlines.man                \
-       XkbAllocGeomOverlayKey.man              \
-       XkbAllocGeomOverlayRows.man             \
-       XkbAllocGeomOverlays.man                \
-       XkbAllocGeomPoints.man                  \
-       XkbAllocGeomProps.man                   \
-       XkbAllocGeomRows.man                    \
-       XkbAllocGeomSectionDoodads.man          \
-       XkbAllocGeomSections.man                \
-       XkbAllocGeomShapes.man                  \
-       XkbAllocGeometry.man                    \
-       XkbAllocIndicatorMaps.man               \
-       XkbAllocKeyboard.man                    \
-       XkbAllocNames.man                       \
-       XkbAllocServerMap.man                   \
-       XkbApplyCompatMapToKey.man              \
-       XkbBell.man                             \
-       XkbBellEvent.man                        \
-       XkbChangeControls.man                   \
-       XkbChangeDeviceInfo.man                 \
-       XkbChangeEnabledControls.man            \
-       XkbChangeIndicators.man                 \
-       XkbChangeMap.man                        \
-       XkbChangeNames.man                      \
-       XkbChangeTypesOfKey.man                 \
-       XkbComputeRowBounds.man                 \
-       XkbComputeSectionBounds.man             \
-       XkbComputeShapeBounds.man               \
-       XkbComputeShapeTop.man                  \
-       XkbCopyKeyType.man                      \
-       XkbCopyKeyTypes.man                     \
-       XkbDeviceBell.man                       \
-       XkbDeviceBellEvent.man                  \
-       XkbFindOverlayForKey.man                \
-       XkbForceBell.man                        \
-       XkbForceDeviceBell.man                  \
-       XkbFreeClientMap.man                    \
-       XkbFreeCompatMap.man                    \
-       XkbFreeComponentList.man                \
-       XkbFreeControls.man                     \
-       XkbFreeDeviceInfo.man                   \
-       XkbFreeGeomColors.man                   \
-       XkbFreeGeomDoodads.man                  \
-       XkbFreeGeomKeyAliases.man               \
-       XkbFreeGeomKeys.man                     \
-       XkbFreeGeomOutlines.man                 \
-       XkbFreeGeomOverlayKeys.man              \
-       XkbFreeGeomOverlayRows.man              \
-       XkbFreeGeomOverlays.man                 \
-       XkbFreeGeomPoints.man                   \
-       XkbFreeGeomProperties.man               \
-       XkbFreeGeomRows.man                     \
-       XkbFreeGeomSections.man                 \
-       XkbFreeGeomShapes.man                   \
-       XkbFreeGeometry.man                     \
-       XkbFreeIndicatorMaps.man                \
-       XkbFreeKeyboard.man                     \
-       XkbFreeNames.man                        \
-       XkbFreeServerMap.man                    \
-       XkbGetAccessXTimeout.man                \
-       XkbGetAutoRepeatRate.man                \
-       XkbGetAutoResetControls.man             \
-       XkbGetBounceKeysDelay.man               \
-       XkbGetCompatMap.man                     \
-       XkbGetControls.man                      \
-       XkbGetControlsChanges.man               \
-       XkbGetDetectableAutoRepeat.man          \
-       XkbGetDeviceButtonActions.man           \
-       XkbGetDeviceInfo.man                    \
-       XkbGetDeviceInfoChanges.man             \
-       XkbGetDeviceLedInfo.man                 \
-       XkbGetGeometry.man                      \
-       XkbGetIndicatorChanges.man              \
-       XkbGetIndicatorMap.man                  \
-       XkbGetIndicatorState.man                \
-       XkbGetKeyActions.man                    \
-       XkbGetKeyBehaviors.man                  \
-       XkbGetKeyExplicitComponents.man         \
-       XkbGetKeyModifierMap.man                \
-       XkbGetKeySyms.man                       \
-       XkbGetKeyTypes.man                      \
-       XkbGetKeyVirtualModMap.man              \
-       XkbGetKeyboard.man                      \
-       XkbGetKeyboardByName.man                \
-       XkbGetMap.man                           \
-       XkbGetNameChanges.man                   \
-       XkbGetNamedGeometry.man                 \
-       XkbGetNamedIndicator.man                \
-       XkbGetNames.man                         \
-       XkbGetSlowKeysDelay.man                 \
-       XkbGetState.man                         \
-       XkbGetStickyKeysOptions.man             \
-       XkbGetUpdatedMap.man                    \
-       XkbGetVirtualMods.man                   \
-       XkbGetXlibControls.man                  \
-       XkbIgnoreExtension.man                  \
-       XkbInitCanonicalKeyTypes.man            \
-       XkbKeyAction.man                        \
-       XkbKeyActionEntry.man                   \
-       XkbKeyActionsPtr.man                    \
-       XkbKeyGroupInfo.man                     \
-       XkbKeyGroupWidth.man                    \
-       XkbKeyGroupsWidth.man                   \
-       XkbKeyHasActions.man                    \
-       XkbKeyNumActions.man                    \
-       XkbKeyNumGroups.man                     \
-       XkbKeyNumSyms.man                       \
-       XkbKeySymEntry.man                      \
-       XkbKeySymsOffset.man                    \
-       XkbKeySymsPtr.man                       \
-       XkbKeyType.man                          \
-       XkbKeyTypeIndex.man                     \
-       XkbKeyTypesForCoreSymbols.man           \
-       XkbKeycodeToKeysym.man                  \
-       XkbKeysymToModifiers.man                \
-       XkbLatchGroup.man                       \
-       XkbLatchModifiers.man                   \
-       XkbLibraryVersion.man                   \
-       XkbListComponents.man                   \
-       XkbLockGroup.man                        \
-       XkbLockModifiers.man                    \
-       XkbLookupKeyBinding.man                 \
-       XkbLookupKeySym.man                     \
-       XkbModActionVMods.man                   \
-       XkbNoteControlsChanges.man              \
-       XkbNoteDeviceChanges.man                \
-       XkbNoteIndicatorChanges.man             \
-       XkbNoteNameChanges.man                  \
-       XkbOpenDisplay.man                      \
-       XkbOutOfRangeGroupInfo.man              \
-       XkbOutOfRangeGroupNumber.man            \
-       XkbPtrActionX.man                       \
-       XkbPtrActionY.man                       \
-       XkbQueryExtension.man                   \
-       XkbRefreshKeyboardMapping.man           \
-       XkbResizeDeviceButtonActions.man        \
-       XkbResizeKeyActions.man                 \
-       XkbResizeKeySyms.man                    \
-       XkbResizeKeyType.man                    \
-       XkbSAActionSetCtrls.man                 \
-       XkbSAGroup.man                          \
-       XkbSAPtrDfltValue.man                   \
-       XkbSARedirectSetVMods.man               \
-       XkbSARedirectSetVModsMask.man           \
-       XkbSARedirectVMods.man                  \
-       XkbSARedirectVModsMask.man              \
-       XkbSAScreen.man                         \
-       XkbSASetGroup.man                       \
-       XkbSASetPtrDfltValue.man                \
-       XkbSASetScreen.man                      \
-       XkbSelectEventDetails.man               \
-       XkbSelectEvents.man                     \
-       XkbSetAccessXTimeout.man                \
-       XkbSetAutoRepeatRate.man                \
-       XkbSetAutoResetControls.man             \
-       XkbSetBounceKeysDelay.man               \
-       XkbSetCompatMap.man                     \
-       XkbSetControls.man                      \
-       XkbSetDebuggingFlags.man                \
-       XkbSetDetectableAutoRepeat.man          \
-       XkbSetDeviceButtonActions.man           \
-       XkbSetDeviceInfo.man                    \
-       XkbSetIgnoreLockMods.man                \
-       XkbSetIndicatorMap.man                  \
-       XkbSetMap.man                           \
-       XkbSetModActionVMods.man                \
-       XkbSetNamedIndicator.man                \
-       XkbSetNames.man                         \
-       XkbSetPtrActionX.man                    \
-       XkbSetPtrActionY.man                    \
-       XkbSetServerInternalMods.man            \
-       XkbSetXlibControls.man                  \
-       XkbTranslateKeyCode.man                 \
-       XkbTranslateKeySym.man                  \
-       XkbUpdateMapFromCore.man                \
-       XkbVirtualModsToReal.man                
-
-libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
-EXTRA_DIST = $(libman_PRE)
-CLEANFILES = $(libman_DATA)
-SUFFIXES = .$(LIB_MAN_SUFFIX) .man
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .$(LIB_MAN_SUFFIX) .man
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/xkb/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign man/xkb/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-libmanDATA: $(libman_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(libmandir)" || $(MKDIR_P) "$(DESTDIR)$(libmandir)"
-       @list='$(libman_DATA)'; test -n "$(libmandir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmandir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(libmandir)" || exit $$?; \
-       done
-
-uninstall-libmanDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libman_DATA)'; test -n "$(libmandir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(libmandir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(libmandir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-libmanDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-libmanDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dvi install-dvi-am \
-       install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-libmanDATA install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       uninstall uninstall-am uninstall-libmanDATA
-
-
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-.man.$(LIB_MAN_SUFFIX):
-       $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 29222e8..c7572a0 100644 (file)
 .SH NAME
 XkbGetNamedGeometry \- Loads a keyboard geometry description from this database 
 by name
-.SH SYNTAX
+.SH SYNOPSIS
 .HP
 .B Status XkbGetNamedGeometry
 .BI "(\^Display *" "dpy" "\^,"
 .BI "XkbDescPtr " "xkb" "\^,"
 .BI "Atom " "name" "\^);"
-.if n .ti +5n
-.if t .ti +.5i
 .SH ARGUMENTS
 .TP
 .I \- dpy
index 14ce14a..3de10bc 100644 (file)
@@ -27,8 +27,6 @@ XkbSAGroup \- Returns the group_XXX field of act converted to a signed int
 .HP
 .B int XkbSAGroup
 .BI "(\^XkbAction " "act" "\^);"
-.if n .ti +5n
-.if t .ti +.5i
 .SH ARGUMENTS
 .TP
 .I \- act
@@ -47,14 +45,15 @@ Actions associated with the XkbGroupAction structure change the current group
 state when keys are 
 pressed and released:
 .nf
-
+.ft CW
     typedef struct _XkbGroupAction {
         unsigned char    type;       /\(** XkbSA_{Set|Latch|Lock}Group */
         unsigned char    flags;      /\(** with type, controls the effect on groups 
 */
         char             group_XXX;  /\(** represents a group index or delta */
     } XkbGroupAction;
-   
+.ft
+.fi
 .SH WARNING
 .LP
 This manpage seems to be incomplete
index c95e064..7df74c8 100644 (file)
 .TH XkbSASetGroup __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
 .SH NAME
 XkbSASetGroup \- Sets the group_XXX field of act from the group index grp
-.SH SYNTAX
+.SH SYNOPSIS
 .HP
 .B void XkbSASetGroup
 .BI "(\^XkbAction " "act" "\^,"
 .BI "int " "grp" "\^);"
-.if n .ti +5n
-.if t .ti +.5i
 .SH ARGUMENTS
 .TP
 .I \- act
@@ -48,16 +46,18 @@ from the group index
 .I grp. 
 .SH STRUCTURE
 .LP
-Actions associated with the XkbGroupAction structure change the current group state when keys are 
-pressed and released:
-.nf
+Actions associated with the XkbGroupAction structure change the
+current group state when keys are pressed and released:
 
+.nf
+.ft CW
     typedef struct _XkbGroupAction {
         unsigned char    type;       /\(** XkbSA_{Set|Latch|Lock}Group */
         unsigned char    flags;      /\(** with type, controls the effect on groups */
         char             group_XXX;  /\(** represents a group index or delta */
     } XkbGroupAction;
-    
+.ft
+.fi
 .SH WARNING
 .LP
 This manpage seems to be incomplete
index 30d6d41..c54b349 100644 (file)
 .TH XkbSetDetectableAutoRepeat __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
 .SH NAME
 XkbSetDetectableAutoRepeat \- Sets DetectableAutoRepeat
-.SH SYNTAX
+.SH SYNOPSIS
 .HP
 .B Bool XkbSetDetectableAutoRepeat
 .BI "(\^Display *" "display" "\^,"
 .BI "Bool " "detectable" "\^,"
 .BI "Bool *" "supported_rtrn" "\^);"
-.if n .ti +5n
-.if t .ti +.5i
 .SH ARGUMENTS
 .TP
 .I \- display
index e61d403..122fc45 100644 (file)
 .TH XkbSetDeviceButtonActions __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
 .SH NAME
 XkbSetDeviceButtonActions \- Change only the button actions for an input extension device
-.SH SYNTAX
+.SH SYNOPSIS
 .HP
 .B Bool XkbSetDeviceButtonActions
 .BI "(\^Display *" "dpy" "\^,"
 .BI "XkbDeviceInfoPtr " "device" "\^,"
 .BI "unsigned int " "first_button" "\^,"
 .BI "unsigned int " "num_buttons" "\^);"
-.if n .ti +5n
-.if t .ti +.5i
 .SH ARGUMENTS
 .TP
 .I \- dpy
diff --git a/missing b/missing
deleted file mode 100755 (executable)
index 28055d2..0000000
--- a/missing
+++ /dev/null
@@ -1,376 +0,0 @@
-#! /bin/sh
-# Common stub for a few missing GNU programs while installing.
-
-scriptversion=2009-04-28.21; # UTC
-
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-if test $# -eq 0; then
-  echo 1>&2 "Try \`$0 --help' for more information"
-  exit 1
-fi
-
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, `missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
-
-msg="missing on your system"
-
-case $1 in
---run)
-  # Try to run requested program, and just exit if it succeeds.
-  run=
-  shift
-  "$@" && exit 0
-  # Exit code 63 means version mismatch.  This often happens
-  # when the user try to use an ancient version of a tool on
-  # a file that requires a minimum version.  In this case we
-  # we should proceed has if the program had been absent, or
-  # if --run hadn't been passed.
-  if test $? = 63; then
-    run=:
-    msg="probably too old"
-  fi
-  ;;
-
-  -h|--h|--he|--hel|--help)
-    echo "\
-$0 [OPTION]... PROGRAM [ARGUMENT]...
-
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
-
-Options:
-  -h, --help      display this help and exit
-  -v, --version   output version information and exit
-  --run           try to run the given command, and emulate it if it fails
-
-Supported PROGRAM values:
-  aclocal      touch file \`aclocal.m4'
-  autoconf     touch file \`configure'
-  autoheader   touch file \`config.h.in'
-  autom4te     touch the output file, or create a stub one
-  automake     touch all \`Makefile.in' files
-  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
-  flex         create \`lex.yy.c', if possible, from existing .c
-  help2man     touch the output file
-  lex          create \`lex.yy.c', if possible, from existing .c
-  makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
-
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
-\`g' are ignored when checking the name.
-
-Send bug reports to <bug-automake@gnu.org>."
-    exit $?
-    ;;
-
-  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing $scriptversion (GNU Automake)"
-    exit $?
-    ;;
-
-  -*)
-    echo 1>&2 "$0: Unknown \`$1' option"
-    echo 1>&2 "Try \`$0 --help' for more information"
-    exit 1
-    ;;
-
-esac
-
-# normalize program name to check for.
-program=`echo "$1" | sed '
-  s/^gnu-//; t
-  s/^gnu//; t
-  s/^g//; t'`
-
-# Now exit if we have it, but it failed.  Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program).  This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
-  lex*|yacc*)
-    # Not GNU programs, they don't have --version.
-    ;;
-
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
-  *)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       # Could not run --version or --help.  This is probably someone
-       # running `$TOOL --version' or `$TOOL --help' to check whether
-       # $TOOL exists and not knowing $TOOL uses missing.
-       exit 1
-    fi
-    ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
-  aclocal*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
-         to install the \`Automake' and \`Perl' packages.  Grab them from
-         any GNU archive site."
-    touch aclocal.m4
-    ;;
-
-  autoconf*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`${configure_ac}'.  You might want to install the
-         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
-         archive site."
-    touch configure
-    ;;
-
-  autoheader*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
-         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
-         from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
-    test -z "$files" && files="config.h"
-    touch_files=
-    for f in $files; do
-      case $f in
-      *:*) touch_files="$touch_files "`echo "$f" |
-                                      sed -e 's/^[^:]*://' -e 's/:.*//'`;;
-      *) touch_files="$touch_files $f.in";;
-      esac
-    done
-    touch $touch_files
-    ;;
-
-  automake*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
-         You might want to install the \`Automake' and \`Perl' packages.
-         Grab them from any GNU archive site."
-    find . -type f -name Makefile.am -print |
-          sed 's/\.am$/.in/' |
-          while read f; do touch "$f"; done
-    ;;
-
-  autom4te*)
-    echo 1>&2 "\
-WARNING: \`$1' is needed, but is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.
-         You can get \`$1' as part of \`Autoconf' from any GNU
-         archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo "#! /bin/sh"
-       echo "# Created by GNU Automake missing as a replacement of"
-       echo "#  $ $@"
-       echo "exit 0"
-       chmod +x $file
-       exit 1
-    fi
-    ;;
-
-  bison*|yacc*)
-    echo 1>&2 "\
-WARNING: \`$1' $msg.  You should only need it if
-         you modified a \`.y' file.  You may need the \`Bison' package
-         in order for those modifications to take effect.  You can get
-         \`Bison' from any GNU archive site."
-    rm -f y.tab.c y.tab.h
-    if test $# -ne 1; then
-        eval LASTARG="\${$#}"
-       case $LASTARG in
-       *.y)
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.c
-           fi
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.h
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f y.tab.h; then
-       echo >y.tab.h
-    fi
-    if test ! -f y.tab.c; then
-       echo 'main() { return 0; }' >y.tab.c
-    fi
-    ;;
-
-  lex*|flex*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified a \`.l' file.  You may need the \`Flex' package
-         in order for those modifications to take effect.  You can get
-         \`Flex' from any GNU archive site."
-    rm -f lex.yy.c
-    if test $# -ne 1; then
-        eval LASTARG="\${$#}"
-       case $LASTARG in
-       *.l)
-           SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" lex.yy.c
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f lex.yy.c; then
-       echo 'main() { return 0; }' >lex.yy.c
-    fi
-    ;;
-
-  help2man*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-        you modified a dependency of a manual page.  You may need the
-        \`Help2man' package in order for those modifications to take
-        effect.  You can get \`Help2man' from any GNU archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo ".ab help2man is required to generate this page"
-       exit $?
-    fi
-    ;;
-
-  makeinfo*)
-    echo 1>&2 "\
-WARNING: \`$1' is $msg.  You should only need it if
-         you modified a \`.texi' or \`.texinfo' file, or any other file
-         indirectly affecting the aspect of the manual.  The spurious
-         call might also be the consequence of using a buggy \`make' (AIX,
-         DU, IRIX).  You might want to install the \`Texinfo' package or
-         the \`GNU make' package.  Grab either from any GNU archive site."
-    # The file to touch is that specified with -o ...
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -z "$file"; then
-      # ... or it is the one specified with @setfilename ...
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '
-       /^@setfilename/{
-         s/.* \([^ ]*\) *$/\1/
-         p
-         q
-       }' $infile`
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
-    fi
-    # If the file does not exist, the user really needs makeinfo;
-    # let's fail without touching anything.
-    test -f $file || exit 1
-    touch $file
-    ;;
-
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-       case $firstarg in
-       *o*)
-           firstarg=`echo "$firstarg" | sed s/o//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-       case $firstarg in
-       *h*)
-           firstarg=`echo "$firstarg" | sed s/h//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
-  *)
-    echo 1>&2 "\
-WARNING: \`$1' is needed, and is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.  Check the \`README' file,
-         it often tells you about the needed prerequisites for installing
-         this package.  You may also peek at any GNU archive site, in case
-         some other package would contain this missing \`$1' program."
-    exit 1
-    ;;
-esac
-
-exit 0
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
diff --git a/modules/Makefile.in b/modules/Makefile.in
deleted file mode 100644 (file)
index 35c1669..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = im lc om
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/modules/im/Makefile.in b/modules/im/Makefile.in
deleted file mode 100644 (file)
index 7436aee..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/im
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = ximcp
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/im/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/im/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 16a6ca8..8aae839 100644 (file)
@@ -6,6 +6,7 @@ AM_CPPFLAGS= \
        -I$(top_srcdir)/src/xcms \
        -I$(top_srcdir)/src/xkb \
        -I$(top_srcdir)/src/xlibi18n \
+       -I$(top_srcdir)/src \
        -D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT
 
 AM_CFLAGS= \
diff --git a/modules/im/ximcp/Makefile.in b/modules/im/ximcp/Makefile.in
deleted file mode 100644 (file)
index 5c36f17..0000000
+++ /dev/null
@@ -1,712 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/im/ximcp
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libximcp_la_LIBADD =
-am__objects_1 = imCallbk.lo imDefFlt.lo imDefIc.lo imDefIm.lo \
-       imDefLkup.lo imDispch.lo imEvToWire.lo imExten.lo imImSw.lo \
-       imInsClbk.lo imInt.lo imLcFlt.lo imLcGIc.lo imLcIc.lo \
-       imLcIm.lo imLcLkup.lo imLcPrs.lo imLcSIc.lo imRmAttr.lo \
-       imRm.lo imThaiFlt.lo imThaiIc.lo imThaiIm.lo imTrans.lo \
-       imTransR.lo imTrX.lo
-am_libximcp_la_OBJECTS = $(am__objects_1)
-libximcp_la_OBJECTS = $(am_libximcp_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libximcp_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@ximcp_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_ximcp_la_OBJECTS = imCallbk.lo imDefFlt.lo imDefIc.lo imDefIm.lo \
-       imDefLkup.lo imDispch.lo imEvToWire.lo imExten.lo imImSw.lo \
-       imInsClbk.lo imInt.lo imLcFlt.lo imLcGIc.lo imLcIc.lo \
-       imLcIm.lo imLcLkup.lo imLcPrs.lo imLcSIc.lo imRmAttr.lo \
-       imRm.lo imThaiFlt.lo imThaiIc.lo imThaiIm.lo imTrans.lo \
-       imTransR.lo imTrX.lo
-ximcp_la_OBJECTS = $(am_ximcp_la_OBJECTS)
-ximcp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(ximcp_la_LDFLAGS) $(LDFLAGS) -o $@
-@XLIB_LOADABLE_I18N_TRUE@am_ximcp_la_rpath = -rpath $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libximcp_la_SOURCES) $(ximcp_la_SOURCES)
-DIST_SOURCES = $(libximcp_la_SOURCES) $(ximcp_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(MALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = ximcp.la
-@XLIB_LOADABLE_I18N_TRUE@ximcp_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@ximcp_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libximcp.la
-ximcp_la_SOURCES = \
-       imCallbk.c \
-       imDefFlt.c \
-       imDefIc.c \
-       imDefIm.c \
-       imDefLkup.c \
-       imDispch.c \
-       imEvToWire.c \
-       imExten.c \
-       imImSw.c \
-       imInsClbk.c \
-       imInt.c \
-       imLcFlt.c \
-       imLcGIc.c \
-       imLcIc.c \
-       imLcIm.c \
-       imLcLkup.c \
-       imLcPrs.c \
-       imLcSIc.c \
-       imRmAttr.c \
-       imRm.c \
-       imThaiFlt.c \
-       imThaiIc.c \
-       imThaiIm.c \
-       imTrans.c \
-       imTransR.c \
-       imTrX.c
-
-libximcp_la_SOURCES = $(ximcp_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/im/ximcp/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/im/ximcp/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libximcp.la: $(libximcp_la_OBJECTS) $(libximcp_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libximcp_la_rpath) $(libximcp_la_OBJECTS) $(libximcp_la_LIBADD) $(LIBS)
-ximcp.la: $(ximcp_la_OBJECTS) $(ximcp_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(ximcp_la_LINK) $(am_ximcp_la_rpath) $(ximcp_la_OBJECTS) $(ximcp_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imCallbk.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imDefFlt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imDefIc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imDefIm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imDefLkup.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imDispch.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imEvToWire.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imExten.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imImSw.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imInsClbk.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imInt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcFlt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcGIc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcIc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcIm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcLkup.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcPrs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imLcSIc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imRm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imRmAttr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imThaiFlt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imThaiIc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imThaiIm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imTrX.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imTrans.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imTransR.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 6275bbf..edffac1 100644 (file)
@@ -92,17 +92,17 @@ typedef XimCbStatus (*XimCb)(
     (im->private.proto.read((im),(XPointer)(buf),(buf_len),&(len)))
 #define _XimFlushData(im) im->private.proto.flush((im))
 
-Private XimCbStatus _XimGeometryCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimStrConversionCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimPreeditStartCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimPreeditDoneCallback(Xim, Xic, char*, int);
-Private void _free_memory_for_text(XIMText*);
-Private XimCbStatus _XimPreeditDrawCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimPreeditCaretCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimStatusStartCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimStatusDoneCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimStatusDrawCallback(Xim, Xic, char*, int);
-Private XimCbStatus _XimPreeditStateNotifyCallback(Xim, Xic, char *, int);
+static XimCbStatus _XimGeometryCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimStrConversionCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimPreeditStartCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimPreeditDoneCallback(Xim, Xic, char*, int);
+static void _free_memory_for_text(XIMText*);
+static XimCbStatus _XimPreeditDrawCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimPreeditCaretCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimStatusStartCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimStatusDoneCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimStatusDrawCallback(Xim, Xic, char*, int);
+static XimCbStatus _XimPreeditStateNotifyCallback(Xim, Xic, char *, int);
 
 #if defined(__STDC__) && ((defined(sun) && defined(SVR4)) || defined(WIN32))
 #define RConst /**/
@@ -138,13 +138,13 @@ static RConst XimCb callback_table[] = {
     };
 
 
-Private Bool
+static Bool
 _XimIsReadyForProcess(Xic ic)
 {
     return(!ic->private.proto.waitCallback); /* check HM */
 }
 
-Private void
+static void
 _XimProcessPendingCallbacks(Xic ic)
 {
     XimPendingCallback pcbq;
@@ -161,7 +161,7 @@ _XimProcessPendingCallbacks(Xic ic)
     }
 }
 
-Private void
+static void
 _XimPutCbIntoQueue(Xic ic, XimPendingCallback call_data)
 {
     XimPendingCallback pcbq = ic->private.proto.pend_cb_que;
@@ -182,7 +182,7 @@ _XimPutCbIntoQueue(Xic ic, XimPendingCallback call_data)
     }
 }
 
-Public Bool
+Bool
 _XimCbDispatch(Xim xim,
               INT16 len,
               XPointer data,
@@ -230,9 +230,9 @@ _XimCbDispatch(Xim xim,
        /* queue the protocol
         */
        XimPendingCallback pcb;
-       char *proto_buf = (proto_len > 0) ? (char*)Xmalloc(proto_len) : NULL;
+       char *proto_buf = (proto_len > 0) ? Xmalloc(proto_len) : NULL;
 
-       pcb = (XimPendingCallback)Xmalloc(sizeof(XimPendingCallbackRec));
+       pcb = Xmalloc(sizeof(XimPendingCallbackRec));
        if (pcb && (proto_len <= 0 || proto_buf)) {
            if (proto_len > 0)
                memcpy(proto_buf, proto, proto_len);
@@ -261,7 +261,7 @@ _XimCbDispatch(Xim xim,
     return True;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimGeometryCallback(Xim im,
                     Xic ic,
                     char* proto,
@@ -284,7 +284,7 @@ _XimGeometryCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimStrConversionCallback(Xim im,
                          Xic ic,
                          char* proto,
@@ -339,7 +339,7 @@ _XimStrConversionCallback(Xim im,
                2 + length_in_bytes +
                XIM_PAD(2 + length_in_bytes) +
                2 + 2 + sz_CARD32 * cbrec.text->length;
-           buf = (CARD8*)Xmalloc(buf_len);
+           buf = Xmalloc(buf_len);
        }
        _XimSetHeader((XPointer)buf, XIM_STR_CONVERSION_REPLY, 0, &buf_len);
        buf_len -= XIM_HEADER_SIZE; /* added by _XimSetHeader (HACK) */
@@ -367,7 +367,7 @@ _XimStrConversionCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimPreeditStartCallback(Xim im,
                         Xic ic,
                         char* proto,
@@ -416,7 +416,7 @@ _XimPreeditStartCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimPreeditDoneCallback(Xim im,
                        Xic ic,
                        char* proto,
@@ -439,7 +439,7 @@ _XimPreeditDoneCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private void
+static void
 _read_text_from_packet(Xim im,
                       char* buf,
                       XIMText** text_ptr)
@@ -461,12 +461,12 @@ _read_text_from_packet(Xim im,
        return;
     }
 
-    *text_ptr = text = (XIMText*)Xmalloc(sizeof(XIMText));
+    *text_ptr = text = Xmalloc(sizeof(XIMText));
     if (text == (XIMText*)NULL) return;
 
        tmp_len = (int)*(CARD16*)buf;
        buf += sz_CARD16;
-       if ((tmp_buf = (char*)Xmalloc(tmp_len + 1))) {
+       if ((tmp_buf = Xmalloc(tmp_len + 1))) {
            memcpy(tmp_buf, buf, tmp_len);
            tmp_buf[tmp_len] = '\0';
 
@@ -477,11 +477,10 @@ _read_text_from_packet(Xim im,
            if (s != XLookupNone) {
 #ifndef NO_DEC_I18N_FIX
                 /* Allow for NULL-terminated */
-                if ((text->string.multi_byte =
-                    (char*)Xmalloc(text->length *
+                if ((text->string.multi_byte = Xmalloc(text->length *
                       XLC_PUBLIC(im->core.lcd,mb_cur_max) + 1))) {
 #else
-               if (text->string.multi_byte = (char*)Xmalloc(text->length+1)) {
+               if (text->string.multi_byte = Xmalloc(text->length+1)) {
 #endif
                        int tmp;
 #ifndef NO_DEC_I18N_FIX
@@ -530,7 +529,7 @@ _read_text_from_packet(Xim im,
 
        i = (int)*(CARD16*)buf; buf += sz_CARD16;
        buf += sz_CARD16; /* skip `unused' */
-       text->feedback = (XIMFeedback*)Xmalloc(i*(sizeof(XIMFeedback)/sizeof(CARD32)));
+       text->feedback = Xmalloc(i*(sizeof(XIMFeedback)/sizeof(CARD32)));
        j = 0;
        while (i > 0) {
            text->feedback[j] = (XIMFeedback)*(CARD32*)buf;
@@ -554,7 +553,7 @@ _read_text_from_packet(Xim im,
     }
 }
 
-Private void
+static void
 _free_memory_for_text(XIMText* text)
 {
     if (text) {
@@ -566,7 +565,7 @@ _free_memory_for_text(XIMText* text)
     }
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimPreeditDrawCallback(Xim im,
                        Xic ic,
                        char* proto,
@@ -597,7 +596,7 @@ _XimPreeditDrawCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimPreeditCaretCallback(Xim im,
                         Xic ic,
                         char* proto,
@@ -649,7 +648,7 @@ _XimPreeditCaretCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimStatusStartCallback(Xim im,
                        Xic ic,
                        char* proto,
@@ -672,7 +671,7 @@ _XimStatusStartCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimStatusDoneCallback(Xim im,
                       Xic ic,
                       char* proto,
@@ -695,7 +694,7 @@ _XimStatusDoneCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimStatusDrawCallback(Xim im,
                       Xic ic,
                       char* proto,
@@ -730,7 +729,7 @@ _XimStatusDrawCallback(Xim im,
     return XimCbSuccess;
 }
 
-Private XimCbStatus
+static XimCbStatus
 _XimPreeditStateNotifyCallback( Xim im, Xic ic, char* proto, int len )
 {
     XICCallback        *cb = &ic->core.preedit_attr.state_notify_callback;
index 1e4f389..44cc688 100644 (file)
@@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Private long
+static long
 _XimTriggerCheck(
     Xim                         im,
     XKeyEvent          *ev,
@@ -66,7 +66,7 @@ _XimTriggerCheck(
     return -1;
 }
 
-Private long
+static long
 _XimTriggerOnCheck(
     Xim                 im,
     XKeyEvent  *ev)
@@ -75,7 +75,7 @@ _XimTriggerOnCheck(
                                        &im->private.proto.im_onkeylist[1]);
 }
 
-Private long
+static long
 _XimTriggerOffCheck(
     Xim                 im,
     XKeyEvent  *ev)
@@ -84,7 +84,7 @@ _XimTriggerOffCheck(
                                        &im->private.proto.im_offkeylist[1]);
 }
 
-Private Bool
+static Bool
 _XimOnKeysCheck(
     Xic                 ic,
     XKeyEvent  *ev)
@@ -103,7 +103,7 @@ _XimOnKeysCheck(
     return False;
 }
 
-Private Bool
+static Bool
 _XimOffKeysCheck(
     Xic                 ic,
     XKeyEvent  *ev)
@@ -122,7 +122,7 @@ _XimOffKeysCheck(
     return False;
 }
 
-Private void
+static void
 _XimPendingFilter(
     Xic                 ic)
 {
@@ -135,7 +135,7 @@ _XimPendingFilter(
     return;
 }
 
-Private Bool
+static Bool
 _XimProtoKeypressFilter(
     Xic                 ic,
     XKeyEvent  *ev)
@@ -186,7 +186,7 @@ _XimProtoKeypressFilter(
     return NOTFILTERD;
 }
 
-Private Bool
+static Bool
 _XimFilterKeypress(
     Display            *d,
     Window              w,
@@ -196,7 +196,7 @@ _XimFilterKeypress(
     return _XimProtoKeypressFilter((Xic)client_data, (XKeyEvent *)ev );
 }
 
-Private Bool
+static Bool
 _XimProtoKeyreleaseFilter(
     Xic                 ic,
     XKeyEvent  *ev)
@@ -247,7 +247,7 @@ _XimProtoKeyreleaseFilter(
     return NOTFILTERD;
 }
 
-Private Bool
+static Bool
 _XimFilterKeyrelease(
     Display            *d,
     Window              w,
@@ -257,7 +257,7 @@ _XimFilterKeyrelease(
     return _XimProtoKeyreleaseFilter((Xic)client_data, (XKeyEvent *)ev);
 }
 
-Private void
+static void
 _XimRegisterKeyPressFilter(
     Xic                 ic)
 {
@@ -274,7 +274,7 @@ _XimRegisterKeyPressFilter(
     return;
 }
 
-Private void
+static void
 _XimRegisterKeyReleaseFilter(
     Xic                 ic)
 {
@@ -291,7 +291,7 @@ _XimRegisterKeyReleaseFilter(
     return;
 }
 
-Private void
+static void
 _XimUnregisterKeyPressFilter(
     Xic                 ic)
 {
@@ -307,7 +307,7 @@ _XimUnregisterKeyPressFilter(
     return;
 }
 
-Private void
+static void
 _XimUnregisterKeyReleaseFilter(
     Xic                 ic)
 {
@@ -323,7 +323,7 @@ _XimUnregisterKeyReleaseFilter(
     return;
 }
 
-Public void
+void
 _XimRegisterFilter(
     Xic                 ic)
 {
@@ -333,7 +333,7 @@ _XimRegisterFilter(
     return;
 }
 
-Public void
+void
 _XimUnregisterFilter(
     Xic                 ic)
 {
@@ -342,7 +342,7 @@ _XimUnregisterFilter(
     return;
 }
 
-Public void
+void
 _XimReregisterFilter(
     Xic                 ic)
 {
@@ -354,7 +354,7 @@ _XimReregisterFilter(
     return;
 }
 
-Private Bool
+static Bool
 _XimFilterServerDestroy(
     Display            *d,
     Window              w,
@@ -376,7 +376,7 @@ _XimFilterServerDestroy(
     return True;
 }
 
-Public void
+void
 _XimRegisterServerFilter(
     Xim                 im)
 {
@@ -395,7 +395,7 @@ _XimRegisterServerFilter(
     return;
 }
 
-Public void
+void
 _XimUnregisterServerFilter(
     Xim                 im)
 {
index a06f6a7..9610a0f 100644 (file)
@@ -56,7 +56,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Private Bool
+static Bool
 _XimCreateICCheck(
     Xim          im,
     INT16        len,
@@ -81,7 +81,7 @@ _XimCreateICCheck(
 }
 
 #ifdef XIM_CONNECTABLE
-Public Bool
+Bool
 _XimReCreateIC(ic)
     Xic                         ic;
 {
@@ -108,7 +108,7 @@ _XimReCreateIC(ic)
     XPointer            preply;
     int                         ret_code;
 
-    if (!(save_ic = (Xic)Xmalloc(sizeof(XicRec))))
+    if (!(save_ic = Xmalloc(sizeof(XicRec))))
        return False;
     memcpy((char *)save_ic, (char *)ic, sizeof(XicRec));
 
@@ -120,7 +120,7 @@ _XimReCreateIC(ic)
 
     num = im->core.ic_num_resources;
     buf_size = sizeof(XIMResource) * num;
-    if (!(res = (XIMResourceList)Xmalloc(buf_size)))
+    if (!(res = Xmalloc(buf_size)))
        goto ErrorOnReCreateIC;
     (void)memcpy((char *)res, (char *)im->core.ic_resources, buf_size);
     ic->private.proto.ic_resources     = res;
@@ -128,7 +128,7 @@ _XimReCreateIC(ic)
 
     num = im->private.proto.ic_num_inner_resources;
     buf_size = sizeof(XIMResource) * num;
-    if (!(res = (XIMResourceList)Xmalloc(buf_size)))
+    if (!(res = Xmalloc(buf_size)))
        goto ErrorOnReCreateIC;
     (void)memcpy((char *)res,
                        (char *)im->private.proto.ic_inner_resources, buf_size);
@@ -164,13 +164,13 @@ _XimReCreateIC(ic)
 
        buf_size += ret_len;
        if (buf == tmp_buf) {
-           if (!(tmp = (char *)Xmalloc(buf_size + data_len))) {
+           if (!(tmp = Xmalloc(buf_size + data_len))) {
                goto ErrorOnReCreateIC;
            }
            memcpy(tmp, buf, buf_size);
            buf = tmp;
        } else {
-           if (!(tmp = (char *)Xrealloc(buf, (buf_size + data_len)))) {
+           if (!(tmp = Xrealloc(buf, (buf_size + data_len)))) {
                Xfree(buf);
                goto ErrorOnReCreateIC;
            }
@@ -203,7 +203,7 @@ _XimReCreateIC(ic)
            preply = reply;
        } else {
            buf_size = (int)len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                                 _XimCreateICCheck, 0);
            if (ret_code != XIM_TRUE) {
@@ -244,7 +244,7 @@ ErrorOnReCreateIC:
     return False;
 }
 
-Private char *
+static char *
 _XimDelayModeGetICValues(ic, arg)
     Xic                         ic;
     XIMArg             *arg;
@@ -259,7 +259,7 @@ _XimDelayModeGetICValues(ic, arg)
 }
 #endif /* XIM_CONNECTABLE */
 
-Private Bool
+static Bool
 _XimGetICValuesCheck(
     Xim          im,
     INT16        len,
@@ -288,7 +288,7 @@ _XimGetICValuesCheck(
     return False;
 }
 
-Private char *
+static char *
 _XimProtoGetICValues(
     XIC                         xic,
     XIMArg             *arg)
@@ -351,7 +351,7 @@ _XimProtoGetICValues(
             + sizeof(INT16)
             + XIM_PAD(2 + buf_size);
 
-    if (!(buf = (CARD8 *)Xmalloc(buf_size)))
+    if (!(buf = Xmalloc(buf_size)))
        return arg->name;
     buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE];
 
@@ -385,7 +385,7 @@ _XimProtoGetICValues(
                preply = reply;
            } else {
                buf_size = (int)len;
-               preply = (XPointer)Xmalloc(len);
+               preply = Xmalloc(len);
                ret_code = _XimRead(im, &len, preply, buf_size,
                                _XimGetICValuesCheck, (XPointer)ic);
                if (ret_code != XIM_TRUE) {
@@ -424,7 +424,7 @@ _XimProtoGetICValues(
 }
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimCheckNestQuarkList(quark_list, num_quark, quark, separator)
     XrmQuark           *quark_list;
     int                         num_quark;
@@ -444,7 +444,7 @@ _XimCheckNestQuarkList(quark_list, num_quark, quark, separator)
     return False;
 }
 
-Private Bool
+static Bool
 _XimCheckNestedQuarkList(quark_list, idx, num_quark, arg, separator)
     XrmQuark           **quark_list;
     int                          idx;
@@ -465,7 +465,7 @@ _XimCheckNestedQuarkList(quark_list, idx, num_quark, arg, separator)
                                                        quark, separator)) {
            continue;
        }
-       if (!(tmp = (XrmQuark *)Xmalloc((sizeof(XrmQuark) * (n_quark + 1))))) {
+       if (!(tmp = Xmalloc((sizeof(XrmQuark) * (n_quark + 1))))) {
            *quark_list = q_list;
            *num_quark = n_quark;
            return False;
@@ -485,7 +485,7 @@ _XimCheckNestedQuarkList(quark_list, idx, num_quark, arg, separator)
     return True;
 }
 
-Private Bool
+static Bool
 _XimCheckICQuarkList(quark_list, num_quark, quark, idx)
     XrmQuark           *quark_list;
     int                         num_quark;
@@ -503,7 +503,7 @@ _XimCheckICQuarkList(quark_list, num_quark, quark, idx)
     return False;
 }
 
-Private Bool
+static Bool
 _XimSaveICValues(ic, arg)
     Xic                         ic;
     XIMArg             *arg;
@@ -535,7 +535,7 @@ _XimSaveICValues(ic, arg)
 
                    for (pp = (XIMArg *)p->value, nn = 0;
                                                pp && pp->name; pp++, nn++);
-                   if (!(tmp = (XrmQuark *)Xrealloc(quark_list,
+                   if (!(tmp = Xrealloc(quark_list,
                                (sizeof(XrmQuark) * (num_quark + nn + 2))))) {
                        ic->private.proto.saved_icvalues = quark_list;
                        ic->private.proto.num_saved_icvalues = num_quark;
@@ -562,7 +562,7 @@ _XimSaveICValues(ic, arg)
                if (_XimCheckICQuarkList(quark_list, num_quark, quark, &idx)) {
                    continue;
                }
-               if (!(tmp = (XrmQuark *)Xrealloc(quark_list,
+               if (!(tmp = Xrealloc(quark_list,
                                (sizeof(XrmQuark) * (num_quark + 1))))) {
                    ic->private.proto.saved_icvalues = quark_list;
                    ic->private.proto.num_saved_icvalues = num_quark;
@@ -589,7 +589,7 @@ _XimSaveICValues(ic, arg)
        }
     }
 
-    if (!(quark_list = (XrmQuark *)Xmalloc(sizeof(XrmQuark) * n))) {
+    if (!(quark_list = Xmalloc(sizeof(XrmQuark) * n))) {
        return False;
     }
 
@@ -610,7 +610,7 @@ _XimSaveICValues(ic, arg)
     return True;
 }
 
-Private char *
+static char *
 _XimDelayModeSetICValues(ic, arg)
     Xic                         ic;
     XIMArg             *arg;
@@ -628,7 +628,7 @@ _XimDelayModeSetICValues(ic, arg)
 }
 #endif /* XIM_CONNECTABLE */
 
-Private Bool
+static Bool
 _XimSetICValuesCheck(
     Xim          im,
     INT16        len,
@@ -657,7 +657,7 @@ _XimSetICValuesCheck(
     return False;
 }
 
-Private char *
+static char *
 _XimProtoSetICValues(
     XIC                         xic,
     XIMArg             *arg)
@@ -731,13 +731,13 @@ _XimProtoSetICValues(
 
        buf_size += ret_len;
        if (buf == tmp_buf) {
-           if (!(tmp = (char *)Xmalloc(buf_size + data_len))) {
+           if (!(tmp = Xmalloc(buf_size + data_len))) {
                return tmp_name;
            }
            memcpy(tmp, buf, buf_size);
            buf = tmp;
        } else {
-           if (!(tmp = (char *)Xrealloc(buf, (buf_size + data_len)))) {
+           if (!(tmp = Xrealloc(buf, (buf_size + data_len)))) {
                Xfree(buf);
                return tmp_name;
            }
@@ -781,7 +781,7 @@ _XimProtoSetICValues(
        preply = reply;
     } else if (ret_code == XIM_OVERFLOW) {
        buf_size = (int)len;
-       preply = (XPointer)Xmalloc(buf_size);
+       preply = Xmalloc(buf_size);
        ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimSetICValuesCheck, (XPointer)ic);
        if (ret_code != XIM_TRUE) {
@@ -807,7 +807,7 @@ _XimProtoSetICValues(
     return name;
 }
 
-Private Bool
+static Bool
 _XimDestroyICCheck(
     Xim          im,
     INT16        len,
@@ -837,7 +837,7 @@ _XimDestroyICCheck(
     return ret;
 }
 
-Private void
+static void
 _XimProtoICFree(
     Xic                 ic)
 {
@@ -884,7 +884,7 @@ _XimProtoICFree(
     return;
 }
 
-Private void
+static void
 _XimProtoDestroyIC(
     XIC                 xic)
 {
@@ -915,7 +915,7 @@ _XimProtoDestroyIC(
                                        _XimDestroyICCheck, (XPointer)ic);
        if (ret_code == XIM_OVERFLOW) {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            (void)_XimRead(im, &len, preply, buf_size,
                                        _XimDestroyICCheck, (XPointer)ic);
            Xfree(preply);
@@ -927,7 +927,31 @@ _XimProtoDestroyIC(
     return;
 }
 
-Private void
+/*
+ * Some functions require the request queue from the server to be flushed
+ * so that the ordering of client initiated status changes and those requested
+ * by the server is well defined.
+ * _XimSync() would be the function of choice here as it should get a
+ * XIM_SYNC_REPLY back from the server.
+ * This however isn't implemented in the piece of junk that is used by most
+ * input servers as the server side protocol if to XIM.
+ * Since this code is not shipped as a library together with the client side
+ * XIM code but is duplicated by every input server around the world there
+ * is no easy fix to this but this ugly hack below.
+ * Obtaining an IC value from the server sends a request and empties out the
+ * event/server request queue until the answer to this request is found.
+ * Thus it is guaranteed that any pending server side request gets processed.
+ * This is what the hack below is doing.
+ */
+
+static void
+BrokenSyncWithServer(XIC xic)
+{
+    CARD32 dummy;
+    XGetICValues(xic, XNFilterEvents, &dummy, NULL);
+}
+
+static void
 _XimProtoSetFocus(
     XIC                 xic)
 {
@@ -957,6 +981,7 @@ _XimProtoSetFocus(
        }
     }
 #endif /* XIM_CONNECTABLE */
+    BrokenSyncWithServer(xic);
 
     buf_s[0] = im->private.proto.imid;         /* imid */
     buf_s[1] = ic->private.proto.icid;         /* icid */
@@ -972,7 +997,7 @@ _XimProtoSetFocus(
     return;
 }
 
-Private void
+static void
 _XimProtoUnsetFocus(
     XIC                 xic)
 {
@@ -1003,6 +1028,8 @@ _XimProtoUnsetFocus(
     }
 #endif /* XIM_CONNECTABLE */
 
+    BrokenSyncWithServer(xic);
+
     buf_s[0] = im->private.proto.imid;         /* imid */
     buf_s[1] = ic->private.proto.icid;         /* icid */
 
@@ -1017,7 +1044,7 @@ _XimProtoUnsetFocus(
     return;
 }
 
-Private Bool
+static Bool
 _XimResetICCheck(
     Xim          im,
     INT16        len,
@@ -1046,7 +1073,7 @@ _XimResetICCheck(
     return False;
 }
 
-Private char *
+static char *
 _XimProtoReset(
     XIC                 xic,
     char *     (*retfunc) (Xim im, Xic ic, XPointer buf) )
@@ -1088,7 +1115,7 @@ _XimProtoReset(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimResetICCheck, (XPointer)ic);
            if (ret_code != XIM_TRUE) {
@@ -1117,7 +1144,7 @@ _XimProtoReset(
     return commit;
 }
 
-Private char *
+static char *
 _XimCommitedMbString(
     Xim                         im,
     Xic                         ic,
@@ -1139,7 +1166,7 @@ _XimCommitedMbString(
     if ( len == 0 )
        return( NULL );
 
-    if (!(commit = (char *)Xmalloc(len + 1)))
+    if (!(commit = Xmalloc(len + 1)))
        goto Error_On_Reset;
 
     str = commit;
@@ -1167,14 +1194,14 @@ Error_On_Reset:
     return new_commit;
 }
 
-Private char *
+static char *
 _XimProtoMbReset(
     XIC                 xic)
 {
     return _XimProtoReset(xic, _XimCommitedMbString);
 }
 
-Private wchar_t *
+static wchar_t *
 _XimCommitedWcString(
     Xim                 im,
     Xic                 ic,
@@ -1196,7 +1223,7 @@ _XimCommitedWcString(
     if ( len == 0 )
        return( (wchar_t *)NULL );
 
-    if (!(commit = (char *)Xmalloc(len + 1)))
+    if (!(commit = Xmalloc(len + 1)))
        goto Error_On_Reset;
 
     str = commit;
@@ -1225,7 +1252,7 @@ Error_On_Reset:
     return new_commit;
 }
 
-Private wchar_t *
+static wchar_t *
 _XimProtoWcReset(
     XIC                 xic)
 {
@@ -1233,7 +1260,7 @@ _XimProtoWcReset(
                        (char * (*) (Xim, Xic, XPointer)) _XimCommitedWcString);
 }
 
-Private char *
+static char *
 _XimCommitedUtf8String(
     Xim                         im,
     Xic                         ic,
@@ -1255,7 +1282,7 @@ _XimCommitedUtf8String(
     if ( len == 0 )
        return( NULL );
 
-    if (!(commit = (char *)Xmalloc(len + 1)))
+    if (!(commit = Xmalloc(len + 1)))
        goto Error_On_Reset;
 
     str = commit;
@@ -1283,14 +1310,14 @@ Error_On_Reset:
     return new_commit;
 }
 
-Private char *
+static char *
 _XimProtoUtf8Reset(
     XIC                 xic)
 {
     return _XimProtoReset(xic, _XimCommitedUtf8String);
 }
 
-Private XICMethodsRec ic_methods = {
+static XICMethodsRec ic_methods = {
     _XimProtoDestroyIC,                /* destroy */
     _XimProtoSetFocus,         /* set_focus */
     _XimProtoUnsetFocus,       /* unset_focus */
@@ -1304,7 +1331,7 @@ Private XICMethodsRec ic_methods = {
     _XimProtoUtf8LookupString  /* utf8_lookup_string */
 };
 
-Private Bool
+static Bool
 _XimGetInputStyle(
     XIMArg             *arg,
     XIMStyle           *input_style)
@@ -1321,7 +1348,7 @@ _XimGetInputStyle(
 }
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimDelayModeCreateIC(
     Xic                         ic,
     XIMArg             *values,
@@ -1356,7 +1383,7 @@ _XimDelayModeCreateIC(
     return True;
 }
 
-Public Bool
+Bool
 _XimReconnectModeCreateIC(ic)
     Xic                         ic;
 {
@@ -1368,7 +1395,7 @@ _XimReconnectModeCreateIC(ic)
 
     num = im->core.ic_num_resources;
     len = sizeof(XIMResource) * num;
-    if (!(res = (XIMResourceList)Xmalloc(len)))
+    if (!(res = Xmalloc(len)))
        return False;
     (void)memcpy((char *)res, (char *)im->core.ic_resources, len);
     ic->private.proto.ic_resources     = res;
@@ -1382,7 +1409,7 @@ _XimReconnectModeCreateIC(ic)
 }
 #endif /* XIM_CONNECTABLE */
 
-Public XIC
+XIC
 _XimProtoCreateIC(
     XIM                         xim,
     XIMArg             *arg)
@@ -1430,7 +1457,7 @@ _XimProtoCreateIC(
 
     num = im->core.ic_num_resources;
     len = sizeof(XIMResource) * num;
-    if (!(res = (XIMResourceList)Xmalloc(len)))
+    if (!(res = Xmalloc(len)))
        goto ErrorOnCreatingIC;
     (void)memcpy((char *)res, (char *)im->core.ic_resources, len);
     ic->private.proto.ic_resources     = res;
@@ -1458,7 +1485,7 @@ _XimProtoCreateIC(
 
     num = im->private.proto.ic_num_inner_resources;
     len = sizeof(XIMResource) * num;
-    if (!(res = (XIMResourceList)Xmalloc(len)))
+    if (!(res = Xmalloc(len)))
        goto ErrorOnCreatingIC;
     (void)memcpy((char *)res,
                         (char *)im->private.proto.ic_inner_resources, len);
@@ -1492,13 +1519,13 @@ _XimProtoCreateIC(
 
        buf_size += ret_len;
        if (buf == tmp_buf) {
-           if (!(tmp = (char *)Xmalloc(buf_size + data_len))) {
+           if (!(tmp = Xmalloc(buf_size + data_len))) {
                goto ErrorOnCreatingIC;
            }
            memcpy(tmp, buf, buf_size);
            buf = tmp;
        } else {
-           if (!(tmp = (char *)Xrealloc(buf, (buf_size + data_len)))) {
+           if (!(tmp = Xrealloc(buf, (buf_size + data_len)))) {
                Xfree(buf);
                goto ErrorOnCreatingIC;
            }
@@ -1538,7 +1565,7 @@ _XimProtoCreateIC(
            preply = reply;
        } else {
            buf_size = (int)len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                                 _XimCreateICCheck, 0);
            if (ret_code != XIM_TRUE) {
index 18a3cc8..9168135 100644 (file)
@@ -63,7 +63,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Ximint.h"
 
 
-Public int
+int
 _XimCheckDataSize(
     XPointer    buf,
     int                 len)
@@ -75,7 +75,7 @@ _XimCheckDataSize(
     return  buf_s[1];
 }
 
-Public void
+void
 _XimSetHeader(
     XPointer    buf,
     CARD8       major_opcode,
@@ -93,7 +93,7 @@ _XimSetHeader(
     return;
 }
 
-Public char
+char
 _XimGetMyEndian(void)
 {
     CARD16      test_card = 1;
@@ -104,7 +104,7 @@ _XimGetMyEndian(void)
        return BIGENDIAN;
 }
 
-Private Bool
+static Bool
 _XimCheckServerName(
     Xim                   im,
     char         *str)
@@ -142,7 +142,7 @@ _XimCheckServerName(
     return True;
 }
 
-Private char *
+static char *
 _XimCheckLocaleName(
     Xim                   im,
     char         *address,
@@ -182,7 +182,7 @@ _XimCheckLocaleName(
     return (char *)NULL;
 }
 
-Private Bool
+static Bool
 _XimCheckTransport(
     char         *address,
     int                   address_len,
@@ -226,7 +226,7 @@ _XimCheckTransport(
     return True;
 }
 
-Private Bool
+static Bool
 _CheckSNEvent(
     Display            *display,
     XEvent             *xevent,
@@ -240,7 +240,7 @@ _CheckSNEvent(
     return False;
 }
 
-Private Bool
+static Bool
 _XimGetSelectionNotify(
     Display             *display,
     Window               window,
@@ -269,7 +269,7 @@ _XimGetSelectionNotify(
     return True;
 }
 
-Private Bool
+static Bool
 _XimPreConnectionIM(
     Xim                         im,
     Atom                selection)
@@ -387,7 +387,7 @@ Error:
     return False;
 }
 
-Private Bool
+static Bool
 _XimPreConnect(
     Xim                    im)
 {
@@ -434,7 +434,7 @@ _XimPreConnect(
     return True;
 }
 
-Private Bool
+static Bool
 _XimGetAuthProtocolNames(
     Xim                 im,
     CARD16     *buf,
@@ -452,7 +452,7 @@ _XimGetAuthProtocolNames(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetAuthReplyData(
     Xim                 im,
     XPointer    buf,
@@ -465,7 +465,7 @@ _XimSetAuthReplyData(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetAuthNextData(
     Xim                 im,
     XPointer    buf,
@@ -478,7 +478,7 @@ _XimSetAuthNextData(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetAuthRequiredData(
     Xim                 im,
     XPointer    buf,
@@ -491,7 +491,7 @@ _XimSetAuthRequiredData(
     return True;
 }
 
-Private Bool
+static Bool
 _XimCheckAuthSetupData(
     Xim                 im,
     XPointer    buf)
@@ -502,7 +502,7 @@ _XimCheckAuthSetupData(
     return True;
 }
 
-Private Bool
+static Bool
 _XimCheckAuthNextData(
     Xim                 im,
     XPointer    buf)
@@ -517,7 +517,7 @@ _XimCheckAuthNextData(
 #define        GOOD_AUTH       1
 #define        BAD_AUTH        0
 
-Private int
+static int
 _XimClientAuthCheck(
     Xim                 im,
     XPointer    buf)
@@ -528,7 +528,7 @@ _XimClientAuthCheck(
     return NO_MORE_AUTH;
 }
 
-Private void
+static void
 _XimAuthNG(
     Xim                 im)
 {
@@ -542,7 +542,7 @@ _XimAuthNG(
     return;
 }
 
-Private        Bool
+static Bool
 _XimAllRecv(
     Xim                 im,
     INT16       len,
@@ -555,7 +555,7 @@ _XimAllRecv(
 #define        CLIENT_WAIT1            1
 #define        CLIENT_WAIT2            2
 
-Private Bool
+static Bool
 _XimConnection(
     Xim                 im)
 {
@@ -616,7 +616,7 @@ _XimConnection(
                preply = reply;
            } else {
                buf_size = len;
-               preply = (XPointer)Xmalloc(buf_size);
+               preply = Xmalloc(buf_size);
                ret_code = _XimRead(im, &len, preply, buf_size, _XimAllRecv, 0);
                if(ret_code != XIM_TRUE) {
                    Xfree(preply);
@@ -716,7 +716,7 @@ _XimConnection(
     return True;
 }
 
-Private        Bool
+static Bool
 _XimDisconnectCheck(
     Xim                 im,
     INT16       len,
@@ -735,7 +735,7 @@ _XimDisconnectCheck(
     return False;
 }
 
-Private Bool
+static Bool
 _XimDisconnect(
     Xim                 im)
 {
@@ -759,7 +759,7 @@ _XimDisconnect(
        if(ret_code == XIM_OVERFLOW) {
            if(len > 0) {
                buf_size = len;
-               preply = (XPointer)Xmalloc(buf_size);
+               preply = Xmalloc(buf_size);
                ret_code = _XimRead(im, &len, preply, buf_size,
                                                 _XimDisconnectCheck, 0);
                Xfree(preply);
@@ -775,7 +775,7 @@ _XimDisconnect(
     return True;
 }
 
-Private        Bool
+static Bool
 _XimOpenCheck(
     Xim                 im,
     INT16       len,
@@ -794,7 +794,7 @@ _XimOpenCheck(
     return False;
 }
 
-Private Bool
+static Bool
 _XimOpen(
     Xim                         im)
 {
@@ -831,7 +831,7 @@ _XimOpen(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimOpenCheck, 0);
            if(ret_code != XIM_TRUE) {
@@ -890,7 +890,7 @@ _XimOpen(
     return True;
 }
 
-Private        Bool
+static Bool
 _XimCloseCheck(
     Xim                 im,
     INT16       len,
@@ -914,7 +914,7 @@ _XimCloseCheck(
     return False;
 }
 
-Private Bool
+static Bool
 _XimClose(
     Xim                 im)
 {
@@ -950,7 +950,7 @@ _XimClose(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size, _XimCloseCheck, 0);
            if(ret_code != XIM_TRUE) {
                Xfree(preply);
@@ -972,7 +972,7 @@ _XimClose(
     return True;
 }
 
-Public void
+void
 _XimProtoIMFree(
     Xim                  im)
 {
@@ -1090,7 +1090,7 @@ _XimProtoIMFree(
     return;
 }
 
-Private Status
+static Status
 _XimProtoCloseIM(
     XIM                 xim)
 {
@@ -1105,10 +1105,10 @@ _XimProtoCloseIM(
        next = ic->core.next;
 #ifdef XIM_CONNECTABLE
        if (!(!IS_SERVER_CONNECTED(im) && IS_RECONNECTABLE(im))) {
-           Xfree ((char *) ic);
+           Xfree (ic);
        }
 #else
-       Xfree ((char *) ic);
+       Xfree (ic);
 #endif /* XIM_CONNECTABLE */
        ic = next;
     }
@@ -1138,7 +1138,7 @@ _XimProtoCloseIM(
 }
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimCheckIMQuarkList(
     XrmQuark           *quark_list,
     int                         num_quark,
@@ -1154,7 +1154,7 @@ _XimCheckIMQuarkList(
     return False;
 }
 
-Private Bool
+static Bool
 _XimSaveIMValues(
     Xim                         im,
     XIMArg             *arg)
@@ -1173,7 +1173,7 @@ _XimSaveIMValues(
            if (_XimCheckIMQuarkList(quark_list, num_quark, quark)) {
                continue;
            }
-           if (!(tmp = (XrmQuark *)Xrealloc(quark_list,
+           if (!(tmp = Xrealloc(quark_list,
                                (sizeof(XrmQuark) * (num_quark + 1))))) {
                im->private.proto.saved_imvalues = quark_list;
                im->private.proto.num_saved_imvalues = num_quark;
@@ -1190,7 +1190,7 @@ _XimSaveIMValues(
 
     for (p = arg, n = 0; p && p->name; p++, n++);
 
-    if (!(quark_list = (XrmQuark *)Xmalloc(sizeof(XrmQuark) * n))) {
+    if (!(quark_list = Xmalloc(sizeof(XrmQuark) * n))) {
        return False;
     }
 
@@ -1203,7 +1203,7 @@ _XimSaveIMValues(
     return True;
 }
 
-Private char *
+static char *
 _XimDelayModeSetIMValues(
     Xim                         im,
     XIMArg             *arg)
@@ -1221,7 +1221,7 @@ _XimDelayModeSetIMValues(
 }
 #endif /* XIM_CONNECTABLE */
 
-Private Bool
+static Bool
 _XimSetIMValuesCheck(
     Xim          im,
     INT16        len,
@@ -1245,7 +1245,7 @@ _XimSetIMValuesCheck(
     return False;
 }
 
-Private char *
+static char *
 _XimProtoSetIMValues(
     XIM                         xim,
     XIMArg             *arg)
@@ -1311,13 +1311,13 @@ _XimProtoSetIMValues(
 
        buf_size += ret_len;
        if (buf == tmp_buf) {
-           if (!(tmp = (char *)Xmalloc(buf_size + data_len))) {
+           if (!(tmp = Xmalloc(buf_size + data_len))) {
                return arg->name;
            }
            memcpy(tmp, buf, buf_size);
            buf = tmp;
        } else {
-           if (!(tmp = (char *)Xrealloc(buf, (buf_size + data_len)))) {
+           if (!(tmp = Xrealloc(buf, (buf_size + data_len)))) {
                Xfree(buf);
                return arg->name;
            }
@@ -1353,7 +1353,7 @@ _XimProtoSetIMValues(
            preply = reply;
        } else {
            buf_size = (int)len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, reply, buf_size,
                                        _XimSetIMValuesCheck, 0);
            if(ret_code != XIM_TRUE) {
@@ -1377,7 +1377,7 @@ _XimProtoSetIMValues(
 }
 
 #ifdef XIM_CONNECTABLE
-Private char *
+static char *
 _XimDelayModeGetIMValues(
     Xim                         im,
     XIMArg             *arg)
@@ -1390,7 +1390,7 @@ _XimDelayModeGetIMValues(
 }
 #endif /* XIM_CONNECTABLE */
 
-Private Bool
+static Bool
 _XimGetIMValuesCheck(
     Xim          im,
     INT16        len,
@@ -1414,7 +1414,7 @@ _XimGetIMValuesCheck(
     return False;
 }
 
-Private char *
+static char *
 _XimProtoGetIMValues(
     XIM                         xim,
     XIMArg             *arg)
@@ -1462,7 +1462,7 @@ _XimProtoGetIMValues(
             + sizeof(INT16)
             + XIM_PAD(buf_size);
 
-    if (!(buf = (CARD8 *)Xmalloc(buf_size)))
+    if (!(buf = Xmalloc(buf_size)))
        return arg->name;
     buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE];
 
@@ -1494,7 +1494,7 @@ _XimProtoGetIMValues(
                preply = reply;
            } else {
                buf_size = len;
-               preply = (XPointer)Xmalloc(buf_size);
+               preply = Xmalloc(buf_size);
                ret_code = _XimRead(im, &len, preply, buf_size,
                                                _XimGetIMValuesCheck, 0);
                if(ret_code != XIM_TRUE) {
@@ -1526,7 +1526,7 @@ _XimProtoGetIMValues(
        return makeid_name;
 }
 
-Private XIMMethodsRec     im_methods = {
+static XIMMethodsRec     im_methods = {
     _XimProtoCloseIM,           /* close */
     _XimProtoSetIMValues,       /* set_values */
     _XimProtoGetIMValues,       /* get_values */
@@ -1536,7 +1536,7 @@ Private XIMMethodsRec     im_methods = {
     _Ximctstoutf8              /* ctstoutf8 */
 };
 
-Private Bool
+static Bool
 _XimSetEncodingByName(
     Xim                  im,
     char       **buf,
@@ -1556,7 +1556,7 @@ _XimSetEncodingByName(
     encoding_len = strlen(encoding);
     compound_len = strlen("COMPOUND_TEXT");
     *len = encoding_len + sizeof(BYTE) + compound_len + sizeof(BYTE);
-    if (!(ret = (BYTE *)Xmalloc(*len))) {
+    if (!(ret = Xmalloc(*len))) {
        return False;
     }
     *buf = (char *)ret;
@@ -1569,7 +1569,7 @@ _XimSetEncodingByName(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetEncodingByDetail(
     Xim                 im,
     char       **buf,
@@ -1580,7 +1580,7 @@ _XimSetEncodingByDetail(
     return True;
 }
 
-Private Bool
+static Bool
 _XimGetEncoding(
     Xim                 im,
     CARD16     *buf,
@@ -1669,7 +1669,7 @@ _XimGetEncoding(
     return True;
 }
 
-Private        Bool
+static Bool
 _XimEncodingNegoCheck(
     Xim                 im,
     INT16       len,
@@ -1693,7 +1693,7 @@ _XimEncodingNegoCheck(
     return False;
 }
 
-Private Bool
+static Bool
 _XimEncodingNegotiation(
     Xim                 im)
 {
@@ -1724,7 +1724,7 @@ _XimEncodingNegotiation(
        + sizeof(CARD16)
        + detail_len;
 
-    if (!(buf = (CARD8 *)Xmalloc(XIM_HEADER_SIZE + len)))
+    if (!(buf = Xmalloc(XIM_HEADER_SIZE + len)))
        goto free_detail_ptr;
 
     buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE];
@@ -1757,7 +1757,7 @@ _XimEncodingNegotiation(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimEncodingNegoCheck, 0);
            if(ret_code != XIM_TRUE)
@@ -1799,7 +1799,7 @@ free_name_ptr:
 }
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimSendSavedIMValues(
     Xim                         im)
 {
@@ -1844,13 +1844,13 @@ _XimSendSavedIMValues(
 
        buf_size += ret_len;
        if (buf == tmp_buf) {
-           if (!(tmp = (char *)Xmalloc(buf_size + data_len))) {
+           if (!(tmp = Xmalloc(buf_size + data_len))) {
                return False;
            }
            memcpy(tmp, buf, buf_size);
            buf = tmp;
        } else {
-           if (!(tmp = (char *)Xrealloc(buf, (buf_size + data_len)))) {
+           if (!(tmp = Xrealloc(buf, (buf_size + data_len)))) {
                Xfree(buf);
                return False;
            }
@@ -1885,7 +1885,7 @@ _XimSendSavedIMValues(
            preply = reply;
        } else {
            buf_size = (int)len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, reply, buf_size,
                                        _XimSetIMValuesCheck, 0);
            if(ret_code != XIM_TRUE) {
@@ -1909,7 +1909,7 @@ _XimSendSavedIMValues(
     return True;
 }
 
-Private void
+static void
 _XimDelayModeIMFree(
     Xim                 im)
 {
@@ -1932,13 +1932,13 @@ _XimDelayModeIMFree(
     return;
 }
 
-Public Bool
+Bool
 _XimConnectServer(
     Xim                 im)
 {
     Xim                 save_im;
 
-    if (!(save_im = (Xim)Xmalloc(sizeof(XimRec))))
+    if (!(save_im = Xmalloc(sizeof(XimRec))))
        return False;
     memcpy((char *)save_im, (char *)im, sizeof(XimRec));
 
@@ -1956,7 +1956,7 @@ _XimConnectServer(
     return False;
 }
 
-Public Bool
+Bool
 _XimDelayModeSetAttr(
     Xim                         im)
 {
@@ -1988,7 +1988,7 @@ _XimDelayModeSetAttr(
     return True;
 }
 
-Private Bool
+static Bool
 _XimReconnectModeSetAttr(
     Xim                         im)
 {
@@ -2015,7 +2015,7 @@ _XimReconnectModeSetAttr(
 }
 #endif /* XIM_CONNECTABLE */
 
-Public Bool
+Bool
 _XimProtoOpenIM(
     Xim                 im)
 {
index cf75919..e881234 100644 (file)
@@ -34,7 +34,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Public Xic
+Xic
 _XimICOfXICID(
     Xim                  im,
     XICID        icid)
@@ -48,7 +48,7 @@ _XimICOfXICID(
     return (Xic)0;
 }
 
-Private void
+static void
 _XimProcIMSetEventMask(
     Xim                 im,
     XPointer    buf)
@@ -60,7 +60,7 @@ _XimProcIMSetEventMask(
     return;
 }
 
-Private void
+static void
 _XimProcICSetEventMask(
     Xic                 ic,
     XPointer    buf)
@@ -73,7 +73,7 @@ _XimProcICSetEventMask(
     return;
 }
 
-Public Bool
+Bool
 _XimSetEventMaskCallback(
     Xim                 xim,
     INT16       len,
@@ -98,7 +98,7 @@ _XimSetEventMaskCallback(
     return False;
 }
 
-Private Bool
+static Bool
 _XimSyncCheck(
     Xim          im,
     INT16        len,
@@ -127,7 +127,7 @@ _XimSyncCheck(
     return False;
 }
 
-Public Bool
+Bool
 _XimSync(
     Xim                 im,
     Xic                 ic)
@@ -162,7 +162,7 @@ _XimSync(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(len);
+           preply = Xmalloc(len);
            ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimSyncCheck, (XPointer)ic);
            if(ret_code != XIM_TRUE) {
@@ -185,7 +185,7 @@ _XimSync(
     return True;
 }
 
-Public Bool
+Bool
 _XimProcSyncReply(
     Xim                 im,
     Xic                 ic)
@@ -208,7 +208,7 @@ _XimProcSyncReply(
     return True;
 }
 
-Public Bool
+Bool
 _XimRespSyncReply(
     Xic                 ic,
     BITMASK16   mode)
@@ -219,7 +219,7 @@ _XimRespSyncReply(
     return True;
 }
 
-Public Bool
+Bool
 _XimSyncCallback(
     Xim                 xim,
     INT16       len,
@@ -240,7 +240,7 @@ _XimSyncCallback(
     return False;
 }
 
-Private INT16
+static INT16
 _XimSetEventToWire(
     XEvent     *ev,
     xEvent     *event)
@@ -252,7 +252,7 @@ _XimSetEventToWire(
     return sz_xEvent;
 }
 
-Private Bool
+static Bool
 _XimForwardEventCore(
     Xic                 ic,
     XEvent     *ev,
@@ -269,6 +269,8 @@ _XimForwardEventCore(
     int                 ret_code;
     INT16       len;
 
+    bzero(buf32, sizeof(buf32)); /* valgrind noticed uninitialized memory use! */
+
     if (!(len = _XimSetEventToWire(ev, (xEvent *)&buf_s[4])))
        return False;                           /* X event */
 
@@ -300,7 +302,7 @@ _XimForwardEventCore(
                preply = reply;
            } else {
                buf_size = len;
-               preply = (XPointer)Xmalloc(len);
+               preply = Xmalloc(len);
                ret_code = _XimRead(im, &len, preply, buf_size,
                                        _XimSyncCheck, (XPointer)ic);
                if(ret_code != XIM_TRUE) {
@@ -324,7 +326,7 @@ _XimForwardEventCore(
     return True;
 }
 
-Public Bool
+Bool
 _XimForwardEvent(
     Xic                 ic,
     XEvent     *ev,
@@ -338,7 +340,7 @@ _XimForwardEvent(
     return _XimForwardEventCore(ic, ev, sync);
 }
 
-Private void
+static void
 _XimProcEvent(
     Display            *d,
     Xic                         ic,
@@ -356,7 +358,7 @@ _XimProcEvent(
     return;
 }
 
-Private Bool
+static Bool
 _XimForwardEventRecv(
     Xim                 im,
     Xic                 ic,
@@ -375,7 +377,7 @@ _XimForwardEventRecv(
     return True;
 }
 
-Public Bool
+Bool
 _XimForwardEventCallback(
     Xim                 xim,
     INT16       len,
@@ -396,7 +398,7 @@ _XimForwardEventCallback(
     return False;
 }
 
-Private Bool
+static Bool
 _XimRegisterTriggerkey(
     Xim                         im,
     XPointer            buf)
@@ -415,7 +417,7 @@ _XimRegisterTriggerkey(
     len = buf_l[0];                            /* length of on-keys */
     len += sizeof(INT32);                      /* sizeof length of on-keys */
 
-    if (!(key = (CARD32 *)Xmalloc(len))) {
+    if (!(key = Xmalloc(len))) {
        _XimError(im, 0, XIM_BadAlloc, (INT16)0, (CARD16)0, (char *)NULL);
        return False;
     }
@@ -432,7 +434,7 @@ _XimRegisterTriggerkey(
     len = buf_l[0];                            /* length of off-keys */
     len += sizeof(INT32);                      /* sizeof length of off-keys */
 
-    if (!(key = (CARD32 *)Xmalloc(len))) {
+    if (!(key = Xmalloc(len))) {
        _XimError(im, 0, XIM_BadAlloc, (INT16)0, (CARD16)0, (char *)NULL);
        return False;
     }
@@ -443,7 +445,7 @@ _XimRegisterTriggerkey(
     return True;
 }
 
-Public Bool
+Bool
 _XimRegisterTriggerKeysCallback(
     Xim                 xim,
     INT16       len,
@@ -457,7 +459,7 @@ _XimRegisterTriggerKeysCallback(
     return True;
 }
 
-Public EVENTMASK
+EVENTMASK
 _XimGetWindowEventmask(
     Xic                 ic)
 {
@@ -470,7 +472,7 @@ _XimGetWindowEventmask(
 }
 
 
-Private Bool
+static Bool
 _XimTriggerNotifyCheck(
     Xim          im,
     INT16        len,
@@ -499,7 +501,7 @@ _XimTriggerNotifyCheck(
     return False;
 }
 
-Public Bool
+Bool
 _XimTriggerNotify(
     Xim                 im,
     Xic                 ic,
@@ -544,7 +546,7 @@ _XimTriggerNotify(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(len);
+           preply = Xmalloc(len);
            ret_code = _XimRead(im, &len, (XPointer)reply, buf_size,
                                _XimTriggerNotifyCheck, (XPointer)ic);
            if(ret_code != XIM_TRUE) {
@@ -567,7 +569,7 @@ _XimTriggerNotify(
     return True;
 }
 
-Private Bool
+static Bool
 _XimRegCommitInfo(
     Xic                         ic,
     char               *string,
@@ -577,7 +579,7 @@ _XimRegCommitInfo(
 {
     XimCommitInfo      info;
 
-    if (!(info = (XimCommitInfo)Xmalloc(sizeof(XimCommitInfoRec))))
+    if (!(info = Xmalloc(sizeof(XimCommitInfoRec))))
        return False;
     info->string       = string;
     info->string_len   = string_len;
@@ -588,7 +590,7 @@ _XimRegCommitInfo(
     return True;
 }
 
-Private void
+static void
 _XimUnregCommitInfo(
     Xic                        ic)
 {
@@ -606,7 +608,7 @@ _XimUnregCommitInfo(
     return;
 }
 
-Public void
+void
 _XimFreeCommitInfo(
     Xic                        ic)
 {
@@ -615,7 +617,7 @@ _XimFreeCommitInfo(
     return;
 }
 
-Private Bool
+static Bool
 _XimProcKeySym(
     Xic                          ic,
     CARD32               sym,
@@ -624,7 +626,7 @@ _XimProcKeySym(
 {
     Xim                         im = (Xim)ic->core.im;
 
-    if (!(*xim_keysym = (KeySym *)Xmalloc(sizeof(KeySym)))) {
+    if (!(*xim_keysym = Xmalloc(sizeof(KeySym)))) {
        _XimError(im, ic, XIM_BadAlloc, (INT16)0, (CARD16)0, (char *)NULL);
        return False;
     }
@@ -635,7 +637,7 @@ _XimProcKeySym(
     return True;
 }
 
-Private Bool
+static Bool
 _XimProcCommit(
     Xic                  ic,
     BYTE        *buf,
@@ -646,7 +648,7 @@ _XimProcCommit(
     Xim                 im = (Xim)ic->core.im;
     char       *string;
 
-    if (!(string = (char *)Xmalloc(len + 1))) {
+    if (!(string = Xmalloc(len + 1))) {
        _XimError(im, ic, XIM_BadAlloc, (INT16)0, (CARD16)0, (char *)NULL);
        return False;
     }
@@ -659,7 +661,7 @@ _XimProcCommit(
     return True;
 }
 
-Private Bool
+static Bool
 _XimCommitRecv(
     Xim                 im,
     Xic                 ic,
@@ -704,7 +706,11 @@ _XimCommitRecv(
 
     (void)_XimRespSyncReply(ic, flag);
 
-    MARK_FABRICATED(im);
+    if (ic->private.proto.registed_filter_event
+       & (KEYPRESS_MASK | KEYRELEASE_MASK))
+           MARK_FABRICATED(im);
+
+    bzero(&ev, sizeof(ev));    /* uninitialized : found when running kterm under valgrind */
 
     ev.type = KeyPress;
     ev.send_event = False;
@@ -713,12 +719,21 @@ _XimCommitRecv(
     ev.keycode = 0;
     ev.state = 0;
 
+    ev.time = 0L;
+    ev.serial = LastKnownRequestProcessed(im->core.display);
+    /* FIXME :
+       I wish there were COMMENTs (!) about the data passed around.
+    */
+#if 0
+    fprintf(stderr,"%s,%d: putback k press   FIXED ev.time=0 ev.serial=%lu\n", __FILE__, __LINE__, ev.serial);
+#endif
+
     XPutBackEvent(im->core.display, (XEvent *)&ev);
 
     return True;
 }
 
-Public Bool
+Bool
 _XimCommitCallback(
     Xim                 xim,
     INT16       len,
@@ -739,7 +754,7 @@ _XimCommitCallback(
     return False;
 }
 
-Public void
+void
 _XimProcError(
     Xim                 im,
     Xic                 ic,
@@ -748,7 +763,7 @@ _XimProcError(
     return;
 }
 
-Public Bool
+Bool
 _XimErrorCallback(
     Xim                 xim,
     INT16       len,
@@ -777,7 +792,7 @@ _XimErrorCallback(
     return True;
 }
 
-Public Bool
+Bool
 _XimError(
     Xim                 im,
     Xic                 ic,
@@ -821,7 +836,7 @@ _XimError(
     return True;
 }
 
-Private int
+static int
 _Ximctsconvert(
     XlcConv     conv,
     char       *from,
@@ -887,7 +902,7 @@ _Ximctsconvert(
     return to_cnvlen;
 }
 
-Public int
+int
 _Ximctstombs(XIM xim, char *from, int from_len,
             char *to, int to_len, Status *state)
 {
@@ -895,7 +910,7 @@ _Ximctstombs(XIM xim, char *from, int from_len,
                          from, from_len, to, to_len, state);
 }
 
-Public int
+int
 _Ximctstowcs(
     XIM                 xim,
     char       *from,
@@ -963,7 +978,7 @@ _Ximctstowcs(
     return to_cnvlen;
 }
 
-Public int
+int
 _Ximctstoutf8(
     XIM                 xim,
     char       *from,
@@ -976,7 +991,7 @@ _Ximctstoutf8(
                          from, from_len, to, to_len, state);
 }
 
-Public int
+int
 _XimProtoMbLookupString(
     XIC                         xic,
     XKeyEvent          *ev,
@@ -1039,7 +1054,7 @@ _XimProtoMbLookupString(
     return ret;
 }
 
-Public int
+int
 _XimProtoWcLookupString(
     XIC                         xic,
     XKeyEvent          *ev,
@@ -1102,7 +1117,7 @@ _XimProtoWcLookupString(
     return ret;
 }
 
-Public int
+int
 _XimProtoUtf8LookupString(
     XIC                         xic,
     XKeyEvent          *ev,
index f9b4bdb..2c8e51b 100644 (file)
@@ -36,7 +36,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Ximint.h"
 
 
-Public Bool
+Bool
 _XimRegProtoIntrCallback(
     Xim                 im,
     CARD16      major_code,
@@ -49,7 +49,7 @@ _XimRegProtoIntrCallback(
 {
     XimProtoIntrRec    *rec;
 
-    if (!(rec = (XimProtoIntrRec *)Xmalloc(sizeof(XimProtoIntrRec))))
+    if (!(rec = Xmalloc(sizeof(XimProtoIntrRec))))
         return False;
     rec->func       = proc;
     rec->major_code = major_code;
@@ -60,7 +60,7 @@ _XimRegProtoIntrCallback(
     return True;
 }
 
-Public void
+void
 _XimFreeProtoIntrCallback(Xim im)
 {
     register XimProtoIntrRec *rec, *next;
@@ -74,7 +74,7 @@ _XimFreeProtoIntrCallback(Xim im)
     return;
 }
 
-Private Bool
+static Bool
 _XimTransportIntr(
     Xim                 im,
     INT16       len,
@@ -95,7 +95,7 @@ _XimTransportIntr(
     return False;
 }
 
-Public Bool
+Bool
 _XimDispatchInit(Xim im)
 {
     if (_XimRegisterDispatcher(im, _XimTransportIntr, (XPointer)im))
index 65e59bc..58de32e 100644 (file)
@@ -55,7 +55,7 @@ typedef struct        _XIM_QueryExtRec {
     int                 idx;
 } XIM_QueryExtRec;
 
-Private XIM_QueryExtRec        extensions[] = {
+static XIM_QueryExtRec extensions[] = {
        {False, "XIM_EXT_SET_EVENT_MASK", 0, 0, 0,
                                        XIM_EXT_SET_EVENT_MASK_IDX},
 #ifdef EXT_FORWARD
@@ -68,7 +68,7 @@ Private XIM_QueryExtRec       extensions[] = {
        {False, NULL, 0, 0, 0, 0}               /* dummy */
 };
 
-Private int
+static int
 _XimIsSupportExt(
     int                 idx)
 {
@@ -86,7 +86,7 @@ _XimIsSupportExt(
     return -1;
 }
 
-Private Bool
+static Bool
 _XimProcExtSetEventMask(
     Xim                 im,
     Xic                 ic,
@@ -113,7 +113,7 @@ _XimProcExtSetEventMask(
     return True;
 }
 
-Private Bool
+static Bool
 _XimExtSetEventMaskCallback(
     Xim                 xim,
     INT16       len,
@@ -135,7 +135,7 @@ _XimExtSetEventMaskCallback(
 }
 
 #ifdef EXT_FORWARD
-Private Bool
+static Bool
 _XimProcExtForwardKeyEvent(
     Xim                 im,
     Xic                 ic,
@@ -164,7 +164,7 @@ _XimProcExtForwardKeyEvent(
     return True;
 }
 
-Private Bool
+static Bool
 _XimExtForwardKeyEventCallback(
     Xim                 xim,
     INT16       len,
@@ -185,7 +185,7 @@ _XimExtForwardKeyEventCallback(
     return False;
 }
 
-Private Bool
+static Bool
 _XimExtForwardKeyEventCheck(
     Xim          im,
     INT16        len,
@@ -213,7 +213,7 @@ _XimExtForwardKeyEventCheck(
     return False;
 }
 
-Public Bool
+Bool
 _XimExtForwardKeyEvent(
     Xic                 ic,
     XKeyEvent  *ev,
@@ -271,7 +271,7 @@ _XimExtForwardKeyEvent(
                preply = reply;
            } else {
                buf_sizex = len;
-               preply = (XPointer)Xmalloc(buf_size);
+               preply = Xmalloc(buf_size);
                ret_code = _XimRead(im, &len, preply, buf_size,
                                _XimExtForwardKeyEventCheck, (XPointer)ic);
                if(ret_code != XIM_TRUE) {
@@ -295,7 +295,7 @@ _XimExtForwardKeyEvent(
 }
 #endif /* EXT_FORWARD */
 
-Private int
+static int
 _XimCheckExtensionListSize(void)
 {
     register int i;
@@ -312,7 +312,7 @@ _XimCheckExtensionListSize(void)
     return total;
 }
 
-Private void
+static void
 _XimSetExtensionList(
     CARD8      *buf)
 {
@@ -330,7 +330,7 @@ _XimSetExtensionList(
     return;
 }
 
-Private unsigned int
+static unsigned int
 _XimCountNumberOfExtension(
     INT16       total,
     CARD8      *ext)
@@ -352,7 +352,7 @@ _XimCountNumberOfExtension(
     return n;
 }
 
-Private Bool
+static Bool
 _XimParseExtensionList(
     Xim                         im,
     CARD16             *data)
@@ -388,7 +388,7 @@ _XimParseExtensionList(
     return True;
 }
 
-Private Bool
+static Bool
 _XimQueryExtensionCheck(
     Xim          im,
     INT16        len,
@@ -412,7 +412,7 @@ _XimQueryExtensionCheck(
     return False;
 }
 
-Public Bool
+Bool
 _XimExtension(
     Xim                 im)
 {
@@ -436,7 +436,7 @@ _XimExtension(
            + len
            + XIM_PAD(len);
 
-    if (!(buf = (CARD8 *)Xmalloc(buf_len)))
+    if (!(buf = Xmalloc(buf_len)))
        return False;
     buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE];
 
@@ -465,7 +465,7 @@ _XimExtension(
            preply = reply;
        } else {
            buf_size = len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimRead(im, &len, reply, buf_size,
                                        _XimQueryExtensionCheck, 0);
            if(ret_code != XIM_TRUE) {
@@ -518,7 +518,7 @@ _XimExtension(
 /* length of XPoint attribute */
 #define        XIM_Xpoint_length       12
 
-Private Bool
+static Bool
 _XimExtMove(
     Xim                 im,
     Xic                 ic,
@@ -551,7 +551,7 @@ _XimExtMove(
     return True;
 }
 
-Public BITMASK32
+BITMASK32
 _XimExtenArgCheck(
     XIMArg     *arg)
 {
@@ -561,7 +561,7 @@ _XimExtenArgCheck(
     return flag;
 }
 
-Public Bool
+Bool
 _XimExtenMove(
     Xim                 im,
     Xic                 ic,
index acad4b8..28b1725 100644 (file)
@@ -40,7 +40,7 @@ THIS SOFTWARE.
 #include "Ximint.h"
 #include "XimImSw.h"
 
-Private Bool
+static Bool
 _XimCheckIfDefault(
     Xim                im)
 {
index 68d56d5..d5527e0 100644 (file)
@@ -52,11 +52,11 @@ typedef struct _XimInstCallback {
 } XimInstCallbackRec, *XimInstCallback;
 
 
-Private XimInstCallback        callback_list   = NULL;
-Private Bool           lock            = False;
+static XimInstCallback callback_list   = NULL;
+static Bool            lock            = False;
 
 
-Private void
+static void
 MakeLocale( XLCd lcd, char locale[] )
 {
     char       *language, *territory, *codeset;
@@ -76,7 +76,7 @@ MakeLocale( XLCd lcd, char locale[] )
 }
 
 
-Private Bool
+static Bool
 _XimFilterPropertyNotify(
     Display    *display,
     Window      window,
@@ -150,7 +150,7 @@ _XimFilterPropertyNotify(
 }
 
 
-Public Bool
+Bool
 _XimRegisterIMInstantiateCallback(
     XLCd        lcd,
     Display    *display,
@@ -168,7 +168,7 @@ _XimRegisterIMInstantiateCallback(
     if( lock )
        return( False );
 
-    icb = (XimInstCallback)Xmalloc(sizeof(XimInstCallbackRec));
+    icb = Xmalloc(sizeof(XimInstCallbackRec));
     if( !icb )
        return( False );
     icb->call = icb->destroy = False;
@@ -213,7 +213,7 @@ _XimRegisterIMInstantiateCallback(
 }
 
 
-Public Bool
+Bool
 _XimUnRegisterIMInstantiateCallback(
     XLCd        lcd,
     Display    *display,
@@ -267,7 +267,7 @@ _XimUnRegisterIMInstantiateCallback(
 }
 
 
-Public void
+void
 _XimResetIMInstantiateCallback(Xim xim)
 {
     char                locale[XIM_MAXLCNAMELEN];
index 26f4991..ee9f451 100644 (file)
@@ -37,10 +37,10 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Ximint.h"
 #include "XimImSw.h"
 
-Private Xim            *_XimCurrentIMlist  = (Xim *)NULL;
-Private int             _XimCurrentIMcount = 0;
+static Xim             *_XimCurrentIMlist  = (Xim *)NULL;
+static int              _XimCurrentIMcount = 0;
 
-Private Bool
+static Bool
 _XimSetIMStructureList(
     Xim                  im)
 {
@@ -48,7 +48,7 @@ _XimSetIMStructureList(
     Xim                 *xim;
 
     if(!(_XimCurrentIMlist)) {
-       if(!(_XimCurrentIMlist = (Xim *)Xmalloc(sizeof(Xim))))
+       if(!(_XimCurrentIMlist = Xmalloc(sizeof(Xim))))
            return False;
        _XimCurrentIMlist[0] = im;
        _XimCurrentIMcount   = 1;
@@ -61,7 +61,7 @@ _XimSetIMStructureList(
            }
        }
        if(i >= _XimCurrentIMcount) {
-           if(!(xim = (Xim *)Xrealloc(_XimCurrentIMlist,
+           if(!(xim = Xrealloc(_XimCurrentIMlist,
                                         ((i + 1) * sizeof(Xim)))))
                return False;
            _XimCurrentIMlist                     = xim;
@@ -72,7 +72,7 @@ _XimSetIMStructureList(
     return True;
 }
 
-Public void
+void
 _XimDestroyIMStructureList(Xim im)
 {
     register int  i;
@@ -86,7 +86,7 @@ _XimDestroyIMStructureList(Xim im)
     return;
 }
 
-Public void
+void
 _XimServerDestroy(Xim im_2_destroy)
 {
     register int  i;
@@ -120,7 +120,7 @@ _XimServerDestroy(Xim im_2_destroy)
 }
 
 #ifdef XIM_CONNECTABLE
-Public void
+void
 _XimServerReconectableDestroy(void)
 {
     register int  i;
@@ -147,7 +147,7 @@ _XimServerReconectableDestroy(void)
 }
 #endif /* XIM_CONNECTABLE */
 
-Private const char *
+static const char *
 _XimStrstr(
     register const char *src,
     register const char *dest)
@@ -163,7 +163,7 @@ _XimStrstr(
     return NULL;
 }
 
-Private char *
+static char *
 _XimMakeImName(
     XLCd          lcd)
 {
@@ -193,7 +193,7 @@ _XimMakeImName(
     return ret;
 }
 
-Public XIM
+XIM
 _XimOpenIM(
     XLCd                lcd,
     Display            *dpy,
@@ -251,7 +251,7 @@ Error1:
     return NULL;
 }
 
-Public Bool
+Bool
 _XInitIM(XLCd lcd)
 {
     if(lcd == (XLCd)NULL)
index 26930c4..003b389 100644 (file)
@@ -33,7 +33,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Public char *
+char *
 _XimLocalGetICValues(XIC xic, XIMArg *values)
 {
     Xic                         ic = (Xic)xic;
index 4933885..6354589 100644 (file)
@@ -36,7 +36,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Private void
+static void
 _XimLocalUnSetFocus(
     XIC         xic)
 {
@@ -49,7 +49,7 @@ _XimLocalUnSetFocus(
     return;
 }
 
-Private void
+static void
 _XimLocalDestroyIC(
     XIC         xic)
 {
@@ -68,7 +68,7 @@ _XimLocalDestroyIC(
     return;
 }
 
-Private void
+static void
 _XimLocalSetFocus(
     XIC         xic)
 {
@@ -90,7 +90,7 @@ _XimLocalSetFocus(
     return;
 }
 
-Private void
+static void
 _XimLocalReset(
     XIC         xic)
 {
@@ -102,7 +102,7 @@ _XimLocalReset(
     ic->private.local.brl_committed  = 0;
 }
 
-Private char *
+static char *
 _XimLocalMbReset(
     XIC         xic)
 {
@@ -110,7 +110,7 @@ _XimLocalMbReset(
     return (char *)NULL;
 }
 
-Private wchar_t *
+static wchar_t *
 _XimLocalWcReset(
     XIC         xic)
 {
@@ -118,7 +118,7 @@ _XimLocalWcReset(
     return (wchar_t *)NULL;
 }
 
-Private XICMethodsRec Local_ic_methods = {
+static XICMethodsRec Local_ic_methods = {
     _XimLocalDestroyIC,        /* destroy */
     _XimLocalSetFocus,         /* set_focus */
     _XimLocalUnSetFocus,       /* unset_focus */
@@ -132,7 +132,7 @@ Private XICMethodsRec Local_ic_methods = {
     _XimLocalUtf8LookupString  /* utf8_lookup_string */
 };
 
-Public XIC
+XIC
 _XimLocalCreateIC(
     XIM                         im,
     XIMArg             *values)
@@ -158,7 +158,7 @@ _XimLocalCreateIC(
 
     num = im->core.ic_num_resources;
     len = sizeof(XIMResource) * num;
-    if((res = (XIMResourceList)Xmalloc(len)) == (XIMResourceList)NULL) {
+    if((res = Xmalloc(len)) == (XIMResourceList)NULL) {
        goto Set_Error;
     }
     (void)memcpy((char *)res, (char *)im->core.ic_resources, len);
index 9041698..3ab2dfc 100644 (file)
@@ -86,14 +86,14 @@ struct _XimCacheStruct {
     /* char encoding[1] */
 };
 
-Private struct  _XimCacheStruct* _XimCache_mmap = NULL;
-Private DefTreeBase _XimCachedDefaultTreeBase;
-Private int     _XimCachedDefaultTreeRefcount = 0;
+static struct  _XimCacheStruct* _XimCache_mmap = NULL;
+static DefTreeBase _XimCachedDefaultTreeBase;
+static int     _XimCachedDefaultTreeRefcount = 0;
 
 #endif
 
 
-Public Bool
+Bool
 _XimCheckIfLocalProcessing(Xim im)
 {
     FILE        *fp;
@@ -117,7 +117,7 @@ _XimCheckIfLocalProcessing(Xim im)
     return(False);
 }
 
-Private void
+static void
 XimFreeDefaultTree(
     DefTreeBase *b)
 {
@@ -144,7 +144,7 @@ XimFreeDefaultTree(
     b->utf8used = b->utf8size = 0;
 }
 
-Public void
+void
 _XimLocalIMFree(
     Xim                im)
 {
@@ -218,7 +218,7 @@ _XimLocalIMFree(
     return;
 }
 
-Private Status
+static Status
 _XimLocalCloseIM(
     XIM                xim)
 {
@@ -231,7 +231,7 @@ _XimLocalCloseIM(
     while (ic) {
        (*ic->methods->destroy) (ic);
        next = ic->core.next;
-       Xfree ((char *) ic);
+       Xfree (ic);
        ic = next;
     }
     _XimLocalIMFree(im);
@@ -239,7 +239,7 @@ _XimLocalCloseIM(
     return(True);
 }
 
-Public char *
+char *
 _XimLocalGetIMValues(
     XIM                         xim,
     XIMArg             *values)
@@ -252,7 +252,7 @@ _XimLocalGetIMValues(
                        im->core.im_resources, im->core.im_num_resources));
 }
 
-Public char *
+char *
 _XimLocalSetIMValues(
     XIM                         xim,
     XIMArg             *values)
@@ -271,7 +271,7 @@ _XimLocalSetIMValues(
 
 #ifdef COMPOSECACHE
 
-Private Bool
+static Bool
 _XimReadCachedDefaultTree(
     int          fd_cache,
     const char  *name,
@@ -322,7 +322,7 @@ _XimReadCachedDefaultTree(
     return True;
 }
 
-Private unsigned int strToHash (
+static unsigned int strToHash (
     const char *name)
 {
     unsigned int hash = 0;
@@ -334,7 +334,7 @@ Private unsigned int strToHash (
 
 /* Returns read-only fd of cache file, -1 if none.
  * Sets *res to cache filename if safe. Sets *size to file size of cache. */
-Private int _XimCachedFileName (
+static int _XimCachedFileName (
     const char *dir, const char *name,
     const char *intname, const char *encoding,
     uid_t uid, int isglobal, char **res, off_t *size)
@@ -419,7 +419,7 @@ Private int _XimCachedFileName (
 }
 
 
-Private Bool _XimLoadCache (
+static Bool _XimLoadCache (
     int         fd,
     const char *name,
     const char *encoding,
@@ -439,7 +439,7 @@ Private Bool _XimLoadCache (
 }
 
 
-Private void
+static void
 _XimWriteCachedDefaultTree(
     const char *name,
     const char *encoding,
@@ -514,7 +514,7 @@ _XimWriteCachedDefaultTree(
 #endif
 
 
-Private void
+static void
 _XimCreateDefaultTree(
     Xim                im)
 {
@@ -644,7 +644,7 @@ _XimCreateDefaultTree(
        Xfree (cachename);
 }
 
-Private XIMMethodsRec      Xim_im_local_methods = {
+static XIMMethodsRec      Xim_im_local_methods = {
     _XimLocalCloseIM,           /* close */
     _XimLocalSetIMValues,       /* set_values */
     _XimLocalGetIMValues,       /* get_values */
@@ -654,7 +654,7 @@ Private XIMMethodsRec      Xim_im_local_methods = {
     _XimLcctstoutf8            /* ctstoutf8 */
 };
 
-Public Bool
+Bool
 _XimLocalOpenIM(
     Xim                         im)
 {
index 8e4111a..9e4aec3 100644 (file)
@@ -43,7 +43,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "XlcPubI.h"
 #include "Ximint.h"
 
-Public int
+int
 _XimLocalMbLookupString(XIC xic, XKeyEvent *ev, char *buffer, int bytes,
                        KeySym *keysym, Status *status)
 {
@@ -126,7 +126,7 @@ _XimLocalMbLookupString(XIC xic, XKeyEvent *ev, char *buffer, int bytes,
     return (ret);
 }
 
-Public int
+int
 _XimLocalWcLookupString(XIC xic, XKeyEvent *ev, wchar_t *buffer, int wlen,
                        KeySym *keysym, Status *status)
 {
@@ -198,7 +198,7 @@ _XimLocalWcLookupString(XIC xic, XKeyEvent *ev, wchar_t *buffer, int wlen,
     return (ret);
 }
 
-Public int
+int
 _XimLocalUtf8LookupString(XIC xic, XKeyEvent *ev, char *buffer, int bytes,
                          KeySym *keysym, Status *status)
 {
@@ -271,7 +271,7 @@ _XimLocalUtf8LookupString(XIC xic, XKeyEvent *ev, char *buffer, int bytes,
     return (ret);
 }
 
-Private int
+static int
 _XimLcctsconvert(
     XlcConv     conv,
     char       *from,
@@ -337,7 +337,7 @@ _XimLcctsconvert(
     return to_cnvlen;
 }
 
-Public int
+int
 _XimLcctstombs(XIM xim, char *from, int from_len,
               char *to, int to_len, Status *state)
 {
@@ -345,7 +345,7 @@ _XimLcctstombs(XIM xim, char *from, int from_len,
                            from, from_len, to, to_len, state);
 }
 
-Public int
+int
 _XimLcctstowcs(XIM xim, char *from, int from_len,
               wchar_t *to, int to_len, Status *state)
 {
@@ -408,7 +408,7 @@ _XimLcctstowcs(XIM xim, char *from, int from_len,
     return to_cnvlen;
 }
 
-Public int
+int
 _XimLcctstoutf8(XIM xim, char *from, int from_len,
                char *to, int to_len, Status *state)
 {
index 4e54385..e9d5f7b 100644 (file)
@@ -41,6 +41,8 @@ OR PERFORMANCE OF THIS SOFTWARE.
 #include "Ximint.h"
 #include <sys/stat.h>
 #include <stdio.h>
+#include <limits.h>
+#include "pathmax.h"
 
 #define XLC_BUFSIZE 256
 
@@ -56,6 +58,8 @@ extern int _Xmbstoutf8(
     int                len
 );
 
+static void parsestringfile(FILE *fp, Xim im, int depth);
+
 /*
  *     Parsing File Format:
  *
@@ -304,9 +308,9 @@ static char*
 TransFileName(Xim im, char *name)
 {
    char *home = NULL, *lcCompose = NULL;
-   char dir[XLC_BUFSIZE];
-   char *i = name, *ret, *j;
-   int l = 0;
+   char dir[XLC_BUFSIZE] = "";
+   char *i = name, *ret = NULL, *j;
+   size_t l = 0;
 
    while (*i) {
       if (*i == '%') {
@@ -316,30 +320,51 @@ TransFileName(Xim im, char *name)
                  l++;
                 break;
              case 'H':
-                home = getenv("HOME");
-                if (home)
-                     l += strlen(home);
+                 if (home == NULL)
+                     home = getenv("HOME");
+                 if (home) {
+                     size_t Hsize = strlen(home);
+                     if (Hsize > PATH_MAX)
+                         /* your home directory length is ridiculous */
+                         goto end;
+                     l += Hsize;
+                 }
                 break;
              case 'L':
                  if (lcCompose == NULL)
                      lcCompose = _XlcFileName(im->core.lcd, COMPOSE_FILE);
-                 if (lcCompose)
-                     l += strlen(lcCompose);
+                 if (lcCompose) {
+                     size_t Lsize = strlen(lcCompose);
+                     if (Lsize > PATH_MAX)
+                         /* your compose pathname length is ridiculous */
+                         goto end;
+                     l += Lsize;
+                 }
                 break;
              case 'S':
-                 xlocaledir(dir, XLC_BUFSIZE);
-                 l += strlen(dir);
+                 if (dir[0] == '\0')
+                     xlocaledir(dir, XLC_BUFSIZE);
+                 if (dir[0]) {
+                     size_t Ssize = strlen(dir);
+                     if (Ssize > PATH_MAX)
+                         /* your locale directory path length is ridiculous */
+                         goto end;
+                     l += Ssize;
+                 }
                 break;
          }
       } else {
          l++;
       }
       i++;
+      if (l > PATH_MAX)
+          /* your expanded path length is ridiculous */
+          goto end;
    }
 
    j = ret = Xmalloc(l+1);
    if (ret == NULL)
-      return ret;
+      goto end;
    i = name;
    while (*i) {
       if (*i == '%') {
@@ -371,6 +396,7 @@ TransFileName(Xim im, char *name)
       }
    }
    *j = '\0';
+end:
    Xfree(lcCompose);
    return ret;
 }
@@ -423,7 +449,8 @@ static int
 parseline(
     FILE *fp,
     Xim   im,
-    char* tokenbuf)
+    char* tokenbuf,
+    int   depth)
 {
     int token;
     DTModifier modifier_mask;
@@ -470,11 +497,13 @@ parseline(
                 goto error;
             if ((filename = TransFileName(im, tokenbuf)) == NULL)
                 goto error;
+            if (++depth > 100)
+                goto error;
             infp = _XFopenFile(filename, "r");
                 Xfree(filename);
             if (infp == NULL)
                 goto error;
-            _XimParseStringFile(infp, im);
+            parsestringfile(infp, im, depth);
             fclose(infp);
             return (0);
        } else if ((token == KEY) && (strcmp("None", tokenbuf) == 0)) {
@@ -545,9 +574,12 @@ parseline(
     if (token == STRING) {
        l = strlen(tokenbuf) + 1;
        while (b->mbused + l > b->mbsize) {
-           b->mbsize = b->mbsize ? b->mbsize * 1.5 : 1024;
-           if (! (b->mb = Xrealloc (b->mb, b->mbsize)) )
+           DTCharIndex newsize = b->mbsize ? b->mbsize * 1.5 : 1024;
+           char *newmb = Xrealloc (b->mb, newsize);
+           if (newmb == NULL)
                goto error;
+           b->mb = newmb;
+           b->mbsize = newsize;
        }
        rhs_string_mb = &b->mb[b->mbused];
        b->mbused    += l;
@@ -575,9 +607,12 @@ parseline(
 
         l = get_mb_string(im, local_mb_buf, rhs_keysym);
        while (b->mbused + l + 1 > b->mbsize) {
-           b->mbsize = b->mbsize ? b->mbsize * 1.5 : 1024;
-           if (! (b->mb = Xrealloc (b->mb, b->mbsize)) )
+           DTCharIndex newsize = b->mbsize ? b->mbsize * 1.5 : 1024;
+           char *newmb = Xrealloc (b->mb, newsize);
+           if (newmb == NULL)
                goto error;
+           b->mb = newmb;
+           b->mbsize = newsize;
        }
        rhs_string_mb = &b->mb[b->mbused];
        b->mbused    += l + 1;
@@ -592,9 +627,12 @@ parseline(
        local_wc_buf[l] = (wchar_t)'\0';
     }
     while (b->wcused + l + 1 > b->wcsize) {
-       b->wcsize = b->wcsize ? b->wcsize * 1.5 : 512;
-       if (! (b->wc = Xrealloc (b->wc, sizeof(wchar_t) * b->wcsize)) )
+       DTCharIndex newsize = b->wcsize ? b->wcsize * 1.5 : 512;
+       wchar_t *newwc = Xrealloc (b->wc, sizeof(wchar_t) * newsize);
+       if (newwc == NULL)
            goto error;
+       b->wc = newwc;
+       b->wcsize = newsize;
     }
     rhs_string_wc = &b->wc[b->wcused];
     b->wcused    += l + 1;
@@ -605,9 +643,12 @@ parseline(
        local_utf8_buf[l] = '\0';
     }
     while (b->utf8used + l + 1 > b->utf8size) {
-       b->utf8size = b->utf8size ? b->utf8size * 1.5 : 1024;
-       if (! (b->utf8 = Xrealloc (b->utf8, b->utf8size)) )
+       DTCharIndex newsize = b->utf8size ? b->utf8size * 1.5 : 1024;
+       char *newutf8 = Xrealloc (b->utf8, newsize);
+       if (newutf8 == NULL)
            goto error;
+       b->utf8 = newutf8;
+       b->utf8size = newsize;
     }
     rhs_string_utf8 = &b->utf8[b->utf8used];
     b->utf8used    += l + 1;
@@ -628,9 +669,12 @@ parseline(
            while (b->treeused >= b->treesize) {
                DefTree *old     = b->tree;
                int      oldsize = b->treesize;
-               b->treesize = b->treesize ? b->treesize * 1.5 : 256;
-               if (! (b->tree = Xrealloc (b->tree, sizeof(DefTree) * b->treesize)) )
+               int      newsize = b->treesize ? b->treesize * 1.5 : 256;
+               DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
+               if (new == NULL)
                    goto error;
+               b->tree = new;
+               b->treesize = newsize;
                if (top >= (DTIndex *) old && top < (DTIndex *) &old[oldsize])
                    top = (DTIndex *) (((char *) top) + (((char *)b->tree)-(char *)old));
            }
@@ -668,17 +712,28 @@ _XimParseStringFile(
     FILE *fp,
     Xim   im)
 {
+    parsestringfile(fp, im, 0);
+}
+
+static void
+parsestringfile(
+    FILE *fp,
+    Xim   im,
+    int   depth)
+{
     char tb[8192];
     char* tbp;
     struct stat st;
 
     if (fstat (fileno (fp), &st) != -1) {
        unsigned long size = (unsigned long) st.st_size;
+       if (st.st_size >= INT_MAX)
+           return;
        if (size <= sizeof tb) tbp = tb;
        else tbp = malloc (size);
 
        if (tbp != NULL) {
-           while (parseline(fp, im, tbp) >= 0) {}
+           while (parseline(fp, im, tbp, depth) >= 0) {}
            if (tbp != tb) free (tbp);
        }
     }
index 0959193..40937b0 100644 (file)
@@ -37,7 +37,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Public char *
+char *
 _XimLocalSetICValues(XIC xic, XIMArg *values)
 {
     XimDefICValues      ic_values;
index 01e74c2..cb9e1b2 100644 (file)
@@ -58,7 +58,7 @@ typedef struct _XimValueOffsetInfo {
 } XimValueOffsetInfoRec, *XimValueOffsetInfo;
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimCheckBool(str)
     char       *str;
 {
@@ -69,14 +69,16 @@ _XimCheckBool(str)
     return False;
 }
 
-Public void
+void
 _XimSetProtoResource(im)
     Xim                 im;
 {
     char       res_name_buf[256];
     char*      res_name;
+    size_t     res_name_len;
     char       res_class_buf[256];
     char*      res_class;
+    size_t     res_class_len;
     char*      str_type;
     XrmValue   value;
     XIMStyle   preedit_style = 0;
@@ -90,17 +92,31 @@ _XimSetProtoResource(im)
     if (!im->core.rdb)
        return;
 
-    if (strlen (im->core.res_name) < 200) res_name = res_name_buf;
-    else res_name = Xmalloc (strlen (im->core.res_name) + 50);
-    if (strlen (im->core.res_class) < 200) res_class = res_class_buf;
-    else res_class = Xmalloc (strlen (im->core.res_class) + 50);
+    res_name_len = strlen (im->core.res_name);
+    if (res_name_len < 200) {
+       res_name = res_name_buf;
+       res_name_len = sizeof(res_name_buf);
+    }
+    else {
+       res_name_len += 50;
+       res_name = Xmalloc (res_name_len);
+    }
+    res_class_len = strlen (im->core.res_class);
+    if (res_class_len < 200) {
+       res_class = res_class_buf;
+       res_class_len = sizeof(res_class_buf);
+    }
+    else {
+       res_class_len += 50;
+       res_class = Xmalloc (res_class_len);
+    }
     /* pretend malloc always works */
 
-    (void) sprintf (res_name, "%s%s%s",
+    (void) snprintf (res_name, res_name_len, "%s%s%s",
        im->core.res_name != NULL ? im->core.res_name : "*",
        im->core.res_name != NULL ? dotximdot : ximdot,
        "useAuth");
-    (void) sprintf (res_class, "%s%s%s",
+    (void) snprintf (res_class, res_class_len, "%s%s%s",
        im->core.res_class != NULL ? im->core.res_class : "*",
        im->core.res_class != NULL ? dotXimdot : Ximdot,
        "UseAuth");
@@ -111,11 +127,11 @@ _XimSetProtoResource(im)
        }
     }
 
-    (void) sprintf (res_name, "%s%s%s",
+    (void) snprintf (res_name, res_name_len, "%s%s%s",
        im->core.res_name != NULL ? im->core.res_name : "*",
        im->core.res_name != NULL ? dotximdot : ximdot,
        "delaybinding");
-    (void) sprintf (res_class, "%s%s%s",
+    (void) snprintf (res_class, res_class_len, "%s%s%s",
        im->core.res_class != NULL ? im->core.res_class : "*",
        im->core.res_class != NULL ? dotXimdot : Ximdot,
        "Delaybinding");
@@ -126,11 +142,11 @@ _XimSetProtoResource(im)
        }
     }
 
-    (void) sprintf (res_name, "%s%s%s",
+    (void) snprintf (res_name, res_name_len, "%s%s%s",
        im->core.res_name != NULL ? im->core.res_name : "*",
        im->core.res_name != NULL ? dotximdot : ximdot,
        "reconnect");
-    (void) sprintf (res_class, "%s%s%s",
+    (void) snprintf (res_class, res_class_len, "%s%s%s",
        im->core.res_class != NULL ? im->core.res_class : "*",
        im->core.res_class != NULL ? dotXimdot : Ximdot,
        "Reconnect");
@@ -147,11 +163,11 @@ _XimSetProtoResource(im)
        return;
     }
 
-    (void) sprintf (res_name, "%s%s%s",
+    (void) snprintf (res_name, res_name_len, "%s%s%s",
        im->core.res_name != NULL ? im->core.res_name : "*",
        im->core.res_name != NULL ? dotximdot : ximdot,
        "preeditDefaultStyle");
-    (void) sprintf (res_class, "%s%s%s",
+    (void) snprintf (res_class, res_class_len, "%s%s%s",
        im->core.res_class != NULL ? im->core.res_class : "*",
        im->core.res_class != NULL ? dotXimdot : Ximdot,
        "PreeditDefaultStyle");
@@ -170,11 +186,11 @@ _XimSetProtoResource(im)
     if(!preedit_style)
        preedit_style = XIMPreeditNothing;
 
-    (void) sprintf (res_name, "%s%s%s",
+    (void) snprintf (res_name, res_name_len, "%s%s%s",
        im->core.res_name != NULL ? im->core.res_name : "*",
        im->core.res_name != NULL ? dotximdot : ximdot,
        "statusDefaultStyle");
-    (void) sprintf (res_class, "%s%s%s",
+    (void) snprintf (res_class, res_class_len, "%s%s%s",
        im->core.res_class != NULL ? im->core.res_class : "*",
        im->core.res_class != NULL ? dotXimdot : Ximdot,
        "StatusDefaultStyle");
@@ -191,7 +207,7 @@ _XimSetProtoResource(im)
     if(!status_style)
        status_style = XIMStatusNothing;
 
-    if(!(imstyles = (XIMStyles *)Xmalloc(sizeof(XIMStyles) + sizeof(XIMStyle)))){
+    if(!(imstyles = Xmalloc(sizeof(XIMStyles) + sizeof(XIMStyle)))){
        if (res_name != res_name_buf) Xfree (res_name);
        if (res_class != res_class_buf) Xfree (res_class);
        return;
@@ -344,7 +360,7 @@ static XIMStyle const supported_local_styles[] = {
     0                                          /* dummy */
 };
 
-Private  Bool
+static Bool
 _XimDefaultStyles(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -379,7 +395,7 @@ _XimDefaultStyles(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultIMValues(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -415,7 +431,7 @@ _XimDefaultIMValues(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultICValues(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -451,7 +467,7 @@ _XimDefaultICValues(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultVisiblePos(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -465,7 +481,7 @@ _XimDefaultVisiblePos(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultFocusWindow(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -484,7 +500,7 @@ _XimDefaultFocusWindow(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultResName(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -504,7 +520,7 @@ _XimDefaultResName(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultResClass(
     XimValueOffsetInfo    info,
     XPointer              top,
@@ -524,7 +540,7 @@ _XimDefaultResClass(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultDestroyCB(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -540,7 +556,7 @@ _XimDefaultDestroyCB(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultResetState(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -554,7 +570,7 @@ _XimDefaultResetState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultHotKeyState(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -568,7 +584,7 @@ _XimDefaultHotKeyState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultArea(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -604,7 +620,7 @@ _XimDefaultArea(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -629,7 +645,7 @@ _XimDefaultColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultStdColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -643,7 +659,7 @@ _XimDefaultStdColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultFg(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -661,7 +677,7 @@ _XimDefaultFg(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultBg(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -679,7 +695,7 @@ _XimDefaultBg(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultBgPixmap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -693,7 +709,7 @@ _XimDefaultBgPixmap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultFontSet(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -707,7 +723,7 @@ _XimDefaultFontSet(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultLineSpace(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -736,7 +752,7 @@ _XimDefaultLineSpace(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultCursor(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -750,7 +766,7 @@ _XimDefaultCursor(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultPreeditState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -764,7 +780,7 @@ _XimDefaultPreeditState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDefaultNest(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -774,7 +790,7 @@ _XimDefaultNest(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeCallback(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -787,7 +803,7 @@ _XimEncodeCallback(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeString(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -811,7 +827,7 @@ _XimEncodeString(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeStyle(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -824,7 +840,7 @@ _XimEncodeStyle(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeWindow(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -837,7 +853,7 @@ _XimEncodeWindow(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeStringConv(
     XimValueOffsetInfo          info,
     XPointer                    top,
@@ -849,7 +865,7 @@ _XimEncodeStringConv(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeResetState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -862,7 +878,7 @@ _XimEncodeResetState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeHotKey(
     XimValueOffsetInfo   info,
     XPointer             top,
@@ -886,7 +902,7 @@ _XimEncodeHotKey(
     }
 
     len = sizeof(XIMHotKeyTriggers) + sizeof(XIMHotKeyTrigger) * num;
-    if(!(tmp = (XPointer)Xmalloc(len))) {
+    if(!(tmp = Xmalloc(len))) {
        return False;
     }
 
@@ -905,7 +921,7 @@ _XimEncodeHotKey(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeHotKetState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -918,7 +934,7 @@ _XimEncodeHotKetState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeRectangle(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -931,7 +947,7 @@ _XimEncodeRectangle(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeSpot(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -944,7 +960,7 @@ _XimEncodeSpot(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -957,7 +973,7 @@ _XimEncodeColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeStdColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -970,7 +986,7 @@ _XimEncodeStdColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeLong(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -983,7 +999,7 @@ _XimEncodeLong(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeBgPixmap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -996,7 +1012,7 @@ _XimEncodeBgPixmap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeFontSet(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1009,7 +1025,7 @@ _XimEncodeFontSet(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeLineSpace(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1022,7 +1038,7 @@ _XimEncodeLineSpace(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeCursor(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1035,7 +1051,7 @@ _XimEncodeCursor(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodePreeditState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1048,7 +1064,7 @@ _XimEncodePreeditState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimEncodeNest(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1057,7 +1073,7 @@ _XimEncodeNest(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeStyles(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1095,7 +1111,7 @@ _XimDecodeStyles(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeValues(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1133,7 +1149,7 @@ _XimDecodeValues(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeCallback(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1143,7 +1159,7 @@ _XimDecodeCallback(
     XIMCallback                *callback;
 
     in = (XIMCallback *)((char *)top + info->offset);
-    if(!(callback = (XIMCallback *)Xmalloc(sizeof(XIMCallback)))) {
+    if(!(callback = Xmalloc(sizeof(XIMCallback)))) {
        return False;
     }
     callback->client_data = in->client_data;
@@ -1153,7 +1169,7 @@ _XimDecodeCallback(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeString(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1175,7 +1191,7 @@ _XimDecodeString(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeBool(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1188,7 +1204,7 @@ _XimDecodeBool(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeStyle(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1201,7 +1217,7 @@ _XimDecodeStyle(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeWindow(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1214,7 +1230,7 @@ _XimDecodeWindow(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeStringConv(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1226,7 +1242,7 @@ _XimDecodeStringConv(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeResetState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1239,7 +1255,7 @@ _XimDecodeResetState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeHotKey(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1256,7 +1272,7 @@ _XimDecodeHotKey(
     in = *((XIMHotKeyTriggers **)((char *)top + info->offset));
     num = in->num_hot_key;
     len = sizeof(XIMHotKeyTriggers) + sizeof(XIMHotKeyTrigger) * num;
-    if(!(tmp = (XPointer)Xmalloc(len))) {
+    if(!(tmp = Xmalloc(len))) {
        return False;
     }
 
@@ -1273,7 +1289,7 @@ _XimDecodeHotKey(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeHotKetState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1286,7 +1302,7 @@ _XimDecodeHotKetState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeRectangle(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1296,7 +1312,7 @@ _XimDecodeRectangle(
     XRectangle         *rect;
 
     in = (XRectangle *)((char *)top + info->offset);
-    if(!(rect = (XRectangle *)Xmalloc(sizeof(XRectangle)))) {
+    if(!(rect = Xmalloc(sizeof(XRectangle)))) {
        return False;
     }
     *rect = *in;
@@ -1304,7 +1320,7 @@ _XimDecodeRectangle(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeSpot(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1314,7 +1330,7 @@ _XimDecodeSpot(
     XPoint             *spot;
 
     in = (XPoint *)((char *)top + info->offset);
-    if(!(spot = (XPoint *)Xmalloc(sizeof(XPoint)))) {
+    if(!(spot = Xmalloc(sizeof(XPoint)))) {
        return False;
     }
     *spot = *in;
@@ -1322,7 +1338,7 @@ _XimDecodeSpot(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1335,7 +1351,7 @@ _XimDecodeColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeStdColormap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1348,7 +1364,7 @@ _XimDecodeStdColormap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeLong(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1361,7 +1377,7 @@ _XimDecodeLong(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeBgPixmap(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1374,7 +1390,7 @@ _XimDecodeBgPixmap(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeFontSet(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1387,7 +1403,7 @@ _XimDecodeFontSet(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeLineSpace(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1400,7 +1416,7 @@ _XimDecodeLineSpace(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeCursor(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1413,7 +1429,7 @@ _XimDecodeCursor(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodePreeditState(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -1426,7 +1442,7 @@ _XimDecodePreeditState(
     return True;
 }
 
-Private  Bool
+static Bool
 _XimDecodeNest(
     XimValueOffsetInfo  info,
     XPointer            top,
@@ -2118,7 +2134,7 @@ static const XimICMode ic_mode[] = {
 static XrmQuark im_mode_quark[sizeof(im_mode) / sizeof(im_mode[0])];
 static XrmQuark ic_mode_quark[sizeof(ic_mode) / sizeof(ic_mode[0])];
 
-Private Bool
+static Bool
 _XimSetResourceList(
     XIMResourceList     *res_list,
     unsigned int        *list_num,
@@ -2146,7 +2162,7 @@ _XimSetResourceList(
     return True;
 }
 
-Public Bool
+Bool
 _XimSetIMResourceList(
     XIMResourceList    *res_list,
     unsigned int       *list_num)
@@ -2155,7 +2171,7 @@ _XimSetIMResourceList(
                                im_resources, XIMNumber(im_resources), 100);
 }
 
-Public Bool
+Bool
 _XimSetICResourceList(
     XIMResourceList    *res_list,
     unsigned int       *list_num)
@@ -2164,7 +2180,7 @@ _XimSetICResourceList(
                                ic_resources, XIMNumber(ic_resources), 200);
 }
 
-Public Bool
+Bool
 _XimSetInnerIMResourceList(
     XIMResourceList    *res_list,
     unsigned int       *list_num)
@@ -2173,7 +2189,7 @@ _XimSetInnerIMResourceList(
                im_inner_resources, XIMNumber(im_inner_resources), 100);
 }
 
-Public Bool
+Bool
 _XimSetInnerICResourceList(
     XIMResourceList    *res_list,
     unsigned int       *list_num)
@@ -2182,7 +2198,7 @@ _XimSetInnerICResourceList(
                ic_inner_resources, XIMNumber(ic_inner_resources), 200);
 }
 
-Private XIMResourceList
+static XIMResourceList
 _XimGetResourceListRecByMode(
     XIMResourceList     res_list,
     unsigned int        list_num,
@@ -2198,7 +2214,7 @@ _XimGetResourceListRecByMode(
     return (XIMResourceList)NULL;
 }
 
-Public Bool
+Bool
 _XimCheckCreateICValues(
     XIMResourceList     res_list,
     unsigned int        list_num)
@@ -2209,7 +2225,7 @@ _XimCheckCreateICValues(
     return False;
 }
 
-Public XIMResourceList
+XIMResourceList
 _XimGetResourceListRecByQuark(
     XIMResourceList     res_list,
     unsigned int        list_num,
@@ -2225,7 +2241,7 @@ _XimGetResourceListRecByQuark(
     return (XIMResourceList)NULL;
 }
 
-Public XIMResourceList
+XIMResourceList
 _XimGetResourceListRec(
     XIMResourceList     res_list,
     unsigned int        list_num,
@@ -2236,7 +2252,7 @@ _XimGetResourceListRec(
     return _XimGetResourceListRecByQuark(res_list, list_num, quark);
 }
 
-Public char *
+char *
 _XimSetIMValueData(
     Xim                         im,
     XPointer            top,
@@ -2266,7 +2282,7 @@ _XimSetIMValueData(
     return NULL;
 }
 
-Public char *
+char *
 _XimGetIMValueData(
     Xim                         im,
     XPointer            top,
@@ -2296,7 +2312,7 @@ _XimGetIMValueData(
     return NULL;
 }
 
-Public void
+void
 _XimSetIMMode(
     XIMResourceList    res_list,
     unsigned int       list_num)
@@ -2315,7 +2331,7 @@ _XimSetIMMode(
     return;
 }
 
-Private int
+static int
 _XimCheckSetIMDefaultsMode(
     XIMResourceList    res)
 {
@@ -2325,7 +2341,7 @@ _XimCheckSetIMDefaultsMode(
     return XIM_CHECK_INVALID;
 }
 
-Private int
+static int
 _XimCheckSetIMValuesMode(
     XIMResourceList    res)
 {
@@ -2335,7 +2351,7 @@ _XimCheckSetIMValuesMode(
     return XIM_CHECK_INVALID;
 }
 
-Private int
+static int
  _XimCheckGetIMValuesMode(
     XIMResourceList    res)
 {
@@ -2345,7 +2361,7 @@ Private int
     return XIM_CHECK_INVALID;
 }
 
-Public int
+int
  _XimCheckIMMode(
     XIMResourceList    res,
     unsigned long      mode)
@@ -2364,7 +2380,7 @@ Public int
     }
 }
 
-Public void
+void
 _XimSetICMode(XIMResourceList res_list, unsigned int list_num, XIMStyle style)
 {
     XIMResourceList    res;
@@ -2400,13 +2416,13 @@ _XimSetICMode(XIMResourceList res_list, unsigned int list_num, XIMStyle style)
                                                list_num, ic_mode_quark[i]))) {
            continue;
        }
-       res->mode = ( (*(unsigned short *)((char *)&ic_mode[i] + pre_offset))
-                   | (*(unsigned short *)((char *)&ic_mode[i] + sts_offset)));
+       res->mode = ( (*(const unsigned short *)((const char *)&ic_mode[i] + pre_offset))
+                   | (*(const unsigned short *)((const char *)&ic_mode[i] + sts_offset)));
     }
     return;
 }
 
-Private int
+static int
 _XimCheckSetICDefaultsMode(
     XIMResourceList    res,
     unsigned long      mode)
@@ -2449,7 +2465,7 @@ _XimCheckSetICDefaultsMode(
     return XIM_CHECK_VALID;
 }
 
-Private int
+static int
 _XimCheckCreateICMode(
     XIMResourceList    res,
     unsigned long      mode)
@@ -2502,7 +2518,7 @@ _XimCheckCreateICMode(
     return XIM_CHECK_VALID;
 }
 
-Private int
+static int
 _XimCheckSetICValuesMode(
     XIMResourceList    res,
     unsigned long      mode)
@@ -2543,7 +2559,7 @@ _XimCheckSetICValuesMode(
     return XIM_CHECK_VALID;
 }
 
-Private int
+static int
 _XimCheckGetICValuesMode(
     XIMResourceList    res,
     unsigned long      mode)
@@ -2578,7 +2594,7 @@ _XimCheckGetICValuesMode(
     return XIM_CHECK_VALID;
 }
 
-Public int
+int
  _XimCheckICMode(
     XIMResourceList     res,
     unsigned long       mode)
@@ -2596,7 +2612,7 @@ Public int
     }
 }
 
-Public Bool
+Bool
 _XimSetLocalIMDefaults(
     Xim                         im,
     XPointer            top,
@@ -2635,7 +2651,7 @@ _XimSetLocalIMDefaults(
     return True;
 }
 
-Public Bool
+Bool
 _XimSetICDefaults(
     Xic                         ic,
     XPointer            top,
@@ -2700,7 +2716,7 @@ _XimSetICDefaults(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodeAttr(
     XimValueOffsetInfo  info,
     unsigned int        num,
@@ -2721,7 +2737,7 @@ _XimEncodeAttr(
     return False;
 }
 
-Public Bool
+Bool
 _XimEncodeLocalIMAttr(
     XIMResourceList     res,
     XPointer            top,
@@ -2731,7 +2747,7 @@ _XimEncodeLocalIMAttr(
                                        res, top, val);
 }
 
-Public Bool
+Bool
 _XimEncodeLocalICAttr(
     Xic                         ic,
     XIMResourceList     res,
@@ -2756,7 +2772,7 @@ _XimEncodeLocalICAttr(
     return _XimEncodeAttr(info, num, res, top, arg->value);
 }
 
-Private Bool
+static Bool
 _XimEncodeLocalTopValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -2792,7 +2808,7 @@ _XimEncodeLocalTopValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodeLocalPreeditValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -2814,7 +2830,7 @@ _XimEncodeLocalPreeditValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodeLocalStatusValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -2836,7 +2852,7 @@ _XimEncodeLocalStatusValue(
     return True;
 }
 
-Public char *
+char *
 _XimSetICValueData(
     Xic                         ic,
     XPointer            top,
@@ -2901,7 +2917,7 @@ _XimSetICValueData(
     return NULL;
 }
 
-Private Bool
+static Bool
 _XimCheckInputStyle(
     XIMStyles          *styles,
     XIMStyle            style)
@@ -2917,7 +2933,7 @@ _XimCheckInputStyle(
     return False;
 }
 
-Public Bool
+Bool
 _XimCheckLocalInputStyle(
     Xic                         ic,
     XPointer            top,
@@ -2948,7 +2964,7 @@ _XimCheckLocalInputStyle(
     return False;
 }
 
-Private Bool
+static Bool
 _XimDecodeAttr(
     XimValueOffsetInfo  info,
     unsigned int        num,
@@ -2969,7 +2985,7 @@ _XimDecodeAttr(
     return False;
 }
 
-Public Bool
+Bool
 _XimDecodeLocalIMAttr(
     XIMResourceList     res,
     XPointer            top,
@@ -2979,7 +2995,7 @@ _XimDecodeLocalIMAttr(
                                        res, top, val);
 }
 
-Public Bool
+Bool
 _XimDecodeLocalICAttr(
     XIMResourceList     res,
     XPointer            top,
@@ -3003,7 +3019,7 @@ _XimDecodeLocalICAttr(
     return _XimDecodeAttr(info, num, res, top, val);
 }
 
-Public char *
+char *
 _XimGetICValueData(Xic ic, XPointer top, XIMResourceList res_list,
                   unsigned int  list_num, XIMArg *values, unsigned long mode)
 {
@@ -3052,7 +3068,7 @@ _XimGetICValueData(Xic ic, XPointer top, XIMResourceList res_list,
     return NULL;
 }
 
-Public void
+void
 _XimGetCurrentIMValues(Xim im, XimDefIMValues *im_values)
 {
     bzero((char *)im_values, sizeof(XimDefIMValues));
@@ -3066,7 +3082,7 @@ _XimGetCurrentIMValues(Xim im, XimDefIMValues *im_values)
     im_values->visible_position        = im->core.visible_position;
 }
 
-Public void
+void
 _XimSetCurrentIMValues(Xim im, XimDefIMValues *im_values)
 {
     im->core.styles            = im_values->styles;
@@ -3078,7 +3094,7 @@ _XimSetCurrentIMValues(Xim im, XimDefIMValues *im_values)
     im->core.visible_position  = im_values->visible_position;
 }
 
-Public void
+void
 _XimGetCurrentICValues(Xic ic, XimDefICValues *ic_values)
 {
     bzero((char *)ic_values, sizeof(XimDefICValues));
@@ -3101,7 +3117,7 @@ _XimGetCurrentICValues(Xic ic, XimDefICValues *ic_values)
     ic_values->status_attr      = ic->core.status_attr;
 }
 
-Public void
+void
 _XimSetCurrentICValues(
     Xic                         ic,
     XimDefICValues     *ic_values)
@@ -3125,7 +3141,7 @@ _XimSetCurrentICValues(
     ic->core.status_attr       = ic_values->status_attr;
 }
 
-Private void
+static void
 _XimInitialIMOffsetInfo(void)
 {
     unsigned int        n = XIMNumber(im_attr_info);
@@ -3136,7 +3152,7 @@ _XimInitialIMOffsetInfo(void)
     }
 }
 
-Private void
+static void
 _XimInitialICOffsetInfo(void)
 {
     unsigned int        n;
@@ -3158,7 +3174,7 @@ _XimInitialICOffsetInfo(void)
     }
 }
 
-Private void
+static void
 _XimInitialIMMode(void)
 {
     unsigned int       n = XIMNumber(im_mode);
@@ -3169,7 +3185,7 @@ _XimInitialIMMode(void)
     }
 }
 
-Private void
+static void
 _XimInitialICMode(void)
 {
     unsigned int       n = XIMNumber(ic_mode);
@@ -3180,7 +3196,7 @@ _XimInitialICMode(void)
     }
 }
 
-Public void
+void
 _XimInitialResourceInfo(void)
 {
     static Bool        init_flag = False;
index c047715..ad5290e 100644 (file)
@@ -34,7 +34,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "Ximint.h"
 
 
-Private XIMResourceList
+static XIMResourceList
 _XimGetNestedListSeparator(
     XIMResourceList     res_list,              /* LISTofIMATTR or IMATTR */
     unsigned int        res_num)
@@ -42,7 +42,7 @@ _XimGetNestedListSeparator(
     return  _XimGetResourceListRec(res_list, res_num, XNSeparatorofNestedList);
 }
 
-Private Bool
+static Bool
 _XimCheckInnerIMAttributes(
     Xim                         im,
     XIMArg             *arg,
@@ -64,7 +64,7 @@ _XimCheckInnerIMAttributes(
     return True;
 }
 
-Public char *
+char *
 _XimMakeIMAttrIDList(
     Xim                         im,
     XIMResourceList     res_list,
@@ -102,7 +102,7 @@ _XimMakeIMAttrIDList(
     return (char *)NULL;
 }
 
-Private Bool
+static Bool
 _XimCheckInnerICAttributes(
     Xic                         ic,
     XIMArg             *arg,
@@ -124,7 +124,7 @@ _XimCheckInnerICAttributes(
     return True;
 }
 
-Public char *
+char *
 _XimMakeICAttrIDList(
     Xic                         ic,
     XIMResourceList     res_list,
@@ -209,7 +209,7 @@ _XimMakeICAttrIDList(
     return (char *)NULL;
 }
 
-Private Bool
+static Bool
 _XimAttributeToValue(
     Xic                          ic,
     XIMResourceList      res,
@@ -238,7 +238,7 @@ _XimAttributeToValue(
            if (!(value))
                return False;
 
-           if (!(str = (char *)Xmalloc(data_len + 1)))
+           if (!(str = Xmalloc(data_len + 1)))
                return False;
 
            (void)memcpy(str, (char *)data, data_len);
@@ -262,7 +262,7 @@ _XimAttributeToValue(
                return False;
 
            alloc_len = sizeof(XIMStyles) + sizeof(XIMStyle) * num;
-           if (!(p = (char *)Xmalloc(alloc_len)))
+           if (!(p = Xmalloc(alloc_len)))
                return False;
 
            rep   = (XIMStyles *)p;
@@ -284,7 +284,7 @@ _XimAttributeToValue(
            if (!(value))
                return False;
 
-           if (!(rep = (XRectangle *)Xmalloc(sizeof(XRectangle))))
+           if (!(rep = Xmalloc(sizeof(XRectangle))))
                return False;
 
            rep->x      = data[0];
@@ -302,7 +302,7 @@ _XimAttributeToValue(
            if (!(value))
                return False;
 
-           if (!(rep = (XPoint *)Xmalloc(sizeof(XPoint))))
+           if (!(rep = Xmalloc(sizeof(XPoint))))
                return False;
 
            rep->x = data[0];
@@ -325,7 +325,7 @@ _XimAttributeToValue(
            if (!ic)
                return False;
 
-           if (!(base_name = (char *)Xmalloc(len + 1)))
+           if (!(base_name = Xmalloc(len + 1)))
                return False;
 
            (void)strncpy(base_name, (char *)&data[1], (int)len);
@@ -370,7 +370,7 @@ _XimAttributeToValue(
 
            alloc_len = sizeof(XIMHotKeyTriggers)
                      + sizeof(XIMHotKeyTrigger) * num;
-           if (!(p = (char *)Xmalloc(alloc_len)))
+           if (!(p = Xmalloc(alloc_len)))
                return False;
 
            rep = (XIMHotKeyTriggers *)p;
@@ -399,7 +399,7 @@ _XimAttributeToValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimDecodeInnerIMATTRIBUTE(
     Xim                         im,
     XIMArg             *arg)
@@ -415,7 +415,7 @@ _XimDecodeInnerIMATTRIBUTE(
     return _XimDecodeLocalIMAttr(res, (XPointer)&im_values, arg->value);
 }
 
-Public char *
+char *
 _XimDecodeIMATTRIBUTE(
     Xim                         im,
     XIMResourceList     res_list,
@@ -468,7 +468,7 @@ _XimDecodeIMATTRIBUTE(
     return (char *)NULL;
 }
 
-Private Bool
+static Bool
 _XimDecodeInnerICATTRIBUTE(
     Xic                         ic,
     XIMArg             *arg,
@@ -488,7 +488,7 @@ _XimDecodeInnerICATTRIBUTE(
     return True;
 }
 
-Public char *
+char *
 _XimDecodeICATTRIBUTE(
     Xic                         ic,
     XIMResourceList     res_list,
@@ -564,7 +564,7 @@ _XimDecodeICATTRIBUTE(
     return (char *)NULL;
 }
 
-Private Bool
+static Bool
 _XimValueToAttribute(
     XIMResourceList     res,
     XPointer            buf,
@@ -772,7 +772,7 @@ _XimValueToAttribute(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetInnerIMAttributes(
     Xim                         im,
     XPointer            top,
@@ -795,7 +795,7 @@ _XimSetInnerIMAttributes(
     return _XimEncodeLocalIMAttr(res, top, arg->value);
 }
 
-Public char *
+char *
 _XimEncodeIMATTRIBUTE(
     Xim                          im,
     XIMResourceList      res_list,
@@ -859,7 +859,7 @@ _XimEncodeIMATTRIBUTE(
 }
 
 #ifdef XIM_CONNECTABLE
-Public Bool
+Bool
 _XimEncodeSavedIMATTRIBUTE(
     Xim                         im,
     XIMResourceList     res_list,
@@ -922,7 +922,7 @@ _XimEncodeSavedIMATTRIBUTE(
 }
 #endif /* XIM_CONNECTABLE */
 
-Private Bool
+static Bool
 _XimEncodeTopValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -945,7 +945,7 @@ _XimEncodeTopValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodePreeditValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -997,7 +997,7 @@ _XimEncodePreeditValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodeStatusValue(
     Xic                         ic,
     XIMResourceList     res,
@@ -1049,7 +1049,7 @@ _XimEncodeStatusValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimSetInnerICAttributes(
     Xic                         ic,
     XPointer            top,
@@ -1072,7 +1072,7 @@ _XimSetInnerICAttributes(
     return _XimEncodeLocalICAttr(ic, res, top, arg, mode);
 }
 
-Public char *
+char *
 _XimEncodeICATTRIBUTE(
     Xic                          ic,
     XIMResourceList      res_list,
@@ -1184,7 +1184,7 @@ _XimEncodeICATTRIBUTE(
 }
 
 #ifdef XIM_CONNECTABLE
-Private Bool
+static Bool
 _XimEncodeSavedPreeditValue(
     Xic                          ic,
     XIMResourceList      res,
@@ -1226,7 +1226,7 @@ _XimEncodeSavedPreeditValue(
     return True;
 }
 
-Private Bool
+static Bool
 _XimEncodeSavedStatusValue(
     Xic                          ic,
     XIMResourceList      res,
@@ -1268,7 +1268,7 @@ _XimEncodeSavedStatusValue(
     return True;
 }
 
-Public Bool
+Bool
 _XimEncodeSavedICATTRIBUTE(
     Xic                         ic,
     XIMResourceList     res_list,
@@ -1379,7 +1379,7 @@ _XimEncodeSavedICATTRIBUTE(
 }
 #endif /* XIM_CONNECTABLE */
 
-Private unsigned int
+static unsigned int
 _XimCountNumberOfAttr(
     INT16       total,
     CARD16     *attr,
@@ -1404,7 +1404,7 @@ _XimCountNumberOfAttr(
     return n;
 }
 
-Public Bool
+Bool
 _XimGetAttributeID(
     Xim                          im,
     CARD16              *buf)
index 12e3de2..f134e84 100644 (file)
@@ -81,7 +81,7 @@ SOFTWARE.
 
 /* character classification table */
 #define TACTIS_CHARS 256
-Private
+static 
 char const tactis_chtype[TACTIS_CHARS] = {
     CTRL, CTRL, CTRL, CTRL, CTRL, CTRL, CTRL, CTRL,  /*  0 -  7 */
     CTRL, CTRL, CTRL, CTRL, CTRL, CTRL, CTRL, CTRL,  /*  8 - 15 */
@@ -127,7 +127,7 @@ char const tactis_chtype[TACTIS_CHARS] = {
 
 #define CH_CLASSES      17  /* 17 classes of chars */
 
-Private
+static 
 char const write_rules_lookup[CH_CLASSES][CH_CLASSES] = {
         /* Table 0: writing/outputing rules */
         /* row: leading char,  column: following char */
@@ -151,7 +151,7 @@ char const write_rules_lookup[CH_CLASSES][CH_CLASSES] = {
   ,{XC, NC, NC, NC, NC, NC, NC, NC, NC, NC, CP, NC, CP, NC, NC, NC, NC}/*AV3*/
 };
 
-Private
+static 
 char const wtt_isc1_lookup[CH_CLASSES][CH_CLASSES] = {
       /* Table 1: WTT default input sequence check rules */
       /* row: leading char,  column: following char */
@@ -175,7 +175,7 @@ char const wtt_isc1_lookup[CH_CLASSES][CH_CLASSES] = {
   ,{XC, AC, AC, AC, AC, AC, AC, RJ, RJ, RJ, CP, RJ, CP, RJ, RJ, RJ, RJ}/*AV3*/
 };
 
-Private
+static 
 char const wtt_isc2_lookup[CH_CLASSES][CH_CLASSES] = {
       /* Table 2: WTT strict input sequence check rules */
       /* row: leading char,  column: following char */
@@ -199,7 +199,7 @@ char const wtt_isc2_lookup[CH_CLASSES][CH_CLASSES] = {
   ,{XC, AC, AC, AC, RJ, RJ, AC, RJ, RJ, RJ, CP, RJ, CP, RJ, RJ, RJ, RJ}/*AV3*/
 };
 
-Private
+static 
 char const thaicat_isc_lookup[CH_CLASSES][CH_CLASSES] = {
       /* Table 3: Thaicat input sequence check rules */
       /* row: leading char,  column: following char */
@@ -225,7 +225,7 @@ char const thaicat_isc_lookup[CH_CLASSES][CH_CLASSES] = {
 
 
 /* returns classification of a char */
-Private int
+static int
 THAI_chtype (unsigned char     ch)
 {
     return tactis_chtype[ch];
@@ -233,7 +233,7 @@ THAI_chtype (unsigned char  ch)
 
 #ifdef UNUSED
 /* returns the display level */
-Private int
+static int
 THAI_chlevel (unsigned char    ch)
 {
     int     chlevel;
@@ -274,7 +274,7 @@ THAI_chlevel (unsigned char ch)
 
 
 /* return True if char is non-spacing */
-Private Bool
+static Bool
 THAI_isdead (unsigned char     ch)
 {
     return ((tactis_chtype[ch] == CTRL) || (tactis_chtype[ch] == BV1) ||
@@ -287,7 +287,7 @@ THAI_isdead (unsigned char  ch)
 
 
 /* return True if char is consonant */
-Private Bool
+static Bool
 THAI_iscons (unsigned char     ch)
 {
     return (tactis_chtype[ch] == CONS);
@@ -295,7 +295,7 @@ THAI_iscons (unsigned char  ch)
 
 
 /* return True if char is vowel */
-Private Bool
+static Bool
 THAI_isvowel (unsigned char    ch)
 {
     return ((tactis_chtype[ch] == LV)  || (tactis_chtype[ch] == FV1) ||
@@ -307,14 +307,14 @@ THAI_isvowel (unsigned char       ch)
 
 
 /* return True if char is tonemark */
-Private Bool
+static Bool
 THAI_istone (unsigned char     ch)
 {
     return (tactis_chtype[ch] == TONE);
 }
 #endif
 
-Private Bool
+static Bool
 THAI_iscomposible (
     unsigned char      follow_ch,
     unsigned char      lead_ch)
@@ -324,7 +324,7 @@ THAI_iscomposible (
             == CP);
 }
 
-Private Bool
+static Bool
 THAI_isaccepted (
     unsigned char      follow_ch,
     unsigned char      lead_ch,
@@ -355,7 +355,7 @@ THAI_isaccepted (
 }
 
 #ifdef UNUSED
-Private void
+static void
 THAI_apply_write_rules(
     unsigned char      *instr,
     unsigned char      *outstr,
@@ -401,7 +401,7 @@ Output parameters:
     }
 }
 
-Private int
+static int
 THAI_find_chtype (
     unsigned char      *instr,
     int                chtype)
@@ -430,7 +430,7 @@ Output parameters:
 }
 
 
-Private int
+static int
 THAI_apply_scm(
     unsigned char      *instr,
     unsigned char      *outstr,
@@ -466,33 +466,33 @@ THAI_apply_scm(
 
 /* The following functions are copied from XKeyBind.c */
 
-Private void ComputeMaskFromKeytrans();
-Private int IsCancelComposeKey(KeySym *symbol, XKeyEvent *event);
-Private void SetLed(Display *dpy, int num, int state);
-Private CARD8 FindKeyCode();
+static void ComputeMaskFromKeytrans();
+static int IsCancelComposeKey(KeySym *symbol, XKeyEvent *event);
+static void SetLed(Display *dpy, int num, int state);
+static CARD8 FindKeyCode();
 
 
 /* The following functions are specific to this module */
 
-Private int XThaiTranslateKey();
-Private int XThaiTranslateKeySym();
+static int XThaiTranslateKey();
+static int XThaiTranslateKeySym();
 
 
-Private KeySym HexIMNormalKey(
+static KeySym HexIMNormalKey(
     XicThaiPart *thai_part,
     KeySym symbol,
     XKeyEvent *event);
-Private KeySym HexIMFirstComposeKey(
+static KeySym HexIMFirstComposeKey(
     XicThaiPart *thai_part,
     KeySym symbol,
     XKeyEvent *event);
-Private KeySym HexIMSecondComposeKey(
+static KeySym HexIMSecondComposeKey(
     XicThaiPart *thai_part,
     KeySym symbol
     XKeyEvent *event);
-Private KeySym HexIMComposeSequence(KeySym ks1, KeySym ks2);
-Private void InitIscMode(Xic ic);
-Private Bool ThaiComposeConvert(
+static KeySym HexIMComposeSequence(KeySym ks1, KeySym ks2);
+static void InitIscMode(Xic ic);
+static Bool ThaiComposeConvert(
     Display *dpy,
     KeySym insym,
     KeySym *outsym, KeySym *lower, KeySym *upper);
@@ -530,7 +530,7 @@ Private Bool ThaiComposeConvert(
 #define IC_DeletePreviousChar(ic) \
                (IC_RealDeletePreviousChar(ic))
 
-Private unsigned char
+static unsigned char
 IC_RealGetPreviousChar(Xic ic, unsigned short pos)
 {
     XICCallback* cb = &ic->core.string_conversion_callback;
@@ -597,7 +597,7 @@ IC_RealGetPreviousChar(Xic ic, unsigned short pos)
     }
 }
 
-Private unsigned char
+static unsigned char
 IC_RealDeletePreviousChar(Xic ic)
 {
     XICCallback* cb = &ic->core.string_conversion_callback;
@@ -701,8 +701,8 @@ typedef KeySym (*StateProc)(
  *  State handler to implement the Thai hex input method.
  */
 
-Private int const nstate_handlers = 3;
-Private StateProc state_handler[] = {
+static int const nstate_handlers = 3;
+static StateProc state_handler[] = {
        HexIMNormalKey,
        HexIMFirstComposeKey,
        HexIMSecondComposeKey
@@ -718,7 +718,7 @@ struct _XMapThaiKey {
        KeySym to;
 };
 
-Private struct _XMapThaiKey const ThaiComposeTable[] = {
+static struct _XMapThaiKey const ThaiComposeTable[] = {
        { /* 0xa4 */ XK_currency,       /* 0xa5 */ XK_yen },
        { /* 0xa2 */ XK_cent,           /* 0xa3 */ XK_sterling },
        { /* 0xe6 */ XK_ae,             /* 0xef */ XK_idiaeresis },
@@ -742,7 +742,7 @@ struct _XKeytrans {
 
 /* Convert keysym to 'Thai Compose' keysym */
 /* The current implementation use latin-1 keysyms */
-Private Bool
+static Bool
 ThaiComposeConvert(
     Display *dpy,
     KeySym insym,
@@ -762,7 +762,7 @@ ThaiComposeConvert(
     return False;
 }
 
-Private int
+static int
 XThaiTranslateKey(
     register Display *dpy,
     KeyCode keycode,
@@ -847,7 +847,7 @@ XThaiTranslateKey(
  * Should be changed to TACTIS keysyms when they are defined by the
  * standard.
  */
-Private int
+static int
 XThaiTranslateKeySym(
     Display *dpy,
     register KeySym symbol,
@@ -956,7 +956,7 @@ XThaiTranslateKeySym(
 /*
  * given a KeySym, returns the first keycode containing it, if any.
  */
-Private CARD8
+static CARD8
 FindKeyCode(
     register Display *dpy,
     register KeySym code)
@@ -980,7 +980,7 @@ FindKeyCode(
  * what modifier it is bound to, if any.  Sets the AnyModifier bit if it
  * can't map some keysym to a modifier.
  */
-Private void
+static void
 ComputeMaskFromKeytrans(
     Display *dpy,
     register struct _XKeytrans *p)
@@ -1020,7 +1020,7 @@ ComputeMaskFromKeytrans(
 #define FIRST_COMPOSE_KEY_STATE 1
 #define SECOND_COMPOSE_KEY_STATE 2
 
-Private
+static 
 KeySym HexIMNormalKey(
     XicThaiPart *thai_part,
     KeySym symbol,
@@ -1036,7 +1036,7 @@ KeySym HexIMNormalKey(
 }
 
 
-Private
+static 
 KeySym HexIMFirstComposeKey(
     XicThaiPart *thai_part,
     KeySym symbol,
@@ -1059,7 +1059,7 @@ KeySym HexIMFirstComposeKey(
     return NoSymbol;
 }
 
-Private
+static 
 KeySym HexIMSecondComposeKey(
     XicThaiPart *thai_part,
     KeySym symbol,
@@ -1094,7 +1094,7 @@ KeySym HexIMSecondComposeKey(
  * The current implementation of this routine returns ISO Latin Keysyms.
  */
 
-Private
+static 
 KeySym HexIMComposeSequence(KeySym ks1, KeySym ks2)
 {
 int    hi_digit;
@@ -1131,7 +1131,7 @@ int       tactis_code;
  *     2) whether cancelling key event should be processed or ignored
  */
 
-Private
+static 
 int IsCancelComposeKey(
     KeySym *symbol,
     XKeyEvent *event)
@@ -1163,7 +1163,7 @@ int IsCancelComposeKey(
  *     set specified keyboard LED on or off
  */
 
-Private
+static 
 void SetLed(
     Display *dpy,
     int num,
@@ -1180,7 +1180,7 @@ void SetLed(
 /*
  * Initialize ISC mode from im modifier
  */
-Private void InitIscMode(Xic ic)
+static void InitIscMode(Xic ic)
 {
     Xim im;
     char *im_modifier_name;
@@ -1213,7 +1213,7 @@ Private void InitIscMode(Xic ic)
 /*
  * Helper functions for _XimThaiFilter()
  */
-Private Bool
+static Bool
 ThaiFltAcceptInput(Xic ic, unsigned char new_char, KeySym symbol)
 {
     DefTreeBase *b = &ic->private.local.base;
@@ -1228,7 +1228,7 @@ ThaiFltAcceptInput(Xic ic, unsigned char new_char, KeySym symbol)
     return True;
 }
 
-Private Bool
+static Bool
 ThaiFltReorderInput(Xic ic, unsigned char previous_char, unsigned char new_char)
 {
     DefTreeBase *b = &ic->private.local.base;
@@ -1242,7 +1242,7 @@ ThaiFltReorderInput(Xic ic, unsigned char previous_char, unsigned char new_char)
     return True;
 }
 
-Private Bool
+static Bool
 ThaiFltReplaceInput(Xic ic, unsigned char new_char, KeySym symbol)
 {
     DefTreeBase *b = &ic->private.local.base;
@@ -1258,7 +1258,7 @@ ThaiFltReplaceInput(Xic ic, unsigned char new_char, KeySym symbol)
     return True;
 }
 
-Private unsigned
+static unsigned
 NumLockMask(Display *d)
 {
     int i;
index 95433f3..90da143 100644 (file)
@@ -42,7 +42,7 @@ THIS SOFTWARE.
 #include "Xlcint.h"
 #include "Ximint.h"
 
-Private void
+static void
 _XimThaiUnSetFocus(
     XIC         xic)
 {
@@ -55,7 +55,7 @@ _XimThaiUnSetFocus(
     return;
 }
 
-Private void
+static void
 _XimThaiDestroyIC(
     XIC         xic)
 {
@@ -81,7 +81,7 @@ _XimThaiDestroyIC(
     return;
 }
 
-Private void
+static void
 _XimThaiSetFocus(
     XIC         xic)
 {
@@ -102,7 +102,7 @@ _XimThaiSetFocus(
     return;
 }
 
-Private void
+static void
 _XimThaiReset(
     XIC         xic)
 {
@@ -115,7 +115,7 @@ _XimThaiReset(
     b->utf8[b->tree[ic->private.local.composed].utf8] = '\0';
 }
 
-Private char *
+static char *
 _XimThaiMbReset(
     XIC         xic)
 {
@@ -123,7 +123,7 @@ _XimThaiMbReset(
     return (char *)NULL;
 }
 
-Private wchar_t *
+static wchar_t *
 _XimThaiWcReset(
     XIC         xic)
 {
@@ -131,7 +131,7 @@ _XimThaiWcReset(
     return (wchar_t *)NULL;
 }
 
-Private XICMethodsRec Thai_ic_methods = {
+static XICMethodsRec Thai_ic_methods = {
     _XimThaiDestroyIC,         /* destroy */
     _XimThaiSetFocus,          /* set_focus */
     _XimThaiUnSetFocus,        /* unset_focus */
@@ -165,13 +165,13 @@ _XimThaiCreateIC(
     ic->core.im = im;
     ic->core.filter_events = KeyPressMask;
 
-    if (! (ic->private.local.base.tree = tree = (DefTree *)Xmalloc(sizeof(DefTree)*3)) )
+    if (! (ic->private.local.base.tree = tree = Xmalloc(sizeof(DefTree)*3)) )
        goto Set_Error;
-    if (! (ic->private.local.base.mb = (char *)Xmalloc(21)) )
+    if (! (ic->private.local.base.mb = Xmalloc(21)) )
        goto Set_Error;
-    if (! (ic->private.local.base.wc = (wchar_t*)Xmalloc(sizeof(wchar_t)*21)) )
+    if (! (ic->private.local.base.wc = Xmalloc(sizeof(wchar_t)*21)) )
        goto Set_Error;
-    if (! (ic->private.local.base.utf8 = (char *)Xmalloc(21)) )
+    if (! (ic->private.local.base.utf8 = Xmalloc(21)) )
        goto Set_Error;
     ic->private.local.context = 1;
     tree[1].mb   = 1;
@@ -188,7 +188,7 @@ _XimThaiCreateIC(
 
     num = im->core.ic_num_resources;
     len = sizeof(XIMResource) * num;
-    if((res = (XIMResourceList)Xmalloc(len)) == (XIMResourceList)NULL) {
+    if((res = Xmalloc(len)) == (XIMResourceList)NULL) {
        goto Set_Error;
     }
     (void)memcpy((char *)res, (char *)im->core.ic_resources, len);
index 767b52c..c96fad9 100644 (file)
@@ -46,7 +46,7 @@ THIS SOFTWARE.
 #include "XlcPubI.h"
 #include "Ximint.h"
 
-Private XIMMethodsRec      Xim_im_thai_methods = {
+static XIMMethodsRec      Xim_im_thai_methods = {
     _XimThaiCloseIM,           /* close */
     _XimLocalSetIMValues,      /* set_values */
     _XimLocalGetIMValues,      /* get_values */
@@ -76,7 +76,7 @@ _XimCheckIfThaiProcessing(Xim im)
     return(False);
 }
 
-Public Bool
+Bool
 _XimThaiOpenIM(Xim im)
 {
     XLCd                lcd = im->core.lcd;
@@ -145,7 +145,7 @@ Open_Error :
     return(False);
 }
 
-Public void
+void
 _XimThaiIMFree(Xim im)
 {
     if(im->core.im_resources) {
@@ -215,7 +215,7 @@ _XimThaiIMFree(Xim im)
     return;
 }
 
-Public Status
+Status
 _XimThaiCloseIM(XIM xim)
 {
     Xim                im = (Xim)xim;
@@ -227,7 +227,7 @@ _XimThaiCloseIM(XIM xim)
     while (ic) {
        (*ic->methods->destroy) (ic);
        next = ic->core.next;
-       Xfree ((char *) ic);
+       Xfree (ic);
        ic = next;
     }
     _XimThaiIMFree(im);
index d85d1d1..0fcf358 100644 (file)
@@ -60,7 +60,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "XimTrInt.h"
 #include "XimTrX.h"
 
-Private Bool
+static Bool
 _XimXRegisterDispatcher(
     Xim                         im,
     Bool                (*callback)(
@@ -71,7 +71,7 @@ _XimXRegisterDispatcher(
     XIntrCallbackPtr    rec;
     XSpecRec           *spec = (XSpecRec *)im->private.proto.spec;
 
-    if (!(rec = (XIntrCallbackPtr)Xmalloc(sizeof(XIntrCallbackRec))))
+    if (!(rec = Xmalloc(sizeof(XIntrCallbackRec))))
         return False;
 
     rec->func       = callback;
@@ -81,7 +81,7 @@ _XimXRegisterDispatcher(
     return True;
 }
 
-Private void
+static void
 _XimXFreeIntrCallback(
     Xim                         im)
 {
@@ -96,7 +96,7 @@ _XimXFreeIntrCallback(
     return;
 }
 
-Private Bool
+static Bool
 _XimXCallDispatcher(Xim im, INT16 len, XPointer data)
 {
     register XIntrCallbackRec  *rec;
@@ -109,7 +109,7 @@ _XimXCallDispatcher(Xim im, INT16 len, XPointer data)
     return False;
 }
 
-Private Bool
+static Bool
 _XimXFilterWaitEvent(
     Display    *d,
     Window      w,
@@ -137,7 +137,7 @@ _XimXFilterWaitEvent(
      return ret;
 }
 
-Private Bool
+static Bool
 _CheckConnect(
     Display    *display,
     XEvent     *event,
@@ -153,7 +153,7 @@ _CheckConnect(
     return False;
 }
 
-Private Bool
+static Bool
 _XimXConnect(Xim im)
 {
     XEvent      event;
@@ -224,7 +224,7 @@ _XimXConnect(Xim im)
     return True;
 }
 
-Private Bool
+static Bool
 _XimXShutdown(Xim im)
 {
     XSpecRec   *spec = (XSpecRec *)im->private.proto.spec;
@@ -244,7 +244,7 @@ _XimXShutdown(Xim im)
     return True;
 }
 
-Private char *
+static char *
 _NewAtom(
     char       *atomName)
 {
@@ -255,7 +255,7 @@ _NewAtom(
     return atomName;
 }
 
-Private Bool
+static Bool
 _XimXWrite(Xim im, INT16 len, XPointer data)
 {
     Atom        atom;
@@ -316,7 +316,7 @@ _XimXWrite(Xim im, INT16 len, XPointer data)
     return True;
 }
 
-Private Bool
+static Bool
 _XimXGetReadData(
     Xim                          im,
     char                *buf,
@@ -372,7 +372,7 @@ _XimXGetReadData(
                XFree(prop_ret);
            return False;
        }
-       if (buf_len >= length) {
+       if (buf_len >= (int)nitems) {
            (void)memcpy(buf, prop_ret, (int)nitems);
            *ret_len  = (int)nitems;
            if (bytes_after_ret > 0) {
@@ -440,7 +440,7 @@ _XimXGetReadData(
     return True;
 }
 
-Private Bool
+static Bool
 _CheckCMEvent(
     Display    *display,
     XEvent     *event,
@@ -461,7 +461,7 @@ _CheckCMEvent(
     return False;
 }
 
-Private Bool
+static Bool
 _XimXRead(Xim im, XPointer recv_buf, int buf_len, int *ret_len)
 {
     XEvent     *ev;
@@ -484,14 +484,14 @@ _XimXRead(Xim im, XPointer recv_buf, int buf_len, int *ret_len)
     return True;
 }
 
-Private void
+static void
 _XimXFlush(Xim im)
 {
     XFlush(im->core.display);
     return;
 }
 
-Public Bool
+Bool
 _XimXConf(Xim im, char *address)
 {
     XSpecRec   *spec;
index 0ac08aa..ae644ab 100644 (file)
@@ -72,7 +72,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #endif
 
 
-Private Bool
+static Bool
 _XimTransConnect(
     Xim                         im)
 {
@@ -122,7 +122,7 @@ _XimTransConnect(
 }
 
 
-Private Bool
+static Bool
 _XimTransShutdown(
     Xim im)
 {
@@ -142,7 +142,7 @@ _XimTransShutdown(
 
 
 
-Public Bool
+Bool
 _XimTransRegisterDispatcher(
     Xim                                 im,
     Bool                        (*callback)(
@@ -153,7 +153,7 @@ _XimTransRegisterDispatcher(
     TransSpecRec               *spec = (TransSpecRec *)im->private.proto.spec;
     TransIntrCallbackPtr        rec;
 
-    if (!(rec = (TransIntrCallbackPtr)Xmalloc(sizeof(TransIntrCallbackRec))))
+    if (!(rec = Xmalloc(sizeof(TransIntrCallbackRec))))
         return False;
 
     rec->func       = callback;
@@ -164,7 +164,7 @@ _XimTransRegisterDispatcher(
 }
 
 
-Public void
+void
 _XimFreeTransIntrCallback(
     Xim                                 im)
 {
@@ -180,7 +180,7 @@ _XimFreeTransIntrCallback(
 }
 
 
-Public Bool
+Bool
 _XimTransCallDispatcher(Xim im, INT16 len, XPointer data)
 {
     TransSpecRec               *spec = (TransSpecRec *)im->private.proto.spec;
@@ -194,7 +194,7 @@ _XimTransCallDispatcher(Xim im, INT16 len, XPointer data)
 }
 
 
-Public Bool
+Bool
 _XimTransFilterWaitEvent(
     Display            *d,
     Window              w,
@@ -209,7 +209,7 @@ _XimTransFilterWaitEvent(
 }
 
 
-Public void
+void
 _XimTransInternalConnection(
     Display            *d,
     int                         fd,
@@ -222,12 +222,20 @@ _XimTransInternalConnection(
 
     if (spec->is_putback)
        return;
+
+    bzero(&ev, sizeof(ev));    /* FIXME: other fields may be accessed, too. */
     kev = (XKeyEvent *)&ev;
     kev->type = KeyPress;
     kev->send_event = False;
     kev->display = im->core.display;
     kev->window = spec->window;
     kev->keycode = 0;
+    kev->time = 0L;
+    kev->serial = LastKnownRequestProcessed(im->core.display);
+#if 0
+    fprintf(stderr,"%s,%d: putback FIXED kev->time=0 kev->serial=%lu\n", __FILE__, __LINE__, kev->serial);
+#endif
+
     XPutBackEvent(im->core.display, &ev);
     XFlush(im->core.display);
     spec->is_putback = True;
@@ -235,7 +243,7 @@ _XimTransInternalConnection(
 }
 
 
-Public Bool
+Bool
 _XimTransWrite(Xim im, INT16 len, XPointer data)
 {
     TransSpecRec       *spec   = (TransSpecRec *)im->private.proto.spec;
@@ -252,7 +260,7 @@ _XimTransWrite(Xim im, INT16 len, XPointer data)
 }
 
 
-Public Bool
+Bool
 _XimTransRead(
     Xim                         im,
     XPointer            recv_buf,
@@ -273,7 +281,7 @@ _XimTransRead(
 }
 
 
-Public void
+void
 _XimTransFlush(
     Xim                 im)
 {
@@ -282,7 +290,7 @@ _XimTransFlush(
 
 
 
-Public Bool
+Bool
 _XimTransConf(
     Xim                         im,
     char               *address)
index 25315b1..50b549e 100644 (file)
@@ -57,7 +57,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #include "XimTrInt.h"
 #include "Ximint.h"
 
-Public TransportSW _XimTransportRec[] = {
+TransportSW _XimTransportRec[] = {
     { "X",          _XimXConf },  /* 1st entry must be X.
                                        This will be a fallback */
 #ifdef TCPCONN
@@ -66,34 +66,28 @@ Public TransportSW _XimTransportRec[] = {
 #if defined(UNIXCONN) || defined(LOCALCONN)
     { "local",      _XimTransConf }, /* use X transport lib */
 #endif /* UNIXCONN */
-#ifdef DNETCONN
-    { "dnet",     _XimTransConf }, /* use X transport lib */
-#endif /* DNETCONN */
-#ifdef STREAMSCONN
-    { "streams",    _XimTransConf }, /* use X transport lib */
-#endif /* STREAMSCONN */
     { (char *)NULL, (Bool (*)(Xim, char *))NULL },
 };
 
-Public Bool
+Bool
 _XimConnect(Xim im)
 {
     return im->private.proto.connect(im);
 }
 
-Public Bool
+Bool
 _XimShutdown(Xim im)
 {
     return im->private.proto.shutdown(im);
 }
 
-Public Bool
+Bool
 _XimWrite(Xim im, INT16 len, XPointer data)
 {
     return im->private.proto.write(im, len, data);
 }
 
-Private int
+static int
 _CheckProtocolData(
     Xim                  im,
     char        *recv_buf)
@@ -104,7 +98,7 @@ _CheckProtocolData(
     return data_len;
 }
 
-Private int
+static int
 _XimReadData(
     Xim                 im,
     INT16      *len,
@@ -144,7 +138,7 @@ _XimReadData(
                data_len -= i;
 
                if (data_len) {
-                   if (!(tmp = (char *)Xmalloc(data_len))) {
+                   if (!(tmp = Xmalloc(data_len))) {
                        return XIM_FALSE;
                    }
                    memcpy(tmp, &hold_buf[i], data_len);
@@ -179,7 +173,7 @@ _XimReadData(
     }
 
     if (packet_size > buf_size) {
-       if (!(tmp = (char *)Xmalloc(data_len))) {
+       if (!(tmp = Xmalloc(data_len))) {
            return XIM_FALSE;
        }
        memcpy(tmp, buf, data_len);
@@ -206,7 +200,7 @@ _XimReadData(
     data_len -= i;
 
     if (data_len) {
-       if (!(tmp = (char *)Xmalloc(data_len))) {
+       if (!(tmp = Xmalloc(data_len))) {
            return XIM_FALSE;
        }
        memcpy(tmp, &buf[i], data_len);
@@ -221,7 +215,7 @@ _XimReadData(
     return XIM_TRUE;
 }
 
-Private Bool
+static Bool
 _XimCallDispatcher(
     Xim                 im,
     INT16       len,
@@ -230,7 +224,7 @@ _XimCallDispatcher(
     return im->private.proto.call_dispatcher(im, len, data);
 }
 
-Public int
+int
 _XimRead(Xim im, INT16 *len, XPointer buf, int buf_size,
         Bool (*predicate)(Xim, INT16, XPointer, XPointer), XPointer arg)
 {
@@ -252,7 +246,7 @@ _XimRead(Xim im, INT16 *len, XPointer buf, int buf_size,
     return True;
 }
 
-Public Bool
+Bool
 _XimRegisterDispatcher(
     Xim                 im,
     Bool        (*callback)(
@@ -263,14 +257,14 @@ _XimRegisterDispatcher(
     return im->private.proto.register_dispatcher(im, callback, call_data);
 }
 
-Public void
+void
 _XimFlush(Xim im)
 {
     im->private.proto.flush(im);
     return;
 }
 
-Public Bool
+Bool
 _XimFilterWaitEvent(Xim im)
 {
     INT16       read_len;
@@ -289,7 +283,7 @@ _XimFilterWaitEvent(Xim im)
            preply = reply;
        } else {
            buf_size = (int)read_len;
-           preply = (XPointer)Xmalloc(buf_size);
+           preply = Xmalloc(buf_size);
            ret_code = _XimReadData(im, &read_len, preply, buf_size);
            if(ret_code != XIM_TRUE) {
                if (preply != reply)
diff --git a/modules/lc/Makefile.in b/modules/lc/Makefile.in
deleted file mode 100644 (file)
index 690cd70..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/lc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = Utf8 def gen xlocale
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/lc/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/lc/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/modules/lc/Utf8/Makefile.in b/modules/lc/Utf8/Makefile.in
deleted file mode 100644 (file)
index 2d92fa1..0000000
+++ /dev/null
@@ -1,654 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/lc/Utf8
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libxlcUTF8Load_la_LIBADD =
-am__objects_1 = lcUTF8Load.lo
-am_libxlcUTF8Load_la_OBJECTS = $(am__objects_1)
-libxlcUTF8Load_la_OBJECTS = $(am_libxlcUTF8Load_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libxlcUTF8Load_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@xlcUTF8Load_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_xlcUTF8Load_la_OBJECTS = lcUTF8Load.lo
-xlcUTF8Load_la_OBJECTS = $(am_xlcUTF8Load_la_OBJECTS)
-xlcUTF8Load_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
-       $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
-       $(AM_CFLAGS) $(CFLAGS) $(xlcUTF8Load_la_LDFLAGS) $(LDFLAGS) -o \
-       $@
-@XLIB_LOADABLE_I18N_TRUE@am_xlcUTF8Load_la_rpath = -rpath \
-@XLIB_LOADABLE_I18N_TRUE@      $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxlcUTF8Load_la_SOURCES) $(xlcUTF8Load_la_SOURCES)
-DIST_SOURCES = $(libxlcUTF8Load_la_SOURCES) $(xlcUTF8Load_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(MALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = xlcUTF8Load.la
-@XLIB_LOADABLE_I18N_TRUE@xlcUTF8Load_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@xlcUTF8Load_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libxlcUTF8Load.la
-xlcUTF8Load_la_SOURCES = \
-       lcUTF8Load.c
-
-libxlcUTF8Load_la_SOURCES = $(xlcUTF8Load_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/lc/Utf8/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/lc/Utf8/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxlcUTF8Load.la: $(libxlcUTF8Load_la_OBJECTS) $(libxlcUTF8Load_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libxlcUTF8Load_la_rpath) $(libxlcUTF8Load_la_OBJECTS) $(libxlcUTF8Load_la_LIBADD) $(LIBS)
-xlcUTF8Load.la: $(xlcUTF8Load_la_OBJECTS) $(xlcUTF8Load_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(xlcUTF8Load_la_LINK) $(am_xlcUTF8Load_la_rpath) $(xlcUTF8Load_la_OBJECTS) $(xlcUTF8Load_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcUTF8Load.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/modules/lc/def/Makefile.in b/modules/lc/def/Makefile.in
deleted file mode 100644 (file)
index 03573ac..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/lc/def
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libxlcDef_la_LIBADD =
-am__objects_1 = lcDefConv.lo
-am_libxlcDef_la_OBJECTS = $(am__objects_1)
-libxlcDef_la_OBJECTS = $(am_libxlcDef_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libxlcDef_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@xlcDef_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_xlcDef_la_OBJECTS = lcDefConv.lo
-xlcDef_la_OBJECTS = $(am_xlcDef_la_OBJECTS)
-xlcDef_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(xlcDef_la_LDFLAGS) $(LDFLAGS) -o $@
-@XLIB_LOADABLE_I18N_TRUE@am_xlcDef_la_rpath = -rpath $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxlcDef_la_SOURCES) $(xlcDef_la_SOURCES)
-DIST_SOURCES = $(libxlcDef_la_SOURCES) $(xlcDef_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = xlcDef.la
-@XLIB_LOADABLE_I18N_TRUE@xlcDef_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@xlcDef_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libxlcDef.la
-xlcDef_la_SOURCES = \
-       lcDefConv.c
-
-libxlcDef_la_SOURCES = $(xlcDef_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/lc/def/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/lc/def/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxlcDef.la: $(libxlcDef_la_OBJECTS) $(libxlcDef_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libxlcDef_la_rpath) $(libxlcDef_la_OBJECTS) $(libxlcDef_la_LIBADD) $(LIBS)
-xlcDef.la: $(xlcDef_la_OBJECTS) $(xlcDef_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(xlcDef_la_LINK) $(am_xlcDef_la_rpath) $(xlcDef_la_OBJECTS) $(xlcDef_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcDefConv.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 12a4861..3cd5c22 100644 (file)
@@ -564,9 +564,9 @@ close_converter(
     XlcConv conv)
 {
     if (conv->state)
-       Xfree((char *) conv->state);
+       Xfree(conv->state);
 
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 static XlcConv
@@ -577,11 +577,11 @@ create_conv(
     XlcConv conv;
     State state;
 
-    conv = (XlcConv) Xcalloc(1, sizeof(XlcConvRec));
+    conv = Xcalloc(1, sizeof(XlcConvRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
-    state = (State) Xmalloc(sizeof(StateRec));
+    state = Xmalloc(sizeof(StateRec));
     if (state == NULL) {
        close_converter(conv);
        return (XlcConv) NULL;
diff --git a/modules/lc/gen/Makefile.in b/modules/lc/gen/Makefile.in
deleted file mode 100644 (file)
index a5aad98..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/lc/gen
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libxlibi18n_la_LIBADD =
-am__objects_1 = lcGenConv.lo
-am_libxlibi18n_la_OBJECTS = $(am__objects_1)
-libxlibi18n_la_OBJECTS = $(am_libxlibi18n_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libxlibi18n_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@xlibi18n_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_xlibi18n_la_OBJECTS = lcGenConv.lo
-xlibi18n_la_OBJECTS = $(am_xlibi18n_la_OBJECTS)
-xlibi18n_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(xlibi18n_la_LDFLAGS) $(LDFLAGS) -o $@
-@XLIB_LOADABLE_I18N_TRUE@am_xlibi18n_la_rpath = -rpath $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxlibi18n_la_SOURCES) $(xlibi18n_la_SOURCES)
-DIST_SOURCES = $(libxlibi18n_la_SOURCES) $(xlibi18n_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = xlibi18n.la
-@XLIB_LOADABLE_I18N_TRUE@xlibi18n_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@xlibi18n_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libxlibi18n.la
-xlibi18n_la_SOURCES = \
-       lcGenConv.c
-
-libxlibi18n_la_SOURCES = $(xlibi18n_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/lc/gen/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/lc/gen/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxlibi18n.la: $(libxlibi18n_la_OBJECTS) $(libxlibi18n_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libxlibi18n_la_rpath) $(libxlibi18n_la_OBJECTS) $(libxlibi18n_la_LIBADD) $(LIBS)
-xlibi18n.la: $(xlibi18n_la_OBJECTS) $(xlibi18n_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(xlibi18n_la_LINK) $(am_xlibi18n_la_rpath) $(xlibi18n_la_OBJECTS) $(xlibi18n_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcGenConv.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 42d63c5..1f7c301 100644 (file)
@@ -342,7 +342,7 @@ byteM_parse_codeset(
            continue;
 
         for (j = 0; j < codeset->length; j++) {
-           ch = *((unsigned char *)(inbufptr + j));
+           ch = *((const unsigned char *)(inbufptr + j));
            byteM_rec = byteM[j];
            byteinfo = byteM_rec.byteinfo;
 
@@ -764,9 +764,6 @@ mbstowcs_org(
         return( 0 );
     }
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
        ch = *inbufptr++;
@@ -921,9 +918,6 @@ wcstombs_org(
     int defstr_len = strlen(default_string);
 
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
         wc = *inbufptr++;
@@ -1080,9 +1074,6 @@ wcstocts(
     int from_size = *from_left;
     char *ext_seg_len = NULL;
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
         wc = *inbufptr++;
@@ -1233,7 +1224,7 @@ stdc_wcstocts(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -1272,9 +1263,6 @@ ctstowcs(
         return( 0 );
     }
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
        ch = *inbufptr++;
@@ -1556,7 +1544,7 @@ stdc_ctstowcs(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -1592,7 +1580,7 @@ stdc_cstowcs(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -1628,7 +1616,7 @@ mbstocts(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -1666,9 +1654,6 @@ mbstostr(
         return( 0 );
     }
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
        ch = *inbufptr++;
@@ -1956,10 +1941,6 @@ wcstostr(
     const char *default_string = XLC_PUBLIC(lcd, default_string);
     int defstr_len = strlen(default_string);
 
-
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
         wc = *inbufptr++;
@@ -2082,7 +2063,7 @@ stdc_wcstostr(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -2114,9 +2095,6 @@ wctocs(
     char *outbufptr = *to;
     int from_size = *from_left;
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     if (*from_left && *to_left) {
 
         wc = *inbufptr++;
@@ -2360,7 +2338,7 @@ ctstombs(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -2396,7 +2374,7 @@ cstombs(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -2427,9 +2405,6 @@ strtombs(
     char *outbufptr = *to;
     int from_size = *from_left;
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
         ch = *inbufptr++;
@@ -2537,9 +2512,6 @@ strtowcs(
     wchar_t *outbufptr = (wchar_t *)*to;
     int from_size = *from_left;
 
-    if (*from_left > *to_left)
-        *from_left = *to_left;
-
     while (*from_left && *to_left) {
 
         ch = *inbufptr++;
@@ -2611,7 +2583,7 @@ stdc_strtowcs(
 
 ret:
     if (buf)
-       Xfree((char *)buf);
+       Xfree(buf);
 
     return (unconv_num1 + unconv_num2);
 }
@@ -2625,14 +2597,14 @@ close_converter(
     XlcConv conv)
 {
     if (conv->state) {
-       Xfree((char *) conv->state);
+       Xfree(conv->state);
     }
 
     if (conv->methods) {
-       Xfree((char *) conv->methods);
+       Xfree(conv->methods);
     }
 
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 /* -------------------------------------------------------------------------- */
@@ -2647,11 +2619,11 @@ create_conv(
     XlcConv conv;
     State state;
 
-    conv = (XlcConv) Xcalloc(1, sizeof(XlcConvRec));
+    conv = Xcalloc(1, sizeof(XlcConvRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
-    conv->methods = (XlcConvMethods) Xmalloc(sizeof(XlcConvMethodsRec));
+    conv->methods = Xmalloc(sizeof(XlcConvMethodsRec));
     if (conv->methods == NULL)
        goto err;
     *conv->methods = *methods;
diff --git a/modules/lc/xlocale/Makefile.in b/modules/lc/xlocale/Makefile.in
deleted file mode 100644 (file)
index 46d5505..0000000
+++ /dev/null
@@ -1,655 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/lc/xlocale
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libxlocale_la_LIBADD =
-am__objects_1 = lcEuc.lo lcJis.lo lcSjis.lo
-am_libxlocale_la_OBJECTS = $(am__objects_1)
-libxlocale_la_OBJECTS = $(am_libxlocale_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libxlocale_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@xlocale_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_xlocale_la_OBJECTS = lcEuc.lo lcJis.lo lcSjis.lo
-xlocale_la_OBJECTS = $(am_xlocale_la_OBJECTS)
-xlocale_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(xlocale_la_LDFLAGS) $(LDFLAGS) -o $@
-@XLIB_LOADABLE_I18N_TRUE@am_xlocale_la_rpath = -rpath $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxlocale_la_SOURCES) $(xlocale_la_SOURCES)
-DIST_SOURCES = $(libxlocale_la_SOURCES) $(xlocale_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = xlocale.la
-@XLIB_LOADABLE_I18N_TRUE@xlocale_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@xlocale_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libxlocale.la
-xlocale_la_SOURCES = \
-       lcEuc.c \
-       lcJis.c \
-       lcSjis.c
-
-libxlocale_la_SOURCES = $(xlocale_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/lc/xlocale/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/lc/xlocale/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxlocale.la: $(libxlocale_la_OBJECTS) $(libxlocale_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libxlocale_la_rpath) $(libxlocale_la_OBJECTS) $(libxlocale_la_LIBADD) $(LIBS)
-xlocale.la: $(xlocale_la_OBJECTS) $(xlocale_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(xlocale_la_LINK) $(am_xlocale_la_rpath) $(xlocale_la_OBJECTS) $(xlocale_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcEuc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcJis.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcSjis.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 442e309..5b171a9 100644 (file)
@@ -671,7 +671,7 @@ create_conv(
 {
     XlcConv conv;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+    conv = Xmalloc(sizeof(XlcConvRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
@@ -1363,7 +1363,7 @@ static void
 close_converter(
     XlcConv conv)
 {
-       Xfree((char *) conv);
+       Xfree(conv);
 }
 
 enum { MBSTOCS, WCSTOCS, MBTOCS, CSTOMBS, CSTOWCS, MBSTOWCS, WCSTOMBS,
index 551862d..a6917cf 100644 (file)
@@ -520,10 +520,10 @@ close_converter(
     XlcConv conv)
 {
     if (conv->state) {
-       Xfree((char *) conv->state);
+       Xfree(conv->state);
     }
 
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 static XlcConv
@@ -534,11 +534,11 @@ create_conv(
     XlcConv conv;
     State state;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+    conv = Xmalloc(sizeof(XlcConvRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
-    conv->methods = (XlcConvMethods) Xmalloc(sizeof(XlcConvMethodsRec));
+    conv->methods = Xmalloc(sizeof(XlcConvMethodsRec));
     if (conv->methods == NULL)
        goto err;
     *conv->methods = *methods;
index 74dd033..ac94557 100644 (file)
@@ -1420,7 +1420,7 @@ static void
 close_converter(
     XlcConv conv)
 {
-       Xfree((char *) conv);
+       Xfree(conv);
 }
 
 
@@ -1431,7 +1431,7 @@ create_conv(
 {
     XlcConv conv;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+    conv = Xmalloc(sizeof(XlcConvRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
diff --git a/modules/om/Makefile.in b/modules/om/Makefile.in
deleted file mode 100644 (file)
index e213bd1..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/om
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = generic
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/om/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/om/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/modules/om/generic/Makefile.in b/modules/om/generic/Makefile.in
deleted file mode 100644 (file)
index e603a6a..0000000
+++ /dev/null
@@ -1,670 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = modules/om/generic
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(commonlibdir)"
-LTLIBRARIES = $(commonlib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libxomGeneric_la_LIBADD =
-am__objects_1 = omDefault.lo omGeneric.lo omImText.lo omText.lo \
-       omTextEsc.lo omTextExt.lo omTextPer.lo omXChar.lo
-am_libxomGeneric_la_OBJECTS = $(am__objects_1)
-libxomGeneric_la_OBJECTS = $(am_libxomGeneric_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-@XLIB_LOADABLE_I18N_FALSE@am_libxomGeneric_la_rpath =
-am__DEPENDENCIES_1 =
-@XLIB_LOADABLE_I18N_TRUE@xomGeneric_la_DEPENDENCIES =  \
-@XLIB_LOADABLE_I18N_TRUE@      $(am__DEPENDENCIES_1)
-am_xomGeneric_la_OBJECTS = omDefault.lo omGeneric.lo omImText.lo \
-       omText.lo omTextEsc.lo omTextExt.lo omTextPer.lo omXChar.lo
-xomGeneric_la_OBJECTS = $(am_xomGeneric_la_OBJECTS)
-xomGeneric_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(xomGeneric_la_LDFLAGS) $(LDFLAGS) -o $@
-@XLIB_LOADABLE_I18N_TRUE@am_xomGeneric_la_rpath = -rpath \
-@XLIB_LOADABLE_I18N_TRUE@      $(commonlibdir)
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxomGeneric_la_SOURCES) $(xomGeneric_la_SOURCES)
-DIST_SOURCES = $(libxomGeneric_la_SOURCES) $(xomGeneric_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -I$(top_srcdir)/src \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(MALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-@XLIB_LOADABLE_I18N_TRUE@commonlibdir = $(X11_LOCALELIBDIR)/common
-@XLIB_LOADABLE_I18N_TRUE@commonlib_LTLIBRARIES = xomGeneric.la
-@XLIB_LOADABLE_I18N_TRUE@xomGeneric_la_LDFLAGS = -module -version-number 2:0:0
-@XLIB_LOADABLE_I18N_TRUE@xomGeneric_la_LIBADD = $(I18N_MODULE_LIBS)
-@XLIB_LOADABLE_I18N_FALSE@noinst_LTLIBRARIES = libxomGeneric.la
-xomGeneric_la_SOURCES = \
-       omDefault.c \
-       omGeneric.c \
-       omImText.c \
-       omText.c \
-       omTextEsc.c \
-       omTextExt.c \
-       omTextPer.c \
-       omXChar.c
-
-libxomGeneric_la_SOURCES = $(xomGeneric_la_SOURCES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/om/generic/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign modules/om/generic/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-install-commonlibLTLIBRARIES: $(commonlib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(commonlibdir)" || $(MKDIR_P) "$(DESTDIR)$(commonlibdir)"
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(commonlibdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(commonlibdir)"; \
-       }
-
-uninstall-commonlibLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(commonlib_LTLIBRARIES)'; test -n "$(commonlibdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(commonlibdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(commonlibdir)/$$f"; \
-       done
-
-clean-commonlibLTLIBRARIES:
-       -test -z "$(commonlib_LTLIBRARIES)" || rm -f $(commonlib_LTLIBRARIES)
-       @list='$(commonlib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxomGeneric.la: $(libxomGeneric_la_OBJECTS) $(libxomGeneric_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK) $(am_libxomGeneric_la_rpath) $(libxomGeneric_la_OBJECTS) $(libxomGeneric_la_LIBADD) $(LIBS)
-xomGeneric.la: $(xomGeneric_la_OBJECTS) $(xomGeneric_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(xomGeneric_la_LINK) $(am_xomGeneric_la_rpath) $(xomGeneric_la_OBJECTS) $(xomGeneric_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omDefault.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omGeneric.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omImText.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omText.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omTextEsc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omTextExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omTextPer.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omXChar.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-       for dir in "$(DESTDIR)$(commonlibdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-commonlibLTLIBRARIES
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-commonlibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean \
-       clean-commonlibLTLIBRARIES clean-generic clean-libtool \
-       clean-noinstLTLIBRARIES ctags distclean distclean-compile \
-       distclean-generic distclean-libtool distclean-tags distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-commonlibLTLIBRARIES install-data install-data-am \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip installcheck installcheck-am \
-       installdirs maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
-       uninstall-am uninstall-commonlibLTLIBRARIES
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 7f02c85..7122bb7 100644 (file)
@@ -101,7 +101,7 @@ init_fontdata(
     FontData   fd;
     int                i;
 
-    fd = (FontData)Xmalloc(sizeof(FontDataRec) * font_data_count);
+    fd = Xmalloc(sizeof(FontDataRec) * font_data_count);
     if(fd == (FontData) NULL)
        return False;
 
@@ -126,7 +126,7 @@ init_vrotate(
     if(type == VROTATE_NONE)
        return (VRotate)NULL;
 
-    vrotate = (VRotate)Xmalloc(sizeof(VRotateRec) * font_data_count);
+    vrotate = Xmalloc(sizeof(VRotateRec) * font_data_count);
     if(vrotate == (VRotate) NULL)
        return False;
 
@@ -155,7 +155,7 @@ init_fontset(
     count = XOM_GENERIC(oc->core.om)->data_num;
     data = XOM_GENERIC(oc->core.om)->data;
 
-    font_set = (FontSet) Xmalloc(sizeof(FontSetRec) * count);
+    font_set = Xmalloc(sizeof(FontSetRec) * count);
     if (font_set == NULL)
        return False;
     memset((char *) font_set, 0x00, sizeof(FontSetRec) * count);
@@ -463,15 +463,15 @@ init_core_part(
     if (count == 0)
         return False;
 
-    font_struct_list = (XFontStruct **) Xmalloc(sizeof(XFontStruct *) * count);
+    font_struct_list = Xmalloc(sizeof(XFontStruct *) * count);
     if (font_struct_list == NULL)
        return False;
 
-    font_name_list = (char **) Xmalloc(sizeof(char *) * count);
+    font_name_list = Xmalloc(sizeof(char *) * count);
     if (font_name_list == NULL)
        goto err;
 
-    font_name_buf = (char *) Xmalloc(length);
+    font_name_buf = Xmalloc(length);
     if (font_name_buf == NULL)
        goto err;
 
@@ -585,7 +585,8 @@ get_rotate_fontname(
        }
     }
     pixel_size = atoi(fields[PIXEL_SIZE_FIELD - 1]);
-    sprintf(str_pixel, "[ 0 ~%d %d 0 ]", pixel_size, pixel_size);
+    snprintf(str_pixel, sizeof(str_pixel),
+            "[ 0 ~%d %d 0 ]", pixel_size, pixel_size);
     fields[6] = str_pixel;
 
     /* Point Size field : fields[7] */
@@ -602,7 +603,7 @@ get_rotate_fontname(
     if (len > XLFD_MAX_LEN)
        goto free_pattern;
 
-    rotate_font_ptr = (char *)Xmalloc(len + 1);
+    rotate_font_ptr = Xmalloc(len + 1);
     if(!rotate_font_ptr)
        goto free_pattern;
 
@@ -1097,7 +1098,7 @@ parse_vw(
            Xfree(vrotate);
 
            if(sub_num > 0) {
-               vrotate = font_set->vrotate = (VRotate)Xmalloc
+               vrotate = font_set->vrotate = Xmalloc
                                                (sizeof(VRotateRec) * sub_num);
                if(font_set->vrotate == (VRotate)NULL)
                    return (-1);
@@ -1163,7 +1164,7 @@ parse_fontname(
            * a "missing_charset" will be reported to the client
            * for this CharSet.
            */
-           font_data_return. xlfd_name = NULL;
+           font_data_return.xlfd_name  = NULL;
            font_data_return.side       = XlcUnknown;
 
            ret = parse_fontdata(oc, font_set, font_set->font_data,
@@ -1287,12 +1288,12 @@ set_missing_list(
        return True;
     }
 
-    charset_list = (char **) Xmalloc(sizeof(char *) * count);
+    charset_list = Xmalloc(sizeof(char *) * count);
     if (charset_list == NULL) {
        return False;
     }
 
-    charset_buf = (char *) Xmalloc(length);
+    charset_buf = Xmalloc(length);
     if (charset_buf == NULL) {
        Xfree(charset_list);
        return False;
@@ -1868,9 +1869,9 @@ add_data(
     int num;
 
     if ((num = gen->data_num))
-        new = (OMData) Xrealloc(gen->data, (num + 1) * sizeof(OMDataRec));
+        new = Xrealloc(gen->data, (num + 1) * sizeof(OMDataRec));
     else
-        new = (OMData) Xmalloc(sizeof(OMDataRec));
+        new = Xmalloc(sizeof(OMDataRec));
 
     if (new == NULL)
         return NULL;
@@ -1909,7 +1910,7 @@ read_EncodingInfo(
             bufptr++ ;
        } else
             len = strlen(buf);
-        font_data->name = (char *) Xmalloc(len + 1);
+        font_data->name = Xmalloc(len + 1);
         if (font_data->name == NULL) {
             Xfree(font_data);
             return NULL;
@@ -1960,7 +1961,7 @@ static void read_vw(
     char **value, buf[BUFSIZ];
     int count;
 
-    sprintf(buf, "fs%d.font.vertical_map", num);
+    snprintf(buf, sizeof(buf), "fs%d.font.vertical_map", num);
     _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
     if (count > 0){
         _XlcDbg_printValue(buf,value,count);
@@ -1968,7 +1969,7 @@ static void read_vw(
         font_set->vmap = read_EncodingInfo(count,value);
     }
 
-    sprintf(buf, "fs%d.font.vertical_rotate", num);
+    snprintf(buf, sizeof(buf), "fs%d.font.vertical_rotate", num);
     _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
     if (count > 0){
         _XlcDbg_printValue(buf,value,count);
@@ -2004,11 +2005,11 @@ init_om(
 
     for (num = 0; ; num++) {
 
-        sprintf(buf, "fs%d.charset.name", num);
+        snprintf(buf, sizeof(buf), "fs%d.charset.name", num);
         _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
 
         if( count < 1){
-            sprintf(buf, "fs%d.charset", num);
+            snprintf(buf, sizeof(buf), "fs%d.charset", num);
             _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
             if (count < 1)
                 break;
@@ -2018,7 +2019,7 @@ init_om(
        if (data == NULL)
            return False;
 
-       charset_list = (XlcCharSet *) Xmalloc(sizeof(XlcCharSet) * count);
+       charset_list = Xmalloc(sizeof(XlcCharSet) * count);
        if (charset_list == NULL)
            return False;
        data->charset_list = charset_list;
@@ -2027,12 +2028,12 @@ init_om(
        while (count-- > 0){
            *charset_list++ = _XlcGetCharSet(*value++);
         }
-        sprintf(buf, "fs%d.charset.udc_area", num);
+        snprintf(buf, sizeof(buf), "fs%d.charset.udc_area", num);
         _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
         if( count > 0){
             UDCArea udc;
             int i,flag = 0;
-            udc = (UDCArea)Xmalloc(count * sizeof(UDCAreaRec));
+            udc = Xmalloc(count * sizeof(UDCAreaRec));
            if (udc == NULL)
                return False;
             for(i=0;i<count;i++){
@@ -2051,10 +2052,10 @@ init_om(
            }
         }
 
-        sprintf(buf, "fs%d.font.primary", num);
+        snprintf(buf, sizeof(buf), "fs%d.font.primary", num);
         _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
         if (count < 1){
-            sprintf(buf, "fs%d.font", num);
+            snprintf(buf, sizeof(buf), "fs%d.font", num);
             _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
             if (count < 1)
                 return False;
@@ -2067,7 +2068,7 @@ init_om(
        data->font_data = font_data;
        data->font_data_count = count;
 
-        sprintf(buf, "fs%d.font.substitute", num);
+        snprintf(buf, sizeof(buf), "fs%d.font.substitute", num);
         _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
         if (count > 0){
             font_data = read_EncodingInfo(count,value);
@@ -2076,7 +2077,7 @@ init_om(
             data->substitute      = font_data;
             data->substitute_num = count;
         } else {
-            sprintf(buf, "fs%d.font", num);
+            snprintf(buf, sizeof(buf), "fs%d.font", num);
             _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
             if (count < 1) {
                 data->substitute      = NULL;
@@ -2092,7 +2093,7 @@ init_om(
     }
 
     /* required charset list */
-    required_list = (char **) Xmalloc(sizeof(char *) * gen->data_num);
+    required_list = Xmalloc(sizeof(char *) * gen->data_num);
     if (required_list == NULL)
        return False;
 
@@ -2103,7 +2104,7 @@ init_om(
     data = gen->data;
 
     if (count > 0) {
-       bufptr = (char *) Xmalloc(length);
+       bufptr = Xmalloc(length);
        if (bufptr == NULL) {
            Xfree(required_list);
            return False;
@@ -2117,7 +2118,7 @@ init_om(
     }
 
     /* orientation list */
-    orientation = (XOrientation *) Xmalloc(sizeof(XOrientation) * 2);
+    orientation = Xmalloc(sizeof(XOrientation) * 2);
     if (orientation == NULL)
        return False;
 
index ff517d5..c9bbb8e 100644 (file)
@@ -262,47 +262,6 @@ _XomGetFontSetFromCharSet(
     return (FontSet) NULL;
 }
 
-#ifdef MUSTCOPY
-static void
-cs_to_xchar2b(
-    register char *from,
-    register XChar2b *to,
-    register length)
-{
-    while (length-- > 0) {
-       to->byte1 = *from++;
-       to->byte2 = *from++;
-       to++;
-    }
-}
-
-static void
-cs_to_xchar2b_gl(
-    register char *from,
-    register XChar2b *to,
-    register length)
-{
-    while (length-- > 0) {
-       to->byte1 = *from++ & 0x7f;
-       to->byte2 = *from++ & 0x7f;
-       to++;
-    }
-}
-
-static void
-cs_to_xchar2b_gr(
-    register char *from,
-    register XChar2b *to,
-    register length)
-{
-    while (length-- > 0) {
-       to->byte1 = *from++ | 0x80;
-       to->byte2 = *from++ | 0x80;
-       to++;
-    }
-}
-#endif
-
 static void
 shift_to_gl(
     register char *text,
@@ -358,10 +317,6 @@ _XomConvert(
     XlcCharSet charset;
     int length, cs_left, ret;
     FontSet font_set;
-#ifdef MUSTCOPY
-    XChar2b *xchar2b;
-    char *buf, buf_local[BUFSIZ];
-#endif
 
     cs = *to;
     cs_left = *to_left;
@@ -380,46 +335,18 @@ _XomConvert(
 
     length = *to_left - cs_left;
 
-#ifdef MUSTCOPY
-    if (font_set->is_xchar2b) {
-       buf = (length > BUFSIZ) ? Xmalloc(length) : buf_local;
-       if (buf == NULL)
-           return -1;
-       memcpy(buf, (char *) *to, length);
-
-       xchar2b = (XChar2b *) *to;
-       length >>= 1;
-
-       if (font_set->side == charset->side)
-           cs_to_xchar2b(buf, xchar2b, length);
-       else if (font_set->side == XlcGL)
-           cs_to_xchar2b_gl(buf, xchar2b, length);
+    if (font_set->side != charset->side) {
+       if (font_set->side == XlcGL)
+           shift_to_gl(*to, length);
        else if (font_set->side == XlcGR)
-           cs_to_xchar2b_gr(buf, xchar2b, length);
-       else
-           cs_to_xchar2b(buf, xchar2b, length);
-
-       if (buf != buf_local)
-           Xfree(buf);
-
-       *to = (XPointer) (xchar2b + length);
-       *to_left -= length;
-    } else
-#endif
-    {
-       if (font_set->side != charset->side) {
-           if (font_set->side == XlcGL)
-               shift_to_gl(*to, length);
-           else if (font_set->side == XlcGR)
-               shift_to_gr(*to, length);
-       }
-
-       if (font_set->is_xchar2b)
-           length >>= 1;
-       *to = cs;
-       *to_left -= length;
+           shift_to_gr(*to, length);
     }
 
+    if (font_set->is_xchar2b)
+       length >>= 1;
+    *to = cs;
+    *to_left -= length;
+
     *((XFontStruct **) args[0]) = font_set->font;
     *((Bool *) args[1]) = font_set->is_xchar2b;
     if(num_args >= 3){
diff --git a/nls/.gitignore b/nls/.gitignore
new file mode 100644 (file)
index 0000000..cdb8fee
--- /dev/null
@@ -0,0 +1,12 @@
+Compose
+XLC_LOCALE
+compose.dir
+compose.dir.l1
+compose.dir.l2
+locale.alias
+locale.alias.l1
+locale.alias.l2
+locale.dir
+locale.dir.l1
+locale.dir.l2
+xorg.css
index 32e4f35..3a9a1bb 100644 (file)
@@ -3,6 +3,6 @@
 #      XI18N objects table for euro locales
 #
 XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM      # XIM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
 XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
 
index 0eced4c..53eaacd 100644 (file)
@@ -37,8 +37,8 @@ locale.dir: locale.dir.pre
        cat locale.dir.l2 locale.dir.l1 > locale.dir
 
 if HAVE_PERL
-TESTS_ENVIRONMENT = $(PERL)
-TESTS = $(srcdir)/compose-check.pl
+LOG_COMPILER = $(PERL)
+TESTS = compose-check.pl
 endif HAVE_PERL
 
 
diff --git a/nls/Makefile.in b/nls/Makefile.in
deleted file mode 100644 (file)
index d1a241c..0000000
+++ /dev/null
@@ -1,685 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#                                                      -*- Makefile -*-
-# Rules for generating files using the C pre-processor
-# (Replaces CppFileTarget from Imake)
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(nobase_dist_x11locale_DATA) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/cpprules.in
-subdir = nls
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(x11localedir)" \
-       "$(DESTDIR)$(x11localedir)" "$(DESTDIR)$(x11localedir)"
-DATA = $(nobase_dist_x11locale_DATA) $(nobase_x11locale_DATA) \
-       $(x11locale_DATA)
-am__tty_colors = \
-red=; grn=; lgn=; blu=; std=
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = LC_CTYPE=C sed
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-x11localedir = $(X11_LOCALEDATADIR)
-CLEANFILES = locale.alias locale.alias.l1 locale.alias.l2 compose.dir \
-       compose.dir.l1 compose.dir.l2 locale.dir locale.dir.l1 \
-       locale.dir.l2 XLC_LOCALE $(nobase_x11locale_DATA)
-SUFFIXES = .pre
-EXTRA_DIST = locale.alias.pre compose.dir.pre locale.dir.pre \
-       compose-check.pl $(nobase_x11locale_DATA:%=%.pre)
-x11locale_DATA = locale.alias locale.dir compose.dir
-WCHAR32_FLAGS = -DWCHAR32=@WCHAR32@
-CPP_FILES_FLAGS = $(WCHAR32_FLAGS)
-
-# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
-# to cpp, because that trick does not work on all ANSI C preprocessors.
-# Delete line numbers from the cpp output (-P is not portable, I guess).
-# Allow XCOMM to be preceded by whitespace and provide a means of generating
-# output lines with trailing backslashes.
-# Allow XHASH to always be substituted, even in cases where XCOMM isn't.
-CPP_SED_MAGIC = $(SED) -e '/^\#  *[0-9][0-9]*  *.*$$/d' \
-                       -e '/^\#line  *[0-9][0-9]*  *.*$$/d' \
-                       -e '/^[         ]*XCOMM$$/s/XCOMM/\#/' \
-                       -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
-                       -e '/^[         ]*XHASH/s/XHASH/\#/' \
-                       -e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \
-                       -e '/\@\@$$/s/\@\@$$/\\/'
-
-@HAVE_PERL_TRUE@TESTS_ENVIRONMENT = $(PERL)
-@HAVE_PERL_TRUE@TESTS = $(srcdir)/compose-check.pl
-
-# Per-locale data files
-nobase_dist_x11locale_DATA = $(locales:%=%/XI18N_OBJS)
-nobase_x11locale_DATA = $(locales:%=%/XLC_LOCALE) $(locales:%=%/Compose)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .pre
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/cpprules.in $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign nls/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign nls/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-nobase_dist_x11localeDATA: $(nobase_dist_x11locale_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11localedir)" || $(MKDIR_P) "$(DESTDIR)$(x11localedir)"
-       @list='$(nobase_dist_x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       $(am__nobase_list) | while read dir files; do \
-         xfiles=; for file in $$files; do \
-           if test -f "$$file"; then xfiles="$$xfiles $$file"; \
-           else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
-         test -z "$$xfiles" || { \
-           test "x$$dir" = x. || { \
-             echo "$(MKDIR_P) '$(DESTDIR)$(x11localedir)/$$dir'"; \
-             $(MKDIR_P) "$(DESTDIR)$(x11localedir)/$$dir"; }; \
-           echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(x11localedir)/$$dir'"; \
-           $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(x11localedir)/$$dir" || exit $$?; }; \
-       done
-
-uninstall-nobase_dist_x11localeDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(nobase_dist_x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
-       dir='$(DESTDIR)$(x11localedir)'; $(am__uninstall_files_from_dir)
-install-nobase_x11localeDATA: $(nobase_x11locale_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11localedir)" || $(MKDIR_P) "$(DESTDIR)$(x11localedir)"
-       @list='$(nobase_x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       $(am__nobase_list) | while read dir files; do \
-         xfiles=; for file in $$files; do \
-           if test -f "$$file"; then xfiles="$$xfiles $$file"; \
-           else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
-         test -z "$$xfiles" || { \
-           test "x$$dir" = x. || { \
-             echo "$(MKDIR_P) '$(DESTDIR)$(x11localedir)/$$dir'"; \
-             $(MKDIR_P) "$(DESTDIR)$(x11localedir)/$$dir"; }; \
-           echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(x11localedir)/$$dir'"; \
-           $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(x11localedir)/$$dir" || exit $$?; }; \
-       done
-
-uninstall-nobase_x11localeDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(nobase_x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
-       dir='$(DESTDIR)$(x11localedir)'; $(am__uninstall_files_from_dir)
-install-x11localeDATA: $(x11locale_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11localedir)" || $(MKDIR_P) "$(DESTDIR)$(x11localedir)"
-       @list='$(x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(x11localedir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(x11localedir)" || exit $$?; \
-       done
-
-uninstall-x11localeDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(x11locale_DATA)'; test -n "$(x11localedir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(x11localedir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-check-TESTS: $(TESTS)
-       @failed=0; all=0; xfail=0; xpass=0; skip=0; \
-       srcdir=$(srcdir); export srcdir; \
-       list=' $(TESTS) '; \
-       $(am__tty_colors); \
-       if test -n "$$list"; then \
-         for tst in $$list; do \
-           if test -f ./$$tst; then dir=./; \
-           elif test -f $$tst; then dir=; \
-           else dir="$(srcdir)/"; fi; \
-           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
-             all=`expr $$all + 1`; \
-             case " $(XFAIL_TESTS) " in \
-             *[\ \     ]$$tst[\ \      ]*) \
-               xpass=`expr $$xpass + 1`; \
-               failed=`expr $$failed + 1`; \
-               col=$$red; res=XPASS; \
-             ;; \
-             *) \
-               col=$$grn; res=PASS; \
-             ;; \
-             esac; \
-           elif test $$? -ne 77; then \
-             all=`expr $$all + 1`; \
-             case " $(XFAIL_TESTS) " in \
-             *[\ \     ]$$tst[\ \      ]*) \
-               xfail=`expr $$xfail + 1`; \
-               col=$$lgn; res=XFAIL; \
-             ;; \
-             *) \
-               failed=`expr $$failed + 1`; \
-               col=$$red; res=FAIL; \
-             ;; \
-             esac; \
-           else \
-             skip=`expr $$skip + 1`; \
-             col=$$blu; res=SKIP; \
-           fi; \
-           echo "$${col}$$res$${std}: $$tst"; \
-         done; \
-         if test "$$all" -eq 1; then \
-           tests="test"; \
-           All=""; \
-         else \
-           tests="tests"; \
-           All="All "; \
-         fi; \
-         if test "$$failed" -eq 0; then \
-           if test "$$xfail" -eq 0; then \
-             banner="$$All$$all $$tests passed"; \
-           else \
-             if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
-             banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
-           fi; \
-         else \
-           if test "$$xpass" -eq 0; then \
-             banner="$$failed of $$all $$tests failed"; \
-           else \
-             if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
-             banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
-           fi; \
-         fi; \
-         dashes="$$banner"; \
-         skipped=""; \
-         if test "$$skip" -ne 0; then \
-           if test "$$skip" -eq 1; then \
-             skipped="($$skip test was not run)"; \
-           else \
-             skipped="($$skip tests were not run)"; \
-           fi; \
-           test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
-             dashes="$$skipped"; \
-         fi; \
-         report=""; \
-         if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
-           report="Please report to $(PACKAGE_BUGREPORT)"; \
-           test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
-             dashes="$$report"; \
-         fi; \
-         dashes=`echo "$$dashes" | sed s/./=/g`; \
-         if test "$$failed" -eq 0; then \
-           col="$$grn"; \
-         else \
-           col="$$red"; \
-         fi; \
-         echo "$${col}$$dashes$${std}"; \
-         echo "$${col}$$banner$${std}"; \
-         test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
-         test -z "$$report" || echo "$${col}$$report$${std}"; \
-         echo "$${col}$$dashes$${std}"; \
-         test "$$failed" -eq 0; \
-       else :; fi
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-       $(MAKE) $(AM_MAKEFLAGS) check-TESTS
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(x11localedir)" "$(DESTDIR)$(x11localedir)" "$(DESTDIR)$(x11localedir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-nobase_dist_x11localeDATA \
-       install-nobase_x11localeDATA install-x11localeDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-nobase_dist_x11localeDATA \
-       uninstall-nobase_x11localeDATA uninstall-x11localeDATA
-
-.MAKE: check-am install-am install-strip
-
-.PHONY: all all-am check check-TESTS check-am clean clean-generic \
-       clean-libtool distclean distclean-generic distclean-libtool \
-       distdir dvi dvi-am html html-am info info-am install \
-       install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-nobase_dist_x11localeDATA install-nobase_x11localeDATA \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip install-x11localeDATA installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-nobase_dist_x11localeDATA \
-       uninstall-nobase_x11localeDATA uninstall-x11localeDATA
-
-
-.pre:
-       @$(MKDIR_P) $(@D)
-       $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
-
-# Global data files
-
-locale.alias: locale.alias.pre
-       $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.alias.pre | $(CPP_SED_MAGIC) > locale.alias.l1
-       $(SED) -e '/^[^#][^        ]*:/s/://' -e '/^[^#].*[        ].*:/d' \
-        < locale.alias.l1 > locale.alias.l2
-       cat locale.alias.l2 locale.alias.l1 > locale.alias
-
-compose.dir: compose.dir.pre
-       $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/compose.dir.pre | $(CPP_SED_MAGIC) > compose.dir.l1
-       $(SED) -e '/^[^#][^        ]*:/s/://' -e '/^[^#].*[        ].*:/d' \
-        < compose.dir.l1 > compose.dir.l2
-       cat compose.dir.l2 compose.dir.l1 > compose.dir
-
-locale.dir: locale.dir.pre
-       $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/locale.dir.pre | $(CPP_SED_MAGIC) > locale.dir.l1
-       $(SED) -e '/^[^#][^        ]*:/s/://' -e '/^[^#].*[        ].*:/d' \
-        < locale.dir.l1 > locale.dir.l2
-       cat locale.dir.l2 locale.dir.l1 > locale.dir
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 14a2fa9..fa267ce 100644 (file)
@@ -7,6 +7,7 @@ XCOMM
 iso8859-1/Compose:             C
 iso8859-1/Compose:             af_ZA.ISO8859-1
 iso8859-6/Compose:             ar_AA.ISO8859-6
+iso8859-6/Compose:             ar_AE.ISO8859-6
 iso8859-6/Compose:             ar_BH.ISO8859-6
 iso8859-6/Compose:             ar_DZ.ISO8859-6
 iso8859-6/Compose:             ar_EG.ISO8859-6
@@ -19,13 +20,17 @@ iso8859-6/Compose:          ar_MA.ISO8859-6
 iso8859-6/Compose:             ar_OM.ISO8859-6
 iso8859-6/Compose:             ar_QA.ISO8859-6
 iso8859-6/Compose:             ar_SA.ISO8859-6
+iso8859-6/Compose:             ar_SD.ISO8859-6
+iso8859-6/Compose:             ar_SY.ISO8859-6
 iso8859-6/Compose:             ar_TN.ISO8859-6
 iso8859-6/Compose:             ar_YE.ISO8859-6
 iso8859-9e/Compose:            az_AZ.ISO8859-9E
-koi8-c/Compose:                        a3_AZ.KOI8-C
+koi8-c/Compose:                        az_AZ.KOI8-C
 microsoft-cp1251/Compose:      be_BY.CP1251
+iso8859-5/Compose:             be_BY.ISO8859-5
 iso8859-5/Compose:             bg_BG.ISO8859-5
 microsoft-cp1251/Compose:      bg_BG.CP1251
+koi8-r/Compose:                        bg_BG.KOI8-R
 iso8859-1/Compose:             br_FR.ISO8859-1
 iso8859-14/Compose:            br_FR.ISO8859-14
 iso8859-15/Compose:            br_FR.ISO8859-15
@@ -46,6 +51,8 @@ iso8859-1/Compose:            da_DK.ISO8859-1
 iso8859-15/Compose:            da_DK.ISO8859-15
 iso8859-1/Compose:             de_AT.ISO8859-1
 iso8859-15/Compose:            de_AT.ISO8859-15
+iso8859-1/Compose:             de_BE.ISO8859-1
+iso8859-15/Compose:            de_BE.ISO8859-15
 iso8859-1/Compose:             de_CH.ISO8859-1
 iso8859-15/Compose:            de_CH.ISO8859-15
 iso8859-1/Compose:             de_DE.ISO8859-1
@@ -54,16 +61,26 @@ iso8859-1/Compose:          de_LI.ISO8859-1
 iso8859-15/Compose:            de_LI.ISO8859-15
 iso8859-1/Compose:             de_LU.ISO8859-1
 iso8859-15/Compose:            de_LU.ISO8859-15
+iso8859-4/Compose:             ee_EE.ISO8859-4
 iso8859-7/Compose:             el_GR.ISO8859-7
+iso8859-15/Compose:            el_GR.ISO8859-15
 iso8859-1/Compose:             en_AU.ISO8859-1
+iso8859-1/Compose:             en_BE.ISO8859-1
+iso8859-15/Compose:            en_BE.ISO8859-15
+iso8859-1/Compose:             en_BW.ISO8859-1
 iso8859-1/Compose:             en_BZ.ISO8859-1
 iso8859-1/Compose:             en_CA.ISO8859-1
+iso8859-1/Compose:             en_EN.ISO8859-1
 iso8859-1/Compose:             en_GB.ISO8859-1
 iso8859-15/Compose:            en_GB.ISO8859-15
+iso8859-1/Compose:             en_HK.ISO8859-1
 iso8859-1/Compose:             en_IE.ISO8859-1
 iso8859-15/Compose:            en_IE.ISO8859-15
+iso8859-15/Compose:            en_IN.ISO8859-15
 iso8859-1/Compose:             en_JM.ISO8859-1
 iso8859-1/Compose:             en_NZ.ISO8859-1
+iso8859-1/Compose:             en_PH.ISO8859-1
+iso8859-1/Compose:             en_SG.ISO8859-1
 iso8859-1/Compose:             en_TT.ISO8859-1
 iso8859-1/Compose:             en_UK.ISO8859-1
 iso8859-15/Compose:            en_UK.ISO8859-15
@@ -71,6 +88,8 @@ iso8859-1/Compose:            en_US.ISO8859-1
 iso8859-15/Compose:            en_US.ISO8859-15
 iso8859-1/Compose:             en_ZA.ISO8859-1
 iso8859-15/Compose:            en_ZA.ISO8859-15
+iso8859-1/Compose:             en_ZW.ISO8859-1
+iso8859-3/Compose:             eo_EO.ISO8859-3
 iso8859-3/Compose:             eo_XX.ISO8859-3
 iso8859-1/Compose:             es_AR.ISO8859-1
 iso8859-1/Compose:             es_BO.ISO8859-1
@@ -86,12 +105,19 @@ iso8859-1/Compose:         es_HN.ISO8859-1
 iso8859-1/Compose:             es_MX.ISO8859-1
 iso8859-1/Compose:             es_NI.ISO8859-1
 iso8859-1/Compose:             es_PA.ISO8859-1
+iso8859-15/Compose:            es_PA.ISO8859-15
 iso8859-1/Compose:             es_PE.ISO8859-1
+iso8859-15/Compose:            es_PE.ISO8859-15
 iso8859-1/Compose:             es_PR.ISO8859-1
 iso8859-1/Compose:             es_PY.ISO8859-1
+iso8859-15/Compose:            es_PY.ISO8859-15
 iso8859-1/Compose:             es_SV.ISO8859-1
+iso8859-15/Compose:            es_SV.ISO8859-15
+iso8859-1/Compose:             es_US.ISO8859-1
 iso8859-1/Compose:             es_UY.ISO8859-1
+iso8859-15/Compose:            es_UY.ISO8859-15
 iso8859-1/Compose:             es_VE.ISO8859-1
+iso8859-15/Compose:            es_VE.ISO8859-15
 iso8859-1/Compose:             et_EE.ISO8859-1
 iso8859-4/Compose:             et_EE.ISO8859-4
 iso8859-13/Compose:            et_EE.ISO8859-13
@@ -151,14 +177,12 @@ iso8859-15/Compose:               kw_GB.ISO8859-15
 ko/Compose:                    ko_KR.eucKR
 ibm-cp1133/Compose:            lo_LA.IBM-CP1133
 mulelao-1/Compose:             lo_LA.MULELAO-1
-iso8859-1/Compose:             lt_LN.ISO8859-1
 iso8859-4/Compose:             lt_LT.ISO8859-4
 iso8859-13/Compose:            lt_LT.ISO8859-13
 iso8859-4/Compose:             lv_LV.ISO8859-4
 iso8859-13/Compose:            lv_LV.ISO8859-13
 iso8859-13/Compose:            mi_NZ.ISO8859-13
 iso8859-5/Compose:             mk_MK.ISO8859-5
-XCOMM mk_MK.UTF-8/Compose:             mk_MK.UTF-8
 microsoft-cp1251/Compose:      mk_MK.CP1251
 iso8859-1/Compose:             ms_MY.ISO8859-1
 iso8859-3/Compose:             mt_MT.ISO8859-3
@@ -179,7 +203,9 @@ iso8859-15/Compose:         ny_NO.ISO8859-15
 iso8859-1/Compose:             oc_FR.ISO8859-1
 iso8859-15/Compose:            oc_FR.ISO8859-15
 iso8859-1/Compose:             pd_DE.ISO8859-1
+iso8859-15/Compose:            pd_DE.ISO8859-15
 iso8859-1/Compose:             pd_US.ISO8859-1
+iso8859-15/Compose:            pd_US.ISO8859-15
 iso8859-1/Compose:             ph_PH.ISO8859-1
 iso8859-2/Compose:             pl_PL.ISO8859-2
 iso8859-1/Compose:             pp_AN.ISO8859-1
@@ -191,16 +217,17 @@ iso8859-2/Compose:                ro_RO.ISO8859-2
 koi8-r/Compose:                        ru_RU.KOI8-R
 iso8859-5/Compose:             ru_RU.ISO8859-5
 microsoft-cp1251/Compose:      ru_RU.CP1251
+microsoft-cp1251/Compose:      ru_UA.CP1251
 koi8-u/Compose:                        ru_UA.KOI8-U
 iso8859-1/Compose:             rw_RW.ISO8859-1
 iso8859-2/Compose:             sh_YU.ISO8859-2
 iso8859-2/Compose:             sk_SK.ISO8859-2
-iso8859-2/Compose:             sl_CS.ISO8859-2
 iso8859-2/Compose:             sl_SI.ISO8859-2
 iso8859-2/Compose:             sq_AL.ISO8859-2
 iso8859-2/Compose:             sr_CS.ISO8859-2
 iso8859-5/Compose:             sr_CS.ISO8859-5
 iso8859-2/Compose:             sr_YU.ISO8859-2
+microsoft-cp1251/Compose:      sr_YU.CP1251
 iso8859-5/Compose:             sr_YU.ISO8859-5
 iso8859-1/Compose:             ss_ZA.ISO8859-1
 iso8859-1/Compose:             st_ZA.ISO8859-1
@@ -211,34 +238,39 @@ iso8859-15/Compose:               sv_SE.ISO8859-15
 tscii-0/Compose:               ta_IN.TSCII-0
 koi8-c/Compose:                        tg_TJ.KOI8-C
 iso8859-1/Compose:             tl_PH.ISO8859-1
+iso8859-11/Compose:            th_TH.ISO8859-11
+th_TH/Compose:                 th_TH.TIS620
 iso8859-15/Compose:            tn_ZA.ISO8859-15
 iso8859-9/Compose:             tr_TR.ISO8859-9
 iso8859-1/Compose:             ts_ZA.ISO8859-1
 tatar-cyr/Compose:             tt_RU.TATAR-CYR
+microsoft-cp1251/Compose:      uk_UA.CP1251
 koi8-c/Compose:                        tt_RU.KOI8-C
 koi8-u/Compose:                        uk_UA.KOI8-U
+iso8859-5/Compose:             uk_UA.ISO8859-5
 microsoft-cp1256/Compose:      ur_PK.CP1256
+iso8859-1/Compose:             uz_UZ.ISO8859-1
 vi_VN.viscii/Compose:          vi_VN.VISCII
 vi_VN.tcvn/Compose:            vi_VN.TCVN
 iso8859-1/Compose:             wa_BE.ISO8859-1
+iso8859-15/Compose:            wa_BE.ISO8859-15
 iso8859-1/Compose:             xh_ZA.ISO8859-1
-microsoft-cp1255/Compose:      yi_US.CP1256
+microsoft-cp1255/Compose:      yi_US.CP1255
 zh_CN/Compose:                 zh_CN.eucCN
-zh_CN/Compose:                 zh_CN.GB2312
-zh_CN.gbk/Compose:             zh_CN.GBK
-zh_CN.gb18030/Compose:         zh_CN.GB18030
+zh_CN/Compose:                 zh_CN.gb2312
+zh_CN.gbk/Compose:             zh_CN.gbk
+zh_CN.gb18030/Compose:         zh_CN.gb18030
 zh_HK.big5/Compose:            zh_HK.big5
-zh_HK.big5/Compose:            zh_HK.Big5
 zh_HK.big5hkscs/Compose:       zh_HK.big5hkscs
-zh_HK.big5hkscs/Compose:       zh_HK.Big5HKSCS
 zh_TW.big5/Compose:            zh_TW.big5
-zh_TW.big5/Compose:            zh_TW.Big5
 zh_TW/Compose:                 zh_TW.eucTW
 iso8859-1/Compose:             zu_ZA.ISO8859-1
 XCOMM
 XCOMM
 en_US.UTF-8/Compose:           af_ZA.UTF-8
+am_ET.UTF-8/Compose:           am_ET.UTF-8
 en_US.UTF-8/Compose:           ar_AA.UTF-8
+en_US.UTF-8/Compose:           ar_AE.UTF-8
 en_US.UTF-8/Compose:           ar_BH.UTF-8
 en_US.UTF-8/Compose:           ar_DZ.UTF-8
 en_US.UTF-8/Compose:           ar_EG.UTF-8
@@ -252,23 +284,26 @@ en_US.UTF-8/Compose:              ar_MA.UTF-8
 en_US.UTF-8/Compose:           ar_OM.UTF-8
 en_US.UTF-8/Compose:           ar_QA.UTF-8
 en_US.UTF-8/Compose:           ar_SA.UTF-8
+en_US.UTF-8/Compose:           ar_SD.UTF-8
+en_US.UTF-8/Compose:           ar_SY.UTF-8
 en_US.UTF-8/Compose:           ar_TN.UTF-8
 en_US.UTF-8/Compose:           ar_YE.UTF-8
+en_US.UTF-8/Compose:           as_IN.UTF-8
 en_US.UTF-8/Compose:           bo_IN.UTF-8
 en_US.UTF-8/Compose:           bs_BA.UTF-8
 en_US.UTF-8/Compose:           az_AZ.UTF-8
-en_US.UTF-8/Compose:           a3_AZ.UTF-8
 en_US.UTF-8/Compose:           be_BY.UTF-8
 en_US.UTF-8/Compose:           bg_BG.UTF-8
 en_US.UTF-8/Compose:           bn_IN.UTF-8
+en_US.UTF-8/Compose:           bn_BD.UTF-8
 en_US.UTF-8/Compose:           br_FR.UTF-8
+en_US.UTF-8/Compose:           bs_BA.UTF-8
 en_US.UTF-8/Compose:           ca_AD.UTF-8
 en_US.UTF-8/Compose:           ca_ES.UTF-8
 en_US.UTF-8/Compose:           ca_FR.UTF-8
 en_US.UTF-8/Compose:           ca_IT.UTF-8
 en_US.UTF-8/Compose:           cs_CZ.UTF-8
 en_US.UTF-8/Compose:           cy_GB.UTF-8
-en_US.UTF-8/Compose:           cz_CZ.UTF-8
 en_US.UTF-8/Compose:           da_DK.UTF-8
 en_US.UTF-8/Compose:           de_AT.UTF-8
 en_US.UTF-8/Compose:           de_BE.UTF-8
@@ -279,17 +314,27 @@ en_US.UTF-8/Compose:              de_LU.UTF-8
 el_GR.UTF-8/Compose:           el_CY.UTF-8
 el_GR.UTF-8/Compose:           el_GR.UTF-8
 en_US.UTF-8/Compose:           en_AU.UTF-8
+en_US.UTF-8/Compose:           en_BE.UTF-8
+en_US.UTF-8/Compose:           en_BW.UTF-8
 en_US.UTF-8/Compose:           en_BZ.UTF-8
+en_US.UTF-8/Compose:           en_DK.UTF-8
 en_US.UTF-8/Compose:           en_CA.UTF-8
 en_US.UTF-8/Compose:           en_GB.UTF-8
+en_US.UTF-8/Compose:           en_EN.UTF-8
+en_US.UTF-8/Compose:           en_HK.UTF-8
 en_US.UTF-8/Compose:           en_IE.UTF-8
+en_US.UTF-8/Compose:           en_IN.UTF-8
 en_US.UTF-8/Compose:           en_JM.UTF-8
 en_US.UTF-8/Compose:           en_MT.UTF-8
 en_US.UTF-8/Compose:           en_NZ.UTF-8
+en_US.UTF-8/Compose:           en_PH.UTF-8
+en_US.UTF-8/Compose:           en_SG.UTF-8
 en_US.UTF-8/Compose:           en_TT.UTF-8
 en_US.UTF-8/Compose:           en_UK.UTF-8
 en_US.UTF-8/Compose:           en_US.UTF-8
 en_US.UTF-8/Compose:           en_ZA.UTF-8
+en_US.UTF-8/Compose:           en_ZW.UTF-8
+en_US.UTF-8/Compose:           eo_EO.UTF-8
 en_US.UTF-8/Compose:           eo_XX.UTF-8
 en_US.UTF-8/Compose:           es_AR.UTF-8
 en_US.UTF-8/Compose:           es_BO.UTF-8
@@ -337,14 +382,16 @@ en_US.UTF-8/Compose:              is_IS.UTF-8
 en_US.UTF-8/Compose:           it_CH.UTF-8
 en_US.UTF-8/Compose:           it_IT.UTF-8
 en_US.UTF-8/Compose:           iu_CA.UTF-8
-en_US.UTF-8/Compose:           ja_JP.UTF-8
+ja_JP.UTF-8/Compose:           ja_JP.UTF-8
 en_US.UTF-8/Compose:           ka_GE.UTF-8
-en_US.UTF-8/Compose:           kl_GL.UTF-8
 en_US.UTF-8/Compose:           kk_KZ.UTF-8
+en_US.UTF-8/Compose:           kl_GL.UTF-8
+km_KH.UTF-8/Compose:           mk_KH.UTF-8
 en_US.UTF-8/Compose:           kn_IN.UTF-8
-en_US.UTF-8/Compose:           ko_KR.UTF-8
+ko_KR.UTF-8/Compose:           ko_KR.UTF-8
 en_US.UTF-8/Compose:           ks_IN.UTF-8
 en_US.UTF-8/Compose:           ks_IN@devanagari.UTF-8
+en_US.UTF-8/Compose:           ku_TR.UTF-8
 en_US.UTF-8/Compose:           kw_GB.UTF-8
 en_US.UTF-8/Compose:           ky_KG.UTF-8
 en_US.UTF-8/Compose:           lo_LA.UTF-8
@@ -357,6 +404,7 @@ en_US.UTF-8/Compose:                ml_IN.UTF-8
 en_US.UTF-8/Compose:           mr_IN.UTF-8
 en_US.UTF-8/Compose:           ms_MY.UTF-8
 en_US.UTF-8/Compose:           mt_MT.UTF-8
+en_US.UTF-8/Compose:           ne_NP.UTF-8
 en_US.UTF-8/Compose:           nl_BE.UTF-8
 en_US.UTF-8/Compose:           nl_NL.UTF-8
 en_US.UTF-8/Compose:           nn_NO.UTF-8
@@ -377,18 +425,20 @@ en_US.UTF-8/Compose:              pp_AN.UTF-8
 pt_BR.UTF-8/Compose:           pt_BR.UTF-8
 en_US.UTF-8/Compose:           pt_PT.UTF-8
 en_US.UTF-8/Compose:           ro_RO.UTF-8
-en_US.UTF-8/Compose:           ru_RU.UTF-8
+ru_RU.UTF-8/Compose:           ru_RU.UTF-8
 en_US.UTF-8/Compose:           ru_UA.UTF-8
 en_US.UTF-8/Compose:           rw_RW.UTF-8
 en_US.UTF-8/Compose:           sa_IN.UTF-8
 en_US.UTF-8/Compose:           sd_IN.UTF-8
 en_US.UTF-8/Compose:           sd_IN@devanagari.UTF-8
+en_US.UTF-8/Compose:           se_NO.UTF-8
 en_US.UTF-8/Compose:           sh_BA.UTF-8
+en_US.UTF-8/Compose:           sh_YU.UTF-8
 en_US.UTF-8/Compose:           si_LK.UTF-8
 en_US.UTF-8/Compose:           sk_SK.UTF-8
 en_US.UTF-8/Compose:           sl_SI.UTF-8
 en_US.UTF-8/Compose:           sq_AL.UTF-8
-en_US.UTF-8/Compose:           sr_CS.UTF-8
+sr_CS.UTF-8/Compose:           sr_CS.UTF-8
 en_US.UTF-8/Compose:           sr_ME.UTF-8
 en_US.UTF-8/Compose:           sr_RS.UTF-8
 en_US.UTF-8/Compose:           sr_YU.UTF-8
@@ -399,7 +449,9 @@ en_US.UTF-8/Compose:                sv_SE.UTF-8
 en_US.UTF-8/Compose:           ta_IN.UTF-8
 en_US.UTF-8/Compose:           te_IN.UTF-8
 en_US.UTF-8/Compose:           tg_TJ.UTF-8
-en_US.UTF-8/Compose:           th_TH.UTF-8
+th_TH.UTF-8/Compose:           th_TH.UTF-8
+en_US.UTF-8/Compose:           ti_ER.UTF-8
+en_US.UTF-8/Compose:           ti_ET.UTF-8
 en_US.UTF-8/Compose:           tl_PH.UTF-8
 en_US.UTF-8/Compose:           tn_ZA.UTF-8
 en_US.UTF-8/Compose:           tr_TR.UTF-8
@@ -407,14 +459,15 @@ en_US.UTF-8/Compose:              ts_ZA.UTF-8
 en_US.UTF-8/Compose:           tt_RU.UTF-8
 en_US.UTF-8/Compose:           uk_UA.UTF-8
 en_US.UTF-8/Compose:           ur_PK.UTF-8
+en_US.UTF-8/Compose:           ur_IN.UTF-8
 en_US.UTF-8/Compose:           uz_UZ.UTF-8
 en_US.UTF-8/Compose:           ve_ZA.UTF-8
 en_US.UTF-8/Compose:           vi_VN.UTF-8
 en_US.UTF-8/Compose:           wa_BE.UTF-8
 en_US.UTF-8/Compose:           yi_US.UTF-8
 en_US.UTF-8/Compose:           xh_ZA.UTF-8
-en_US.UTF-8/Compose:           zh_TW.UTF-8
+zh_CN.UTF-8/Compose:           zh_CN.UTF-8
+zh_HK.UTF-8/Compose:           zh_HK.UTF-8
+zh_TW.UTF-8/Compose:           zh_TW.UTF-8
 en_US.UTF-8/Compose:           zu_ZA.UTF-8
-en_US.UTF-8/Compose:           bs_BA.UTF-8
-en_US.UTF-8/Compose:           ne_NP.UTF-8
-
+en_US.UTF-8/Compose:           zh_SG.UTF-8
index bf6599a..a741332 100644 (file)
@@ -618,6 +618,11 @@ XCOMM Part 3
 <Multi_key> <I> <quotedbl>             : "Ï"   Idiaeresis # LATIN CAPITAL LETTER I WITH DIAERESIS
 <Multi_key> <diaeresis> <I>            : "Ï"   Idiaeresis # LATIN CAPITAL LETTER I WITH DIAERESIS
 <Multi_key> <I> <diaeresis>            : "Ï"   Idiaeresis # LATIN CAPITAL LETTER I WITH DIAERESIS
+<dead_acute> <J>                       : "J́"    # LATIN CAPITAL LETTER J U004A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <apostrophe> <J>           : "J́"    # LATIN CAPITAL LETTER J U004A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <J> <apostrophe>           : "J́"    # LATIN CAPITAL LETTER J U004A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <acute> <J>                : "J́"    # LATIN CAPITAL LETTER J U004A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <J> <acute>                : "J́"    # LATIN CAPITAL LETTER J U004A with COMBINING ACUTE ACCENT U0301
 <Multi_key> <D> <H>                    : "Ð"   ETH # LATIN CAPITAL LETTER ETH
 <dead_tilde> <N>                       : "Ñ"   Ntilde # LATIN CAPITAL LETTER N WITH TILDE
 <Multi_key> <asciitilde> <N>           : "Ñ"   Ntilde # LATIN CAPITAL LETTER N WITH TILDE
@@ -738,6 +743,11 @@ XCOMM Part 3
 <Multi_key> <i> <quotedbl>             : "ï"   idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
 <Multi_key> <diaeresis> <i>            : "ï"   idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
 <Multi_key> <i> <diaeresis>            : "ï"   idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
+<dead_actute> <j>                      : "j́"    # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <apostrophe> <j>           : "j́"    # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <j> <apostrophe>           : "j́"    # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <acute> <j>                : "j́"    # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
+<Multi_key> <j> <acute>                : "j́"    # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
 <Multi_key> <d> <h>                    : "ð"   eth # LATIN SMALL LETTER ETH
 <dead_tilde> <n>                       : "ñ"   ntilde # LATIN SMALL LETTER N WITH TILDE
 <Multi_key> <asciitilde> <n>           : "ñ"   ntilde # LATIN SMALL LETTER N WITH TILDE
@@ -1481,30 +1491,30 @@ XCOMM Part 3
 <Multi_key> <acute> <KP_Divide> <o>    : "ǿ"   U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
 <Multi_key> <apostrophe> <KP_Divide> <o>       : "ǿ"   U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
 <dead_stroke> <dead_acute> <o>         : "ǿ"   U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
-<dead_double_grave> <A>                        : "Ȁ"   U0200 # LATIN CAPITAL LETTER A WITH DOUBLE GRAVE
-<dead_double_grave> <a>                        : "ȁ"   U0201 # LATIN SMALL LETTER A WITH DOUBLE GRAVE
-<dead_inverted_breve> <A>                      : "Ȃ"   U0202 # LATIN CAPITAL LETTER A WITH INVERTED BREVE
-<dead_inverted_breve> <a>                      : "ȃ"   U0203 # LATIN SMALL LETTER A WITH INVERTED BREVE
-<dead_double_grave> <E>                        : "Ȅ"   U0204 # LATIN CAPITAL LETTER E WITH DOUBLE GRAVE
-<dead_double_grave> <e>                        : "ȅ"   U0205 # LATIN SMALL LETTER E WITH DOUBLE GRAVE
-<dead_inverted_breve> <E>                      : "Ȇ"   U0206 # LATIN CAPITAL LETTER E WITH INVERTED BREVE
-<dead_inverted_breve> <e>                      : "ȇ"   U0207 # LATIN SMALL LETTER E WITH INVERTED BREVE
-<dead_double_grave> <I>                        : "Ȉ"   U0208 # LATIN CAPITAL LETTER I WITH DOUBLE GRAVE
-<dead_double_grave> <i>                        : "ȉ"   U0209 # LATIN SMALL LETTER I WITH DOUBLE GRAVE
-<dead_inverted_breve> <I>                      : "Ȋ"   U020A # LATIN CAPITAL LETTER I WITH INVERTED BREVE
-<dead_inverted_breve> <i>                      : "ȋ"   U020B # LATIN SMALL LETTER I WITH INVERTED BREVE
-<dead_double_grave> <O>                        : "Ȍ"   U020C # LATIN CAPITAL LETTER O WITH DOUBLE GRAVE
-<dead_double_grave> <o>                        : "ȍ"   U020D # LATIN SMALL LETTER O WITH DOUBLE GRAVE
-<dead_inverted_breve> <O>                      : "Ȏ"   U020E # LATIN CAPITAL LETTER O WITH INVERTED BREVE
-<dead_inverted_breve> <o>                      : "ȏ"   U020F # LATIN SMALL LETTER O WITH INVERTED BREVE
-<dead_double_grave> <R>                        : "Ȑ"   U0210 # LATIN CAPITAL LETTER R WITH DOUBLE GRAVE
-<dead_double_grave> <r>                        : "ȑ"   U0211 # LATIN SMALL LETTER R WITH DOUBLE GRAVE
-<dead_inverted_breve> <R>                      : "Ȓ"   U0212 # LATIN CAPITAL LETTER R WITH INVERTED BREVE
-<dead_inverted_breve> <r>                      : "ȓ"   U0213 # LATIN SMALL LETTER R WITH INVERTED BREVE
-<dead_double_grave> <U>                        : "Ȕ"   U0214 # LATIN CAPITAL LETTER U WITH DOUBLE GRAVE
-<dead_double_grave> <u>                        : "ȕ"   U0215 # LATIN SMALL LETTER U WITH DOUBLE GRAVE
-<dead_inverted_breve> <U>                      : "Ȗ"   U0216 # LATIN CAPITAL LETTER U WITH INVERTED BREVE
-<dead_inverted_breve> <u>                      : "ȗ"   U0217 # LATIN SMALL LETTER U WITH INVERTED BREVE
+<dead_doublegrave> <A>                         : "Ȁ"   U0200 # LATIN CAPITAL LETTER A WITH DOUBLE GRAVE
+<dead_doublegrave> <a>                         : "ȁ"   U0201 # LATIN SMALL LETTER A WITH DOUBLE GRAVE
+<dead_invertedbreve> <A>                       : "Ȃ"   U0202 # LATIN CAPITAL LETTER A WITH INVERTED BREVE
+<dead_invertedbreve> <a>                       : "ȃ"   U0203 # LATIN SMALL LETTER A WITH INVERTED BREVE
+<dead_doublegrave> <E>                         : "Ȅ"   U0204 # LATIN CAPITAL LETTER E WITH DOUBLE GRAVE
+<dead_doublegrave> <e>                         : "ȅ"   U0205 # LATIN SMALL LETTER E WITH DOUBLE GRAVE
+<dead_invertedbreve> <E>                       : "Ȇ"   U0206 # LATIN CAPITAL LETTER E WITH INVERTED BREVE
+<dead_invertedbreve> <e>                       : "ȇ"   U0207 # LATIN SMALL LETTER E WITH INVERTED BREVE
+<dead_doublegrave> <I>                         : "Ȉ"   U0208 # LATIN CAPITAL LETTER I WITH DOUBLE GRAVE
+<dead_doublegrave> <i>                         : "ȉ"   U0209 # LATIN SMALL LETTER I WITH DOUBLE GRAVE
+<dead_invertedbreve> <I>                       : "Ȋ"   U020A # LATIN CAPITAL LETTER I WITH INVERTED BREVE
+<dead_invertedbreve> <i>                       : "ȋ"   U020B # LATIN SMALL LETTER I WITH INVERTED BREVE
+<dead_doublegrave> <O>                         : "Ȍ"   U020C # LATIN CAPITAL LETTER O WITH DOUBLE GRAVE
+<dead_doublegrave> <o>                         : "ȍ"   U020D # LATIN SMALL LETTER O WITH DOUBLE GRAVE
+<dead_invertedbreve> <O>                       : "Ȏ"   U020E # LATIN CAPITAL LETTER O WITH INVERTED BREVE
+<dead_invertedbreve> <o>                       : "ȏ"   U020F # LATIN SMALL LETTER O WITH INVERTED BREVE
+<dead_doublegrave> <R>                         : "Ȑ"   U0210 # LATIN CAPITAL LETTER R WITH DOUBLE GRAVE
+<dead_doublegrave> <r>                         : "ȑ"   U0211 # LATIN SMALL LETTER R WITH DOUBLE GRAVE
+<dead_invertedbreve> <R>                       : "Ȓ"   U0212 # LATIN CAPITAL LETTER R WITH INVERTED BREVE
+<dead_invertedbreve> <r>                       : "ȓ"   U0213 # LATIN SMALL LETTER R WITH INVERTED BREVE
+<dead_doublegrave> <U>                         : "Ȕ"   U0214 # LATIN CAPITAL LETTER U WITH DOUBLE GRAVE
+<dead_doublegrave> <u>                         : "ȕ"   U0215 # LATIN SMALL LETTER U WITH DOUBLE GRAVE
+<dead_invertedbreve> <U>                       : "Ȗ"   U0216 # LATIN CAPITAL LETTER U WITH INVERTED BREVE
+<dead_invertedbreve> <u>                       : "ȗ"   U0217 # LATIN SMALL LETTER U WITH INVERTED BREVE
 <dead_caron> <H>                       : "Ȟ"   U021E # LATIN CAPITAL LETTER H WITH CARON
 <Multi_key> <c> <H>                    : "Ȟ"   U021E # LATIN CAPITAL LETTER H WITH CARON
 <dead_caron> <h>                       : "ȟ"   U021F # LATIN SMALL LETTER H WITH CARON
@@ -1784,8 +1794,8 @@ XCOMM Part 3
 <dead_breve> <Cyrillic_u>              : "ў"   U045E # CYRILLIC SMALL LETTER SHORT U
 <Multi_key> <U> <Cyrillic_u>           : "ў"   U045E # CYRILLIC SMALL LETTER SHORT U
 <Multi_key> <b> <Cyrillic_u>           : "ў"   U045E # CYRILLIC SMALL LETTER SHORT U
-<dead_double_grave> <U0474>            : "Ѷ"   U0476 # CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
-<dead_double_grave> <U0475>            : "ѷ"   U0477 # CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
+<dead_doublegrave> <U0474>             : "Ѷ"   U0476 # CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
+<dead_doublegrave> <U0475>             : "ѷ"   U0477 # CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
 <Multi_key> <slash> <Cyrillic_GHE>     : "Ғ"   U0492 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
 <Multi_key> <KP_Divide> <Cyrillic_GHE>         : "Ғ"   U0492 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
 <Multi_key> <slash> <Cyrillic_ghe>     : "ғ"   U0493 # CYRILLIC SMALL LETTER GHE WITH STROKE
@@ -5849,6 +5859,8 @@ XCOMM Characters from "Mathematical Operators"
 <Multi_key> <greater> <less>                    : "⋄"   U22c4   # > < DIAMOND OPERATOR
 <Multi_key> <U2227> <U2228>                     : "⋄"   U22c4   # ∧ ∨ DIAMOND OPERATOR
 <Multi_key> <U2228> <U2227>                     : "⋄"   U22c4   # ∨ ∧ DIAMOND OPERATOR
+<Multi_key> <colon> <period>                    : "∴"   therefore # THEREFORE
+<Multi_key> <period> <colon>                    : "∵"   because # BECAUSE
 
 XCOMM Characters from "Miscellaneous Technical"
 
index f201bf4..97b30b9 100644 (file)
@@ -3,6 +3,5 @@
 #      XI18N objects table for euro locales
 #
 XLC    common/xlcUTF8Load      _XlcUtf8Loader          # XLC_open
-XOM    common/xomLTRTTB        _XomGenericOpenOM       # XOM_open
-XIM    common/xiiimp           _SwitchOpenIM           # XIM_open
-XIM    common/xiiimp           _XimpLocalOpenIM        # XIM_open
+XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
index 32e4f35..3a9a1bb 100644 (file)
@@ -3,6 +3,6 @@
 #      XI18N objects table for euro locales
 #
 XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM      # XIM_open
+XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
 XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
 
diff --git a/nls/ja.S90/XI18N_OBJS b/nls/ja.S90/XI18N_OBJS
deleted file mode 100644 (file)
index d8f0fdd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME     FUNCTION_NAME
-#
-#      XI18N objects table for ja.S90 locale
-#
-XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
-XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
diff --git a/nls/ja.S90/XLC_LOCALE.pre b/nls/ja.S90/XLC_LOCALE.pre
deleted file mode 100644 (file)
index cb4e49d..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-XCOMM Copyright 1995 by FUJITSU LIMITED
-XCOMM This is source code modified by FUJITSU LIMITED under the Joint
-XCOMM Development Agreement for the CDEnext PST.
-XCOMM This is unpublished proprietary source code of FUJITSU LIMITED
-XCOMM
-XCOMM NLS-DB for ja_JP.S90
-
-XCOMM
-XCOMM  XLC_CHARSET_DEFINE category
-XCOMM
-XLC_CHARSET_DEFINE
-csd0   {
-       charset_name    u90x03.1991-0
-       side            GL
-       length          2
-       gc_number       94
-       string_encoding False
-       sequence        \x1b\x25\x28\x32
-       encoding_name   fujitsu.U90X03
-}
-
-csd1   {
-       charset_name    u90x03.1991-0
-       side            GR
-       length          2
-       gc_number       94
-       string_encoding False
-       sequence        \x1b\x25\x2f\x32
-       encoding_name   fujitsu.U90X03
-}
-END XLC_CHARSET_DEFINE
-
-XCOMM 
-XCOMM  XLC_FONTSET category
-XCOMM 
-XLC_FONTSET
-XCOMM  fs0 class (7 bit ASCII)
-fs0    {
-       charset {
-               name    JISX0201.1976-0:GL
-       }
-       font    {
-               primary         JISX0201.1976-0:GL
-               substitute      ISO8859-1:GL
-               vertical_rotate all
-       }
-}
-XCOMM  fs1 class (Kanji)
-fs1    {
-       charset {
-               name    JISX0208.1983-0:GL
-               udc_area \x7521,\x7e7e
-       }
-       font    {
-               primary         fujitsu.u90x01.1991-0:GL,[\x2121,\x747e];\
-                               fujitsu.u90x03.1991-0:GL,[\x7521,\x7e7e]->\x6521
-                substitute      u90x01.1991-0:GL;\
-                                JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                                JISX0208.1983-1:GL; JISX0208.1983-1:GR;\
-                                JISX0208.1990-0:GL; JISX0208.1990-0:GR
-               vertical_map    u90x01.1991-0.2:GL,\
-                       [\x2122,\x2125]->\x7d21,[\x2131,\x2132]->\x7d25,\
-                       [\x213c,\x213e]->\x7d27,[\x2141,\x215b]->\x7d2a,\
-                       [\x2421,\x2421]->\x7d45,[\x2423,\x2423]->\x7d46,\
-                       [\x2425,\x2425]->\x7d47,[\x2427,\x2427]->\x7d48,\
-                       [\x2429,\x2429]->\x7d49,[\x2443,\x2443]->\x7d4a,\
-                       [\x2463,\x2463]->\x7d4b,[\x2465,\x2465]->\x7d4c,\
-                       [\x2467,\x2467]->\x7d4d,[\x246e,\x246e]->\x7d4e,\
-                       [\x2521,\x2521]->\x7d4f,[\x2523,\x2523]->\x7d50,\
-                       [\x2525,\x2525]->\x7d51,[\x2527,\x2527]->\x7d52,\
-                       [\x2529,\x2529]->\x7d53,[\x2543,\x2543]->\x7d54,\
-                       [\x2563,\x2563]->\x7d55,[\x2565,\x2565]->\x7d56,\
-                       [\x2567,\x2567]->\x7d57,[\x256e,\x256e]->\x7d58,\
-                       [\x2575,\x2576]->\x7d59,[\x2475,\x2476]->\x7d5b
-       }
-}
-XCOMM  fs2 class (Half Kana)
-fs2    {
-       charset {
-               name            JISX0201.1976-0:GR
-        }
-       font    {
-               primary         JISX0201.1976-0:GR
-               vertical_rotate all
-       }
-}
-XCOMM  fs3 class (JEF Kanji + User Defined Character)
-fs3    {
-       charset {
-               name    u90x03.1991-0:GR; u90x03.1991-0:GL
-               udc_area        \x6521,\x787e
-       }
-       font    {
-               primary         fujitsu.u90x03.1991-0:GL
-                substitute      u90x03.1991-0:GL;\
-                                JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                                JISX0208.1983-1:GL; JISX0208.1983-1:GR;\
-                                JISX0208.1990-0:GL; JISX0208.1990-0:GR
-       }
-}
-END XLC_FONTSET
-
-XCOMM 
-XCOMM  XLC_XLOCALE category
-XCOMM 
-XLC_XLOCALE
-
-XCOMM encoding_name            ja.euc
-encoding_name ja_JP.S90
-mb_cur_max             3
-state_depend_encoding  False
-
-wc_encoding_mask       \x30000000
-wc_shift_bits          7
-
-
-XCOMM  cs0 class
-cs0    {
-       side            GL:Default
-       length          1
-       wc_encoding     \x00000000
-       ct_encoding     JISX0201.1976-0:GL; ISO8859-1:GL
-}
-
-XCOMM  cs1 class
-cs1    {
-       side            GR:Default
-       length          2
-       wc_encoding     \x30000000
-       ct_encoding     JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                       JISX0208.1983-1:GL; JISX0208.1983-1:GR
-}
-
-XCOMM  cs2 class
-cs2    {
-       side            GR
-       length          1
-       mb_encoding     <SS> \x8e
-       wc_encoding     \x10000000
-       ct_encoding     JISX0201.1976-0:GR
-}
-XCOMM  cs3 class
-cs3    {
-       side            GR
-       length          2
-       mb_encoding     <SS> \x8f
-       wc_encoding     \x20000000
-       ct_encoding     u90x03.1991-0:GR; u90x03.1991-0:GL
-}
-END XLC_XLOCALE
diff --git a/nls/ja.U90/XI18N_OBJS b/nls/ja.U90/XI18N_OBJS
deleted file mode 100644 (file)
index 8c766a9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME     FUNCTION_NAME
-#
-#      XI18N objects table for ja.U90 locale
-#
-XLC    common/xlibi18n _XlcGenericLoader       # XLC_open
-XIM    common/ximcp    _XimOpenIM _XimRegisterIMInstantiateCallback  _XimUnRegisterIMInstantiateCallback # XIM_open    XIM_register XIM_unregister
-XOM    common/xomGeneric       _XomGenericOpenOM       # XOM_open
diff --git a/nls/ja.U90/XLC_LOCALE.pre b/nls/ja.U90/XLC_LOCALE.pre
deleted file mode 100644 (file)
index 5d8fd3c..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-XCOMM Copyright 1995 by FUJITSU LIMITED
-XCOMM This is source code modified by FUJITSU LIMITED under the Joint
-XCOMM Development Agreement for the CDEnext PST.
-XCOMM This is unpublished proprietary source code of FUJITSU LIMITED
-XCOMM
-XCOMM NLS-DB for ja_JP.U90
-
-XCOMM
-XCOMM  XLC_CHARSET_DEFINE category
-XCOMM
-XLC_CHARSET_DEFINE
-csd0   {
-       charset_name    u90x03.1991-0
-       side            GL
-       length          2
-       gc_number       94
-       string_encoding False
-       sequence        \x1b\x25\x28\x32
-       encoding_name   fujitsu.U90X03
-}
-
-csd1   {
-       charset_name    u90x03.1991-0
-       side            GR
-       length          2
-       gc_number       94
-       string_encoding False
-       sequence        \x1b\x25\x2f\x32
-       encoding_name   fujitsu.U90X03
-}
-END XLC_CHARSET_DEFINE
-
-XCOMM 
-XCOMM  XLC_FONTSET category
-XCOMM 
-XLC_FONTSET
-XCOMM  fs0 class (7 bit ASCII)
-fs0    {
-       charset {
-               name    JISX0201.1976-0:GL
-       }
-       font    {
-               primary         JISX0201.1976-0:GL
-               substitute      ISO8859-1:GL
-               vertical_rotate all
-       }
-}
-XCOMM  fs1 class (Kanji)
-fs1    {
-       charset {
-               name    JISX0208.1983-0:GL
-       }
-       font    {
-                primary         fujitsu.u90x01.1991-0:GL
-XCOMM          primary         JISX0208.1983-0:GL
-                substitute     JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                                JISX0208.1983-1:GL; JISX0208.1983-1:GR;\
-                                JISX0208.1990-0:GL; JISX0208.1990-0:GR;\
-                               u90x01.1991-0:GL
-               vertical_map    u90x01.1991-0.2:GL,\
-                       [\x2122,\x2125]->\x7d21,[\x2131,\x2132]->\x7d25,\
-                       [\x213c,\x213e]->\x7d27,[\x2141,\x215b]->\x7d2a,\
-                       [\x2421,\x2421]->\x7d45,[\x2423,\x2423]->\x7d46,\
-                       [\x2425,\x2425]->\x7d47,[\x2427,\x2427]->\x7d48,\
-                       [\x2429,\x2429]->\x7d49,[\x2443,\x2443]->\x7d4a,\
-                       [\x2463,\x2463]->\x7d4b,[\x2465,\x2465]->\x7d4c,\
-                       [\x2467,\x2467]->\x7d4d,[\x246e,\x246e]->\x7d4e,\
-                       [\x2521,\x2521]->\x7d4f,[\x2523,\x2523]->\x7d50,\
-                       [\x2525,\x2525]->\x7d51,[\x2527,\x2527]->\x7d52,\
-                       [\x2529,\x2529]->\x7d53,[\x2543,\x2543]->\x7d54,\
-                       [\x2563,\x2563]->\x7d55,[\x2565,\x2565]->\x7d56,\
-                       [\x2567,\x2567]->\x7d57,[\x256e,\x256e]->\x7d58,\
-                       [\x2575,\x2576]->\x7d59,[\x2475,\x2476]->\x7d5b
-       }
-}
-XCOMM  fs2 class (Half Kana)
-fs2    {
-       charset {
-               name            JISX0201.1976-0:GR
-        }
-       font    {
-               primary         JISX0201.1976-0:GR
-               vertical_rotate all
-       }
-}
-XCOMM  fs3 class (JEF Kanji + User Defined Character)
-fs3    {
-       charset {
-               name    u90x03.1991-0:GR; u90x03.1991-0:GL
-               udc_area        \x6521,\x787e
-       }
-       font    {
-                primary         fujitsu.u90x03.1991-0:GL
-                substitute      u90x03.1991-0:GL;\
-                                JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                                JISX0208.1983-1:GL; JISX0208.1983-1:GR;\
-                                JISX0208.1990-0:GL; JISX0208.1990-0:GR
-       }
-}
-END XLC_FONTSET
-
-XCOMM 
-XCOMM  XLC_XLOCALE category
-XCOMM 
-XLC_XLOCALE
-
-XCOMM encoding_name            ja.euc
-encoding_name ja_JP.U90
-mb_cur_max             3
-state_depend_encoding  False
-
-wc_encoding_mask       \x30000000
-wc_shift_bits          7
-
-
-XCOMM  cs0 class
-cs0    {
-       side            GL:Default
-       length          1
-       wc_encoding     \x00000000
-       ct_encoding     JISX0201.1976-0:GL; ISO8859-1:GL
-}
-
-XCOMM  cs1 class
-cs1    {
-       side            GR:Default
-       length          2
-       wc_encoding     \x30000000
-       ct_encoding     JISX0208.1983-0:GL; JISX0208.1983-0:GR;\
-                       JISX0208.1983-1:GL; JISX0208.1983-1:GR
-}
-
-XCOMM  cs2 class
-cs2    {
-       side            GR
-       length          1
-       mb_encoding     <SS> \x8e
-       wc_encoding     \x10000000
-       ct_encoding     JISX0201.1976-0:GR
-}
-
-XCOMM  cs3 class
-cs3    {
-       side            GR
-       length          2
-       mb_encoding     <SS> \x8f
-       wc_encoding     \x20000000
-       ct_encoding     u90x03.1991-0:GR; u90x03.1991-0:GL
-}
-
-END XLC_XLOCALE
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
diff --git a/nls/km_KH.UTF-8/Compose.pre b/nls/km_KH.UTF-8/Compose.pre
new file mode 100644 (file)
index 0000000..77651d0
--- /dev/null
@@ -0,0 +1,8 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
+
+# Khmer digraphs
+<U17ff>        :       "ាំ"
+<U17fe>        :       "ោះ"
+<U17fd>        :       "េះ"
+<U17fc>        :       "ុំ"
+<U17fb>        :       "ុះ"
diff --git a/nls/km_KH.UTF-8/XI18N_OBJS b/nls/km_KH.UTF-8/XI18N_OBJS
new file mode 100644 (file)
index 0000000..f201bf4
--- /dev/null
@@ -0,0 +1,8 @@
+# CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME     FUNCTION_NAME
+#
+#      XI18N objects table for euro locales
+#
+XLC    common/xlcUTF8Load      _XlcUtf8Loader          # XLC_open
+XOM    common/xomLTRTTB        _XomGenericOpenOM       # XOM_open
+XIM    common/xiiimp           _SwitchOpenIM           # XIM_open
+XIM    common/xiiimp           _XimpLocalOpenIM        # XIM_open
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
index 7b35460..11d93f2 100644 (file)
@@ -17,9 +17,11 @@ Cextend.en:                                  en_US.ISO8859-1
 English_United-States.437:                     C
 C.UTF-8:                                       en_US.UTF-8
 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
-a3:                                            a3_AZ.KOI8-C
-a3_AZ:                                         a3_AZ.KOI8-C
-a3_AZ.koi8c:                                   a3_AZ.KOI8-C
+a3:                                            az_AZ.KOI8-C
+a3_AZ:                                         az_AZ.KOI8-C
+a3_AZ.koi8c:                                   az_AZ.KOI8-C
+a3_AZ.KOI-C:                                   az_AZ.KOI8-C
+a3_AZ.UTF-8:                                   az_AZ.UTF-8
 af:                                            af_ZA.ISO8859-1
 af_ZA:                                         af_ZA.ISO8859-1
 af_ZA.iso88591:                                        af_ZA.ISO8859-1
@@ -50,6 +52,7 @@ ar_EG:                                                ar_EG.ISO8859-6
 ar_EG.iso88596:                                        ar_EG.ISO8859-6
 ar_EG.ISO-8859-6:                              ar_EG.ISO8859-6
 ar_EG.utf8:                                    ar_EG.UTF-8
+ar_IN:                                         ar_IN.UTF-8
 ar_IN.utf8:                                    ar_IN.UTF-8
 ar_IQ:                                         ar_IQ.ISO8859-6
 ar_IQ.iso88596:                                        ar_IQ.ISO8859-6
@@ -100,6 +103,7 @@ ar_TN.iso88596:                                     ar_TN.ISO8859-6
 ar_TN.ISO-8859-6:                              ar_TN.ISO8859-6
 ar_TN.utf8:                                    ar_TN.UTF-8
 as:                                            as_IN.UTF-8
+as_IN:                                         as_IN.UTF-8
 as_IN.utf8:                                    as_IN.UTF-8
 ar_YE:                                         ar_YE.ISO8859-6
 ar_YE.iso88596:                                        ar_YE.ISO8859-6
@@ -128,7 +132,9 @@ bg_BG.iso88595:                                     bg_BG.ISO8859-5
 bg_BG.ISO-8859-5:                              bg_BG.ISO8859-5
 bg_BG.koi8r:                                   bg_BG.KOI8-R
 be_BG.utf8:                                    bg_BG.UTF-8
+bn_IN:                                         bn_IN.UTF-8
 bn_IN.utf8:                                    bn_IN.UTF-8
+bo_IN:                                         bo_IN.UTF-8
 bo_IN.utf8:                                    bo_IN.UTF-8
 br:                                            br_FR.ISO8859-1
 br_FR:                                         br_FR.ISO8859-1
@@ -188,7 +194,7 @@ cs_CS:                                              cs_CZ.ISO8859-2
 cs_CS.ISO8859-2:                               cs_CZ.ISO8859-2
 cs_CZ:                                         cs_CZ.ISO8859-2
 cs_CZ.iso88592:                                        cs_CZ.ISO8859-2
-cs_CS.iso8859-2:                                cs_CS.ISO8859-2
+cs_CS.iso8859-2:                                cs_CZ.ISO8859-2
 cs_CZ.ISO-8859-2:                              cs_CZ.ISO8859-2
 cs_CZ.ISO_8859-2:                              cs_CZ.ISO8859-2
 cs_CZ.utf8:                                    cs_CZ.UTF-8
@@ -297,6 +303,7 @@ en_BE:                                              en_BE.ISO8859-1
 en_BE@euro:                                    en_BE.ISO8859-15
 en_BE.utf8:                                    en_BE.UTF-8
 en_BW:                                         en_BW.ISO8859-1
+en_BW.utf8:                                    en_BW.UTF-8
 en_BW.iso88591:                                        en_BW.ISO8859-1
 en_BW.ISO-8859-1:                              en_BW.ISO8859-1
 en_CA:                                         en_CA.ISO8859-1
@@ -304,6 +311,7 @@ en_CA.iso88591:                                     en_CA.ISO8859-1
 en_CA.ISO-8859-1:                              en_CA.ISO8859-1
 en_CA.ISO_8859-1:                              en_CA.ISO8859-1
 en_CA.utf8:                                    en_CA.UTF-8
+en_DL.utf8:                                    en_DL.UTF-8
 en_GB:                                         en_GB.ISO8859-1
 en_GB.88591:                                   en_GB.ISO8859-1
 en_GB.88591.en:                                        en_GB.ISO8859-1
@@ -319,6 +327,7 @@ ENG_GB.8859.in:                                     en_GB.ISO8859-1
 en_HK:                                         en_HK.ISO8859-1
 en_HK.iso88591:                                        en_HK.ISO8859-1
 en_HK.ISO-8859-1:                              en_HK.ISO8859-1
+en_HK.utf8:                                    en_HK.UTF-8                                             
 en_IE:                                         en_IE.ISO8859-1
 en_IE.iso88591:                                        en_IE.ISO8859-1
 en_IE.ISO-8859-1:                              en_IE.ISO8859-1
@@ -328,15 +337,18 @@ en_IE.ISO-8859-15@euro:                           en_IE.ISO8859-15
 en_IE@euro:                                    en_IE.ISO8859-15
 en_IE.UTF-8@euro:                              en_IE.UTF-8
 en_IE.utf8:                                    en_IE.UTF-8
+en_IN.utf8:                                    en_IN.UTF-8
 en_IN:                                         en_IN.ISO8859-1
 en_NZ:                                         en_NZ.ISO8859-1
 en_NZ.iso88591:                                        en_NZ.ISO8859-1
 en_NZ.ISO-8859-1:                              en_NZ.ISO8859-1
 en_NZ.utf8:                                    en_NZ.UTF-8
 en_PH:                                         en_PH.ISO8859-1
+en_PH.utf8:                                    en_PH.UTF-8
 en_PH.iso88591:                                        en_PH.ISO8859-1
 en_PH.ISO-8859-1:                              en_PH.ISO8859-1
 en_SG:                                         en_SG.ISO8859-1
+en_SG.utf8:                                    en_SG.UTF-8
 en_SG.iso88591:                                        en_SG.ISO8859-1
 en_SG.ISO-8859-1:                              en_SG.ISO8859-1
 en_US:                                         en_US.ISO8859-1
@@ -362,6 +374,7 @@ en_ZA.iso885915:                            en_ZA.ISO8859-15
 en_ZA.ISO-8859-15:                             en_ZA.ISO8859-15
 en_ZA.utf8:                                    en_ZA.UTF-8
 en_ZW:                                         en_ZW.ISO8859-1
+en_ZW.utf8:                                    en_ZS.UTF-8
 en_ZW.iso88591:                                        en_ZW.ISO8859-1
 en_ZW.ISO-8859-1:                              en_ZW.ISO8859-1
 eo:                                            eo_XX.ISO8859-3
@@ -602,6 +615,7 @@ gl_ES.ISO-8859-15@euro:                             gl_ES.ISO8859-15
 gl_ES@euro:                                    gl_ES.ISO8859-15
 gl_ES.UTF-8@euro:                              gl_ES.UTF-8
 gl_ES.utf8:                                    gl_ES.UTF-8
+gu_IN:                                         gu_IN.UTF-8
 gu_IN.utf8:                                    gu_IN.UTF-8
 gv:                                            gv_GB.ISO8859-1
 gv_GB:                                         gv_GB.ISO8859-1
@@ -629,6 +643,7 @@ hi_IN.isciidev:                                     hi_IN.ISCII-DEV
 hi_IN.utf8:                                    hi_IN.UTF-8
 HI_IN.UTF-8:                                   hi_IN.UTF-8
 hne:                                           hne_IN.UTF-8
+hne_IN:                                                hne_IN.UTF-8
 hne_IN.utf8:                                   hne_IN.UTF-8
 hr:                                            hr_HR.ISO8859-2
 hr_HR:                                         hr_HR.ISO8859-2
@@ -674,6 +689,8 @@ it_IT.ISO-8859-15@euro:                             it_IT.ISO8859-15
 it_IT@euro:                                    it_IT.ISO8859-15
 it_IT.utf8:                                    it_IT.UTF-8
 it_IT.UTF-8@euro:                              it_IT.UTF-8
+XCOMM NUNACOM is an encoding for the Inuktitut syllabics
+XCOMM we have little else on this encoding.
 iu:                                            iu_CA.NUNACOM-8
 iu_CA:                                         iu_CA.NUNACOM-8
 iu_CA.nunacom8:                                        iu_CA.NUNACOM-8
@@ -684,13 +701,7 @@ iw_IL:                                             he_IL.ISO8859-8
 Iw_IL:                                         he_IL.ISO8859-8
 iw_IL.iso88598:                                        he_IL.ISO8859-8
 iw_IL.ISO-8859-8:                              he_IL.ISO8859-8
-#ifndef __uxp__
 ja_JP:                                         ja_JP.eucJP
-#else /* __uxp__ */
-ja_JP:                                         ja_JP.U90
-ja_JP.U90:                                     ja_JP.U90
-ja_JP.S90:                                     ja_JP.S90
-#endif /* __uxp__ */
 ja:                                            ja_JP.eucJP
 ja.JIS:                                                ja_JP.JIS7
 ja.SJIS:                                       ja_JP.SJIS
@@ -721,7 +732,10 @@ kl_GL.iso88591:                                    kl_GL.ISO8859-1
 kl_GL.ISO-8859-1:                              kl_GL.ISO8859-1
 kl_GL.iso885915:                               kl_GL.ISO8859-15
 kl_GL.utf8:                                    kl_GL.UTF-8
+km_KH:                                         mk_KH.UTF-8
+km_KH.utf8:                                    mk_KH.UTF-8
 kn:                                            kn_IN.UTF-8
+kn_IN:                                         kn_IN.UTF-8
 kn_IN.utf8:                                    kn_IN.UTF-8
 ko:                                            ko_KR.eucKR
 ko.UTF-8:                                      ko_KR.UTF-8
@@ -734,6 +748,7 @@ ko_KR.euckr:                                        ko_KR.eucKR
 ko_KR.utf8:                                    ko_KR.UTF-8
 KO_KR.UTF-8:                                   ko_KR.UTF-8
 ks:                                            ks_IN.UTF-8
+ks_IN:                                         ks_IN.UTF-8
 ks_IN.utf8:                                    ks_IN.UTF-8
 ks_IN@devanagari:                              ks_IN@devanagari.UTF-8
 ks_IN@devanagari.utf8:                         ks_IN@devanagari.UTF-8
@@ -748,6 +763,7 @@ kw_GB.ISO-8859-15:                          kw_GB.ISO8859-15
 ky:                                            ky_KG.UTF-8
 ky_KG:                                                 ky_KG.UTF-8
 ky_KG.UTF-8:                                   ky_KG.UTF-8
+ky_KG.utf8:                                    ky_KG.UTF-8
 lo:                                            lo_LA.MULELAO-1
 lo_LA:                                         lo_LA.MULELAO-1
 lo_LA.cp1133:                                  lo_LA.IBM-CP1133
@@ -778,6 +794,7 @@ lv_LV.ISO-8859-13:                          lv_LV.ISO8859-13
 lv_LV.ISO_8859-13:                             lv_LV.ISO8859-13
 lv_LV.utf8:                                    lv_LV.UTF-8
 mai:                                           mai_IN.UTF-8
+mai_IN:                                                mai_IN.UTF-8
 mai_IN.utf8:                                   mai_IN.UTF-8
 mi:                                            mi_NZ.ISO8859-1
 mi_NZ:                                         mi_NZ.ISO8859-1
@@ -792,6 +809,7 @@ mk_MK.microsoft-cp1251:                             mk_MK.CP1251
 mk_MK.MICROSOFT-CP1251:                                mk_MK.CP1251
 mk_MK.utf8:                                    mk_MK.UTF-8
 ml:                                            ml_IN.UTF-8
+ml_IN:                                         ml_IN.UTF-8
 ml_IN.utf8:                                    ml_IN.UTF-8
 mr:                                            mr_IN.UTF-8
 mr_IN:                                         mr_IN.UTF-8
@@ -811,6 +829,7 @@ nb_NO.ISO-8859-1:                           nb_NO.ISO8859-1
 nb_NO.iso885915:                               nb_NO.ISO8859-15
 nb_NO.ISO-8859-15:                             nb_NO.ISO8859-15
 nb_NO.utf8:                                    nb_NO.UTF-8
+ne_NP:                                         ne_NP.UTF-8
 ne_NP.utf8:                                    ne_NP.UTF-8
 nl:                                            nl_NL.ISO8859-1
 nl.ISO8859-15:                                 nl_NL.ISO8859-15
@@ -880,8 +899,10 @@ oc_FR.iso885915:                           oc_FR.ISO8859-15
 oc_FR.ISO-8859-15:                             oc_FR.ISO8859-15
 oc_FR@euro:                                    oc_FR.ISO8859-15
 or:                                            or_IN.UTF-8
+or_IN:                                         or_IN.UTF-8
 or_IN.utf8:                                    or_IN.UTF-8
 pa:                                            pa_IN.UTF-8
+pa_IN:                                         pa_IN.UTF-8
 pa_IN.utf8:                                    pa_IN.UTF-8
 pa_PK.utf8:                                    pa_PK.UTF-8
 pd:                                            pd_US.ISO8859-1
@@ -961,7 +982,8 @@ rw_RW.ISO-8859-1:           rw_RW.ISO8859-1
 rw_RW.utf8:                 rw_RW.UTF-8
 sd:                                            sd_IN.UTF-8
 sd_IN.utf8:                                    sd_IN.UTF-8
-sd:                                            sd_IN@devanagari.UTF-8
+sd@devanagari:                                 sd_IN@devanagari.UTF-8
+sd_IN@devanagari:                              sd_IN@devanagari.UTF-8
 sd_IN@devanagari.utf8:                         sd_IN@devanagari.UTF-8
 se_NO:                                         se_NO.UTF-8
 se_NO.utf8:                                    se_NO.UTF-8
@@ -1000,11 +1022,11 @@ sr@cyrillic:                                    sr_RS.UTF-8
 sr_YU@cyrillic:                                        sr_RS.UTF-8
 sr_YU.utf8:                                    sr_RS.UTF-8
 sr_YU.UTF-8@cyrillic:                          sr_RS.UTF-8
-sr_CS:                                         sr_RS.UTF-8
-sr@Latn:                                       sr_RS.UTF-8@latin
-sr_CS@Latn:                                    sr_RS.UTF-8@latin
-sr_CS.utf8:                                    sr_RS.UTF-8
-sr_CS.UTF-8@Latn:                              sr_RS.UTF-8@latin
+sr_CS:                                         sr_CS.UTF-8
+sr@Latn:                                       sr_CS.UTF-8@latin
+sr_CS@Latn:                                    sr_CS.UTF-8@latin
+sr_CS.utf8:                                    sr_CS.UTF-8
+sr_CS.UTF-8@Latn:                              sr_CS.UTF-8@latin
 sr_RS:                                         sr_RS.UTF-8
 sr@latin:                                      sr_RS.UTF-8@latin
 sr_RS@latin:                           sr_RS.UTF-8@latin
@@ -1048,6 +1070,7 @@ ta_IN:                                            ta_IN.TSCII-0
 ta_IN.tscii:                                   ta_IN.TSCII-0
 ta_IN.tscii0:                                  ta_IN.TSCII-0
 te:                                            te_IN.UTF-8
+te.UTF-8:                                      te_IN.UTF-8
 te_IN.utf8:                                    te_IN.UTF-8
 tg:                                            tg_TJ.KOI8-C
 tg_TJ:                                         tg_TJ.KOI8-C
@@ -1092,6 +1115,7 @@ uk_UA.microsoft-cp1251:                           uk_UA.CP1251
 uk_UA.MICROSOFT-CP1251:                                uk_UA.CP1251
 uk_UA.utf8:                                    uk_UA.UTF-8
 ur:                                            ur_IN.UTF-8
+ur_IN:                                         ur_IN.UTF-8
 ur_IN.utf8:                                    ur_IN.UTF-8
 ur:                                            ur_PK.CP1256
 ur_PK:                                         ur_PK.CP1256
@@ -1153,6 +1177,10 @@ zh_HK.Big5_hkscs:                                zh_HK.big5hkscs
 zh_HK.Big5HKSCS:                               zh_HK.big5hkscs
 zh_HK.BIG5-HKSCS:                              zh_HK.big5hkscs
 zh_HK.BIG5_HKSCS:                              zh_HK.big5hkscs
+zh_HK.Big5-HKSCS:                              zh_HK.big5hkscs
+zh_HK.big5-hkscs:                              zh_HK.big5hkscs
+zh_HK.Big5-HKSCS:                              zh_HK.big5hkscs
+zh_HK.Big5HKSCS:                               zh_HK.big5hkscs
 zh_HK.Big5:                                    zh_HK.big5
 zh_HK.utf8:                                    zh_HK.UTF-8
 ZH_HK.UTF-8:                                   zh_HK.UTF-8
@@ -1210,8 +1238,8 @@ german:                                           de_DE.ISO8859-1
 german.iso88591:                               de_CH.ISO8859-1
 greek:                                         el_GR.ISO8859-7
 greek.iso88597:                                        el_GR.ISO8859-7
-hebrew:                                                iw_IL.ISO8859-8
-hebrew.iso88598:                               iw_IL.ISO8859-8
+hebrew:                                                he_IL.ISO8859-8
+hebrew.iso88598:                               he_IL.ISO8859-8
 hrvatski:                                      hr_HR.ISO8859-2
 hungarian:                                     hu_HU.ISO8859-2
 icelandic.iso88591:                            is_IS.ISO8859-1
@@ -1254,102 +1282,102 @@ iso_8859_15:                                  en_US.ISO8859-15
 #ifdef WIN32
 XCOMM Microsoft Windows/NT 4.0 SP3
 XCOMM parser doesn't grok embedded spaces in locale name
-Afrikaans_South Africa.1252:                   af_ZA.iso8859-1
-Arabic_Bahrain.1256:                           ar_BH.iso8859-6
-Arabic_Algeria.1256:                           ar_DZ.iso8859-6
-Arabic_Egypt.1256:                             ar_EG.iso8859-6
-Arabic_Iraq.1256:                              ar_IQ.iso8859-6
-Arabic_Jordan.1256:                            ar_JO.iso8859-6
-Arabic_Kuwait.1256:                            ar_KW.iso8859-6
-Arabic_Lebanon.1256:                           ar_LB.iso8859-6
-Arabic_Libya.1256:                             ar_LY.iso8859-6
-Arabic_Morocco.1256:                           ar_MA.iso8859-6
-Arabic_Oman.1256:                              ar_OM.iso8859-6
-Arabic_Qatar.1256:                             ar_QA.iso8859-6
-Arabic_Saudi Arabia.1256:                      ar_SA.iso8859-6
-Arabic_Tunisia.1256:                           ar_TN.iso8859-6
-Arabic_Yemen.1256:                             ar_YE.iso8859-6
-Belarusian_Belarus.1251:                       be_BY.iso8859-5
-Bulgarian_Bulgaria.1251:                       bg_BG.iso8859-5
-Catalan_Andorra.1252:                          ca_AD.iso8859-1
-Catalan_Spain.1252:                            ca_ES.iso8859-1
-Catalan_France.1252:                           ca_FR.iso8859-1
-Catalan_Italy.1252:                            ca_IT.iso8859-1
-Czech_Czech Republic.1250:                     cs_CZ.iso8859-2
-Danish_Denmark.1252:                           da_DK.iso8859-1
-German_Austria.1252:                           de_AT.iso8859-1
-German_Switzerland.1252:                       de_CH.iso8859-1
-German_Germany.1252:                           de_DE.iso8859-1
-German_Liechtenstein.1252:                     de_LI.iso8859-1
-German_Luxembourg.1252:                                de_LU.iso8859-1
-Greek_Greece.1253:                             el_GR.iso8859-7
-English_Australia.1252:                                en_AU.iso8859-1
-English_Belize.1252:                           en_BZ.iso8859-1
-English_Canada.1252:                           en_CA.iso8859-1
-English_Ireland.1252:                          en_IE.iso8859-1
-English_Jamaica.1252:                          en_JM.iso8859-1
-English_New Zealand.1252:                      en_NZ.iso8859-1
-English_Trinidad y Tobago.1252:                        en_TT.iso8859-1
-English_United Kingdom.1252:                   en_UK.iso8859-1
-English_United States.1252:                    en_US.iso8859-1
-English_South Africa.1252:                     en_ZA.iso8859-1
-Spanish_Argentina.1252:                                es_AR.iso8859-1
-Spanish_Bolivia.1252:                          es_BO.iso8859-1
-Spanish_Chile.1252:                            es_CL.iso8859-1
-Spanish_Colombia.1252:                         es_CO.iso8859-1
-Spanish_Costa Rica.1252:                       es_CR.iso8859-1
-Spanish_Dominican Republic.1252:               es_DO.iso8859-1
-Spanish_Ecuador.1252:                          es_EC.iso8859-1
-Spanish - Modern Sort_Spain.1252:              es_ES.iso8859-1
-Spanish - Traditional Sort_Spain.1252:         es_ES.iso8859-1
-Spanish_Guatemala.1252:                                es_GT.iso8859-1
-Spanish_Honduras.1252:                         es_HN.iso8859-1
-Spanish_Mexican.1252:                          es_MX.iso8859-1
-Spanish_Nicaragua.1252:                                es_NI.iso8859-1
-Spanish_Panama.1252:                           es_PA.iso8859-1
-Spanish_Paraguay.1252:                         es_PY.iso8859-1
-Spanish_Peru.1252:                             es_PE.iso8859-1
-Spanish_Puerto Rico.1252:                      es_PR.iso8859-1
-Spanish_El Salvador.1252:                      es_SV.iso8859-1
-Spanish_Uruguay.1252:                          es_UY.iso8859-1
-Spanish_Venezuela.1252:                                es_VE.iso8859-1
-Estonian_Estonia.1257:                         et_EE.iso8859-13
-Basque_Spain.1252:                             eu_ES.iso8859-1
-Finnish_Finland.1252:                          fi_FI.iso8859-1
-French_Belgium.1252:                           fr_BE.iso8859-1
-French_Canada.1252:                            fr_CA.iso8859-1
-French_Switzerland.1252:                       fr_CH.iso8859-1
-French_France.1252:                            fr_FR.iso8859-1
-French_Luxembourg.1252:                                fr_LU.iso8859-1
-Faeroese_Faeroe Islands.1252:                  fo_FO.iso8859-1
-Hebrew_Israel.1255:                            he_IL.iso8859-8
-Croatian_Croatia.1250:                         hr_HR.iso8859-2
-Hungarian_Hungary.1250:                                hu_HU.iso8859-2
-Indonesian_Indonesia.1252:                     id_ID.iso8859-1
-Icelandic_Iceland.1252:                                is_IS.iso8859-1
-Italian_Switzerland.1252:                      it_CH.iso8859-1
-Italian_Italy.1252:                            it_IT.iso8859-1
+Afrikaans_South Africa.1252:                   af_ZA.ISO8859-1
+Arabic_Bahrain.1256:                           ar_BH.ISO8859-6
+Arabic_Algeria.1256:                           ar_DZ.ISO8859-6
+Arabic_Egypt.1256:                             ar_EG.ISO8859-6
+Arabic_Iraq.1256:                              ar_IQ.ISO8859-6
+Arabic_Jordan.1256:                            ar_JO.ISO8859-6
+Arabic_Kuwait.1256:                            ar_KW.ISO8859-6
+Arabic_Lebanon.1256:                           ar_LB.ISO8859-6
+Arabic_Libya.1256:                             ar_LY.ISO8859-6
+Arabic_Morocco.1256:                           ar_MA.ISO8859-6
+Arabic_Oman.1256:                              ar_OM.ISO8859-6
+Arabic_Qatar.1256:                             ar_QA.ISO8859-6
+Arabic_Saudi Arabia.1256:                      ar_SA.ISO8859-6
+Arabic_Tunisia.1256:                           ar_TN.ISO8859-6
+Arabic_Yemen.1256:                             ar_YE.ISO8859-6
+Belarusian_Belarus.1251:                       be_BY.ISO8859-5
+Bulgarian_Bulgaria.1251:                       bg_BG.ISO8859-5
+Catalan_Andorra.1252:                          ca_AD.ISO8859-1
+Catalan_Spain.1252:                            ca_ES.ISO8859-1
+Catalan_France.1252:                           ca_FR.ISO8859-1
+Catalan_Italy.1252:                            ca_IT.ISO8859-1
+Czech_Czech Republic.1250:                     cs_CZ.ISO8859-2
+Danish_Denmark.1252:                           da_DK.ISO8859-1
+German_Austria.1252:                           de_AT.ISO8859-1
+German_Switzerland.1252:                       de_CH.ISO8859-1
+German_Germany.1252:                           de_DE.ISO8859-1
+German_Liechtenstein.1252:                     de_LI.ISO8859-1
+German_Luxembourg.1252:                                de_LU.ISO8859-1
+Greek_Greece.1253:                             el_GR.ISO8859-7
+English_Australia.1252:                                en_AU.ISO8859-1
+English_Belize.1252:                           en_BZ.ISO8859-1
+English_Canada.1252:                           en_CA.ISO8859-1
+English_Ireland.1252:                          en_IE.ISO8859-1
+English_Jamaica.1252:                          en_JM.ISO8859-1
+English_New Zealand.1252:                      en_NZ.ISO8859-1
+English_Trinidad y Tobago.1252:                        en_TT.ISO8859-1
+English_United Kingdom.1252:                   en_UK.ISO8859-1
+English_United States.1252:                    en_US.ISO8859-1
+English_South Africa.1252:                     en_ZA.ISO8859-1
+Spanish_Argentina.1252:                                es_AR.ISO8859-1
+Spanish_Bolivia.1252:                          es_BO.ISO8859-1
+Spanish_Chile.1252:                            es_CL.ISO8859-1
+Spanish_Colombia.1252:                         es_CO.ISO8859-1
+Spanish_Costa Rica.1252:                       es_CR.ISO8859-1
+Spanish_Dominican Republic.1252:               es_DO.ISO8859-1
+Spanish_Ecuador.1252:                          es_EC.ISO8859-1
+Spanish - Modern Sort_Spain.1252:              es_ES.ISO8859-1
+Spanish - Traditional Sort_Spain.1252:         es_ES.ISO8859-1
+Spanish_Guatemala.1252:                                es_GT.ISO8859-1
+Spanish_Honduras.1252:                         es_HN.ISO8859-1
+Spanish_Mexican.1252:                          es_MX.ISO8859-1
+Spanish_Nicaragua.1252:                                es_NI.ISO8859-1
+Spanish_Panama.1252:                           es_PA.ISO8859-1
+Spanish_Paraguay.1252:                         es_PY.ISO8859-1
+Spanish_Peru.1252:                             es_PE.ISO8859-1
+Spanish_Puerto Rico.1252:                      es_PR.ISO8859-1
+Spanish_El Salvador.1252:                      es_SV.ISO8859-1
+Spanish_Uruguay.1252:                          es_UY.ISO8859-1
+Spanish_Venezuela.1252:                                es_VE.ISO8859-1
+Estonian_Estonia.1257:                         et_EE.ISO8859-13
+Basque_Spain.1252:                             eu_ES.ISO8859-1
+Finnish_Finland.1252:                          fi_FI.ISO8859-1
+French_Belgium.1252:                           fr_BE.ISO8859-1
+French_Canada.1252:                            fr_CA.ISO8859-1
+French_Switzerland.1252:                       fr_CH.ISO8859-1
+French_France.1252:                            fr_FR.ISO8859-1
+French_Luxembourg.1252:                                fr_LU.ISO8859-1
+Faeroese_Faeroe Islands.1252:                  fo_FO.ISO8859-1
+Hebrew_Israel.1255:                            he_IL.ISO8859-8
+Croatian_Croatia.1250:                         hr_HR.ISO8859-2
+Hungarian_Hungary.1250:                                hu_HU.ISO8859-2
+Indonesian_Indonesia.1252:                     id_ID.ISO8859-1
+Icelandic_Iceland.1252:                                is_IS.ISO8859-1
+Italian_Switzerland.1252:                      it_CH.ISO8859-1
+Italian_Italy.1252:                            it_IT.ISO8859-1
 Japanese_Japan.932:                            ja_JP.SJIS
 Korean_Korea.949:                              ko_KR.EUC
-Lithuanian_Lithuania.1257:                     lt_LT.iso8859-13
-Latvian_Latvia.1257:                           lv_LV.iso8859-13
-Dutch_Belgium.1252:                            nl_BE.iso8859-1
-Dutch_Netherlands.1252:                                nl_NL.iso8859-1
-Norwegian (Nynorsk)_Norway.1252:               no_NO.iso8859-1
-Norwegian (Bokmål)_Norway.1252:                        no_NO.iso8859-1
-Polish_Poland.1250:                            pl_PL.iso8859-2
-Portuguese_Brazil.1252:                                pt_BR.iso8859-1
-Portuguese_Portugal.1252:                      pt_PT.iso8859-1
-Romanian_Romania.1250:                         ro_RO.iso8859-2
-Russian_Russia.1251:                           ru_RU.iso8859-5
-Slovak_Slovakia.1250:                          sk_SK.iso8859-2
-Slovene_Slovenia.1250:                         sl_SI.iso8859-2
-Albanian_Albania.1250:                         sq_AL.iso8859-2
+Lithuanian_Lithuania.1257:                     lt_LT.ISO8859-13
+Latvian_Latvia.1257:                           lv_LV.ISO8859-13
+Dutch_Belgium.1252:                            nl_BE.ISO8859-1
+Dutch_Netherlands.1252:                                nl_NL.ISO8859-1
+Norwegian (Nynorsk)_Norway.1252:               no_NO.ISO8859-1
+Norwegian (Bokmål)_Norway.1252:                        no_NO.ISO8859-1
+Polish_Poland.1250:                            pl_PL.ISO8859-2
+Portuguese_Brazil.1252:                                pt_BR.ISO8859-1
+Portuguese_Portugal.1252:                      pt_PT.ISO8859-1
+Romanian_Romania.1250:                         ro_RO.ISO8859-2
+Russian_Russia.1251:                           ru_RU.ISO8859-5
+Slovak_Slovakia.1250:                          sk_SK.ISO8859-2
+Slovene_Slovenia.1250:                         sl_SI.ISO8859-2
+Albanian_Albania.1250:                         sq_AL.ISO8859-2
 Serbian (Latin)_Serbia.1250:                   sr_RS.UTF-8@latin
-Swedish_Finland.1252:                          sv_FI.iso8859-1
-Swedish_Sweden.1252:                           sv_SE.iso8859-1
-Turkish_Turkey.1254:                           tr_TR.iso8859-9
-Ukrainian_Ukraine.1251:                                uk_UA.iso8859-5
+Swedish_Finland.1252:                          sv_FI.ISO8859-1
+Swedish_Sweden.1252:                           sv_SE.ISO8859-1
+Turkish_Turkey.1254:                           tr_TR.ISO8859-9
+Ukrainian_Ukraine.1251:                                uk_UA.ISO8859-5
 Chinese(PRC)_People's Republic of China.936:   zh_CN.EUC
 Chinese(PRC)_Hong Kong.950:                    zh_HK.EUC
 Chinese(Singapore)_Signapore.936:              zh_SG.EUC
@@ -1358,9 +1386,5 @@ Chinese(Taiwan)_Taiwan.950:                       zh_TW.EUC
 XCOMM Other miscellaneous locale names
 ISO8859-1:                                     en_US.ISO8859-1
 ISO-8859-1:                                    en_US.ISO8859-1
-#ifndef __uxp__
 japan:                                         ja_JP.eucJP
-#else
-japan:                                         ja_JP.U90
-#endif
 Japanese-EUC:                                  ja_JP.eucJP
index e0d9ef7..ab1bace 100644 (file)
@@ -24,6 +24,7 @@ iso8859-6/XLC_LOCALE:                 ar_SD.ISO8859-6
 iso8859-6/XLC_LOCALE:                  ar_SY.ISO8859-6
 iso8859-6/XLC_LOCALE:                  ar_TN.ISO8859-6
 iso8859-6/XLC_LOCALE:                  ar_YE.ISO8859-6
+iso8859-6/XLC_LOCALE:                  ar_AE.ISO8859-6
 iso8859-9e/XLC_LOCALE:                 az_AZ.ISO8859-9E
 koi8-c/XLC_LOCALE:                     az_AZ.KOI8-C
 iso8859-5/XLC_LOCALE:                  be_BY.ISO8859-5
@@ -47,7 +48,6 @@ iso8859-2/XLC_LOCALE:                 cs_CZ.ISO8859-2
 iso8859-1/XLC_LOCALE:                  cy_GB.ISO8859-1
 iso8859-14/XLC_LOCALE:                 cy_GB.ISO8859-14
 iso8859-15/XLC_LOCALE:                 cy_GB.ISO8859-15
-iso8859-2/XLC_LOCALE:                  cz_CZ.ISO8859-2
 iso8859-1/XLC_LOCALE:                  da_DK.ISO8859-1
 iso8859-15/XLC_LOCALE:                 da_DK.ISO8859-15
 iso8859-1/XLC_LOCALE:                  de_AT.ISO8859-1
@@ -59,15 +59,19 @@ iso8859-15/XLC_LOCALE:                      de_CH.ISO8859-15
 iso8859-1/XLC_LOCALE:                  de_DE.ISO8859-1
 iso8859-15/XLC_LOCALE:                 de_DE.ISO8859-15
 iso8859-1/XLC_LOCALE:                  de_LI.ISO8859-1
+iso8859-1/XLC_LOCALE:                  de_LI.ISO8859-15
 iso8859-1/XLC_LOCALE:                  de_LU.ISO8859-1
 iso8859-15/XLC_LOCALE:                 de_LU.ISO8859-15
-iso8859-7/XLC_LOCALE:                  el_GR.ISO8859-7
+iso8859-7/XLC_LOCALE:                  el_GR.ISO8859-7
+iso8859-4/XLC_LOCALE:                  ee_EE.ISO8859-4
 iso8859-15/XLC_LOCALE:                 el_GR.ISO8859-15
 iso8859-1/XLC_LOCALE:                  en_AU.ISO8859-1
 iso8859-1/XLC_LOCALE:                  en_BE.ISO8859-1
+iso8859-15/XLC_LOCALE:                 en_BE.ISO8859-15
 iso8859-1/XLC_LOCALE:                  en_BZ.ISO8859-1
 iso8859-1/XLC_LOCALE:                  en_BW.ISO8859-1
 iso8859-1/XLC_LOCALE:                  en_CA.ISO8859-1
+iso8859-1/XLC_LOCALE:                  en_EN.ISO8859-1
 iso8859-1/XLC_LOCALE:                  en_GB.ISO8859-1
 iso8859-15/XLC_LOCALE:                 en_GB.ISO8859-15
 iso8859-1/XLC_LOCALE:                  en_HK.ISO8859-1
@@ -85,6 +89,7 @@ iso8859-1/XLC_LOCALE:                 en_US.ISO8859-1
 iso8859-15/XLC_LOCALE:                 en_US.ISO8859-15
 iso8859-1/XLC_LOCALE:                  en_ZA.ISO8859-1
 iso8859-15/XLC_LOCALE:                 en_ZA.ISO8859-15
+iso8859-1/XLC_LOCALE:                  en_ZW.ISO8859-1
 iso8859-3/XLC_LOCALE:                  eo_EO.ISO8859-3
 iso8859-3/XLC_LOCALE:                  eo_XX.ISO8859-3
 iso8859-1/XLC_LOCALE:                  es_AR.ISO8859-1
@@ -101,13 +106,19 @@ iso8859-1/XLC_LOCALE:                     es_HN.ISO8859-1
 iso8859-1/XLC_LOCALE:                  es_MX.ISO8859-1
 iso8859-1/XLC_LOCALE:                  es_NI.ISO8859-1
 iso8859-1/XLC_LOCALE:                  es_PA.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_PA.ISO8859-15
 iso8859-1/XLC_LOCALE:                  es_PE.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_PE.ISO8859-15
 iso8859-1/XLC_LOCALE:                  es_PR.ISO8859-1
 iso8859-1/XLC_LOCALE:                  es_PY.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_PY.ISO8859-15
 iso8859-1/XLC_LOCALE:                  es_SV.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_SV.ISO8859-15
 iso8859-1/XLC_LOCALE:                  es_US.ISO8859-1
 iso8859-1/XLC_LOCALE:                  es_UY.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_UY.ISO8859-15
 iso8859-1/XLC_LOCALE:                  es_VE.ISO8859-1
+iso8859-15/XLC_LOCALE:                 es_VE.ISO8859-15
 iso8859-1/XLC_LOCALE:                  et_EE.ISO8859-1
 iso8859-4/XLC_LOCALE:                  et_EE.ISO8859-4
 iso8859-13/XLC_LOCALE:                         et_EE.ISO8859-13
@@ -147,9 +158,11 @@ iso8859-2/XLC_LOCALE:                      hr_HR.ISO8859-2
 iso8859-2/XLC_LOCALE:                  hu_HU.ISO8859-2
 armscii-8/XLC_LOCALE:                  hy_AM.ARMSCII-8
 iso8859-1/XLC_LOCALE:                  id_ID.ISO8859-1
+iso8859-1/XLC_LOCALE:                  id_ID.ISO8859-15
 iso8859-1/XLC_LOCALE:                  is_IS.ISO8859-1
 iso8859-15/XLC_LOCALE:                 is_IS.ISO8859-15
 iso8859-1/XLC_LOCALE:                  it_CH.ISO8859-1
+iso8859-15/XLC_LOCALE:                 it_CH.ISO8859-15
 iso8859-1/XLC_LOCALE:                  it_IT.ISO8859-1
 iso8859-15/XLC_LOCALE:                 it_IT.ISO8859-15
 ja/XLC_LOCALE:                         ja_JP.eucJP
@@ -158,6 +171,7 @@ ja.JIS/XLC_LOCALE:                  ja_JP.JIS7
 georgian-academy/XLC_LOCALE:           ka_GE.GEORGIAN-ACADEMY
 georgian-ps/XLC_LOCALE:                        ka_GE.GEORGIAN-PS
 iso8859-1/XLC_LOCALE:                  kl_GL.ISO8859-1
+iso8859-15/XLC_LOCALE:                 kl_GL.ISO8859-15
 ko/XLC_LOCALE:                         ko_KR.eucKR
 iso8859-1/XLC_LOCALE:                  kw_GB.ISO8859-1
 iso8859-14/XLC_LOCALE:                 kw_GB.ISO8859-14
@@ -190,16 +204,21 @@ iso8859-1/XLC_LOCALE:                     ny_NO.ISO8859-15
 iso8859-1/XLC_LOCALE:                  oc_FR.ISO8859-1
 iso8859-15/XLC_LOCALE:                 oc_FR.ISO8859-15
 iso8859-1/XLC_LOCALE:                  pd_DE.ISO8859-1
+iso8859-15/XLC_LOCALE:                 pd_DE.ISO8859-15
+iso8859-1/XLC_LOCALE:                  pd_US.ISO8859-1
+iso8859-15/XLC_LOCALE:                 pd_US.ISO8859-15
 iso8859-1/XLC_LOCALE:                  ph_PH.ISO8859-1
 iso8859-2/XLC_LOCALE:                  pl_PL.ISO8859-2
 iso8859-1/XLC_LOCALE:                  pp_AN.ISO8859-1
 iso8859-1/XLC_LOCALE:                  pt_BR.ISO8859-1
+iso8859-15/XLC_LOCALE:                 pt_BR.ISO8859-15
 iso8859-1/XLC_LOCALE:                  pt_PT.ISO8859-1
 iso8859-15/XLC_LOCALE:                 pt_PT.ISO8859-15
 iso8859-2/XLC_LOCALE:                  ro_RO.ISO8859-2
 iso8859-5/XLC_LOCALE:                  ru_RU.ISO8859-5
 microsoft-cp1251/XLC_LOCALE:           ru_RU.CP1251
 koi8-r/XLC_LOCALE:                     ru_RU.KOI8-R
+microsoft-cp1251/XLC_LOCALE:           ru_UA.CP1251
 koi8-u/XLC_LOCALE:                     ru_UA.KOI8-U
 iso8859-1/XLC_LOCALE:           rw_RW.ISO8859-1
 iso8859-2/XLC_LOCALE:                  sh_YU.ISO8859-2
@@ -231,6 +250,7 @@ iso8859-5/XLC_LOCALE:                       uk_UA.ISO8859-5
 microsoft-cp1251/XLC_LOCALE:           uk_UA.CP1251
 koi8-u/XLC_LOCALE:                     uk_UA.KOI8-U
 microsoft-cp1256/XLC_LOCALE:           ur_PK.CP1256
+iso8859-1/XLC_LOCALE:                  uz_UZ.ISO8859-1
 vi_VN.tcvn/XLC_LOCALE:                 vi_VN.TCVN
 vi_VN.viscii/XLC_LOCALE:               vi_VN.VISCII
 iso8859-1/XLC_LOCALE:                  wa_BE.ISO8859-1
@@ -242,10 +262,7 @@ zh_CN/XLC_LOCALE:                  zh_CN.gb2312
 zh_CN.gbk/XLC_LOCALE:                  zh_CN.gbk
 zh_CN.gb18030/XLC_LOCALE:              zh_CN.gb18030
 zh_HK.big5/XLC_LOCALE:                 zh_HK.big5
-zh_HK.big5hkscs/XLC_LOCALE:            zh_HK.big5-hkscs
-zh_HK.big5hkscs/XLC_LOCALE:            zh_HK.Big5-HKSCS
 zh_HK.big5hkscs/XLC_LOCALE:            zh_HK.big5hkscs
-zh_HK.big5hkscs/XLC_LOCALE:            zh_HK.Big5HKSCS
 zh_TW.big5/XLC_LOCALE:                 zh_TW.big5
 zh_TW/XLC_LOCALE:                      zh_TW.eucTW
 iso8859-1/XLC_LOCALE:                  zu_ZA.ISO8859-1
@@ -274,7 +291,6 @@ en_US.UTF-8/XLC_LOCALE:                     ar_TN.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        ar_YE.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        as_IN.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        az_AZ.UTF-8
-en_US.UTF-8/XLC_LOCALE:                        a3_AZ.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        be_BY.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        bg_BG.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        bn_BD.UTF-8
@@ -299,17 +315,25 @@ en_US.UTF-8/XLC_LOCALE:                   el_CY.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        el_GR.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_AU.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_BE.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_BW.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_BZ.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_CA.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_DK.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_GB.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_EN.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_HK.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_IE.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_IN.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_JM.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_MT.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_NZ.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_PH.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_SG.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_TT.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_UK.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_US.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        en_ZA.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        en_ZW.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        eo_EO.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        eo_XX.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        es_AR.UTF-8
@@ -360,12 +384,14 @@ en_US.UTF-8/XLC_LOCALE:                   it_IT.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        iu_CA.UTF-8
 ja_JP.UTF-8/XLC_LOCALE:                        ja_JP.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        ka_GE.UTF-8
-en_US.UTF-8/XLC_LOCALE:                        kl_GL.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        kk_KZ.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        kl_GL.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        km_KH.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        kn_IN.UTF-8
 en_US.UTF-8/XLC_LOCALE:                 ks_IN.UTF-8
 en_US.UTF-8/XLC_LOCALE:                 ks_IN@devanagari.UTF-8
 ko_KR.UTF-8/XLC_LOCALE:                        ko_KR.UTF-8
+en_US.UTF-8/XLC_LOCALE:                        ku_TR.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        kw_GB.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        ky_KG.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        lo_LA.UTF-8
@@ -445,7 +471,3 @@ zh_HK.UTF-8/XLC_LOCALE:                     zh_HK.UTF-8
 zh_CN.UTF-8/XLC_LOCALE:                        zh_SG.UTF-8
 zh_TW.UTF-8/XLC_LOCALE:                        zh_TW.UTF-8
 en_US.UTF-8/XLC_LOCALE:                        zu_ZA.UTF-8
-#ifdef __uxp__
-ja.U90/XLC_LOCALE:                     ja_JP.U90
-ja.S90/XLC_LOCALE:                     ja_JP.S90
-#endif
index b6d7c8a..9e0ca4e 100644 (file)
@@ -1086,30 +1086,30 @@ XCOMM <Multi_key> <apostrophe> <o> <a>  : "ǻ" U01FB # LATIN SMALL LETTER A WITH
 <dead_acute> <Multi_key> <KP_Divide> <o>       : "ǿ" U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
 <Multi_key> <acute> <KP_Divide> <o>    : "ǿ" U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
 <Multi_key> <apostrophe> <KP_Divide> <o>       : "ǿ" U01FF # LATIN SMALL LETTER O WITH STROKE AND ACUTE
-<dead_double_grave> <A>        : "Ȁ" U0200 # LATIN CAPITAL LETTER A WITH DOUBLE GRAVE
-<dead_double_grave> <a>        : "ȁ" U0201 # LATIN SMALL LETTER A WITH DOUBLE GRAVE
-<dead_inverted_breve> <A>      : "Ȃ" U0202 # LATIN CAPITAL LETTER A WITH INVERTED BREVE
-<dead_inverted_breve> <a>      : "ȃ" U0203 # LATIN SMALL LETTER A WITH INVERTED BREVE
-<dead_double_grave> <E>        : "Ȅ" U0204 # LATIN CAPITAL LETTER E WITH DOUBLE GRAVE
-<dead_double_grave> <e>        : "ȅ" U0205 # LATIN SMALL LETTER E WITH DOUBLE GRAVE
-<dead_inverted_breve> <E>      : "Ȇ" U0206 # LATIN CAPITAL LETTER E WITH INVERTED BREVE
-<dead_inverted_breve> <e>      : "ȇ" U0207 # LATIN SMALL LETTER E WITH INVERTED BREVE
-<dead_double_grave> <I>        : "Ȉ" U0208 # LATIN CAPITAL LETTER I WITH DOUBLE GRAVE
-<dead_double_grave> <i>        : "ȉ" U0209 # LATIN SMALL LETTER I WITH DOUBLE GRAVE
-<dead_inverted_breve> <I>      : "Ȋ" U020A # LATIN CAPITAL LETTER I WITH INVERTED BREVE
-<dead_inverted_breve> <i>      : "ȋ" U020B # LATIN SMALL LETTER I WITH INVERTED BREVE
-<dead_double_grave> <O>        : "Ȍ" U020C # LATIN CAPITAL LETTER O WITH DOUBLE GRAVE
-<dead_double_grave> <o>        : "ȍ" U020D # LATIN SMALL LETTER O WITH DOUBLE GRAVE
-<dead_inverted_breve> <O>      : "Ȏ" U020E # LATIN CAPITAL LETTER O WITH INVERTED BREVE
-<dead_inverted_breve> <o>      : "ȏ" U020F # LATIN SMALL LETTER O WITH INVERTED BREVE
-<dead_double_grave> <R>        : "Ȑ" U0210 # LATIN CAPITAL LETTER R WITH DOUBLE GRAVE
-<dead_double_grave> <r>        : "ȑ" U0211 # LATIN SMALL LETTER R WITH DOUBLE GRAVE
-<dead_inverted_breve> <R>      : "Ȓ" U0212 # LATIN CAPITAL LETTER R WITH INVERTED BREVE
-<dead_inverted_breve> <r>      : "ȓ" U0213 # LATIN SMALL LETTER R WITH INVERTED BREVE
-<dead_double_grave> <U>        : "Ȕ" U0214 # LATIN CAPITAL LETTER U WITH DOUBLE GRAVE
-<dead_double_grave> <u>        : "ȕ" U0215 # LATIN SMALL LETTER U WITH DOUBLE GRAVE
-<dead_inverted_breve> <U>      : "Ȗ" U0216 # LATIN CAPITAL LETTER U WITH INVERTED BREVE
-<dead_inverted_breve> <u>      : "ȗ" U0217 # LATIN SMALL LETTER U WITH INVERTED BREVE
+<dead_doublegrave> <A> : "Ȁ" U0200 # LATIN CAPITAL LETTER A WITH DOUBLE GRAVE
+<dead_doublegrave> <a> : "ȁ" U0201 # LATIN SMALL LETTER A WITH DOUBLE GRAVE
+<dead_invertedbreve> <A>       : "Ȃ" U0202 # LATIN CAPITAL LETTER A WITH INVERTED BREVE
+<dead_invertedbreve> <a>       : "ȃ" U0203 # LATIN SMALL LETTER A WITH INVERTED BREVE
+<dead_doublegrave> <E> : "Ȅ" U0204 # LATIN CAPITAL LETTER E WITH DOUBLE GRAVE
+<dead_doublegrave> <e> : "ȅ" U0205 # LATIN SMALL LETTER E WITH DOUBLE GRAVE
+<dead_invertedbreve> <E>       : "Ȇ" U0206 # LATIN CAPITAL LETTER E WITH INVERTED BREVE
+<dead_invertedbreve> <e>       : "ȇ" U0207 # LATIN SMALL LETTER E WITH INVERTED BREVE
+<dead_doublegrave> <I> : "Ȉ" U0208 # LATIN CAPITAL LETTER I WITH DOUBLE GRAVE
+<dead_doublegrave> <i> : "ȉ" U0209 # LATIN SMALL LETTER I WITH DOUBLE GRAVE
+<dead_invertedbreve> <I>       : "Ȋ" U020A # LATIN CAPITAL LETTER I WITH INVERTED BREVE
+<dead_invertedbreve> <i>       : "ȋ" U020B # LATIN SMALL LETTER I WITH INVERTED BREVE
+<dead_doublegrave> <O> : "Ȍ" U020C # LATIN CAPITAL LETTER O WITH DOUBLE GRAVE
+<dead_doublegrave> <o> : "ȍ" U020D # LATIN SMALL LETTER O WITH DOUBLE GRAVE
+<dead_invertedbreve> <O>       : "Ȏ" U020E # LATIN CAPITAL LETTER O WITH INVERTED BREVE
+<dead_invertedbreve> <o>       : "ȏ" U020F # LATIN SMALL LETTER O WITH INVERTED BREVE
+<dead_doublegrave> <R> : "Ȑ" U0210 # LATIN CAPITAL LETTER R WITH DOUBLE GRAVE
+<dead_doublegrave> <r> : "ȑ" U0211 # LATIN SMALL LETTER R WITH DOUBLE GRAVE
+<dead_invertedbreve> <R>       : "Ȓ" U0212 # LATIN CAPITAL LETTER R WITH INVERTED BREVE
+<dead_invertedbreve> <r>       : "ȓ" U0213 # LATIN SMALL LETTER R WITH INVERTED BREVE
+<dead_doublegrave> <U> : "Ȕ" U0214 # LATIN CAPITAL LETTER U WITH DOUBLE GRAVE
+<dead_doublegrave> <u> : "ȕ" U0215 # LATIN SMALL LETTER U WITH DOUBLE GRAVE
+<dead_invertedbreve> <U>       : "Ȗ" U0216 # LATIN CAPITAL LETTER U WITH INVERTED BREVE
+<dead_invertedbreve> <u>       : "ȗ" U0217 # LATIN SMALL LETTER U WITH INVERTED BREVE
 <dead_belowcomma> <S>  : "Ș" U0218 # LATIN CAPITAL LETTER S WITH COMMA BELOW
 <dead_belowcomma> <s>  : "ș" U0219 # LATIN SMALL LETTER S WITH COMMA BELOW
 <dead_belowcomma> <T>  : "Ț" U021A # LATIN CAPITAL LETTER T WITH COMMA BELOW
@@ -1371,8 +1371,8 @@ XCOMM <Multi_key> <apostrophe> <o> <a>    : "ǻ" U01FB # LATIN SMALL LETTER A WITH
 <dead_breve> <Cyrillic_u>      : "ў" U045E # CYRILLIC SMALL LETTER SHORT U
 <Multi_key> <U> <Cyrillic_u>   : "ў" U045E # CYRILLIC SMALL LETTER SHORT U
 <Multi_key> <b> <Cyrillic_u>   : "ў" U045E # CYRILLIC SMALL LETTER SHORT U
-<dead_double_grave> <U0474>    : "Ѷ" U0476 # CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
-<dead_double_grave> <U0475>    : "ѷ" U0477 # CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
+<dead_doublegrave> <U0474>     : "Ѷ" U0476 # CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
+<dead_doublegrave> <U0475>     : "ѷ" U0477 # CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
 <Multi_key> <slash> <Cyrillic_GHE>     : "Ғ" U0492 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
 <Multi_key> <KP_Divide> <Cyrillic_GHE> : "Ғ" U0492 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
 <Multi_key> <slash> <Cyrillic_ghe>     : "ғ" U0493 # CYRILLIC SMALL LETTER GHE WITH STROKE
diff --git a/nls/sr_CS.UTF-8/Compose.pre b/nls/sr_CS.UTF-8/Compose.pre
new file mode 100644 (file)
index 0000000..119e23e
--- /dev/null
@@ -0,0 +1,128 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
+
+# Serbian accented Cyrillic
+# а А - U+0430, U+0410 Cyrillic_a, Cyrillic_A
+# е Е - U+0435, U+0415 Cyrillic_e, Cyrillic_E
+# о О - U+043E, U+041E Cyrillic_o, Cyrillic_O
+# у У - U+0443, U+0423 Cyrillic_u, Cyrillic_U
+# и И - U+0438, U+0418 Cyrillic_i, Cyrillic_I
+#
+# ̀ - U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
+# ́ - U+0301   <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
+# ̂ - U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
+# ̏ - U+030F  <dead_diaeresis>, <dead_doubleacute>
+# ̀ - kratkouzlazni, U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
+<dead_grave> <Cyrillic_a>         : "а̀"
+<combining_grave> <Cyrillic_a>    : "а̀"
+<Multi_key> <grave> <Cyrillic_a>  : "а̀"
+<dead_grave> <Cyrillic_A>         : "А̀"
+<combining_grave> <Cyrillic_A>    : "А̀"
+<Multi_key> <grave> <Cyrillic_A>  : "А̀"
+<dead_grave> <Cyrillic_e>         : "ѐ"
+<combining_grave> <Cyrillic_e>    : "ѐ"
+<Multi_key> <grave> <Cyrillic_e>  : "ѐ"
+<dead_grave> <Cyrillic_E>         : "Ѐ"
+<combining_grave> <Cyrillic_E>    : "Ѐ"
+<Multi_key> <grave> <Cyrillic_E>  : "Ѐ"
+<dead_grave> <Cyrillic_i>         : "ѝ"
+<combining_grave> <Cyrillic_i>    : "ѝ"
+<Multi_key> <grave> <Cyrillic_i>  : "ѝ"
+<dead_grave> <Cyrillic_I>         : "Ѝ"
+<combining_grave> <Cyrillic_I>    : "Ѝ"
+<Multi_key> <grave> <Cyrillic_I>  : "Ѝ"
+<dead_grave> <Cyrillic_o>         : "о̀"
+<combining_grave> <Cyrillic_o>    : "о̀"
+<Multi_key> <grave> <Cyrillic_o>  : "о̀"
+<dead_grave> <Cyrillic_O>         : "О̀"
+<combining_grave> <Cyrillic_O>    : "О̀"
+<Multi_key> <grave> <Cyrillic_O>  : "О̀"
+<dead_grave> <Cyrillic_u>         : "у̀"
+<combining_grave> <Cyrillic_u>    : "у̀"
+<Multi_key> <grave> <Cyrillic_u>  : "у̀"
+<dead_grave> <Cyrillic_U>         : "У̀"
+<combining_grave> <Cyrillic_U>    : "У̀"
+<Multi_key> <grave> <Cyrillic_U>  : "У̀"
+# ́ - dugouzlazni, U+0301   <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
+<dead_acute> <Cyrillic_a>              : "а́"
+<combining_acute> <Cyrillic_a>         : "а́"
+<Multi_key> <acute> <Cyrillic_a>       : "а́"
+<Multi_key> <apostrophe> <Cyrillic_a>  : "а́"
+<dead_acute> <Cyrillic_A>              : "А́"
+<combining_acute> <Cyrillic_A>         : "А́"
+<Multi_key> <acute> <Cyrillic_A>       : "А́"
+<Multi_key> <apostrophe> <Cyrillic_A>  : "А́"
+<dead_acute> <Cyrillic_e>              : "е́"
+<combining_acute> <Cyrillic_e>         : "е́"
+<Multi_key> <acute> <Cyrillic_e>       : "е́"
+<Multi_key> <apostrophe> <Cyrillic_e>  : "е́"
+<dead_acute> <Cyrillic_E>              : "Е́"
+<combining_acute> <Cyrillic_E>         : "Е́"
+<Multi_key> <acute> <Cyrillic_E>       : "Е́"
+<Multi_key> <apostrophe> <Cyrillic_E>  : "Е́"
+<dead_acute> <Cyrillic_i>              : "и́"
+<combining_acute> <Cyrillic_i>         : "и́"
+<Multi_key> <acute> <Cyrillic_i>       : "и́"
+<Multi_key> <apostrophe> <Cyrillic_i>  : "и́"
+<dead_acute> <Cyrillic_I>              : "И́"
+<combining_acute> <Cyrillic_I>         : "И́"
+<Multi_key> <acute> <Cyrillic_I>       : "И́"
+<Multi_key> <apostrophe> <Cyrillic_I>  : "И́"
+<dead_acute> <Cyrillic_o>              : "о́"
+<combining_acute> <Cyrillic_o>         : "о́"
+<Multi_key> <acute> <Cyrillic_o>       : "о́"
+<Multi_key> <apostrophe> <Cyrillic_o>  : "о́"
+<dead_acute> <Cyrillic_O>              : "О́"
+<combining_acute> <Cyrillic_O>         : "О́"
+<Multi_key> <acute> <Cyrillic_O>       : "О́"
+<Multi_key> <apostrophe> <Cyrillic_O>  : "О́"
+<dead_acute>             <Cyrillic_u>  : "у́"
+<combining_acute>        <Cyrillic_u>  : "у́"
+<Multi_key> <acute>      <Cyrillic_u>  : "у́"
+<Multi_key> <apostrophe> <Cyrillic_u>  : "у́"
+<dead_acute>             <Cyrillic_U>  : "У́"
+<combining_acute>        <Cyrillic_U>  : "У́"
+<Multi_key> <acute>      <Cyrillic_U>  : "У́"
+<Multi_key> <apostrophe> <Cyrillic_U>  : "У́"
+# ̂ - dugosilazni, U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
+<dead_circumflex> <Cyrillic_a>          : "а̂"
+<Multi_key> <asciicircum> <Cyrillic_a>  : "а̂"
+<dead_circumflex> <Cyrillic_A>          : "А̂"
+<Multi_key> <asciicircum> <Cyrillic_A>  : "А̂"
+<dead_circumflex> <Cyrillic_e>          : "е̂"
+<Multi_key> <asciicircum> <Cyrillic_e>  : "е̂"
+<dead_circumflex> <Cyrillic_E>          : "Е̂"
+<Multi_key> <asciicircum> <Cyrillic_E>  : "Е̂"
+<dead_circumflex> <Cyrillic_i>          : "и̂"
+<Multi_key> <asciicircum> <Cyrillic_i>  : "и̂"
+<dead_circumflex> <Cyrillic_I>          : "И̂"
+<Multi_key> <asciicircum> <Cyrillic_I>  : "И̂"
+<dead_circumflex> <Cyrillic_o>          : "о̂"
+<Multi_key> <asciicircum> <Cyrillic_o>  : "о̂"
+<dead_circumflex> <Cyrillic_O>          : "О̂"
+<Multi_key> <asciicircum> <Cyrillic_O>  : "О̂"
+<dead_circumflex> <Cyrillic_u>          : "у̂"
+<Multi_key> <asciicircum> <Cyrillic_u>  : "у̂"
+<dead_circumflex> <Cyrillic_U>          : "У̂"
+<Multi_key> <asciicircum> <Cyrillic_U>  : "У̂"
+# ̏ - kratkosilazni, U+030F  <dead_diaeresis>, <dead_doubleacute>
+# there's no appropriate dead_doublegrave, so we use these two dead keys
+<dead_diaeresis>   <Cyrillic_a>  : "а̏"
+<dead_doubleacute> <Cyrillic_a>  : "а̏"
+<dead_diaeresis>   <Cyrillic_A>  : "А̏"
+<dead_doubleacute> <Cyrillic_A>  : "А̏"
+<dead_diaeresis>   <Cyrillic_e>  : "е̏"
+<dead_doubleacute> <Cyrillic_e>  : "е̏"
+<dead_diaeresis>   <Cyrillic_E>  : "Е̏"
+<dead_doubleacute> <Cyrillic_E>  : "Е̏"
+<dead_diaeresis>   <Cyrillic_i>  : "и̏"
+<dead_doubleacute> <Cyrillic_i>  : "и̏"
+<dead_diaeresis>   <Cyrillic_I>  : "И̏"
+<dead_doubleacute> <Cyrillic_I>  : "И̏"
+<dead_diaeresis>   <Cyrillic_o>  : "о̏"
+<dead_doubleacute> <Cyrillic_o>  : "о̏"
+<dead_diaeresis>   <Cyrillic_O>  : "О̏"
+<dead_doubleacute> <Cyrillic_O>  : "О̏"
+<dead_diaeresis>   <Cyrillic_u>  : "у̏"
+<dead_doubleacute> <Cyrillic_u>  : "у̏"
+<dead_diaeresis>   <Cyrillic_U>  : "У̏"
+<dead_doubleacute> <Cyrillic_U>  : "У̏"
diff --git a/nls/sr_CS.UTF-8/XI18N_OBJS b/nls/sr_CS.UTF-8/XI18N_OBJS
new file mode 100644 (file)
index 0000000..f201bf4
--- /dev/null
@@ -0,0 +1,8 @@
+# CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME     FUNCTION_NAME
+#
+#      XI18N objects table for euro locales
+#
+XLC    common/xlcUTF8Load      _XlcUtf8Loader          # XLC_open
+XOM    common/xomLTRTTB        _XomGenericOpenOM       # XOM_open
+XIM    common/xiiimp           _SwitchOpenIM           # XIM_open
+XIM    common/xiiimp           _XimpLocalOpenIM        # XIM_open
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
index e69de29..6c2c411 100644 (file)
@@ -0,0 +1 @@
+include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
diff --git a/specs/.gitignore b/specs/.gitignore
new file mode 100644 (file)
index 0000000..92946c9
--- /dev/null
@@ -0,0 +1,5 @@
+*.html
+*.ps
+*.pdf
+*.txt
+*.db
diff --git a/specs/Makefile.in b/specs/Makefile.in
deleted file mode 100644 (file)
index caf1987..0000000
+++ /dev/null
@@ -1,652 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = specs
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = libX11 i18n XIM XKB
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/XIM/Makefile.in b/specs/XIM/Makefile.in
deleted file mode 100644 (file)
index f9e4111..0000000
+++ /dev/null
@@ -1,612 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/XIM
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = xim.xml dynamicflowsampleseq.svg \
-       dynamicflow.svg eventflow.svg sampleprotocolflow1.svg \
-       sampleprotocolflow2.svg staticflowsampleseq.svg staticflow.svg
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = xim.xml
-
-# Included chapters, appendix, images
-@ENABLE_SPECS_TRUE@chapters = \
-@ENABLE_SPECS_TRUE@    dynamicflowsampleseq.svg        \
-@ENABLE_SPECS_TRUE@    dynamicflow.svg                 \
-@ENABLE_SPECS_TRUE@    eventflow.svg                   \
-@ENABLE_SPECS_TRUE@    sampleprotocolflow1.svg         \
-@ENABLE_SPECS_TRUE@    sampleprotocolflow2.svg         \
-@ENABLE_SPECS_TRUE@    staticflowsampleseq.svg         \
-@ENABLE_SPECS_TRUE@    staticflow.svg
-
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/XIM
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/XIM/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/XIM/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/XKB/Makefile.in b/specs/XKB/Makefile.in
deleted file mode 100644 (file)
index 54ac6d0..0000000
+++ /dev/null
@@ -1,657 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/XKB
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = xkblib.xml acknowledgement.xml ch01.xml \
-       ch02.xml ch03.xml ch04.xml ch05.xml ch06.xml ch07.xml ch08.xml \
-       ch09.xml ch10.xml ch11.xml ch12.xml ch13.xml ch14.xml ch15.xml \
-       ch16.xml ch17.xml ch18.xml ch19.xml ch20.xml ch21.xml ch22.xml \
-       glossary.xml XKBlib-1.svg XKBlib-2.svg XKBlib-3.svg \
-       XKBlib-4.svg XKBlib-5.svg XKBlib-6.svg XKBlib-7.svg \
-       XKBlib-8.svg XKBlib-9.svg XKBlib-10.svg XKBlib-11.svg \
-       XKBlib-12.svg XKBlib-13.svg XKBlib-14.svg XKBlib-15.svg \
-       XKBlib-16.svg XKBlib-17.svg XKBlib-18.svg XKBlib-19.svg \
-       XKBlib-20.svg XKBlib-21.svg
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = xkblib.xml
-
-# Included chapters, appendix, images
-@ENABLE_SPECS_TRUE@chapters = \
-@ENABLE_SPECS_TRUE@    acknowledgement.xml     \
-@ENABLE_SPECS_TRUE@    ch01.xml                \
-@ENABLE_SPECS_TRUE@    ch02.xml                \
-@ENABLE_SPECS_TRUE@    ch03.xml                \
-@ENABLE_SPECS_TRUE@    ch04.xml                \
-@ENABLE_SPECS_TRUE@    ch05.xml                \
-@ENABLE_SPECS_TRUE@    ch06.xml                \
-@ENABLE_SPECS_TRUE@    ch07.xml                \
-@ENABLE_SPECS_TRUE@    ch08.xml                \
-@ENABLE_SPECS_TRUE@    ch09.xml                \
-@ENABLE_SPECS_TRUE@    ch10.xml                \
-@ENABLE_SPECS_TRUE@    ch11.xml                \
-@ENABLE_SPECS_TRUE@    ch12.xml                \
-@ENABLE_SPECS_TRUE@    ch13.xml                \
-@ENABLE_SPECS_TRUE@    ch14.xml                \
-@ENABLE_SPECS_TRUE@    ch15.xml                \
-@ENABLE_SPECS_TRUE@    ch16.xml                \
-@ENABLE_SPECS_TRUE@    ch17.xml                \
-@ENABLE_SPECS_TRUE@    ch18.xml                \
-@ENABLE_SPECS_TRUE@    ch19.xml                \
-@ENABLE_SPECS_TRUE@    ch20.xml                \
-@ENABLE_SPECS_TRUE@    ch21.xml                \
-@ENABLE_SPECS_TRUE@    ch22.xml                \
-@ENABLE_SPECS_TRUE@    glossary.xml            \
-@ENABLE_SPECS_TRUE@    XKBlib-1.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-2.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-3.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-4.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-5.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-6.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-7.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-8.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-9.svg            \
-@ENABLE_SPECS_TRUE@    XKBlib-10.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-11.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-12.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-13.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-14.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-15.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-16.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-17.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-18.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-19.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-20.svg           \
-@ENABLE_SPECS_TRUE@    XKBlib-21.svg
-
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/XKB
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/XKB/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/XKB/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/i18n/Makefile.in b/specs/i18n/Makefile.in
deleted file mode 100644 (file)
index 4c429aa..0000000
+++ /dev/null
@@ -1,652 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = specs/i18n
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-SUBDIRS = compose framework localedb trans
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/i18n/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/i18n/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-       install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive distclean distclean-generic \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
-       uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/i18n/compose/.gitignore b/specs/i18n/compose/.gitignore
new file mode 100644 (file)
index 0000000..c8f2485
--- /dev/null
@@ -0,0 +1,2 @@
+# Generated DocBook XML from a perl script
+*.xml
diff --git a/specs/i18n/compose/Makefile.in b/specs/i18n/compose/Makefile.in
deleted file mode 100644 (file)
index a99d67a..0000000
+++ /dev/null
@@ -1,614 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# This version of docbook.am handles cases where XML source is generated
-# and the html to be produced must be in chunks, one per chapter.
-# The generated source must be cleaned, installed but not distributed
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/docbook-nl.am
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html) $(chapters:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/i18n/compose
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)"
-DATA = $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@docbook = libX11-keys.xml
-
-# Included chapters, appendix, images
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@chapters = $(locales:%=%.xml)
-
-# The location where the DocBook/XML generated formats are installed
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@shelfdir = $(docdir)/i18n/compose
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@shelf_DATA = $(chapters) $(docbook) \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(am__append_1) \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(am__append_2) \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(am__append_3) \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(am__append_4)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-chunk.xsl
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_TXT_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_CHUNKING_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam root.filename="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_CHUNKING_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_TXT_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_TXT_STYLESHEET_FLAGS)                   \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_FO_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_CHUNKING_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam root.filename "$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_HTML_CHUNKING_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-chunk.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_FO_OLINK_FLAGS)                          \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@CLEANFILES = $(shelf_DATA)
-
-# Generate DocBook/XML output formats with or without stylesheets
-# The XML source is generated and cleaned but not distributed
-EXTRA_DIST = compose-chart.pl
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/docbook-nl.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/i18n/compose/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/i18n/compose/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dvi install-dvi-am \
-       install-exec install-exec-am install-html install-html-am \
-       install-info install-info-am install-man install-pdf \
-       install-pdf-am install-ps install-ps-am install-shelfDATA \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       uninstall uninstall-am uninstall-shelfDATA
-
-
-# Generated DocBook/XML source files using a perl script
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@%.xml: $(top_builddir)/nls/%/Compose
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(AM_V_GEN)$(PERL) $(srcdir)/compose-chart.pl           \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@     --locale="$(@:.xml=)" --output="$@" $<
-
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@libX11-keys.xml: $(locales:%=%.xml)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@    $(AM_V_GEN)$(PERL) $(srcdir)/compose-chart.pl           \
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@     --index --output="$@" $(locales)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml $<
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_TXT_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_PERL_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/i18n/framework/Makefile.in b/specs/i18n/framework/Makefile.in
deleted file mode 100644 (file)
index 01f3f3d..0000000
+++ /dev/null
@@ -1,602 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/i18n/framework
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = framework.xml framework.svg
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = framework.xml
-
-# Included chapters, appendix, images
-@ENABLE_SPECS_TRUE@chapters = framework.svg
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/i18n/framework
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/i18n/framework/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/i18n/framework/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/i18n/localedb/Makefile.in b/specs/i18n/localedb/Makefile.in
deleted file mode 100644 (file)
index 7b119d6..0000000
+++ /dev/null
@@ -1,599 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/i18n/localedb
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = localedb.xml
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = localedb.xml
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/i18n/localedb
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/i18n/localedb/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/i18n/localedb/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/specs/i18n/trans/Makefile.in b/specs/i18n/trans/Makefile.in
deleted file mode 100644 (file)
index 70d33a2..0000000
+++ /dev/null
@@ -1,599 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/i18n/trans
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = trans.xml
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = trans.xml
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/i18n/trans
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/i18n/trans/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/i18n/trans/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index df25027..0b37048 100644 (file)
@@ -2468,7 +2468,9 @@ which is the same as
 <function>GetReq</function>
 except that it takes an additional argument (the number of
 extra bytes to allocate in the output buffer after the request structure).  
-This number should always be a multiple of four.
+This number should always be a multiple of four. Note that it is possible
+for req to be set to NULL as a defensive measure if the requested length
+exceeds the Xlib's buffer size (normally 16K).
 </para>
 </sect2>
 <sect2 id="Variable_Length_Arguments">
index 12df68e..656dce8 100644 (file)
@@ -608,7 +608,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the appropriate screen number on the host server.
-<!-- .ds Cn depths -->
       </para>
     </listitem>
   </varlistentry>
@@ -618,7 +617,7 @@ Specifies the appropriate screen number on the host server.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of depths.
     </para>
   </listitem>
   </varlistentry>
@@ -1511,12 +1510,9 @@ To obtain the pixmap format information for a given display, use
 <indexterm significance="preferred"><primary>XListPixmapFormats</primary></indexterm>
 <!-- .sM -->
 </para>
-<para>
-ImageByteOrder(<emphasis remap='I'>display</emphasis>)
-</para>
-<funcsynopsis id='XImageByteOrder'>
+<funcsynopsis id='XListPixmapFormats'>
 <funcprototype>
-  <funcdef>int <function>XImageByteOrder</function></funcdef>
+  <funcdef>XPixmapFormatValues *<function>XListPixmapFormats</function></funcdef>
   <paramdef>Display<parameter> *display</parameter></paramdef>
   <paramdef>int<parameter> *count_return</parameter></paramdef>
 </funcprototype>
@@ -1530,7 +1526,6 @@ ImageByteOrder(<emphasis remap='I'>display</emphasis>)
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Cn pixmap formats that are supported by the display -->
       </para>
     </listitem>
   </varlistentry>
@@ -1540,7 +1535,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of pixmap formats that are supported by the display.
     </para>
   </listitem>
   </varlistentry>
@@ -1577,7 +1572,7 @@ These are often used by toolkits as well as by simple applications.
 <para>
 ImageByteOrder(<emphasis remap='I'>display</emphasis>)
 </para>
-<funcsynopsis>
+<funcsynopsis id='XImageByteOrder'>
 <funcprototype>
   <funcdef>int <function>XImageByteOrder</function></funcdef>
   <paramdef>Display<parameter> *display</parameter></paramdef>
@@ -3466,7 +3461,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Returns the file descriptors.
-<!-- .ds Cn file descriptors -->
       </para>
     </listitem>
   </varlistentry>
@@ -3476,7 +3470,7 @@ Returns the file descriptors.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of file descriptors.
     </para>
   </listitem>
   </varlistentry>
index 7d2b20e..4e599da 100644 (file)
@@ -1285,8 +1285,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the parent window.
-<!-- .ds Xy , which are the top-left outside corner of the created window's \ -->
-borders and are relative to the inside of the parent window's borders
       </para>
     </listitem>
   </varlistentry>
@@ -1307,9 +1305,9 @@ borders and are relative to the inside of the parent window's borders
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the created window's inside dimensions \ -->
-and do not include the created window's borders
+Specify the x and y coordinates, which are the top-left outside corner of
+the created window's borders and are relative to the inside of the parent
+window's borders.
       </para>
     </listitem>
   </varlistentry>
@@ -1330,7 +1328,8 @@ and do not include the created window's borders
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the created window's inside
+dimensions and do not include the created window's borders.
 The dimensions must be nonzero,
 or a
 <errorname>BadValue</errorname>
@@ -1547,8 +1546,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the parent window.
-<!-- .ds Xy , which are the top-left outside corner of the new window's borders \ -->
-and are relative to the inside of the parent window's borders
       </para>
     </listitem>
   </varlistentry>
@@ -1569,9 +1566,9 @@ and are relative to the inside of the parent window's borders
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the created window's inside dimensions \ -->
-and do not include the created window's borders
+Specify the x and y coordinates, which are the top-left outside corner of
+the new window's borders and are relative to the inside of the parent
+window's borders.
       </para>
     </listitem>
   </varlistentry>
@@ -1592,7 +1589,8 @@ and do not include the created window's borders
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the created window's inside
+dimensions and do not include the created window's borders.
 The dimensions must be nonzero,
 or a
 <errorname>BadValue</errorname>
@@ -2550,7 +2548,6 @@ To configure a window's size, location, stacking, or border, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi to be reconfigured -->
       </para>
     </listitem>
   </varlistentry>
@@ -2560,7 +2557,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window to be reconfigured.
       </para>
     </listitem>
   </varlistentry>
@@ -2655,7 +2652,6 @@ To move a window without changing its size, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi to be moved -->
       </para>
     </listitem>
   </varlistentry>
@@ -2665,9 +2661,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
-<!-- .ds Xy , which define the new location of the top-left pixel \ -->
-of the window's border or the window itself if it has no border
+Specifies the window to be moved.
       </para>
     </listitem>
   </varlistentry>
@@ -2688,7 +2682,9 @@ of the window's border or the window itself if it has no border
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which define the new location of the
+top-left pixel of the window's border or the window itself if it has no
+border.
     </para>
   </listitem>
   </varlistentry>
@@ -2767,8 +2763,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the window.
-<!-- .ds Wh , which are the interior dimensions of the window \ -->
-after the call completes
       </para>
     </listitem>
   </varlistentry>
@@ -2789,7 +2783,8 @@ after the call completes
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the interior dimensions of the
+window after the call completes.
     </para>
   </listitem>
   </varlistentry>
@@ -2861,7 +2856,6 @@ To change the size and location of a window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi to be reconfigured -->
       </para>
     </listitem>
   </varlistentry>
@@ -2871,8 +2865,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
-<!-- .ds Xy , which define the new position of the window relative to its parent -->
+Specifies the window to be reconfigured.
       </para>
     </listitem>
   </varlistentry>
@@ -2893,8 +2886,8 @@ Specifies the window (Wi.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which define the interior size of the window -->
+Specify the x and y coordinates, which define the new position of the
+window relative to its parent.
       </para>
     </listitem>
   </varlistentry>
@@ -2915,7 +2908,7 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which define the interior size of the window.
     </para>
   </listitem>
   </varlistentry>
index 9cdfd1a..b8e73a4 100644 (file)
@@ -61,8 +61,6 @@ a given window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose list of children, root, parent, and number of children \ -->
-you want to obtain
       </para>
     </listitem>
   </varlistentry>
@@ -72,7 +70,8 @@ you want to obtain
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose list of children, root, parent, and number of
+children you want to obtain.
       </para>
     </listitem>
   </varlistentry>
@@ -165,7 +164,6 @@ To obtain the current attributes of a given window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose current attributes you want to obtain -->
       </para>
     </listitem>
   </varlistentry>
@@ -175,7 +173,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose current attributes you want to obtain.
       </para>
     </listitem>
   </varlistentry>
@@ -394,7 +392,6 @@ To obtain the current geometry of a given drawable, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Dr , which can be a window or a pixmap -->
       </para>
     </listitem>
   </varlistentry>
@@ -404,7 +401,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the drawable(Dr. 
+Specifies the drawable, which can be a window or a pixmap.
       </para>
     </listitem>
   </varlistentry>
@@ -698,7 +695,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the window.
-<!-- .ds Ro that the pointer is in -->
       </para>
     </listitem>
   </varlistentry>
@@ -708,7 +704,7 @@ Specifies the window.
     </term>
     <listitem>
       <para>
-Returns the root window (Ro.
+Returns the root window that the pointer is in.
       </para>
     </listitem>
   </varlistentry>
@@ -1162,7 +1158,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the array of atom names.
-<!-- .ds Cn atom names in the array -->
       </para>
     </listitem>
   </varlistentry>
@@ -1172,7 +1167,7 @@ Specifies the array of atom names.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of atom names in the array.
       </para>
     </listitem>
   </varlistentry>
@@ -1321,7 +1316,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the array of atoms.
-<!-- .ds Cn atoms in the array -->
       </para>
     </listitem>
   </varlistentry>
@@ -1331,7 +1325,7 @@ Specifies the array of atoms.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of atoms in the array.
       </para>
     </listitem>
   </varlistentry>
@@ -1436,7 +1430,6 @@ To obtain the type, format, and value of a property of a given window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose property you want to obtain -->
       </para>
     </listitem>
   </varlistentry>
@@ -1446,7 +1439,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose property you want to obtain.
       </para>
     </listitem>
   </varlistentry>
@@ -1707,7 +1700,6 @@ To obtain a given window's property list, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose property list you want to obtain -->
       </para>
     </listitem>
   </varlistentry>
@@ -1717,7 +1709,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose property list you want to obtain.
       </para>
     </listitem>
   </varlistentry>
@@ -1784,7 +1776,6 @@ To change a property of a given window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose property you want to change -->
       </para>
     </listitem>
   </varlistentry>
@@ -1794,7 +1785,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose property you want to change.
       </para>
     </listitem>
   </varlistentry>
@@ -2093,7 +2084,6 @@ To delete a property on a given window, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose property you want to delete -->
       </para>
     </listitem>
   </varlistentry>
@@ -2103,7 +2093,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose property you want to delete.
       </para>
     </listitem>
   </varlistentry>
@@ -2338,7 +2328,6 @@ To return the selection owner, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Se whose owner you want returned -->
       </para>
     </listitem>
   </varlistentry>
@@ -2348,7 +2337,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the selection atom (Se.
+Specifies the selection atom whose owner you want returned.
     </para>
   </listitem>
   </varlistentry>
@@ -2388,7 +2377,8 @@ To request conversion of a selection, use
 <funcprototype>
   <funcdef><function>XConvertSelection</function></funcdef>
   <paramdef>Display<parameter> *display</parameter></paramdef>
-  <paramdef>Atomselection,<parameter> target</parameter></paramdef>
+  <paramdef>Atom<parameter> selection</parameter></paramdef>
+  <paramdef>Atom<parameter> target</parameter></paramdef>
   <paramdef>Atom<parameter> property</parameter></paramdef>
   <paramdef>Window<parameter> requestor</parameter></paramdef>
   <paramdef>Time<parameter> time</parameter></paramdef>
index 501ead0..c37eadd 100644 (file)
@@ -53,7 +53,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies which screen the pixmap is created on. 
-<!-- .ds Wh , which define the dimensions of the pixmap -->
       </para>
     </listitem>
   </varlistentry>
@@ -74,7 +73,7 @@ Specifies which screen the pixmap is created on.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which define the dimensions of the pixmap.
       </para>
     </listitem>
   </varlistentry>
@@ -497,7 +496,6 @@ Specifies the <acronym>RGB</acronym> values for the foreground of the source.
     <listitem>
       <para>
 Specifies the <acronym>RGB</acronym> values for the background of the source.
-<!-- .ds Xy , which indicate the hotspot relative to the source's origin -->
       </para>
     </listitem>
   </varlistentry>
@@ -518,7 +516,8 @@ Specifies the <acronym>RGB</acronym> values for the background of the source.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which indicate the hotspot relative to the
+source's origin.
     </para>
   </listitem>
   </varlistentry>
@@ -600,7 +599,6 @@ To determine useful cursor sizes, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Dr , which indicates the screen -->
       </para>
     </listitem>
   </varlistentry>
@@ -610,8 +608,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the drawable(Dr. 
-<!-- .ds Wh \ of the cursor that you want the size information for -->
+Specifies the drawable, which indicates the screen.
       </para>
     </listitem>
   </varlistentry>
@@ -632,7 +629,8 @@ Specifies the drawable(Dr.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height of the cursor that you want the size
+information for.
       </para>
     </listitem>
   </varlistentry>
index b84ce95..a82a5e2 100644 (file)
@@ -832,7 +832,6 @@ To create a colormap for a screen, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi on whose screen you want to create a colormap -->
       </para>
     </listitem>
   </varlistentry>
@@ -842,7 +841,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window on whose screen you want to create a colormap.
       </para>
     </listitem>
   </varlistentry>
@@ -1056,7 +1055,6 @@ To destroy a colormap, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Cm that you want to destroy -->
       </para>
     </listitem>
   </varlistentry>
@@ -1066,7 +1064,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the colormap (Cm.
+Specifies the colormap that you want to destroy.
     </para>
   </listitem>
   </varlistentry>
@@ -1792,7 +1790,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the colormap.
-<!-- .ds St \ whose color definition structure is to be returned -->
       </para>
     </listitem>
   </varlistentry>
@@ -1802,7 +1799,8 @@ Specifies the colormap.
     </term>
     <listitem>
       <para>
-Specifies the color string(St.
+Specifies the color string whose color definition structure is to be
+returned.
       </para>
     </listitem>
   </varlistentry>
@@ -2296,7 +2294,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the colormap.
-<!-- .ds Pi that map to the cells in the specified colormap -->
       </para>
     </listitem>
   </varlistentry>
@@ -2306,7 +2303,8 @@ Specifies the colormap.
     </term>
     <listitem>
       <para>
-Specifies an array of pixel values (Pi. 
+Specifies an array of pixel values that map to the cells in the specified
+colormap.
       </para>
     </listitem>
   </varlistentry>
@@ -3811,7 +3809,6 @@ To set the Client White Point in the CCC, use
     <listitem>
       <para>
 Specifies the CCC.
-<!-- .ds Co new Client White Point -->
       </para>
     </listitem>
   </varlistentry>
@@ -3899,7 +3896,6 @@ a color specification to a device-dependent format and encounters a color
 that lies outside the screen's color gamut, 
 that function will return
 <symbol>XcmsFailure</symbol>.
-<!-- .ds Cd the gamut compression procedure -->
       </para>
     </listitem>
   </varlistentry>
@@ -3962,7 +3958,6 @@ Specifies the CCC.
     <listitem>
       <para>
 Specifies the white point adjustment procedure.
-<!-- .ds Cd the white point adjustment procedure -->
       </para>
     </listitem>
   </varlistentry>
@@ -5049,7 +5044,6 @@ are ignored.
     <listitem>
       <para>
 Specifies the target color specification format.
-<!-- .ds Cs zero-intensity red, green, and blue -->
       </para>
     </listitem>
   </varlistentry>
@@ -5060,7 +5054,7 @@ Specifies the target color specification format.
     <listitem>
       <para>
 Returns the color specification in the specified target format
-for (Cs.
+for zero-intensity red, green, and blue.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5115,7 +5109,6 @@ are ignored.
     <listitem>
       <para>
 Specifies the target color specification format.
-<!-- .ds Cs full-intensity blue while red and green are zero -->
       </para>
     </listitem>
   </varlistentry>
@@ -5126,7 +5119,7 @@ Specifies the target color specification format.
     <listitem>
       <para>
 Returns the color specification in the specified target format
-for (Cs.
+for full-intensity blue while red and green are zero.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5181,7 +5174,6 @@ are ignored.
     <listitem>
       <para>
 Specifies the target color specification format.
-<!-- .ds Cs full-intensity green while red and blue are zero -->
       </para>
     </listitem>
   </varlistentry>
@@ -5192,7 +5184,7 @@ Specifies the target color specification format.
     <listitem>
       <para>
 Returns the color specification in the specified target format
-for (Cs.
+for full-intensity green while red and blue are zero.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5247,7 +5239,6 @@ are ignored.
     <listitem>
       <para>
 Specifies the target color specification format.
-<!-- .ds Cs full-intensity red while green and blue are zero -->
       </para>
     </listitem>
   </varlistentry>
@@ -5258,7 +5249,7 @@ Specifies the target color specification format.
     <listitem>
       <para>
 Returns the color specification in the specified target format
-for (Cs.
+for full-intensity red while green and blue are zero.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5313,7 +5304,6 @@ are ignored.
     <listitem>
       <para>
 Specifies the target color specification format.
-<!-- .ds Cs full-intensity red, green, and blue -->
       </para>
     </listitem>
   </varlistentry>
@@ -5324,7 +5314,7 @@ Specifies the target color specification format.
     <listitem>
       <para>
 Returns the color specification in the specified target format
-for (Cs.
+for full-intensity red, green, and blue.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5392,7 +5382,6 @@ for a given Psychometric Hue Angle and <acronym>CIE</acronym> metric lightness (
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -5402,8 +5391,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ls maximum chroma -->
+Specifies the hue angle (in degrees) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5413,9 +5401,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the lightness (L*) at which to find (Ls.
-<!-- .ds Lc maximum chroma -->
-<!-- .ds lC hue angle and lightness -->
+Specifies the lightness (L*) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5425,8 +5411,8 @@ Specifies the lightness (L*) at which to find (Ls.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*a*b* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*a*b* coordinates of maximum chroma
+displayable by the screen for the given hue angle and lightness.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5476,7 +5462,6 @@ for a given Psychometric Hue Angle and Psychometric Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum lightness -->
       </para>
     </listitem>
   </varlistentry>
@@ -5486,8 +5471,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ch maximum lightness -->
+Specifies the hue angle (in degrees) at which to find maximum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5497,9 +5481,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the chroma at which to find (Ch.
-<!-- .ds Lc maximum lightness -->
-<!-- .ds lC hue angle and chroma -->
+Specifies the chroma at which to find maximum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5509,8 +5491,8 @@ Specifies the chroma at which to find (Ch.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*a*b* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*a*b* coordinates of maximum lightness
+displayable by the screen for the given hue angle and chroma.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5566,7 +5548,6 @@ for a given Psychometric Hue Angle, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -5576,9 +5557,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Lc maximum chroma -->
-<!-- .ds lC hue angle -->
+Specifies the hue angle (in degrees) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5588,8 +5567,8 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*a*b* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*a*b* coordinates of maximum chroma
+displayable by the screen for the given hue angle.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5639,7 +5618,6 @@ for a given Psychometric Hue Angle and Psychometric Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha minimum lightness -->
       </para>
     </listitem>
   </varlistentry>
@@ -5649,8 +5627,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ch minimum lightness -->
+Specifies the hue angle (in degrees) at which to find minimum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5660,9 +5637,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the chroma at which to find (Ch.
-<!-- .ds Lc minimum lightness -->
-<!-- .ds lC hue angle and chroma -->
+Specifies the chroma at which to find minimum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5672,8 +5647,8 @@ Specifies the chroma at which to find (Ch.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*a*b* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*a*b* coordinates of minimum lightness
+displayable by the screen for the given hue angle and chroma.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5749,7 +5724,6 @@ for a given Psychometric Hue Angle and <acronym>CIE</acronym> metric lightness (
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -5759,8 +5733,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ls maximum chroma -->
+Specifies the hue angle (in degrees) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5770,9 +5743,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the lightness (L*) at which to find (Ls.
-<!-- .ds Lc maximum chroma -->
-<!-- .ds lC hue angle and lightness -->
+Specifies the lightness (L*) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5782,8 +5753,8 @@ Specifies the lightness (L*) at which to find (Ls.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*u*v* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*u*v* coordinates of maximum chroma
+displayable by the screen for the given hue angle and lightness.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5833,7 +5804,6 @@ for a given Psychometric Hue Angle and Psychometric Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum lightness -->
       </para>
     </listitem>
   </varlistentry>
@@ -5843,8 +5813,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ls maximum lightness -->
+Specifies the hue angle (in degrees) at which to find maximum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5854,9 +5823,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the lightness (L*) at which to find (Ls.
-<!-- .ds Lc maximum lightness -->
-<!-- .ds lC hue angle and chroma -->
+Specifies the lightness (L*) at which to find maximum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -5866,8 +5833,8 @@ Specifies the lightness (L*) at which to find (Ls.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*u*v* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*u*v* coordinates of maximum lightness
+displayable by the screen for the given hue angle and chroma.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5923,7 +5890,6 @@ for a given Psychometric Hue Angle, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha maximum chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -5933,9 +5899,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Lc maximum chroma -->
-<!-- .ds lC hue angle -->
+Specifies the hue angle (in degrees) at which to find maximum chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -5945,8 +5909,8 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*u*v* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*u*v* coordinates of maximum chroma
+displayable by the screen for the given hue angle.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -5996,7 +5960,6 @@ for a given Psychometric Hue Angle and Psychometric Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Ha minimum lightness -->
       </para>
     </listitem>
   </varlistentry>
@@ -6006,8 +5969,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the hue angle (in degrees) at which to find (Ha.
-<!-- .ds Ch minimum lightness -->
+Specifies the hue angle (in degrees) at which to find minimum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -6017,9 +5979,7 @@ Specifies the hue angle (in degrees) at which to find (Ha.
     </term>
     <listitem>
       <para>
-Specifies the chroma at which to find (Ch.
-<!-- .ds Lc minimum lightness -->
-<!-- .ds lC hue angle and chroma -->
+Specifies the chroma at which to find minimum lightness.
       </para>
     </listitem>
   </varlistentry>
@@ -6029,8 +5989,8 @@ Specifies the chroma at which to find (Ch.
     </term>
     <listitem>
       <para>
-Returns the <acronym>CIE</acronym> L*u*v* coordinates of (Lc
-displayable by the screen for the given (lC.
+Returns the <acronym>CIE</acronym> L*u*v* coordinates of minimum lightness
+displayable by the screen for the given hue angle and chroma.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -6087,7 +6047,6 @@ To obtain the maximum Chroma for a given Hue and Value, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Hu in which to find the maximum Chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -6097,8 +6056,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the Hue (Hu.
-<!-- .ds Va maximum Chroma -->
+Specifies the Hue in which to find the maximum Chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -6108,9 +6066,7 @@ Specifies the Hue (Hu.
     </term>
     <listitem>
       <para>
-Specifies the Value in which to find the (Va.
-<!-- .ds Lc maximum Chroma along with the actual Hue and Value  -->
-<!-- .ds lC maximum Chroma -->
+Specifies the Value in which to find the maximum Chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -6120,7 +6076,8 @@ Specifies the Value in which to find the (Va.
     </term>
     <listitem>
       <para>
-Returns the (Lc at which the (lC was found.
+Returns the maximum Chroma along with the actual Hue and Value at which
+the maximum Chroma was found.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -6170,7 +6127,6 @@ To obtain the maximum Value for a given Hue and Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Hu in which to find the maximum Value -->
       </para>
     </listitem>
   </varlistentry>
@@ -6180,8 +6136,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the Hue (Hu.
-<!-- .ds Ch maximum Value -->
+Specifies the Hue in which to find the maximum Value.
       </para>
     </listitem>
   </varlistentry>
@@ -6191,9 +6146,7 @@ Specifies the Hue (Hu.
     </term>
     <listitem>
       <para>
-Specifies the chroma at which to find (Ch.
-<!-- .ds Lc maximum Value along with the Hue and Chroma -->
-<!-- .ds lC maximum Value -->
+Specifies the chroma at which to find maximum Value.
       </para>
     </listitem>
   </varlistentry>
@@ -6203,7 +6156,9 @@ Specifies the chroma at which to find (Ch.
     </term>
     <listitem>
       <para>
-Returns the (Lc at which the (lC was found.
+Returns the maximum Value along with the Hue and Chroma at which the
+maximum Value
+was found.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -6256,7 +6211,6 @@ for a specified Hue, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Hu in which to find the maximum Chroma -->
       </para>
     </listitem>
   </varlistentry>
@@ -6266,11 +6220,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the Hue (Hu.
-<!-- .ds Lc color specification in \ -->
-XcmsTekHVC for the maximum Chroma, the Value at which \
-that maximum Chroma is reached, and the actual Hue
-<!-- .ds lC maximum Chroma -->
+Specifies the Hue in which to find the maximum Chroma.
       </para>
     </listitem>
   </varlistentry>
@@ -6280,7 +6230,9 @@ that maximum Chroma is reached, and the actual Hue
     </term>
     <listitem>
       <para>
-Returns the (Lc at which the (lC was found.
+Returns the color specification in XcmsTekHVC for the maximum Chroma, the
+Value at which that maximum Chroma is reached, and the actual Hue at which
+the maximum Chroma was found.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
@@ -6335,7 +6287,6 @@ Chroma at which the maximum Values are reached, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Hu for maximum Chroma/Value samples -->
       </para>
     </listitem>
   </varlistentry>
@@ -6345,7 +6296,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the Hue (Hu.
+Specifies the Hue for maximum Chroma/Value samples.
       </para>
     </listitem>
   </varlistentry>
@@ -6416,7 +6367,6 @@ To obtain the minimum Value for a given Hue and Chroma, use
 Specifies the CCC.
 The CCC's Client White Point and white point adjustment procedures
 are ignored.
-<!-- .ds Hu in which to find the minimum Value -->
       </para>
     </listitem>
   </varlistentry>
@@ -6426,8 +6376,7 @@ are ignored.
     </term>
     <listitem>
       <para>
-Specifies the Hue (Hu.
-<!-- .ds Va minimum Value -->
+Specifies the Hue in which to find the minimum Value.
       </para>
     </listitem>
   </varlistentry>
@@ -6437,9 +6386,7 @@ Specifies the Hue (Hu.
     </term>
     <listitem>
       <para>
-Specifies the Value in which to find the (Va.
-<!-- .ds Lc minimum Value and the actual Hue and Chroma -->
-<!-- .ds lC minimum Value -->
+Specifies the Value in which to find the minimum Value.
       </para>
     </listitem>
   </varlistentry>
@@ -6449,7 +6396,9 @@ Specifies the Value in which to find the (Va.
     </term>
     <listitem>
       <para>
-Returns the (Lc at which the (lC was found.
+Returns the minimum Value and the actual Hue and Chroma at which the
+minimum Value
+was found.
 The white point associated with the returned
 color specification is the Screen White Point.
 The value returned in the pixel member is undefined.
index b50dc83..fc3f44d 100644 (file)
@@ -994,7 +994,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the drawable. 
-<!-- .ds Vm set using the information in the specified values structure -->
       </para>
     </listitem>
   </varlistentry>
@@ -1004,7 +1003,8 @@ Specifies the drawable.
     </term>
     <listitem>
       <para>
-Specifies which components in the GC are to be (Vm. 
+Specifies which components in the GC are to be set using the information in
+the specified values structure.
 This argument is the bitwise inclusive OR of zero or more of the valid
 GC component mask bits.
       </para>
@@ -1081,7 +1081,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the components of the source GC.
-<!-- .ds Vm copied to the destination GC -->
       </para>
     </listitem>
   </varlistentry>
@@ -1091,7 +1090,8 @@ Specifies the components of the source GC.
     </term>
     <listitem>
       <para>
-Specifies which components in the GC are to be (Vm. 
+Specifies which components in the GC are to be copied to the destination
+GC.
 This argument is the bitwise inclusive OR of zero or more of the valid
 GC component mask bits.
       </para>
@@ -1168,7 +1168,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Vm changed using information in the specified values structure -->
       </para>
     </listitem>
   </varlistentry>
@@ -1178,7 +1177,8 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specifies which components in the GC are to be (Vm. 
+Specifies which components in the GC are to be changed using information in
+the specified values structure.
 This argument is the bitwise inclusive OR of zero or more of the valid
 GC component mask bits.
       </para>
@@ -1264,7 +1264,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Vm returned in the values_return argument -->
       </para>
     </listitem>
   </varlistentry>
@@ -1274,7 +1273,8 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specifies which components in the GC are to be (Vm. 
+Specifies which components in the GC are to be returned in the
+values_return argument.
 This argument is the bitwise inclusive OR of zero or more of the valid
 GC component mask bits.
       </para>
@@ -1409,7 +1409,6 @@ resource ID for a given GC, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Gc for which you want the resource ID -->
 <variablelist>
   <varlistentry>
     <term>
@@ -1417,7 +1416,7 @@ resource ID for a given GC, use
     </term>
     <listitem>
       <para>
-Specifies the GC (Gc.
+Specifies the GC for which you want the resource ID.
     </para>
   </listitem>
   </varlistentry>
index e4afa37..fb76c84 100644 (file)
@@ -73,8 +73,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the window.
-<!-- .ds Xy , which are relative to the origin of the window \ -->
-and specify the upper-left corner of the rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -95,8 +93,8 @@ and specify the upper-left corner of the rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the dimensions of the rectangle -->
+Specify the x and y coordinates, which are relative to the origin of the
+window and specify the upper-left corner of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -117,7 +115,7 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the dimensions of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -344,8 +342,6 @@ Specifies the GC.
 Specify the x and y coordinates, 
 which are relative to the origin of the source rectangle
 and specify its upper-left corner.
-<!-- .ds Wh , which are the dimensions of both the source \ -->
-and destination rectangles
       </para>
     </listitem>
   </varlistentry>
@@ -366,9 +362,8 @@ and destination rectangles
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
-<!-- .ds Dx , which are relative to the origin of the destination rectangle \ -->
-and specify its upper-left corner
+Specify the width and height, which are the dimensions of both the source
+and destination rectangles.
       </para>
     </listitem>
   </varlistentry>
@@ -389,7 +384,8 @@ and specify its upper-left corner
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Dx. 
+Specify the x and y coordinates, which are relative to the origin of the
+destination rectangle and specify its upper-left corner.
     </para>
   </listitem>
   </varlistentry>
@@ -540,7 +536,6 @@ Specifies the GC.
 Specify the x and y coordinates, 
 which are relative to the origin of the source rectangle
 and specify its upper-left corner.
-<!-- .ds Wh , which are the dimensions of both the source and destination rectangles -->
       </para>
     </listitem>
   </varlistentry>
@@ -561,9 +556,8 @@ and specify its upper-left corner.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
-<!-- .ds Dx , which are relative to the origin of the destination rectangle \ -->
-and specify its upper-left corner
+Specify the width and height, which are the dimensions of both the source
+and destination rectangles.
       </para>
     </listitem>
   </varlistentry>
@@ -584,7 +578,8 @@ and specify its upper-left corner
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Dx. 
+Specify the x and y coordinates, which are relative to the origin of the
+destination rectangle and specify its upper-left corner.
       </para>
     </listitem>
   </varlistentry>
@@ -1373,7 +1368,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which specify the upper-left corner of the rectangle -->
       </para>
     </listitem>
   </varlistentry>
@@ -1394,8 +1388,8 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which specify the dimensions of the rectangle -->
+Specify the x and y coordinates, which specify the upper-left corner of the
+rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -1416,7 +1410,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which specify the dimensions of the
+rectangle.
     </para>
   </listitem>
   </varlistentry>
@@ -1605,8 +1600,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the drawable \ -->
-and specify the upper-left corner of the bounding rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -1627,8 +1620,8 @@ and specify the upper-left corner of the bounding rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the major and minor axes of the arc -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and specify the upper-left corner of the bounding rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -1649,7 +1642,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the major and minor axes of the
+arc.
       </para>
     </listitem>
   </varlistentry>
@@ -1962,8 +1956,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the drawable \ -->
-and specify the upper-left corner of the rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -1984,8 +1976,8 @@ and specify the upper-left corner of the rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the dimensions of the rectangle to be filled -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and specify the upper-left corner of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -2006,7 +1998,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the dimensions of the rectangle to
+be filled.
     </para>
   </listitem>
   </varlistentry>
@@ -2394,8 +2387,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the drawable \ -->
-and specify the upper-left corner of the bounding rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -2416,8 +2407,8 @@ and specify the upper-left corner of the bounding rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which are the major and minor axes of the arc -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and specify the upper-left corner of the bounding rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -2438,7 +2429,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which are the major and minor axes of the
+arc.
       </para>
     </listitem>
   </varlistentry>
@@ -4523,8 +4515,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -4545,7 +4535,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -4619,8 +4610,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -4641,7 +4630,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -4780,8 +4770,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -4802,7 +4790,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -4876,8 +4865,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -4898,7 +4885,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -5020,8 +5008,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -5042,7 +5028,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -5116,8 +5103,6 @@ Specifies the drawable.
     <listitem>
       <para>
 Specifies the GC.
-<!-- .ds Xy , which are relative to the origin of the specified drawable \ -->
-and define the origin of the first character
       </para>
     </listitem>
   </varlistentry>
@@ -5138,7 +5123,8 @@ and define the origin of the first character
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which are relative to the origin of the
+specified drawable and define the origin of the first character.
       </para>
     </listitem>
   </varlistentry>
@@ -5456,8 +5442,6 @@ Specifies the offset in Y from the top edge of the image defined
 by the 
 <structname>XImage</structname>
 structure.
-<!-- .ds Dx , which are relative to the origin of the drawable \ -->
-and are the coordinates of the subimage
       </para>
     </listitem>
   </varlistentry>
@@ -5478,8 +5462,8 @@ and are the coordinates of the subimage
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Dx. 
-<!-- .ds Wh \ of the subimage, which define the dimensions of the rectangle -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and are the coordinates of the subimage.
       </para>
     </listitem>
   </varlistentry>
@@ -5500,7 +5484,8 @@ Specify the x and y coordinates(Dx.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height of the subimage, which define the dimensions
+of the rectangle.
     </para>
   </listitem>
   </varlistentry>
@@ -5598,8 +5583,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the drawable. 
-<!-- .ds Xy , which are relative to the origin of the drawable \ -->
-and define the upper-left corner of the rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -5620,8 +5603,8 @@ and define the upper-left corner of the rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh \ of the subimage, which define the dimensions of the rectangle -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and define the upper-left corner of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -5642,7 +5625,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height of the subimage, which define the dimensions
+of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -5787,8 +5771,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Specifies the drawable. 
-<!-- .ds Xy , which are relative to the origin of the drawable \ -->
-and define the upper-left corner of the rectangle
       </para>
     </listitem>
   </varlistentry>
@@ -5809,8 +5791,8 @@ and define the upper-left corner of the rectangle
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh \ of the subimage, which define the dimensions of the rectangle -->
+Specify the x and y coordinates, which are relative to the origin of the
+drawable and define the upper-left corner of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -5831,7 +5813,8 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height of the subimage, which define the dimensions
+of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -5867,9 +5850,6 @@ or
     <listitem>
       <para>
 Specifies the destination image.
-<!-- .ds Dx , which are relative to the origin of the destination rectangle, \ -->
-specify its upper-left corner, and determine where the subimage \
-is placed in the destination image
       </para>
     </listitem>
   </varlistentry>
@@ -5890,7 +5870,9 @@ is placed in the destination image
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Dx. 
+Specify the x and y coordinates, which are relative to the origin of the
+destination rectangle, specify its upper-left corner, and determine where
+the subimage is placed in the destination image.
     </para>
   </listitem>
   </varlistentry>
index 5636df1..d5d93d0 100644 (file)
@@ -74,7 +74,6 @@ Specifies the window.
     <listitem>
       <para>
 Specifies the parent window.
-<!-- .ds Xy \ of the position in the new parent window -->
       </para>
     </listitem>
   </varlistentry>
@@ -95,7 +94,7 @@ Specifies the parent window.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates of the position in the new parent window.
     </para>
   </listitem>
   </varlistentry>
@@ -237,7 +236,6 @@ To add or remove a window from the client's save-set, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi that you want to add to or delete from the client's save-set -->
       </para>
     </listitem>
   </varlistentry>
@@ -247,7 +245,8 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window that you want to add to or delete from the client's
+save-set.
       </para>
     </listitem>
   </varlistentry>
@@ -311,7 +310,6 @@ To add a window to the client's save-set, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi that you want to add to the client's save-set -->
       </para>
     </listitem>
   </varlistentry>
@@ -321,7 +319,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window that you want to add to the client's save-set.
     </para>
   </listitem>
   </varlistentry>
@@ -370,7 +368,6 @@ To remove a window from the client's save-set, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi that you want to delete from the client's save-set -->
       </para>
     </listitem>
   </varlistentry>
@@ -380,7 +377,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window that you want to delete from the client's save-set.
     </para>
   </listitem>
   </varlistentry>
@@ -612,7 +609,6 @@ To obtain a list of the currently installed colormaps for a given screen, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi that determines the screen -->
       </para>
     </listitem>
   </varlistentry>
@@ -622,7 +618,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window that determines the screen.
       </para>
     </listitem>
   </varlistentry>
@@ -1549,7 +1545,6 @@ To add a single host, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Ho added -->
       </para>
     </listitem>
   </varlistentry>
@@ -1559,7 +1554,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the host that is to be (Ho.
+Specifies the host that is to be added.
     </para>
   </listitem>
   </varlistentry>
@@ -1608,7 +1603,6 @@ To add multiple hosts at one time, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Ho added -->
       </para>
     </listitem>
   </varlistentry>
@@ -1618,7 +1612,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies each host that is to be (Ho.
+Specifies each host that is to be added.
       </para>
     </listitem>
   </varlistentry>
@@ -1740,7 +1734,6 @@ To remove a single host, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Ho removed -->
       </para>
     </listitem>
   </varlistentry>
@@ -1750,7 +1743,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the host that is to be (Ho.
+Specifies the host that is to be removed.
     </para>
   </listitem>
   </varlistentry>
@@ -1803,7 +1796,6 @@ To remove multiple hosts at one time, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Ho removed -->
       </para>
     </listitem>
   </varlistentry>
@@ -1813,7 +1805,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies each host that is to be (Ho.
+Specifies each host that is to be removed.
       </para>
     </listitem>
   </varlistentry>
index 001e05d..2d0fa0f 100644 (file)
@@ -63,7 +63,6 @@ Another way is to use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose events you are interested in -->
       </para>
     </listitem>
   </varlistentry>
@@ -73,7 +72,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose events you are interested in.
       </para>
     </listitem>
   </varlistentry>
@@ -926,7 +925,6 @@ To remove the next event that matches both a window and an event mask, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose events you are interested in -->
       </para>
     </listitem>
   </varlistentry>
@@ -936,7 +934,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose events you are interested in.
       </para>
     </listitem>
   </varlistentry>
@@ -1011,7 +1009,6 @@ indicating if the event was returned.
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Wi whose events you are interested in -->
       </para>
     </listitem>
   </varlistentry>
@@ -1021,7 +1018,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window whose events you are interested in.
       </para>
     </listitem>
   </varlistentry>
index cc14fe6..43953e1 100644 (file)
@@ -605,7 +605,6 @@ To grab a pointer button, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Bu grabbed -->
       </para>
     </listitem>
   </varlistentry>
@@ -615,7 +614,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the pointer button that is to be (Bu or
+Specifies the pointer button that is to be grabbed or
 <symbol>AnyButton</symbol>.
       </para>
     </listitem>
@@ -844,7 +843,6 @@ To ungrab a pointer button, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Bu released -->
       </para>
     </listitem>
   </varlistentry>
@@ -854,7 +852,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the pointer button that is to be (Bu or
+Specifies the pointer button that is to be released or
 <symbol>AnyButton</symbol>.
       </para>
     </listitem>
@@ -3303,7 +3301,6 @@ To obtain the symbols for the specified KeyCodes, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Kc returned -->
       </para>
     </listitem>
   </varlistentry>
@@ -3313,7 +3310,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the first KeyCode that is to be (Kc.
+Specifies the first KeyCode that is to be returned.
       </para>
     </listitem>
   </varlistentry>
@@ -3429,7 +3426,6 @@ To change the keyboard mapping, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Kc changed -->
       </para>
     </listitem>
   </varlistentry>
@@ -3439,7 +3435,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the first KeyCode that is to be (Kc.
+Specifies the first KeyCode that is to be changed.
       </para>
     </listitem>
   </varlistentry>
index e710414..096d860 100644 (file)
@@ -862,7 +862,6 @@ To set output method attributes, use
     <listitem>
       <para>
 Specifies the output method.
-<!-- .ds Al \ to set <acronym>XOM</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -872,7 +871,8 @@ Specifies the output method.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to set <acronym>XOM</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -915,7 +915,6 @@ To query an output method, use
     <listitem>
       <para>
 Specifies the output method.
-<!-- .ds Al \ to get XOM values -->
       </para>
     </listitem>
   </varlistentry>
@@ -925,7 +924,7 @@ Specifies the output method.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to get XOM values.
     </para>
   </listitem>
   </varlistentry>
@@ -1337,7 +1336,6 @@ To create an output context, use
     <listitem>
       <para>
 Specifies the output method.
-<!-- .ds Al \ to set <acronym>XOC</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -1347,7 +1345,8 @@ Specifies the output method.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to set <acronym>XOC</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -1504,7 +1503,6 @@ To set <acronym>XOC</acronym> values, use
     <listitem>
       <para>
 Specifies the output context.
-<!-- .ds Al \ to set <acronym>XOC</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -1514,7 +1512,8 @@ Specifies the output context.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to set <acronym>XOC</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -1581,7 +1580,6 @@ To obtain <acronym>XOC</acronym> values, use
     <listitem>
       <para>
 Specifies the output context.
-<!-- .ds Al \ to get XOC values -->
       </para>
     </listitem>
   </varlistentry>
@@ -1591,7 +1589,7 @@ Specifies the output context.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to get XOC values.
     </para>
   </listitem>
   </varlistentry>
@@ -3170,7 +3168,6 @@ Specifies the number of bytes in the string argument.
     <listitem>
       <para>
 Specifies the number of characters in the string argument.
-<!-- .ds Ov dimensions -->
       </para>
     </listitem>
   </varlistentry>
@@ -3379,7 +3376,6 @@ The caller must pass in arrays of this size.
     <listitem>
       <para>
 Returns the number of characters in the string argument.
-<!-- .ds Ov extents of the entire string -->
       </para>
     </listitem>
   </varlistentry>
@@ -3626,7 +3622,7 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates of the position in the new parent window.
       </para>
     </listitem>
   </varlistentry>
@@ -3789,7 +3785,7 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates of the position in the new parent window.
       </para>
     </listitem>
   </varlistentry>
@@ -3935,7 +3931,7 @@ Specifies the GC.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates of the position in the new parent window.
       </para>
     </listitem>
   </varlistentry>
@@ -5328,7 +5324,6 @@ To set input method attributes, use
     <listitem>
       <para>
 Specifies the input method.
-<!-- .ds Al \ to set <acronym>XIM</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -5338,7 +5333,8 @@ Specifies the input method.
     </term>
     <listitem>
       <para>
-Specifies the variable-length argument list(Al.
+Specifies the variable-length argument list to set <acronym>XIM</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -5381,7 +5377,6 @@ To query an input method, use
     <listitem>
       <para>
 Specifies the input method.
-<!-- .ds Al \ to get XIM values -->
       </para>
     </listitem>
   </varlistentry>
@@ -5391,7 +5386,7 @@ Specifies the input method.
     </term>
     <listitem>
       <para>
-Specifies the variable length argument list(Al.
+Specifies the variable length argument list to get XIM values.
     </para>
   </listitem>
   </varlistentry>
@@ -6339,7 +6334,6 @@ To create an input context, use
     <listitem>
       <para>
 Specifies the input method.
-<!-- .ds Al \ to set <acronym>XIC</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -6349,7 +6343,8 @@ Specifies the input method.
     </term>
     <listitem>
       <para>
-Specifies the variable length argument list(Al.
+Specifies the variable length argument list to set <acronym>XIC</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -6675,7 +6670,6 @@ To set <acronym>XIC</acronym> values, use
     <listitem>
       <para>
 Specifies the input context.
-<!-- .ds Al \ to set <acronym>XIC</acronym> values -->
       </para>
     </listitem>
   </varlistentry>
@@ -6685,7 +6679,8 @@ Specifies the input context.
     </term>
     <listitem>
       <para>
-Specifies the variable length argument list(Al.
+Specifies the variable length argument list to set <acronym>XIC</acronym>
+values.
     </para>
   </listitem>
   </varlistentry>
@@ -6758,7 +6753,6 @@ To obtain <acronym>XIC</acronym> values, use
     <listitem>
       <para>
 Specifies the input context.
-<!-- .ds Al \ to get XIC values -->
       </para>
     </listitem>
   </varlistentry>
@@ -6768,7 +6762,7 @@ Specifies the input context.
     </term>
     <listitem>
       <para>
-Specifies the variable length argument list(Al.
+Specifies the variable length argument list to get XIC values.
     </para>
   </listitem>
   </varlistentry>
@@ -9881,7 +9875,6 @@ To filter an event, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Ev event to filter -->
 <variablelist>
   <varlistentry>
     <term>
@@ -9889,8 +9882,7 @@ To filter an event, use
     </term>
     <listitem>
       <para>
-Specifies the (Ev.
-<!-- .ds Wi for which the filter is to be applied -->
+Specifies the event to filter.
       </para>
     </listitem>
   </varlistentry>
@@ -9900,7 +9892,7 @@ Specifies the (Ev.
     </term>
     <listitem>
       <para>
-Specifies the window (Wi.
+Specifies the window for which the filter is to be applied.
     </para>
   </listitem>
   </varlistentry>
@@ -9989,7 +9981,6 @@ or
     <listitem>
       <para>
 Specifies the input context.
-<!-- .ds Ev key event to be used -->
       </para>
     </listitem>
   </varlistentry>
@@ -9999,7 +9990,7 @@ Specifies the input context.
     </term>
     <listitem>
       <para>
-Specifies the (Ev.
+Specifies the key event to be used.
       </para>
     </listitem>
   </varlistentry>
index 6dc947a..d7bbf5e 100644 (file)
@@ -799,7 +799,6 @@ structure to be used.
     <listitem>
       <para>
 Returns a list of null-terminated character strings.
-<!-- .ds Cn strings -->
       </para>
     </listitem>
   </varlistentry>
@@ -809,7 +808,7 @@ Returns a list of null-terminated character strings.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of strings.
     </para>
   </listitem>
   </varlistentry>
@@ -1008,7 +1007,6 @@ structure, use
     <listitem>
       <para>
 Specifies a list of null-terminated character strings.
-<!-- .ds Cn strings -->
       </para>
     </listitem>
   </varlistentry>
@@ -1018,7 +1016,7 @@ Specifies a list of null-terminated character strings.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of strings.
       </para>
     </listitem>
   </varlistentry>
@@ -1095,7 +1093,6 @@ structure to be used.
     <listitem>
       <para>
 Returns a list of null-terminated character strings.
-<!-- .ds Cn strings -->
       </para>
     </listitem>
   </varlistentry>
@@ -1105,7 +1102,7 @@ Returns a list of null-terminated character strings.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of strings.
     </para>
   </listitem>
   </varlistentry>
@@ -3221,7 +3218,6 @@ Specifies the window.
     <listitem>
       <para>
 Specifies the list of protocols.
-<!-- .ds Cn protocols in the list -->
       </para>
     </listitem>
   </varlistentry>
@@ -3231,7 +3227,7 @@ Specifies the list of protocols.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of protocols in the list.
     </para>
   </listitem>
   </varlistentry>
@@ -3308,7 +3304,6 @@ Specifies the window.
     <listitem>
       <para>
 Returns the list of protocols.
-<!-- .ds Cn protocols in the list -->
       </para>
     </listitem>
   </varlistentry>
@@ -3318,7 +3313,7 @@ Returns the list of protocols.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of protocols in the list.
     </para>
   </listitem>
   </varlistentry>
@@ -3407,7 +3402,6 @@ Specifies the window.
     <listitem>
       <para>
 Specifies the list of windows.
-<!-- .ds Cn windows in the list -->
       </para>
     </listitem>
   </varlistentry>
@@ -3417,7 +3411,7 @@ Specifies the list of windows.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of windows in the list.
     </para>
   </listitem>
   </varlistentry>
@@ -3494,7 +3488,6 @@ Specifies the window.
     <listitem>
       <para>
 Returns the list of windows.
-<!-- .ds Cn windows in the list -->
       </para>
     </listitem>
   </varlistentry>
@@ -3504,7 +3497,7 @@ Returns the list of windows.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of windows in the list.
     </para>
   </listitem>
   </varlistentry>
@@ -4980,7 +4973,6 @@ Specifies the window.
 Specifies the
 <structname>XStandardColormap</structname>
 structure to be used.
-<!-- .ds Cn colormaps -->
       </para>
     </listitem>
   </varlistentry>
@@ -4990,7 +4982,7 @@ structure to be used.
     </term>
     <listitem>
       <para>
-Specifies the number of (Cn.
+Specifies the number of colormaps.
       </para>
     </listitem>
   </varlistentry>
@@ -5160,7 +5152,6 @@ Specifies the window.
 Returns the
 <structname>XStandardColormap</structname>
 structure.
-<!-- .ds Cn colormaps -->
       </para>
     </listitem>
   </varlistentry>
@@ -5170,7 +5161,7 @@ structure.
     </term>
     <listitem>
       <para>
-Returns the number of (Cn.
+Returns the number of colormaps.
       </para>
     </listitem>
   </varlistentry>
index f6c76a4..2180c6d 100644 (file)
@@ -532,7 +532,6 @@ To convert a string with one or more components to a quark list, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Ql \ list -->
 <variablelist>
   <varlistentry>
     <term>
@@ -540,7 +539,7 @@ To convert a string with one or more components to a quark list, use
     </term>
     <listitem>
       <para>
-Specifies the string for which a quark(Ql is to be allocated.
+Specifies the string for which a quark list is to be allocated.
       </para>
     </listitem>
   </varlistentry>
@@ -608,7 +607,6 @@ and a quark list, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Ql \ list -->
 <variablelist>
   <varlistentry>
     <term>
@@ -616,7 +614,7 @@ and a quark list, use
     </term>
     <listitem>
       <para>
-Specifies the string for which a quark(Ql is to be allocated.
+Specifies the string for which a quark list is to be allocated.
       </para>
     </listitem>
   </varlistentry>
index e70b799..790cb01 100644 (file)
@@ -320,7 +320,6 @@ To obtain the uppercase and lowercase forms of a KeySym, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Fn converted -->
 <variablelist>
   <varlistentry>
     <term>
@@ -328,7 +327,7 @@ To obtain the uppercase and lowercase forms of a KeySym, use
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be converted.
       </para>
     </listitem>
   </varlistentry>
@@ -431,7 +430,6 @@ To convert a KeySym code to the name of the KeySym, use
 </funcprototype>
 </funcsynopsis>
 <!-- .FN -->
-<!-- .ds Fn converted -->
 <variablelist>
   <varlistentry>
     <term>
@@ -439,7 +437,7 @@ To convert a KeySym code to the name of the KeySym, use
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be converted.
     </para>
   </listitem>
   </varlistentry>
@@ -466,7 +464,6 @@ You can use KeySym macros to perform the following tests.
 </para>
 <para>IsCursorKey(<emphasis remap='I'>keysym</emphasis>)</para>
 <!-- .FN -->
-<!-- .ds Fn tested -->
 <variablelist>
   <varlistentry>
     <term>
@@ -493,7 +490,6 @@ if the specified KeySym is a cursor key.
 <!-- .sM -->
 <para>IsFunctionKey(<emphasis remap='I'>keysym</emphasis>)</para>
 <!-- .FN -->
-<!-- .ds Fn tested -->
 <variablelist>
   <varlistentry>
     <term>
@@ -520,7 +516,6 @@ if the specified KeySym is a function key.
 <!-- .sM -->
 <para>IsKeypadKey(<emphasis remap='I'>keysym</emphasis>)</para>
 <!-- .FN -->
-<!-- .ds Fn tested -->
 <variablelist>
   <varlistentry>
     <term>
@@ -528,7 +523,7 @@ if the specified KeySym is a function key.
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be tested.
     </para>
   </listitem>
   </varlistentry>
@@ -554,7 +549,7 @@ if the specified KeySym is a standard keypad key.
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be tested.
     </para>
   </listitem>
   </varlistentry>
@@ -574,7 +569,6 @@ if the specified KeySym is a vendor-private keypad key.
 <!-- .sM -->
 <para>IsMiscFunctionKey(<emphasis remap='I'>keysym</emphasis>)</para>
 <!-- .FN -->
-<!-- .ds Fn tested -->
 <variablelist>
   <varlistentry>
     <term>
@@ -582,7 +576,7 @@ if the specified KeySym is a vendor-private keypad key.
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be tested.
     </para>
   </listitem>
   </varlistentry>
@@ -815,7 +809,6 @@ use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Fn rebound -->
       </para>
     </listitem>
   </varlistentry>
@@ -825,7 +818,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the KeySym that is to be (Fn.
+Specifies the KeySym that is to be rebound.
       </para>
     </listitem>
   </varlistentry>
@@ -1480,7 +1473,6 @@ To move a region by a specified amount, use
     <listitem>
       <para>
 Specifies the region.
-<!-- .ds Dy move -->
       </para>
     </listitem>
   </varlistentry>
@@ -1502,7 +1494,7 @@ Specifies the region.
     <listitem>
       <para>
 Specify the x and y coordinates,
-which define the amount you want to (Dy the specified region.
+which define the amount you want to move the specified region.
     </para>
   </listitem>
   </varlistentry>
@@ -1532,7 +1524,6 @@ To reduce a region by a specified amount, use
     <listitem>
       <para>
 Specifies the region.
-<!-- .ds Dy shrink -->
       </para>
     </listitem>
   </varlistentry>
@@ -1554,7 +1545,7 @@ Specifies the region.
     <listitem>
       <para>
 Specify the x and y coordinates,
-which define the amount you want to (Dy the specified region.
+which define the amount you want to shrink the specified region.
     </para>
   </listitem>
   </varlistentry>
@@ -1996,7 +1987,6 @@ To determine if a specified point resides in a specified region, use
     <listitem>
       <para>
 Specifies the region.
-<!-- .ds Xy , which define the point -->
       </para>
     </listitem>
   </varlistentry>
@@ -2017,7 +2007,7 @@ Specifies the region.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
+Specify the x and y coordinates, which define the point.
     </para>
   </listitem>
   </varlistentry>
@@ -2056,7 +2046,6 @@ To determine if a specified rectangle is inside a region, use
     <listitem>
       <para>
 Specifies the region.
-<!-- .ds Xy , which define the coordinates of the upper-left corner of the rectangle -->
       </para>
     </listitem>
   </varlistentry>
@@ -2077,8 +2066,8 @@ Specifies the region.
     </term>
     <listitem>
       <para>
-Specify the x and y coordinates(Xy.
-<!-- .ds Wh , which define the rectangle -->
+Specify the x and y coordinates, which define the coordinates of the
+upper-left corner of the rectangle.
       </para>
     </listitem>
   </varlistentry>
@@ -2099,7 +2088,7 @@ Specify the x and y coordinates(Xy.
     </term>
     <listitem>
       <para>
-Specify the width and height(Wh.
+Specify the width and height, which define the rectangle.
     </para>
   </listitem>
   </varlistentry>
@@ -2255,7 +2244,6 @@ Specifies the bytes, which are not necessarily ASCII or null-terminated.
     <listitem>
       <para>
 Specifies the number of bytes to be stored.
-<!-- .ds Fn in which you want to store the bytes -->
       </para>
     </listitem>
   </varlistentry>
@@ -2265,7 +2253,7 @@ Specifies the number of bytes to be stored.
     </term>
     <listitem>
       <para>
-Specifies the buffer (Fn.
+Specifies the buffer in which you want to store the bytes.
     </para>
   </listitem>
   </varlistentry>
@@ -2371,7 +2359,6 @@ Specifies the connection to the X server.
     <listitem>
       <para>
 Returns the number of bytes in the buffer.
-<!-- .ds Fn from which you want the stored data returned -->
       </para>
     </listitem>
   </varlistentry>
@@ -2381,7 +2368,7 @@ Returns the number of bytes in the buffer.
     </term>
     <listitem>
       <para>
-Specifies the buffer (Fn.
+Specifies the buffer from which you want the stored data returned.
     </para>
   </listitem>
   </varlistentry>
@@ -3306,7 +3293,6 @@ To read a bitmap from a file and store it in a pixmap, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Dr \ that indicates the screen -->
       </para>
     </listitem>
   </varlistentry>
@@ -3316,7 +3302,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the drawable(Dr. 
+Specifies the drawable that indicates the screen.
       </para>
     </listitem>
   </varlistentry>
@@ -3685,7 +3671,6 @@ To create a pixmap and then store bitmap-format data into it, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Dr \ that indicates the screen -->
       </para>
     </listitem>
   </varlistentry>
@@ -3695,7 +3680,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the drawable(Dr. 
+Specifies the drawable that indicates the screen.
       </para>
     </listitem>
   </varlistentry>
@@ -3815,7 +3800,6 @@ in a program directly, as opposed to reading it in every time at run time, use
     <listitem>
       <para>
 Specifies the connection to the X server.
-<!-- .ds Dr \ that indicates the screen -->
       </para>
     </listitem>
   </varlistentry>
@@ -3825,7 +3809,7 @@ Specifies the connection to the X server.
     </term>
     <listitem>
       <para>
-Specifies the drawable(Dr. 
+Specifies the drawable that indicates the screen.
       </para>
     </listitem>
   </varlistentry>
diff --git a/specs/libX11/Makefile.in b/specs/libX11/Makefile.in
deleted file mode 100644 (file)
index 345dae4..0000000
+++ /dev/null
@@ -1,628 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-#
-# Generate output formats for a single DocBook/XML with/without chapters
-#
-# Variables set by the calling Makefile:
-# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
-# docbook:  the main DocBook/XML file, no chapters, appendix or image files
-# chapters: all files pulled in by an XInclude statement and images.
-#
-
-#
-# This makefile is intended for Users Documentation and Functional Specifications.
-# Do not use for Developer Documentation which is not installed and does not require olink.
-# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
-# for an explanation on documents classification.
-#
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in $(top_srcdir)/docbook.am
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(docbook:.xml=.ps)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(docbook:.xml=.pdf.db)
-subdir = specs/libX11
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-SOURCES =
-DIST_SOURCES =
-am__dist_shelf_DATA_DIST = libX11.xml AppA.xml AppB.xml AppC.xml \
-       AppD.xml CH01.xml CH02.xml CH03.xml CH04.xml CH05.xml CH06.xml \
-       CH07.xml CH08.xml CH09.xml CH10.xml CH11.xml CH12.xml CH13.xml \
-       CH14.xml CH15.xml CH16.xml credits.xml glossary.xml
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
-DATA = $(dist_shelf_DATA) $(shelf_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-# Main DocBook/XML files (DOCTYPE book)
-@ENABLE_SPECS_TRUE@docbook = libX11.xml
-
-# Included chapters, appendix, images
-@ENABLE_SPECS_TRUE@chapters = \
-@ENABLE_SPECS_TRUE@    AppA.xml        \
-@ENABLE_SPECS_TRUE@    AppB.xml        \
-@ENABLE_SPECS_TRUE@    AppC.xml        \
-@ENABLE_SPECS_TRUE@    AppD.xml        \
-@ENABLE_SPECS_TRUE@    CH01.xml        \
-@ENABLE_SPECS_TRUE@    CH02.xml        \
-@ENABLE_SPECS_TRUE@    CH03.xml        \
-@ENABLE_SPECS_TRUE@    CH04.xml        \
-@ENABLE_SPECS_TRUE@    CH05.xml        \
-@ENABLE_SPECS_TRUE@    CH06.xml        \
-@ENABLE_SPECS_TRUE@    CH07.xml        \
-@ENABLE_SPECS_TRUE@    CH08.xml        \
-@ENABLE_SPECS_TRUE@    CH09.xml        \
-@ENABLE_SPECS_TRUE@    CH10.xml        \
-@ENABLE_SPECS_TRUE@    CH11.xml        \
-@ENABLE_SPECS_TRUE@    CH12.xml        \
-@ENABLE_SPECS_TRUE@    CH13.xml        \
-@ENABLE_SPECS_TRUE@    CH14.xml        \
-@ENABLE_SPECS_TRUE@    CH15.xml        \
-@ENABLE_SPECS_TRUE@    CH16.xml        \
-@ENABLE_SPECS_TRUE@    credits.xml     \
-@ENABLE_SPECS_TRUE@    glossary.xml
-
-
-# The location where the DocBook/XML files and their generated formats are installed
-@ENABLE_SPECS_TRUE@shelfdir = $(docdir)/libX11
-
-# DocBook/XML generated output formats to be installed
-@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
-@ENABLE_SPECS_TRUE@    $(am__append_3) $(am__append_4)
-
-# DocBook/XML file with chapters, appendix and images it includes
-@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(XORG_SGML_PATH)/X11"            \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --searchpath "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(XMLTO_HTML_OLINK_FLAGS)
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     --stringparam current.docid="$(<:.xml=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_SEARCHPATH_FLAGS)                       \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_STYLESHEET_FLAGS)                    \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(XMLTO_PDF_OLINK_FLAGS)
-
-
-# Generate documents cross-reference target databases
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(XORG_SGML_PATH)/X11"                  \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --path "$(abs_top_builddir)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam targets.filename "$@"             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam collect.xref.targets "only"       \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --stringparam olink.base.uri "$(@:.db=)"
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_SEARCHPATH_FLAGS)                        \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(XSLT_OLINK_FLAGS)                             \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        --nonet --xinclude                              \
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(STYLESHEET_SRCDIR)/xorg-fo.xsl
-
-@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/libX11/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign specs/libX11/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_shelfDATA: $(dist_shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-dist_shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-install-shelfDATA: $(shelf_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(shelfdir)" || $(MKDIR_P) "$(DESTDIR)$(shelfdir)"
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shelfdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(shelfdir)" || exit $$?; \
-       done
-
-uninstall-shelfDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(shelf_DATA)'; test -n "$(shelfdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(shelfdir)'; $(am__uninstall_files_from_dir)
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
-       -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_shelfDATA install-shelfDATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_shelfDATA uninstall-shelfDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
-       distclean distclean-generic distclean-libtool distdir dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-data install-data-am install-dist_shelfDATA \
-       install-dvi install-dvi-am install-exec install-exec-am \
-       install-html install-html-am install-info install-info-am \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-shelfDATA install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-dist_shelfDATA uninstall-shelfDATA
-
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@    $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@      $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@     $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml  $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
-@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@        $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
-
-# Generate DocBook/XML output formats with or without stylesheets
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/src/.gitignore b/src/.gitignore
new file mode 100644 (file)
index 0000000..51ef04e
--- /dev/null
@@ -0,0 +1,2 @@
+#              Add & Override for this directory and it's subdirectories
+ks_tables.h
index ddd9c22..6e97e11 100644 (file)
@@ -53,8 +53,13 @@ Status XAllocColorCells(
     status = _XReply(dpy, (xReply *)&rep, 0, xFalse);
 
     if (status) {
-       _XRead32 (dpy, (long *) pixels, 4L * (long) (rep.nPixels));
-       _XRead32 (dpy, (long *) masks, 4L * (long) (rep.nMasks));
+       if ((rep.nPixels > ncolors) || (rep.nMasks > nplanes)) {
+           _XEatDataWords(dpy, rep.length);
+           status = 0; /* Failure */
+       } else {
+           _XRead32 (dpy, (long *) pixels, 4L * (long) (rep.nPixels));
+           _XRead32 (dpy, (long *) masks, 4L * (long) (rep.nMasks));
+       }
     }
 
     UnlockDisplay(dpy);
index b957751..190a224 100644 (file)
@@ -62,7 +62,7 @@ XChangeProperty (
        len = ((long)nelements + 3)>>2;
        if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) {
            SetReqLen(req, len, len);
-           Data (dpy, (char *)data, nelements);
+           Data (dpy, (_Xconst char *)data, nelements);
        } /* else force BadLength */
         break;
 
@@ -71,7 +71,7 @@ XChangeProperty (
        if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) {
            SetReqLen(req, len, len);
            len = (long)nelements << 1;
-           Data16 (dpy, (short *) data, len);
+           Data16 (dpy, (_Xconst short *) data, len);
        } /* else force BadLength */
        break;
 
@@ -80,7 +80,7 @@ XChangeProperty (
        if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) {
            SetReqLen(req, len, len);
            len = (long)nelements << 2;
-           Data32 (dpy, (long *) data, len);
+           Data32 (dpy, (_Xconst long *) data, len);
        } /* else force BadLength */
        break;
 
index fbd6e88..89a81e1 100644 (file)
@@ -43,20 +43,11 @@ XResizeWindow(
 
     req->window = w;
     req->mask = CWWidth | CWHeight;
-#ifdef MUSTCOPY
-    {
-       unsigned long lwidth = width, lheight = height;
-    dpy->bufptr -= 8;
-    Data32 (dpy, (long *) &lwidth, 4); /* order dictated by values of */
-    Data32 (dpy, (long *) &lheight, 4);        /* CWWidth and CWHeight */
-    }
-#else
     {
        CARD32 *valuePtr = (CARD32 *) NEXTPTR(req,xConfigureWindowReq);
        *valuePtr++ = width;
        *valuePtr = height;
     }
-#endif /* MUSTCOPY */
     UnlockDisplay(dpy);
     SyncHandle();
     return 1;
index 062b538..78cc3ea 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef _CMAP_H_
 #define _CMAP_H_
 
+#include <X11/Xlib.h>
+
 extern void
 _XcmsDeleteCmapRec(
     Display *dpy,
index dd55b44..eefce4d 100644 (file)
@@ -44,18 +44,6 @@ XMoveResizeWindow(
     GetReqExtra(ConfigureWindow, 16, req);
     req->window = w;
     req->mask = CWX | CWY | CWWidth | CWHeight;
-#ifdef MUSTCOPY
-    {
-       long lx = x, ly = y;
-       unsigned long lwidth = width, lheight = height;
-
-       dpy->bufptr -= 16;
-       Data32 (dpy, (long *) &lx, 4);  /* order must match values of */
-       Data32 (dpy, (long *) &ly, 4);  /* CWX, CWY, CWWidth, and CWHeight */
-       Data32 (dpy, (long *) &lwidth, 4);
-       Data32 (dpy, (long *) &lheight, 4);
-    }
-#else
     {
        register CARD32 *valuePtr =
          (CARD32 *) NEXTPTR(req,xConfigureWindowReq);
@@ -64,7 +52,6 @@ XMoveResizeWindow(
        *valuePtr++ = width;
        *valuePtr   = height;
     }
-#endif /* MUSTCOPY */
     UnlockDisplay(dpy);
     SyncHandle();
     return 1;
index 79ae7d6..8a07871 100644 (file)
@@ -111,7 +111,7 @@ static void ResizeTable(DB db)
     otable = db->table;
     for (i = INITHASHMASK+1; (i + i) < db->numentries; )
        i += i;
-    db->table = (TableEntry *) Xcalloc((unsigned)i, sizeof(TableEntry));
+    db->table = Xcalloc(i, sizeof(TableEntry));
     if (!db->table) {
        db->table = otable;
        return;
@@ -126,7 +126,7 @@ static void ResizeTable(DB db)
            *head = entry;
        }
     }
-    Xfree((char *) otable);
+    Xfree(otable);
 }
 
 static void _XFreeContextDB(Display *display)
@@ -140,12 +140,12 @@ static void _XFreeContextDB(Display *display)
        for (i = db->mask + 1, pentry = db->table ; --i >= 0; pentry++) {
            for (entry = *pentry; entry; entry = next) {
                next = entry->next;
-               Xfree((char *)entry);
+               Xfree(entry);
            }
        }
-       Xfree((char *) db->table);
+       Xfree(db->table);
        _XFreeMutex(&db->linfo);
-       Xfree((char *) db);
+       Xfree(db);
     }
 }
 
@@ -180,13 +180,13 @@ int XSaveContext(
        UnlockDisplay(display);
     }
     if (!db) {
-       db = (DB) Xmalloc(sizeof(DBRec));
+       db = Xmalloc(sizeof(DBRec));
        if (!db)
            return XCNOMEM;
        db->mask = INITHASHMASK;
-       db->table = (TableEntry *)Xcalloc(db->mask + 1, sizeof(TableEntry));
+       db->table = Xcalloc(db->mask + 1, sizeof(TableEntry));
        if (!db->table) {
-           Xfree((char *)db);
+           Xfree(db);
            return XCNOMEM;
        }
        db->numentries = 0;
@@ -210,7 +210,7 @@ int XSaveContext(
            return 0;
        }
     }
-    entry = (TableEntry) Xmalloc(sizeof(TableEntryRec));
+    entry = Xmalloc(sizeof(TableEntryRec));
     if (!entry)
        return XCNOMEM;
     entry->rid = rid;
@@ -289,7 +289,7 @@ int XDeleteContext(Display *display, XID rid, XContext context)
         prev = &entry->next) {
        if (entry->rid == rid && entry->context == context) {
            *prev = entry->next;
-           Xfree((char *) entry);
+           Xfree(entry);
            db->numentries--;
            if (db->numentries < db->mask && db->mask > INITHASHMASK)
                ResizeTable(db);
index 800c9ab..635e9e4 100644 (file)
--- a/src/Cr.h
+++ b/src/Cr.h
@@ -2,6 +2,8 @@
 #ifndef _CR_H_
 #define _CR_H_
 
+#include <X11/Xlib.h>
+
 extern int _XUpdateGCCache(
     register GC gc,
     register unsigned long mask,
index 4490956..6708a9b 100644 (file)
@@ -53,27 +53,28 @@ Pixmap XCreateBitmapFromData(
      unsigned int width,
      unsigned int height)
 {
-    XImage ximage;
-    GC gc;
-    Pixmap pix;
-
-    pix = XCreatePixmap(display, d, width, height, 1);
-    if (! (gc = XCreateGC(display, pix, (unsigned long) 0, (XGCValues *) 0)))
-       return (Pixmap) None;
-    ximage.height = height;
-    ximage.width = width;
-    ximage.depth = 1;
-    ximage.bits_per_pixel = 1;
-    ximage.xoffset = 0;
-    ximage.format = XYPixmap;
-    ximage.data = (char *)data;
-    ximage.byte_order = LSBFirst;
-    ximage.bitmap_unit = 8;
-    ximage.bitmap_bit_order = LSBFirst;
-    ximage.bitmap_pad = 8;
-    ximage.bytes_per_line = (width+7)/8;
-
-    XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
-    XFreeGC(display, gc);
-    return(pix);
+    Pixmap pix = XCreatePixmap(display, d, width, height, 1);
+    GC gc = XCreateGC(display, pix, (unsigned long) 0, (XGCValues *) 0);
+    if (gc == NULL) {
+        XFreePixmap(display, pix);
+        return (Pixmap) None;
+    } else {
+        XImage ximage = {
+            .height = height,
+            .width = width,
+            .depth = 1,
+            .bits_per_pixel = 1,
+            .xoffset = 0,
+            .format = XYPixmap,
+            .data = (char *) data,
+            .byte_order = LSBFirst,
+            .bitmap_unit = 8,
+            .bitmap_bit_order = LSBFirst,
+            .bitmap_pad = 8,
+            .bytes_per_line = (width + 7) / 8,
+        };
+        XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
+        XFreeGC(display, gc);
+        return(pix);
+    }
 }
index 11de94c..2d5f17c 100644 (file)
@@ -72,7 +72,7 @@ GC XCreateGC (
     register _XExtension *ext;
 
     LockDisplay(dpy);
-    if ((gc = (GC)Xmalloc (sizeof(struct _XGC))) == NULL) {
+    if ((gc = Xmalloc (sizeof(struct _XGC))) == NULL) {
        UnlockDisplay(dpy);
        SyncHandle();
        return (NULL);
index 57cd153..17d551b 100644 (file)
@@ -58,30 +58,32 @@ Pixmap XCreatePixmapFromBitmapData(
     unsigned long bg,
     unsigned int depth)
 {
-    XImage ximage;
-    GC gc;
-    XGCValues gcv;
-    Pixmap pix;
-
-    pix = XCreatePixmap(display, d, width, height, depth);
-    gcv.foreground = fg;
-    gcv.background = bg;
-    if (! (gc = XCreateGC(display, pix, GCForeground|GCBackground, &gcv)))
-       return (Pixmap) NULL;
-    ximage.height = height;
-    ximage.width = width;
-    ximage.depth = 1;
-    ximage.bits_per_pixel = 1;
-    ximage.xoffset = 0;
-    ximage.format = XYBitmap;
-    ximage.data = data;
-    ximage.byte_order = LSBFirst;
-    ximage.bitmap_unit = 8;
-    ximage.bitmap_bit_order = LSBFirst;
-    ximage.bitmap_pad = 8;
-    ximage.bytes_per_line = (width+7)/8;
-
-    XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
-    XFreeGC(display, gc);
-    return(pix);
+    Pixmap pix = XCreatePixmap(display, d, width, height, depth);
+    XGCValues gcv = {
+        .foreground = fg,
+        .background = bg
+    };
+    GC gc = XCreateGC(display, pix, GCForeground|GCBackground, &gcv);
+    if (gc == NULL) {
+        XFreePixmap(display, pix);
+        return (Pixmap) None;
+    } else {
+        XImage ximage = {
+            .height = height,
+            .width = width,
+            .depth = 1,
+            .bits_per_pixel = 1,
+            .xoffset = 0,
+            .format = XYBitmap,
+            .data = data,
+            .byte_order = LSBFirst,
+            .bitmap_unit = 8,
+            .bitmap_bit_order = LSBFirst,
+            .bitmap_pad = 8,
+            .bytes_per_line = (width + 7) / 8
+        };
+        XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
+        XFreeGC(display, gc);
+        return(pix);
+    }
 }
index 23f7ddc..7b54601 100644 (file)
@@ -57,20 +57,11 @@ Window XCreateSimpleWindow(
     wid = req->wid = XAllocID(dpy);
     req->mask = CWBackPixel | CWBorderPixel;
 
-#ifdef MUSTCOPY
-    {
-       unsigned long lbackground = background, lborder = border;
-       dpy->bufptr -= 8;
-       Data32 (dpy, (long *) &lbackground, 4);
-       Data32 (dpy, (long *) &lborder, 4);
-    }
-#else
     {
        register CARD32 *valuePtr = (CARD32 *) NEXTPTR(req,xCreateWindowReq);
        *valuePtr++ = background;
        *valuePtr = border;
     }
-#endif /* MUSTCOPY */
 
     UnlockDisplay(dpy);
     SyncHandle();
index f49655c..a8b719d 100644 (file)
@@ -49,7 +49,7 @@ int *XListDepths (
        register Depth *dp;
        register int i;
 
-       depths = (int *) Xmalloc (count * sizeof(int));
+       depths = Xmalloc (count * sizeof(int));
        if (!depths) return NULL;
        for (i = 0, dp = scr->depths; i < count; i++, dp++)
          depths[i] = dp->depth;
index 1dc4a07..d72fac9 100644 (file)
@@ -49,12 +49,6 @@ XDrawArc(
 {
     register xPolyArcReq *req;
     register xArc *arc;
-#ifdef MUSTCOPY
-    xArc arcdata;
-    long len = SIZEOF(xArc);
-
-    arc = &arcdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -63,9 +57,7 @@ XDrawArc(
     req->drawable = d;
     req->gc = gc->gid;
 
-#ifndef MUSTCOPY
     arc = (xArc *) NEXTPTR(req,xPolyArcReq);
-#endif /* MUSTCOPY */
 
     arc->x = x;
     arc->y = y;
@@ -74,10 +66,6 @@ XDrawArc(
     arc->angle1 = angle1;
     arc->angle2 = angle2;
 
-#ifdef MUSTCOPY
-    dpy->bufptr -= SIZEOF(xArc);
-    Data (dpy, (char *) arc, len);
-#endif /* MUSTCOPY */
 
     UnlockDisplay(dpy);
     SyncHandle();
index 3786f59..dc82d5a 100644 (file)
@@ -45,12 +45,6 @@ XDrawLine (
     int y2)
 {
     register xSegment *segment;
-#ifdef MUSTCOPY
-    xSegment segmentdata;
-    long len = SIZEOF(xSegment);
-
-    segment = &segmentdata;
-#endif /* not MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -67,21 +61,15 @@ XDrawLine (
        && (((char *)dpy->bufptr - (char *)req) < (gc->values.line_width ?
                                                  wsize : zsize)) ) {
         req->length += SIZEOF(xSegment) >> 2;
-#ifndef MUSTCOPY
          segment = (xSegment *) dpy->bufptr;
         dpy->bufptr += SIZEOF(xSegment);
-#endif /* not MUSTCOPY */
         }
 
     else {
        GetReqExtra (PolySegment, SIZEOF(xSegment), req);
        req->drawable = d;
        req->gc = gc->gid;
-#ifdef MUSTCOPY
-       dpy->bufptr -= SIZEOF(xSegment);
-#else
        segment = (xSegment *) NEXTPTR(req,xPolySegmentReq);
-#endif /* MUSTCOPY */
        }
 
     segment->x1 = x1;
@@ -89,10 +77,6 @@ XDrawLine (
     segment->x2 = x2;
     segment->y2 = y2;
 
-#ifdef MUSTCOPY
-    Data (dpy, (char *) &segmentdata, len);
-#endif /* MUSTCOPY */
-
     UnlockDisplay(dpy);
     SyncHandle();
     }
index 5c89b5c..f0332e8 100644 (file)
@@ -42,12 +42,6 @@ XDrawPoint(
     int y) /* INT16 */
 {
     xPoint *point;
-#ifdef MUSTCOPY
-    xPoint pointdata;
-    long len = SIZEOF(xPoint);
-
-    point = &pointdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -65,10 +59,8 @@ XDrawPoint(
        && ((dpy->bufptr + SIZEOF(xPoint)) <= dpy->bufmax)
        && (((char *)dpy->bufptr - (char *)req) < size) ) {
         req->length += SIZEOF(xPoint) >> 2;
-#ifndef MUSTCOPY
          point = (xPoint *) dpy->bufptr;
         dpy->bufptr += SIZEOF(xPoint);
-#endif /* not MUSTCOPY */
         }
 
     else {
@@ -76,19 +68,12 @@ XDrawPoint(
        req->drawable = d;
        req->gc = gc->gid;
        req->coordMode = CoordModeOrigin;
-#ifdef MUSTCOPY
-       dpy->bufptr -= SIZEOF(xPoint);
-#else
        point = (xPoint *) NEXTPTR(req,xPolyPointReq);
-#endif /* MUSTCOPY */
        }
 
     point->x = x;
     point->y = y;
 
-#ifdef MUSTCOPY
-    Data (dpy, (char *) point, len);
-#endif /* MUSTCOPY */
     }
     UnlockDisplay(dpy);
     SyncHandle();
index dadd55e..d9141ee 100644 (file)
@@ -45,12 +45,6 @@ XDrawRectangle(
     unsigned int height) /* CARD16 */
 {
     xRectangle *rect;
-#ifdef MUSTCOPY
-    xRectangle rectdata;
-    long len = SIZEOF(xRectangle);
-
-    rect = &rectdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -67,21 +61,15 @@ XDrawRectangle(
        && (((char *)dpy->bufptr - (char *)req) < (gc->values.line_width ?
                                                  wsize : zsize)) ) {
         req->length += SIZEOF(xRectangle) >> 2;
-#ifndef MUSTCOPY
          rect = (xRectangle *) dpy->bufptr;
         dpy->bufptr += SIZEOF(xRectangle);
-#endif /* not MUSTCOPY */
         }
 
     else {
        GetReqExtra(PolyRectangle, SIZEOF(xRectangle), req);
        req->drawable = d;
        req->gc = gc->gid;
-#ifdef MUSTCOPY
-       dpy->bufptr -= SIZEOF(xRectangle);
-#else
        rect = (xRectangle *) NEXTPTR(req,xPolyRectangleReq);
-#endif /* MUSTCOPY */
        }
 
     rect->x = x;
@@ -89,10 +77,6 @@ XDrawRectangle(
     rect->width = width;
     rect->height = height;
 
-#ifdef MUSTCOPY
-    Data (dpy, (char *) rect, len);    /* subtracted bufptr up above */
-#endif /* MUSTCOPY */
-
     }
     UnlockDisplay(dpy);
     SyncHandle();
index 9a5b180..ef5edad 100644 (file)
@@ -109,7 +109,7 @@ XGetErrorText(
 
     if (nbytes == 0) return 0;
     if (code <= BadImplementation && code > 0) {
-       sprintf(buf, "%d", code);
+        snprintf(buf, sizeof(buf), "%d", code);
         (void) XGetErrorDatabaseText(dpy, "XProtoError", buf,
                                      _XErrorList + _XErrorOffsets[code],
                                     buffer, nbytes);
@@ -125,11 +125,12 @@ XGetErrorText(
            bext = ext;
     }
     if (!buffer[0] && bext) {
-       sprintf(buf, "%s.%d", bext->name, code - bext->codes.first_error);
+       snprintf(buf, sizeof(buf), "%s.%d",
+                 bext->name, code - bext->codes.first_error);
        (void) XGetErrorDatabaseText(dpy, "XProtoError", buf, "", buffer, nbytes);
     }
     if (!buffer[0])
-       sprintf(buffer, "%d", code);
+       snprintf(buffer, nbytes, "%d", code);
     return 0;
 }
 
@@ -190,7 +191,7 @@ XGetErrorDatabaseText(
        else
            tptr = Xmalloc (tlen);
        if (tptr) {
-           sprintf(tptr, "%s.%s", name, type);
+           snprintf(tptr, tlen, "%s.%s", name, type);
            XrmGetResource(db, tptr, "ErrorType.ErrorNumber",
              &type_str, &result);
            if (tptr != temp)
index 910e602..12d0406 100644 (file)
@@ -112,7 +112,7 @@ _XParseBaseFontNameList(
        if (!*ptr)
            break;
     }
-    if (!(list = (char **) Xmalloc((unsigned)sizeof(char *) * (*num + 1)))) {
+    if (!(list = Xmalloc(sizeof(char *) * (*num + 1)))) {
        Xfree(psave);
        return (char **)NULL;
     }
@@ -133,7 +133,7 @@ copy_string_list(
     if (string_list == NULL || list_count <= 0)
        return (char **) NULL;
 
-    string_list_ret = (char **) Xmalloc(sizeof(char *) * list_count);
+    string_list_ret = Xmalloc(sizeof(char *) * list_count);
     if (string_list_ret == NULL)
        return (char **) NULL;
 
@@ -142,7 +142,7 @@ copy_string_list(
     for (length = 0; count-- > 0; list_src++)
        length += strlen(*list_src) + 1;
 
-    dst = (char *) Xmalloc(length);
+    dst = Xmalloc(length);
     if (dst == NULL) {
        Xfree(string_list_ret);
        return (char **) NULL;
index 22bd460..8605a6d 100644 (file)
@@ -58,7 +58,7 @@ Status XFetchName (
        *name = (char *)data;
        return(1);
        }
-    if (data) Xfree ((char *)data);
+    if (data) Xfree (data);
     *name = NULL;
     return(0);
 }
@@ -89,7 +89,7 @@ Status XGetIconName (
        *icon_name = (char*)data;
        return(1);
        }
-    if (data) Xfree ((char *)data);
+    if (data) Xfree (data);
     *icon_name = NULL;
     return(0);
 }
index 0f1ad02..c67f977 100644 (file)
@@ -46,12 +46,6 @@ XFillArc(
     int angle2) /* INT16 */
 {
     xArc *arc;
-#ifdef MUSTCOPY
-    xArc arcdata;
-    long len = SIZEOF(xArc);
-
-    arc = &arcdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -67,10 +61,8 @@ XFillArc(
        && ((dpy->bufptr + SIZEOF(xArc)) <= dpy->bufmax)
        && (((char *)dpy->bufptr - (char *)req) < size) ) {
         req->length += SIZEOF(xArc) >> 2;
-#ifndef MUSTCOPY
          arc = (xArc *) dpy->bufptr;
         dpy->bufptr += SIZEOF(xArc);
-#endif /* not MUSTCOPY */
         }
 
     else {
@@ -78,11 +70,7 @@ XFillArc(
 
        req->drawable = d;
        req->gc = gc->gid;
-#ifdef MUSTCOPY
-       dpy->bufptr -= SIZEOF(xArc);
-#else
        arc = (xArc *) NEXTPTR(req,xPolyFillArcReq);
-#endif /* MUSTCOPY */
        }
     arc->x = x;
     arc->y = y;
@@ -91,10 +79,6 @@ XFillArc(
     arc->angle1 = angle1;
     arc->angle2 = angle2;
 
-#ifdef MUSTCOPY
-    Data (dpy, (char *) arc, len);
-#endif /* MUSTCOPY */
-
     }
     UnlockDisplay(dpy);
     SyncHandle();
index 4cd104c..3ca9afe 100644 (file)
@@ -44,12 +44,6 @@ XFillRectangle(
     unsigned int height) /* CARD16 */
 {
     xRectangle *rect;
-#ifdef MUSTCOPY
-    xRectangle rectdata;
-    long len = SIZEOF(xRectangle);
-
-    rect = &rectdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     FlushGC(dpy, gc);
@@ -66,30 +60,21 @@ XFillRectangle(
        && ((dpy->bufptr + SIZEOF(xRectangle)) <= dpy->bufmax)
        && (((char *)dpy->bufptr - (char *)req) < size) ) {
         req->length += SIZEOF(xRectangle) >> 2;
-#ifndef MUSTCOPY
          rect = (xRectangle *) dpy->bufptr;
         dpy->bufptr += SIZEOF(xRectangle);
-#endif /* not MUSTCOPY */
         }
 
     else {
        GetReqExtra(PolyFillRectangle, SIZEOF(xRectangle), req);
        req->drawable = d;
        req->gc = gc->gid;
-#ifdef MUSTCOPY
-       dpy->bufptr -= SIZEOF(xRectangle);
-#else
        rect = (xRectangle *) NEXTPTR(req,xPolyFillRectangleReq);
-#endif /* MUSTCOPY */
        }
     rect->x = x;
     rect->y = y;
     rect->width = width;
     rect->height = height;
 
-#ifdef MUSTCOPY
-    Data (dpy, (char *) rect, len);
-#endif /* MUSTCOPY */
     }
     UnlockDisplay(dpy);
     SyncHandle();
index 7f56f68..6fadd58 100644 (file)
@@ -31,8 +31,9 @@ authorization from the X Consortium and the XFree86 Project.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
-#if defined(XF86BIGFONT) && !defined(MUSTCOPY)
+#if defined(XF86BIGFONT)
 #define USE_XF86BIGFONT
 #endif
 #ifdef USE_XF86BIGFONT
@@ -165,13 +166,13 @@ XFreeFont(
 #ifdef USE_XF86BIGFONT
        _XF86BigfontFreeFontMetrics(fs);
 #else
-       Xfree ((char *) fs->per_char);
+       Xfree (fs->per_char);
 #endif
     }
     _XFreeExtData(fs->ext_data);
     if (fs->properties)
-       Xfree ((char *) fs->properties);
-    Xfree ((char *) fs);
+       Xfree (fs->properties);
+    Xfree (fs);
     return 1;
 }
 
@@ -183,7 +184,8 @@ _XQueryFont (
     unsigned long seq)
 {
     register XFontStruct *fs;
-    register long nbytes;
+    unsigned long nbytes;
+    unsigned long reply_left; /* unused data words left in reply buffer */
     xQueryFontReply reply;
     register xResourceReq *req;
     register _XExtension *ext;
@@ -211,9 +213,10 @@ _XQueryFont (
     }
     if (seq)
        DeqAsyncHandler(dpy, &async);
-    if (! (fs = (XFontStruct *) Xmalloc (sizeof (XFontStruct)))) {
-       _XEatData(dpy, (unsigned long)(reply.nFontProps * SIZEOF(xFontProp) +
-                                      reply.nCharInfos * SIZEOF(xCharInfo)));
+    reply_left = reply.length -
+       ((SIZEOF(xQueryFontReply) - SIZEOF(xReply)) >> 2);
+    if (! (fs = Xmalloc (sizeof (XFontStruct)))) {
+       _XEatDataWords(dpy, reply_left);
        return (XFontStruct *)NULL;
     }
     fs->ext_data               = NULL;
@@ -228,31 +231,9 @@ _XQueryFont (
     fs->ascent                         = cvtINT16toInt (reply.fontAscent);
     fs->descent                = cvtINT16toInt (reply.fontDescent);
 
-#ifdef MUSTCOPY
-    {
-       xCharInfo *xcip;
-
-       xcip = (xCharInfo *) &reply.minBounds;
-       fs->min_bounds.lbearing = cvtINT16toShort(xcip->leftSideBearing);
-       fs->min_bounds.rbearing = cvtINT16toShort(xcip->rightSideBearing);
-       fs->min_bounds.width = cvtINT16toShort(xcip->characterWidth);
-       fs->min_bounds.ascent = cvtINT16toShort(xcip->ascent);
-       fs->min_bounds.descent = cvtINT16toShort(xcip->descent);
-       fs->min_bounds.attributes = xcip->attributes;
-
-       xcip = (xCharInfo *) &reply.maxBounds;
-       fs->max_bounds.lbearing = cvtINT16toShort(xcip->leftSideBearing);
-       fs->max_bounds.rbearing =  cvtINT16toShort(xcip->rightSideBearing);
-       fs->max_bounds.width =  cvtINT16toShort(xcip->characterWidth);
-       fs->max_bounds.ascent =  cvtINT16toShort(xcip->ascent);
-       fs->max_bounds.descent =  cvtINT16toShort(xcip->descent);
-       fs->max_bounds.attributes = xcip->attributes;
-    }
-#else
     /* XXX the next two statements won't work if short isn't 16 bits */
     fs->min_bounds = * (XCharStruct *) &reply.minBounds;
     fs->max_bounds = * (XCharStruct *) &reply.maxBounds;
-#endif /* MUSTCOPY */
 
     fs->n_properties = reply.nFontProps;
     /*
@@ -261,54 +242,42 @@ _XQueryFont (
      */
     fs->properties = NULL;
     if (fs->n_properties > 0) {
-           nbytes = reply.nFontProps * sizeof(XFontProp);
-           fs->properties = (XFontProp *) Xmalloc ((unsigned) nbytes);
+           /* nFontProps is a CARD16 */
            nbytes = reply.nFontProps * SIZEOF(xFontProp);
+           if ((nbytes >> 2) <= reply_left) {
+               size_t pbytes = reply.nFontProps * sizeof(XFontProp);
+               fs->properties = Xmalloc (pbytes);
+           }
            if (! fs->properties) {
-               Xfree((char *) fs);
-               _XEatData(dpy, (unsigned long)
-                         (nbytes + reply.nCharInfos * SIZEOF(xCharInfo)));
+               Xfree(fs);
+               _XEatDataWords(dpy, reply_left);
                return (XFontStruct *)NULL;
            }
            _XRead32 (dpy, (long *)fs->properties, nbytes);
+           reply_left -= (nbytes >> 2);
     }
     /*
      * If no characters in font, then it is a bad font, but
      * shouldn't try to read nothing.
      */
-    /* have to unpack charinfos on some machines (CRAY) */
     fs->per_char = NULL;
     if (reply.nCharInfos > 0){
-       nbytes = reply.nCharInfos * sizeof(XCharStruct);
-       if (! (fs->per_char = (XCharStruct *) Xmalloc ((unsigned) nbytes))) {
-           if (fs->properties) Xfree((char *) fs->properties);
-           Xfree((char *) fs);
-           _XEatData(dpy, (unsigned long)
-                           (reply.nCharInfos * SIZEOF(xCharInfo)));
+       /* nCharInfos is a CARD32 */
+       if (reply.nCharInfos < (INT_MAX / sizeof(XCharStruct))) {
+           nbytes = reply.nCharInfos * SIZEOF(xCharInfo);
+           if ((nbytes >> 2) <= reply_left) {
+               size_t cibytes = reply.nCharInfos * sizeof(XCharStruct);
+               fs->per_char = Xmalloc (cibytes);
+           }
+       }
+       if (! fs->per_char) {
+           if (fs->properties) Xfree(fs->properties);
+           Xfree(fs);
+           _XEatDataWords(dpy, reply_left);
            return (XFontStruct *)NULL;
        }
 
-#ifdef MUSTCOPY
-       {
-           register XCharStruct *cs = fs->per_char;
-           register int i;
-
-           for (i = 0; i < reply.nCharInfos; i++, cs++) {
-               xCharInfo xcip;
-
-               _XRead(dpy, (char *)&xcip, SIZEOF(xCharInfo));
-               cs->lbearing = cvtINT16toShort(xcip.leftSideBearing);
-               cs->rbearing = cvtINT16toShort(xcip.rightSideBearing);
-               cs->width =  cvtINT16toShort(xcip.characterWidth);
-               cs->ascent =  cvtINT16toShort(xcip.ascent);
-               cs->descent =  cvtINT16toShort(xcip.descent);
-               cs->attributes = xcip.attributes;
-           }
-       }
-#else
-       nbytes = reply.nCharInfos * SIZEOF(xCharInfo);
        _XRead16 (dpy, (char *)fs->per_char, nbytes);
-#endif
     }
 
     /* call out to any extensions interested */
@@ -354,7 +323,7 @@ _XF86BigfontCodes (
     if (pData)
        return (XF86BigfontCodes *) pData->private_data;
 
-    pData = (XExtData *) Xmalloc(sizeof(XExtData) + sizeof(XF86BigfontCodes));
+    pData = Xmalloc(sizeof(XExtData) + sizeof(XF86BigfontCodes));
     if (!pData) {
        /* Out of luck. */
        return (XF86BigfontCodes *) NULL;
@@ -434,7 +403,8 @@ _XF86BigfontQueryFont (
     unsigned long seq)
 {
     register XFontStruct *fs;
-    register long nbytes;
+    unsigned long nbytes;
+    unsigned long reply_left; /* unused data left in reply buffer */
     xXF86BigfontQueryFontReply reply;
     register xXF86BigfontQueryFontReq *req;
     register _XExtension *ext;
@@ -487,13 +457,10 @@ _XF86BigfontQueryFont (
     DeqAsyncHandler(dpy, &async2);
     if (seq)
        DeqAsyncHandler(dpy, &async1);
-    if (! (fs = (XFontStruct *) Xmalloc (sizeof (XFontStruct)))) {
-       _XEatData(dpy,
-                 reply.nFontProps * SIZEOF(xFontProp)
-                 + (reply.nCharInfos > 0 && reply.shmid == (CARD32)(-1)
-                    ? reply.nUniqCharInfos * SIZEOF(xCharInfo)
-                      + (reply.nCharInfos+1)/2 * 2 * sizeof(CARD16)
-                    : 0));
+    reply_left = reply.length -
+       ((SIZEOF(xXF86BigfontQueryFontReply) - SIZEOF(xReply)) >> 2);
+    if (! (fs = Xmalloc (sizeof (XFontStruct)))) {
+       _XEatDataWords(dpy, reply_left);
        return (XFontStruct *)NULL;
     }
     fs->ext_data               = NULL;
@@ -519,23 +486,33 @@ _XF86BigfontQueryFont (
      */
     fs->properties = NULL;
     if (fs->n_properties > 0) {
-       nbytes = reply.nFontProps * sizeof(XFontProp);
-       fs->properties = (XFontProp *) Xmalloc ((unsigned) nbytes);
+       /* nFontProps is a CARD16 */
        nbytes = reply.nFontProps * SIZEOF(xFontProp);
+       if ((nbytes >> 2) <= reply_left) {
+           size_t pbytes = reply.nFontProps * sizeof(XFontProp);
+           fs->properties = Xmalloc (pbytes);
+       }
        if (! fs->properties) {
-           Xfree((char *) fs);
-           _XEatData(dpy,
-                     nbytes
-                     + (reply.nCharInfos > 0 && reply.shmid == (CARD32)(-1)
-                        ? reply.nUniqCharInfos * SIZEOF(xCharInfo)
-                          + (reply.nCharInfos+1)/2 * 2 * sizeof(CARD16)
-                        : 0));
+           Xfree(fs);
+           _XEatDataWords(dpy, reply_left);
            return (XFontStruct *)NULL;
        }
        _XRead32 (dpy, (long *)fs->properties, nbytes);
+       reply_left -= (nbytes >> 2);
     }
 
     fs->per_char = NULL;
+#ifndef LONG64
+    /* compares each part to half the maximum, which should be far more than
+       any real font needs, so the combined total doesn't overflow either */
+    if (reply.nUniqCharInfos > ((ULONG_MAX / 2) / SIZEOF(xCharInfo)) ||
+       reply.nCharInfos > ((ULONG_MAX / 2) / sizeof(CARD16))) {
+       Xfree(fs->properties);
+       Xfree(fs);
+       _XEatDataWords(dpy, reply_left);
+       return (XFontStruct *)NULL;
+    }
+#endif
     if (reply.nCharInfos > 0) {
        /* fprintf(stderr, "received font metrics, nCharInfos = %d, nUniqCharInfos = %d, shmid = %d\n", reply.nCharInfos, reply.nUniqCharInfos, reply.shmid); */
        if (reply.shmid == (CARD32)(-1)) {
@@ -545,18 +522,18 @@ _XF86BigfontQueryFont (
 
            nbytes = reply.nUniqCharInfos * SIZEOF(xCharInfo)
                     + (reply.nCharInfos+1)/2 * 2 * sizeof(CARD16);
-           pUniqCI = (xCharInfo *) Xmalloc (nbytes);
+           pUniqCI = Xmalloc (nbytes);
            if (!pUniqCI) {
-               if (fs->properties) Xfree((char *) fs->properties);
-               Xfree((char *) fs);
-               _XEatData(dpy, nbytes);
+               if (fs->properties) Xfree(fs->properties);
+               Xfree(fs);
+               _XEatDataWords(dpy, reply_left);
                return (XFontStruct *)NULL;
            }
-           if (! (fs->per_char = (XCharStruct *) Xmalloc (reply.nCharInfos * sizeof(XCharStruct)))) {
-               Xfree((char *) pUniqCI);
-               if (fs->properties) Xfree((char *) fs->properties);
-               Xfree((char *) fs);
-               _XEatData(dpy, nbytes);
+           if (! (fs->per_char = Xmalloc (reply.nCharInfos * sizeof(XCharStruct)))) {
+               Xfree(pUniqCI);
+               if (fs->properties) Xfree(fs->properties);
+               Xfree(fs);
+               _XEatDataWords(dpy, reply_left);
                return (XFontStruct *)NULL;
            }
            _XRead16 (dpy, (char *) pUniqCI, nbytes);
@@ -564,25 +541,25 @@ _XF86BigfontQueryFont (
            for (i = 0; i < reply.nCharInfos; i++) {
                if (pIndex2UniqIndex[i] >= reply.nUniqCharInfos) {
                    fprintf(stderr, "_XF86BigfontQueryFont: server returned wrong data\n");
-                   Xfree((char *) pUniqCI);
-                   if (fs->properties) Xfree((char *) fs->properties);
-                   Xfree((char *) fs);
+                   Xfree(pUniqCI);
+                   if (fs->properties) Xfree(fs->properties);
+                   Xfree(fs);
                    return (XFontStruct *)NULL;
                }
                /* XXX the next statement won't work if short isn't 16 bits */
                fs->per_char[i] = * (XCharStruct *) &pUniqCI[pIndex2UniqIndex[i]];
            }
-           Xfree((char *) pUniqCI);
+           Xfree(pUniqCI);
        } else {
 #ifdef HAS_SHM
            XExtData *pData;
            XEDataObject fs_union;
            char *addr;
 
-           pData = (XExtData *) Xmalloc(sizeof(XExtData));
+           pData = Xmalloc(sizeof(XExtData));
            if (!pData) {
-               if (fs->properties) Xfree((char *) fs->properties);
-               Xfree((char *) fs);
+               if (fs->properties) Xfree(fs->properties);
+               Xfree(fs);
                return (XFontStruct *)NULL;
            }
 
@@ -600,9 +577,9 @@ _XF86BigfontQueryFont (
            if ((addr = shmat(reply.shmid, NULL, SHM_RDONLY)) == (char *)-1) {
                if (extcodes->serverCapabilities & CAP_VerifiedLocal)
                    fprintf(stderr, "_XF86BigfontQueryFont: could not attach shm segment\n");
-               Xfree((char *) pData);
-               if (fs->properties) Xfree((char *) fs->properties);
-               Xfree((char *) fs);
+               Xfree(pData);
+               if (fs->properties) Xfree(fs->properties);
+               Xfree(fs);
                /* Stop requesting shared memory transport from now on. */
                extcodes->serverCapabilities &= ~ XF86Bigfont_CAP_LocalShm;
                return (XFontStruct *)NULL;
@@ -611,12 +588,13 @@ _XF86BigfontQueryFont (
            if (!(extcodes->serverCapabilities & CAP_VerifiedLocal)) {
                struct shmid_ds buf;
                if (!(shmctl(reply.shmid, IPC_STAT, &buf) >= 0
+                     && reply.nCharInfos < (INT_MAX / sizeof(XCharStruct))
                      && buf.shm_segsz >= reply.shmsegoffset + reply.nCharInfos * sizeof(XCharStruct) + sizeof(CARD32)
                      && *(CARD32 *)(addr + reply.shmsegoffset + reply.nCharInfos * sizeof(XCharStruct)) == extcodes->serverSignature)) {
                    shmdt(addr);
-                   Xfree((char *) pData);
-                   if (fs->properties) Xfree((char *) fs->properties);
-                   Xfree((char *) fs);
+                   Xfree(pData);
+                   if (fs->properties) Xfree(fs->properties);
+                   Xfree(fs);
                    /* Stop requesting shared memory transport from now on. */
                    extcodes->serverCapabilities &= ~ XF86Bigfont_CAP_LocalShm;
                    return (XFontStruct *)NULL;
@@ -633,8 +611,8 @@ _XF86BigfontQueryFont (
            fs->per_char = (XCharStruct *) (addr + reply.shmsegoffset);
 #else
            fprintf(stderr, "_XF86BigfontQueryFont: try recompiling libX11 with HasShm, Xserver has shm support\n");
-           if (fs->properties) Xfree((char *) fs->properties);
-           Xfree((char *) fs);
+           if (fs->properties) Xfree(fs->properties);
+           Xfree(fs);
            /* Stop requesting shared memory transport from now on. */
            extcodes->serverCapabilities &= ~ XF86Bigfont_CAP_LocalShm;
            return (XFontStruct *)NULL;
@@ -660,9 +638,9 @@ _XF86BigfontFreeFontMetrics (XFontStruct *fs)
                                      XF86BigfontNumber)))
        shmdt ((char *) pData->private_data);
     else
-       Xfree ((char *) fs->per_char);
+       Xfree (fs->per_char);
 #else
-    Xfree ((char *) fs->per_char);
+    Xfree (fs->per_char);
 #endif
 }
 
@@ -715,14 +693,14 @@ int _XF86LoadQueryLocaleFont(
 #ifdef USE_XF86BIGFONT
            _XF86BigfontFreeFontMetrics(fs);
 #else
-           Xfree ((char *) fs->per_char);
+           Xfree (fs->per_char);
 #endif
        }
        _XFreeExtData(fs->ext_data);
        if (fs->properties)
-           Xfree ((char *) fs->properties);
+           Xfree (fs->properties);
        *fidp = fs->fid;
-       Xfree ((char *) fs);
+       Xfree (fs);
     } else {
        XFreeFont(dpy, fs);
     }
index a3ab65b..763aafb 100644 (file)
@@ -28,8 +28,9 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
-#if defined(XF86BIGFONT) && !defined(MUSTCOPY)
+#if defined(XF86BIGFONT)
 #define USE_XF86BIGFONT
 #endif
 #ifdef USE_XF86BIGFONT
@@ -45,10 +46,11 @@ int maxNames,
 int *actualCount,      /* RETURN */
 XFontStruct **info)    /* RETURN */
 {
-    register long nbytes;
+    unsigned long nbytes;
+    unsigned long reply_left;  /* unused data left in reply buffer */
     register int i;
     register XFontStruct *fs;
-    register int size = 0;
+    unsigned int size = 0;
     XFontStruct *finfo = NULL;
     char **flist = NULL;
     xListFontsWithInfoReply reply;
@@ -67,52 +69,45 @@ XFontStruct **info) /* RETURN */
        if (!_XReply (dpy, (xReply *) &reply,
                      ((SIZEOF(xListFontsWithInfoReply) -
                        SIZEOF(xGenericReply)) >> 2), xFalse)) {
-           for (j=(i-1); (j >= 0); j--) {
-               Xfree(flist[j]);
-               if (finfo[j].properties) Xfree((char *) finfo[j].properties);
-           }
-           if (flist) Xfree((char *) flist);
-           if (finfo) Xfree((char *) finfo);
-           UnlockDisplay(dpy);
-           SyncHandle();
-           return ((char **) NULL);
+           reply.nameLength = 0; /* avoid trying to read more replies */
+           reply_left = 0;
+           goto badmem;
        }
-       if (reply.nameLength == 0)
+       reply_left = reply.length -
+           ((SIZEOF(xListFontsWithInfoReply) - SIZEOF(xGenericReply)) >> 2);
+       if (reply.nameLength == 0) {
+           _XEatDataWords(dpy, reply_left);
            break;
+       }
+       if (reply.nReplies >= (INT_MAX - i)) /* avoid overflowing size */
+           goto badmem;
        if ((i + reply.nReplies) >= size) {
            size = i + reply.nReplies + 1;
 
+           if (size >= (INT_MAX / sizeof(XFontStruct)))
+               goto badmem;
+
            if (finfo) {
-               XFontStruct * tmp_finfo = (XFontStruct *)
-                   Xrealloc ((char *) finfo,
-                             (unsigned) (sizeof(XFontStruct) * size));
-               char ** tmp_flist = (char **)
-                   Xrealloc ((char *) flist,
-                             (unsigned) (sizeof(char *) * (size+1)));
-
-               if ((! tmp_finfo) || (! tmp_flist)) {
-                   /* free all the memory that we allocated */
-                   for (j=(i-1); (j >= 0); j--) {
-                       Xfree(flist[j]);
-                       if (finfo[j].properties)
-                           Xfree((char *) finfo[j].properties);
-                   }
-                   if (tmp_flist) Xfree((char *) tmp_flist);
-                   else Xfree((char *) flist);
-                   if (tmp_finfo) Xfree((char *) tmp_finfo);
-                   else Xfree((char *) finfo);
-                   goto clearwire;
-               }
-               finfo = tmp_finfo;
-               flist = tmp_flist;
+               XFontStruct * tmp_finfo;
+               char ** tmp_flist;
+
+               tmp_finfo = Xrealloc (finfo, sizeof(XFontStruct) * size);
+               if (tmp_finfo)
+                   finfo = tmp_finfo;
+               else
+                   goto badmem;
+
+               tmp_flist = Xrealloc (flist, sizeof(char *) * (size+1));
+               if (tmp_flist)
+                   flist = tmp_flist;
+               else
+                   goto badmem;
            }
            else {
-               if (! (finfo = (XFontStruct *)
-                      Xmalloc((unsigned) (sizeof(XFontStruct) * size))))
+               if (! (finfo = Xmalloc(sizeof(XFontStruct) * size)))
                    goto clearwire;
-               if (! (flist = (char **)
-                      Xmalloc((unsigned) (sizeof(char *) * (size+1))))) {
-                   Xfree((char *) finfo);
+               if (! (flist = Xmalloc(sizeof(char *) * (size+1)))) {
+                   Xfree(finfo);
                    goto clearwire;
                }
            }
@@ -132,51 +127,32 @@ XFontStruct **info)       /* RETURN */
        fs->ascent              = cvtINT16toInt (reply.fontAscent);
        fs->descent             = cvtINT16toInt (reply.fontDescent);
 
-#ifdef MUSTCOPY
-       {
-           xCharInfo *xcip;
-
-           xcip = (xCharInfo *) &reply.minBounds;
-           fs->min_bounds.lbearing = xcip->leftSideBearing;
-           fs->min_bounds.rbearing = xcip->rightSideBearing;
-           fs->min_bounds.width = xcip->characterWidth;
-           fs->min_bounds.ascent = xcip->ascent;
-           fs->min_bounds.descent = xcip->descent;
-           fs->min_bounds.attributes = xcip->attributes;
-
-           xcip = (xCharInfo *) &reply.maxBounds;
-           fs->max_bounds.lbearing = xcip->leftSideBearing;
-           fs->max_bounds.rbearing = xcip->rightSideBearing;
-           fs->max_bounds.width = xcip->characterWidth;
-           fs->max_bounds.ascent = xcip->ascent;
-           fs->max_bounds.descent = xcip->descent;
-           fs->max_bounds.attributes = xcip->attributes;
-       }
-#else
        /* XXX the next two statements won't work if short isn't 16 bits */
        fs->min_bounds = * (XCharStruct *) &reply.minBounds;
        fs->max_bounds = * (XCharStruct *) &reply.maxBounds;
-#endif /* MUSTCOPY */
 
        fs->n_properties = reply.nFontProps;
+       fs->properties = NULL;
        if (fs->n_properties > 0) {
-           nbytes = reply.nFontProps * sizeof(XFontProp);
-           if (! (fs->properties = (XFontProp *) Xmalloc((unsigned) nbytes)))
-               goto badmem;
+           /* nFontProps is a CARD16 */
            nbytes = reply.nFontProps * SIZEOF(xFontProp);
+           if ((nbytes >> 2) <= reply_left) {
+               size_t pbytes = reply.nFontProps * sizeof(XFontProp);
+               fs->properties = Xmalloc (pbytes);
+           }
+           if (! fs->properties)
+               goto badmem;
            _XRead32 (dpy, (long *)fs->properties, nbytes);
+           reply_left -= (nbytes >> 2);
+       }
 
-       } else
-           fs->properties = NULL;
-
-       j = reply.nameLength + 1;
+       /* nameLength is a CARD8 */
+       nbytes = reply.nameLength + 1;
        if (!i)
-           j++; /* make first string 1 byte longer, to match XListFonts */
-       flist[i] = (char *) Xmalloc ((unsigned int) j);
+           nbytes++; /* make first string 1 byte longer, to match XListFonts */
+       flist[i] = Xmalloc (nbytes);
        if (! flist[i]) {
-           if (finfo[i].properties) Xfree((char *) finfo[i].properties);
-           nbytes = (reply.nameLength + 3) & ~3;
-           _XEatData(dpy, (unsigned long) nbytes);
+           if (finfo[i].properties) Xfree(finfo[i].properties);
            goto badmem;
        }
        if (!i) {
@@ -198,27 +174,25 @@ XFontStruct **info)       /* RETURN */
   badmem:
     /* Free all memory allocated by this function. */
     for (j=(i-1); (j >= 0); j--) {
-       Xfree(flist[j]);
-       if (finfo[j].properties) Xfree((char *) finfo[j].properties);
+        if (j == 0)
+            flist[j]--;         /* was incremented above */
+        Xfree(flist[j]);
+        if (finfo[j].properties) Xfree(finfo[j].properties);
     }
-    if (flist) Xfree((char *) flist);
-    if (finfo) Xfree((char *) finfo);
+    if (flist) Xfree(flist);
+    if (finfo) Xfree(finfo);
 
   clearwire:
     /* Clear the wire. */
-    do {
-       if (reply.nFontProps)
-           _XEatData(dpy, (unsigned long)
-                     (reply.nFontProps * SIZEOF(xFontProp)));
-       nbytes = (reply.nameLength + 3) & ~3;
-       _XEatData(dpy, (unsigned long) nbytes);
-    }
-    while (_XReply(dpy,(xReply *) &reply, ((SIZEOF(xListFontsWithInfoReply) -
-                                           SIZEOF(xGenericReply)) >> 2),
-                  xFalse) && (reply.nameLength != 0));
-
+    _XEatDataWords(dpy, reply_left);
+    while ((reply.nameLength != 0) &&
+          _XReply(dpy, (xReply *) &reply,
+                  ((SIZEOF(xListFontsWithInfoReply) - SIZEOF(xGenericReply))
+                   >> 2), xTrue));
     UnlockDisplay(dpy);
     SyncHandle();
+    *info = NULL;
+    *actualCount = 0;
     return (char **) NULL;
 }
 
@@ -234,7 +208,7 @@ XFreeFontInfo (
                for (i = 1; i < actualCount; i++) {
                        Xfree (names[i]);
                }
-               Xfree((char *) names);
+               Xfree(names);
        }
        if (info) {
                for (i = 0; i < actualCount; i++) {
@@ -242,12 +216,12 @@ XFreeFontInfo (
 #ifdef USE_XF86BIGFONT
                                _XF86BigfontFreeFontMetrics(&info[i]);
 #else
-                               Xfree ((char *) info[i].per_char);
+                               Xfree (info[i].per_char);
 #endif
                        if (info[i].properties)
-                               Xfree ((char *) info[i].properties);
+                               Xfree (info[i].properties);
                        }
-               Xfree((char *) info);
+               Xfree(info);
        }
        return 1;
 }
index 3018cf2..c50de2e 100644 (file)
@@ -29,6 +29,7 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 char **
 XListFonts(
@@ -40,11 +41,13 @@ int *actualCount)   /* RETURN */
     register long nbytes;
     register unsigned i;
     register int length;
-    char **flist;
-    char *ch;
+    char **flist = NULL;
+    char *ch = NULL;
+    char *chend;
+    int count = 0;
     xListFontsReply rep;
     register xListFontsReq *req;
-    register long rlen;
+    unsigned long rlen;
 
     LockDisplay(dpy);
     GetReq(ListFonts, req);
@@ -62,15 +65,17 @@ int *actualCount)   /* RETURN */
     }
 
     if (rep.nFonts) {
-       flist = (char **)Xmalloc ((unsigned)rep.nFonts * sizeof(char *));
-       rlen = rep.length << 2;
-       ch = (char *) Xmalloc((unsigned) (rlen + 1));
+       flist = Xmalloc (rep.nFonts * sizeof(char *));
+       if (rep.length < (INT_MAX >> 2)) {
+           rlen = rep.length << 2;
+           ch = Xmalloc(rlen + 1);
            /* +1 to leave room for last null-terminator */
+       }
 
        if ((! flist) || (! ch)) {
-           if (flist) Xfree((char *) flist);
+           if (flist) Xfree(flist);
            if (ch) Xfree(ch);
-           _XEatData(dpy, (unsigned long) rlen);
+           _XEatDataWords(dpy, rep.length);
            *actualCount = 0;
            UnlockDisplay(dpy);
            SyncHandle();
@@ -81,17 +86,21 @@ int *actualCount)   /* RETURN */
        /*
         * unpack into null terminated strings.
         */
+       chend = ch + (rlen + 1);
        length = *(unsigned char *)ch;
        *ch = 1; /* make sure it is non-zero for XFreeFontNames */
        for (i = 0; i < rep.nFonts; i++) {
-           flist[i] = ch + 1;  /* skip over length */
-           ch += length + 1;  /* find next length ... */
-           length = *(unsigned char *)ch;
-           *ch = '\0';  /* and replace with null-termination */
+           if (ch + length < chend) {
+               flist[i] = ch + 1;  /* skip over length */
+               ch += length + 1;  /* find next length ... */
+               length = *(unsigned char *)ch;
+               *ch = '\0';  /* and replace with null-termination */
+               count++;
+           } else
+               flist[i] = NULL;
        }
     }
-    else flist = (char **) NULL;
-    *actualCount = rep.nFonts;
+    *actualCount = count;
     UnlockDisplay(dpy);
     SyncHandle();
     return (flist);
@@ -107,7 +116,7 @@ XFreeFontNames(char **list)
                                Xfree (*names);
                }
                Xfree (list[0]-1);
-               Xfree ((char *)list);
+               Xfree (list);
        }
        return 1;
 }
index 3a7abca..ce78467 100644 (file)
@@ -36,9 +36,9 @@ _XFreeExtData (XExtData *extension)
        while (extension) {
                if (extension->free_private)
                    (*extension->free_private)(extension);
-               else Xfree ((char *)extension->private_data);
+               else Xfree (extension->private_data);
                temp = extension->next;
-               Xfree ((char *)extension);
+               Xfree (extension);
                extension = temp;
        }
        return 0;
index ab994bc..926d507 100644 (file)
@@ -44,7 +44,7 @@ XFreeGC (
     UnlockDisplay(dpy);
     SyncHandle();
     _XFreeExtData(gc->ext_data);
-    Xfree ((char *) gc);
+    Xfree (gc);
     return 1;
     }
 
index 9823c69..32de50d 100644 (file)
@@ -46,7 +46,7 @@ char *_XGetAtomName(
        for (idx = TABLESIZE; --idx >= 0; ) {
            if ((e = *table++) && (e->atom == atom)) {
                idx = strlen(EntryName(e)) + 1;
-               if ((name = (char *)Xmalloc(idx)))
+               if ((name = Xmalloc(idx)))
                    strcpy(name, EntryName(e));
                return name;
            }
@@ -73,12 +73,12 @@ char *XGetAtomName(
        SyncHandle();
        return(NULL);
     }
-    if ((name = (char *) Xmalloc(rep.nameLength+1))) {
+    if ((name = Xmalloc(rep.nameLength + 1))) {
        _XReadPad(dpy, name, (long)rep.nameLength);
        name[rep.nameLength] = '\0';
        _XUpdateAtomCache(dpy, name, atom, 0, -1, 0);
     } else {
-       _XEatData(dpy, (unsigned long) (rep.nameLength + 3) & ~3);
+       _XEatDataWords(dpy, rep.length);
        name = (char *) NULL;
     }
     UnlockDisplay(dpy);
@@ -124,7 +124,7 @@ Bool _XGetAtomNameHandler(
        _XGetAsyncReply(dpy, (char *)&replbuf, rep, buf, len,
                        (SIZEOF(xGetAtomNameReply) - SIZEOF(xReply)) >> 2,
                        False);
-    state->names[state->idx] = (char *) Xmalloc(repl->nameLength+1);
+    state->names[state->idx] = Xmalloc(repl->nameLength + 1);
     _XGetAsyncData(dpy, state->names[state->idx], buf, len,
                   SIZEOF(xGetAtomNameReply), repl->nameLength,
                   repl->length << 2);
@@ -170,13 +170,13 @@ XGetAtomNames (
     }
     if (missed >= 0) {
        if (_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-           if ((names_return[missed] = (char *) Xmalloc(rep.nameLength+1))) {
+           if ((names_return[missed] = Xmalloc(rep.nameLength + 1))) {
                _XReadPad(dpy, names_return[missed], (long)rep.nameLength);
                names_return[missed][rep.nameLength] = '\0';
                _XUpdateAtomCache(dpy, names_return[missed], atoms[missed],
                                  0, -1, 0);
            } else {
-               _XEatData(dpy, (unsigned long) (rep.nameLength + 3) & ~3);
+               _XEatDataWords(dpy, rep.length);
                async_state.status = 0;
            }
        }
index dfda1c6..4962530 100644 (file)
@@ -52,30 +52,7 @@ SOFTWARE.
 #include "Xlibint.h"
 #include <X11/Xos.h>
 #include <X11/Xresource.h>
-
-#ifndef X_NOT_POSIX
-#ifdef _POSIX_SOURCE
-#include <limits.h>
-#else
-#define _POSIX_SOURCE
-#include <limits.h>
-#undef _POSIX_SOURCE
-#endif
-#endif
-#ifndef PATH_MAX
-#ifdef WIN32
-#define PATH_MAX 512
-#else
-#include <sys/param.h>
-#endif
-#ifndef PATH_MAX
-#ifdef MAXPATHLEN
-#define PATH_MAX MAXPATHLEN
-#else
-#define PATH_MAX 1024
-#endif
-#endif
-#endif
+#include "pathmax.h"
 
 #ifdef XTHREADS
 #include <X11/Xthreads.h>
@@ -110,7 +87,7 @@ GetHomeDir(
        len2 = strlen (ptr2);
     }
     if ((len1 + len2 + 1) < len)
-       sprintf (dest, "%s%s", ptr1, (ptr2) ? ptr2 : "");
+       snprintf (dest, len, "%s%s", ptr1, (ptr2) ? ptr2 : "");
     else
        *dest = '\0';
 #else
index 7d497c9..76ff732 100644 (file)
@@ -28,15 +28,18 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 char **XGetFontPath(
     register Display *dpy,
     int *npaths)       /* RETURN */
 {
        xGetFontPathReply rep;
-       register long nbytes;
-       char **flist;
-       char *ch;
+       unsigned long nbytes;
+       char **flist = NULL;
+       char *ch = NULL;
+       char *chend;
+       int count = 0;
        register unsigned i;
        register int length;
        register xReq *req;
@@ -46,16 +49,17 @@ char **XGetFontPath(
        (void) _XReply (dpy, (xReply *) &rep, 0, xFalse);
 
        if (rep.nPaths) {
-           flist = (char **)
-               Xmalloc((unsigned) rep.nPaths * sizeof (char *));
-           nbytes = (long)rep.length << 2;
-           ch = (char *) Xmalloc ((unsigned) (nbytes + 1));
+           flist = Xmalloc(rep.nPaths * sizeof (char *));
+           if (rep.length < (INT_MAX >> 2)) {
+               nbytes = (unsigned long) rep.length << 2;
+               ch = Xmalloc (nbytes + 1);
                 /* +1 to leave room for last null-terminator */
+           }
 
            if ((! flist) || (! ch)) {
-               if (flist) Xfree((char *) flist);
+               if (flist) Xfree(flist);
                if (ch) Xfree(ch);
-               _XEatData(dpy, (unsigned long) nbytes);
+               _XEatDataWords(dpy, rep.length);
                UnlockDisplay(dpy);
                SyncHandle();
                return (char **) NULL;
@@ -65,16 +69,20 @@ char **XGetFontPath(
            /*
             * unpack into null terminated strings.
             */
+           chend = ch + (nbytes + 1);
            length = *ch;
            for (i = 0; i < rep.nPaths; i++) {
-               flist[i] = ch+1;  /* skip over length */
-               ch += length + 1; /* find next length ... */
-               length = *ch;
-               *ch = '\0'; /* and replace with null-termination */
+               if (ch + length < chend) {
+                   flist[i] = ch+1;  /* skip over length */
+                   ch += length + 1; /* find next length ... */
+                   length = *ch;
+                   *ch = '\0'; /* and replace with null-termination */
+                   count++;
+               } else
+                   flist[i] = NULL;
            }
        }
-       else flist = NULL;
-       *npaths = rep.nPaths;
+       *npaths = count;
        UnlockDisplay(dpy);
        SyncHandle();
        return (flist);
@@ -85,7 +93,7 @@ XFreeFontPath (char **list)
 {
        if (list != NULL) {
                Xfree (list[0]-1);
-               Xfree ((char *)list);
+               Xfree (list);
        }
        return 1;
 }
index 27ec98b..1e0cd32 100644 (file)
@@ -29,27 +29,24 @@ in this Software without prior written authorization from The Open Group.
 #endif
 #include "Xlibint.h"
 
-Bool XGetFontProperty (
+Bool
+XGetFontProperty(
     XFontStruct *fs,
     register Atom name,
     unsigned long *valuePtr)
 {
     /* XXX this is a simple linear search for now.  If the
-      protocol is changed to sort the property list, this should
-      become a binary search. */
+       protocol is changed to sort the property list, this should
+       become a binary search. */
     register XFontProp *prop = fs->properties;
     register XFontProp *last = prop + fs->n_properties;
+
     while (prop != last) {
-       if (prop->name == name) {
-           *valuePtr = prop->card32;
-           return (1);
-           }
-       prop++;
-       }
-    return (0);
+        if (prop->name == name) {
+            *valuePtr = prop->card32;
+            return (1);
+        }
+        prop++;
     }
-
-
-
-
-
+    return (0);
+}
index 4800fe7..5cca0bc 100644 (file)
@@ -75,7 +75,7 @@ Status XGetSizeHints (
 
         if ((actual_type != XA_WM_SIZE_HINTS) ||
            (nitems < OldNumPropSizeElements) || (actual_format != 32)) {
-               if (prop != NULL) Xfree ((char *)prop);
+               if (prop != NULL) Xfree (prop);
                 return(0);
                }
        hints->flags      = (prop->flags & (USPosition|USSize|PAllHints));
@@ -93,7 +93,7 @@ Status XGetSizeHints (
        hints->min_aspect.y = cvtINT32toInt (prop->minAspectY);
        hints->max_aspect.x = cvtINT32toInt (prop->maxAspectX);
        hints->max_aspect.y = cvtINT32toInt (prop->maxAspectY);
-       Xfree((char *)prop);
+       Xfree(prop);
        return(1);
 }
 
@@ -124,11 +124,11 @@ XWMHints *XGetWMHints (
 
         if ((actual_type != XA_WM_HINTS) ||
            (nitems < (NumPropWMHintsElements - 1)) || (actual_format != 32)) {
-               if (prop != NULL) Xfree ((char *)prop);
+               if (prop != NULL) Xfree (prop);
                 return(NULL);
                }
        /* static copies not allowed in library, due to reentrancy constraint*/
-       if ((hints = (XWMHints *) Xcalloc (1, (unsigned) sizeof(XWMHints)))) {
+       if ((hints = Xcalloc (1, sizeof(XWMHints)))) {
            hints->flags = prop->flags;
            hints->input = (prop->input ? True : False);
            hints->initial_state = cvtINT32toInt (prop->initialState);
@@ -142,7 +142,7 @@ XWMHints *XGetWMHints (
            else
                hints->window_group = 0;
        }
-       Xfree ((char *)prop);
+       Xfree (prop);
        return(hints);
 }
 
@@ -196,16 +196,15 @@ Status XGetIconSizes (
            (nitems < NumPropIconSizeElements) ||
            (nitems % NumPropIconSizeElements != 0) ||
            (actual_format != 32)) {
-               if (prop != NULL) Xfree ((char *)prop);
+               if (prop != NULL) Xfree (prop);
                 return(0);
                }
 
        /* static copies not allowed in library, due to reentrancy constraint*/
 
        nitems /= NumPropIconSizeElements;
-       if (! (hp = hints = (XIconSize *)
-         Xcalloc ((unsigned) nitems, (unsigned) sizeof(XIconSize)))) {
-           if (prop) Xfree ((char *) prop);
+       if (! (hp = hints = Xcalloc (nitems, sizeof(XIconSize)))) {
+           if (prop) Xfree (prop);
            return 0;
        }
 
@@ -222,7 +221,7 @@ Status XGetIconSizes (
        }
        *count = nitems;
        *size_list = hints;
-       Xfree ((char *)prop);
+       Xfree (prop);
        return(1);
 }
 
@@ -240,7 +239,7 @@ Status XGetCommand (
     if (!XGetTextProperty (dpy, w, &tp, XA_WM_COMMAND)) return 0;
 
     if (tp.encoding != XA_STRING || tp.format != 8) {
-       if (tp.value) Xfree ((char *) tp.value);
+       if (tp.value) Xfree (tp.value);
        return 0;
     }
 
@@ -255,11 +254,11 @@ Status XGetCommand (
      * create a string list and return if successful
      */
     if (!XTextPropertyToStringList (&tp, &argv, &argc)) {
-       if (tp.value) Xfree ((char *) tp.value);
+       if (tp.value) Xfree (tp.value);
        return (0);
     }
 
-    if (tp.value) Xfree ((char *) tp.value);
+    if (tp.value) Xfree (tp.value);
     *argvp = argv;
     *argcp = argc;
     return 1;
@@ -317,17 +316,17 @@ XGetClassHint(
 
    if ( (actual_type == XA_STRING) && (actual_format == 8) ) {
        len_name = strlen((char *) data);
-       if (! (classhint->res_name = Xmalloc((unsigned) (len_name+1)))) {
-           Xfree((char *) data);
+       if (! (classhint->res_name = Xmalloc(len_name + 1))) {
+           Xfree(data);
            return (0);
        }
        strcpy(classhint->res_name, (char *) data);
        if (len_name == nitems) len_name--;
        len_class = strlen((char *) (data+len_name+1));
-       if (! (classhint->res_class = Xmalloc((unsigned) (len_class+1)))) {
+       if (! (classhint->res_class = Xmalloc(len_class + 1))) {
            Xfree(classhint->res_name);
            classhint->res_name = (char *) NULL;
-           Xfree((char *) data);
+           Xfree(data);
            return (0);
        }
        strcpy(classhint->res_class, (char *) (data+len_name+1));
index e8f1b03..c461abc 100644 (file)
@@ -30,6 +30,7 @@ in this Software without prior written authorization from The Open Group.
 #include "Xlibint.h"
 #include <X11/Xutil.h>         /* for XDestroyImage */
 #include "ImUtil.h"
+#include <limits.h>
 
 #define ROUNDUP(nbytes, pad) (((((nbytes) - 1) + (pad)) / (pad)) * (pad))
 
@@ -56,7 +57,7 @@ XImage *XGetImage (
        xGetImageReply rep;
        register xGetImageReq *req;
        char *data;
-       long nbytes;
+       unsigned long nbytes;
        XImage *image;
        LockDisplay(dpy);
        GetReq (GetImage, req);
@@ -78,10 +79,13 @@ XImage *XGetImage (
                return (XImage *)NULL;
        }
 
-       nbytes = (long)rep.length << 2;
-       data = (char *) Xmalloc((unsigned) nbytes);
+       if (rep.length < (INT_MAX >> 2)) {
+           nbytes = (unsigned long)rep.length << 2;
+           data = Xmalloc(nbytes);
+       } else
+           data = NULL;
        if (! data) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, rep.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return (XImage *) NULL;
index 3db176f..ad9c772 100644 (file)
@@ -28,6 +28,7 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 XTimeCoord *XGetMotionEvents(
     register Display *dpy,
@@ -39,7 +40,6 @@ XTimeCoord *XGetMotionEvents(
     xGetMotionEventsReply rep;
     register xGetMotionEventsReq *req;
     XTimeCoord *tc = NULL;
-    long nbytes;
     LockDisplay(dpy);
     GetReq(GetMotionEvents, req);
     req->window = w;
@@ -52,26 +52,22 @@ XTimeCoord *XGetMotionEvents(
        return (NULL);
        }
 
-    if (rep.nEvents) {
-       if (! (tc = (XTimeCoord *)
-              Xmalloc( (unsigned)
-                      (nbytes = (long) rep.nEvents * sizeof(XTimeCoord))))) {
-           _XEatData (dpy, (unsigned long) nbytes);
-           UnlockDisplay(dpy);
-           SyncHandle();
-           return (NULL);
-       }
+    if (rep.nEvents && (rep.nEvents < (INT_MAX / sizeof(XTimeCoord))))
+       tc = Xmalloc(rep.nEvents * sizeof(XTimeCoord));
+    if (tc == NULL) {
+       /* server returned either no events or a bad event count */
+       *nEvents = 0;
+       _XEatDataWords (dpy, rep.length);
     }
-
-    *nEvents = rep.nEvents;
-    nbytes = SIZEOF (xTimecoord);
+    else
     {
        register XTimeCoord *tcptr;
-       register int i;
+       unsigned int i;
        xTimecoord xtc;
 
+       *nEvents = (int) rep.nEvents;
        for (i = rep.nEvents, tcptr = tc; i > 0; i--, tcptr++) {
-           _XRead (dpy, (char *) &xtc, nbytes);
+           _XRead (dpy, (char *) &xtc, SIZEOF (xTimecoord));
            tcptr->time = xtc.time;
            tcptr->x    = cvtINT16toShort (xtc.x);
            tcptr->y    = cvtINT16toShort (xtc.y);
index 6f328e8..5e4143b 100644 (file)
@@ -83,7 +83,7 @@ Status XGetWMSizeHints (
 
     if ((actual_type != XA_WM_SIZE_HINTS) ||
        (nitems < OldNumPropSizeElements) || (actual_format != 32)) {
-       if (prop != NULL) Xfree ((char *)prop);
+       if (prop != NULL) Xfree (prop);
        return False;
     }
 
@@ -112,7 +112,7 @@ Status XGetWMSizeHints (
        *supplied |= (PBaseSize | PWinGravity);
     }
     hints->flags &= (*supplied);       /* get rid of unwanted bits */
-    Xfree((char *)prop);
+    Xfree(prop);
     return True;
 }
 
index 0fcdb66..29fdf21 100644 (file)
@@ -29,6 +29,7 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 #ifdef MIN             /* some systems define this in <sys/param.h> */
 #undef MIN
@@ -42,7 +43,7 @@ int XGetPointerMapping (
 
 {
     unsigned char mapping[256];        /* known fixed size */
-    long nbytes, remainder = 0;
+    unsigned long nbytes, remainder = 0;
     xGetPointerMappingReply rep;
     register xReq *req;
 
@@ -54,9 +55,15 @@ int XGetPointerMapping (
        return 0;
     }
 
-    nbytes = (long)rep.length << 2;
-
     /* Don't count on the server returning a valid value */
+    if (rep.length >= (INT_MAX >> 2)) {
+       _XEatDataWords(dpy, rep.length);
+       UnlockDisplay(dpy);
+       SyncHandle();
+       return 0;
+    }
+
+    nbytes = (unsigned long) rep.length << 2;
     if (nbytes > sizeof mapping) {
        remainder = nbytes - sizeof mapping;
        nbytes = sizeof mapping;
@@ -69,7 +76,7 @@ int XGetPointerMapping (
        }
 
     if (remainder)
-       _XEatData(dpy, (unsigned long)remainder);
+       _XEatData(dpy, remainder);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -86,8 +93,8 @@ XGetKeyboardMapping (Display *dpy,
                             int count,
                             int *keysyms_per_keycode)
 {
-    long nbytes;
-    unsigned long nkeysyms;
+    unsigned long nbytes;
+    CARD32 nkeysyms;
     register KeySym *mapping = NULL;
     xGetKeyboardMappingReply rep;
     register xGetKeyboardMappingReq *req;
@@ -102,17 +109,19 @@ XGetKeyboardMapping (Display *dpy,
        return (KeySym *) NULL;
     }
 
-    nkeysyms = (unsigned long) rep.length;
+    nkeysyms = rep.length;
     if (nkeysyms > 0) {
-       nbytes = nkeysyms * sizeof (KeySym);
-       mapping = (KeySym *) Xmalloc ((unsigned) nbytes);
-       nbytes = nkeysyms << 2;
+       if (nkeysyms < (INT_MAX / sizeof (KeySym))) {
+           nbytes = nkeysyms * sizeof (KeySym);
+           mapping = Xmalloc (nbytes);
+       }
        if (! mapping) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, rep.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return (KeySym *) NULL;
        }
+       nbytes = nkeysyms << 2;
        _XRead32 (dpy, (long *) mapping, nbytes);
     }
     *keysyms_per_keycode = rep.keySymsPerKeyCode;
index 5d6e0b8..9eb422e 100644 (file)
@@ -28,6 +28,7 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 int
 XGetWindowProperty(
@@ -48,6 +49,13 @@ XGetWindowProperty(
     register xGetPropertyReq *req;
     xError error = {0};
 
+    /* Always initialize return values, in case callers fail to initialize
+       them and fail to check the return code for an error. */
+    *actual_type = None;
+    *actual_format = 0;
+    *nitems = *bytesafter = 0L;
+    *prop = (unsigned char *) NULL;
+
     LockDisplay(dpy);
     GetReq (GetProperty, req);
     req->window = w;
@@ -64,10 +72,18 @@ XGetWindowProperty(
        return (1);     /* not Success */
        }
 
-    *prop = (unsigned char *) NULL;
     if (reply.propertyType != None) {
-       long nbytes, netbytes;
-       switch (reply.format) {
+       unsigned long nbytes, netbytes;
+       int format = reply.format;
+
+      /*
+       * Protect against both integer overflow and just plain oversized
+       * memory allocation - no server should ever return this many props.
+       */
+       if (reply.nItems >= (INT_MAX >> 4))
+           format = -1;        /* fall through to default error case */
+
+       switch (format) {
       /*
        * One extra byte is malloced than is needed to contain the property
        * data, but this last byte is null terminated and convenient for
@@ -76,24 +92,21 @@ XGetWindowProperty(
        */
          case 8:
            nbytes = netbytes = reply.nItems;
-           if (nbytes + 1 > 0 &&
-               (*prop = (unsigned char *) Xmalloc ((unsigned)nbytes + 1)))
+           if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
                _XReadPad (dpy, (char *) *prop, netbytes);
            break;
 
          case 16:
            nbytes = reply.nItems * sizeof (short);
            netbytes = reply.nItems << 1;
-           if (nbytes + 1 > 0 &&
-               (*prop = (unsigned char *) Xmalloc ((unsigned)nbytes + 1)))
+           if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
                _XRead16Pad (dpy, (short *) *prop, netbytes);
            break;
 
          case 32:
            nbytes = reply.nItems * sizeof (long);
            netbytes = reply.nItems << 2;
-           if (nbytes + 1 > 0 &&
-               (*prop = (unsigned char *) Xmalloc ((unsigned)nbytes + 1)))
+           if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
                _XRead32 (dpy, (long *) *prop, netbytes);
            break;
 
@@ -115,7 +128,7 @@ XGetWindowProperty(
            break;
        }
        if (! *prop) {
-           _XEatData(dpy, (unsigned long) netbytes);
+           _XEatDataWords(dpy, reply.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return(BadAlloc);   /* not Success */
index 9e227a2..d8a1b3f 100644 (file)
@@ -63,7 +63,7 @@ Status XGetRGBColormaps (
     /* if wrong type or format, or too small for us, then punt */
     if ((actual_type != XA_RGB_COLOR_MAP) || (actual_format != 32) ||
        (nitems < OldNumPropStandardColormapElements)) {
-       if (data) Xfree ((char *) data);
+       if (data) Xfree (data);
        return False;
     }
 
@@ -78,7 +78,7 @@ Status XGetRGBColormaps (
            Screen *sp = _XScreenOfWindow (dpy, w);
 
            if (!sp) {
-               if (data) Xfree ((char *) data);
+               if (data) Xfree (data);
                return False;
            }
            def_visual = sp->root_visual->visualid;
@@ -90,7 +90,7 @@ Status XGetRGBColormaps (
        ncmaps = (nitems / NumPropStandardColormapElements);
        if ((((unsigned long) ncmaps) * NumPropStandardColormapElements) !=
            nitems) {
-           if (data) Xfree ((char *) data);
+           if (data) Xfree (data);
            return False;
        }
     }
@@ -99,10 +99,9 @@ Status XGetRGBColormaps (
     /*
      * allocate array
      */
-    cmaps = (XStandardColormap *) Xmalloc (ncmaps *
-                                          sizeof (XStandardColormap));
+    cmaps = Xmalloc (ncmaps * sizeof (XStandardColormap));
     if (!cmaps) {
-       if (data) Xfree ((char *) data);
+       if (data) Xfree (data);
        return False;
     }
 
@@ -127,7 +126,7 @@ Status XGetRGBColormaps (
            map->killid     = (old_style ? None : prop->killid);
        }
     }
-    Xfree ((char *) data);
+    Xfree (data);
     *stdcmap = cmaps;
     *count = ncmaps;
     return True;
index 82fb213..ac5b0fa 100644 (file)
@@ -81,7 +81,7 @@ Status XGetStandardColormap (
            int i;
 
            if (!sp) {
-               if (stdcmaps) Xfree ((char *) stdcmaps);
+               if (stdcmaps) Xfree (stdcmaps);
                return False;
            }
            vid = sp->root_visual->visualid;
@@ -91,7 +91,7 @@ Status XGetStandardColormap (
            }
 
            if (i == nstdcmaps) {       /* not found */
-               Xfree ((char *) stdcmaps);
+               Xfree (stdcmaps);
                return False;
            }
            use = &stdcmaps[i];
@@ -111,7 +111,7 @@ Status XGetStandardColormap (
        cmap->blue_mult  = use->blue_mult;
        cmap->base_pixel = use->base_pixel;
 
-       Xfree ((char *) stdcmaps);      /* don't need alloced memory */
+       Xfree (stdcmaps);       /* don't need alloced memory */
     }
     return stat;
 }
index 5d54cc1..27f1e23 100644 (file)
@@ -77,7 +77,7 @@ Status XGetWMColormapWindows (
       return False;
 
     if (actual_type != XA_WINDOW || actual_format != 32) {
-       if (data) Xfree ((char *) data);
+       if (data) Xfree (data);
        return False;
     }
 
index d8f8bda..4e9f12c 100644 (file)
@@ -77,7 +77,7 @@ Status XGetWMProtocols (
       return False;
 
     if (actual_type != XA_ATOM || actual_format != 32) {
-       if (data) Xfree ((char *) data);
+       if (data) Xfree (data);
        return False;
     }
 
index da9923a..b07c9c3 100644 (file)
@@ -64,13 +64,11 @@ X Window System is a trademark of The Open Group.
 #endif
 #include "Xlibint.h"
 
-int
-XAddHost (
-    register Display *dpy,
-    XHostAddress *host)
+static inline int
+changehost (Display *dpy, XHostAddress *host, BYTE mode)
 {
-    register xChangeHostsReq *req;
-    register int length;
+    xChangeHostsReq *req;
+    int length;
     XServerInterpretedAddress *siAddr;
     int addrlen;
 
@@ -83,7 +81,11 @@ XAddHost (
 
     LockDisplay(dpy);
     GetReqExtra (ChangeHosts, length, req);
-    req->mode = HostInsert;
+    if (!req) {
+       UnlockDisplay(dpy);
+       return 0;
+    }
+    req->mode = mode;
     req->hostFamily = host->family;
     req->hostLength = addrlen;
     if (siAddr) {
@@ -100,38 +102,19 @@ XAddHost (
 }
 
 int
-XRemoveHost (
+XAddHost (
     register Display *dpy,
     XHostAddress *host)
 {
-    register xChangeHostsReq *req;
-    register int length;
-    XServerInterpretedAddress *siAddr;
-    int addrlen;
-
-    siAddr = host->family == FamilyServerInterpreted ?
-       (XServerInterpretedAddress *)host->address : NULL;
-    addrlen = siAddr ?
-       siAddr->typelength + siAddr->valuelength + 1 : host->length;
-
-    length = (addrlen + 3) & ~0x3;     /* round up */
+    return changehost(dpy, host, HostInsert);
+}
 
-    LockDisplay(dpy);
-    GetReqExtra (ChangeHosts, length, req);
-    req->mode = HostDelete;
-    req->hostFamily = host->family;
-    req->hostLength = addrlen;
-    if (siAddr) {
-       char *dest = (char *) NEXTPTR(req,xChangeHostsReq);
-       memcpy(dest, siAddr->type, siAddr->typelength);
-       dest[siAddr->typelength] = '\0';
-       memcpy(dest + siAddr->typelength + 1,siAddr->value,siAddr->valuelength);
-    } else {
-       memcpy((char *) NEXTPTR(req,xChangeHostsReq), host->address, addrlen);
-    }
-    UnlockDisplay(dpy);
-    SyncHandle();
-    return 1;
+int
+XRemoveHost (
+    register Display *dpy,
+    XHostAddress *host)
+{
+    return changehost(dpy, host, HostDelete);
 }
 
 int
index 3164d43..4fc060c 100644 (file)
@@ -332,7 +332,7 @@ XImage *XCreateImage (
            (xpad != 8 && xpad != 16 && xpad != 32) ||
            offset < 0)
            return (XImage *) NULL;
-       if ((image = (XImage *) Xcalloc(1, (unsigned) sizeof(XImage))) == NULL)
+       if ((image = Xcalloc(1, sizeof(XImage))) == NULL)
            return (XImage *) NULL;
 
        image->width = width;
@@ -434,9 +434,9 @@ Status XInitImage (XImage *image)
 
 static int _XDestroyImage (XImage *ximage)
 {
-       if (ximage->data != NULL) Xfree((char *)ximage->data);
-       if (ximage->obdata != NULL) Xfree((char *)ximage->obdata);
-       Xfree((char *)ximage);
+       if (ximage->data != NULL) Xfree(ximage->data);
+       if (ximage->obdata != NULL) Xfree(ximage->obdata);
+       Xfree(ximage);
        return 1;
 }
 
@@ -528,9 +528,7 @@ static unsigned long _XGetPixel (
          return (pixel & low_bits_table[ximage->depth]);
 }
 
-#ifndef WORD64
 static CARD32 const byteorderpixel = MSBFirst << 24;
-#endif
 
 static unsigned long _XGetPixel32 (
     register XImage *ximage,
@@ -543,12 +541,9 @@ static unsigned long _XGetPixel32 (
        if ((ximage->format == ZPixmap) && (ximage->bits_per_pixel == 32)) {
            addr = &((unsigned char *)ximage->data)
                        [y * ximage->bytes_per_line + (x << 2)];
-#ifndef WORD64
            if (*((const char *)&byteorderpixel) == ximage->byte_order)
                pixel = *((CARD32 *)addr);
-           else
-#endif
-           if (ximage->byte_order == MSBFirst)
+           else if (ximage->byte_order == MSBFirst)
                pixel = ((unsigned long)addr[0] << 24 |
                         (unsigned long)addr[1] << 16 |
                         (unsigned long)addr[2] << 8 |
@@ -734,12 +729,9 @@ static int _XPutPixel32 (
        if ((ximage->format == ZPixmap) && (ximage->bits_per_pixel == 32)) {
            addr = &((unsigned char *)ximage->data)
                        [y * ximage->bytes_per_line + (x << 2)];
-#ifndef WORD64
            if (*((const char *)&byteorderpixel) == ximage->byte_order)
                *((CARD32 *)addr) = pixel;
-           else
-#endif
-           if (ximage->byte_order == MSBFirst) {
+           else if (ximage->byte_order == MSBFirst) {
                addr[0] = pixel >> 24;
                addr[1] = pixel >> 16;
                addr[2] = pixel >> 8;
@@ -850,7 +842,7 @@ static XImage *_XSubImage (
        register unsigned long pixel;
        char *data;
 
-       if ((subimage = (XImage *) Xcalloc (1, sizeof (XImage))) == NULL)
+       if ((subimage = Xcalloc (1, sizeof (XImage))) == NULL)
            return (XImage *) NULL;
        subimage->width = width;
        subimage->height = height;
@@ -876,8 +868,8 @@ static XImage *_XSubImage (
        _XInitImageFuncPtrs (subimage);
        dsize = subimage->bytes_per_line * height;
        if (subimage->format == XYPixmap) dsize = dsize * subimage->depth;
-       if (((data = Xcalloc (1, (unsigned) dsize)) == NULL) && (dsize > 0)) {
-           Xfree((char *) subimage);
+       if (((data = Xcalloc (1, dsize)) == NULL) && (dsize > 0)) {
+           Xfree(subimage);
            return (XImage *) NULL;
        }
        subimage->data = data;
@@ -997,7 +989,6 @@ _XAddPixel (
            x = ximage->bytes_per_line * ximage->height;
            while (--x >= 0)
                *dp++ += value;
-#ifndef WORD64
        } else if ((ximage->format == ZPixmap) &&
                   (ximage->bits_per_pixel == 16) &&
                   (*((const char *)&byteorderpixel) == ximage->byte_order)) {
@@ -1012,7 +1003,6 @@ _XAddPixel (
            x = (ximage->bytes_per_line >> 2) * ximage->height;
            while (--x >= 0)
                *dp++ += value;
-#endif
        } else {
            for (y = ximage->height; --y >= 0; ) {
                for (x = ximage->width; --x >= 0; ) {
index 19515cc..0ff3732 100644 (file)
@@ -49,9 +49,9 @@ XExtCodes *XInitExtension (
                &codes.first_error)) return (NULL);
 
        LockDisplay (dpy);
-       if (! (ext = (_XExtension *) Xcalloc (1, sizeof (_XExtension))) ||
+       if (! (ext = Xcalloc (1, sizeof (_XExtension))) ||
            ! (ext->name = strdup(name))) {
-           if (ext) Xfree((char *) ext);
+           if (ext) Xfree(ext);
            UnlockDisplay(dpy);
            return (XExtCodes *) NULL;
        }
@@ -71,7 +71,7 @@ XExtCodes *XAddExtension (Display *dpy)
     register _XExtension *ext;
 
     LockDisplay (dpy);
-    if (! (ext = (_XExtension *) Xcalloc (1, sizeof (_XExtension)))) {
+    if (! (ext = Xcalloc (1, sizeof (_XExtension)))) {
        UnlockDisplay(dpy);
        return (XExtCodes *) NULL;
     }
index 7a56258..3042b65 100644 (file)
@@ -47,9 +47,9 @@ _XFreeAtomTable(Display *dpy)
        table = dpy->atoms->table;
        for (i = TABLESIZE; --i >= 0; ) {
            if ((e = *table++) && (e != RESERVED))
-               Xfree((char *)e);
+               Xfree(e);
        }
-       Xfree((char *)dpy->atoms);
+       Xfree(dpy->atoms);
     }
 }
 
@@ -72,7 +72,7 @@ Atom _XInternAtom(
 
     /* look in the cache first */
     if (!(atoms = dpy->atoms)) {
-       dpy->atoms = atoms = (AtomTable *)Xcalloc(1, sizeof(AtomTable));
+       dpy->atoms = atoms = Xcalloc(1, sizeof(AtomTable));
        dpy->free_funcs->atoms = _XFreeAtomTable;
     }
     sig = 0;
@@ -127,7 +127,7 @@ _XUpdateAtomCache(
 
     if (!dpy->atoms) {
        if (idx < 0) {
-           dpy->atoms = (AtomTable *)Xcalloc(1, sizeof(AtomTable));
+           dpy->atoms = Xcalloc(1, sizeof(AtomTable));
            dpy->free_funcs->atoms = _XFreeAtomTable;
        }
        if (!dpy->atoms)
@@ -147,13 +147,13 @@ _XUpdateAtomCache(
            }
        }
     }
-    e = (Entry)Xmalloc(sizeof(EntryRec) + n + 1);
+    e = Xmalloc(sizeof(EntryRec) + n + 1);
     if (e) {
        e->sig = sig;
        e->atom = atom;
        strcpy(EntryName(e), name);
        if ((oe = dpy->atoms->table[idx]) && (oe != RESERVED))
-           Xfree((char *)oe);
+           Xfree(oe);
        dpy->atoms->table[idx] = e;
     }
 }
index 0fe89ba..bb25439 100644 (file)
--- a/src/Key.h
+++ b/src/Key.h
@@ -2,6 +2,9 @@
 #ifndef _KEY_H_
 #define _KEY_H_
 
+#include <X11/Xlib.h>
+#include <X11/Xresource.h>
+
 #ifndef NEEDKTABLE
 extern const unsigned char _XkeyTable[];
 #endif
index 221cedd..a49de3d 100644 (file)
@@ -239,7 +239,7 @@ XRefreshKeyboardMapping(register XMappingEvent *event)
         */
        LockDisplay(event->display);
        if (event->display->keysyms) {
-            Xfree ((char *)event->display->keysyms);
+            Xfree (event->display->keysyms);
             event->display->keysyms = NULL;
        }
        UnlockDisplay(event->display);
@@ -277,7 +277,7 @@ _XKeyInitialize(
 
        LockDisplay(dpy);
        if (dpy->keysyms)
-           Xfree ((char *)dpy->keysyms);
+           Xfree (dpy->keysyms);
        dpy->keysyms = keysyms;
        dpy->keysyms_per_keycode = per;
        if (dpy->modifiermap)
@@ -974,8 +974,8 @@ _XFreeKeyBindings(
     for (p = dpy->key_bindings; p; p = np) {
        np = p->next;
        Xfree(p->string);
-       Xfree((char *)p->modifiers);
-       Xfree((char *)p);
+       Xfree(p->modifiers);
+       Xfree(p);
     }
 }
 
@@ -997,15 +997,13 @@ XRebindKeysym (
     tmp = dpy->key_bindings;
     nb = sizeof(KeySym) * nm;
 
-    if ((! (p = (struct _XKeytrans *) Xcalloc( 1, sizeof(struct _XKeytrans)))) ||
-       ((! (p->string = (char *) Xmalloc( (unsigned) nbytes))) &&
-        (nbytes > 0)) ||
-       ((! (p->modifiers = (KeySym *) Xmalloc( (unsigned) nb))) &&
-        (nb > 0))) {
+    if ((! (p = Xcalloc( 1, sizeof(struct _XKeytrans)))) ||
+       ((! (p->string = Xmalloc(nbytes))) && (nbytes > 0)) ||
+       ((! (p->modifiers = Xmalloc(nb))) && (nb > 0))) {
        if (p) {
            if (p->string) Xfree(p->string);
-           if (p->modifiers) Xfree((char *) p->modifiers);
-           Xfree((char *) p);
+           if (p->modifiers) Xfree(p->modifiers);
+           Xfree(p);
        }
        UnlockDisplay(dpy);
        return 0;
@@ -1014,7 +1012,7 @@ XRebindKeysym (
     dpy->key_bindings = p;
     dpy->free_funcs->key_bindings = _XFreeKeyBindings;
     p->next = tmp;     /* chain onto list */
-    memcpy (p->string, (char *) str, nbytes);
+    memcpy (p->string, str, nbytes);
     p->len = nbytes;
     memcpy ((char *) p->modifiers, (char *) mlist, nb);
     p->key = keysym;
index 101f297..c7c4704 100644 (file)
@@ -70,11 +70,6 @@ SameValue(
 
 char *XKeysymToString(KeySym ks)
 {
-    register int i, n;
-    int h;
-    register int idx;
-    const unsigned char *entry;
-    unsigned char val1, val2, val3, val4;
     XrmDatabase keysymdb;
 
     if (!ks || (ks & ((unsigned long) ~0x1fffffff)) != 0)
@@ -83,16 +78,17 @@ char *XKeysymToString(KeySym ks)
        ks = 0;
     if (ks <= 0x1fffffff)
     {
-       val1 = ks >> 24;
-       val2 = (ks >> 16) & 0xff;
-       val3 = (ks >> 8) & 0xff;
-       val4 = ks & 0xff;
-       i = ks % VTABLESIZE;
-       h = i + 1;
-       n = VMAXHASH;
+       unsigned char val1 = ks >> 24;
+       unsigned char val2 = (ks >> 16) & 0xff;
+       unsigned char val3 = (ks >> 8) & 0xff;
+       unsigned char val4 = ks & 0xff;
+       int i = ks % VTABLESIZE;
+       int h = i + 1;
+       int n = VMAXHASH;
+       int idx;
        while ((idx = hashKeysym[i]))
        {
-           entry = &_XkeyTable[idx];
+           const unsigned char *entry = &_XkeyTable[idx];
            if ((entry[0] == val1) && (entry[1] == val2) &&
                 (entry[2] == val3) && (entry[3] == val4))
                return ((char *)entry + 4);
@@ -111,7 +107,7 @@ char *XKeysymToString(KeySym ks)
        XrmQuark empty = NULLQUARK;
        GRNData data;
 
-       sprintf(buf, "%lX", ks);
+       snprintf(buf, sizeof(buf), "%lX", ks);
        resval.addr = (XPointer)buf;
        resval.size = strlen(buf) + 1;
        data.name = (char *)NULL;
@@ -136,7 +132,7 @@ char *XKeysymToString(KeySym ks)
         i--;
         s[i--] = '\0';
         for (; i; i--){
-            val1 = val & 0xf;
+            unsigned char val1 = val & 0xf;
             val >>= 4;
             if (val1 < 10)
                 s[i] = '0'+ val1;
index 5ae70d5..83cf3c7 100644 (file)
@@ -62,6 +62,8 @@ X Window System is a trademark of The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
+
 /*
  * can be freed using XFree.
  */
@@ -73,7 +75,6 @@ XHostAddress *XListHosts (
 {
     register XHostAddress *outbuf = NULL, *op;
     xListHostsReply reply;
-    long nbytes;
     unsigned char *buf, *bp;
     register unsigned i;
     register xListHostsReq *req;
@@ -90,19 +91,26 @@ XHostAddress *XListHosts (
     }
 
     if (reply.nHosts) {
-       nbytes = reply.length << 2;     /* compute number of bytes in reply */
+       unsigned long nbytes = reply.length << 2; /* number of bytes in reply */
+       const unsigned long max_hosts = INT_MAX /
+           (sizeof(XHostAddress) + sizeof(XServerInterpretedAddress));
+
+       if (reply.nHosts < max_hosts) {
+           unsigned long hostbytes = reply.nHosts *
+               (sizeof(XHostAddress) + sizeof(XServerInterpretedAddress));
 
-       op = outbuf = (XHostAddress *)
-           Xmalloc((unsigned) (nbytes +
-             (reply.nHosts * sizeof(XHostAddress)) +
-             (reply.nHosts * sizeof(XServerInterpretedAddress))));
+           if (reply.length < (INT_MAX >> 2) &&
+               (hostbytes >> 2) < ((INT_MAX >> 2) - reply.length))
+               outbuf = Xmalloc(nbytes + hostbytes);
+       }
 
        if (! outbuf) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, reply.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return (XHostAddress *) NULL;
        }
+       op = outbuf;
        sip = (XServerInterpretedAddress *)
         (((unsigned char  *) outbuf) + (reply.nHosts * sizeof(XHostAddress)));
        bp = buf = ((unsigned char  *) sip)
@@ -111,15 +119,8 @@ XHostAddress *XListHosts (
        _XRead (dpy, (char *) buf, nbytes);
 
        for (i = 0; i < reply.nHosts; i++) {
-#ifdef WORD64
-           xHostEntry xhe;
-           memcpy((char *)&xhe, bp, SIZEOF(xHostEntry));
-           op->family = xhe.family;
-           op->length = xhe.length;
-#else
            op->family = ((xHostEntry *) bp)->family;
            op->length =((xHostEntry *) bp)->length;
-#endif
            if (op->family == FamilyServerInterpreted) {
                char *tp = (char *) (bp + SIZEOF(xHostEntry));
                char *vp = memchr(tp, 0, op->length);
index e981619..45a2f2f 100644 (file)
@@ -34,7 +34,7 @@ Colormap *XListInstalledColormaps(
     Window win,
     int *n)  /* RETURN */
 {
-    long nbytes;
+    unsigned long nbytes;
     Colormap *cmaps;
     xListInstalledColormapsReply rep;
     register xResourceReq *req;
@@ -51,14 +51,14 @@ Colormap *XListInstalledColormaps(
 
     if (rep.nColormaps) {
        nbytes = rep.nColormaps * sizeof(Colormap);
-       cmaps = (Colormap *) Xmalloc((unsigned) nbytes);
-       nbytes = rep.nColormaps << 2;
+       cmaps = Xmalloc(nbytes);
        if (! cmaps) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, rep.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return((Colormap *) NULL);
        }
+       nbytes = rep.nColormaps << 2;
        _XRead32 (dpy, (long *) cmaps, nbytes);
     }
     else cmaps = (Colormap *) NULL;
index 72560ab..d9c7465 100644 (file)
@@ -34,7 +34,7 @@ Atom *XListProperties(
     Window window,
     int *n_props)  /* RETURN */
 {
-    long nbytes;
+    unsigned long nbytes;
     xListPropertiesReply rep;
     Atom *properties;
     register xResourceReq *req;
@@ -50,14 +50,14 @@ Atom *XListProperties(
 
     if (rep.nProperties) {
        nbytes = rep.nProperties * sizeof(Atom);
-       properties = (Atom *) Xmalloc ((unsigned) nbytes);
-       nbytes = rep.nProperties << 2;
+       properties = Xmalloc (nbytes);
        if (! properties) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, rep.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return (Atom *) NULL;
        }
+       nbytes = rep.nProperties << 2;
        _XRead32 (dpy, (long *) properties, nbytes);
     }
     else properties = (Atom *) NULL;
index 16b522e..f40924d 100644 (file)
@@ -28,18 +28,21 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 char **XListExtensions(
     register Display *dpy,
     int *nextensions)  /* RETURN */
 {
        xListExtensionsReply rep;
-       char **list;
-       char *ch;
+       char **list = NULL;
+       char *ch = NULL;
+       char *chend;
+       int count = 0;
        register unsigned i;
        register int length;
        register xReq *req;
-       register long rlen;
+       unsigned long rlen;
 
        LockDisplay(dpy);
        GetEmptyReq (ListExtensions, req);
@@ -51,16 +54,17 @@ char **XListExtensions(
        }
 
        if (rep.nExtensions) {
-           list = (char **) Xmalloc (
-                (unsigned)(rep.nExtensions * sizeof (char *)));
-           rlen = rep.length << 2;
-           ch = (char *) Xmalloc ((unsigned) rlen + 1);
+           list = Xmalloc (rep.nExtensions * sizeof (char *));
+           if (rep.length < (INT_MAX >> 2)) {
+               rlen = rep.length << 2;
+               ch = Xmalloc (rlen + 1);
                 /* +1 to leave room for last null-terminator */
+           }
 
            if ((!list) || (!ch)) {
-               if (list) Xfree((char *) list);
-               if (ch)   Xfree((char *) ch);
-               _XEatData(dpy, (unsigned long) rlen);
+               if (list) Xfree(list);
+               if (ch)   Xfree(ch);
+               _XEatDataWords(dpy, rep.length);
                UnlockDisplay(dpy);
                SyncHandle();
                return (char **) NULL;
@@ -70,17 +74,21 @@ char **XListExtensions(
            /*
             * unpack into null terminated strings.
             */
+           chend = ch + (rlen + 1);
            length = *ch;
            for (i = 0; i < rep.nExtensions; i++) {
-               list[i] = ch+1;  /* skip over length */
-               ch += length + 1; /* find next length ... */
-               length = *ch;
-               *ch = '\0'; /* and replace with null-termination */
+               if (ch + length < chend) {
+                   list[i] = ch+1;  /* skip over length */
+                   ch += length + 1; /* find next length ... */
+                   length = *ch;
+                   *ch = '\0'; /* and replace with null-termination */
+                   count++;
+               } else
+                   list[i] = NULL;
            }
        }
-       else list = (char **) NULL;
 
-       *nextensions = rep.nExtensions;
+       *nextensions = count;
        UnlockDisplay(dpy);
        SyncHandle();
        return (list);
@@ -91,7 +99,7 @@ XFreeExtensionList (char **list)
 {
        if (list != NULL) {
            Xfree (list[0]-1);
-           Xfree ((char *)list);
+           Xfree (list);
        }
        return 1;
 }
index 42d4cf1..cfc083a 100644 (file)
@@ -137,12 +137,7 @@ int XImageByteOrder(Display *dpy) { return (ImageByteOrder(dpy)); }
 
 unsigned long XNextRequest(Display *dpy)
 {
-#ifdef WORD64
-    WORD64ALIGN
-    return dpy->request + 1;
-#else
     return (NextRequest(dpy));
-#endif
 }
 
 unsigned long XLastKnownRequestProcessed(Display *dpy)
index 71e02e7..d46b493 100644 (file)
@@ -210,6 +210,7 @@ libX11_la_SOURCES = \
                   ParseCmd.c \
                   ParseCol.c \
                   ParseGeom.c \
+                  pathmax.h \
                   PeekEvent.c \
                   PeekIfEv.c \
                   Pending.c \
@@ -331,10 +332,6 @@ if OS2
 libX11_la_SOURCES+=os2Stubs.c
 endif OS2
 
-if UDC
-libX11_la_SOURCES+=udcInf.c
-endif
-
 if THRSTUBS
 libX11_la_SOURCES+=UIThrStubs.c
 endif
@@ -345,7 +342,6 @@ x11data_DATA = XErrorDB
 EXTRA_DIST = \
        $(x11data_DATA) \
        os2Stubs.c \
-       udcInf.c \
        UIThrStubs.c 
 
 libX11_xcb_la_SOURCES = x11_xcb.c Xxcbint.h
@@ -385,6 +381,7 @@ if LINT
 
 ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
                $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+ALL_LINT_FLAGS += -DXCMSDIR=\"$(X11dir)\"
 
 lint:  $(BUILT_SOURCES)
        for f in $(libX11_la_SOURCES) ; do \
diff --git a/src/Makefile.in b/src/Makefile.in
deleted file mode 100644 (file)
index 8bfd429..0000000
+++ /dev/null
@@ -1,1369 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-
-#
-# ========================= Extra stuff ============================
-#
-@OS2_TRUE@am__append_1 = os2Stubs.c
-@UDC_TRUE@am__append_2 = udcInf.c
-@THRSTUBS_TRUE@am__append_3 = UIThrStubs.c
-@MAKE_LINT_LIB_TRUE@am__append_4 = $(lintlib_DATA)
-subdir = src
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/config.h.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = config.h $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(lintlibdir)" \
-       "$(DESTDIR)$(x11datadir)"
-LTLIBRARIES = $(lib_LTLIBRARIES)
-libX11_xcb_la_DEPENDENCIES = libX11.la
-am_libX11_xcb_la_OBJECTS = x11_xcb.lo
-libX11_xcb_la_OBJECTS = $(am_libX11_xcb_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-libX11_xcb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(libX11_xcb_la_LDFLAGS) $(LDFLAGS) -o $@
-am__DEPENDENCIES_1 =
-libX11_la_DEPENDENCIES = $(USE_I18N_LIBS) $(USE_XCMS_LIBS) \
-       $(USE_XKB_LIBS) $(am__DEPENDENCIES_1)
-am__libX11_la_SOURCES_DIST = AllCells.c AllowEv.c AllPlanes.c \
-       AutoRep.c Backgnd.c BdrWidth.c Bell.c Border.c ChAccCon.c \
-       ChActPGb.c ChClMode.c ChCmap.c ChGC.c ChKeyCon.c ChkIfEv.c \
-       ChkMaskEv.c ChkTypEv.c ChkTypWEv.c ChkWinEv.c ChPntCon.c \
-       ChProp.c ChSaveSet.c ChWAttrs.c ChWindow.c CirWin.c CirWinDn.c \
-       CirWinUp.c ClDisplay.c ClearArea.c Clear.c Cmap.h ConfWind.c \
-       Context.c ConvSel.c CopyArea.c CopyCmap.c CopyGC.c CopyPlane.c \
-       CrBFData.c CrCmap.c CrCursor.c CrGC.c CrGlCur.c Cr.h \
-       CrPFBData.c CrPixmap.c CrWindow.c Cursor.c DefCursor.c \
-       DelProp.c Depths.c DestSubs.c DestWind.c DisName.c DrArc.c \
-       DrArcs.c DrLine.c DrLines.c DrPoint.c DrPoints.c DrRect.c \
-       DrRects.c DrSegs.c ErrDes.c ErrHndlr.c evtomask.c EvToWire.c \
-       FetchName.c FillArc.c FillArcs.c FillPoly.c FillRct.c \
-       FillRcts.c FilterEv.c Flush.c Font.c FontInfo.c FontNames.c \
-       FreeCmap.c FreeCols.c FreeCurs.c FreeEData.c FreeEventData.c \
-       FreeGC.c FreePix.c FSSaver.c FSWrap.c GCMisc.c Geom.c \
-       GetAtomNm.c GetColor.c GetDflt.c GetEventData.c GetFPath.c \
-       GetFProp.c GetGCVals.c GetGeom.c GetHColor.c GetHints.c \
-       GetIFocus.c GetImage.c GetKCnt.c GetMoEv.c GetNrmHint.c \
-       GetPCnt.c GetPntMap.c GetProp.c GetRGBCMap.c GetSOwner.c \
-       GetSSaver.c GetStCmap.c GetTxtProp.c GetWAttrs.c GetWMCMapW.c \
-       GetWMProto.c globals.c GrButton.c GrKeybd.c GrKey.c \
-       GrPointer.c GrServer.c Host.c Iconify.c IfEvent.c imConv.c \
-       ImText16.c ImText.c ImUtil.c InitExt.c InsCmap.c IntAtom.c \
-       KeyBind.c Key.h KeysymStr.c KillCl.c LiHosts.c LiICmaps.c \
-       LiProps.c ListExt.c LoadFont.c LockDis.c locking.c locking.h \
-       LookupCol.c LowerWin.c Macros.c MapRaised.c MapSubs.c \
-       MapWindow.c MaskEvent.c Misc.c ModMap.c MoveWin.c NextEvent.c \
-       OCWrap.c OMWrap.c OpenDis.c ParseCmd.c ParseCol.c ParseGeom.c \
-       PeekEvent.c PeekIfEv.c Pending.c PixFormats.c PmapBgnd.c \
-       PmapBord.c poly.h PolyReg.c PolyTxt16.c PolyTxt.c PropAlloc.c \
-       PutBEvent.c PutImage.c Quarks.c QuBest.c QuColor.c QuColors.c \
-       QuCurShp.c QuExt.c QuKeybd.c QuPntr.c QuStipShp.c QuTextE16.c \
-       QuTextExt.c QuTileShp.c QuTree.c RaiseWin.c RdBitF.c \
-       RecolorC.c ReconfWin.c ReconfWM.c Region.c RegstFlt.c \
-       RepWindow.c RestackWs.c RotProp.c ScrResStr.c SelInput.c \
-       SendEvent.c SetBack.c SetClMask.c SetClOrig.c SetCRects.c \
-       SetDashes.c SetFont.c SetFore.c SetFPath.c SetFunc.c \
-       SetHints.c SetIFocus.c SetLocale.c SetLStyle.c SetNrmHint.c \
-       SetPMask.c SetPntMap.c SetRGBCMap.c SetSOwner.c SetSSaver.c \
-       SetState.c SetStCmap.c SetStip.c SetTile.c SetTSOrig.c \
-       SetTxtProp.c SetWMCMapW.c SetWMProto.c StBytes.c StColor.c \
-       StColors.c StName.c StNColor.c StrKeysym.c StrToText.c Sync.c \
-       Synchro.c Text16.c Text.c TextExt16.c TextExt.c TextToStr.c \
-       TrCoords.c UndefCurs.c UngrabBut.c UngrabKbd.c UngrabKey.c \
-       UngrabPtr.c UngrabSvr.c UninsCmap.c UnldFont.c UnmapSubs.c \
-       UnmapWin.c utlist.h VisUtil.c WarpPtr.c Window.c WinEvent.c \
-       Withdraw.c WMGeom.c WMProps.c WrBitF.c Xatomtype.h xcb_disp.c \
-       xcb_io.c Xintatom.h Xintconn.h XlibAsync.c XlibInt.c \
-       Xprivate.h XomGeneric.h Xresinternal.h Xrm.c Xxcbint.h \
-       os2Stubs.c udcInf.c UIThrStubs.c
-@OS2_TRUE@am__objects_1 = os2Stubs.lo
-@UDC_TRUE@am__objects_2 = udcInf.lo
-@THRSTUBS_TRUE@am__objects_3 = UIThrStubs.lo
-am_libX11_la_OBJECTS = AllCells.lo AllowEv.lo AllPlanes.lo AutoRep.lo \
-       Backgnd.lo BdrWidth.lo Bell.lo Border.lo ChAccCon.lo \
-       ChActPGb.lo ChClMode.lo ChCmap.lo ChGC.lo ChKeyCon.lo \
-       ChkIfEv.lo ChkMaskEv.lo ChkTypEv.lo ChkTypWEv.lo ChkWinEv.lo \
-       ChPntCon.lo ChProp.lo ChSaveSet.lo ChWAttrs.lo ChWindow.lo \
-       CirWin.lo CirWinDn.lo CirWinUp.lo ClDisplay.lo ClearArea.lo \
-       Clear.lo ConfWind.lo Context.lo ConvSel.lo CopyArea.lo \
-       CopyCmap.lo CopyGC.lo CopyPlane.lo CrBFData.lo CrCmap.lo \
-       CrCursor.lo CrGC.lo CrGlCur.lo CrPFBData.lo CrPixmap.lo \
-       CrWindow.lo Cursor.lo DefCursor.lo DelProp.lo Depths.lo \
-       DestSubs.lo DestWind.lo DisName.lo DrArc.lo DrArcs.lo \
-       DrLine.lo DrLines.lo DrPoint.lo DrPoints.lo DrRect.lo \
-       DrRects.lo DrSegs.lo ErrDes.lo ErrHndlr.lo evtomask.lo \
-       EvToWire.lo FetchName.lo FillArc.lo FillArcs.lo FillPoly.lo \
-       FillRct.lo FillRcts.lo FilterEv.lo Flush.lo Font.lo \
-       FontInfo.lo FontNames.lo FreeCmap.lo FreeCols.lo FreeCurs.lo \
-       FreeEData.lo FreeEventData.lo FreeGC.lo FreePix.lo FSSaver.lo \
-       FSWrap.lo GCMisc.lo Geom.lo GetAtomNm.lo GetColor.lo \
-       GetDflt.lo GetEventData.lo GetFPath.lo GetFProp.lo \
-       GetGCVals.lo GetGeom.lo GetHColor.lo GetHints.lo GetIFocus.lo \
-       GetImage.lo GetKCnt.lo GetMoEv.lo GetNrmHint.lo GetPCnt.lo \
-       GetPntMap.lo GetProp.lo GetRGBCMap.lo GetSOwner.lo \
-       GetSSaver.lo GetStCmap.lo GetTxtProp.lo GetWAttrs.lo \
-       GetWMCMapW.lo GetWMProto.lo globals.lo GrButton.lo GrKeybd.lo \
-       GrKey.lo GrPointer.lo GrServer.lo Host.lo Iconify.lo \
-       IfEvent.lo imConv.lo ImText16.lo ImText.lo ImUtil.lo \
-       InitExt.lo InsCmap.lo IntAtom.lo KeyBind.lo KeysymStr.lo \
-       KillCl.lo LiHosts.lo LiICmaps.lo LiProps.lo ListExt.lo \
-       LoadFont.lo LockDis.lo locking.lo LookupCol.lo LowerWin.lo \
-       Macros.lo MapRaised.lo MapSubs.lo MapWindow.lo MaskEvent.lo \
-       Misc.lo ModMap.lo MoveWin.lo NextEvent.lo OCWrap.lo OMWrap.lo \
-       OpenDis.lo ParseCmd.lo ParseCol.lo ParseGeom.lo PeekEvent.lo \
-       PeekIfEv.lo Pending.lo PixFormats.lo PmapBgnd.lo PmapBord.lo \
-       PolyReg.lo PolyTxt16.lo PolyTxt.lo PropAlloc.lo PutBEvent.lo \
-       PutImage.lo Quarks.lo QuBest.lo QuColor.lo QuColors.lo \
-       QuCurShp.lo QuExt.lo QuKeybd.lo QuPntr.lo QuStipShp.lo \
-       QuTextE16.lo QuTextExt.lo QuTileShp.lo QuTree.lo RaiseWin.lo \
-       RdBitF.lo RecolorC.lo ReconfWin.lo ReconfWM.lo Region.lo \
-       RegstFlt.lo RepWindow.lo RestackWs.lo RotProp.lo ScrResStr.lo \
-       SelInput.lo SendEvent.lo SetBack.lo SetClMask.lo SetClOrig.lo \
-       SetCRects.lo SetDashes.lo SetFont.lo SetFore.lo SetFPath.lo \
-       SetFunc.lo SetHints.lo SetIFocus.lo SetLocale.lo SetLStyle.lo \
-       SetNrmHint.lo SetPMask.lo SetPntMap.lo SetRGBCMap.lo \
-       SetSOwner.lo SetSSaver.lo SetState.lo SetStCmap.lo SetStip.lo \
-       SetTile.lo SetTSOrig.lo SetTxtProp.lo SetWMCMapW.lo \
-       SetWMProto.lo StBytes.lo StColor.lo StColors.lo StName.lo \
-       StNColor.lo StrKeysym.lo StrToText.lo Sync.lo Synchro.lo \
-       Text16.lo Text.lo TextExt16.lo TextExt.lo TextToStr.lo \
-       TrCoords.lo UndefCurs.lo UngrabBut.lo UngrabKbd.lo \
-       UngrabKey.lo UngrabPtr.lo UngrabSvr.lo UninsCmap.lo \
-       UnldFont.lo UnmapSubs.lo UnmapWin.lo VisUtil.lo WarpPtr.lo \
-       Window.lo WinEvent.lo Withdraw.lo WMGeom.lo WMProps.lo \
-       WrBitF.lo xcb_disp.lo xcb_io.lo XlibAsync.lo XlibInt.lo Xrm.lo \
-       $(am__objects_1) $(am__objects_2) $(am__objects_3)
-libX11_la_OBJECTS = $(am_libX11_la_OBJECTS)
-libX11_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(libX11_la_LDFLAGS) $(LDFLAGS) -o $@
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libX11_xcb_la_SOURCES) $(libX11_la_SOURCES)
-DIST_SOURCES = $(libX11_xcb_la_SOURCES) $(am__libX11_la_SOURCES_DIST)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-       html-recursive info-recursive install-data-recursive \
-       install-dvi-recursive install-exec-recursive \
-       install-html-recursive install-info-recursive \
-       install-pdf-recursive install-ps-recursive install-recursive \
-       installcheck-recursive installdirs-recursive pdf-recursive \
-       ps-recursive uninstall-recursive
-DATA = $(lintlib_DATA) $(x11data_DATA)
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-       distdir
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = util xcms xlibi18n xkb
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-
-#
-# Building ks_tables.h requires the makekeys utility
-#
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-@XKB_TRUE@XKB_SUBDIRS = xkb
-SUBDIRS = util xcms xlibi18n $(XKB_SUBDIRS)
-lib_LTLIBRARIES = libX11.la libX11-xcb.la
-BUILT_SOURCES = ks_tables.h
-CLEANFILES = ks_tables.h ks_tables_h $(am__append_4)
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE -DX11_t -DTRANS_CLIENT
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(XMALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-
-#
-# =============================== I18N =============================
-#
-I18N_LIBS = \
-       xlibi18n/libi18n.la
-
-
-#
-# =============================== XCMS =============================
-#
-XCMS_LIBS = \
-       xcms/libxcms.la
-
-
-#
-# =============================== XKB ==============================
-#
-XKB_LIBS = \
-       xkb/libxkb.la
-
-
-#
-# =============================== XLIB =============================
-#
-libX11_la_SOURCES = AllCells.c AllowEv.c AllPlanes.c AutoRep.c \
-       Backgnd.c BdrWidth.c Bell.c Border.c ChAccCon.c ChActPGb.c \
-       ChClMode.c ChCmap.c ChGC.c ChKeyCon.c ChkIfEv.c ChkMaskEv.c \
-       ChkTypEv.c ChkTypWEv.c ChkWinEv.c ChPntCon.c ChProp.c \
-       ChSaveSet.c ChWAttrs.c ChWindow.c CirWin.c CirWinDn.c \
-       CirWinUp.c ClDisplay.c ClearArea.c Clear.c Cmap.h ConfWind.c \
-       Context.c ConvSel.c CopyArea.c CopyCmap.c CopyGC.c CopyPlane.c \
-       CrBFData.c CrCmap.c CrCursor.c CrGC.c CrGlCur.c Cr.h \
-       CrPFBData.c CrPixmap.c CrWindow.c Cursor.c DefCursor.c \
-       DelProp.c Depths.c DestSubs.c DestWind.c DisName.c DrArc.c \
-       DrArcs.c DrLine.c DrLines.c DrPoint.c DrPoints.c DrRect.c \
-       DrRects.c DrSegs.c ErrDes.c ErrHndlr.c evtomask.c EvToWire.c \
-       FetchName.c FillArc.c FillArcs.c FillPoly.c FillRct.c \
-       FillRcts.c FilterEv.c Flush.c Font.c FontInfo.c FontNames.c \
-       FreeCmap.c FreeCols.c FreeCurs.c FreeEData.c FreeEventData.c \
-       FreeGC.c FreePix.c FSSaver.c FSWrap.c GCMisc.c Geom.c \
-       GetAtomNm.c GetColor.c GetDflt.c GetEventData.c GetFPath.c \
-       GetFProp.c GetGCVals.c GetGeom.c GetHColor.c GetHints.c \
-       GetIFocus.c GetImage.c GetKCnt.c GetMoEv.c GetNrmHint.c \
-       GetPCnt.c GetPntMap.c GetProp.c GetRGBCMap.c GetSOwner.c \
-       GetSSaver.c GetStCmap.c GetTxtProp.c GetWAttrs.c GetWMCMapW.c \
-       GetWMProto.c globals.c GrButton.c GrKeybd.c GrKey.c \
-       GrPointer.c GrServer.c Host.c Iconify.c IfEvent.c imConv.c \
-       ImText16.c ImText.c ImUtil.c InitExt.c InsCmap.c IntAtom.c \
-       KeyBind.c Key.h KeysymStr.c KillCl.c LiHosts.c LiICmaps.c \
-       LiProps.c ListExt.c LoadFont.c LockDis.c locking.c locking.h \
-       LookupCol.c LowerWin.c Macros.c MapRaised.c MapSubs.c \
-       MapWindow.c MaskEvent.c Misc.c ModMap.c MoveWin.c NextEvent.c \
-       OCWrap.c OMWrap.c OpenDis.c ParseCmd.c ParseCol.c ParseGeom.c \
-       PeekEvent.c PeekIfEv.c Pending.c PixFormats.c PmapBgnd.c \
-       PmapBord.c poly.h PolyReg.c PolyTxt16.c PolyTxt.c PropAlloc.c \
-       PutBEvent.c PutImage.c Quarks.c QuBest.c QuColor.c QuColors.c \
-       QuCurShp.c QuExt.c QuKeybd.c QuPntr.c QuStipShp.c QuTextE16.c \
-       QuTextExt.c QuTileShp.c QuTree.c RaiseWin.c RdBitF.c \
-       RecolorC.c ReconfWin.c ReconfWM.c Region.c RegstFlt.c \
-       RepWindow.c RestackWs.c RotProp.c ScrResStr.c SelInput.c \
-       SendEvent.c SetBack.c SetClMask.c SetClOrig.c SetCRects.c \
-       SetDashes.c SetFont.c SetFore.c SetFPath.c SetFunc.c \
-       SetHints.c SetIFocus.c SetLocale.c SetLStyle.c SetNrmHint.c \
-       SetPMask.c SetPntMap.c SetRGBCMap.c SetSOwner.c SetSSaver.c \
-       SetState.c SetStCmap.c SetStip.c SetTile.c SetTSOrig.c \
-       SetTxtProp.c SetWMCMapW.c SetWMProto.c StBytes.c StColor.c \
-       StColors.c StName.c StNColor.c StrKeysym.c StrToText.c Sync.c \
-       Synchro.c Text16.c Text.c TextExt16.c TextExt.c TextToStr.c \
-       TrCoords.c UndefCurs.c UngrabBut.c UngrabKbd.c UngrabKey.c \
-       UngrabPtr.c UngrabSvr.c UninsCmap.c UnldFont.c UnmapSubs.c \
-       UnmapWin.c utlist.h VisUtil.c WarpPtr.c Window.c WinEvent.c \
-       Withdraw.c WMGeom.c WMProps.c WrBitF.c Xatomtype.h xcb_disp.c \
-       xcb_io.c Xintatom.h Xintconn.h XlibAsync.c XlibInt.c \
-       Xprivate.h XomGeneric.h Xresinternal.h Xrm.c Xxcbint.h \
-       $(am__append_1) $(am__append_2) $(am__append_3)
-x11datadir = @X11_DATADIR@
-x11data_DATA = XErrorDB
-EXTRA_DIST = \
-       $(x11data_DATA) \
-       os2Stubs.c \
-       udcInf.c \
-       UIThrStubs.c 
-
-libX11_xcb_la_SOURCES = x11_xcb.c Xxcbint.h
-libX11_xcb_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-libX11_xcb_la_LIBADD = libX11.la
-
-#
-# Figure out which sub-libraries to link into Xlib
-#
-@XLOCALE_TRUE@USE_I18N_LIBS = $(I18N_LIBS)
-@XCMS_TRUE@USE_XCMS_LIBS = $(XCMS_LIBS)
-@XKB_TRUE@USE_XKB_LIBS = $(XKB_LIBS)
-libX11_la_LDFLAGS = -version-number 6:3:0 -no-undefined
-libX11_la_LIBADD = \
-       $(USE_I18N_LIBS) \
-       $(USE_XCMS_LIBS) \
-       $(USE_XKB_LIBS) \
-       $(X11_LIBS)
-
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
-
-@MAKE_LINT_LIB_TRUE@lintlibdir = $(libdir)
-@MAKE_LINT_LIB_TRUE@lintlib_DATA = $(LINTLIB)
-@MAKE_LINT_LIB_TRUE@lintlib_src = $(libX11_la_SOURCES) xcms/*.c xkb/*.c
-all: $(BUILT_SOURCES) config.h
-       $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-.SUFFIXES:
-.SUFFIXES: .c .ii .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign src/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-config.h: stamp-h1
-       @if test ! -f $@; then rm -f stamp-h1; else :; fi
-       @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
-
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
-       @rm -f stamp-h1
-       cd $(top_builddir) && $(SHELL) ./config.status src/config.h
-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
-       ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
-       rm -f stamp-h1
-       touch $@
-
-distclean-hdr:
-       -rm -f config.h stamp-h1
-install-libLTLIBRARIES: $(lib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
-       @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
-       list2=; for p in $$list; do \
-         if test -f $$p; then \
-           list2="$$list2 $$p"; \
-         else :; fi; \
-       done; \
-       test -z "$$list2" || { \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
-       }
-
-uninstall-libLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
-       for p in $$list; do \
-         $(am__strip_dir) \
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
-       done
-
-clean-libLTLIBRARIES:
-       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
-       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libX11-xcb.la: $(libX11_xcb_la_OBJECTS) $(libX11_xcb_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(libX11_xcb_la_LINK) -rpath $(libdir) $(libX11_xcb_la_OBJECTS) $(libX11_xcb_la_LIBADD) $(LIBS)
-libX11.la: $(libX11_la_OBJECTS) $(libX11_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(libX11_la_LINK) -rpath $(libdir) $(libX11_la_OBJECTS) $(libX11_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AllCells.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AllPlanes.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AllowEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AutoRep.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Backgnd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BdrWidth.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bell.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Border.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChAccCon.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChActPGb.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChClMode.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChGC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChKeyCon.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChPntCon.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChSaveSet.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChWAttrs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChWindow.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChkIfEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChkMaskEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChkTypEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChkTypWEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ChkWinEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CirWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CirWinDn.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CirWinUp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ClDisplay.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Clear.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ClearArea.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ConfWind.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Context.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ConvSel.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CopyArea.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CopyCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CopyGC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CopyPlane.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrBFData.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrCursor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrGC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrGlCur.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrPFBData.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrPixmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CrWindow.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Cursor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DefCursor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DelProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Depths.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DestSubs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DestWind.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DisName.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrArc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrArcs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrLine.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrLines.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrPoint.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrPoints.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrRect.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrRects.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/DrSegs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ErrDes.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ErrHndlr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EvToWire.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FSSaver.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FSWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FetchName.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FillArc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FillArcs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FillPoly.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FillRct.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FillRcts.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FilterEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Flush.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Font.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontInfo.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FontNames.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeCols.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeCurs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeEData.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeEventData.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreeGC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FreePix.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GCMisc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Geom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetAtomNm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetColor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetDflt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetEventData.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetFPath.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetFProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetGCVals.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetGeom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetHColor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetHints.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetIFocus.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetImage.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetKCnt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetMoEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetNrmHint.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetPCnt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetPntMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetRGBCMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetSOwner.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetSSaver.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetStCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetTxtProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetWAttrs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetWMCMapW.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GetWMProto.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GrButton.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GrKey.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GrKeybd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GrPointer.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GrServer.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Host.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Iconify.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IfEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ImText.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ImText16.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ImUtil.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InitExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/InsCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IntAtom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/KeyBind.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/KeysymStr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/KillCl.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LiHosts.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LiICmaps.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LiProps.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ListExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LoadFont.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LockDis.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LookupCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LowerWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Macros.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MapRaised.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MapSubs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MapWindow.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MaskEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Misc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ModMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MoveWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/NextEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OCWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OMWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OpenDis.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ParseCmd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ParseCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ParseGeom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PeekEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PeekIfEv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Pending.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PixFormats.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PmapBgnd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PmapBord.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PolyReg.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PolyTxt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PolyTxt16.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PropAlloc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PutBEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PutImage.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuBest.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuColor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuColors.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuCurShp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuKeybd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuPntr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuStipShp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuTextE16.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuTextExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuTileShp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuTree.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Quarks.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RaiseWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RdBitF.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RecolorC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ReconfWM.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ReconfWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Region.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RegstFlt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RepWindow.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RestackWs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RotProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ScrResStr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SelInput.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SendEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetBack.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetCRects.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetClMask.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetClOrig.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetDashes.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetFPath.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetFont.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetFore.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetFunc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetHints.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetIFocus.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetLStyle.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetLocale.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetNrmHint.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetPMask.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetPntMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetRGBCMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetSOwner.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetSSaver.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetStCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetState.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetStip.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetTSOrig.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetTile.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetTxtProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetWMCMapW.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetWMProto.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StBytes.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StColor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StColors.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StNColor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StName.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StrKeysym.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StrToText.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Sync.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Synchro.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Text.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Text16.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TextExt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TextExt16.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TextToStr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TrCoords.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UIThrStubs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UndefCurs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UngrabBut.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UngrabKbd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UngrabKey.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UngrabPtr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UngrabSvr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UninsCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UnldFont.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UnmapSubs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UnmapWin.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/VisUtil.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WMGeom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WMProps.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WarpPtr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WinEvent.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Window.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Withdraw.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WrBitF.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XlibAsync.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XlibInt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Xrm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evtomask.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/globals.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imConv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/locking.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os2Stubs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udcInf.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x11_xcb.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xcb_disp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xcb_io.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-lintlibDATA: $(lintlib_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(lintlibdir)" || $(MKDIR_P) "$(DESTDIR)$(lintlibdir)"
-       @list='$(lintlib_DATA)'; test -n "$(lintlibdir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(lintlibdir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(lintlibdir)" || exit $$?; \
-       done
-
-uninstall-lintlibDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(lintlib_DATA)'; test -n "$(lintlibdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(lintlibdir)'; $(am__uninstall_files_from_dir)
-install-x11dataDATA: $(x11data_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(x11datadir)" || $(MKDIR_P) "$(DESTDIR)$(x11datadir)"
-       @list='$(x11data_DATA)'; test -n "$(x11datadir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(x11datadir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(x11datadir)" || exit $$?; \
-       done
-
-uninstall-x11dataDATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(x11data_DATA)'; test -n "$(x11datadir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(x11datadir)'; $(am__uninstall_files_from_dir)
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       target=`echo $@ | sed s/-recursive//`; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           dot_seen=yes; \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done; \
-       if test "$$dot_seen" = "no"; then \
-         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-       fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-       @fail= failcom='exit 1'; \
-       for f in x $$MAKEFLAGS; do \
-         case $$f in \
-           *=* | --[!k]*);; \
-           *k*) failcom='fail=yes';; \
-         esac; \
-       done; \
-       dot_seen=no; \
-       case "$@" in \
-         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-         *) list='$(SUBDIRS)' ;; \
-       esac; \
-       rev=''; for subdir in $$list; do \
-         if test "$$subdir" = "."; then :; else \
-           rev="$$subdir $$rev"; \
-         fi; \
-       done; \
-       rev="$$rev ."; \
-       target=`echo $@ | sed s/-recursive//`; \
-       for subdir in $$rev; do \
-         echo "Making $$target in $$subdir"; \
-         if test "$$subdir" = "."; then \
-           local_target="$$target-am"; \
-         else \
-           local_target="$$target"; \
-         fi; \
-         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-         || eval $$failcom; \
-       done && test -z "$$fail"
-tags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-       done
-ctags-recursive:
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-         include_option=--etags-include; \
-         empty_fix=.; \
-       else \
-         include_option=--include; \
-         empty_fix=; \
-       fi; \
-       list='$(SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test ! -f $$subdir/TAGS || \
-             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-         fi; \
-       done; \
-       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           test -d "$(distdir)/$$subdir" \
-           || $(MKDIR_P) "$(distdir)/$$subdir" \
-           || exit 1; \
-         fi; \
-       done
-       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-         if test "$$subdir" = .; then :; else \
-           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-           $(am__relativize); \
-           new_distdir=$$reldir; \
-           dir1=$$subdir; dir2="$(top_distdir)"; \
-           $(am__relativize); \
-           new_top_distdir=$$reldir; \
-           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-           ($(am__cd) $$subdir && \
-             $(MAKE) $(AM_MAKEFLAGS) \
-               top_distdir="$$new_top_distdir" \
-               distdir="$$new_distdir" \
-               am__remove_distdir=: \
-               am__skip_length_check=: \
-               am__skip_mode_fix=: \
-               distdir) \
-             || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: $(BUILT_SOURCES)
-       $(MAKE) $(AM_MAKEFLAGS) check-recursive
-all-am: Makefile $(LTLIBRARIES) $(DATA) config.h
-installdirs: installdirs-recursive
-installdirs-am:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(lintlibdir)" "$(DESTDIR)$(x11datadir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: $(BUILT_SOURCES)
-       $(MAKE) $(AM_MAKEFLAGS) install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-clean: clean-recursive
-
-clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
-       mostlyclean-am
-
-distclean: distclean-recursive
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-hdr distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am: install-lintlibDATA install-x11dataDATA
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am: install-libLTLIBRARIES
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-libLTLIBRARIES uninstall-lintlibDATA \
-       uninstall-x11dataDATA
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
-       ctags-recursive install install-am install-strip \
-       tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-       all all-am check check-am clean clean-generic \
-       clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \
-       distclean distclean-compile distclean-generic distclean-hdr \
-       distclean-libtool distclean-tags distdir dvi dvi-am html \
-       html-am info info-am install install-am install-data \
-       install-data-am install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-libLTLIBRARIES install-lintlibDATA \
-       install-man install-pdf install-pdf-am install-ps \
-       install-ps-am install-strip install-x11dataDATA installcheck \
-       installcheck-am installdirs installdirs-am maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags tags-recursive uninstall uninstall-am \
-       uninstall-libLTLIBRARIES uninstall-lintlibDATA \
-       uninstall-x11dataDATA
-
-
-preprocess: $(patsubst %.c,%.ii,$(libX11_la_SOURCES))
-.c.ii:
-       $(COMPILE) -E -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
-
-@LINT_TRUE@lint:       $(BUILT_SOURCES)
-@LINT_TRUE@    for f in $(libX11_la_SOURCES) ; do \
-@LINT_TRUE@            $(LINT) $(ALL_LINT_FLAGS) $$f ; \
-@LINT_TRUE@    done
-@LINT_TRUE@    @for subdir in $(SUBDIRS) ; do \
-@LINT_TRUE@            echo "Making $@ in src/$$subdir"; \
-@LINT_TRUE@            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) lint) ; \
-@LINT_TRUE@    done
-
-@MAKE_LINT_LIB_TRUE@$(LINTLIB): $(libX11_la_SOURCES)
-@MAKE_LINT_LIB_TRUE@   $(AM_V_GEN)$(LINT) -y -oX11 -x $(ALL_LINT_FLAGS) $(lintlib_src)
-
-ks_tables.h: $(KEYSYMDEFS) $(top_builddir)/src/util/makekeys$(EXEEXT)
-       $(top_builddir)/src/util/makekeys $(KEYSYMDEFS) > ks_tables_h
-       mv ks_tables_h $@
-
-$(top_builddir)/src/util/makekeys$(EXEEXT): force
-       cd util && $(MAKE)
-
-force:
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index c99bfdd..78d635b 100644 (file)
@@ -28,6 +28,7 @@ in this Software without prior written authorization from The Open Group.
 #include <config.h>
 #endif
 #include "Xlibint.h"
+#include <limits.h>
 
 XModifierKeymap *
 XGetModifierMapping(register Display *dpy)
@@ -41,13 +42,17 @@ XGetModifierMapping(register Display *dpy)
     GetEmptyReq(GetModifierMapping, req);
     (void) _XReply (dpy, (xReply *)&rep, 0, xFalse);
 
-    nbytes = (unsigned long)rep.length << 2;
-    res = (XModifierKeymap *) Xmalloc(sizeof (XModifierKeymap));
-    if (res) res->modifiermap = (KeyCode *) Xmalloc ((unsigned) nbytes);
+    if (rep.length < (INT_MAX >> 2)) {
+       nbytes = (unsigned long)rep.length << 2;
+       res = Xmalloc(sizeof (XModifierKeymap));
+       if (res)
+           res->modifiermap = Xmalloc (nbytes);
+    } else
+       res = NULL;
     if ((! res) || (! res->modifiermap)) {
-       if (res) Xfree((char *) res);
+       if (res) Xfree(res);
        res = (XModifierKeymap *) NULL;
-       _XEatData(dpy, nbytes);
+       _XEatDataWords(dpy, rep.length);
     } else {
        _XReadPad(dpy, (char *) res->modifiermap, (long) nbytes);
        res->max_keypermod = rep.numKeyPerModifier;
@@ -60,9 +65,9 @@ XGetModifierMapping(register Display *dpy)
 
 /*
  *     Returns:
- *           Success
- *     1       Busy - one or more old or new modifiers are down
- *     2       Failed - one or more new modifiers unacceptable
+ *     MappingSuccess (0)      Success
+ *     MappingBusy (1)         Busy - one or more old or new modifiers are down
+ *     MappingFailed (2)       Failed - one or more new modifiers unacceptable
  */
 int
 XSetModifierMapping(
@@ -74,13 +79,11 @@ XSetModifierMapping(
     int         mapSize = modifier_map->max_keypermod << 3;    /* 8 modifiers */
 
     LockDisplay(dpy);
-    GetReqExtra(SetModifierMapping, mapSize, req);
-
+    GetReq(SetModifierMapping, req);
+    req->length += mapSize >> 2;
     req->numKeyPerModifier = modifier_map->max_keypermod;
 
-    memcpy((char *) NEXTPTR(req,xSetModifierMappingReq),
-          (char *) modifier_map->modifiermap,
-          mapSize);
+    Data(dpy, modifier_map->modifiermap, mapSize);
 
     (void) _XReply(dpy, (xReply *) & rep,
        (SIZEOF(xSetModifierMappingReply) - SIZEOF(xReply)) >> 2, xTrue);
@@ -92,14 +95,14 @@ XSetModifierMapping(
 XModifierKeymap *
 XNewModifiermap(int keyspermodifier)
 {
-    XModifierKeymap *res = (XModifierKeymap *) Xmalloc((sizeof (XModifierKeymap)));
+    XModifierKeymap *res = Xmalloc((sizeof (XModifierKeymap)));
     if (res) {
        res->max_keypermod = keyspermodifier;
        res->modifiermap = (keyspermodifier > 0 ?
-                           (KeyCode *) Xmalloc((unsigned) (8 * keyspermodifier))
+                           Xmalloc(8 * keyspermodifier)
                            : (KeyCode *) NULL);
        if (keyspermodifier && (res->modifiermap == NULL)) {
-           Xfree((char *) res);
+           Xfree(res);
            return (XModifierKeymap *) NULL;
        }
     }
@@ -112,8 +115,8 @@ XFreeModifiermap(XModifierKeymap *map)
 {
     if (map) {
        if (map->modifiermap)
-           Xfree((char *) map->modifiermap);
-       Xfree((char *) map);
+           Xfree(map->modifiermap);
+       Xfree(map);
     }
     return 1;
 }
index 3cd75e1..2eb2283 100644 (file)
@@ -44,20 +44,11 @@ XMoveWindow (
     req->window = w;
     req->mask = CWX | CWY;
 
-#ifdef MUSTCOPY
-    {
-       long lx = (long) x, ly = (long) y;
-       dpy->bufptr -= 8;
-       Data32 (dpy, (long *) &lx, 4);  /* order dictated by CWX and CWY */
-       Data32 (dpy, (long *) &ly, 4);
-    }
-#else
     {
        CARD32 *valuePtr = (CARD32 *) NEXTPTR(req,xConfigureWindowReq);
        *valuePtr++ = x;
        *valuePtr = y;
     }
-#endif /* MUSTCOPY */
     UnlockDisplay(dpy);
     SyncHandle();
     return 1;
index 9379fec..3793814 100644 (file)
@@ -112,7 +112,7 @@ XOpenDisplay (
 /*
  * Attempt to allocate a display structure. Return NULL if allocation fails.
  */
-       if ((dpy = (Display *)Xcalloc(1, sizeof(Display))) == NULL) {
+       if ((dpy = Xcalloc(1, sizeof(Display))) == NULL) {
                return(NULL);
        }
 
@@ -246,9 +246,7 @@ XOpenDisplay (
        dpy->qlen = 0;
 
        /* Set up free-function record */
-       if ((dpy->free_funcs = (_XFreeFuncRec *)Xcalloc(1,
-                                                       sizeof(_XFreeFuncRec)))
-           == NULL) {
+       if ((dpy->free_funcs = Xcalloc(1, sizeof(_XFreeFuncRec))) == NULL) {
            OutOfMemory (dpy);
            return(NULL);
        }
@@ -316,7 +314,7 @@ XOpenDisplay (
            return (NULL);
        }
 
-       dpy->vendor = (char *) Xmalloc((unsigned) (u.setup->nbytesVendor + 1));
+       dpy->vendor = Xmalloc(u.setup->nbytesVendor + 1);
        if (dpy->vendor == NULL) {
            OutOfMemory(dpy);
            return (NULL);
@@ -342,9 +340,7 @@ XOpenDisplay (
 /*
  * Now iterate down setup information.....
  */
-       dpy->pixmap_format =
-           (ScreenFormat *)Xmalloc(
-               (unsigned) (dpy->nformats *sizeof(ScreenFormat)));
+       dpy->pixmap_format = Xcalloc(dpy->nformats, sizeof(ScreenFormat));
        if (dpy->pixmap_format == NULL) {
                OutOfMemory (dpy);
                return(NULL);
@@ -372,8 +368,7 @@ XOpenDisplay (
 /*
  * next the Screen structures.
  */
-       dpy->screens =
-           (Screen *)Xmalloc((unsigned) dpy->nscreens*sizeof(Screen));
+       dpy->screens = Xcalloc(dpy->nscreens, sizeof(Screen));
        if (dpy->screens == NULL) {
                OutOfMemory (dpy);
                return(NULL);
@@ -415,8 +410,7 @@ XOpenDisplay (
 /*
  * lets set up the depth structures.
  */
-           sp->depths = (Depth *)Xmalloc(
-                       (unsigned)sp->ndepths*sizeof(Depth));
+           sp->depths = Xcalloc(sp->ndepths, sizeof(Depth));
            if (sp->depths == NULL) {
                OutOfMemory (dpy);
                return(NULL);
@@ -438,8 +432,7 @@ XOpenDisplay (
                dp->nvisuals = u.dp->nVisuals;
                u.dp = (xDepth *) (((char *) u.dp) + sz_xDepth);
                if (dp->nvisuals > 0) {
-                   dp->visuals =
-                     (Visual *)Xmalloc((unsigned)dp->nvisuals*sizeof(Visual));
+                   dp->visuals = Xcalloc(dp->nvisuals, sizeof(Visual));
                    if (dp->visuals == NULL) {
                        OutOfMemory (dpy);
                        return(NULL);
@@ -499,6 +492,9 @@ XOpenDisplay (
            return(NULL);
        }
 
+/*
+ * get availability of large requests
+ */
        dpy->bigreq_size = xcb_get_maximum_request_length(dpy->xcb->connection);
        if(dpy->bigreq_size <= dpy->max_request_size)
                dpy->bigreq_size = 0;
@@ -525,7 +521,6 @@ XOpenDisplay (
        (void) XSynchronize(dpy, _Xdebug);
 
 /*
- * get availability of large requests, and
  * get the resource manager database off the root window.
  */
        LockDisplay(dpy);
@@ -550,7 +545,7 @@ XOpenDisplay (
                    dpy->xdefaults[reply.nItems] = '\0';
                }
                else if (reply.propertyType != None)
-                   _XEatData(dpy, reply.nItems * (reply.format >> 3));
+                   _XEatDataWords(dpy, reply.length);
            }
        }
        UnlockDisplay(dpy);
@@ -597,7 +592,7 @@ void _XFreeDisplayStructure(Display *dpy)
            dpy->ext_procs = ext->next;
            if (ext->name)
                Xfree (ext->name);
-           Xfree ((char *)ext);
+           Xfree (ext);
        }
        if (dpy->im_filters)
           (*dpy->free_funcs->im_filters)(dpy);
@@ -639,17 +634,17 @@ void _XFreeDisplayStructure(Display *dpy)
 
                           for (k = 0; k < dp->nvisuals; k++)
                             _XFreeExtData (dp->visuals[k].ext_data);
-                          Xfree ((char *) dp->visuals);
+                          Xfree (dp->visuals);
                           }
                        }
 
-                  Xfree ((char *) sp->depths);
+                  Xfree (sp->depths);
                   }
 
                _XFreeExtData (sp->ext_data);
                }
 
-           Xfree ((char *)dpy->screens);
+           Xfree (dpy->screens);
            }
 
        if (dpy->pixmap_format) {
@@ -657,7 +652,7 @@ void _XFreeDisplayStructure(Display *dpy)
 
            for (i = 0; i < dpy->nformats; i++)
              _XFreeExtData (dpy->pixmap_format[i].ext_data);
-            Xfree ((char *)dpy->pixmap_format);
+            Xfree (dpy->pixmap_format);
            }
 
        free(dpy->display_name);
@@ -667,15 +662,15 @@ void _XFreeDisplayStructure(Display *dpy)
         if (dpy->buffer)
           Xfree (dpy->buffer);
        if (dpy->keysyms)
-          Xfree ((char *) dpy->keysyms);
+          Xfree (dpy->keysyms);
        if (dpy->xdefaults)
           Xfree (dpy->xdefaults);
        if (dpy->error_vec)
-           Xfree ((char *)dpy->error_vec);
+           Xfree (dpy->error_vec);
 
        _XFreeExtData (dpy->ext_data);
        if (dpy->free_funcs)
-           Xfree ((char *)dpy->free_funcs);
+           Xfree (dpy->free_funcs);
        if (dpy->scratch_buffer)
            Xfree (dpy->scratch_buffer);
        FreeDisplayLock(dpy);
@@ -685,7 +680,7 @@ void _XFreeDisplayStructure(Display *dpy)
 
            while (qelt) {
                register _XQEvent *qnxt = qelt->next;
-               Xfree ((char *) qelt);
+               Xfree (qelt);
                qelt = qnxt;
            }
        }
@@ -706,7 +701,7 @@ void _XFreeDisplayStructure(Display *dpy)
 
        _XFreeX11XCBStructure(dpy);
 
-       Xfree ((char *)dpy);
+       Xfree (dpy);
 }
 
 /* OutOfMemory is called if malloc fails.  XOpenDisplay returns NULL
index 8e4a100..6d9f64d 100644 (file)
@@ -38,8 +38,8 @@ XPixmapFormatValues *XListPixmapFormats (
     Display *dpy,
     int *count)        /* RETURN */
 {
-    XPixmapFormatValues *formats = (XPixmapFormatValues *)
-       Xmalloc((unsigned) (dpy->nformats * sizeof (XPixmapFormatValues)));
+    XPixmapFormatValues *formats =
+       Xmalloc(dpy->nformats * sizeof (XPixmapFormatValues));
 
     if (formats) {
        register int i;
index 74c8765..7266d3b 100644 (file)
@@ -95,8 +95,7 @@ InsertEdgeInET(
     {
         if (*iSLLBlock > SLLSPERBLOCK-1)
         {
-            tmpSLLBlock =
-                 (ScanLineListBlock *)Xmalloc(sizeof(ScanLineListBlock));
+            tmpSLLBlock = Xmalloc(sizeof(ScanLineListBlock));
             (*SLLBlock)->next = tmpSLLBlock;
             tmpSLLBlock->next = (ScanLineListBlock *)NULL;
             *SLLBlock = tmpSLLBlock;
@@ -379,7 +378,7 @@ FreeStorage(
     while (pSLLBlock)
     {
         tmpSLLBlock = pSLLBlock->next;
-        Xfree((char *)pSLLBlock);
+        Xfree(pSLLBlock);
         pSLLBlock = tmpSLLBlock;
     }
 }
@@ -410,8 +409,7 @@ static int PtsToRegion(
 
     numRects = ((numFullPtBlocks * NUMPTSTOBUFFER) + iCurPtBlock) >> 1;
 
-    if (!(reg->rects = (BOX *)Xrealloc((char *)reg->rects,
-           (unsigned) (sizeof(BOX) * numRects))))  {
+    if (!(reg->rects = Xrealloc(reg->rects, sizeof(BOX) * numRects))) {
        Xfree(prevRects);
        return(0);
     }
@@ -521,8 +519,7 @@ XPolygonRegion(
 
     if (Count < 2) return region;
 
-    if (! (pETEs = (EdgeTableEntry *)
-          Xmalloc((unsigned) (sizeof(EdgeTableEntry) * Count)))) {
+    if (! (pETEs = Xmalloc(sizeof(EdgeTableEntry) * Count))) {
        XDestroyRegion(region);
        return (Region) NULL;
     }
@@ -559,7 +556,7 @@ XPolygonRegion(
                  *  send out the buffer
                  */
                 if (iPts == NUMPTSTOBUFFER) {
-                    tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK));
+                    tmpPtBlock = Xmalloc(sizeof(POINTBLOCK));
                     curPtBlock->next = tmpPtBlock;
                     curPtBlock = tmpPtBlock;
                     pts = curPtBlock->pts;
@@ -605,7 +602,7 @@ XPolygonRegion(
                      *  send out the buffer
                      */
                     if (iPts == NUMPTSTOBUFFER) {
-                        tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK));
+                        tmpPtBlock = Xmalloc(sizeof(POINTBLOCK));
                         curPtBlock->next = tmpPtBlock;
                         curPtBlock = tmpPtBlock;
                         pts = curPtBlock->pts;
@@ -630,9 +627,9 @@ XPolygonRegion(
     (void) PtsToRegion(numFullPtBlocks, iPts, &FirstPtBlock, region);
     for (curPtBlock = FirstPtBlock.next; --numFullPtBlocks >= 0;) {
        tmpPtBlock = curPtBlock->next;
-       Xfree((char *)curPtBlock);
+       Xfree(curPtBlock);
        curPtBlock = tmpPtBlock;
     }
-    Xfree((char *)pETEs);
+    Xfree(pETEs);
     return(region);
 }
index dd65818..2e4be16 100644 (file)
@@ -168,18 +168,7 @@ XDrawText16(
                }
                elt->len = 254;
 
-#if defined(MUSTCOPY) || defined(MUSTCOPY2B)
-               {
-                   register int i;
-                   register unsigned char *cp;
-                   for (i = 0, cp = ((unsigned char *)elt) + 2; i < 254; i++) {
-                       *cp++ = CharacterOffset[i].byte1;
-                       *cp++ = CharacterOffset[i].byte2;
-                   }
-               }
-#else
                memcpy ((char *) (elt + 1), (char *)CharacterOffset, 254 * 2);
-#endif
                PartialNChars = PartialNChars - 254;
                CharacterOffset += 254;
 
@@ -213,21 +202,9 @@ XDrawText16(
                }
                elt->len = PartialNChars;
 
-#if defined(MUSTCOPY) || defined(MUSTCOPY2B)
-               {
-                   register int i;
-                   register unsigned char *cp;
-                   for (i = 0, cp = ((unsigned char *)elt) + 2; i < PartialNChars;
-                        i++) {
-                       *cp++ = CharacterOffset[i].byte1;
-                       *cp++ = CharacterOffset[i].byte2;
-                   }
-               }
-#else
                memcpy ((char *) (elt + 1), (char *)CharacterOffset,
                        PartialNChars *
 2);
-#endif
            }
        }
     item++;
index bad7681..87817d8 100644 (file)
@@ -39,37 +39,31 @@ in this Software without prior written authorization from The Open Group.
 
 XSizeHints *XAllocSizeHints (void)
 {
-    return ((XSizeHints *) Xcalloc (1, (unsigned) sizeof (XSizeHints)));
+    return Xcalloc (1, sizeof (XSizeHints));
 }
 
 
 XStandardColormap *XAllocStandardColormap (void)
 {
-    return ((XStandardColormap *)
-           Xcalloc (1, (unsigned) sizeof (XStandardColormap)));
+    return Xcalloc (1, sizeof (XStandardColormap));
 }
 
 
 XWMHints *XAllocWMHints (void)
 {
-    return ((XWMHints *) Xcalloc (1, (unsigned) sizeof (XWMHints)));
+    return Xcalloc (1, sizeof (XWMHints));
 }
 
 
 XClassHint *XAllocClassHint (void)
 {
-    register XClassHint *h;
-
-    if ((h = (XClassHint *) Xcalloc (1, (unsigned) sizeof (XClassHint))))
-      h->res_name = h->res_class = NULL;
-
-    return h;
+    return Xcalloc (1, sizeof (XClassHint));
 }
 
 
 XIconSize *XAllocIconSize (void)
 {
-    return ((XIconSize *) Xcalloc (1, (unsigned) sizeof (XIconSize)));
+    return Xcalloc (1, sizeof (XIconSize));
 }
 
 
index f9d4c29..1768e03 100644 (file)
@@ -41,7 +41,7 @@ _XPutBackEvent (
        XEvent store = *event;
 
        if (!dpy->qfree) {
-           if ((dpy->qfree = (_XQEvent *) Xmalloc (sizeof (_XQEvent))) == NULL) {
+           if ((dpy->qfree = Xmalloc (sizeof (_XQEvent))) == NULL) {
                return 0;
            }
            dpy->qfree->next = NULL;
index 6dad4f1..e6ac9a2 100644 (file)
@@ -600,15 +600,9 @@ static int const HalfOrderWord[12] = {
 
 /* Cancel a GetReq operation, before doing _XSend or Data */
 
-#if (defined(__STDC__) && !defined(UNIXCPP)) || defined(ANSICPP)
 #define UnGetReq(name)\
     dpy->bufptr -= SIZEOF(x##name##Req);\
     dpy->request--
-#else
-#define UnGetReq(name)\
-    dpy->bufptr -= SIZEOF(x/**/name/**/Req);\
-    dpy->request--
-#endif
 
 static void
 SendXYImage(
@@ -680,7 +674,7 @@ SendXYImage(
 
     length = ROUNDUP(length, 4);
     if ((dpy->bufptr + length) > dpy->bufmax) {
-       if ((buf = _XAllocScratch(dpy, (unsigned long) (length))) == NULL) {
+       if ((buf = _XAllocScratch(dpy, length)) == NULL) {
            UnGetReq(PutImage);
            return;
        }
@@ -703,13 +697,13 @@ SendXYImage(
        bytes_per_temp_plane = bytes_per_line * req->height;
        temp_length = ROUNDUP(bytes_per_temp_plane * image->depth, 4);
        if (buf == dpy->bufptr) {
-           if (! (temp = _XAllocScratch(dpy, (unsigned long) temp_length))) {
+           if (! (temp = _XAllocScratch(dpy, temp_length))) {
                UnGetReq(PutImage);
                return;
            }
        }
        else
-           if ((extra = temp = Xmalloc((unsigned) temp_length)) == NULL) {
+           if ((extra = temp = Xmalloc(temp_length)) == NULL) {
                UnGetReq(PutImage);
                return;
            }
@@ -778,8 +772,7 @@ SendZImage(
          (req_yoffset * image->bytes_per_line) +
          ((req_xoffset * image->bits_per_pixel) >> 3);
     if ((image->bits_per_pixel == 4) && ((unsigned int) req_xoffset & 0x01)) {
-       if (! (shifted_src = (unsigned char *)
-              Xmalloc((unsigned) (req->height * image->bytes_per_line)))) {
+       if (! (shifted_src = Xmalloc(req->height * image->bytes_per_line))) {
            UnGetReq(PutImage);
            return;
        }
@@ -801,7 +794,7 @@ SendZImage(
         ((req_yoffset + req->height) < (unsigned)image->height))) {
        Data(dpy, (char *)src, length);
        if (shifted_src)
-           Xfree((char *)shifted_src);
+           Xfree(shifted_src);
        return;
     }
 
@@ -810,8 +803,8 @@ SendZImage(
        dest = (unsigned char *)dpy->bufptr;
     else
        if ((dest = (unsigned char *)
-            _XAllocScratch(dpy, (unsigned long)(length))) == NULL) {
-           if (shifted_src) Xfree((char *) shifted_src);
+            _XAllocScratch(dpy, length)) == NULL) {
+           if (shifted_src) Xfree(shifted_src);
            UnGetReq(PutImage);
            return;
        }
@@ -839,7 +832,7 @@ SendZImage(
        _XSend(dpy, (char *)dest, length);
 
     if (shifted_src)
-        Xfree((char *)shifted_src);
+        Xfree(shifted_src);
 }
 
 static void
@@ -1001,7 +994,7 @@ XPutImage (
            img.bits_per_pixel = dest_bits_per_pixel;
            img.bytes_per_line = ROUNDUP((dest_bits_per_pixel * width),
                                         dest_scanline_pad) >> 3;
-           img.data = Xmalloc((unsigned) (img.bytes_per_line * height));
+           img.data = Xmalloc(img.bytes_per_line * height);
            if (img.data == NULL)
                return 0;
            _XInitImageFuncPtrs(&img);
index 237b8bf..0b9bc50 100644 (file)
@@ -37,9 +37,7 @@ _XQueryColors(
     int ncolors)
 {
     register int i;
-    xrgb *color;
     xQueryColorsReply rep;
-    long nbytes;
     register xQueryColorsReq *req;
 
     GetReq(QueryColors, req);
@@ -52,8 +50,9 @@ _XQueryColors(
        /* XXX this isn't very efficient */
 
     if (_XReply(dpy, (xReply *) &rep, 0, xFalse) != 0) {
-       if ((color = (xrgb *)
-           Xmalloc((unsigned) (nbytes = (long) ncolors * SIZEOF(xrgb))))) {
+       unsigned long nbytes = (long) ncolors * SIZEOF(xrgb);
+       xrgb *color = Xmalloc(nbytes);
+       if (color != NULL) {
 
            _XRead(dpy, (char *) color, nbytes);
 
@@ -65,9 +64,10 @@ _XQueryColors(
                def->blue = rgb->blue;
                def->flags = DoRed | DoGreen | DoBlue;
            }
-           Xfree((char *)color);
+           Xfree(color);
        }
-       else _XEatData(dpy, (unsigned long) nbytes);
+       else
+           _XEatDataWords(dpy, rep.length);
     }
 }
 
index 3cea282..8da2ae2 100644 (file)
@@ -37,7 +37,7 @@ Status XQueryTree (
     Window **children, /* RETURN */
     unsigned int *nchildren)  /* RETURN */
 {
-    long nbytes;
+    unsigned long nbytes;
     xQueryTreeReply rep;
     register xResourceReq *req;
 
@@ -52,14 +52,14 @@ Status XQueryTree (
     *children = (Window *) NULL;
     if (rep.nChildren != 0) {
        nbytes = rep.nChildren * sizeof(Window);
-       *children = (Window *) Xmalloc((unsigned) nbytes);
-       nbytes = rep.nChildren << 2;
+       *children = Xmalloc(nbytes);
        if (! *children) {
-           _XEatData(dpy, (unsigned long) nbytes);
+           _XEatDataWords(dpy, rep.length);
            UnlockDisplay(dpy);
            SyncHandle();
            return (0);
        }
+       nbytes = rep.nChildren << 2;
        _XRead32 (dpy, (long *) *children, nbytes);
     }
     *parent = rep.parent;
index 7a704b1..cfdfe07 100644 (file)
@@ -131,10 +131,8 @@ static char *permalloc(unsigned int length)
     return(ret);
 }
 
-#ifndef WORD64
 typedef struct {char a; double b;} TestType1;
 typedef struct {char a; unsigned long b;} TestType2;
-#endif
 
 #ifdef XTHREADS
 static char *_Xpermalloc(unsigned int length);
@@ -157,7 +155,6 @@ char *Xpermalloc(unsigned int length)
     int i;
 
     if (neverFreeTableSize && length < NEVERFREETABLESIZE) {
-#ifndef WORD64
        if ((sizeof(TestType1) !=
             (sizeof(TestType2) - sizeof(unsigned long) + sizeof(double))) &&
            !(length & (DALIGN-1)) &&
@@ -165,7 +162,6 @@ char *Xpermalloc(unsigned int length)
            neverFreeTableSize -= DALIGN - i;
            neverFreeTable += DALIGN - i;
        } else
-#endif
            if ((i = (NEVERFREETABLESIZE - neverFreeTableSize) & (WALIGN-1))) {
                neverFreeTableSize -= WALIGN - i;
                neverFreeTable += WALIGN - i;
@@ -190,15 +186,14 @@ ExpandQuarkTable(void)
        newmask = (oldmask << 1) + 1;
     else {
        if (!stringTable) {
-           stringTable = (XrmString **)Xmalloc(sizeof(XrmString *) *
-                                               CHUNKPER);
+           stringTable = Xmalloc(sizeof(XrmString *) * CHUNKPER);
            if (!stringTable)
                return False;
            stringTable[0] = (XrmString *)NULL;
        }
 #ifdef PERMQ
        if (!permTable)
-           permTable = (Bits **)Xmalloc(sizeof(Bits *) * CHUNKPER);
+           permTable = Xmalloc(sizeof(Bits *) * CHUNKPER);
        if (!permTable)
            return False;
 #endif
@@ -235,7 +230,7 @@ ExpandQuarkTable(void)
        }
     }
     if (oldmask)
-       Xfree((char *)oldentries);
+       Xfree(oldentries);
     return True;
 }
 
@@ -293,13 +288,13 @@ nomatch:    if (!rehash)
     q = nextQuark;
     if (!(q & QUANTUMMASK)) {
        if (!(q & CHUNKMASK)) {
-           if (!(new = Xrealloc((char *)stringTable,
+           if (!(new = Xrealloc(stringTable,
                                 sizeof(XrmString *) *
                                 ((q >> QUANTUMSHIFT) + CHUNKPER))))
                goto fail;
            stringTable = (XrmString **)new;
 #ifdef PERMQ
-           if (!(new = Xrealloc((char *)permTable,
+           if (!(new = Xrealloc(permTable,
                                 sizeof(Bits *) *
                                 ((q >> QUANTUMSHIFT) + CHUNKPER))))
                goto fail;
index ab7d800..31bf583 100644 (file)
@@ -137,7 +137,7 @@ XReadBitmapFileData (
 
     /* error cleanup and return macro  */
 #define        RETURN(code) \
-{ if (bits) Xfree ((char *)bits); fclose (fstream); return code; }
+{ if (bits) Xfree (bits); fclose (fstream); return code; }
 
     while (fgets(line, MAX_SIZE, fstream)) {
        if (strlen(line) == MAX_SIZE-1)
@@ -191,7 +191,7 @@ XReadBitmapFileData (
        bytes_per_line = (ww+7)/8 + padding;
 
        size = bytes_per_line * hh;
-       bits = (unsigned char *) Xmalloc ((unsigned int) size);
+       bits = Xmalloc (size);
        if (!bits)
          RETURN (BitmapNoMemory);
 
@@ -254,7 +254,7 @@ XReadBitmapFile (
     if (res != BitmapSuccess)
        return res;
     *pixmap = XCreateBitmapFromData(display, d, (char *)data, *width, *height);
-    Xfree((char *)data);
+    Xfree(data);
     if (*pixmap == None)
        return (BitmapNoMemory);
     return (BitmapSuccess);
index 41047b2..d5dd556 100644 (file)
@@ -139,10 +139,10 @@ XCreateRegion(void)
 {
     Region temp;
 
-    if (! (temp = ( Region )Xmalloc( (unsigned) sizeof( REGION ))))
+    if (! (temp = Xmalloc(sizeof( REGION ))))
        return (Region) NULL;
-    if (! (temp->rects = ( BOX * )Xmalloc( (unsigned) sizeof( BOX )))) {
-       Xfree((char *) temp);
+    if (! (temp->rects = Xmalloc(sizeof( BOX )))) {
+       Xfree(temp);
        return (Region) NULL;
     }
     temp->numRects = 0;
@@ -507,7 +507,7 @@ XIntersectRegion(
     return 1;
 }
 
-static void
+static int
 miRegionCopy(
     register Region dstrgn,
     register Region rgn)
@@ -521,11 +521,12 @@ miRegionCopy(
             {
                BOX *prevRects = dstrgn->rects;
 
-                if (! (dstrgn->rects = (BOX *)
-                      Xrealloc((char *) dstrgn->rects,
-                               (unsigned) rgn->numRects * (sizeof(BOX))))) {
+               dstrgn->rects = Xrealloc(dstrgn->rects,
+                                        rgn->numRects * (sizeof(BOX)));
+               if (! dstrgn->rects) {
                    Xfree(prevRects);
-                   return;
+                   dstrgn->size = 0;
+                   return 0;
                }
             }
             dstrgn->size = rgn->numRects;
@@ -539,6 +540,7 @@ miRegionCopy(
        memcpy((char *) dstrgn->rects, (char *) rgn->rects,
               (int) (rgn->numRects * sizeof(BOX)));
     }
+    return 1;
 }
 
 /*======================================================================
@@ -788,8 +790,7 @@ miRegionOp(
      */
     newReg->size = max(reg1->numRects,reg2->numRects) * 2;
 
-    if (! (newReg->rects = (BoxPtr)
-          Xmalloc ((unsigned) (sizeof(BoxRec) * newReg->size)))) {
+    if (! (newReg->rects = Xmalloc (sizeof(BoxRec) * newReg->size))) {
        newReg->size = 0;
        return;
     }
@@ -979,11 +980,12 @@ miRegionOp(
        if (REGION_NOT_EMPTY(newReg))
        {
            BoxPtr prev_rects = newReg->rects;
-           newReg->size = newReg->numRects;
-           newReg->rects = (BoxPtr) Xrealloc ((char *) newReg->rects,
-                                  (unsigned) (sizeof(BoxRec) * newReg->size));
+           newReg->rects = Xrealloc (newReg->rects,
+                                     sizeof(BoxRec) * newReg->numRects);
            if (! newReg->rects)
                newReg->rects = prev_rects;
+           else
+               newReg->size = newReg->numRects;
        }
        else
        {
@@ -992,11 +994,11 @@ miRegionOp(
             * the region is empty
             */
            newReg->size = 1;
-           Xfree((char *) newReg->rects);
-           newReg->rects = (BoxPtr) Xmalloc(sizeof(BoxRec));
+           Xfree(newReg->rects);
+           newReg->rects = Xmalloc(sizeof(BoxRec));
        }
     }
-    Xfree ((char *) oldRects);
+    Xfree (oldRects);
     return;
 }
 
@@ -1151,7 +1153,7 @@ XUnionRegion(
     if ( (reg1 == reg2) || (!(reg1->numRects)) )
     {
         if (newReg != reg2)
-            miRegionCopy(newReg, reg2);
+            return miRegionCopy(newReg, reg2);
         return 1;
     }
 
@@ -1161,7 +1163,7 @@ XUnionRegion(
     if (!(reg2->numRects))
     {
         if (newReg != reg1)
-            miRegionCopy(newReg, reg1);
+            return miRegionCopy(newReg, reg1);
         return 1;
     }
 
@@ -1175,7 +1177,7 @@ XUnionRegion(
        (reg1->extents.y2 >= reg2->extents.y2))
     {
         if (newReg != reg1)
-            miRegionCopy(newReg, reg1);
+            return miRegionCopy(newReg, reg1);
         return 1;
     }
 
@@ -1189,7 +1191,7 @@ XUnionRegion(
        (reg2->extents.y2 >= reg1->extents.y2))
     {
         if (newReg != reg2)
-            miRegionCopy(newReg, reg2);
+            return miRegionCopy(newReg, reg2);
         return 1;
     }
 
@@ -1430,8 +1432,7 @@ XSubtractRegion(
     if ( (!(regM->numRects)) || (!(regS->numRects))  ||
        (!EXTENTCHECK(&regM->extents, &regS->extents)) )
     {
-       miRegionCopy(regD, regM);
-        return 1;
+       return miRegionCopy(regD, regM);
     }
 
     miRegionOp (regD, regM, regS, miSubtractO,
index 9a560e7..077ea42 100644 (file)
@@ -66,7 +66,7 @@ _XFreeIMFilters(
 
     while ((fl = display->im_filters)) {
         display->im_filters = fl->next;
-        Xfree((char *)fl);
+        Xfree(fl);
     }
 }
 
@@ -85,7 +85,7 @@ _XRegisterFilterByMask(
 {
     XFilterEventRec            *rec;
 
-    rec = (XFilterEventList)Xmalloc(sizeof(XFilterEventRec));
+    rec = Xmalloc(sizeof(XFilterEventRec));
     if (!rec)
        return;
     rec->window = window;
@@ -117,7 +117,7 @@ _XRegisterFilterByType(
 {
     XFilterEventRec            *rec;
 
-    rec = (XFilterEventList)Xmalloc(sizeof(XFilterEventRec));
+    rec = Xmalloc(sizeof(XFilterEventRec));
     if (!rec)
        return;
     rec->window = window;
@@ -148,7 +148,7 @@ _XUnregisterFilter(
        if (fl->window == window &&
            fl->filter == filter && fl->client_data == client_data) {
            *prev = fl->next;
-           Xfree((char *)fl);
+           Xfree(fl);
        } else
            prev = &fl->next;
     }
index 1dba3c8..52391ec 100644 (file)
@@ -36,9 +36,6 @@ XRestackWindows (
     int n)
 {
     int i = 0;
-#ifdef MUSTCOPY
-    unsigned long val = Below;         /* needed for macro below */
-#endif
 
     LockDisplay(dpy);
     while (windows++, ++i < n) {
@@ -47,18 +44,12 @@ XRestackWindows (
        GetReqExtra (ConfigureWindow, 8, req);
        req->window = *windows;
        req->mask = CWSibling | CWStackMode;
-#ifdef MUSTCOPY
-       dpy->bufptr -= 8;
-       Data32 (dpy, (long *)(windows-1), 4);
-       Data32 (dpy, (long *)&val, 4);
-#else
        {
            register CARD32 *values = (CARD32 *)
              NEXTPTR(req,xConfigureWindowReq);
            *values++ = *(windows-1);
            *values   = Below;
        }
-#endif /* MUSTCOPY */
        }
     UnlockDisplay(dpy);
     SyncHandle();
index cc8bd5a..1de9860 100644 (file)
@@ -67,12 +67,7 @@ XSendEvent(
        req->destination = w;
        req->propagate = propagate;
        req->eventMask = event_mask;
-#ifdef WORD64
-       /* avoid quad-alignment problems */
-       memcpy ((char *) req->eventdata, (char *) &ev, SIZEOF(xEvent));
-#else
        req->event = ev;
-#endif /* WORD64 */
     }
 
     UnlockDisplay(dpy);
index 89955c2..60aaef0 100644 (file)
@@ -52,7 +52,7 @@ XSetFontPath (
        }
        nbytes = (n + 3) & ~3;
        req->length += nbytes >> 2;
-       if ((p = (char *) Xmalloc ((unsigned) nbytes))) {
+       if ((p = Xmalloc (nbytes))) {
                /*
                 * pack into counted strings.
                 */
@@ -65,7 +65,7 @@ XSetFontPath (
                        p += length + 1;
                }
                Data (dpy, tmp, nbytes);
-               Xfree ((char *) tmp);
+               Xfree (tmp);
                retCode = 1;
        }
        else
index 0c33f59..5f0a4d4 100644 (file)
@@ -184,7 +184,7 @@ XSetIconSizes (
 #define size_of_the_real_thing sizeof  /* avoid grepping screwups */
        unsigned nbytes = count * size_of_the_real_thing(xPropIconSize);
 #undef size_of_the_real_thing
-       if ((prop = pp = (xPropIconSize *) Xmalloc (nbytes))) {
+       if ((prop = pp = Xmalloc (nbytes))) {
            for (i = 0; i < count; i++) {
                pp->minWidth  = list->min_width;
                pp->minHeight = list->min_height;
@@ -198,7 +198,7 @@ XSetIconSizes (
            XChangeProperty (dpy, w, XA_WM_ICON_SIZE, XA_WM_ICON_SIZE, 32,
                             PropModeReplace, (unsigned char *) prop,
                             count * NumPropIconSizeElements);
-           Xfree ((char *)prop);
+           Xfree (prop);
        }
        return 1;
 }
@@ -216,7 +216,7 @@ XSetCommand (
        for (i = 0, nbytes = 0; i < argc; i++) {
                nbytes += safestrlen(argv[i]) + 1;
        }
-       if ((bp = buf = Xmalloc((unsigned) nbytes))) {
+       if ((bp = buf = Xmalloc(nbytes))) {
            /* copy arguments into single buffer */
            for (i = 0; i < argc; i++) {
                if (argv[i]) {
@@ -259,7 +259,9 @@ XSetStandardProperties (
 
        if (icon_string != NULL) {
            XChangeProperty (dpy, w, XA_WM_ICON_NAME, XA_STRING, 8,
-               PropModeReplace, (unsigned char *)icon_string, safestrlen(icon_string));
+                             PropModeReplace,
+                             (_Xconst unsigned char *)icon_string,
+                             safestrlen(icon_string));
                }
 
        if (icon_pixmap != None) {
@@ -297,7 +299,7 @@ XSetClassHint(
 
        len_nm = safestrlen(classhint->res_name);
        len_cl = safestrlen(classhint->res_class);
-       if ((class_string = s = Xmalloc((unsigned) (len_nm + len_cl + 2)))) {
+       if ((class_string = s = Xmalloc(len_nm + len_cl + 2))) {
            if (len_nm) {
                strcpy(s, classhint->res_name);
                s += len_nm + 1;
index 2e29201..14e104d 100644 (file)
@@ -43,7 +43,7 @@ XSetPointerMapping (
     GetReq (SetPointerMapping, req);
     req->nElts = nmaps;
     req->length += (nmaps + 3)>>2;
-    Data (dpy, (char *)map, (long) nmaps);
+    Data (dpy, (_Xconst char *)map, (long) nmaps);
     if (_XReply (dpy, (xReply *)&rep, 0, xFalse) == 0)
        rep.success = MappingSuccess;
     UnlockDisplay(dpy);
index d2cbb5b..a52de26 100644 (file)
@@ -95,6 +95,6 @@ void XSetRGBColormaps (
        XChangeProperty (dpy, w, property, XA_RGB_COLOR_MAP, 32,
                         PropModeReplace, (unsigned char *) data,
                         (int) (count * NumPropStandardColormapElements));
-       Xfree ((char *) data);
+       Xfree (data);
     }
 }
index 13ac879..ec6c2e2 100644 (file)
@@ -74,7 +74,7 @@ char *XFetchBuffer (
        *nbytes = nitems;
        return((char *)data);
        }
-    if ((char *) data != NULL) Xfree ((char *)data);
+    if ((char *) data != NULL) Xfree (data);
     return(NULL);
 }
 
@@ -94,7 +94,7 @@ XStoreBuffer (
 {
     if ((buffer < 0) || (buffer > 7)) return 0;
     return XChangeProperty(dpy, RootWindow(dpy, 0), n_to_atom[buffer],
-       XA_STRING, 8, PropModeReplace, (unsigned char *) bytes, nbytes);
+       XA_STRING, 8, PropModeReplace, (_Xconst unsigned char *) bytes, nbytes);
 }
 
 int
index 19f2a4b..d5a217f 100644 (file)
@@ -37,21 +37,13 @@ XStoreColor(
 {
     xColorItem *citem;
     register xStoreColorsReq *req;
-#ifdef MUSTCOPY
-    xColorItem citemdata;
-    long len = SIZEOF(xColorItem);
-
-    citem = &citemdata;
-#endif /* MUSTCOPY */
 
     LockDisplay(dpy);
     GetReqExtra(StoreColors, SIZEOF(xColorItem), req); /* assume size is 4*n */
 
     req->cmap = cmap;
 
-#ifndef MUSTCOPY
     citem = (xColorItem *) NEXTPTR(req,xStoreColorsReq);
-#endif /* not MUSTCOPY */
 
     citem->pixel = def->pixel;
     citem->red = def->red;
@@ -59,10 +51,6 @@ XStoreColor(
     citem->blue = def->blue;
     citem->flags = def->flags; /* do_red, do_green, do_blue */
 
-#ifdef MUSTCOPY
-    dpy->bufptr -= SIZEOF(xColorItem);         /* adjust for GetReqExtra */
-    Data (dpy, (char *) citem, len);
-#endif /* MUSTCOPY */
 
     UnlockDisplay(dpy);
     SyncHandle();
index fb1e6f5..b4048bf 100644 (file)
@@ -37,7 +37,7 @@ XStoreName (
     _Xconst char *name)
 {
     return XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING,
-                          8, PropModeReplace, (unsigned char *)name,
+                          8, PropModeReplace, (_Xconst unsigned char *)name,
                           name ? strlen(name) : 0);
 }
 
@@ -47,7 +47,7 @@ XSetIconName (
     Window w,
     _Xconst char *icon_name)
 {
-    return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING,
-                          8, PropModeReplace, (unsigned char *)icon_name,
+    return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING, 8,
+                           PropModeReplace, (_Xconst unsigned char *)icon_name,
                           icon_name ? strlen(icon_name) : 0);
 }
index 4394e0c..12fce68 100644 (file)
@@ -94,7 +94,7 @@ XStringToKeysym(_Xconst char *s)
     {
        entry = &_XkeyTable[idx];
        if ((entry[0] == sig1) && (entry[1] == sig2) &&
-           !strcmp(s, (char *)entry + 6))
+           !strcmp(s, (const char *)entry + 6))
        {
            val = (entry[2] << 24) | (entry[3] << 16) |
                  (entry[4] << 8)  | entry[5];
index b5327e8..ef927f3 100644 (file)
@@ -78,7 +78,7 @@ Status XStringListToTextProperty (
            }
        }
     } else {
-       proto.value = (unsigned char *) Xmalloc (1);    /* easier for client */
+       proto.value = Xmalloc (1);              /* easier for client */
        if (!proto.value) return False;
 
        proto.value[0] = '\0';
index 5a66a2b..008a3f7 100644 (file)
@@ -82,18 +82,7 @@ XDrawString16(
            BufAlloc (xTextElt *, elt, nbytes);
            elt->delta = 0;
            elt->len = 254;
-#if defined(MUSTCOPY) || defined(MUSTCOPY2B)
-           {
-               register int i;
-               register unsigned char *cp;
-               for (i = 0, cp = ((unsigned char *)elt) + 2; i < 254; i++) {
-                   *cp++ = CharacterOffset[i].byte1;
-                   *cp++ = CharacterOffset[i].byte2;
-               }
-           }
-#else
             memcpy (((char *) elt) + 2, (char *)CharacterOffset, 254 * 2);
-#endif
            PartialNChars = PartialNChars - 254;
            CharacterOffset += 254;
        }
@@ -104,19 +93,7 @@ XDrawString16(
            BufAlloc (xTextElt *, elt, nbytes);
            elt->delta = 0;
            elt->len = PartialNChars;
-#if defined(MUSTCOPY) || defined(MUSTCOPY2B)
-           {
-               register int i;
-               register unsigned char *cp;
-               for (i = 0, cp = ((unsigned char *)elt) + 2; i < PartialNChars;
-                    i++) {
-                   *cp++ = CharacterOffset[i].byte1;
-                   *cp++ = CharacterOffset[i].byte2;
-               }
-           }
-#else
             memcpy(((char *)elt) + 2, (char *)CharacterOffset, PartialNChars * 2);
-#endif
         }
     }
 
index 216391c..de9897a 100644 (file)
@@ -72,12 +72,12 @@ Status XTextPropertyToStringList (
     /*
      * allocate list and duplicate
      */
-    list = (char **) Xmalloc (nelements * sizeof (char *));
+    list = Xmalloc (nelements * sizeof (char *));
     if (!list) return False;
 
-    start = (char *) Xmalloc ((datalen + 1) * sizeof (char));  /* for <NUL> */
+    start = Xmalloc ((datalen + 1) * sizeof (char));   /* for <NUL> */
     if (!start) {
-       Xfree ((char *) list);
+       Xfree (list);
        return False;
     }
 
@@ -111,7 +111,7 @@ void XFreeStringList (char **list)
 {
     if (list) {
        if (list[0]) Xfree (list[0]);
-       Xfree ((char *) list);
+       Xfree (list);
        list = NULL;
     }
 }
index 3434c01..17ca363 100644 (file)
@@ -75,8 +75,7 @@ XVisualInfo *XGetVisualInfo(
 
   count = 0;
   total = 10;
-  if (! (vip_base = vip = (XVisualInfo *)
-        Xmalloc((unsigned) (sizeof(XVisualInfo) * total)))) {
+  if (! (vip_base = vip = Xmalloc(sizeof(XVisualInfo) * total))) {
       UnlockDisplay(dpy);
       return (XVisualInfo *) NULL;
   }
@@ -132,10 +131,9 @@ XVisualInfo *XGetVisualInfo(
                 {
                  XVisualInfo *old_vip_base = vip_base;
                   total += 10;
-                  if (! (vip_base = (XVisualInfo *)
-                        Xrealloc((char *) vip_base,
-                                 (unsigned) (sizeof(XVisualInfo) * total)))) {
-                     Xfree((char *) old_vip_base);
+                  if (! (vip_base = Xrealloc(vip_base,
+                                            sizeof(XVisualInfo) * total))) {
+                     Xfree(old_vip_base);
                      UnlockDisplay(dpy);
                      return (XVisualInfo *) NULL;
                  }
@@ -172,7 +170,7 @@ XVisualInfo *XGetVisualInfo(
       return vip_base;
     }
 
-  Xfree((char *) vip_base);
+  Xfree(vip_base);
   *nitems = 0;
   return NULL;
 }
index 1ec6280..75a93a7 100644 (file)
@@ -53,7 +53,7 @@ static char *Format_Image(
   bytes_per_line = (width+7)/8;
   *resultsize = bytes_per_line * height;           /* Calculate size of data */
 
-  data = (char *) Xmalloc( *resultsize );           /* Get space for data */
+  data = Xmalloc( *resultsize );                   /* Get space for data */
   if (!data)
     return(ERR_RETURN);
 
index fa24e21..8048907 100644 (file)
@@ -583,6 +583,7 @@ XProtoError.GLX.9: GLXBadFBConfig
 XProtoError.GLX.10: GLXBadPbuffer
 XProtoError.GLX.11: GLXBadCurrentDrawable
 XProtoError.GLX.12: GLXBadWindow
+XProtoError.GLX.13: GLXBadProfileARB
 ! XC-MISC extension, an X Consortium standard
 XRequest.XC-MISC.0: XCMiscGetVersion
 XRequest.XC-MISC.1: XCMiscGetXIDRange
index 82dba36..516a72b 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef _XINTATOM_H_
 #define _XINTATOM_H_ 1
 
+#include <X11/Xlib.h>
 #include <X11/Xfuncproto.h>
 
 /* IntAtom.c */
index db59061..cd9aee3 100644 (file)
@@ -3,6 +3,7 @@
 #define _XINTCONN_H_ 1
 
 #include <X11/Xfuncproto.h>
+#include <X11/Xlib.h>
 
 _XFUNCPROTOBEGIN
 
index b17135c..eb2b819 100644 (file)
@@ -100,11 +100,6 @@ _XGetAsyncReply(
            _XRead(dpy, replbuf + len, size - len);
            buf = replbuf;
            len = size;
-#ifdef MUSTCOPY
-       } else {
-           memcpy(replbuf, buf, size);
-           buf = replbuf;
-#endif
        }
 
        if (discard && rep->generic.length > extra &&
index 2827c10..7521f12 100644 (file)
@@ -152,7 +152,7 @@ Bool _XPollfdCacheInit(
 #ifdef USE_POLL
     struct pollfd *pfp;
 
-    pfp = (struct pollfd *)Xmalloc(POLLFD_CACHE_SIZE * sizeof(struct pollfd));
+    pfp = Xmalloc(POLLFD_CACHE_SIZE * sizeof(struct pollfd));
     if (!pfp)
        return False;
     pfp[0].fd = dpy->fd;
@@ -239,7 +239,7 @@ void _XSeqSyncFunction(
 static int
 _XPrivSyncFunction (Display *dpy)
 {
-#if XTHREADS
+#ifdef XTHREADS
     assert(!dpy->lock_fns);
 #endif
     assert(dpy->synchandler == _XPrivSyncFunction);
@@ -293,124 +293,6 @@ void _XRead32(
 }
 #endif /* LONG64 */
 
-#ifdef WORD64
-
-/*
- * XXX This is a *really* stupid way of doing this....
- * PACKBUFFERSIZE must be a multiple of 4.
- */
-
-#define PACKBUFFERSIZE 4096
-
-
-/*
- * _XRead32 - Read bytes from the socket unpacking each 32 bits
- *            into a long (64 bits on a CRAY computer).
- *
- */
-static void _doXRead32(
-        register Display *dpy,
-        register long *data
-        register long size,
-       register char *packbuffer)
-{
- long *lpack,*lp;
- long mask32 = 0x00000000ffffffff;
- long maskw, nwords, i, bits;
-
-        _XReadPad (dpy, packbuffer, size);
-
-        lp = data;
-        lpack = (long *) packbuffer;
-        nwords = size >> 2;
-        bits = 32;
-
-        for(i=0;i<nwords;i++){
-            maskw = mask32 << bits;
-           *lp++ = ( *lpack & maskw ) >> bits;
-            bits = bits ^32;
-            if(bits){
-               lpack++;
-            }
-        }
-}
-
-void _XRead32(
-    Display *dpy,
-    long *data,
-    long len)
-{
-    char packbuffer[PACKBUFFERSIZE];
-    unsigned nunits = PACKBUFFERSIZE >> 2;
-
-    for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
-       _doXRead32 (dpy, data, PACKBUFFERSIZE, packbuffer);
-    }
-    if (len) _doXRead32 (dpy, data, len, packbuffer);
-}
-
-
-
-/*
- * _XRead16 - Read bytes from the socket unpacking each 16 bits
- *            into a long (64 bits on a CRAY computer).
- *
- */
-static _doXRead16(
-        register Display *dpy,
-        register short *data,
-        register long size,
-       char *packbuffer)
-{
-       long *lpack,*lp;
-       long mask16 = 0x000000000000ffff;
-       long maskw, nwords, i, bits;
-
-        (void) _XRead(dpy,packbuffer,size);    /* don't do a padded read... */
-
-        lp = (long *) data;
-        lpack = (long *) packbuffer;
-        nwords = size >> 1;  /* number of 16 bit words to be unpacked */
-        bits = 48;
-        for(i=0;i<nwords;i++){
-            maskw = mask16 << bits;
-           *lp++ = ( *lpack & maskw ) >> bits;
-            bits -= 16;
-            if(bits < 0){
-               lpack++;
-               bits = 48;
-            }
-        }
-}
-
-void _XRead16(
-    Display *dpy,
-    short *data,
-    long len)
-{
-    char packbuffer[PACKBUFFERSIZE];
-    unsigned nunits = PACKBUFFERSIZE >> 1;
-
-    for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
-       _doXRead16 (dpy, data, PACKBUFFERSIZE, packbuffer);
-    }
-    if (len) _doXRead16 (dpy, data, len, packbuffer);
-}
-
-void _XRead16Pad(
-    Display *dpy,
-    short *data,
-    long size)
-{
-    int slop = (size & 3);
-    short slopbuf[3];
-
-    _XRead16 (dpy, data, size);
-    if (slop > 0) {
-       _XRead16 (dpy, slopbuf, 4 - slop);
-    }
-}
-#endif /* WORD64 */
 
 /*
  * The hard part about this is that we only get 16 bits from a reply.
@@ -492,10 +374,10 @@ _XRegisterInternalConnection(
     struct _XConnWatchInfo *watchers;
     XPointer *wd;
 
-    new_conni = (struct _XConnectionInfo*)Xmalloc(sizeof(struct _XConnectionInfo));
+    new_conni = Xmalloc(sizeof(struct _XConnectionInfo));
     if (!new_conni)
        return 0;
-    new_conni->watch_data = (XPointer *)Xmalloc(dpy->watcher_count * sizeof(XPointer));
+    new_conni->watch_data = Xmalloc(dpy->watcher_count * sizeof(XPointer));
     if (!new_conni->watch_data) {
        Xfree(new_conni);
        return 0;
@@ -582,7 +464,7 @@ XInternalConnectionNumbers(
     count = 0;
     for (info_list=dpy->im_fd_info; info_list; info_list=info_list->next)
        count++;
-    fd_list = (int*) Xmalloc (count * sizeof(int));
+    fd_list = Xmalloc (count * sizeof(int));
     if (!fd_list) {
        UnlockDisplay(dpy);
        return 0;
@@ -655,9 +537,8 @@ XAddConnectionWatch(
 
     /* allocate new watch data */
     for (info_list=dpy->im_fd_info; info_list; info_list=info_list->next) {
-       wd_array = (XPointer *)Xrealloc((char *)info_list->watch_data,
-                                       (dpy->watcher_count + 1) *
-                                       sizeof(XPointer));
+       wd_array = Xrealloc(info_list->watch_data,
+                           (dpy->watcher_count + 1) * sizeof(XPointer));
        if (!wd_array) {
            UnlockDisplay(dpy);
            return 0;
@@ -666,7 +547,7 @@ XAddConnectionWatch(
        wd_array[dpy->watcher_count] = NULL;    /* for cleanliness */
     }
 
-    new_watcher = (struct _XConnWatchInfo*)Xmalloc(sizeof(struct _XConnWatchInfo));
+    new_watcher = Xmalloc(sizeof(struct _XConnWatchInfo));
     if (!new_watcher) {
        UnlockDisplay(dpy);
        return 0;
@@ -874,8 +755,7 @@ void _XEnq(
                /* If dpy->qfree is non-NULL do this, else malloc a new one. */
                dpy->qfree = qelt->next;
        }
-       else if ((qelt =
-           (_XQEvent *) Xmalloc((unsigned)sizeof(_XQEvent))) == NULL) {
+       else if ((qelt = Xmalloc(sizeof(_XQEvent))) == NULL) {
                /* Malloc call failed! */
                ESET(ENOMEM);
                _XIOError(dpy);
@@ -1432,7 +1312,7 @@ static int _XPrintDefaultError(
        mesg, BUFSIZ);
     (void) fprintf(fp, mesg, event->request_code);
     if (event->request_code < 128) {
-       sprintf(number, "%d", event->request_code);
+       snprintf(number, sizeof(number), "%d", event->request_code);
        XGetErrorDatabaseText(dpy, "XRequest", number, "", buffer, BUFSIZ);
     } else {
        for (ext = dpy->ext_procs;
@@ -1452,7 +1332,7 @@ static int _XPrintDefaultError(
        fputs("  ", fp);
        (void) fprintf(fp, mesg, event->minor_code);
        if (ext) {
-           sprintf(mesg, "%s.%d", ext->name, event->minor_code);
+           snprintf(mesg, sizeof(mesg), "%s.%d", ext->name, event->minor_code);
            XGetErrorDatabaseText(dpy, "XRequest", mesg, "", buffer, BUFSIZ);
            (void) fprintf(fp, " (%s)", buffer);
        }
@@ -1475,8 +1355,8 @@ static int _XPrintDefaultError(
                bext = ext;
        }
        if (bext)
-           sprintf(buffer, "%s.%d", bext->name,
-                   event->error_code - bext->codes.first_error);
+           snprintf(buffer, sizeof(buffer), "%s.%d", bext->name,
+                     event->error_code - bext->codes.first_error);
        else
            strcpy(buffer, "Value");
        XGetErrorDatabaseText(dpy, mtype, buffer, "", mesg, BUFSIZ);
@@ -1636,7 +1516,7 @@ char *_XAllocScratch(
 {
        if (nbytes > dpy->scratch_length) {
            if (dpy->scratch_buffer) Xfree (dpy->scratch_buffer);
-           if ((dpy->scratch_buffer = Xmalloc((unsigned) nbytes)))
+           if ((dpy->scratch_buffer = Xmalloc(nbytes)))
                dpy->scratch_length = nbytes;
            else dpy->scratch_length = 0;
        }
@@ -1722,7 +1602,7 @@ void _Xbcopy(b1, b2, length)
 #ifdef DataRoutineIsProcedure
 void Data(
        Display *dpy,
-       char *data,
+       _Xconst char *data,
        long len)
 {
        if (dpy->bufptr + (len) <= dpy->bufmax) {
@@ -1739,7 +1619,7 @@ void Data(
 int
 _XData32(
     Display *dpy,
-    register long *data,
+    register _Xconst long *data,
     unsigned len)
 {
     register int *buf;
@@ -1764,122 +1644,6 @@ _XData32(
 }
 #endif /* LONG64 */
 
-#ifdef WORD64
-
-/*
- * XXX This is a *really* stupid way of doing this.  It should just use
- * dpy->bufptr directly, taking into account where in the word it is.
- */
-
-/*
- * Data16 - Place 16 bit data in the buffer.
- *
- * "dpy" is a pointer to a Display.
- * "data" is a pointer to the data.
- * "len" is the length in bytes of the data.
- */
-
-static doData16(
-    register Display *dpy,
-    short *data,
-    unsigned len,
-    char *packbuffer)
-{
-    long *lp,*lpack;
-    long i, nwords,bits;
-    long mask16 = 0x000000000000ffff;
-
-        lp = (long *)data;
-        lpack = (long *)packbuffer;
-
-/*  nwords is the number of 16 bit values to be packed,
- *  the low order 16 bits of each word will be packed
- *  into 64 bit words
- */
-        nwords = len >> 1;
-        bits = 48;
-
-        for(i=0;i<nwords;i++){
-          if (bits == 48) *lpack = 0;
-           *lpack ^= (*lp & mask16) << bits;
-           bits -= 16 ;
-           lp++;
-           if(bits < 0){
-               lpack++;
-               bits = 48;
-           }
-        }
-        Data(dpy, packbuffer, len);
-}
-
-_XData16 (
-    Display *dpy,
-    short *data,
-    unsigned len)
-{
-    char packbuffer[PACKBUFFERSIZE];
-    unsigned nunits = PACKBUFFERSIZE >> 1;
-
-    for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
-       doData16 (dpy, data, PACKBUFFERSIZE, packbuffer);
-    }
-    if (len) doData16 (dpy, data, len, packbuffer);
-}
-
-/*
- * Data32 - Place 32 bit data in the buffer.
- *
- * "dpy" is a pointer to a Display.
- * "data" is a pointer to the data.
- * "len" is the length in bytes of the data.
- */
-
-static doData32(
-    register Display *dpy
-    long *data,
-    unsigned len,
-    char *packbuffer)
-{
-    long *lp,*lpack;
-    long i,bits,nwords;
-    long mask32 = 0x00000000ffffffff;
-
-        lpack = (long *) packbuffer;
-        lp = data;
-
-/*  nwords is the number of 32 bit values to be packed
- *  the low order 32 bits of each word will be packed
- *  into 64 bit words
- */
-        nwords = len >> 2;
-        bits = 32;
-
-        for(i=0;i<nwords;i++){
-          if (bits == 32) *lpack = 0;
-           *lpack ^= (*lp & mask32) << bits;
-           bits = bits ^32;
-           lp++;
-           if(bits)
-              lpack++;
-        }
-        Data(dpy, packbuffer, len);
-}
-
-void _XData32(
-    Display *dpy,
-    long *data,
-    unsigned len)
-{
-    char packbuffer[PACKBUFFERSIZE];
-    unsigned nunits = PACKBUFFERSIZE >> 2;
-
-    for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
-       doData32 (dpy, data, PACKBUFFERSIZE, packbuffer);
-    }
-    if (len) doData32 (dpy, data, len, packbuffer);
-}
-
-#endif /* WORD64 */
 
 
 /* Make sure this produces the same string as DefineLocal/DefineSelf in xdm.
@@ -1967,10 +1731,16 @@ void *_XGetRequest(Display *dpy, CARD8 type, size_t len)
 {
     xReq *req;
 
-    WORD64ALIGN
-
     if (dpy->bufptr + len > dpy->bufmax)
        _XFlush(dpy);
+    /* Request still too large, so do not allow it to overflow. */
+    if (dpy->bufptr + len > dpy->bufmax) {
+       fprintf(stderr,
+               "Xlib: request %d length %zd would exceed buffer size.\n",
+               type, len);
+       /* Changes failure condition from overflow to NULL dereference. */
+       return NULL;
+    }
 
     if (len % 4)
        fprintf(stderr,
index 006b170..6bfe70b 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef XPRIVATE_H
 #define XPRIVATE_H
 
+#include <X11/Xlib.h>
+
 extern _X_HIDDEN void _XIDHandler(Display *dpy);
 extern _X_HIDDEN void _XSeqSyncFunction(Display *dpy);
 extern _X_HIDDEN void _XSetPrivSyncFunction(Display *dpy);
index c2f355f..b5cc7ff 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef _XRESINTERNAL_H_
 #define _XRESINTERNAL_H_
 
+#include <X11/Xlib.h>
+#include <X11/Xresource.h>
 #include <inttypes.h>
 
 /* type defines */
index d6899d9..36b71d6 100644 (file)
--- a/src/Xrm.c
+++ b/src/Xrm.c
@@ -62,6 +62,7 @@ from The Open Group.
 #endif
 #include       <X11/Xos.h>
 #include       <sys/stat.h>
+#include       <limits.h>
 #include "Xresinternal.h"
 #include "Xresource.h"
 
@@ -494,7 +495,7 @@ static XrmDatabase NewDatabase(void)
 {
     register XrmDatabase db;
 
-    db = (XrmDatabase) Xmalloc(sizeof(XrmHashBucketRec));
+    db = Xmalloc(sizeof(XrmHashBucketRec));
     if (db) {
        _XCreateMutex(&db->linfo);
        db->table = (NTable)NULL;
@@ -530,7 +531,7 @@ static void MoveValues(
            fentry->next = tentry;
        }
     }
-    Xfree((char *)ftable->buckets);
+    Xfree(ftable->buckets);
 }
 
 /* move all tables from ftable to ttable, and free ftable.
@@ -557,7 +558,7 @@ static void MoveTables(
            fentry->next = tentry;
        }
     }
-    Xfree((char *)ftable);
+    Xfree(ftable);
 }
 
 /* grow the table, based on current number of entries */
@@ -648,7 +649,7 @@ static void MergeValues(
                    fentry = *prev;
                    *prev = tentry->next;
                    /* free the overridden entry */
-                   Xfree((char *)tentry);
+                   Xfree(tentry);
                    /* get next tentry */
                    tentry = *prev;
                } else {
@@ -657,7 +658,7 @@ static void MergeValues(
                    tentry = fentry; /* use as a temp var */
                    fentry = fentry->next;
                    /* free the overpowered entry */
-                   Xfree((char *)tentry);
+                   Xfree(tentry);
                    /* get next tentry */
                    tentry = *prev;
                }
@@ -675,8 +676,8 @@ static void MergeValues(
            }
        }
     }
-    Xfree((char *)ftable->buckets);
-    Xfree((char *)ftable);
+    Xfree(ftable->buckets);
+    Xfree(ftable);
     /* resize if necessary, now that we're all done */
     GROW(pprev);
 }
@@ -750,7 +751,7 @@ static void MergeTables(
            }
        }
     }
-    Xfree((char *)ftable);
+    Xfree(ftable);
     /* resize if necessary, now that we're all done */
     GROW(pprev);
 }
@@ -800,7 +801,7 @@ void XrmCombineDatabase(
        (from->methods->destroy)(from->mbstate);
        _XUnlockMutex(&from->linfo);
        _XFreeMutex(&from->linfo);
-       Xfree((char *)from);
+       Xfree(from);
        _XUnlockMutex(&(*into)->linfo);
     }
 }
@@ -827,7 +828,7 @@ static void PutEntry(
     NTable *nprev, *firstpprev;
 
 #define NEWTABLE(q,i) \
-    table = (NTable)Xmalloc(sizeof(LTableRec)); \
+    table = Xmalloc(sizeof(LTableRec)); \
     if (!table) \
        return; \
     table->name = q; \
@@ -840,7 +841,7 @@ static void PutEntry(
        nprev = NodeBuckets(table); \
     } else { \
        table->leaf = 1; \
-       if (!(nprev = (NTable *)Xmalloc(sizeof(VEntry *)))) {\
+       if (!(nprev = Xmalloc(sizeof(VEntry *)))) {\
            Xfree(table); \
            return; \
         } \
@@ -928,7 +929,7 @@ static void PutEntry(
                }
                /* splice out and free old entry */
                *vprev = entry->next;
-               Xfree((char *)entry);
+               Xfree(entry);
                (*pprev)->entries--;
            }
            /* this is where to insert */
@@ -954,9 +955,8 @@ static void PutEntry(
        prev = nprev;
     }
     /* now allocate the value entry */
-    entry = (VEntry)Xmalloc(((type == XrmQString) ?
-                            sizeof(VEntryRec) : sizeof(DEntryRec)) +
-                           value->size);
+    entry = Xmalloc(((type == XrmQString) ?
+                    sizeof(VEntryRec) : sizeof(DEntryRec)) + value->size);
     if (!entry)
        return;
     entry->name = q = *quarks;
@@ -986,13 +986,12 @@ static void PutEntry(
        if (resourceQuarks) {
            unsigned char *prevQuarks = resourceQuarks;
 
-           resourceQuarks = (unsigned char *)Xrealloc((char *)resourceQuarks,
-                                                      size);
+           resourceQuarks = Xrealloc(resourceQuarks, size);
            if (!resourceQuarks) {
                Xfree(prevQuarks);
            }
        } else
-           resourceQuarks = (unsigned char *)Xmalloc(size);
+           resourceQuarks = Xmalloc(size);
        if (resourceQuarks) {
            bzero((char *)&resourceQuarks[oldsize], size - oldsize);
            maxResourceQuark = (size << 3) - 1;
@@ -1087,13 +1086,15 @@ static void GetIncludeFile(
     XrmDatabase db,
     _Xconst char *base,
     _Xconst char *fname,
-    int fnamelen);
+    int fnamelen,
+    int depth);
 
 static void GetDatabase(
     XrmDatabase db,
     _Xconst char *str,
     _Xconst char *filename,
-    Bool doall)
+    Bool doall,
+    int depth)
 {
     char *rhs;
     char *lhs, lhs_s[DEF_BUFF_SIZE];
@@ -1135,11 +1136,11 @@ static void GetDatabase(
 
     str_len = strlen (str);
     if (DEF_BUFF_SIZE > str_len) lhs = lhs_s;
-    else if ((lhs = (char*) Xmalloc (str_len)) == NULL)
+    else if ((lhs = Xmalloc (str_len)) == NULL)
        return;
 
     alloc_chars = DEF_BUFF_SIZE < str_len ? str_len : DEF_BUFF_SIZE;
-    if ((rhs = (char*) Xmalloc (alloc_chars)) == NULL) {
+    if ((rhs = Xmalloc (alloc_chars)) == NULL) {
        if (lhs != lhs_s) Xfree (lhs);
        return;
     }
@@ -1203,7 +1204,8 @@ static void GetDatabase(
                    } while (c != '"' && !is_EOL(bits));
                    /* must have an ending " */
                    if (c == '"')
-                       GetIncludeFile(db, filename, fname, str - len - fname);
+                       GetIncludeFile(db, filename, fname, str - len - fname,
+                           depth);
                }
            }
            /* spin to next newline */
@@ -1544,7 +1546,7 @@ XrmPutLineResource(
 {
     if (!*pdb) *pdb = NewDatabase();
     _XLockMutex(&(*pdb)->linfo);
-    GetDatabase(*pdb, line, (char *)NULL, False);
+    GetDatabase(*pdb, line, (char *)NULL, False, 0);
     _XUnlockMutex(&(*pdb)->linfo);
 }
 
@@ -1556,7 +1558,7 @@ XrmGetStringDatabase(
 
     db = NewDatabase();
     _XLockMutex(&db->linfo);
-    GetDatabase(db, data, (char *)NULL, True);
+    GetDatabase(db, data, (char *)NULL, True, 0);
     _XUnlockMutex(&db->linfo);
     return db;
 }
@@ -1594,11 +1596,12 @@ ReadInFile(_Xconst char *filename)
      */
     {
        struct stat status_buffer;
-       if ( (fstat(fd, &status_buffer)) == -1 ) {
+       if ( ((fstat(fd, &status_buffer)) == -1 ) ||
+             (status_buffer.st_size >= INT_MAX) ) {
            close (fd);
            return (char *)NULL;
        } else
-           size = status_buffer.st_size;
+           size = (int) status_buffer.st_size;
     }
 
     if (!(filebuf = Xmalloc(size + 1))) { /* leave room for '\0' */
@@ -1634,7 +1637,8 @@ GetIncludeFile(
     XrmDatabase db,
     _Xconst char *base,
     _Xconst char *fname,
-    int fnamelen)
+    int fnamelen,
+    int depth)
 {
     int len;
     char *str;
@@ -1642,6 +1646,8 @@ GetIncludeFile(
 
     if (fnamelen <= 0 || fnamelen >= BUFSIZ)
        return;
+    if (depth >= MAXDBDEPTH)
+       return;
     if (*fname != '/' && base && (str = strrchr(base, '/'))) {
        len = str - base + 1;
        if (len + fnamelen >= BUFSIZ)
@@ -1655,7 +1661,7 @@ GetIncludeFile(
     }
     if (!(str = ReadInFile(realfname)))
        return;
-    GetDatabase(db, str, realfname, True);
+    GetDatabase(db, str, realfname, True, depth + 1);
     Xfree(str);
 }
 
@@ -1671,7 +1677,7 @@ XrmGetFileDatabase(
 
     db = NewDatabase();
     _XLockMutex(&db->linfo);
-    GetDatabase(db, str, filename, True);
+    GetDatabase(db, str, filename, True, 0);
     _XUnlockMutex(&db->linfo);
     Xfree(str);
     return db;
@@ -1695,7 +1701,7 @@ XrmCombineFileDatabase(
     } else
        db = NewDatabase();
     _XLockMutex(&db->linfo);
-    GetDatabase(db, str, filename, True);
+    GetDatabase(db, str, filename, True, 0);
     _XUnlockMutex(&db->linfo);
     Xfree(str);
     if (!override)
@@ -2599,11 +2605,11 @@ static void DestroyLTable(
     for (i = table->table.mask; i >= 0; i--, buckets++) {
        for (next = *buckets; (entry = next); ) {
            next = entry->next;
-           Xfree((char *)entry);
+           Xfree(entry);
        }
     }
-    Xfree((char *)table->buckets);
-    Xfree((char *)table);
+    Xfree(table->buckets);
+    Xfree(table);
 }
 
 /* destroy all contained tables, plus table itself */
@@ -2624,7 +2630,7 @@ static void DestroyNTable(
                DestroyNTable(entry);
        }
     }
-    Xfree((char *)table);
+    Xfree(table);
 }
 
 const char *
@@ -2655,6 +2661,6 @@ void XrmDestroyDatabase(
        _XUnlockMutex(&db->linfo);
        _XFreeMutex(&db->linfo);
        (*db->methods->destroy)(db->mbstate);
-       Xfree((char *)db);
+       Xfree(db);
     }
 }
diff --git a/src/config.h.in b/src/config.h.in
deleted file mode 100644 (file)
index d0ed88d..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-/* src/config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
-#undef BSD44SOCKETS
-
-/* Include compose table cache support */
-#undef COMPOSECACHE
-
-/* Has getresuid() & getresgid() functions */
-#undef HASGETRESUID
-
-/* Has issetugid() function */
-#undef HASSETUGID
-
-/* Has shm*() functions */
-#undef HAS_SHM
-
-/* Define to 1 if you have the `authdes_create' function. */
-#undef HAVE_AUTHDES_CREATE
-
-/* Define to 1 if you have the `authdes_seccreate' function. */
-#undef HAVE_AUTHDES_SECCREATE
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Use dlopen to load shared libraries */
-#undef HAVE_DLOPEN
-
-/* Define to 1 if you have the <dl.h> header file. */
-#undef HAVE_DL_H
-
-/* Define to 1 if you have the `getpagesize' function. */
-#undef HAVE_GETPAGESIZE
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* launchd support available */
-#undef HAVE_LAUNCHD
-
-/* Define to 1 if you have the `ws2_32' library (-lws2_32). */
-#undef HAVE_LIBWS2_32
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have a working `mmap' system call. */
-#undef HAVE_MMAP
-
-/* Define to 1 if you have the `seteuid' function. */
-#undef HAVE_SETEUID
-
-/* Use shl_load to load shared libraries */
-#undef HAVE_SHL_LOAD
-
-/* Define to 1 if the system has the type `socklen_t'. */
-#undef HAVE_SOCKLEN_T
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the `strtol' function. */
-#undef HAVE_STRTOL
-
-/* Define to 1 if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
-
-/* Define to 1 if you have the <sys/select.h> header file. */
-#undef HAVE_SYS_SELECT_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Support IPv6 for TCP connections */
-#undef IPv6
-
-/* Support os-specific local connections */
-#undef LOCALCONN
-
-/* preference sorted list of transport types to try for local connections */
-#undef LOCAL_TRANSPORT_LIST
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
-#undef LT_OBJDIR
-
-/* Disable XLOCALEDIR environment variable */
-#undef NO_XLOCALEDIR
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Major version of this package */
-#undef PACKAGE_VERSION_MAJOR
-
-/* Minor version of this package */
-#undef PACKAGE_VERSION_MINOR
-
-/* Patch version of this package */
-#undef PACKAGE_VERSION_PATCHLEVEL
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
-/* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */
-#undef SECURE_RPC
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Support TCP socket connections */
-#undef TCPCONN
-
-/* launchd support available */
-#undef TRANS_REOPEN
-
-/* Support UNIX socket connections */
-#undef UNIXCONN
-
-/* Split some i18n functions into loadable modules */
-#undef USE_DYNAMIC_LC
-
-/* Use the X cursor library to load cursors */
-#undef USE_DYNAMIC_XCURSOR
-
-/* poll() function is available */
-#undef USE_POLL
-
-/* Enable extensions on AIX 3, Interix.  */
-#ifndef _ALL_SOURCE
-# undef _ALL_SOURCE
-#endif
-/* Enable GNU extensions on systems that have them.  */
-#ifndef _GNU_SOURCE
-# undef _GNU_SOURCE
-#endif
-/* Enable threading extensions on Solaris.  */
-#ifndef _POSIX_PTHREAD_SEMANTICS
-# undef _POSIX_PTHREAD_SEMANTICS
-#endif
-/* Enable extensions on HP NonStop.  */
-#ifndef _TANDEM_SOURCE
-# undef _TANDEM_SOURCE
-#endif
-/* Enable general extensions on Solaris.  */
-#ifndef __EXTENSIONS__
-# undef __EXTENSIONS__
-#endif
-
-
-/* Version number of package */
-#undef VERSION
-
-/* Location of libX11 data */
-#undef X11_DATADIR
-
-/* Location of libX11 library data */
-#undef X11_LIBDIR
-
-/* Include support for XCMS */
-#undef XCMS
-
-/* Location of error message database */
-#undef XERRORDB
-
-/* Enable XF86BIGFONT extension */
-#undef XF86BIGFONT
-
-/* Use XKB */
-#undef XKB
-
-/* Location of keysym database */
-#undef XKEYSYMDB
-
-/* support for X Locales */
-#undef XLOCALE
-
-/* Location of libX11 locale data */
-#undef XLOCALEDATADIR
-
-/* Location of libX11 locale data */
-#undef XLOCALEDIR
-
-/* Location of libX11 locale libraries */
-#undef XLOCALELIBDIR
-
-/* Whether libX11 is compiled with thread support */
-#undef XTHREADS
-
-/* Whether libX11 needs to use MT safe API's */
-#undef XUSE_MTSAFE_API
-
-/* Define to 1 if on MINIX. */
-#undef _MINIX
-
-/* Define to 2 if the system does not provide POSIX.1 features except with
-   this defined. */
-#undef _POSIX_1_SOURCE
-
-/* Define to 1 if you need to in order for `stat' and other things to work. */
-#undef _POSIX_SOURCE
index 89e38a7..4704208 100644 (file)
@@ -53,15 +53,9 @@ from The Open Group.
 /*
  * If we need to define extra variables for each global
  */
-#if !defined(UNIXCPP) || defined(ANSICPP)
 #define ZEROINIT(t,var,val) SetZero(t,var,val); \
   SetZero (long, _libX_##var##Flag, 0); \
   SetZero (void *, _libX_##var##Ptr, NULL)
-#else /* else pcc concatenation */
-#define ZEROINIT(t,var,val) SetZero(t,var,val); \
-  SetZero (long, _libX_/**/var/**/Flag, 0); \
-  SetZero (void *, _libX_/**/var/**/Ptr, NULL)
-#endif /* concat ANSI C vs. pcc */
 
 #else /* else not USL_SHAREDLIB */
 /*
@@ -87,127 +81,6 @@ ZEROINIT (int, _Xdebug, 0);
 ZEROINIT (Display *, _XHeadOfDisplayList, NULL);
 
 
-
-#if 0
-#ifdef STREAMSCONN
-
-
-/* The following are how the Xstream connections are used:              */
-/*      1)      Local connections over pseudo-tty ports.                */
-/*      2)      SVR4 local connections using named streams or SVR3.2    */
-/*              local connections using streams.                        */
-/*      3)      SVR4 stream pipe code. This code is proprietary and     */
-/*              the actual code is not included in the XC distribution. */
-/*      4)      remote connections using tcp                            */
-/*      5)      remote connections using StarLan                        */
-
-/*
- * descriptor block for streams connections
- */
-
-#include "Xstreams.h"
-
-char _XsTypeOfStream[100] = { 0 };
-
-extern int write();
-extern int close();
-#ifdef SVR4
-extern int _XsSetupSpStream();
-extern int _XsSetupNamedStream();
-#endif
-extern int _XsSetupLocalStream();
-extern int _XsConnectLocalClient();
-extern int _XsCallLocalServer();
-extern int _XsReadLocalStream();
-extern int _XsErrorCall();
-extern int _XsWriteLocalStream();
-extern int _XsCloseLocalStream();
-extern int _XsSetupTliStream();
-extern int _XsConnectTliClient();
-extern int _XsCallTliServer();
-extern int _XsReadTliStream();
-extern int _XsWriteTliStream();
-extern int _XsCloseTliStream();
-
-
-Xstream _XsStream[] = {
-
-    {
-       /* local connections using pseudo-ttys */
-
-       _XsSetupLocalStream,
-       _XsConnectLocalClient,
-       _XsCallLocalServer,
-       _XsReadLocalStream,
-       _XsErrorCall,
-       write,
-       close,
-       NULL
-    },
-    {
-#ifdef SVR4
-       /* local connections using named streams */
-
-        _XsSetupNamedStream,
-#else
-       /* local connections using streams */
-        _XsSetupLocalStream,
-#endif
-        _XsConnectLocalClient,
-        _XsCallLocalServer,
-        _XsReadLocalStream,
-        _XsErrorCall,
-        write,
-        close,
-        NULL
-    },
-    /* Enhanced Application Compatibility Support */
-    {
-#ifdef SVR4
-       /* SVR4 stream pipe code */
-       _XsSetupSpStream,
-#else
-       _XsSetupLocalStream,
-#endif
-       _XsConnectLocalClient,
-       _XsCallLocalServer,
-       _XsReadLocalStream,
-       _XsErrorCall,
-       write,
-       close,
-       NULL
-    },
-    /* End Enhanced Application Compatibility Support */
-
-    {
-       /* remote connections using tcp */
-        _XsSetupTliStream,
-        _XsConnectTliClient,
-        _XsCallTliServer,
-        _XsReadLocalStream,
-        _XsErrorCall,
-       write,
-       close,
-       NULL
-    },
-    {
-       /* remote connections using StarLan */
-        _XsSetupTliStream,
-        _XsConnectTliClient,
-        _XsCallTliServer,
-        _XsReadLocalStream,
-        _XsErrorCall,
-        write,
-        close,
-        NULL
-    }
-};
-
-
-#endif /* STREAMSCONN */
-#endif
-
-
 #ifdef XTEST1
 /*
  * Stuff for input synthesis extension:
index b3dfb3b..9f4fe06 100644 (file)
@@ -82,7 +82,7 @@ _Xthread_waiter(void)
     struct _xthread_waiter *me;
 
     if (!(me = TlsGetValue(_X_TlsIndex))) {
-       me = (struct _xthread_waiter *)xmalloc(sizeof(struct _xthread_waiter));
+       me = xmalloc(sizeof(struct _xthread_waiter));
        me->sem = CreateSemaphore(NULL, 0, 1, NULL);
        me->next = NULL;
        TlsSetValue(_X_TlsIndex, me);
@@ -249,7 +249,7 @@ static struct _XCVList *_XCreateCVL(
        dpy->lock->free_cvls = cvl->next;
        dpy->lock->num_free_cvls--;
     } else {
-       cvl = (struct _XCVList *)Xmalloc(sizeof(struct _XCVList));
+       cvl = Xmalloc(sizeof(struct _XCVList));
        if (!cvl)
            return NULL;
        cvl->cv = xcondition_malloc();
@@ -312,8 +312,8 @@ static void _XPopReader(
            dpy->lock->num_free_cvls++;
        } else {
            xcondition_clear(front->cv);
-           Xfree((char *)front->cv);
-           Xfree((char *)front);
+           Xfree(front->cv);
+           Xfree(front);
        }
     }
 
@@ -419,14 +419,14 @@ static void _XFreeDisplayLock(
        while ((cvl = dpy->lock->free_cvls)) {
            dpy->lock->free_cvls = cvl->next;
            xcondition_clear(cvl->cv);
-           Xfree((char *)cvl->cv);
-           Xfree((char *)cvl);
+           Xfree(cvl->cv);
+           Xfree(cvl);
        }
-       Xfree((char *)dpy->lock);
+       Xfree(dpy->lock);
        dpy->lock = NULL;
     }
     if (dpy->lock_fns != NULL) {
-       Xfree((char *)dpy->lock_fns);
+       Xfree(dpy->lock_fns);
        dpy->lock_fns = NULL;
     }
 }
@@ -512,10 +512,10 @@ void _XUserUnlockDisplay(
 static int _XInitDisplayLock(
     Display *dpy)
 {
-    dpy->lock_fns = (struct _XLockPtrs*)Xmalloc(sizeof(struct _XLockPtrs));
+    dpy->lock_fns = Xmalloc(sizeof(struct _XLockPtrs));
     if (dpy->lock_fns == NULL)
        return -1;
-    dpy->lock = (struct _XLockInfo *)Xmalloc(sizeof(struct _XLockInfo));
+    dpy->lock = Xmalloc(sizeof(struct _XLockInfo));
     if (dpy->lock == NULL) {
        _XFreeDisplayLock(dpy);
        return -1;
index 96019fc..5251a60 100644 (file)
@@ -36,6 +36,8 @@ in this Software without prior written authorization from The Open Group.
 
 #define xmalloc(s) Xmalloc(s)
 #define xfree(s) Xfree(s)
+#include <X11/Xlib.h>
+#include <X11/Xlibint.h>
 #include <X11/Xthreads.h>
 
 struct _XCVList {
diff --git a/src/pathmax.h b/src/pathmax.h
new file mode 100644 (file)
index 0000000..3aa3d50
--- /dev/null
@@ -0,0 +1,81 @@
+
+/***********************************************************
+
+Copyright 1987, 1988, 1998  The Open Group
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of The Open Group shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from The Open Group.
+
+
+Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
+
+                        All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Digital not be
+used in advertising or publicity pertaining to distribution of the
+software without specific, written prior permission.
+
+DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
+
+******************************************************************/
+
+/*
+ * Provides a single definition of PATH_MAX instead of replicating this mess
+ * in multiple files
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <X11/Xos.h>
+
+#ifndef X_NOT_POSIX
+#ifdef _POSIX_SOURCE
+#include <limits.h>
+#else
+#define _POSIX_SOURCE
+#include <limits.h>
+#undef _POSIX_SOURCE
+#endif
+#endif
+#ifndef PATH_MAX
+#ifdef WIN32
+#define PATH_MAX 512
+#else
+#include <sys/param.h>
+#endif
+#ifndef PATH_MAX
+#ifdef MAXPATHLEN
+#define PATH_MAX MAXPATHLEN
+#else
+#define PATH_MAX 1024
+#endif
+#endif
+#endif
diff --git a/src/udcInf.c b/src/udcInf.c
deleted file mode 100644 (file)
index db7ad10..0000000
+++ /dev/null
@@ -1,716 +0,0 @@
-/*
-Copyright 1996, 1998  The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall
-not be used in advertising or otherwise to promote the sale, use or
-other dealings in this Software without prior written authorization
-from The Open Group.
-*/
-/*
- * Copyright 1995 by FUJITSU LIMITED
- * This is source code modified by FUJITSU LIMITED under the Joint
- * Development Agreement for the CDE/Motif PST.
- *
- * Modifier: Takanori Tateno   FUJITSU LIMITED
- *
- */
-
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-#include <stdio.h>
-#include <locale.h>
-#include <Xlib.h>
-#include <Xlibint.h>
-#include <Xlcint.h>
-#include <XlcPubI.h>
-#include <XlcGeneric.h>
-#include <XomGeneric.h>
-
-/*
-   external symbols
-*/
-extern FontData read_EncodingInfo();
-extern int _xudc_get_codeset();
-
-extern int _xudc_utyderror ;
-extern int _xudc_utyerror ;
-
-extern unsigned long _xudc_utyerrno ;
-
-#define _XUDC_ERROR -1
-
-
-/*
-    UDC structure define
-*/
-typedef struct __XUDCGlyphRegion {
-    unsigned long  start;
-    unsigned long  end;
-} _XUDCGlyphRegion ;
-
-/*
- *  "code" no jyoui "i" byte me wo "unsigned char" toshite kaesu.
- */
-static unsigned char getbyte(code,i)
-unsigned long code;
-int          i;
-{
-    unsigned long byteL;
-    unsigned char byte;
-    byteL = code  >> (8*(3-i));
-    byte = (unsigned char)(0x000000ff & byteL);
-    return(byte);
-}
-/*
-    get codeset which described by charset_str and locale.
-    for examples ...
-    locale          :  ja_JP
-    charset_str     :  JISX0208.1983-0
-*/
-
-_xudc_get_codeset(locale,charset_str,codeset,num_codeset)
-char *locale;
-char *charset_str;
-int  **codeset;
-int  *num_codeset;
-{
-    XLCdRec lcdrec;
-    XLCd     lcd;
-    XLCdPublicRec xlcdp;
-    XPointer rdb;
-    int num = 0,count,num_ret=0,i,*ret;
-    char **value,buf[128],*ptr;
-
-
-    _xudc_utyderror = 0;
-    _xudc_utyerror = 0;
-
-    if((locale == NULL) || (charset_str == NULL)){
-        _xudc_utyerror = 5;
-        _xudc_utyderror = 1;
-       _xudc_utyerrno = 0x04 ;
-        return(_XUDC_ERROR);
-    }
-    if(codeset == NULL){
-        _xudc_utyerror = 5;
-        _xudc_utyderror = 2;
-       _xudc_utyerrno = 0x04 ;
-        return(_XUDC_ERROR);
-    }
-
-    /*    create XLCd     */
-    xlcdp.pub.siname = locale;
-    lcdrec.core = (XLCdCore)&xlcdp;
-    lcd = &lcdrec;
-        /* create X RDB (X NLS DB) */
-    rdb = _XlcCreateLocaleDataBase(lcd);
-    if(rdb == NULL){
-        _xudc_utyerror = 1;
-       _xudc_utyerrno = 0x15 ;
-        return(_XUDC_ERROR);
-    }
-
-    for(num=0;;num++){
-        /* XLC_FONTSET */
-        sprintf(buf, "fs%d.font.primary", num);
-        _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-        if(count < 1){
-            break ;
-        }
-        for(i=0;i<count;i++){
-           if (strlen(value[i]) >= sizeof(buf))
-               continue;
-            strcpy(buf,value[i]);
-            ptr = (char *)strchr(buf,(int)':');
-            *ptr = 0;
-            if(!_XlcCompareISOLatin1(charset_str,buf)){
-                num_ret += 1;
-                if(num_ret == 1){
-                    ret = (int *)Xmalloc(sizeof(int));
-                } else {
-                   int *prev_ret = ret;
-
-                   ret =
-                        (int *)Xrealloc(ret,num_ret*sizeof(int));
-                   if (ret == NULL){
-                       Xfree(prev_ret);
-                   }
-                }
-                if(ret == NULL){
-                   _xudc_utyerrno = 0x03 ;
-                    return(_XUDC_ERROR);
-                }
-               ret[num_ret-1]=num;
-                break ;
-            }
-        }
-    }
-    if(num_ret == 0){
-        *num_codeset = 0;
-        *codeset = NULL;
-        return (0xff);
-    }
-
-    *num_codeset = num_ret;
-    *codeset = ret;
-    return 0;
-}
-
-static Bool gi_to_vgi(gi,vgi,scope)
-unsigned long  gi,*vgi;
-FontScope      scope;
-{
-    if(scope->shift_direction == (unsigned long)'+'){
-        gi  -= scope->shift;
-    } else {
-        gi  += scope->shift;
-    }
-    if(gi >= scope->start && gi <= scope->end){
-       *vgi = gi;
-        return(True);
-    }
-    return(False);
-}
-
-static void shift_area(udc,scope)
-_XUDCGlyphRegion *udc;
-FontScope scope;
-{
-    if(scope->shift_direction == (unsigned long)'+'){
-        udc->start += scope->shift;
-        udc->end   += scope->shift;
-    } else {
-        udc->start -= scope->shift;
-        udc->end   -= scope->shift;
-    }
-}
-
-/*
-    get UDC area with glyph index.
-    for examples ...
-    locale          :  ja_JP
-    charset_str     :  JISX0208.1983-0
-*/
-_XUDCGetUDCGIArea(locale,codeset,charset_str,gr,num_gr)
-char *locale;
-int codeset;
-char *charset_str;
-_XUDCGlyphRegion  **gr;
-int  *num_gr;
-{
-    XLCdRec lcdrec;
-    XLCd     lcd;
-    XLCdPublicRec xlcdp;
-    XPointer rdb;
-    _XUDCGlyphRegion *udc;
-    int num = 0,count,num_ret=0;
-    int i,j,k;
-    char **value,buf[128],ptr;
-    FontData font_data;
-
-
-    _xudc_utyderror = 0;
-    _xudc_utyerror = 0;
-    _xudc_utyerrno = 0x00 ;
-
-    if((locale == NULL) || (charset_str == NULL)){
-        _xudc_utyerror = 5;
-        _xudc_utyderror = 1;
-       _xudc_utyerrno = 0x04;
-       _xudc_utyerrno |= (0x0b<<8) ;
-        return(_XUDC_ERROR);
-    }
-    if(gr == NULL){
-        _xudc_utyerror = 5;
-        _xudc_utyderror = 1;
-       _xudc_utyerrno = 0x04;
-       _xudc_utyerrno |= (0x0b<<8) ;
-        return(_XUDC_ERROR);
-    }
-    if(num_gr == NULL){
-        _xudc_utyerror = 5;
-        _xudc_utyderror = 2;
-       _xudc_utyerrno = 0x04;
-       _xudc_utyerrno |= (0x0b<<8) ;
-        return(_XUDC_ERROR);
-    }
-
-        /* create XLCd */
-    xlcdp.pub.siname = locale;
-    lcdrec.core = (XLCdCore)&xlcdp;
-    lcd = &lcdrec;
-        /* create X RDB (X NLS DB) */
-    rdb = _XlcCreateLocaleDataBase(lcd);
-    if(rdb == NULL){
-        _xudc_utyerror = 1;
-       _xudc_utyerrno = 0x15 ;
-       _xudc_utyerrno |= (0x0b<<8) ;
-        return(_XUDC_ERROR);
-    }
-    udc = NULL;
-
-        /* XLC_FONTSET */
-        sprintf(buf, "fs%d.charset.udc_area", codeset-1);
-        _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-        if(count > 0){
-            udc = (_XUDCGlyphRegion *)Xmalloc(count * sizeof(_XUDCGlyphRegion));
-            if(udc == NULL){
-               _xudc_utyerrno = 0x03 ;
-               _xudc_utyerrno |= (0x0b<<8) ;
-               return(_XUDC_ERROR);
-            }
-            for(i=0;i<count;i++){
-                sscanf(value[i],"\\x%lx,\\x%lx", &(udc[i].start), &(udc[i].end));
-            }
-        }
-
-    *num_gr = count;
-
-        sprintf(buf, "fs%d.font.primary", codeset-1);
-        _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-        if(count > 0){
-           font_data = read_EncodingInfo(count,value);
-            for(i=0;i<count;i++){
-                if( !_XlcCompareISOLatin1(font_data[i].name,charset_str)){
-                    for(j=0;j<(*num_gr);j++){
-                       for(k=0;k<font_data[i].scopes_num;k++){
-                           if(udc[j].start == font_data[i].scopes[k].start
-                                  && font_data[i].scopes[k].shift){
-                                shift_area(&udc[j],&(font_data[i].scopes[k]));
-                            }
-                       }
-                   }
-               }
-           }
-        }
-
-    *gr = udc;
-    return 0;
-}
-
-/*
- *      Code convert wo tomonau UDC area no kakutoku
- *      GetUDCCPArea() / glyph_to_code()
- *
- */
-
-static int
-_xudc_gi_to_vgi(lcd,locale,charset_str,codeset,gi,vgi,charsetname,size)
-XLCd   lcd;
-char   *locale;
-char   *charset_str;
-int    codeset;
-unsigned long  gi;
-unsigned long  *vgi;
-char    *charsetname;
-int    size;
-{
-    _XUDCGlyphRegion *udc;
-    int num = 0,count,num_ret=0;
-    int i,j,k;
-    char **value,buf[128],ptr;
-    FontData font_data;
-
-
-    sprintf(buf, "fs%d.charset.name", codeset-1);
-    _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-    if(count > 0){
-        strcpy(charsetname,value[0]);
-    }
-    if (count >= size)
-       return False;
-    sprintf(buf, "fs%d.font.primary", codeset-1);
-    _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-    if(count > 0){
-       font_data = read_EncodingInfo(count,value);
-        for(i=0;i<count;i++){
-            if( !_XlcCompareISOLatin1(font_data[i].name,charset_str)){
-                for(k=0;k<font_data[i].scopes_num;k++){
-                   if( gi_to_vgi(gi,vgi,&(font_data[i].scopes[k])) == True){
-                       return(True);
-                    }
-               }
-           }
-        }
-    }
-/*
-    free_fontdata(font_data);
-*/
-    *vgi = gi;
-    return(True);
-}
-
-Bool non_standard(lcd,charset)
-XLCd   lcd;
-XlcCharSet     charset;
-{
-    char buf[256];
-    int count,i;
-    char **value;
-    if(charset->ct_sequence == NULL){
-            return(False);
-    }
-    for(i=0;;i++){
-       sprintf(buf, "csd%d.charset_name", i);
-       _XlcGetLocaleDataBase(lcd, "XLC_CHARSET_DEFINE", buf, &value, &count);
-       if(count > 0){
-           if(!_XlcNCompareISOLatin1(value[0],
-                       charset->name,strlen(value[0])) ){
-               return(True);
-           }
-       } else {
-            return(False);
-       }
-    }
-}
-
-static Bool
-make_none_standard(from,charset,src,size)
-char *from;
-XlcCharSet     charset;
-char *src;
-int size;
-{
-    int name_len,seq_len,rest_len,i;
-    name_len = 2 + strlen(charset->encoding_name) + 1;
-    seq_len = strlen(charset->ct_sequence);
-    rest_len = strlen(charset->encoding_name) + 1 + strlen(src);
-    if (name_len + seq_len + strlen(src) >= size || rest_len >= 0x4000)
-       return False;
-    strcpy(from,charset->ct_sequence);
-    from[seq_len]    = (rest_len >> 7) + 128;
-    from[seq_len+1]  = (rest_len & 0x7f) + 128;
-    strcpy(&from[seq_len + 2],charset->encoding_name);
-    from[seq_len+name_len-1]  = 0x02;  /* STX */
-    strcpy(&from[seq_len + name_len],src);
-    return True;
-}
-int
-_xudc_glyph_to_code(locale,charset_str,codeset,glyph_index,codepoint)
-char   *locale;
-char   *charset_str;
-int    codeset;
-unsigned long  glyph_index;
-unsigned long  *codepoint;
-{
-    XLCd       lcd;
-    unsigned char *from; int   from_left;
-    unsigned char *to  ; int   to_left = 10;
-    unsigned char *dst;
-    unsigned char byte;
-    unsigned long from32[25];
-    unsigned long to32[25];
-    int             i,j;
-    char charsetname[256],src[10];
-    XlcConv    conv;
-    XlcCharSet         charset;
-    XPointer args[2];
-
-    from = (unsigned char *)from32;
-    to   = (unsigned char *)to32;
-    dst  = (unsigned char *)to32;
-
-    memset(dst,0,25);
-
-    lcd = (XLCd)_XlcGenericLoader(locale);
-
-    if (!_xudc_gi_to_vgi(lcd,locale,charset_str,codeset,
-       glyph_index,&glyph_index,charsetname,sizeof(charsetname)))
-       return(_XUDC_ERROR);
-
-    for(i=0,j=0;i<4;i++){
-       byte = getbyte(glyph_index,i);
-       if(byte){
-           src[j] = byte;
-            j ++;
-       }
-    }
-    src[j] = 0;
-
-
-    /* get charset */
-/*
-    sprintf(tmp,"%s%s",charset_str,":GL");
-    charset_name = strdup(tmp);
-*/
-    charset = _XlcGetCharSet(charsetname);
-    if(charset == NULL){
-       _xudc_utyerrno = 0x16 ;
-       return(_XUDC_ERROR);
-    }
-    /* make ct */
-    if( non_standard(lcd,charset)) {
-        if (!make_none_standard(from,charset,src,sizeof(from32)))
-           return(_XUDC_ERROR);
-    } else if(charset->ct_sequence){
-       if (strlen(charset->ct_sequence) + strlen(src) >= sizeof(from32))
-           return(_XUDC_ERROR);
-        sprintf((char *)from,"%s%s",charset->ct_sequence,src);
-    } else {
-        sprintf((char *)from,"%s\0",src);
-    }
-    /* compound text -> multi byte */
-    conv = _XlcOpenConverter(lcd, XlcNCompoundText, lcd, XlcNMultiByte);
-    from_left = strlen((char *)from);
-    _XlcConvert(conv,(XPointer *)&from,&from_left,
-                     (XPointer *)&to,  &to_left,args,0);
-    _XlcCloseConverter(conv);
-    _XlcDestroyLC(lcd);
-
-    *codepoint = 0;
-    for(i=0;dst[i];i++){
-        *codepoint = ((*codepoint << 8) | dst[i]) ;
-    }
-    return(0);
-}
-
-typedef struct __XUDCCodeRegion {
-       unsigned long start,end;
-} _XUDCCodeRegion ;
-
-int
-_XUDCGetUDCCPArea(locale,codeset,charset_str,cr,num_cr)
-char           *locale;
-int            codeset;
-char           *charset_str;
-_XUDCCodeRegion **cr;
-int  *num_cr;
-{
-    int i,num_gr,ret;
-    _XUDCGlyphRegion *gr;
-    _XUDCCodeRegion  *crr;
-
-    _xudc_utyerror  = 0;
-    _xudc_utyderror = 0;
-
-    if(cr == NULL){
-        _xudc_utyerror  = 5;
-        _xudc_utyderror = 1;
-       _xudc_utyerrno = 0x04 ;
-       _xudc_utyerrno |= (0x0a<<8) ;
-        return(_XUDC_ERROR);
-    }
-    if(num_cr == NULL){
-        _xudc_utyerror  = 5;
-        _xudc_utyderror = 2;
-       _xudc_utyerrno = 0x04 ;
-       _xudc_utyerrno |= (0x0a<<8) ;
-        return(_XUDC_ERROR);
-    }
-
-    ret = _XUDCGetUDCGIArea(locale,codeset,charset_str,&gr,&num_gr);
-    if(ret == _XUDC_ERROR){
-       _xudc_utyerrno &= 0xff ;
-       _xudc_utyerrno |= (0x0a<<8) ;
-       return(ret);
-    }
-
-    crr = (_XUDCCodeRegion *)Xmalloc(num_gr*sizeof(_XUDCCodeRegion));
-    if(crr == NULL){
-       Xfree(gr);
-       _xudc_utyerrno = 0x03 ;
-       _xudc_utyerrno |= (0x0a<<8) ;
-       return(_XUDC_ERROR);
-    }
-
-    for(i=0;i<num_gr;i++){
-       ret = _xudc_glyph_to_code(locale,charset_str,codeset,
-               gr[i].start, &(crr[i].start));
-       if(ret == _XUDC_ERROR){
-           _xudc_utyerrno |= (0x0a<<8) ;
-           Xfree(gr);
-           Xfree(crr);
-           return(ret);
-       }
-       ret = _xudc_glyph_to_code(locale,charset_str,codeset,
-               gr[i].end, &(crr[i].end));
-       if(ret == _XUDC_ERROR){
-           _xudc_utyerrno |= (0x0a<<8) ;
-           Xfree(gr);
-           Xfree(crr);
-           return(ret);
-       }
-    }
-    Xfree(gr);
-    *cr = crr;
-    *num_cr = num_gr;
-    return(0);
-}
-
-/*
- *    code_to_glyph()
- *
- */
-typedef struct __XUDCGIInf {
-    char               *charset_str;
-    unsigned long      glyph_index;
-} _XUDCGIInf ;
-
-/*
- *
- *
- */
-static Bool vgi_to_gi(gi,vgi,scope)
-unsigned long  *gi,vgi;
-FontScope      scope;
-{
-    if(vgi >= scope->start && vgi <= scope->end){
-        if(scope->shift_direction == (unsigned long)'+'){
-            *gi = vgi + scope->shift;
-        } else {
-            *gi = vgi - scope->shift;
-        }
-        return(True);
-    }
-    return(False);
-}
-/*
- *
- *
- */
-static Bool
-_xudc_vgi_to_gi(lcd,locale,vglyph,glyph,charset,charsetname,size)
-XLCd    lcd;
-char    *locale;
-unsigned long   vglyph;
-unsigned long   *glyph;
-XlcCharSet     charset;
-char    *charsetname;
-int    size;
-{
-    int num = 0,count,num_ret=0;
-    int i,j,k;
-    char **value,buf[128],ptr;
-    FontData font_data;
-    CodeSet cs;
-
-
-    for(i=0;;i++){
-        sprintf(buf, "fs%d.charset.name",i);
-        _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-        if(count > 0){
-            if(!_XlcNCompareISOLatin1(charset->name,value[0],
-                       strlen(charset->name))){
-               break;
-           }
-        } else {
-           _xudc_utyerrno = 0x17 ;
-           return(False);
-       }
-    }
-/*
-    sprintf(buf, "fs%d.charset.name", codeset-1);
-    _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-    if(count > 0){
-        strcpy(charsetname,value[0]);
-    }
-*/
-    sprintf(buf, "fs%d.font.primary", i);
-    _XlcGetLocaleDataBase(lcd, "XLC_FONTSET", buf, &value, &count);
-    if(count > 0){
-       font_data = read_EncodingInfo(count,value);
-        for(i=0;i<count;i++){
-            for(k=0;k<font_data[i].scopes_num;k++){
-               if( vgi_to_gi(glyph,vglyph,&(font_data[i].scopes[k])) == True){
-                   if (strlen(font_data[i].name) >= size)
-                       return(False);
-                   strcpy(charsetname,font_data[i].name);
-                   return(True);
-                }
-           }
-        }
-    }
-    *glyph = vglyph;
-    return(True);
-}
-int
-_xudc_code_to_glyph(locale,codepoint,gi,num_gi)
-char           *locale;
-unsigned long  codepoint;
-_XUDCGIInf     **gi;
-int            *num_gi;
-{
-    XLCd        lcd;
-    unsigned char *from; int    from_left;
-    unsigned char *to  ; int    to_left = 10;
-    unsigned char *dst;
-    unsigned char byte;
-    unsigned int from32[25];
-    unsigned int to32[25];
-    int      i,j;
-    char charsetname[256],src[10];
-    XlcConv     conv;
-    XlcCharSet  charset;
-    XPointer args[2];
-    unsigned long glyph,vglyph;
-
-    from = (unsigned char *)from32;
-    to   = (unsigned char *)to32;
-    dst  = (unsigned char *)to32;
-    memset(dst,0,25);
-
-    lcd = (XLCd)_XlcGenericLoader(locale);
-
-    for(i=0,j=0;i<4;i++){
-       byte = getbyte(codepoint,i);
-       if(byte){
-           src[j] = byte;
-            j ++;
-       }
-    }
-    src[j] = 0;
-    sprintf((char *)from,"%s\0",src);
-    /* multi byte -> vgi */
-    conv = _XlcOpenConverter(lcd, XlcNMultiByte, lcd, XlcNCharSet);
-    from_left = strlen((char *)from);
-    args[0] = (XPointer) &charset;
-    _XlcConvert(conv,(XPointer *)&from,&from_left,
-                     (XPointer *)&to,  &to_left,args,1);
-
-    /* vgi -> gi */
-    vglyph = 0;
-    for(i=0;dst[i];i++){
-        vglyph = ((vglyph << 8) | dst[i]) ;
-    }
-    if(_xudc_vgi_to_gi(lcd,locale,vglyph,&glyph,charset,charsetname,
-                       sizeof(charsetname))==False){
-        _XlcCloseConverter(conv);
-       _XlcDestroyLC(lcd);
-        *num_gi = 0;
-       return(0);
-    }
-
-    _XlcCloseConverter(conv);
-    _XlcDestroyLC(lcd);
-
-    *gi = (_XUDCGIInf *)Xmalloc(sizeof(_XUDCGIInf));
-    (*gi)->charset_str = (char *)Xmalloc(strlen(charsetname)+1);
-    strcpy((*gi)->charset_str,charsetname);
-    (*gi)->glyph_index = glyph;
-    if(*gi == NULL){
-       _xudc_utyerrno = 0x03 ;
-        return(_XUDC_ERROR);
-    }
-    *num_gi = 1;
-    return(0);
-}
-
diff --git a/src/util/.gitignore b/src/util/.gitignore
new file mode 100644 (file)
index 0000000..5f95924
--- /dev/null
@@ -0,0 +1,2 @@
+#              Add & Override for this directory and it's subdirectories
+makekeys
diff --git a/src/util/Makefile.in b/src/util/Makefile.in
deleted file mode 100644 (file)
index ea13739..0000000
+++ /dev/null
@@ -1,585 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-noinst_PROGRAMS = makekeys$(EXEEXT)
-subdir = src/util
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-PROGRAMS = $(noinst_PROGRAMS)
-makekeys_SOURCES = makekeys.c
-makekeys_OBJECTS = makekeys-makekeys.$(OBJEXT)
-makekeys_LDADD = $(LDADD)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-makekeys_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(makekeys_CFLAGS) \
-       $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = makekeys.c
-DIST_SOURCES = makekeys.c
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC_FOR_BUILD@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS_FOR_BUILD@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS_FOR_BUILD@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS_FOR_BUILD@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-makekeys_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(CWARNFLAGS)
-
-makekeys_CPPFLAGS = \
-       -I$(top_srcdir)/include
-
-EXTRA_DIST = mkks.sh
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
-
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/util/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign src/util/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-clean-noinstPROGRAMS:
-       @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
-       echo " rm -f" $$list; \
-       rm -f $$list || exit $$?; \
-       test -n "$(EXEEXT)" || exit 0; \
-       list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
-       echo " rm -f" $$list; \
-       rm -f $$list
-makekeys$(EXEEXT): $(makekeys_OBJECTS) $(makekeys_DEPENDENCIES) 
-       @rm -f makekeys$(EXEEXT)
-       $(AM_V_CCLD)$(makekeys_LINK) $(makekeys_OBJECTS) $(makekeys_LDADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/makekeys-makekeys.Po@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-makekeys-makekeys.o: makekeys.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(makekeys_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.o -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/makekeys-makekeys.Tpo $(DEPDIR)/makekeys-makekeys.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='makekeys.c' object='makekeys-makekeys.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(makekeys_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.o `test -f 'makekeys.c' || echo '$(srcdir)/'`makekeys.c
-
-makekeys-makekeys.obj: makekeys.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(makekeys_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -MT makekeys-makekeys.obj -MD -MP -MF $(DEPDIR)/makekeys-makekeys.Tpo -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/makekeys-makekeys.Tpo $(DEPDIR)/makekeys-makekeys.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='makekeys.c' object='makekeys-makekeys.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(makekeys_CPPFLAGS) $(CPPFLAGS) $(makekeys_CFLAGS) $(CFLAGS) -c -o makekeys-makekeys.obj `if test -f 'makekeys.c'; then $(CYGPATH_W) 'makekeys.c'; else $(CYGPATH_W) '$(srcdir)/makekeys.c'; fi`
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
-       mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-noinstPROGRAMS ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
-       pdf pdf-am ps ps-am tags uninstall uninstall-am
-
-
-@LINT_TRUE@lint:
-@LINT_TRUE@    $(LINT) $(ALL_LINT_FLAGS) makekeys.c
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 300ef57..727c6c7 100644 (file)
@@ -19,6 +19,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif
@@ -757,3 +758,19 @@ void _XEatData(Display *dpy, unsigned long n)
        dpy->xcb->reply_consumed += n;
        _XFreeReplyData(dpy, False);
 }
+
+/*
+ * Read and discard "n" 32-bit words of data
+ * Matches the units of the length field in X protocol replies, and provides
+ * a single implementation of overflow checking to avoid having to replicate
+ * those checks in every caller.
+ */
+void _XEatDataWords(Display *dpy, unsigned long n)
+{
+       if (n < ((INT_MAX - dpy->xcb->reply_consumed) >> 2))
+               dpy->xcb->reply_consumed += (n << 2);
+       else
+               /* Overflow would happen, so just eat the rest of the reply */
+               dpy->xcb->reply_consumed = dpy->xcb->reply_length;
+       _XFreeReplyData(dpy, False);
+}
index 090b107..de6d631 100644 (file)
@@ -111,7 +111,7 @@ XcmsCreateCCC(
     XcmsPerScrnInfo *pNewScrnInfo;
 
     if (pDefaultCCC == NULL ||
-           !(newccc = (XcmsCCC) Xcalloc(1, (unsigned) sizeof(XcmsCCCRec)))) {
+           !(newccc = Xcalloc(1, sizeof(XcmsCCCRec)))) {
        return(NULL);
     }
 
@@ -144,8 +144,7 @@ XcmsCreateCCC(
      * If one exists replace the pPerScrnInfo.
      */
     if ((pIMap = _XcmsGetIntensityMap(dpy, visual)) != NULL) {
-       if (!(pNewScrnInfo = (XcmsPerScrnInfo *)
-               Xcalloc(1, (unsigned) sizeof(XcmsPerScrnInfo)))) {
+       if (!(pNewScrnInfo = Xcalloc(1, sizeof(XcmsPerScrnInfo)))) {
            Xfree(newccc);
            return(NULL);
        }
index ed35826..87d4931 100644 (file)
@@ -796,7 +796,7 @@ XcmsConvertColors(
      * Make copy of array of color specifications
      */
     if (nColors > 1) {
-       pColors_tmp = (XcmsColor *) Xmalloc(nColors * sizeof(XcmsColor));
+       pColors_tmp = Xmalloc(nColors * sizeof(XcmsColor));
     } else {
        pColors_tmp = &Color1;
     }
@@ -987,13 +987,13 @@ XcmsConvertColors(
               nColors * sizeof(XcmsColor));
     }
     if (nColors > 1) {
-       Xfree((char *)pColors_tmp);
+       Xfree(pColors_tmp);
     }
     return(retval);
 
 Failure:
     if (nColors > 1) {
-       Xfree((char *)pColors_tmp);
+       Xfree(pColors_tmp);
     }
     return(XcmsFailure);
 }
index 3a92e0a..e15f34f 100644 (file)
@@ -67,7 +67,7 @@ XcmsFormatOfPrefix(char *prefix)
      * While copying prefix to string_lowered, convert to lowercase
      */
     if ((len = strlen(prefix)) >= sizeof(string_buf)) {
-       string_lowered = (char *) Xmalloc(len+1);
+       string_lowered = Xmalloc(len+1);
     } else {
        string_lowered = string_buf;
     }
index 5ecb7d1..461d07d 100644 (file)
@@ -511,7 +511,7 @@ LINEAR_RGB_InitSCCData(
            *pValue++ = (long)_XcmsGetElement(format_return, &pChar,
                    &nitems) / (XcmsFloat)XDCCC_NUMBER;
        }
-       Xfree ((char *)property_return);
+       Xfree (property_return);
        pPerScrnInfo->screenWhitePt.spec.CIEXYZ.X =
                pScreenData->RGBtoXYZmatrix[0][0] +
                pScreenData->RGBtoXYZmatrix[0][1] +
@@ -662,7 +662,7 @@ LINEAR_RGB_InitSCCData(
            /* Create, initialize, and add map */
            if (!(pNewMap = (XcmsIntensityMap *)
                              Xcalloc (1, sizeof(XcmsIntensityMap)))) {
-               Xfree((char *)pScreenData);
+               Xfree(pScreenData);
                goto Free_property_return;
            }
            pNewMap->visualID = visualID;
@@ -782,7 +782,7 @@ LINEAR_RGB_InitSCCData(
 #endif /* ALLDEBUG */
     }
 
-    Xfree ((char *)property_return);
+    Xfree (property_return);
 
     /* Free the old memory and use the new structure created. */
     LINEAR_RGB_FreeSCCData(pPerScrnInfo->screenData);
@@ -796,28 +796,28 @@ LINEAR_RGB_InitSCCData(
     return(XcmsSuccess);
 
 FreeBlueTblElements:
-    Xfree((char *)pScreenData->pBlueTbl->pBase);
+    Xfree(pScreenData->pBlueTbl->pBase);
 
 FreeBlueTbl:
-    Xfree((char *)pScreenData->pBlueTbl);
+    Xfree(pScreenData->pBlueTbl);
 
 FreeGreenTblElements:
-    Xfree((char *)pScreenData->pGreenTbl->pBase);
+    Xfree(pScreenData->pGreenTbl->pBase);
 
 FreeGreenTbl:
-    Xfree((char *)pScreenData->pGreenTbl);
+    Xfree(pScreenData->pGreenTbl);
 
 FreeRedTblElements:
-    Xfree((char *)pScreenData->pRedTbl->pBase);
+    Xfree(pScreenData->pRedTbl->pBase);
 
 FreeRedTbl:
-    Xfree((char *)pScreenData->pRedTbl);
+    Xfree(pScreenData->pRedTbl);
 
 Free_property_return:
-    Xfree ((char *)property_return);
+    Xfree (property_return);
 
 FreeSCCData:
-    Xfree((char *)pScreenDefaultData);
+    Xfree(pScreenDefaultData);
     pPerScrnInfo->state = XcmsInitNone;
     return(XcmsFailure);
 }
@@ -849,30 +849,30 @@ LINEAR_RGB_FreeSCCData(
                if (pScreenData->pRedTbl->pBase !=
                    pScreenData->pGreenTbl->pBase) {
                    if (pScreenData->pGreenTbl->pBase) {
-                       Xfree ((char *)pScreenData->pGreenTbl->pBase);
+                       Xfree (pScreenData->pGreenTbl->pBase);
                    }
                }
                if (pScreenData->pGreenTbl != pScreenData->pRedTbl) {
-                   Xfree ((char *)pScreenData->pGreenTbl);
+                   Xfree (pScreenData->pGreenTbl);
                }
            }
            if (pScreenData->pBlueTbl) {
                if (pScreenData->pRedTbl->pBase !=
                    pScreenData->pBlueTbl->pBase) {
                    if (pScreenData->pBlueTbl->pBase) {
-                       Xfree ((char *)pScreenData->pBlueTbl->pBase);
+                       Xfree (pScreenData->pBlueTbl->pBase);
                    }
                }
                if (pScreenData->pBlueTbl != pScreenData->pRedTbl) {
-                   Xfree ((char *)pScreenData->pBlueTbl);
+                   Xfree (pScreenData->pBlueTbl);
                }
            }
            if (pScreenData->pRedTbl->pBase) {
-               Xfree ((char *)pScreenData->pRedTbl->pBase);
+               Xfree (pScreenData->pRedTbl->pBase);
            }
-           Xfree ((char *)pScreenData->pRedTbl);
+           Xfree (pScreenData->pRedTbl);
        }
-       Xfree ((char *)pScreenData);
+       Xfree (pScreenData);
     }
 }
 
index 40212c0..d147e23 100644 (file)
@@ -9,7 +9,8 @@ AM_CPPFLAGS= \
        -I$(top_srcdir)/src/xkb \
        -I$(top_srcdir)/src/xlibi18n \
        -I$(top_srcdir)/src \
-       -D_BSD_SOURCE
+       -D_BSD_SOURCE \
+        -DXCMSDIR=\"$(X11dir)\"
 
 AM_CFLAGS= \
        $(X11_CFLAGS) \
@@ -84,7 +85,7 @@ libxcms_la_SOURCES = \
                   xyY.c \
                   Xcmsint.h
 
-X11dir = $(libdir)/X11
+X11dir = $(X11_DATADIR)
 dist_X11_DATA = Xcms.txt
 
 
diff --git a/src/xcms/Makefile.in b/src/xcms/Makefile.in
deleted file mode 100644 (file)
index 52888b9..0000000
+++ /dev/null
@@ -1,770 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = src/xcms
-DIST_COMMON = $(dist_X11_DATA) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-LTLIBRARIES = $(noinst_LTLIBRARIES)
-libxcms_la_LIBADD =
-am_libxcms_la_OBJECTS = AddDIC.lo AddSF.lo CCC.lo CvColW.lo CvCols.lo \
-       HVC.lo HVCGcC.lo HVCGcV.lo HVCGcVC.lo HVCMnV.lo HVCMxC.lo \
-       HVCMxV.lo HVCMxVC.lo HVCMxVs.lo HVCWpAj.lo IdOfPr.lo LRGB.lo \
-       Lab.lo LabGcC.lo LabGcL.lo LabGcLC.lo LabMnL.lo LabMxC.lo \
-       LabMxL.lo LabMxLC.lo LabWpAj.lo Luv.lo LuvGcC.lo LuvGcL.lo \
-       LuvGcLC.lo LuvMnL.lo LuvMxC.lo LuvMxL.lo LuvMxLC.lo LuvWpAj.lo \
-       OfCCC.lo PrOfId.lo QBlack.lo QBlue.lo QGreen.lo QRed.lo \
-       QWhite.lo QuCol.lo QuCols.lo SetCCC.lo SetGetCols.lo StCol.lo \
-       StCols.lo UNDEFINED.lo XRGB.lo XYZ.lo cmsAllCol.lo \
-       cmsAllNCol.lo cmsCmap.lo cmsColNm.lo cmsGlobls.lo cmsInt.lo \
-       cmsLkCol.lo cmsMath.lo cmsProp.lo cmsTrig.lo uvY.lo xyY.lo
-libxcms_la_OBJECTS = $(am_libxcms_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxcms_la_SOURCES)
-DIST_SOURCES = $(libxcms_la_SOURCES)
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
-  test -z "$$files" \
-    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
-    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
-         $(am__cd) "$$dir" && rm -f $$files; }; \
-  }
-am__installdirs = "$(DESTDIR)$(X11dir)"
-DATA = $(dist_X11_DATA)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-noinst_LTLIBRARIES = libxcms.la
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -I$(top_srcdir)/src \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(XMALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-libxcms_la_SOURCES = \
-                 AddDIC.c \
-                  AddSF.c \
-                  CCC.c \
-                  CvColW.c \
-                  CvCols.c \
-                  Cv.h \
-                  HVC.c \
-                  HVCGcC.c \
-                  HVCGcV.c \
-                  HVCGcVC.c \
-                  HVCMnV.c \
-                  HVCMxC.c \
-                  HVCMxV.c \
-                  HVCMxVC.c \
-                  HVCMxVs.c \
-                  HVCWpAj.c \
-                  IdOfPr.c \
-                  LRGB.c \
-                  Lab.c \
-                  LabGcC.c \
-                  LabGcL.c \
-                  LabGcLC.c \
-                  LabMnL.c \
-                  LabMxC.c \
-                  LabMxL.c \
-                  LabMxLC.c \
-                  LabWpAj.c \
-                  Luv.c \
-                  LuvGcC.c \
-                  LuvGcL.c \
-                  LuvGcLC.c \
-                  LuvMnL.c \
-                  LuvMxC.c \
-                  LuvMxL.c \
-                  LuvMxLC.c \
-                  LuvWpAj.c \
-                  OfCCC.c \
-                  PrOfId.c \
-                  QBlack.c \
-                  QBlue.c \
-                  QGreen.c \
-                  QRed.c \
-                  QWhite.c \
-                  QuCol.c \
-                  QuCols.c \
-                  SetCCC.c \
-                  SetGetCols.c \
-                  StCol.c \
-                  StCols.c \
-                  UNDEFINED.c \
-                  XRGB.c \
-                  XYZ.c \
-                  cmsAllCol.c \
-                  cmsAllNCol.c \
-                  cmsCmap.c \
-                  cmsColNm.c \
-                  cmsGlobls.c \
-                  cmsInt.c \
-                  cmsLkCol.c \
-                  cmsMath.c \
-                  cmsProp.c \
-                  cmsTrig.c \
-                  uvY.c \
-                  xyY.c \
-                  Xcmsint.h
-
-X11dir = $(libdir)/X11
-dist_X11_DATA = Xcms.txt
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
-
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/xcms/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign src/xcms/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxcms.la: $(libxcms_la_OBJECTS) $(libxcms_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK)  $(libxcms_la_OBJECTS) $(libxcms_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AddDIC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/AddSF.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CCC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CvColW.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CvCols.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCGcC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCGcV.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCGcVC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCMnV.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCMxC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCMxV.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCMxVC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCMxVs.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/HVCWpAj.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IdOfPr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LRGB.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Lab.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabGcC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabGcL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabGcLC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabMnL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabMxC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabMxL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabMxLC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LabWpAj.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Luv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvGcC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvGcL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvGcLC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvMnL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvMxC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvMxL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvMxLC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/LuvWpAj.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OfCCC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/PrOfId.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QBlack.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QBlue.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QGreen.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QRed.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QWhite.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/QuCols.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetCCC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SetGetCols.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StCols.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/UNDEFINED.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XRGB.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XYZ.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsAllCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsAllNCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsCmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsColNm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsGlobls.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsInt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsLkCol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsMath.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsProp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmsTrig.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uvY.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xyY.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-install-dist_X11DATA: $(dist_X11_DATA)
-       @$(NORMAL_INSTALL)
-       test -z "$(X11dir)" || $(MKDIR_P) "$(DESTDIR)$(X11dir)"
-       @list='$(dist_X11_DATA)'; test -n "$(X11dir)" || list=; \
-       for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         echo "$$d$$p"; \
-       done | $(am__base_list) | \
-       while read files; do \
-         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(X11dir)'"; \
-         $(INSTALL_DATA) $$files "$(DESTDIR)$(X11dir)" || exit $$?; \
-       done
-
-uninstall-dist_X11DATA:
-       @$(NORMAL_UNINSTALL)
-       @list='$(dist_X11_DATA)'; test -n "$(X11dir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-       dir='$(DESTDIR)$(X11dir)'; $(am__uninstall_files_from_dir)
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES) $(DATA)
-installdirs:
-       for dir in "$(DESTDIR)$(X11dir)"; do \
-         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
-       mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-dist_X11DATA
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-dist_X11DATA
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-noinstLTLIBRARIES ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am \
-       install-dist_X11DATA install-dvi install-dvi-am install-exec \
-       install-exec-am install-html install-html-am install-info \
-       install-info-am install-man install-pdf install-pdf-am \
-       install-ps install-ps-am install-strip installcheck \
-       installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags uninstall uninstall-am uninstall-dist_X11DATA
-
-
-@LINT_TRUE@lint:
-@LINT_TRUE@    $(LINT) $(ALL_LINT_FLAGS) $(libxcms_la_SOURCES) -lm
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index 9b548db..83fa4c2 100644 (file)
@@ -237,7 +237,7 @@ _XcmsSetGetColors(
     /*
      * Allocate space for XColors
      */
-    if ((pXColors_in_out = (XColor *)Xcalloc(nColors, sizeof(XColor))) ==
+    if ((pXColors_in_out = Xcalloc(nColors, sizeof(XColor))) ==
            NULL) {
        return(XcmsFailure);
     }
@@ -251,7 +251,7 @@ _XcmsSetGetColors(
      */
     if ((retval = XcmsConvertColors(ccc, pColors_in_out, nColors, XcmsRGBFormat,
            pCompressed)) == XcmsFailure) {
-        Xfree((char *)pXColors_in_out);
+        Xfree(pXColors_in_out);
        return(XcmsFailure);
     }
 
@@ -268,12 +268,12 @@ Query:
        /* Note: XQueryColors and XStoreColors do not return any Status */
        (*xColorProc)(ccc->dpy, cmap, pXColors_in_out, nColors);
     } else {
-       Xfree((char *)pXColors_in_out);
+       Xfree(pXColors_in_out);
        return(XcmsFailure);
     }
 
     if (*xColorProc == XStoreColors) {
-       Xfree((char *)pXColors_in_out);
+       Xfree(pXColors_in_out);
        return(retval);
     }
 
@@ -281,7 +281,7 @@ Query:
      * Now, convert the returned XColor (i.e., rgb) to XcmsColor structures
      */
     _XColor_to_XcmsRGB(ccc, pXColors_in_out, pColors_in_out, nColors);
-    Xfree((char *)pXColors_in_out);
+    Xfree(pXColors_in_out);
 
     /*
      * Then, convert XcmsColor structures to the original specification
index 24ccd38..42a29cd 100644 (file)
@@ -85,7 +85,7 @@ XcmsStoreColors(
      * overwrite the contents.
      */
     if (nColors > 1) {
-       pColors_tmp = (XcmsColor *) Xmalloc(nColors * sizeof(XcmsColor));
+       pColors_tmp = Xmalloc(nColors * sizeof(XcmsColor));
     } else {
        pColors_tmp = &Color1;
     }
@@ -102,7 +102,7 @@ XcmsStoreColors(
      * Free copies as needed.
      */
     if (nColors > 1) {
-       Xfree((char *)pColors_tmp);
+       Xfree(pColors_tmp);
     }
 
     /*
index 00816ce..c5401c0 100644 (file)
@@ -191,7 +191,7 @@ CmapRecForColormap(
            SyncHandle();
        } while (async_state.error_count > 0 && ++j < nVisualsMatched);
 
-       Xfree((char *)visualList);
+       Xfree(visualList);
 
        /*
         * if successful
@@ -250,8 +250,7 @@ _XcmsAddCmapRec(
 {
     XcmsCmapRec *pNew;
 
-    if ((pNew = (XcmsCmapRec *) Xcalloc(1, (unsigned) sizeof(XcmsCmapRec)))
-           == NULL) {
+    if ((pNew = Xcalloc(1, sizeof(XcmsCmapRec))) == NULL) {
        return((XcmsCmapRec *)NULL);
     }
 
@@ -301,7 +300,7 @@ _XcmsCopyCmapRecAndFree(
        pRec_copy =_XcmsAddCmapRec(dpy, copy_cmap, pRec_src->windowID,
                pRec_src->visual);
        if (pRec_copy != NULL && pRec_src->ccc) {
-           pRec_copy->ccc = (XcmsCCC)Xcalloc(1, (unsigned) sizeof(XcmsCCCRec));
+           pRec_copy->ccc = Xcalloc(1, sizeof(XcmsCCCRec));
            memcpy((char *)pRec_copy->ccc, (char *)pRec_src->ccc,
                   sizeof(XcmsCCCRec));
        }
@@ -353,7 +352,7 @@ _XcmsDeleteCmapRec(
            XcmsFreeCCC(pRec->ccc);
        }
        *pPrevPtr = pRec->pNext;
-       Xfree((char *)pRec);
+       Xfree(pRec);
     }
 }
 
@@ -388,7 +387,7 @@ _XcmsFreeClientCmaps(
            XcmsFreeCCC(pRecFree->ccc);
        }
        /* Now free the XcmsCmapRec structure */
-       Xfree((char *)pRecFree);
+       Xfree(pRecFree);
     }
     dpy->cms.clientCmaps = (XPointer)NULL;
 }
index 8518adf..ecf19b3 100644 (file)
@@ -40,6 +40,7 @@
 #include <sys/stat.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <limits.h>
 #define XK_LATIN1
 #include <X11/keysymdef.h>
 #include "Cv.h"
@@ -53,7 +54,7 @@ static Status LoadColornameDB(void);
  *             #define declarations local to this package.
  */
 #ifndef XCMSDB
-#define XCMSDB  "/usr/lib/X11/Xcms.txt"
+#define XCMSDB  XCMSDIR "/Xcms.txt"
 #endif
 
 #ifndef isgraph
@@ -208,7 +209,7 @@ _XcmsParseColorString(
      * While copying color_string to string_lowered, convert to lowercase
      */
     if ((len = strlen(color_string)) >= sizeof(string_buf)) {
-       string_lowered = (char *) Xmalloc(len+1);
+       string_lowered = Xmalloc(len+1);
     } else {
        string_lowered = string_buf;
     }
@@ -254,7 +255,7 @@ FirstCmp(const void *p1, const void *p2)
  *
  */
 {
-    return(strcmp(((XcmsPair *)p1)->first, ((XcmsPair *)p2)->first));
+    return(strcmp(((const XcmsPair *)p1)->first, ((const XcmsPair *)p2)->first));
 }
 
 
@@ -417,7 +418,7 @@ _XcmsLookupColorName(
 
 Retry:
     if ((len = strlen(tmpName)) > 63) {
-       name_lowered = (char *) Xmalloc(len+1);
+       name_lowered = Xmalloc(len+1);
     } else {
        name_lowered = name_lowered_64;
     }
@@ -542,7 +543,10 @@ stringSectionSize(
     char *pBuf;
     char *f1;
     char *f2;
-    int i;
+    size_t i;
+
+    unsigned int numEntries = 0;
+    unsigned int sectionSize = 0;
 
     *pNumEntries = 0;
     *pSectionSize = 0;
@@ -576,26 +580,37 @@ stringSectionSize(
            return(XcmsFailure);
        }
 
-       (*pNumEntries)++;
+       numEntries++;
+       if (numEntries >= INT_MAX)
+           return(XcmsFailure);
 
-       (*pSectionSize) += (i = strlen(f1)) + 1;
+       i = strlen(f1);
+       if (i >= INT_MAX - sectionSize)
+           return(XcmsFailure);
+       sectionSize += i + 1;
        for (; i; i--, f1++) {
            /* REMOVE SPACES FROM COUNT */
            if (isspace(*f1)) {
-               (*pSectionSize)--;
+               sectionSize--;
            }
        }
 
-       (*pSectionSize) += (i = strlen(f2)) + 1;
+       i = strlen(f2);
+       if (i >= INT_MAX - sectionSize)
+           return(XcmsFailure);
+       sectionSize += i + 1;
        for (; i; i--, f2++) {
            /* REMOVE SPACES FROM COUNT */
            if (isspace(*f2)) {
-               (*pSectionSize)--;
+               sectionSize--;
            }
        }
 
     }
 
+    *pNumEntries = (int) numEntries;
+    *pSectionSize = (int) sectionSize;
+
     return(XcmsSuccess);
 }
 
@@ -745,8 +760,8 @@ LoadColornameDB(void)
     }
     rewind(stream);
 
-    strings = (char *) Xmalloc(size);
-    pairs = (XcmsPair *)Xcalloc(nEntries, sizeof(XcmsPair));
+    strings = Xmalloc(size);
+    pairs = Xcalloc(nEntries, sizeof(XcmsPair));
 
     ReadColornameDB(stream, pairs, strings);
     (void) fclose(stream);
index b7c3214..f4aef04 100644 (file)
@@ -82,7 +82,7 @@ _XcmsCopyPointerArray(
     for (tmp = pap, n = 0; *tmp != NULL; tmp++, n++);
     n++; /* add 1 to include the NULL pointer */
 
-    if ((newArray = (XPointer *)Xmalloc(n * sizeof(XPointer)))) {
+    if ((newArray = Xmalloc(n * sizeof(XPointer)))) {
        memcpy((char *)newArray, (char *)pap,
               (unsigned)(n * sizeof(XPointer)));
     }
@@ -141,7 +141,7 @@ _XcmsPushPointerArray(
     /* add 2: 1 for the new pointer and another for the NULL pointer */
     n += 2;
 
-    if ((newArray = (XPointer *)Xmalloc(n * sizeof(XPointer)))) {
+    if ((newArray = Xmalloc(n * sizeof(XPointer)))) {
        memcpy((char *)(newArray+1),(char *)pap,
               (unsigned)((n-1) * sizeof(XPointer)));
        *newArray = p;
@@ -183,8 +183,7 @@ _XcmsInitDefaultCCCs(
      * Create an array of XcmsCCC structures, one for each screen.
      * They serve as the screen's default CCC.
      */
-    if (!(ccc = (XcmsCCC)
-           Xcalloc((unsigned)nScrn, (unsigned) sizeof(XcmsCCCRec)))) {
+    if (!(ccc = Xcalloc((unsigned)nScrn, sizeof(XcmsCCCRec)))) {
        return(0);
     }
     dpy->cms.defaultCCCs = (XPointer)ccc;
@@ -322,8 +321,8 @@ _XcmsInitScrnInfo(
         * for the latter (see XcmsCreateCCC).  The ones created
         * here are referenced by the default CCC.
         */
-       if (!(defaultccc->pPerScrnInfo = (XcmsPerScrnInfo *)
-               Xcalloc(1, (unsigned) sizeof(XcmsPerScrnInfo)))) {
+       if (!(defaultccc->pPerScrnInfo =
+               Xcalloc(1, sizeof(XcmsPerScrnInfo)))) {
            return(0);
        }
        defaultccc->pPerScrnInfo->state = XcmsInitNone;
index 70b0675..487eb3f 100644 (file)
@@ -35,6 +35,10 @@ in this Software without prior written authorization from The Open Group.
 #include "Xlibint.h"
 #include "Xcmsint.h"
 
+#ifdef DEBUG
+#include <stdio.h>
+#endif
+
 #include <float.h>
 #ifndef DBL_EPSILON
 #define DBL_EPSILON 1e-6
index 5a01a56..fc65d9b 100644 (file)
@@ -71,7 +71,11 @@ _XcmsModuloF(
 #define XCMS_SIXTHPI           0.523598775598298820
 #define XCMS_RADIANS(d)                ((d) * XCMS_PI / 180.0)
 #define XCMS_DEGREES(r)                ((r) * 180.0 / XCMS_PI)
+#ifdef __vax__
+#define XCMS_X6_UNDERFLOWS     (3.784659e-07)  /* X**6 almost underflows*/
+#else
 #define XCMS_X6_UNDERFLOWS     (4.209340e-52)  /* X**6 almost underflows */
+#endif
 #define XCMS_X16_UNDERFLOWS    (5.421010e-20)  /* X**16 almost underflows*/
 #define XCMS_CHAR_BIT          8
 #define XCMS_LONG_MAX          0x7FFFFFFF
@@ -80,12 +84,8 @@ _XcmsModuloF(
 #define XCMS_FABS(x)           ((x) < 0.0 ? -(x) : (x))
 
 /* XCMS_DMAXPOWTWO - largest power of two exactly representable as a double */
-#ifdef _CRAY
-#define XCMS_DMAXPOWTWO        ((double)(1 < 47))
-#else
 #define XCMS_DMAXPOWTWO        ((double)(XCMS_LONG_MAX) * \
            (1L << ((XCMS_NBITS(double)-XCMS_DEXPLEN) - XCMS_NBITS(int) + 1)))
-#endif
 
 /*
  *     LOCAL VARIABLES
diff --git a/src/xkb/Makefile.in b/src/xkb/Makefile.in
deleted file mode 100644 (file)
index 524ee80..0000000
+++ /dev/null
@@ -1,623 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = src/xkb
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-LTLIBRARIES = $(noinst_LTLIBRARIES)
-libxkb_la_LIBADD =
-am_libxkb_la_OBJECTS = XKB.lo XKBBind.lo XKBCompat.lo XKBCtrls.lo \
-       XKBCvt.lo XKBGetMap.lo XKBGetByName.lo XKBNames.lo XKBRdBuf.lo \
-       XKBSetMap.lo XKBUse.lo XKBleds.lo XKBBell.lo XKBGeom.lo \
-       XKBSetGeom.lo XKBExtDev.lo XKBList.lo XKBMisc.lo XKBMAlloc.lo \
-       XKBGAlloc.lo XKBAlloc.lo
-libxkb_la_OBJECTS = $(am_libxkb_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libxkb_la_SOURCES)
-DIST_SOURCES = $(libxkb_la_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(XMALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-noinst_LTLIBRARIES = libxkb.la
-libxkb_la_SOURCES = \
-       XKB.c \
-       XKBBind.c \
-       XKBCompat.c \
-       XKBCtrls.c \
-       XKBCvt.c \
-       XKBGetMap.c \
-       XKBGetByName.c \
-       XKBNames.c \
-       XKBRdBuf.c \
-       XKBSetMap.c \
-       XKBUse.c \
-       XKBleds.c \
-       XKBBell.c \
-       XKBGeom.c \
-       XKBSetGeom.c \
-       XKBExtDev.c \
-       XKBList.c \
-       XKBMisc.c \
-       XKBMAlloc.c \
-       XKBGAlloc.c \
-       XKBAlloc.c \
-       XKBlibint.h
-
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
-
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/xkb/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign src/xkb/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libxkb.la: $(libxkb_la_OBJECTS) $(libxkb_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK)  $(libxkb_la_OBJECTS) $(libxkb_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKB.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBAlloc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBBell.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBBind.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBCompat.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBCtrls.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBCvt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBExtDev.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBGAlloc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBGeom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBGetByName.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBGetMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBList.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBMAlloc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBMisc.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBNames.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBRdBuf.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBSetGeom.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBSetMap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBUse.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XKBleds.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
-       mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-noinstLTLIBRARIES ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
-       pdf pdf-am ps ps-am tags uninstall uninstall-am
-
-
-@LINT_TRUE@lint:
-@LINT_TRUE@    $(LINT) $(ALL_LINT_FLAGS) $(libxkb_la_SOURCES) -lm
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index f926cb9..8a97959 100644 (file)
@@ -32,45 +32,47 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/extensions/XKBproto.h>
 #include "XKBlibint.h"
 
-XkbInternAtomFunc      _XkbInternAtomFunc= XInternAtom;
-XkbGetAtomNameFunc     _XkbGetAtomNameFunc= XGetAtomName;
+XkbInternAtomFunc       _XkbInternAtomFunc  = XInternAtom;
+XkbGetAtomNameFunc      _XkbGetAtomNameFunc = XGetAtomName;
 
 Bool
-XkbQueryExtension(     Display *dpy,
-                       int *   opcodeReturn,
-                       int *   eventBaseReturn,
-                       int *   errorBaseReturn,
-                       int *   majorReturn,
-                       int *   minorReturn)
+XkbQueryExtension(Display *dpy,
+                  int *opcodeReturn,
+                  int *eventBaseReturn,
+                  int *errorBaseReturn,
+                  int *majorReturn,
+                  int *minorReturn)
 {
-    if (!XkbUseExtension(dpy,majorReturn,minorReturn))
-       return False;
+    if (!XkbUseExtension(dpy, majorReturn, minorReturn))
+        return False;
     if (opcodeReturn)
-       *opcodeReturn = dpy->xkb_info->codes->major_opcode;
+        *opcodeReturn = dpy->xkb_info->codes->major_opcode;
     if (eventBaseReturn)
-       *eventBaseReturn = dpy->xkb_info->codes->first_event;
+        *eventBaseReturn = dpy->xkb_info->codes->first_event;
     if (errorBaseReturn)
-       *errorBaseReturn = dpy->xkb_info->codes->first_error;
+        *errorBaseReturn = dpy->xkb_info->codes->first_error;
     if (majorReturn)
-       *majorReturn = dpy->xkb_info->srv_major;
+        *majorReturn = dpy->xkb_info->srv_major;
     if (minorReturn)
-       *minorReturn = dpy->xkb_info->srv_minor;
+        *minorReturn = dpy->xkb_info->srv_minor;
     return True;
 }
 
 Bool
-XkbLibraryVersion(int *libMajorRtrn,int *libMinorRtrn)
+XkbLibraryVersion(int *libMajorRtrn, int *libMinorRtrn)
 {
-int supported;
+    int supported;
 
     if (*libMajorRtrn != XkbMajorVersion) {
-       /* version 0.65 is (almost) compatible with 1.00 */
-       if ((XkbMajorVersion==1)&&(((*libMajorRtrn)==0)&&((*libMinorRtrn)==65)))
-            supported= True;
-       else supported= False;
+        /* version 0.65 is (almost) compatible with 1.00 */
+        if ((XkbMajorVersion == 1) &&
+            (((*libMajorRtrn) == 0) && ((*libMinorRtrn) == 65)))
+            supported = True;
+        else
+            supported = False;
     }
     else {
-       supported = True;
+        supported = True;
     }
 
     *libMajorRtrn = XkbMajorVersion;
@@ -79,49 +81,52 @@ int supported;
 }
 
 Bool
-XkbSelectEvents(       Display *       dpy,
-                       unsigned int    deviceSpec,
-                       unsigned int    affect,
-                       unsigned int    selectAll)
+XkbSelectEvents(Display *dpy,
+                unsigned int deviceSpec,
+                unsigned int affect,
+                unsigned int selectAll)
 {
     register xkbSelectEventsReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
-    xkbi->selected_events&= ~affect;
-    xkbi->selected_events|= (affect&selectAll);
+    xkbi->selected_events &= ~affect;
+    xkbi->selected_events |= (affect & selectAll);
     GetReq(kbSelectEvents, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbSelectEvents;
     req->deviceSpec = deviceSpec;
-    req->affectWhich = (CARD16)affect;
-    req->clear = affect&(~selectAll);
-    req->selectAll = affect&selectAll;
-    if (affect&XkbMapNotifyMask) {
-       req->affectMap= XkbAllMapComponentsMask;
-       /* the implicit support needs the client info */
-       /* even if the client itself doesn't want it */
-       if (selectAll&XkbMapNotifyMask)
-            req->map= XkbAllMapEventsMask;
-       else req->map= XkbAllClientInfoMask;
-       if (selectAll&XkbMapNotifyMask)
-            xkbi->selected_map_details= XkbAllMapEventsMask;
-       else xkbi->selected_map_details= 0;
+    req->affectWhich = (CARD16) affect;
+    req->clear = affect & (~selectAll);
+    req->selectAll = affect & selectAll;
+    if (affect & XkbMapNotifyMask) {
+        req->affectMap = XkbAllMapComponentsMask;
+        /* the implicit support needs the client info */
+        /* even if the client itself doesn't want it */
+        if (selectAll & XkbMapNotifyMask)
+            req->map = XkbAllMapEventsMask;
+        else
+            req->map = XkbAllClientInfoMask;
+        if (selectAll & XkbMapNotifyMask)
+            xkbi->selected_map_details = XkbAllMapEventsMask;
+        else
+            xkbi->selected_map_details = 0;
     }
-    if (affect&XkbNewKeyboardNotifyMask) {
-       if (selectAll&XkbNewKeyboardNotifyMask)
-            xkbi->selected_nkn_details= XkbAllNewKeyboardEventsMask;
-       else xkbi->selected_nkn_details= 0;
-       if (!(xkbi->xlib_ctrls&XkbLC_IgnoreNewKeyboards)) {
-           /* we want it, even if the client doesn't.  Don't mess */
-           /* around with details -- ask for all of them and throw */
-           /* away the ones we don't need */
-           req->selectAll|= XkbNewKeyboardNotifyMask;
-       }
+    if (affect & XkbNewKeyboardNotifyMask) {
+        if (selectAll & XkbNewKeyboardNotifyMask)
+            xkbi->selected_nkn_details = XkbAllNewKeyboardEventsMask;
+        else
+            xkbi->selected_nkn_details = 0;
+        if (!(xkbi->xlib_ctrls & XkbLC_IgnoreNewKeyboards)) {
+            /* we want it, even if the client doesn't.  Don't mess */
+            /* around with details -- ask for all of them and throw */
+            /* away the ones we don't need */
+            req->selectAll |= XkbNewKeyboardNotifyMask;
+        }
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -129,91 +134,94 @@ XkbSelectEvents(  Display *       dpy,
 }
 
 Bool
-XkbSelectEventDetails( Display *               dpy,
-                       unsigned                deviceSpec,
-                       unsigned                eventType,
-                       unsigned long int       affect,
-                       unsigned long int       details)
+XkbSelectEventDetails(Display *dpy,
+                      unsigned deviceSpec,
+                      unsigned eventType,
+                      unsigned long int affect,
+                      unsigned long int details)
 {
     register xkbSelectEventsReq *req;
-    XkbInfoPtr xkbi;
-    int             size = 0;
-    char     *out;
+    XkbInfoPtr  xkbi;
+    int         size = 0;
+    char        *out;
     union {
-       CARD8   *c8;
-       CARD16  *c16;
-       CARD32  *c32;
+        CARD8   *c8;
+        CARD16  *c16;
+        CARD32  *c32;
     } u;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
-    if (affect&details)        xkbi->selected_events|= (1<<eventType);
-    else               xkbi->selected_events&= ~(1<<eventType);
+    if (affect & details)
+        xkbi->selected_events |= (1 << eventType);
+    else
+        xkbi->selected_events &= ~(1 << eventType);
     GetReq(kbSelectEvents, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbSelectEvents;
     req->deviceSpec = deviceSpec;
-    req->clear= req->selectAll= 0;
-    if (eventType==XkbMapNotify) {
-       /* we need all of the client info, even if the application */
-       /* doesn't.   Make sure that we always request the stuff */
-       /* that the implicit support needs, and just filter out anything */
-       /* the client doesn't want later */
-       req->affectWhich = 0;
-       req->selectAll = 0;
-       req->clear = 0;
-       req->affectMap = (CARD16)affect;
-       req->map = (CARD16)details|(XkbAllClientInfoMask&affect);
-       req->affectWhich = XkbMapNotifyMask;
-       xkbi->selected_map_details&= ~affect;
-       xkbi->selected_map_details|=  (details&affect);
+    req->clear = req->selectAll = 0;
+    if (eventType == XkbMapNotify) {
+        /* we need all of the client info, even if the application */
+        /* doesn't.   Make sure that we always request the stuff */
+        /* that the implicit support needs, and just filter out anything */
+        /* the client doesn't want later */
+        req->affectWhich = 0;
+        req->selectAll = 0;
+        req->clear = 0;
+        req->affectMap = (CARD16) affect;
+        req->map = (CARD16) details | (XkbAllClientInfoMask & affect);
+        req->affectWhich = XkbMapNotifyMask;
+        xkbi->selected_map_details &= ~affect;
+        xkbi->selected_map_details |= (details & affect);
     }
     else {
-       req->affectMap = req->map = 0;
-       req->affectWhich= (1<<eventType);
-       switch (eventType) {
-           case XkbNewKeyboardNotify:
-               xkbi->selected_nkn_details&= ~affect;
-               xkbi->selected_nkn_details|= (details&affect);
-               if (!(xkbi->xlib_ctrls&XkbLC_IgnoreNewKeyboards))
-                   details= (affect&XkbAllNewKeyboardEventsMask);
-           case XkbStateNotify:
-           case XkbNamesNotify:
-           case XkbAccessXNotify:
-           case XkbExtensionDeviceNotify:
-               size= 2;
-               req->length+= 1;
-               break;
-           case XkbControlsNotify:
-           case XkbIndicatorStateNotify:
-           case XkbIndicatorMapNotify:
-               size= 4;
-               req->length+= 2;
-               break;
-           case XkbBellNotify:
-           case XkbActionMessage:
-           case XkbCompatMapNotify:
-               size= 1;
-               req->length+= 1;
-               break;
-       }
-       BufAlloc(char *,out,(((size*2)+(unsigned)3)/4)*4);
-       u.c8= (CARD8 *)out;
-       if (size==2) {
-           u.c16[0]= (CARD16)affect;
-           u.c16[1]= (CARD16)details;
-       }
-       else if (size==4) {
-           u.c32[0]= (CARD32)affect;
-           u.c32[1]= (CARD32)details;
-       }
-       else {
-           u.c8[0]= (CARD8)affect;
-           u.c8[1]= (CARD8)details;
-       }
+        req->affectMap = req->map = 0;
+        req->affectWhich = (1 << eventType);
+        switch (eventType) {
+        case XkbNewKeyboardNotify:
+            xkbi->selected_nkn_details &= ~affect;
+            xkbi->selected_nkn_details |= (details & affect);
+            if (!(xkbi->xlib_ctrls & XkbLC_IgnoreNewKeyboards))
+                details = (affect & XkbAllNewKeyboardEventsMask);
+        case XkbStateNotify:
+        case XkbNamesNotify:
+        case XkbAccessXNotify:
+        case XkbExtensionDeviceNotify:
+            size = 2;
+            req->length += 1;
+            break;
+        case XkbControlsNotify:
+        case XkbIndicatorStateNotify:
+        case XkbIndicatorMapNotify:
+            size = 4;
+            req->length += 2;
+            break;
+        case XkbBellNotify:
+        case XkbActionMessage:
+        case XkbCompatMapNotify:
+            size = 1;
+            req->length += 1;
+            break;
+        }
+        BufAlloc(char *, out, (((size * 2) + (unsigned) 3) / 4) * 4);
+
+        u.c8 = (CARD8 *) out;
+        if (size == 2) {
+            u.c16[0] = (CARD16) affect;
+            u.c16[1] = (CARD16) details;
+        }
+        else if (size == 4) {
+            u.c32[0] = (CARD32) affect;
+            u.c32[1] = (CARD32) details;
+        }
+        else {
+            u.c8[0] = (CARD8) affect;
+            u.c8[1] = (CARD8) details;
+        }
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -221,24 +229,24 @@ XkbSelectEventDetails(    Display *               dpy,
 }
 
 Bool
-XkbLockModifiers(      Display *       dpy,
-                       unsigned int    deviceSpec,
-                       unsigned int    affect,
-                       unsigned int    values)
+XkbLockModifiers(Display *dpy,
+                 unsigned int deviceSpec,
+                 unsigned int affect,
+                 unsigned int values)
 {
     register xkbLatchLockStateReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbLatchLockState, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbLatchLockState;
     req->deviceSpec = deviceSpec;
-    req->affectModLocks= affect;
+    req->affectModLocks = affect;
     req->modLocks = values;
     req->lockGroup = False;
     req->groupLock = 0;
@@ -252,17 +260,17 @@ XkbLockModifiers( Display *       dpy,
 }
 
 Bool
-XkbLatchModifiers(     Display *       dpy,
-                       unsigned int    deviceSpec,
-                       unsigned int    affect,
-                       unsigned int    values)
+XkbLatchModifiers(Display *dpy,
+                  unsigned int deviceSpec,
+                  unsigned int affect,
+                  unsigned int values)
 {
     register xkbLatchLockStateReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbLatchLockState, req);
@@ -270,7 +278,7 @@ XkbLatchModifiers(  Display *       dpy,
     req->xkbReqType = X_kbLatchLockState;
     req->deviceSpec = deviceSpec;
 
-    req->affectModLatches= affect;
+    req->affectModLatches = affect;
     req->modLatches = values;
     req->latchGroup = False;
     req->groupLatch = 0;
@@ -285,21 +293,21 @@ XkbLatchModifiers(        Display *       dpy,
 }
 
 Bool
-XkbLockGroup(Display *dpy,unsigned int deviceSpec,unsigned int group)
+XkbLockGroup(Display *dpy, unsigned int deviceSpec, unsigned int group)
 {
     register xkbLatchLockStateReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbLatchLockState, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbLatchLockState;
     req->deviceSpec = deviceSpec;
-    req->affectModLocks= 0;
+    req->affectModLocks = 0;
     req->modLocks = 0;
     req->lockGroup = True;
     req->groupLock = group;
@@ -313,14 +321,14 @@ XkbLockGroup(Display *dpy,unsigned int deviceSpec,unsigned int group)
 }
 
 Bool
-XkbLatchGroup(Display *dpy,unsigned int deviceSpec,unsigned int group)
+XkbLatchGroup(Display *dpy, unsigned int deviceSpec, unsigned int group)
 {
     register xkbLatchLockStateReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbLatchLockState, req);
@@ -328,7 +336,7 @@ XkbLatchGroup(Display *dpy,unsigned int deviceSpec,unsigned int group)
     req->xkbReqType = X_kbLatchLockState;
     req->deviceSpec = deviceSpec;
 
-    req->affectModLatches= 0;
+    req->affectModLatches = 0;
     req->modLatches = 0;
     req->latchGroup = True;
     req->groupLatch = group;
@@ -343,15 +351,15 @@ XkbLatchGroup(Display *dpy,unsigned int deviceSpec,unsigned int group)
 }
 
 unsigned
-XkbSetXlibControls(Display *dpy,unsigned affect,unsigned values)
+XkbSetXlibControls(Display *dpy, unsigned affect, unsigned values)
 {
     if (!dpy->xkb_info)
-       XkbUseExtension(dpy,NULL,NULL);
+        XkbUseExtension(dpy, NULL, NULL);
     if (!dpy->xkb_info)
-       return 0;
-    affect&= XkbLC_AllControls;
-    dpy->xkb_info->xlib_ctrls&= ~affect;
-    dpy->xkb_info->xlib_ctrls|= (affect&values);
+        return 0;
+    affect &= XkbLC_AllControls;
+    dpy->xkb_info->xlib_ctrls &= ~affect;
+    dpy->xkb_info->xlib_ctrls |= (affect & values);
     return dpy->xkb_info->xlib_ctrls;
 }
 
@@ -359,9 +367,9 @@ unsigned
 XkbGetXlibControls(Display *dpy)
 {
     if (!dpy->xkb_info)
-       XkbUseExtension(dpy,NULL,NULL);
+        XkbUseExtension(dpy, NULL, NULL);
     if (!dpy->xkb_info)
-       return 0;
+        return 0;
     return dpy->xkb_info->xlib_ctrls;
 }
 
@@ -371,155 +379,157 @@ XkbXlibControlsImplemented(void)
 #ifdef __sgi
     return XkbLC_AllControls;
 #else
-    return XkbLC_AllControls&~XkbLC_AllComposeControls;
+    return XkbLC_AllControls & ~XkbLC_AllComposeControls;
 #endif
 }
 
 Bool
-XkbSetDebuggingFlags(  Display *       dpy,
-                       unsigned int    mask,
-                       unsigned int    flags,
-                       char *          msg,
-                       unsigned int    ctrls_mask,
-                       unsigned int    ctrls,
-                       unsigned int *  rtrn_flags,
-                       unsigned int *  rtrn_ctrls)
+XkbSetDebuggingFlags(Display *dpy,
+                     unsigned int mask,
+                     unsigned int flags,
+                     char *msg,
+                     unsigned int ctrls_mask,
+                     unsigned int ctrls,
+                     unsigned int *rtrn_flags,
+                     unsigned int *rtrn_ctrls)
 {
     register xkbSetDebuggingFlagsReq *req;
     xkbSetDebuggingFlagsReply rep;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetDebuggingFlags, req);
-    req->reqType=      xkbi->codes->major_opcode;
-    req->xkbReqType=   X_kbSetDebuggingFlags;
-    req->affectFlags mask;
-    req->flags=        flags;
-    req->affectCtrls ctrls_mask;
-    req->ctrls=        ctrls;
+    req->reqType        = xkbi->codes->major_opcode;
+    req->xkbReqType     = X_kbSetDebuggingFlags;
+    req->affectFlags    = mask;
+    req->flags          = flags;
+    req->affectCtrls    = ctrls_mask;
+    req->ctrls          = ctrls;
 
     if (msg) {
-       char *out;
-       req->msgLength= (unsigned short)strlen(msg)+1;
-       req->length+= (req->msgLength+(unsigned)3)>>2;
-       BufAlloc(char *,out,((req->msgLength+(unsigned)3)/4)*4);
-       memcpy(out,msg,req->msgLength);
+        char *out;
+
+        req->msgLength = (unsigned short) strlen(msg) + 1;
+        req->length += (req->msgLength + (unsigned) 3) >> 2;
+        BufAlloc(char *, out, ((req->msgLength + (unsigned) 3) / 4) * 4);
+        memcpy(out, msg, req->msgLength);
     }
-    else req->msgLength= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    else
+        req->msgLength = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     if (rtrn_flags)
-       *rtrn_flags= rep.currentFlags;
+        *rtrn_flags = rep.currentFlags;
     if (rtrn_ctrls)
-       *rtrn_ctrls= rep.currentCtrls;
+        *rtrn_ctrls = rep.currentCtrls;
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
 
 Bool
-XkbComputeEffectiveMap(        XkbDescPtr      xkb,
-                       XkbKeyTypePtr   type,
-                       unsigned char * map_rtrn)
+XkbComputeEffectiveMap(XkbDescPtr xkb,
+                       XkbKeyTypePtr type,
+                       unsigned char *map_rtrn)
 {
-register int           i;
-unsigned               tmp;
-XkbKTMapEntryPtr       entry = NULL;
-
-    if ((!xkb)||(!type)||(!xkb->server))
-       return False;
-
-    if (type->mods.vmods!=0) {
-       if (!XkbVirtualModsToReal(xkb,type->mods.vmods,&tmp))
-           return False;
-
-       type->mods.mask= tmp|type->mods.real_mods;
-       entry= type->map;
-       for (i=0;i<type->map_count;i++,entry++) {
-           tmp= 0;
-           if (entry->mods.vmods!=0) {
-               if (!XkbVirtualModsToReal(xkb,entry->mods.vmods,&tmp))
-                   return False;
-               if (tmp==0) {
-                   entry->active= False;
-                   continue;
-               }
-           }
-           entry->active= True;
-           entry->mods.mask= (entry->mods.real_mods|tmp)&type->mods.mask;
-       }
+    register int i;
+    unsigned tmp;
+    XkbKTMapEntryPtr entry = NULL;
+
+    if ((!xkb) || (!type) || (!xkb->server))
+        return False;
+
+    if (type->mods.vmods != 0) {
+        if (!XkbVirtualModsToReal(xkb, type->mods.vmods, &tmp))
+            return False;
+
+        type->mods.mask = tmp | type->mods.real_mods;
+        entry = type->map;
+        for (i = 0; i < type->map_count; i++, entry++) {
+            tmp = 0;
+            if (entry->mods.vmods != 0) {
+                if (!XkbVirtualModsToReal(xkb, entry->mods.vmods, &tmp))
+                    return False;
+                if (tmp == 0) {
+                    entry->active = False;
+                    continue;
+                }
+            }
+            entry->active = True;
+            entry->mods.mask = (entry->mods.real_mods | tmp) & type->mods.mask;
+        }
     }
     else {
-       type->mods.mask= type->mods.real_mods;
+        type->mods.mask = type->mods.real_mods;
     }
-    if (map_rtrn!=NULL) {
-       bzero(map_rtrn,type->mods.mask+1);
-       for (i=0;i<type->map_count;i++) {
-           if (entry && entry->active) {
-               map_rtrn[type->map[i].mods.mask]= type->map[i].level;
-           }
-       }
+    if (map_rtrn != NULL) {
+        bzero(map_rtrn, type->mods.mask + 1);
+        for (i = 0; i < type->map_count; i++) {
+            if (entry && entry->active) {
+                map_rtrn[type->map[i].mods.mask] = type->map[i].level;
+            }
+        }
     }
     return True;
 }
 
 Status
-XkbGetState(Display *dpy,unsigned deviceSpec,XkbStatePtr rtrn)
+XkbGetState(Display *dpy, unsigned deviceSpec, XkbStatePtr rtrn)
 {
-    register xkbGetStateReq    *req;
+    register xkbGetStateReq *req;
     xkbGetStateReply rep;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetState, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetState;
     req->deviceSpec = deviceSpec;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadImplementation;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadImplementation;
     }
-    rtrn->mods=                rep.mods;
-    rtrn->base_mods=           rep.baseMods;
-    rtrn->latched_mods=        rep.latchedMods;
-    rtrn->locked_mods=                 rep.lockedMods;
-    rtrn->group=               rep.group;
-    rtrn->base_group=          rep.baseGroup;
-    rtrn->latched_group=       rep.latchedGroup;
-    rtrn->locked_group=        rep.lockedGroup;
-    rtrn->compat_state=        rep.compatState;
-    rtrn->grab_mods=           rep.grabMods;
-    rtrn->compat_grab_mods=    rep.compatGrabMods;
-    rtrn->lookup_mods=         rep.lookupMods;
-    rtrn->compat_lookup_mods rep.compatLookupMods;
-    rtrn->ptr_buttons=         rep.ptrBtnState;
+    rtrn->mods                  = rep.mods;
+    rtrn->base_mods             = rep.baseMods;
+    rtrn->latched_mods          = rep.latchedMods;
+    rtrn->locked_mods           = rep.lockedMods;
+    rtrn->group                 = rep.group;
+    rtrn->base_group            = rep.baseGroup;
+    rtrn->latched_group         = rep.latchedGroup;
+    rtrn->locked_group          = rep.lockedGroup;
+    rtrn->compat_state          = rep.compatState;
+    rtrn->grab_mods             = rep.grabMods;
+    rtrn->compat_grab_mods      = rep.compatGrabMods;
+    rtrn->lookup_mods           = rep.lookupMods;
+    rtrn->compat_lookup_mods    = rep.compatLookupMods;
+    rtrn->ptr_buttons           = rep.ptrBtnState;
     UnlockDisplay(dpy);
     SyncHandle();
     return Success;
 }
 
 Bool
-XkbSetDetectableAutoRepeat(Display *dpy,Bool detectable,Bool *supported)
+XkbSetDetectableAutoRepeat(Display *dpy, Bool detectable, Bool *supported)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -528,31 +538,32 @@ XkbInfoPtr                        xkbi;
     req->deviceSpec = XkbUseCoreKbd;
     req->change = XkbPCF_DetectableAutoRepeatMask;
     if (detectable)
-        req->value = XkbPCF_DetectableAutoRepeatMask;
-    else req->value = 0;
-    req->ctrlsToChange = req->autoCtrls= req->autoCtrlValues= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+        req->value = XkbPCF_DetectableAutoRepeatMask;
+    else
+        req->value = 0;
+    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
-    if (supported!=NULL)
-       *supported= ((rep.supported&XkbPCF_DetectableAutoRepeatMask)!=0);
-    return ((rep.value&XkbPCF_DetectableAutoRepeatMask)!=0);
+    if (supported != NULL)
+        *supported = ((rep.supported & XkbPCF_DetectableAutoRepeatMask) != 0);
+    return ((rep.value & XkbPCF_DetectableAutoRepeatMask) != 0);
 }
 
 Bool
-XkbGetDetectableAutoRepeat(Display *dpy,Bool *supported)
+XkbGetDetectableAutoRepeat(Display *dpy, Bool *supported)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -561,32 +572,32 @@ XkbInfoPtr                        xkbi;
     req->deviceSpec = XkbUseCoreKbd;
     req->change = 0;
     req->value = 0;
-    req->ctrlsToChange = req->autoCtrls= req->autoCtrlValues= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
-    if (supported!=NULL)
-       *supported= ((rep.supported&XkbPCF_DetectableAutoRepeatMask)!=0);
-    return ((rep.value&XkbPCF_DetectableAutoRepeatMask)!=0);
+    if (supported != NULL)
+        *supported = ((rep.supported & XkbPCF_DetectableAutoRepeatMask) != 0);
+    return ((rep.value & XkbPCF_DetectableAutoRepeatMask) != 0);
 }
 
 Bool
-XkbSetAutoResetControls(       Display *       dpy,
-                               unsigned        changes,
-                               unsigned *      auto_ctrls,
-                               unsigned *      auto_values)
+XkbSetAutoResetControls(Display *dpy,
+                        unsigned changes,
+                        unsigned *auto_ctrls,
+                        unsigned *auto_values)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -595,33 +606,33 @@ XkbInfoPtr                        xkbi;
     req->change = XkbPCF_AutoResetControlsMask;
     req->deviceSpec = XkbUseCoreKbd;
     req->value = XkbPCF_AutoResetControlsMask;
-    req->ctrlsToChange= changes;
-    req->autoCtrls= *auto_ctrls;
-    req->autoCtrlValues= *auto_values;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->ctrlsToChange = changes;
+    req->autoCtrls = *auto_ctrls;
+    req->autoCtrlValues = *auto_values;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
-    *auto_ctrls= rep.autoCtrls;
-    *auto_values= rep.autoCtrlValues;
-    return ((rep.value&XkbPCF_AutoResetControlsMask)!=0);
+    *auto_ctrls = rep.autoCtrls;
+    *auto_values = rep.autoCtrlValues;
+    return ((rep.value & XkbPCF_AutoResetControlsMask) != 0);
 }
 
 Bool
-XkbGetAutoResetControls(       Display *       dpy,
-                               unsigned *      auto_ctrls,
-                               unsigned *      auto_ctrl_values)
+XkbGetAutoResetControls(Display *dpy,
+                        unsigned *auto_ctrls,
+                        unsigned *auto_ctrl_values)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -630,35 +641,35 @@ XkbInfoPtr                        xkbi;
     req->deviceSpec = XkbUseCoreKbd;
     req->change = 0;
     req->value = 0;
-    req->ctrlsToChange = req->autoCtrls= req->autoCtrlValues= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
     if (auto_ctrls)
-       *auto_ctrls= rep.autoCtrls;
+        *auto_ctrls = rep.autoCtrls;
     if (auto_ctrl_values)
-       *auto_ctrl_values= rep.autoCtrlValues;
-    return ((rep.value&XkbPCF_AutoResetControlsMask)!=0);
+        *auto_ctrl_values = rep.autoCtrlValues;
+    return ((rep.value & XkbPCF_AutoResetControlsMask) != 0);
 }
 
 Bool
-XkbSetPerClientControls(       Display *       dpy,
-                               unsigned        change,
-                               unsigned *      values)
+XkbSetPerClientControls(Display *dpy, unsigned change, unsigned *values)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
-unsigned                       value_hold = *values;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
+    unsigned value_hold = *values;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)) ||
-       (change & ~(XkbPCF_GrabsUseXKBStateMask|XkbPCF_LookupStateWhenGrabbed|XkbPCF_SendEventUsesXKBState)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)) ||
+        (change & ~(XkbPCF_GrabsUseXKBStateMask |
+                    XkbPCF_LookupStateWhenGrabbed |
+                    XkbPCF_SendEventUsesXKBState)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -667,30 +678,31 @@ unsigned                  value_hold = *values;
     req->change = change;
     req->deviceSpec = XkbUseCoreKbd;
     req->value = *values;
-    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
     *values = rep.value;
-    return ((rep.value&value_hold)!=0);
+    return ((rep.value & value_hold) != 0);
 }
 
 Bool
-XkbGetPerClientControls(       Display *       dpy,
-                               unsigned *      ctrls)
+XkbGetPerClientControls(Display *dpy, unsigned *ctrls)
 {
-register xkbPerClientFlagsReq *        req;
-xkbPerClientFlagsReply                 rep;
-XkbInfoPtr                     xkbi;
+    register xkbPerClientFlagsReq *req;
+    xkbPerClientFlagsReply rep;
+    XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)) ||
-       (*ctrls & ~(XkbPCF_GrabsUseXKBStateMask|XkbPCF_LookupStateWhenGrabbed|XkbPCF_SendEventUsesXKBState)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)) ||
+        (*ctrls & ~(XkbPCF_GrabsUseXKBStateMask |
+                    XkbPCF_LookupStateWhenGrabbed |
+                    XkbPCF_SendEventUsesXKBState)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbPerClientFlags, req);
@@ -699,69 +711,71 @@ XkbInfoPtr                        xkbi;
     req->deviceSpec = XkbUseCoreKbd;
     req->change = 0;
     req->value = 0;
-    req->ctrlsToChange = req->autoCtrls= req->autoCtrlValues= 0;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->ctrlsToChange = req->autoCtrls = req->autoCtrlValues = 0;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
     if (ctrls)
-       *ctrls= (rep.value & (XkbPCF_GrabsUseXKBStateMask |
-                XkbPCF_LookupStateWhenGrabbed |
-                XkbPCF_SendEventUsesXKBState));
+        *ctrls = (rep.value & (XkbPCF_GrabsUseXKBStateMask |
+                               XkbPCF_LookupStateWhenGrabbed |
+                               XkbPCF_SendEventUsesXKBState));
     return (True);
 }
 
 Display *
-XkbOpenDisplay(        char *  name,
-               int *   ev_rtrn,
-               int *   err_rtrn,
-               int *   major_rtrn,
-               int *   minor_rtrn,
-               int *   reason)
+XkbOpenDisplay(char *name,
+               int *ev_rtrn,
+               int *err_rtrn,
+               int *major_rtrn,
+               int *minor_rtrn,
+               int *reason)
 {
-    Displaydpy;
-    int         major_num,minor_num;
-
-    if ((major_rtrn!=NULL) && (minor_rtrn!=NULL)) {
-       if (!XkbLibraryVersion(major_rtrn,minor_rtrn)) {
-           if (reason!=NULL)
-               *reason= XkbOD_BadLibraryVersion;
-           return NULL;
-       }
+    Display *dpy;
+    int major_num, minor_num;
+
+    if ((major_rtrn != NULL) && (minor_rtrn != NULL)) {
+        if (!XkbLibraryVersion(major_rtrn, minor_rtrn)) {
+            if (reason != NULL)
+                *reason = XkbOD_BadLibraryVersion;
+            return NULL;
+        }
     }
     else {
-       major_num= XkbMajorVersion;
-       minor_num= XkbMinorVersion;
-       major_rtrn= &major_num;
-       minor_rtrn= &minor_num;
+        major_num = XkbMajorVersion;
+        minor_num = XkbMinorVersion;
+        major_rtrn = &major_num;
+        minor_rtrn = &minor_num;
     }
-    dpy= XOpenDisplay(name);
-    if (dpy==NULL) {
-       if (reason!=NULL)
-           *reason= XkbOD_ConnectionRefused;
-       return NULL;
+    dpy = XOpenDisplay(name);
+    if (dpy == NULL) {
+        if (reason != NULL)
+            *reason = XkbOD_ConnectionRefused;
+        return NULL;
     }
-    if (!XkbQueryExtension(dpy,NULL,ev_rtrn,err_rtrn,major_rtrn,minor_rtrn)) {
-       if (reason!=NULL) {
-           if ((*major_rtrn!=0)||(*minor_rtrn!=0))
-                *reason= XkbOD_BadServerVersion;
-           else *reason= XkbOD_NonXkbServer;
-       }
-       XCloseDisplay(dpy);
-       return NULL;
+    if (!XkbQueryExtension(dpy, NULL, ev_rtrn, err_rtrn,
+                           major_rtrn, minor_rtrn)) {
+        if (reason != NULL) {
+            if ((*major_rtrn != 0) || (*minor_rtrn != 0))
+                *reason = XkbOD_BadServerVersion;
+            else
+                *reason = XkbOD_NonXkbServer;
+        }
+        XCloseDisplay(dpy);
+        return NULL;
     }
-    if (reason!=NULL)
-       *reason= XkbOD_Success;
+    if (reason != NULL)
+        *reason = XkbOD_Success;
     return dpy;
 }
 
 void
-XkbSetAtomFuncs(XkbInternAtomFunc getAtom,XkbGetAtomNameFunc getName)
+XkbSetAtomFuncs(XkbInternAtomFunc getAtom, XkbGetAtomNameFunc getName)
 {
-    _XkbInternAtomFunc= (getAtom?getAtom:XInternAtom);
-    _XkbGetAtomNameFunc= (getName?getName:XGetAtomName);
+    _XkbInternAtomFunc = (getAtom ? getAtom : XInternAtom);
+    _XkbGetAtomNameFunc = (getName ? getName : XGetAtomName);
     return;
 }
index 05e9f73..5cfef0f 100644 (file)
@@ -24,13 +24,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ********************************************************/
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#elif defined(HAVE_CONFIG_H)
+#ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-#ifndef XKB_IN_SERVER
 
 #include <stdio.h>
 #include "Xlibint.h"
@@ -39,89 +36,78 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/extensions/XKBproto.h>
 #include "XKBlibint.h"
 
-#else
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/Xproto.h>
-#include "misc.h"
-#include "inputstr.h"
-#include <X11/extensions/XKBsrv.h>
-#include <X11/extensions/XKBgeom.h>
-
-#endif /* XKB_IN_SERVER */
 
 /***===================================================================***/
 
 /*ARGSUSED*/
 Status
-XkbAllocCompatMap(XkbDescPtr xkb,unsigned which,unsigned nSI)
+XkbAllocCompatMap(XkbDescPtr xkb, unsigned which, unsigned nSI)
 {
-XkbCompatMapPtr        compat;
-XkbSymInterpretRec *prev_interpret;
+    XkbCompatMapPtr compat;
+    XkbSymInterpretRec *prev_interpret;
 
     if (!xkb)
-       return BadMatch;
+        return BadMatch;
     if (xkb->compat) {
-       if (xkb->compat->size_si>=nSI)
-           return Success;
-       compat= xkb->compat;
-       compat->size_si= nSI;
-       if (compat->sym_interpret==NULL)
-           compat->num_si= 0;
-       prev_interpret = compat->sym_interpret;
-       compat->sym_interpret= _XkbTypedRealloc(compat->sym_interpret,
-                                                    nSI,XkbSymInterpretRec);
-       if (compat->sym_interpret==NULL) {
-           _XkbFree(prev_interpret);
-           compat->size_si= compat->num_si= 0;
-           return BadAlloc;
-       }
-       if (compat->num_si!=0) {
-           _XkbClearElems(compat->sym_interpret,compat->num_si,
-                                       compat->size_si-1,XkbSymInterpretRec);
-       }
-       return Success;
+        if (xkb->compat->size_si >= nSI)
+            return Success;
+        compat = xkb->compat;
+        compat->size_si = nSI;
+        if (compat->sym_interpret == NULL)
+            compat->num_si = 0;
+        prev_interpret = compat->sym_interpret;
+        compat->sym_interpret = _XkbTypedRealloc(compat->sym_interpret,
+                                                 nSI, XkbSymInterpretRec);
+        if (compat->sym_interpret == NULL) {
+            _XkbFree(prev_interpret);
+            compat->size_si = compat->num_si = 0;
+            return BadAlloc;
+        }
+        if (compat->num_si != 0) {
+            _XkbClearElems(compat->sym_interpret, compat->num_si,
+                           compat->size_si - 1, XkbSymInterpretRec);
+        }
+        return Success;
     }
-    compat= _XkbTypedCalloc(1,XkbCompatMapRec);
-    if (compat==NULL)
-       return BadAlloc;
-    if (nSI>0) {
-       compat->sym_interpret= _XkbTypedCalloc(nSI,XkbSymInterpretRec);
-       if (!compat->sym_interpret) {
-           _XkbFree(compat);
-           return BadAlloc;
-       }
+    compat = _XkbTypedCalloc(1, XkbCompatMapRec);
+    if (compat == NULL)
+        return BadAlloc;
+    if (nSI > 0) {
+        compat->sym_interpret = _XkbTypedCalloc(nSI, XkbSymInterpretRec);
+        if (!compat->sym_interpret) {
+            _XkbFree(compat);
+            return BadAlloc;
+        }
     }
-    compat->size_si= nSI;
-    compat->num_si= 0;
-    bzero((char *)&compat->groups[0],XkbNumKbdGroups*sizeof(XkbModsRec));
-    xkb->compat= compat;
+    compat->size_si = nSI;
+    compat->num_si = 0;
+    bzero((char *) &compat->groups[0], XkbNumKbdGroups * sizeof(XkbModsRec));
+    xkb->compat = compat;
     return Success;
 }
 
 
 void
-XkbFreeCompatMap(XkbDescPtr xkb,unsigned which,Bool freeMap)
+XkbFreeCompatMap(XkbDescPtr xkb, unsigned which, Bool freeMap)
 {
-register XkbCompatMapPtr compat;
+    register XkbCompatMapPtr compat;
 
-    if ((xkb==NULL)||(xkb->compat==NULL))
-       return;
-    compat= xkb->compat;
+    if ((xkb == NULL) || (xkb->compat == NULL))
+        return;
+    compat = xkb->compat;
     if (freeMap)
-       which= XkbAllCompatMask;
-    if (which&XkbGroupCompatMask)
-       bzero((char *)&compat->groups[0],XkbNumKbdGroups*sizeof(XkbModsRec));
-    if (which&XkbSymInterpMask) {
-       if ((compat->sym_interpret)&&(compat->size_si>0))
-           _XkbFree(compat->sym_interpret);
-       compat->size_si= compat->num_si= 0;
-       compat->sym_interpret= NULL;
+        which = XkbAllCompatMask;
+    if (which & XkbGroupCompatMask)
+        bzero(&compat->groups[0], XkbNumKbdGroups * sizeof(XkbModsRec));
+    if (which & XkbSymInterpMask) {
+        if ((compat->sym_interpret) && (compat->size_si > 0))
+            _XkbFree(compat->sym_interpret);
+        compat->size_si = compat->num_si = 0;
+        compat->sym_interpret = NULL;
     }
     if (freeMap) {
-       _XkbFree(compat);
-       xkb->compat= NULL;
+        _XkbFree(compat);
+        xkb->compat = NULL;
     }
     return;
 }
@@ -129,127 +115,132 @@ register XkbCompatMapPtr compat;
 /***===================================================================***/
 
 Status
-XkbAllocNames(XkbDescPtr xkb,unsigned which,int nTotalRG,int nTotalAliases)
+XkbAllocNames(XkbDescPtr xkb, unsigned which, int nTotalRG, int nTotalAliases)
 {
-XkbNamesPtr    names;
-
-    if (xkb==NULL)
-       return BadMatch;
-    if (xkb->names==NULL) {
-       xkb->names = _XkbTypedCalloc(1,XkbNamesRec);
-       if (xkb->names==NULL)
-           return BadAlloc;
+    XkbNamesPtr names;
+
+    if (xkb == NULL)
+        return BadMatch;
+    if (xkb->names == NULL) {
+        xkb->names = _XkbTypedCalloc(1, XkbNamesRec);
+        if (xkb->names == NULL)
+            return BadAlloc;
     }
-    names= xkb->names;
-    if ((which&XkbKTLevelNamesMask)&&(xkb->map!=NULL)&&(xkb->map->types!=NULL)){
-       register int    i;
-       XkbKeyTypePtr   type;
-
-       type= xkb->map->types;
-       for (i=0;i<xkb->map->num_types;i++,type++) {
-           if (type->level_names==NULL) {
-               type->level_names= _XkbTypedCalloc(type->num_levels,Atom);
-               if (type->level_names==NULL)
-                   return BadAlloc;
-           }
-       }
+    names = xkb->names;
+    if ((which & XkbKTLevelNamesMask) && (xkb->map != NULL) &&
+        (xkb->map->types != NULL)) {
+        register int i;
+        XkbKeyTypePtr type = xkb->map->types;
+
+        for (i = 0; i < xkb->map->num_types; i++, type++) {
+            if (type->level_names == NULL) {
+                type->level_names = _XkbTypedCalloc(type->num_levels, Atom);
+                if (type->level_names == NULL)
+                    return BadAlloc;
+            }
+        }
     }
-    if ((which&XkbKeyNamesMask)&&(names->keys==NULL)) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadValue;
-       names->keys= _XkbTypedCalloc((xkb->max_key_code+1),XkbKeyNameRec);
-       if (names->keys==NULL)
-           return BadAlloc;
+    if ((which & XkbKeyNamesMask) && (names->keys == NULL)) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadValue;
+        names->keys = _XkbTypedCalloc((xkb->max_key_code + 1), XkbKeyNameRec);
+        if (names->keys == NULL)
+            return BadAlloc;
     }
-    if ((which&XkbKeyAliasesMask)&&(nTotalAliases>0)) {
-       if (names->key_aliases==NULL) {
-           names->key_aliases= _XkbTypedCalloc(nTotalAliases,XkbKeyAliasRec);
-       }
-       else if (nTotalAliases>names->num_key_aliases) {
-           XkbKeyAliasRec *prev_aliases = names->key_aliases;
-
-           names->key_aliases= _XkbTypedRealloc(names->key_aliases,
-                                               nTotalAliases,XkbKeyAliasRec);
-           if (names->key_aliases!=NULL) {
-               _XkbClearElems(names->key_aliases,names->num_key_aliases,
-                                               nTotalAliases-1,XkbKeyAliasRec);
-           } else {
-               _XkbFree(prev_aliases);
-           }
-       }
-       if (names->key_aliases==NULL) {
-           names->num_key_aliases= 0;
-           return BadAlloc;
-       }
-       names->num_key_aliases= nTotalAliases;
+    if ((which & XkbKeyAliasesMask) && (nTotalAliases > 0)) {
+        if (names->key_aliases == NULL) {
+            names->key_aliases = _XkbTypedCalloc(nTotalAliases, XkbKeyAliasRec);
+        }
+        else if (nTotalAliases > names->num_key_aliases) {
+            XkbKeyAliasRec *prev_aliases = names->key_aliases;
+
+            names->key_aliases = _XkbTypedRealloc(names->key_aliases,
+                                                  nTotalAliases,
+                                                  XkbKeyAliasRec);
+            if (names->key_aliases != NULL) {
+                _XkbClearElems(names->key_aliases, names->num_key_aliases,
+                               nTotalAliases - 1, XkbKeyAliasRec);
+            }
+            else {
+                _XkbFree(prev_aliases);
+            }
+        }
+        if (names->key_aliases == NULL) {
+            names->num_key_aliases = 0;
+            return BadAlloc;
+        }
+        names->num_key_aliases = nTotalAliases;
     }
-    if ((which&XkbRGNamesMask)&&(nTotalRG>0)) {
-       if (names->radio_groups==NULL) {
-           names->radio_groups= _XkbTypedCalloc(nTotalRG,Atom);
-       }
-       else if (nTotalRG>names->num_rg) {
-           Atom *prev_radio_groups = names->radio_groups;
-
-           names->radio_groups= _XkbTypedRealloc(names->radio_groups,nTotalRG,
-                                                                       Atom);
-           if (names->radio_groups!=NULL) {
-               _XkbClearElems(names->radio_groups,names->num_rg,nTotalRG-1,
-                                                                       Atom);
-           } else {
-               _XkbFree(prev_radio_groups);
-           }
-       }
-       if (names->radio_groups==NULL)
-           return BadAlloc;
-       names->num_rg= nTotalRG;
+    if ((which & XkbRGNamesMask) && (nTotalRG > 0)) {
+        if (names->radio_groups == NULL) {
+            names->radio_groups = _XkbTypedCalloc(nTotalRG, Atom);
+        }
+        else if (nTotalRG > names->num_rg) {
+            Atom *prev_radio_groups = names->radio_groups;
+
+            names->radio_groups =
+                _XkbTypedRealloc(names->radio_groups, nTotalRG, Atom);
+            if (names->radio_groups != NULL) {
+                _XkbClearElems(names->radio_groups, names->num_rg, nTotalRG - 1,
+                               Atom);
+            }
+            else {
+                _XkbFree(prev_radio_groups);
+            }
+        }
+        if (names->radio_groups == NULL)
+            return BadAlloc;
+        names->num_rg = nTotalRG;
     }
     return Success;
 }
 
 void
-XkbFreeNames(XkbDescPtr xkb,unsigned which,Bool freeMap)
+XkbFreeNames(XkbDescPtr xkb, unsigned which, Bool freeMap)
 {
-XkbNamesPtr    names;
+    XkbNamesPtr names;
 
-    if ((xkb==NULL)||(xkb->names==NULL))
-       return;
-    names= xkb->names;
+    if ((xkb == NULL) || (xkb->names == NULL))
+        return;
+    names = xkb->names;
     if (freeMap)
-       which= XkbAllNamesMask;
-    if (which&XkbKTLevelNamesMask) {
-       XkbClientMapPtr map= xkb->map;
-       if ((map!=NULL)&&(map->types!=NULL)) {
-           register int                i;
-           register XkbKeyTypePtr      type;
-           type= map->types;
-           for (i=0;i<map->num_types;i++,type++) {
-               if (type->level_names!=NULL) {
-                   _XkbFree(type->level_names);
-                   type->level_names= NULL;
-               }
-           }
-       }
+        which = XkbAllNamesMask;
+    if (which & XkbKTLevelNamesMask) {
+        XkbClientMapPtr map = xkb->map;
+
+        if ((map != NULL) && (map->types != NULL)) {
+            register int i;
+            register XkbKeyTypePtr type;
+
+            type = map->types;
+            for (i = 0; i < map->num_types; i++, type++) {
+                if (type->level_names != NULL) {
+                    _XkbFree(type->level_names);
+                    type->level_names = NULL;
+                }
+            }
+        }
     }
-    if ((which&XkbKeyNamesMask)&&(names->keys!=NULL)) {
-       _XkbFree(names->keys);
-       names->keys= NULL;
-       names->num_keys= 0;
+    if ((which & XkbKeyNamesMask) && (names->keys != NULL)) {
+        _XkbFree(names->keys);
+        names->keys = NULL;
+        names->num_keys = 0;
     }
-    if ((which&XkbKeyAliasesMask)&&(names->key_aliases)){
-       _XkbFree(names->key_aliases);
-       names->key_aliases=NULL;
-       names->num_key_aliases=0;
+    if ((which & XkbKeyAliasesMask) && (names->key_aliases)) {
+        _XkbFree(names->key_aliases);
+        names->key_aliases = NULL;
+        names->num_key_aliases = 0;
     }
-    if ((which&XkbRGNamesMask)&&(names->radio_groups)) {
-       _XkbFree(names->radio_groups);
-       names->radio_groups= NULL;
-       names->num_rg= 0;
+    if ((which & XkbRGNamesMask) && (names->radio_groups)) {
+        _XkbFree(names->radio_groups);
+        names->radio_groups = NULL;
+        names->num_rg = 0;
     }
     if (freeMap) {
-       _XkbFree(names);
-       xkb->names= NULL;
+        _XkbFree(names);
+        xkb->names = NULL;
     }
     return;
 }
@@ -258,26 +249,26 @@ XkbNamesPtr       names;
 
 /*ARGSUSED*/
 Status
-XkbAllocControls(XkbDescPtr xkb,unsigned which)
+XkbAllocControls(XkbDescPtr xkb, unsigned which)
 {
-    if (xkb==NULL)
-       return BadMatch;
+    if (xkb == NULL)
+        return BadMatch;
 
-    if (xkb->ctrls==NULL) {
-       xkb->ctrls= _XkbTypedCalloc(1,XkbControlsRec);
-       if (!xkb->ctrls)
-           return BadAlloc;
+    if (xkb->ctrls == NULL) {
+        xkb->ctrls = _XkbTypedCalloc(1, XkbControlsRec);
+        if (!xkb->ctrls)
+            return BadAlloc;
     }
     return Success;
 }
 
 /*ARGSUSED*/
 void
-XkbFreeControls(XkbDescPtr xkb,unsigned which,Bool freeMap)
+XkbFreeControls(XkbDescPtr xkb, unsigned which, Bool freeMap)
 {
-    if (freeMap && (xkb!=NULL) && (xkb->ctrls!=NULL)) {
-       _XkbFree(xkb->ctrls);
-       xkb->ctrls= NULL;
+    if (freeMap && (xkb != NULL) && (xkb->ctrls != NULL)) {
+        _XkbFree(xkb->ctrls);
+        xkb->ctrls = NULL;
     }
     return;
 }
@@ -287,12 +278,12 @@ XkbFreeControls(XkbDescPtr xkb,unsigned which,Bool freeMap)
 Status
 XkbAllocIndicatorMaps(XkbDescPtr xkb)
 {
-    if (xkb==NULL)
-       return BadMatch;
-    if (xkb->indicators==NULL) {
-       xkb->indicators= _XkbTypedCalloc(1,XkbIndicatorRec);
-       if (!xkb->indicators)
-           return BadAlloc;
+    if (xkb == NULL)
+        return BadMatch;
+    if (xkb->indicators == NULL) {
+        xkb->indicators = _XkbTypedCalloc(1, XkbIndicatorRec);
+        if (!xkb->indicators)
+            return BadAlloc;
     }
     return Success;
 }
@@ -300,199 +291,206 @@ XkbAllocIndicatorMaps(XkbDescPtr xkb)
 void
 XkbFreeIndicatorMaps(XkbDescPtr xkb)
 {
-    if ((xkb!=NULL)&&(xkb->indicators!=NULL)) {
-       _XkbFree(xkb->indicators);
-       xkb->indicators= NULL;
+    if ((xkb != NULL) && (xkb->indicators != NULL)) {
+        _XkbFree(xkb->indicators);
+        xkb->indicators = NULL;
     }
     return;
 }
 
 /***====================================================================***/
 
-XkbDescRec     *
+XkbDescRec *
 XkbAllocKeyboard(void)
 {
-XkbDescRec *xkb;
+    XkbDescRec *xkb;
 
-    xkb = _XkbTypedCalloc(1,XkbDescRec);
+    xkb = _XkbTypedCalloc(1, XkbDescRec);
     if (xkb)
-       xkb->device_spec= XkbUseCoreKbd;
+        xkb->device_spec = XkbUseCoreKbd;
     return xkb;
 }
 
 void
-XkbFreeKeyboard(XkbDescPtr xkb,unsigned which,Bool freeAll)
+XkbFreeKeyboard(XkbDescPtr xkb, unsigned which, Bool freeAll)
 {
-    if (xkb==NULL)
-       return;
+    if (xkb == NULL)
+        return;
     if (freeAll)
-       which= XkbAllComponentsMask;
-    if (which&XkbClientMapMask)
-       XkbFreeClientMap(xkb,XkbAllClientInfoMask,True);
-    if (which&XkbServerMapMask)
-       XkbFreeServerMap(xkb,XkbAllServerInfoMask,True);
-    if (which&XkbCompatMapMask)
-       XkbFreeCompatMap(xkb,XkbAllCompatMask,True);
-    if (which&XkbIndicatorMapMask)
-       XkbFreeIndicatorMaps(xkb);
-    if (which&XkbNamesMask)
-       XkbFreeNames(xkb,XkbAllNamesMask,True);
-    if ((which&XkbGeometryMask) && (xkb->geom!=NULL))
-       XkbFreeGeometry(xkb->geom,XkbGeomAllMask,True);
-    if (which&XkbControlsMask)
-       XkbFreeControls(xkb,XkbAllControlsMask,True);
+        which = XkbAllComponentsMask;
+    if (which & XkbClientMapMask)
+        XkbFreeClientMap(xkb, XkbAllClientInfoMask, True);
+    if (which & XkbServerMapMask)
+        XkbFreeServerMap(xkb, XkbAllServerInfoMask, True);
+    if (which & XkbCompatMapMask)
+        XkbFreeCompatMap(xkb, XkbAllCompatMask, True);
+    if (which & XkbIndicatorMapMask)
+        XkbFreeIndicatorMaps(xkb);
+    if (which & XkbNamesMask)
+        XkbFreeNames(xkb, XkbAllNamesMask, True);
+    if ((which & XkbGeometryMask) && (xkb->geom != NULL))
+        XkbFreeGeometry(xkb->geom, XkbGeomAllMask, True);
+    if (which & XkbControlsMask)
+        XkbFreeControls(xkb, XkbAllControlsMask, True);
     if (freeAll)
-       _XkbFree(xkb);
+        _XkbFree(xkb);
     return;
 }
 
 /***====================================================================***/
 
 XkbDeviceLedInfoPtr
-XkbAddDeviceLedInfo(XkbDeviceInfoPtr devi,unsigned ledClass,unsigned ledId)
+XkbAddDeviceLedInfo(XkbDeviceInfoPtr devi, unsigned ledClass, unsigned ledId)
 {
-XkbDeviceLedInfoPtr    devli;
-register int           i;
-
-    if ((!devi)||(!XkbSingleXIClass(ledClass))||(!XkbSingleXIId(ledId)))
-       return NULL;
-    for (i=0,devli=devi->leds;i<devi->num_leds;i++,devli++) {
-       if ((devli->led_class==ledClass)&&(devli->led_id==ledId))
-           return devli;
+    XkbDeviceLedInfoPtr devli;
+    register int i;
+
+    if ((!devi) || (!XkbSingleXIClass(ledClass)) || (!XkbSingleXIId(ledId)))
+        return NULL;
+    for (i = 0, devli = devi->leds; i < devi->num_leds; i++, devli++) {
+        if ((devli->led_class == ledClass) && (devli->led_id == ledId))
+            return devli;
     }
-    if (devi->num_leds>=devi->sz_leds) {
-       XkbDeviceLedInfoRec *prev_leds = devi->leds;
-
-       if (devi->sz_leds>0)    devi->sz_leds*= 2;
-       else                    devi->sz_leds= 1;
-       devi->leds= _XkbTypedRealloc(devi->leds,devi->sz_leds,
-                                                       XkbDeviceLedInfoRec);
-       if (!devi->leds) {
-           _XkbFree(prev_leds);
-           devi->sz_leds= devi->num_leds= 0;
-           return NULL;
-       }
-       i= devi->num_leds;
-       for (devli=&devi->leds[i];i<devi->sz_leds;i++,devli++) {
-           bzero(devli,sizeof(XkbDeviceLedInfoRec));
-           devli->led_class= XkbXINone;
-           devli->led_id= XkbXINone;
-       }
+    if (devi->num_leds >= devi->sz_leds) {
+        XkbDeviceLedInfoRec *prev_leds = devi->leds;
+
+        if (devi->sz_leds > 0)
+            devi->sz_leds *= 2;
+        else
+            devi->sz_leds = 1;
+        devi->leds = _XkbTypedRealloc(devi->leds, devi->sz_leds,
+                                      XkbDeviceLedInfoRec);
+        if (!devi->leds) {
+            _XkbFree(prev_leds);
+            devi->sz_leds = devi->num_leds = 0;
+            return NULL;
+        }
+        i = devi->num_leds;
+        for (devli = &devi->leds[i]; i < devi->sz_leds; i++, devli++) {
+            bzero(devli, sizeof(XkbDeviceLedInfoRec));
+            devli->led_class = XkbXINone;
+            devli->led_id = XkbXINone;
+        }
     }
-    devli= &devi->leds[devi->num_leds++];
-    bzero(devli,sizeof(XkbDeviceLedInfoRec));
-    devli->led_class= ledClass;
-    devli->led_id= ledId;
+    devli = &devi->leds[devi->num_leds++];
+    bzero(devli, sizeof(XkbDeviceLedInfoRec));
+    devli->led_class = ledClass;
+    devli->led_id = ledId;
     return devli;
 }
 
 Status
-XkbResizeDeviceButtonActions(XkbDeviceInfoPtr devi,unsigned newTotal)
+XkbResizeDeviceButtonActions(XkbDeviceInfoPtr devi, unsigned newTotal)
 {
     XkbAction *prev_btn_acts;
 
-    if ((!devi)||(newTotal>255))
-       return BadValue;
-    if ((devi->btn_acts!=NULL)&&(newTotal==devi->num_btns))
-       return Success;
-    if (newTotal==0) {
-       if (devi->btn_acts!=NULL) {
-           _XkbFree(devi->btn_acts);
-           devi->btn_acts= NULL;
-       }
-       devi->num_btns= 0;
-       return Success;
+    if ((!devi) || (newTotal > 255))
+        return BadValue;
+    if ((devi->btn_acts != NULL) && (newTotal == devi->num_btns))
+        return Success;
+    if (newTotal == 0) {
+        if (devi->btn_acts != NULL) {
+            _XkbFree(devi->btn_acts);
+            devi->btn_acts = NULL;
+        }
+        devi->num_btns = 0;
+        return Success;
     }
     prev_btn_acts = devi->btn_acts;
-    devi->btn_acts= _XkbTypedRealloc(devi->btn_acts,newTotal,XkbAction);
-    if (devi->btn_acts==NULL) {
-       _XkbFree(prev_btn_acts);
-       devi->num_btns= 0;
-       return BadAlloc;
+    devi->btn_acts = _XkbTypedRealloc(devi->btn_acts, newTotal, XkbAction);
+    if (devi->btn_acts == NULL) {
+        _XkbFree(prev_btn_acts);
+        devi->num_btns = 0;
+        return BadAlloc;
     }
-    if (newTotal>devi->num_btns) {
-       XkbAction *act;
-       act= &devi->btn_acts[devi->num_btns];
-       bzero((char *)act,(newTotal-devi->num_btns)*sizeof(XkbAction));
+    if (newTotal > devi->num_btns) {
+        XkbAction *act;
+
+        act = &devi->btn_acts[devi->num_btns];
+        bzero((char *) act, (newTotal - devi->num_btns) * sizeof(XkbAction));
     }
-    devi->num_btns= newTotal;
+    devi->num_btns = newTotal;
     return Success;
 }
 
 /*ARGSUSED*/
 XkbDeviceInfoPtr
-XkbAllocDeviceInfo(unsigned deviceSpec,unsigned nButtons,unsigned szLeds)
+XkbAllocDeviceInfo(unsigned deviceSpec, unsigned nButtons, unsigned szLeds)
 {
-XkbDeviceInfoPtr       devi;
-
-    devi= _XkbTypedCalloc(1,XkbDeviceInfoRec);
-    if (devi!=NULL) {
-       devi->device_spec= deviceSpec;
-       devi->has_own_state= False;
-       devi->num_btns= 0;
-       devi->btn_acts= NULL;
-       if (nButtons>0) {
-           devi->num_btns= nButtons;
-           devi->btn_acts= _XkbTypedCalloc(nButtons,XkbAction);
-           if (!devi->btn_acts) {
-               _XkbFree(devi);
-               return NULL;
-           }
-       }
-       devi->dflt_kbd_fb= XkbXINone;
-       devi->dflt_led_fb= XkbXINone;
-       devi->num_leds= 0;
-       devi->sz_leds= 0;
-       devi->leds= NULL;
-       if (szLeds>0) {
-           devi->sz_leds= szLeds;
-           devi->leds= _XkbTypedCalloc(szLeds,XkbDeviceLedInfoRec);
-           if (!devi->leds) {
-               if (devi->btn_acts)
-                   _XkbFree(devi->btn_acts);
-               _XkbFree(devi);
-               return NULL;
-           }
-       }
+    XkbDeviceInfoPtr devi;
+
+    devi = _XkbTypedCalloc(1, XkbDeviceInfoRec);
+    if (devi != NULL) {
+        devi->device_spec = deviceSpec;
+        devi->has_own_state = False;
+        devi->num_btns = 0;
+        devi->btn_acts = NULL;
+        if (nButtons > 0) {
+            devi->num_btns = nButtons;
+            devi->btn_acts = _XkbTypedCalloc(nButtons, XkbAction);
+            if (!devi->btn_acts) {
+                _XkbFree(devi);
+                return NULL;
+            }
+        }
+        devi->dflt_kbd_fb = XkbXINone;
+        devi->dflt_led_fb = XkbXINone;
+        devi->num_leds = 0;
+        devi->sz_leds = 0;
+        devi->leds = NULL;
+        if (szLeds > 0) {
+            devi->sz_leds = szLeds;
+            devi->leds = _XkbTypedCalloc(szLeds, XkbDeviceLedInfoRec);
+            if (!devi->leds) {
+                if (devi->btn_acts)
+                    _XkbFree(devi->btn_acts);
+                _XkbFree(devi);
+                return NULL;
+            }
+        }
     }
     return devi;
 }
 
 
 void
-XkbFreeDeviceInfo(XkbDeviceInfoPtr devi,unsigned which,Bool freeDevI)
+XkbFreeDeviceInfo(XkbDeviceInfoPtr devi, unsigned which, Bool freeDevI)
 {
     if (devi) {
-       if (freeDevI) {
-           which= XkbXI_AllDeviceFeaturesMask;
-           if (devi->name) {
-               _XkbFree(devi->name);
-               devi->name= NULL;
-           }
-       }
-       if ((which&XkbXI_ButtonActionsMask)&&(devi->btn_acts)) {
-           _XkbFree(devi->btn_acts);
-           devi->num_btns= 0;
-           devi->btn_acts= NULL;
-       }
-       if ((which&XkbXI_IndicatorsMask)&&(devi->leds)) {
-           register int i;
-           if ((which&XkbXI_IndicatorsMask)==XkbXI_IndicatorsMask) {
-               _XkbFree(devi->leds);
-               devi->sz_leds= devi->num_leds= 0;
-               devi->leds= NULL;
-           }
-           else {
-               XkbDeviceLedInfoPtr     devli;
-               for (i=0,devli=devi->leds;i<devi->num_leds;i++,devli++) {
-                   if (which&XkbXI_IndicatorMapsMask)
-                        bzero((char *)&devli->maps[0],sizeof(devli->maps));
-                   else bzero((char *)&devli->names[0],sizeof(devli->names));
-               }
-           }
-       }
-       if (freeDevI)
-           _XkbFree(devi);
+        if (freeDevI) {
+            which = XkbXI_AllDeviceFeaturesMask;
+            if (devi->name) {
+                _XkbFree(devi->name);
+                devi->name = NULL;
+            }
+        }
+        if ((which & XkbXI_ButtonActionsMask) && (devi->btn_acts)) {
+            _XkbFree(devi->btn_acts);
+            devi->num_btns = 0;
+            devi->btn_acts = NULL;
+        }
+        if ((which & XkbXI_IndicatorsMask) && (devi->leds)) {
+            register int i;
+
+            if ((which & XkbXI_IndicatorsMask) == XkbXI_IndicatorsMask) {
+                _XkbFree(devi->leds);
+                devi->sz_leds = devi->num_leds = 0;
+                devi->leds = NULL;
+            }
+            else {
+                XkbDeviceLedInfoPtr devli;
+
+                for (i = 0, devli = devi->leds; i < devi->num_leds;
+                     i++, devli++) {
+                    if (which & XkbXI_IndicatorMapsMask)
+                        bzero((char *) &devli->maps[0], sizeof(devli->maps));
+                    else
+                        bzero((char *) &devli->names[0], sizeof(devli->names));
+                }
+            }
+        }
+        if (freeDevI)
+            _XkbFree(devi);
     }
     return;
 }
index cf93ea7..f40e86f 100644 (file)
@@ -34,145 +34,146 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 
 Bool
-XkbDeviceBell( Display *       dpy,
-               Window          window,
-               int             deviceID,
-               int             bellClass,
-               int             bellID,
-               int             percent,
-               Atom            name)
+XkbDeviceBell(Display *dpy,
+              Window window,
+              int deviceID,
+              int bellClass,
+              int bellID,
+              int percent,
+              Atom name)
 {
     register xkbBellReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
-    GetReq(kbBell,req);
+    GetReq(kbBell, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbBell;
     req->deviceSpec = deviceID;
-    req->window = (CARD32)window;
-    req->bellClass = (CARD16)bellClass;
-    req->bellID = (CARD16)bellID;
+    req->window = (CARD32) window;
+    req->bellClass = (CARD16) bellClass;
+    req->bellID = (CARD16) bellID;
     req->percent = percent;
     req->forceSound = False;
     req->eventOnly = False;
     req->pitch = 0;
     req->duration = 0;
-    req->name = (CARD32)name;
-    req->pad1= 0; req->pad2= 0;
+    req->name = (CARD32) name;
+    req->pad1 = 0;
+    req->pad2 = 0;
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
 
 Bool
-XkbForceDeviceBell(    Display *       dpy,
-                       int             deviceID,
-                       int             bellClass,
-                       int             bellID,
-                       int             percent)
+XkbForceDeviceBell(Display *dpy,
+                   int deviceID,
+                   int bellClass,
+                   int bellID,
+                   int percent)
 {
     register xkbBellReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
-    GetReq(kbBell,req);
+    GetReq(kbBell, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbBell;
     req->deviceSpec = deviceID;
-    req->window = (CARD32)None;
-    req->bellClass = (CARD16)bellClass;
-    req->bellID = (CARD16)bellID;
+    req->window = (CARD32) None;
+    req->bellClass = (CARD16) bellClass;
+    req->bellID = (CARD16) bellID;
     req->percent = percent;
     req->forceSound = True;
     req->eventOnly = False;
     req->pitch = 0;
     req->duration = 0;
     req->name = None;
-    req->pad1= 0; req->pad2= 0;
+    req->pad1 = 0;
+    req->pad2 = 0;
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
 
 Bool
-XkbDeviceBellEvent(    Display *       dpy,
-                       Window          window,
-                       int             deviceID,
-                       int             bellClass,
-                       int             bellID,
-                       int             percent,
-                       Atom            name)
+XkbDeviceBellEvent(Display *dpy,
+                   Window window,
+                   int deviceID,
+                   int bellClass,
+                   int bellID,
+                   int percent,
+                   Atom name)
 {
     register xkbBellReq *req;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
-    GetReq(kbBell,req);
+    GetReq(kbBell, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbBell;
     req->deviceSpec = deviceID;
-    req->window = (CARD32)window;
-    req->bellClass = (CARD16)bellClass;
-    req->bellID = (CARD16)bellID;
+    req->window = (CARD32) window;
+    req->bellClass = (CARD16) bellClass;
+    req->bellID = (CARD16) bellID;
     req->percent = percent;
     req->forceSound = False;
     req->eventOnly = True;
     req->pitch = 0;
     req->duration = 0;
-    req->name = (CARD32)name;
-    req->pad1= 0; req->pad2= 0;
+    req->name = (CARD32) name;
+    req->pad1 = 0;
+    req->pad2 = 0;
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
 
 Bool
-XkbBell(Display *dpy,Window window,int percent,Atom name)
+XkbBell(Display *dpy, Window window, int percent, Atom name)
 {
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL))) {
-       XBell(dpy,percent);
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL))) {
+        XBell(dpy, percent);
+        return False;
     }
-    return XkbDeviceBell(dpy,window,XkbUseCoreKbd,XkbDfltXIClass,XkbDfltXIId,
-                                                               percent,name);
+    return XkbDeviceBell(dpy, window, XkbUseCoreKbd,
+                         XkbDfltXIClass, XkbDfltXIId, percent, name);
 }
 
 Bool
-XkbForceBell(Display *dpy,int percent)
+XkbForceBell(Display *dpy, int percent)
 {
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL))) {
-       XBell(dpy,percent);
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL))) {
+        XBell(dpy, percent);
+        return False;
     }
-    return XkbForceDeviceBell(dpy,XkbUseCoreKbd,XkbDfltXIClass,XkbDfltXIId,
-                                                               percent);
+    return XkbForceDeviceBell(dpy, XkbUseCoreKbd, XkbDfltXIClass, XkbDfltXIId,
+                              percent);
 }
 
 Bool
-XkbBellEvent(Display *dpy,Window window,int percent,Atom name)
+XkbBellEvent(Display *dpy, Window window, int percent, Atom name)
 {
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL))) {
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL))) {
+        return False;
     }
     /* class 0 = KbdFeedbackClass (X Input Extension) */
-    return XkbDeviceBellEvent(dpy,window,XkbUseCoreKbd,
-                                       XkbDfltXIClass,XkbDfltXIId,
-                                       percent,name);
+    return XkbDeviceBellEvent(dpy, window, XkbUseCoreKbd,
+                              XkbDfltXIClass, XkbDfltXIId, percent, name);
 }
-
index 1c16adc..29870b5 100644 (file)
@@ -26,7 +26,7 @@ from The Open Group.
 
 */
 
-       /* the new monsters ate the old ones */
+        /* the new monsters ate the old ones */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -42,112 +42,116 @@ from The Open Group.
 #include "XKBlibint.h"
 
 #ifdef USE_OWN_COMPOSE
-#define        COMPOSE_NO_CONST_MEMBERS
+#define COMPOSE_NO_CONST_MEMBERS
 #include "imComp.h"
 #endif
 
 #define AllMods (ShiftMask|LockMask|ControlMask| \
-                Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)
+                 Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)
 
-static int _XkbLoadDpy(
-    Display *dpy
-);
+static int _XkbLoadDpy(Display *dpy);
 
 struct _XKeytrans {
-       struct _XKeytrans *next;/* next on list */
-       char *string;           /* string to return when the time comes */
-       int len;                /* length of string (since NULL is legit)*/
-       KeySym key;             /* keysym rebound */
-       unsigned int state;     /* modifier state */
-       KeySym *modifiers;      /* modifier keysyms you want */
-       int mlen;               /* length of modifier list */
+    struct _XKeytrans *next;    /* next on list */
+    char *string;               /* string to return when the time comes */
+    int len;                    /* length of string (since NULL is legit) */
+    KeySym key;                 /* keysym rebound */
+    unsigned int state;         /* modifier state */
+    KeySym *modifiers;          /* modifier keysyms you want */
+    int mlen;                   /* length of modifier list */
 };
 
 KeySym
 XkbKeycodeToKeysym(Display *dpy,
 #if NeedWidePrototypes
-                unsigned int kc,
+                   unsigned int kc,
 #else
-                KeyCode kc,
+                   KeyCode kc,
 #endif
-                int    group,
-                int    level)
+                   int group,
+                   int level)
 {
-    XkbDescRec *xkb;
+    XkbDescRec *xkb;
 
     if (_XkbUnavailable(dpy))
-       return NoSymbol;
+        return NoSymbol;
 
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
 
     xkb = dpy->xkb_info->desc;
-    if ((kc<xkb->min_key_code)||(kc>xkb->max_key_code))
-       return NoSymbol;
-
-    if ((group<0)||(level<0)||(group>=XkbKeyNumGroups(xkb,kc)))
-       return NoSymbol;
-    if (level>=XkbKeyGroupWidth(xkb,kc,group)) {
-       /* for compatibility with the core protocol, _always_ allow  */
-       /* two symbols in the first two groups.   If either of the   */
-       /* two is of type ONE_LEVEL, just replicate the first symbol */
-       if ((group>XkbGroup2Index)||(XkbKeyGroupWidth(xkb,kc,group)!=1)||
-                                                               (level!=1)) {
-           return NoSymbol;
-       }
-       level= 0;
+    if ((kc < xkb->min_key_code) || (kc > xkb->max_key_code))
+        return NoSymbol;
+
+    if ((group < 0) || (level < 0) || (group >= XkbKeyNumGroups(xkb, kc)))
+        return NoSymbol;
+    if (level >= XkbKeyGroupWidth(xkb, kc, group)) {
+        /* for compatibility with the core protocol, _always_ allow  */
+        /* two symbols in the first two groups.   If either of the   */
+        /* two is of type ONE_LEVEL, just replicate the first symbol */
+        if ((group > XkbGroup2Index) || (XkbKeyGroupWidth(xkb, kc, group) != 1)
+            || (level != 1)) {
+            return NoSymbol;
+        }
+        level = 0;
     }
-    return XkbKeySymEntry(xkb,kc,level,group);
+    return XkbKeySymEntry(xkb, kc, level, group);
 }
 
 KeySym
 XKeycodeToKeysym(Display *dpy,
 #if NeedWidePrototypes
-                unsigned int kc,
+                 unsigned int kc,
 #else
-                KeyCode kc,
+                 KeyCode kc,
 #endif
-                int col)
+                 int col)
 {
-    XkbDescRec *xkb;
+    XkbDescRec *xkb;
 
     if (_XkbUnavailable(dpy))
-       return _XKeycodeToKeysym(dpy, kc, col);
+        return _XKeycodeToKeysym(dpy, kc, col);
 
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
 
     xkb = dpy->xkb_info->desc;
-    if ((kc<xkb->min_key_code)||(kc>xkb->max_key_code))
-       return NoSymbol;
-
-    if (col>3) {
-       int lastSym,tmp,nGrp;
-
-       lastSym= 3;
-       nGrp= XkbKeyNumGroups(xkb,kc);
-       if ((nGrp>0)&&((tmp=XkbKeyGroupWidth(xkb,kc,XkbGroup1Index))>2)) {
-           if (col<=(lastSym+tmp-2))
-               return XkbKeycodeToKeysym(dpy,kc,XkbGroup1Index,col-lastSym+2);
-           lastSym+= tmp-2;
-       }
-       if ((nGrp>1)&&((tmp=XkbKeyGroupWidth(xkb,kc,XkbGroup2Index))>2)) {
-           if (col<=(lastSym+tmp-2))
-               return XkbKeycodeToKeysym(dpy,kc,XkbGroup2Index,col-lastSym+2);
-           lastSym+= tmp-2;
-       }
-       if (nGrp>2) {
-           tmp= XkbKeyGroupWidth(xkb,kc,XkbGroup3Index);
-           if (col<=lastSym+tmp)
-               return XkbKeycodeToKeysym(dpy,kc,XkbGroup3Index,col-lastSym);
-           lastSym+= tmp;
-       }
-       if (nGrp>3) {
-           tmp= XkbKeyGroupWidth(xkb,kc,XkbGroup4Index);
-           if (col<=lastSym+tmp)
-               return XkbKeycodeToKeysym(dpy,kc,XkbGroup4Index,col-lastSym);
-       }
-       return NoSymbol;
+    if ((kc < xkb->min_key_code) || (kc > xkb->max_key_code))
+        return NoSymbol;
+
+    if (col > 3) {
+        int lastSym, tmp, nGrp;
+
+        lastSym = 3;
+        nGrp = XkbKeyNumGroups(xkb, kc);
+        if ((nGrp > 0) &&
+            ((tmp = XkbKeyGroupWidth(xkb, kc, XkbGroup1Index)) > 2)) {
+            if (col <= (lastSym + tmp - 2))
+                return XkbKeycodeToKeysym(dpy, kc, XkbGroup1Index,
+                                          col - lastSym + 2);
+            lastSym += tmp - 2;
+        }
+        if ((nGrp > 1) &&
+            ((tmp = XkbKeyGroupWidth(xkb, kc, XkbGroup2Index)) > 2)) {
+            if (col <= (lastSym + tmp - 2))
+                return XkbKeycodeToKeysym(dpy, kc, XkbGroup2Index,
+                                          col - lastSym + 2);
+            lastSym += tmp - 2;
+        }
+        if (nGrp > 2) {
+            tmp = XkbKeyGroupWidth(xkb, kc, XkbGroup3Index);
+            if (col <= lastSym + tmp)
+                return XkbKeycodeToKeysym(dpy, kc, XkbGroup3Index,
+                                          col - lastSym);
+            lastSym += tmp;
+        }
+        if (nGrp > 3) {
+            tmp = XkbKeyGroupWidth(xkb, kc, XkbGroup4Index);
+            if (col <= lastSym + tmp)
+                return XkbKeycodeToKeysym(dpy, kc, XkbGroup4Index,
+                                          col - lastSym);
+        }
+        return NoSymbol;
     }
-    return XkbKeycodeToKeysym(dpy,kc,(col>>1),(col&1));
+    return XkbKeycodeToKeysym(dpy, kc, (col >> 1), (col & 1));
 }
 
 KeyCode
@@ -156,21 +160,21 @@ XKeysymToKeycode(Display *dpy, KeySym ks)
     register int i, j, gotOne;
 
     if (_XkbUnavailable(dpy))
-       return _XKeysymToKeycode(dpy,ks);
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
+        return _XKeysymToKeycode(dpy, ks);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
 
-    j= 0;
+    j = 0;
     do {
-       register XkbDescRec *xkb = dpy->xkb_info->desc;
-       gotOne= 0;
-       for (i = dpy->min_keycode; i <= dpy->max_keycode; i++) {
-           if ( j<(int)XkbKeyNumSyms(xkb,i) ) {
-               gotOne = 1;
-               if ((XkbKeySym(xkb,i,j)==ks))
-                   return i;
-           }
-       }
-       j++;
+        register XkbDescRec *xkb = dpy->xkb_info->desc;
+        gotOne = 0;
+        for (i = dpy->min_keycode; i <= dpy->max_keycode; i++) {
+            if (j < (int) XkbKeyNumSyms(xkb, i)) {
+                gotOne = 1;
+                if ((XkbKeySym(xkb, i, j) == ks))
+                    return i;
+            }
+        }
+        j++;
     } while (gotOne);
     return 0;
 }
@@ -178,50 +182,51 @@ XKeysymToKeycode(Display *dpy, KeySym ks)
 static int
 _XkbComputeModmap(Display *dpy)
 {
-register XkbDescPtr xkb;
+    register XkbDescPtr xkb;
 
-    xkb= dpy->xkb_info->desc;
-    if (XkbGetUpdatedMap(dpy,XkbModifierMapMask,xkb)==Success)
-       return 1;
+    xkb = dpy->xkb_info->desc;
+    if (XkbGetUpdatedMap(dpy, XkbModifierMapMask, xkb) == Success)
+        return 1;
     return 0;
 }
 
 unsigned
-XkbKeysymToModifiers(Display *dpy,KeySym ks)
+XkbKeysymToModifiers(Display *dpy, KeySym ks)
 {
     XkbDescRec *xkb;
-    register int i,j;
+    register int i, j;
     register KeySym *pSyms;
     CARD8 mods;
 
     if (_XkbUnavailable(dpy))
-       return _XKeysymToModifiers(dpy,ks);
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
-
-    if (_XkbNeedModmap(dpy->xkb_info)&&(!_XkbComputeModmap(dpy)))
-       return _XKeysymToModifiers(dpy,ks);
-
-    xkb= dpy->xkb_info->desc;
-    mods= 0;
-    for (i = xkb->min_key_code; i <= (int)xkb->max_key_code; i++) {
-       pSyms= XkbKeySymsPtr(xkb,i);
-       for (j=XkbKeyNumSyms(xkb,i)-1;j>=0;j--) {
-           if (pSyms[j]==ks) {
-               mods|= xkb->map->modmap[i];
-               break;
-           }
-       }
+        return _XKeysymToModifiers(dpy, ks);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
+
+    if (_XkbNeedModmap(dpy->xkb_info) && (!_XkbComputeModmap(dpy)))
+        return _XKeysymToModifiers(dpy, ks);
+
+    xkb = dpy->xkb_info->desc;
+    mods = 0;
+    for (i = xkb->min_key_code; i <= (int) xkb->max_key_code; i++) {
+        pSyms = XkbKeySymsPtr(xkb, i);
+        for (j = XkbKeyNumSyms(xkb, i) - 1; j >= 0; j--) {
+            if (pSyms[j] == ks) {
+                mods |= xkb->map->modmap[i];
+                break;
+            }
+        }
     }
     return mods;
 }
 
 KeySym
-XLookupKeysym(register XKeyEvent *event, int col)
+XLookupKeysym(register XKeyEvent * event, int col)
 {
     Display *dpy = event->display;
+
     if (_XkbUnavailable(dpy))
-       return _XLookupKeysym(event, col);
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
+        return _XLookupKeysym(event, col);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
     return XKeycodeToKeysym(dpy, event->keycode, col);
 }
 
@@ -231,159 +236,165 @@ XLookupKeysym(register XKeyEvent *event, int col)
     * version will continue to work in a shared library environment.
     */
 int
-XkbTranslateKey(       register Display *      dpy,
-                       KeyCode                 key,
-                       register unsigned int   mods,
-                       unsigned int *          mods_rtrn,
-                       KeySym *                keysym_rtrn);
+XkbTranslateKey(register Display *dpy,
+                KeyCode key,
+                register unsigned int mods,
+                unsigned int *mods_rtrn,
+                KeySym *keysym_rtrn);
+
 int
-XkbTranslateKey(       register Display *      dpy,
-                       KeyCode                 key,
-                       register unsigned int   mods,
-                       unsigned int *          mods_rtrn,
-                       KeySym *                keysym_rtrn)
+XkbTranslateKey(register Display *dpy,
+                KeyCode key,
+                register unsigned int mods,
+                unsigned int *mods_rtrn,
+                KeySym *keysym_rtrn)
 {
-    return XkbLookupKeySym(dpy,key,mods,mods_rtrn,keysym_rtrn);
+    return XkbLookupKeySym(dpy, key, mods, mods_rtrn, keysym_rtrn);
 }
 
 Bool
-XkbLookupKeySym(       register Display *      dpy,
-                       KeyCode                 key,
-                       register unsigned int   mods,
-                       unsigned int *          mods_rtrn,
-                       KeySym *                keysym_rtrn)
+XkbLookupKeySym(register Display *dpy,
+                KeyCode key,
+                register unsigned int mods,
+                unsigned int *mods_rtrn,
+                KeySym *keysym_rtrn)
 {
     if (_XkbUnavailable(dpy))
-       return _XTranslateKey(dpy, key, mods, mods_rtrn, keysym_rtrn);
-    _XkbCheckPendingRefresh(dpy,dpy->xkb_info);
-    return XkbTranslateKeyCode(dpy->xkb_info->desc,key,mods,mods_rtrn,
-                                                               keysym_rtrn);
+        return _XTranslateKey(dpy, key, mods, mods_rtrn, keysym_rtrn);
+    _XkbCheckPendingRefresh(dpy, dpy->xkb_info);
+    return XkbTranslateKeyCode(dpy->xkb_info->desc, key, mods, mods_rtrn,
+                               keysym_rtrn);
 }
 
 Bool
-XkbTranslateKeyCode(   register XkbDescPtr     xkb,
-                       KeyCode                 key,
-                       register unsigned int   mods,
-                       unsigned int *          mods_rtrn,
-                       KeySym *                keysym_rtrn)
+XkbTranslateKeyCode(register XkbDescPtr xkb,
+                    KeyCode key,
+                    register unsigned int mods,
+                    unsigned int *mods_rtrn,
+                    KeySym *keysym_rtrn)
 {
     XkbKeyTypeRec *type;
-    int col,nKeyGroups;
-    unsigned preserve,effectiveGroup;
+    int col, nKeyGroups;
+    unsigned preserve, effectiveGroup;
     KeySym *syms;
 
-    if (mods_rtrn!=NULL)
-       *mods_rtrn = 0;
+    if (mods_rtrn != NULL)
+        *mods_rtrn = 0;
 
-    nKeyGroups= XkbKeyNumGroups(xkb,key);
-    if ((!XkbKeycodeInRange(xkb,key))||(nKeyGroups==0)) {
-       if (keysym_rtrn!=NULL)
-           *keysym_rtrn = NoSymbol;
-       return False;
+    nKeyGroups = XkbKeyNumGroups(xkb, key);
+    if ((!XkbKeycodeInRange(xkb, key)) || (nKeyGroups == 0)) {
+        if (keysym_rtrn != NULL)
+            *keysym_rtrn = NoSymbol;
+        return False;
     }
 
-    syms = XkbKeySymsPtr(xkb,key);
+    syms = XkbKeySymsPtr(xkb, key);
 
     /* find the offset of the effective group */
     col = 0;
-    effectiveGroup= XkbGroupForCoreState(mods);
-    if ( effectiveGroup>=nKeyGroups ) {
-       unsigned groupInfo= XkbKeyGroupInfo(xkb,key);
-       switch (XkbOutOfRangeGroupAction(groupInfo)) {
-           default:
-               effectiveGroup %= nKeyGroups;
-               break;
-           case XkbClampIntoRange:
-               effectiveGroup = nKeyGroups-1;
-               break;
-           case XkbRedirectIntoRange:
-               effectiveGroup = XkbOutOfRangeGroupNumber(groupInfo);
-               if (effectiveGroup>=nKeyGroups)
-                   effectiveGroup= 0;
-               break;
-       }
+    effectiveGroup = XkbGroupForCoreState(mods);
+    if (effectiveGroup >= nKeyGroups) {
+        unsigned groupInfo = XkbKeyGroupInfo(xkb, key);
+
+        switch (XkbOutOfRangeGroupAction(groupInfo)) {
+        default:
+            effectiveGroup %= nKeyGroups;
+            break;
+        case XkbClampIntoRange:
+            effectiveGroup = nKeyGroups - 1;
+            break;
+        case XkbRedirectIntoRange:
+            effectiveGroup = XkbOutOfRangeGroupNumber(groupInfo);
+            if (effectiveGroup >= nKeyGroups)
+                effectiveGroup = 0;
+            break;
+        }
     }
-    col= effectiveGroup*XkbKeyGroupsWidth(xkb,key);
-    type = XkbKeyKeyType(xkb,key,effectiveGroup);
-
-    preserve= 0;
-    if (type->map) { /* find the column (shift level) within the group */
-       register int i;
-       register XkbKTMapEntryPtr entry;
-       for (i=0,entry=type->map;i<type->map_count;i++,entry++) {
-           if ((entry->active)&&((mods&type->mods.mask)==entry->mods.mask)) {
-               col+= entry->level;
-               if (type->preserve)
-                   preserve= type->preserve[i].mask;
-               break;
-           }
-       }
+    col = effectiveGroup * XkbKeyGroupsWidth(xkb, key);
+    type = XkbKeyKeyType(xkb, key, effectiveGroup);
+
+    preserve = 0;
+    if (type->map) {  /* find the column (shift level) within the group */
+        register int i;
+        register XkbKTMapEntryPtr entry;
+
+        for (i = 0, entry = type->map; i < type->map_count; i++, entry++) {
+            if ((entry->active) &&
+                ((mods & type->mods.mask) == entry->mods.mask)) {
+                col += entry->level;
+                if (type->preserve)
+                    preserve = type->preserve[i].mask;
+                break;
+            }
+        }
     }
 
-    if (keysym_rtrn!=NULL)
-       *keysym_rtrn= syms[col];
+    if (keysym_rtrn != NULL)
+        *keysym_rtrn = syms[col];
     if (mods_rtrn) {
-       *mods_rtrn= type->mods.mask&(~preserve);
-       /* The Motif VTS doesn't get the help callback called if help
-        * is bound to Shift+<whatever>, and it appears as though it
-        * is XkbTranslateKeyCode that is causing the problem.  The
-        * core X version of XTranslateKey always OR's in ShiftMask
-        * and LockMask for mods_rtrn, so this "fix" keeps this behavior
-        * and solves the VTS problem.
-        */
-       if ((xkb->dpy)&&(xkb->dpy->xkb_info)&&
-           (xkb->dpy->xkb_info->xlib_ctrls&XkbLC_AlwaysConsumeShiftAndLock)) {
-           *mods_rtrn|= (ShiftMask|LockMask);
-       }
+        *mods_rtrn = type->mods.mask & (~preserve);
+        /* The Motif VTS doesn't get the help callback called if help
+         * is bound to Shift+<whatever>, and it appears as though it
+         * is XkbTranslateKeyCode that is causing the problem.  The
+         * core X version of XTranslateKey always OR's in ShiftMask
+         * and LockMask for mods_rtrn, so this "fix" keeps this behavior
+         * and solves the VTS problem.
+         */
+        if ((xkb->dpy) && (xkb->dpy->xkb_info) &&
+            (xkb->dpy->xkb_info->
+             xlib_ctrls & XkbLC_AlwaysConsumeShiftAndLock)) {
+            *mods_rtrn |= (ShiftMask | LockMask);
+        }
     }
-    return (syms[col]!=NoSymbol);
+    return (syms[col] != NoSymbol);
 }
 
 Status
-XkbRefreshKeyboardMapping(register XkbMapNotifyEvent *event)
+XkbRefreshKeyboardMapping(register XkbMapNotifyEvent * event)
 {
     Display *dpy = event->display;
     XkbInfoPtr xkbi;
 
     if (_XkbUnavailable(dpy)) {
-       _XRefreshKeyboardMapping((XMappingEvent *)event);
-       return Success;
+        _XRefreshKeyboardMapping((XMappingEvent *) event);
+        return Success;
     }
-    xkbi= dpy->xkb_info;
+    xkbi = dpy->xkb_info;
 
-    if (((event->type&0x7f)-xkbi->codes->first_event)!=XkbEventCode)
-       return BadMatch;
-    if (event->xkb_type==XkbNewKeyboardNotify) {
-       _XkbReloadDpy(dpy);
-       return Success;
+    if (((event->type & 0x7f) - xkbi->codes->first_event) != XkbEventCode)
+        return BadMatch;
+    if (event->xkb_type == XkbNewKeyboardNotify) {
+        _XkbReloadDpy(dpy);
+        return Success;
     }
-    if (event->xkb_type==XkbMapNotify) {
-       XkbMapChangesRec        changes;
-       Status                  rtrn;
-
-       if (xkbi->flags&XkbMapPending)
-            changes= xkbi->changes;
-       else bzero(&changes,sizeof(changes));
-       XkbNoteMapChanges(&changes,event,XKB_XLIB_MAP_MASK);
-       if ((rtrn=XkbGetMapChanges(dpy,xkbi->desc,&changes))!=Success) {
+    if (event->xkb_type == XkbMapNotify) {
+        XkbMapChangesRec changes;
+        Status rtrn;
+
+        if (xkbi->flags & XkbMapPending)
+            changes = xkbi->changes;
+        else
+            bzero(&changes, sizeof(changes));
+        XkbNoteMapChanges(&changes, event, XKB_XLIB_MAP_MASK);
+        if ((rtrn = XkbGetMapChanges(dpy, xkbi->desc, &changes)) != Success) {
 #ifdef DEBUG
-           fprintf(stderr,"Internal Error! XkbGetMapChanges failed:\n");
+            fprintf(stderr, "Internal Error! XkbGetMapChanges failed:\n");
 #endif
-           xkbi->changes= changes;
-       }
-       else if (xkbi->flags&XkbMapPending) {
-           xkbi->flags&= ~XkbMapPending;
-           bzero(&xkbi->changes,sizeof(XkbMapChangesRec));
-       }
-       return rtrn;
+            xkbi->changes = changes;
+        }
+        else if (xkbi->flags & XkbMapPending) {
+            xkbi->flags &= ~XkbMapPending;
+            bzero(&xkbi->changes, sizeof(XkbMapChangesRec));
+        }
+        return rtrn;
     }
     return BadMatch;
 }
 
 int
-XRefreshKeyboardMapping(register XMappingEvent *event)
+XRefreshKeyboardMapping(register XMappingEvent * event)
 {
-    XkbEvent   *xkbevent = (XkbEvent *)event;
+    XkbEvent *xkbevent = (XkbEvent *) event;
     Display *dpy = event->display;
     XkbMapChangesRec changes;
     XkbInfoPtr xkbi;
@@ -392,99 +403,107 @@ XRefreshKeyboardMapping(register XMappingEvent *event)
     (void) _XRefreshKeyboardMapping(event);
 
     if (_XkbUnavailable(dpy))
-       return 1;
+        return 1;
 
     xkbi = dpy->xkb_info;
 
-    if (((event->type&0x7f)-xkbi->codes->first_event)==XkbEventCode)
-       return XkbRefreshKeyboardMapping(&xkbevent->map);
+    if (((event->type & 0x7f) - xkbi->codes->first_event) == XkbEventCode)
+        return XkbRefreshKeyboardMapping(&xkbevent->map);
 
-    if (xkbi->flags&XkbXlibNewKeyboard) {
-       _XkbReloadDpy(dpy);
-       return 1;
+    if (xkbi->flags & XkbXlibNewKeyboard) {
+        _XkbReloadDpy(dpy);
+        return 1;
     }
 
-    if ((xkbi->flags&XkbMapPending)||(event->request==MappingKeyboard)) {
-       if (xkbi->flags&XkbMapPending) {
-           changes= xkbi->changes;
-           _XkbNoteCoreMapChanges(&changes,event,XKB_XLIB_MAP_MASK);
-       }
-       else {
-           bzero(&changes,sizeof(changes));
-           changes.changed= XkbKeySymsMask;
-           if (xkbi->desc->min_key_code<xkbi->desc->max_key_code) {
-               changes.first_key_sym= xkbi->desc->min_key_code;
-               changes.num_key_syms= xkbi->desc->max_key_code-
-                                               xkbi->desc->min_key_code+1;
-           }
-           else {
-               changes.first_key_sym= event->first_keycode;
-               changes.num_key_syms= event->count;
-           }
-       }
-
-       if (XkbGetMapChanges(dpy,xkbi->desc, &changes)!=Success) {
+    if ((xkbi->flags & XkbMapPending) || (event->request == MappingKeyboard)) {
+        if (xkbi->flags & XkbMapPending) {
+            changes = xkbi->changes;
+            _XkbNoteCoreMapChanges(&changes, event, XKB_XLIB_MAP_MASK);
+        }
+        else {
+            bzero(&changes, sizeof(changes));
+            changes.changed = XkbKeySymsMask;
+            if (xkbi->desc->min_key_code < xkbi->desc->max_key_code) {
+                changes.first_key_sym = xkbi->desc->min_key_code;
+                changes.num_key_syms = xkbi->desc->max_key_code -
+                    xkbi->desc->min_key_code + 1;
+            }
+            else {
+                changes.first_key_sym = event->first_keycode;
+                changes.num_key_syms = event->count;
+            }
+        }
+
+        if (XkbGetMapChanges(dpy, xkbi->desc, &changes) != Success) {
 #ifdef DEBUG
-               fprintf(stderr,"Internal Error! XkbGetMapChanges failed:\n");
-               if (changes.changed&XkbKeyTypesMask) {
-                   int first= changes.first_type;
-                   int last= changes.first_type+changes.num_types-1;
-                   fprintf(stderr,"       types:  %d..%d\n",first,last);
-               }
-               if (changes.changed&XkbKeySymsMask) {
-                   int first= changes.first_key_sym;
-                   int last= changes.first_key_sym+changes.num_key_syms-1;
-                   fprintf(stderr,"     symbols:  %d..%d\n",first,last);
-               }
-               if (changes.changed&XkbKeyActionsMask) {
-                   int last,first= changes.first_key_act;
-                   last= changes.first_key_act+changes.num_key_acts-1;
-                   fprintf(stderr,"     acts:  %d..%d\n",first,last);
-               }
-               if (changes.changed&XkbKeyBehaviorsMask) {
-                   int last,first= changes.first_key_behavior;
-                   last= first+changes.num_key_behaviors-1;
-                   fprintf(stderr,"   behaviors:  %d..%d\n",first,last);
-               }
-               if (changes.changed&XkbVirtualModsMask) {
-                   fprintf(stderr,"virtual mods: 0x%04x\n",
-                                       changes.vmods);
-               }
-               if (changes.changed&XkbExplicitComponentsMask) {
-                   int last,first= changes.first_key_explicit;
-                   last= first+changes.num_key_explicit-1;
-                   fprintf(stderr,"    explicit:  %d..%d\n",first,last);
-               }
+            fprintf(stderr, "Internal Error! XkbGetMapChanges failed:\n");
+            if (changes.changed & XkbKeyTypesMask) {
+                int first = changes.first_type;
+                int last = changes.first_type + changes.num_types - 1;
+
+                fprintf(stderr, "       types:  %d..%d\n", first, last);
+            }
+            if (changes.changed & XkbKeySymsMask) {
+                int first = changes.first_key_sym;
+                int last = changes.first_key_sym + changes.num_key_syms - 1;
+
+                fprintf(stderr, "     symbols:  %d..%d\n", first, last);
+            }
+            if (changes.changed & XkbKeyActionsMask) {
+                int first = changes.first_key_act;
+                int last = changes.first_key_act + changes.num_key_acts - 1;
+
+                fprintf(stderr, "     acts:  %d..%d\n", first, last);
+            }
+            if (changes.changed & XkbKeyBehaviorsMask) {
+                int first = changes.first_key_behavior;
+                int last = first + changes.num_key_behaviors - 1;
+
+                fprintf(stderr, "   behaviors:  %d..%d\n", first, last);
+            }
+            if (changes.changed & XkbVirtualModsMask) {
+                fprintf(stderr, "virtual mods: 0x%04x\n", changes.vmods);
+            }
+            if (changes.changed & XkbExplicitComponentsMask) {
+                int first = changes.first_key_explicit;
+                int last = first + changes.num_key_explicit - 1;
+
+                fprintf(stderr, "    explicit:  %d..%d\n", first, last);
+            }
 #endif
-       }
-       LockDisplay(dpy);
-       if (xkbi->flags&XkbMapPending) {
-           xkbi->flags&= ~XkbMapPending;
-           bzero(&xkbi->changes,sizeof(XkbMapChangesRec));
-       }
-       UnlockDisplay(dpy);
+        }
+        LockDisplay(dpy);
+        if (xkbi->flags & XkbMapPending) {
+            xkbi->flags &= ~XkbMapPending;
+            bzero(&xkbi->changes, sizeof(XkbMapChangesRec));
+        }
+        UnlockDisplay(dpy);
     }
-    if (event->request==MappingModifier) {
-       LockDisplay(dpy);
-       if (xkbi->desc->map->modmap) {
-           _XkbFree(xkbi->desc->map->modmap);
-           xkbi->desc->map->modmap= NULL;
-       }
-       if (dpy->key_bindings) {
-           register struct _XKeytrans *p;
-           for (p = dpy->key_bindings; p; p = p->next) {
-               register int i;
-               p->state= 0;
-               if (p->mlen>0) {
-                   for (i = 0; i < p->mlen; i++) {
-                       p->state|= XkbKeysymToModifiers(dpy,p->modifiers[i]);
-                   }
-                   if (p->state)       p->state &= AllMods;
-                   else                p->state = AnyModifier;
-               }
-           }
-       }
-       UnlockDisplay(dpy);
+    if (event->request == MappingModifier) {
+        LockDisplay(dpy);
+        if (xkbi->desc->map->modmap) {
+            _XkbFree(xkbi->desc->map->modmap);
+            xkbi->desc->map->modmap = NULL;
+        }
+        if (dpy->key_bindings) {
+            register struct _XKeytrans *p;
+
+            for (p = dpy->key_bindings; p; p = p->next) {
+                register int i;
+
+                p->state = 0;
+                if (p->mlen > 0) {
+                    for (i = 0; i < p->mlen; i++) {
+                        p->state |= XkbKeysymToModifiers(dpy, p->modifiers[i]);
+                    }
+                    if (p->state)
+                        p->state &= AllMods;
+                    else
+                        p->state = AnyModifier;
+                }
+            }
+        }
+        UnlockDisplay(dpy);
     }
     return 1;
 }
@@ -493,35 +512,36 @@ static int
 _XkbLoadDpy(Display *dpy)
 {
     XkbInfoPtr xkbi;
-    unsigned query,oldEvents;
+    unsigned query, oldEvents;
     XkbDescRec *desc;
 
-    if (!XkbUseExtension(dpy,NULL,NULL))
-       return 0;
+    if (!XkbUseExtension(dpy, NULL, NULL))
+        return 0;
 
     xkbi = dpy->xkb_info;
     query = XkbAllClientInfoMask;
-    desc = XkbGetMap(dpy,query,XkbUseCoreKbd);
+    desc = XkbGetMap(dpy, query, XkbUseCoreKbd);
     if (!desc) {
 #ifdef DEBUG
-       fprintf(stderr,"Warning! XkbGetMap failed!\n");
+        fprintf(stderr, "Warning! XkbGetMap failed!\n");
 #endif
-       return 0;
+        return 0;
     }
     LockDisplay(dpy);
     xkbi->desc = desc;
 
     UnlockDisplay(dpy);
-    oldEvents= xkbi->selected_events;
-    if (!(xkbi->xlib_ctrls&XkbLC_IgnoreNewKeyboards)) {
-       XkbSelectEventDetails(dpy,xkbi->desc->device_spec,XkbNewKeyboardNotify,
-                               XkbNKN_KeycodesMask|XkbNKN_DeviceIDMask,
-                               XkbNKN_KeycodesMask|XkbNKN_DeviceIDMask);
+    oldEvents = xkbi->selected_events;
+    if (!(xkbi->xlib_ctrls & XkbLC_IgnoreNewKeyboards)) {
+        XkbSelectEventDetails(dpy, xkbi->desc->device_spec,
+                              XkbNewKeyboardNotify,
+                              XkbNKN_KeycodesMask | XkbNKN_DeviceIDMask,
+                              XkbNKN_KeycodesMask | XkbNKN_DeviceIDMask);
     }
-    XkbSelectEventDetails(dpy,xkbi->desc->device_spec,XkbMapNotify,
-                               XkbAllClientInfoMask,XkbAllClientInfoMask);
+    XkbSelectEventDetails(dpy, xkbi->desc->device_spec, XkbMapNotify,
+                          XkbAllClientInfoMask, XkbAllClientInfoMask);
     LockDisplay(dpy);
-    xkbi->selected_events= oldEvents;
+    xkbi->selected_events = oldEvents;
     UnlockDisplay(dpy);
     return 1;
 }
@@ -531,166 +551,174 @@ _XkbReloadDpy(Display *dpy)
 {
     XkbInfoPtr xkbi;
     XkbDescRec *desc;
-    unsigned   oldDeviceID;
+    unsigned oldDeviceID;
 
     if (_XkbUnavailable(dpy))
-       return;
+        return;
 
     xkbi = dpy->xkb_info;
     LockDisplay(dpy);
     if (xkbi->desc) {
-       oldDeviceID= xkbi->desc->device_spec;
-       XkbFreeKeyboard(xkbi->desc,XkbAllComponentsMask,True);
-       xkbi->desc= NULL;
-       xkbi->flags&= ~(XkbMapPending|XkbXlibNewKeyboard);
-       xkbi->changes.changed= 0;
+        oldDeviceID = xkbi->desc->device_spec;
+        XkbFreeKeyboard(xkbi->desc, XkbAllComponentsMask, True);
+        xkbi->desc = NULL;
+        xkbi->flags &= ~(XkbMapPending | XkbXlibNewKeyboard);
+        xkbi->changes.changed = 0;
     }
-    else oldDeviceID= XkbUseCoreKbd;
+    else
+        oldDeviceID = XkbUseCoreKbd;
     UnlockDisplay(dpy);
-    desc = XkbGetMap(dpy,XkbAllClientInfoMask,XkbUseCoreKbd);
+    desc = XkbGetMap(dpy, XkbAllClientInfoMask, XkbUseCoreKbd);
     if (!desc)
-       return;
+        return;
     LockDisplay(dpy);
     xkbi->desc = desc;
     UnlockDisplay(dpy);
 
-    if (desc->device_spec!=oldDeviceID) {
-       /* transfer(?) event masks here */
+    if (desc->device_spec != oldDeviceID) {
+        /* transfer(?) event masks here */
 #ifdef NOTYET
-       unsigned oldEvents;
-       oldEvents= xkbi->selected_events;
-       XkbSelectEventDetails(dpy,xkbi->desc->device_spec,XkbMapNotify,
-                               XkbAllMapComponentsMask,XkbAllClientInfoMask);
-       LockDisplay(dpy);
-       xkbi->selected_events= oldEvents;
-       UnlockDisplay(dpy);
+        unsigned oldEvents;
+
+        oldEvents = xkbi->selected_events;
+        XkbSelectEventDetails(dpy, xkbi->desc->device_spec, XkbMapNotify,
+                              XkbAllMapComponentsMask, XkbAllClientInfoMask);
+        LockDisplay(dpy);
+        xkbi->selected_events = oldEvents;
+        UnlockDisplay(dpy);
 #endif
     }
     return;
 }
 
 int
-XkbTranslateKeySym(    register Display *      dpy,
-                       register KeySym *       sym_rtrn,
-                       unsigned int            mods,
-                       char *                  buffer,
-                       int                     nbytes,
-                       int *                   extra_rtrn)
+XkbTranslateKeySym(register Display *dpy,
+                   register KeySym *sym_rtrn,
+                   unsigned int mods,
+                   char *buffer,
+                   int nbytes,
+                   int *extra_rtrn)
 {
-    register XkbInfoPtr        xkb;
+    register XkbInfoPtr xkb;
     XkbKSToMBFunc cvtr;
     XPointer priv;
     char tmp[4];
     int n;
 
-    xkb= dpy->xkb_info;
+    xkb = dpy->xkb_info;
     if (!xkb->cvt.KSToMB) {
-        _XkbGetConverters(_XkbGetCharset(),&xkb->cvt);
-        _XkbGetConverters("ISO8859-1",&xkb->latin1cvt);
+        _XkbGetConverters(_XkbGetCharset(), &xkb->cvt);
+        _XkbGetConverters("ISO8859-1", &xkb->latin1cvt);
     }
 
     if (extra_rtrn)
-       *extra_rtrn= 0;
+        *extra_rtrn = 0;
 
-    if ((buffer==NULL)||(nbytes==0)) {
-       buffer= tmp;
-       nbytes= 4;
+    if ((buffer == NULL) || (nbytes == 0)) {
+        buffer = tmp;
+        nbytes = 4;
     }
 
     /* see if symbol rebound, if so, return that string. */
-    n = XkbLookupKeyBinding(dpy,*sym_rtrn,mods,buffer,nbytes,extra_rtrn);
+    n = XkbLookupKeyBinding(dpy, *sym_rtrn, mods, buffer, nbytes, extra_rtrn);
     if (n)
         return n;
 
-    if ( nbytes>0 )
-       buffer[0]= '\0';
+    if (nbytes > 0)
+        buffer[0] = '\0';
 
-    if ( xkb->cvt.KSToUpper && (mods&LockMask) ) {
-       *sym_rtrn = (*xkb->cvt.KSToUpper)(*sym_rtrn);
+    if (xkb->cvt.KSToUpper && (mods & LockMask)) {
+        *sym_rtrn = (*xkb->cvt.KSToUpper) (*sym_rtrn);
     }
     if (xkb->xlib_ctrls & XkbLC_ForceLatin1Lookup) {
-       cvtr = xkb->latin1cvt.KSToMB;
-       priv = xkb->latin1cvt.KSToMBPriv;
-    } else {
-       cvtr = xkb->cvt.KSToMB;
-       priv = xkb->cvt.KSToMBPriv;
+        cvtr = xkb->latin1cvt.KSToMB;
+        priv = xkb->latin1cvt.KSToMBPriv;
+    }
+    else {
+        cvtr = xkb->cvt.KSToMB;
+        priv = xkb->cvt.KSToMBPriv;
     }
 
-    n = (*cvtr)(priv,*sym_rtrn,buffer,nbytes,extra_rtrn);
-
-    if ((!xkb->cvt.KSToUpper)&&( mods&LockMask )) {
-       register int i;
-       int change;
-       char ch;
-       for (i=change=0;i<n;i++) {
-           ch= toupper(buffer[i]);
-           change= (change||(buffer[i]!=ch));
-           buffer[i] = ch;
-       }
-       if (change) {
-           if (n==1)
-               *sym_rtrn=(*xkb->cvt.MBToKS)(xkb->cvt.MBToKSPriv,buffer,n,NULL);
-           else *sym_rtrn= NoSymbol;
-       }
+    n = (*cvtr) (priv, *sym_rtrn, buffer, nbytes, extra_rtrn);
+
+    if ((!xkb->cvt.KSToUpper) && (mods & LockMask)) {
+        register int i;
+        int change;
+
+        for (i = change = 0; i < n; i++) {
+            char ch = toupper(buffer[i]);
+            change = (change || (buffer[i] != ch));
+            buffer[i] = ch;
+        }
+        if (change) {
+            if (n == 1)
+                *sym_rtrn =
+                    (*xkb->cvt.MBToKS) (xkb->cvt.MBToKSPriv, buffer, n, NULL);
+            else
+                *sym_rtrn = NoSymbol;
+        }
     }
 
-    if ( mods&ControlMask ) {
-       if ( n==1 ) {
-           buffer[0]= XkbToControl(buffer[0]);
-           if ( nbytes>1 )
-               buffer[1]= '\0';
-           return 1;
-       }
-       if ( nbytes > 0 )
-           buffer[0]= '\0';
-       return 0;
+    if (mods & ControlMask) {
+        if (n == 1) {
+            buffer[0] = XkbToControl(buffer[0]);
+            if (nbytes > 1)
+                buffer[1] = '\0';
+            return 1;
+        }
+        if (nbytes > 0)
+            buffer[0] = '\0';
+        return 0;
     }
     return n;
 }
 
 int
-XLookupString (        register XKeyEvent *    event,
-               char *                  buffer,
-               int                     nbytes,
-               KeySym *                keysym,
-               XComposeStatus *        status)
+XLookupString(register XKeyEvent *event,
+              char *buffer,
+              int nbytes,
+              KeySym *keysym,
+              XComposeStatus *status)
 {
-    KeySym     dummy;
+    KeySym dummy;
     int rtrnLen;
     unsigned int new_mods;
     Display *dpy = event->display;
 
-    if (keysym==NULL)
-       keysym= &dummy;
-    if (!XkbLookupKeySym(dpy,event->keycode,event->state, &new_mods,keysym))
-       return 0;
-    new_mods= (event->state&(~new_mods));
+    if (keysym == NULL)
+        keysym = &dummy;
+    if (!XkbLookupKeySym(dpy, event->keycode, event->state, &new_mods, keysym))
+        return 0;
+    new_mods = (event->state & (~new_mods));
 
     /* find the group where a symbol can be converted to control one */
-    if (new_mods&ControlMask && *keysym > 0x7F &&
-       (dpy->xkb_info->xlib_ctrls & XkbLC_ControlFallback)) {
-       XKeyEvent tmp_ev = *event;
-       KeySym tmp_keysym;
-       unsigned int tmp_new_mods;
-       if (_XkbUnavailable(dpy)) {
-            tmp_ev.state= event->state ^ dpy->mode_switch;
+    if (new_mods & ControlMask && *keysym > 0x7F &&
+        (dpy->xkb_info->xlib_ctrls & XkbLC_ControlFallback)) {
+        XKeyEvent tmp_ev = *event;
+        KeySym tmp_keysym;
+        unsigned int tmp_new_mods;
+
+        if (_XkbUnavailable(dpy)) {
+            tmp_ev.state = event->state ^ dpy->mode_switch;
             if (XkbLookupKeySym(dpy, tmp_ev.keycode, tmp_ev.state,
                                 &tmp_new_mods, &tmp_keysym) &&
-                tmp_keysym != NoSymbol && tmp_keysym < 0x80 ) {
+                tmp_keysym != NoSymbol && tmp_keysym < 0x80) {
                 *keysym = tmp_keysym;
             }
-        } else {
+        }
+        else {
             int n = XkbKeyNumGroups(dpy->xkb_info->desc, tmp_ev.keycode);
             int i;
+
             for (i = 0; i < n; i++) {
                 if (XkbGroupForCoreState(event->state) == i)
                     continue;
-                tmp_ev.state= XkbBuildCoreState(tmp_ev.state, i);
+                tmp_ev.state = XkbBuildCoreState(tmp_ev.state, i);
                 if (XkbLookupKeySym(dpy, tmp_ev.keycode, tmp_ev.state,
-                                     &tmp_new_mods, &tmp_keysym) &&
-                    tmp_keysym != NoSymbol && tmp_keysym < 0x80 ) {
+                                    &tmp_new_mods, &tmp_keysym) &&
+                    tmp_keysym != NoSymbol && tmp_keysym < 0x80) {
                     *keysym = tmp_keysym;
-                    new_mods= (event->state&(~tmp_new_mods));
+                    new_mods = (event->state & (~tmp_new_mods));
                     break;
                 }
             }
@@ -698,96 +726,99 @@ XLookupString (   register XKeyEvent *    event,
     }
 
 #ifdef USE_OWN_COMPOSE
-    if ( status ) {
-       static int been_here= 0;
-       if ( !been_here ) {
-           XimCompInitTables();
-           been_here = 1;
-       }
-       if ( !XimCompLegalStatus(status) ) {
-           status->compose_ptr = NULL;
-           status->chars_matched = 0;
-       }
-       if ( ((status->chars_matched>0)&&(status->compose_ptr!=NULL)) ||
-               XimCompIsComposeKey(*keysym,event->keycode,status) ) {
-           XimCompRtrn rtrn;
-
-           switch (XimCompProcessSym(status,*keysym,&rtrn)) {
-               case XIM_COMP_IGNORE:
-                   break;
-               case XIM_COMP_IN_PROGRESS:
-                   if ( keysym!=NULL )
-                       *keysym = NoSymbol;
+    if (status) {
+        static int been_here = 0;
+
+        if (!been_here) {
+            XimCompInitTables();
+            been_here = 1;
+        }
+        if (!XimCompLegalStatus(status)) {
+            status->compose_ptr = NULL;
+            status->chars_matched = 0;
+        }
+        if (((status->chars_matched > 0) && (status->compose_ptr != NULL)) ||
+            XimCompIsComposeKey(*keysym, event->keycode, status)) {
+            XimCompRtrn rtrn;
+
+            switch (XimCompProcessSym(status, *keysym, &rtrn)) {
+            case XIM_COMP_IGNORE:
+                break;
+            case XIM_COMP_IN_PROGRESS:
+                if (keysym != NULL)
+                    *keysym = NoSymbol;
 #ifndef NO_COMPOSE_LED
-                   if ( dpy->xkb_info->xlib_ctrls&XkbLC_ComposeLED ) {
-                       XkbSetNamedIndicator(dpy,dpy->xkb_info->composeLED,
-                                               True,True,False,NULL);
-                   }
+                if (dpy->xkb_info->xlib_ctrls & XkbLC_ComposeLED) {
+                    XkbSetNamedIndicator(dpy, dpy->xkb_info->composeLED,
+                                         True, True, False, NULL);
+                }
 #endif
-                   return 0;
-               case XIM_COMP_FAIL:
-               {
-                   static Atom _ComposeFail= None;
-                   int n = 0, len= 0;
+                return 0;
+            case XIM_COMP_FAIL:
+            {
+                static Atom _ComposeFail = None;
+                int n = 0, len = 0;
+
 #ifndef NO_COMPOSE_LED
-                   if ( dpy->xkb_info->xlib_ctrls&XkbLC_ComposeLED ) {
-                       XkbSetNamedIndicator(dpy,dpy->xkb_info->composeLED,
-                                               True,False,False,NULL);
-                   }
+                if (dpy->xkb_info->xlib_ctrls & XkbLC_ComposeLED) {
+                    XkbSetNamedIndicator(dpy, dpy->xkb_info->composeLED,
+                                         True, False, False, NULL);
+                }
 #endif
 #ifndef NO_BELL_ON_COMPOSE_FAIL
-                   if (dpy->xkb_info->xlib_ctrls&XkbLC_BeepOnComposeFail) {
-                       if (_ComposeFail==None)
-                           _ComposeFail= XInternAtom(dpy,"ComposeFail",0);
-                       XkbBell(dpy,event->window,0,_ComposeFail);
-                   }
+                if (dpy->xkb_info->xlib_ctrls & XkbLC_BeepOnComposeFail) {
+                    if (_ComposeFail == None)
+                        _ComposeFail = XInternAtom(dpy, "ComposeFail", 0);
+                    XkbBell(dpy, event->window, 0, _ComposeFail);
+                }
 #endif
-                   for (n=len=0;rtrn.sym[n]!=XK_VoidSymbol;n++) {
-                       if ( nbytes-len > 0 ) {
-                           len+= XkbTranslateKeySym(dpy,&rtrn.sym[n],new_mods,
-                                                       buffer+len,nbytes-len,
-                                                       NULL);
-                       }
-                   }
-                   if ( keysym!=NULL ) {
-                       if ( n==1 )     *keysym = rtrn.sym[0];
-                       else            *keysym = NoSymbol;
-                   }
-                   return len;
-               }
-               case XIM_COMP_SUCCEED:
-               {
-                   int len,n = 0;
+                for (n = len = 0; rtrn.sym[n] != XK_VoidSymbol; n++) {
+                    if (nbytes - len > 0) {
+                        len += XkbTranslateKeySym(dpy, &rtrn.sym[n], new_mods,
+                                                  buffer + len, nbytes - len,
+                                                  NULL);
+                    }
+                }
+                if (keysym != NULL) {
+                    if (n == 1)
+                        *keysym = rtrn.sym[0];
+                    else
+                        *keysym = NoSymbol;
+                }
+                return len;
+            }
+            case XIM_COMP_SUCCEED:
+            {
+                int len, n = 0;
 
 #ifndef NO_COMPOSE_LED
-                   if ( dpy->xkb_info->xlib_ctrls&XkbLC_ComposeLED ) {
-                       XkbSetNamedIndicator(dpy,dpy->xkb_info->composeLED,
-                                               True,False,False,NULL);
-                   }
+                if (dpy->xkb_info->xlib_ctrls & XkbLC_ComposeLED) {
+                    XkbSetNamedIndicator(dpy, dpy->xkb_info->composeLED,
+                                         True, False, False, NULL);
+                }
 #endif
-                   *keysym = rtrn.matchSym;
-                   if ( rtrn.str[0]!='\0' ) {
-                       strncpy(buffer,rtrn.str,nbytes-1);
-                       buffer[nbytes-1]= '\0';
-                       len = (int)strlen(buffer);
-                   }
-                   else {
-                       len = XkbTranslateKeySym(dpy,keysym,new_mods,
-                                                       buffer,nbytes,
-                                                       NULL);
-                   }
-                   for (n=0;rtrn.sym[n]!=XK_VoidSymbol;n++) {
-                       if ( nbytes-len > 0 ) {
-                           len+= XkbTranslateKeySym(dpy,&rtrn.sym[n],
-                                                       event->state,
-                                                       buffer+len,nbytes-len,
-                                                       NULL);
-                       }
-                   }
-                   return len;
-               }
-           }
-       }
+                *keysym = rtrn.matchSym;
+                if (rtrn.str[0] != '\0') {
+                    strncpy(buffer, rtrn.str, nbytes - 1);
+                    buffer[nbytes - 1] = '\0';
+                    len = (int) strlen(buffer);
+                }
+                else {
+                    len = XkbTranslateKeySym(dpy, keysym, new_mods,
+                                             buffer, nbytes, NULL);
+                }
+                for (n = 0; rtrn.sym[n] != XK_VoidSymbol; n++) {
+                    if (nbytes - len > 0) {
+                        len += XkbTranslateKeySym(dpy, &rtrn.sym[n],
+                                                  event->state,
+                                                  buffer + len, nbytes - len,
+                                                  NULL);
+                    }
+                }
+                return len;
+            }
+            }
+        }
     }
 #endif
 
@@ -795,54 +826,61 @@ XLookupString (   register XKeyEvent *    event,
     /* that were used to compute the symbol here, but pre-XKB XLookupString */
     /* did not and we have to remain compatible.  Sigh. */
     if (_XkbUnavailable(dpy) ||
-       (dpy->xkb_info->xlib_ctrls&XkbLC_ConsumeLookupMods)==0)
-       new_mods= event->state;
+        (dpy->xkb_info->xlib_ctrls & XkbLC_ConsumeLookupMods) == 0)
+        new_mods = event->state;
 
-    rtrnLen= XkbLookupKeyBinding(dpy,*keysym,new_mods,buffer,nbytes,NULL);
-    if (rtrnLen>0)
-       return rtrnLen;
+    rtrnLen = XkbLookupKeyBinding(dpy, *keysym, new_mods, buffer, nbytes, NULL);
+    if (rtrnLen > 0)
+        return rtrnLen;
 
-    return XkbTranslateKeySym(dpy,keysym,new_mods,buffer,nbytes,NULL);
+    return XkbTranslateKeySym(dpy, keysym, new_mods, buffer, nbytes, NULL);
 }
 
 
 int
-XkbLookupKeyBinding(   Display *               dpy,
-                       register KeySym         sym,
-                       unsigned int            mods,
-                       char *                  buffer,
-                       int                     nbytes,
-                       int *                   extra_rtrn)
+XkbLookupKeyBinding(Display *dpy,
+                    register KeySym sym,
+                    unsigned int mods,
+                    char *buffer,
+                    int nbytes,
+                    int *extra_rtrn)
 {
     register struct _XKeytrans *p;
 
     if (extra_rtrn)
-       *extra_rtrn= 0;
+        *extra_rtrn = 0;
     for (p = dpy->key_bindings; p; p = p->next) {
-       if (((mods & AllMods) == p->state) && (sym == p->key)) {
-           int tmp = p->len;
-           if (tmp > nbytes) {
-               if (extra_rtrn)
-                   *extra_rtrn= (tmp-nbytes);
-               tmp = nbytes;
-           }
-           memcpy (buffer, p->string, tmp);
-           if (tmp < nbytes)   buffer[tmp]= '\0';
-           return tmp;
-       }
+        if (((mods & AllMods) == p->state) && (sym == p->key)) {
+            int tmp = p->len;
+
+            if (tmp > nbytes) {
+                if (extra_rtrn)
+                    *extra_rtrn = (tmp - nbytes);
+                tmp = nbytes;
+            }
+            memcpy(buffer, p->string, tmp);
+            if (tmp < nbytes)
+                buffer[tmp] = '\0';
+            return tmp;
+        }
     }
     return 0;
 }
 
 char
-XkbToControl( char ch )
+XkbToControl(char ch)
 {
     register char c = ch;
 
-    if ((c >= '@' && c < '\177') || c == ' ') c &= 0x1F;
-    else if (c == '2') c = '\000';
-    else if (c >= '3' && c <= '7') c -= ('3' - '\033');
-    else if (c == '8') c = '\177';
-    else if (c == '/') c = '_' & 0x1F;
+    if ((c >= '@' && c < '\177') || c == ' ')
+        c &= 0x1F;
+    else if (c == '2')
+        c = '\000';
+    else if (c >= '3' && c <= '7')
+        c -= ('3' - '\033');
+    else if (c == '8')
+        c = '\177';
+    else if (c == '/')
+        c = '_' & 0x1F;
     return c;
 }
index 206b0c9..227791b 100644 (file)
@@ -34,191 +34,196 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include "XKBlibint.h"
 
 Status
-_XkbReadGetCompatMapReply(     Display *               dpy,
-                               xkbGetCompatMapReply *  rep,
-                               XkbDescPtr              xkb,
-                               int     *               nread_rtrn)
+_XkbReadGetCompatMapReply(Display *dpy,
+                          xkbGetCompatMapReply *rep,
+                          XkbDescPtr xkb,
+                          int *nread_rtrn)
 {
-register int           i;
-XkbReadBufferRec       buf;
+    register int i;
+    XkbReadBufferRec buf;
 
-    if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
-       return BadAlloc;
+    if (!_XkbInitReadBuffer(dpy, &buf, (int) rep->length * 4))
+        return BadAlloc;
 
     if (nread_rtrn)
-       *nread_rtrn= (int)rep->length*4;
-
-    i= rep->firstSI+rep->nSI;
-    if ((!xkb->compat)&&
-       (XkbAllocCompatMap(xkb,XkbAllCompatMask,i)!=Success))
-       return BadAlloc;
-
-    if (rep->nSI!=0) {
-       XkbSymInterpretRec *syms;
-       xkbSymInterpretWireDesc *wire;
-
-       wire= (xkbSymInterpretWireDesc *)_XkbGetReadBufferPtr(&buf,
-                                  rep->nSI*SIZEOF(xkbSymInterpretWireDesc));
-       if (wire==NULL)
-           goto BAILOUT;
-       syms= &xkb->compat->sym_interpret[rep->firstSI];
-
-       for (i=0;i<rep->nSI;i++,syms++,wire++) {
-           syms->sym= wire->sym;
-           syms->mods= wire->mods;
-           syms->match= wire->match;
-           syms->virtual_mod= wire->virtualMod;
-           syms->flags= wire->flags;
-           syms->act= *((XkbAnyAction *)&wire->act);
-       }
-       xkb->compat->num_si+= rep->nSI;
+        *nread_rtrn = (int) rep->length * 4;
+
+    i = rep->firstSI + rep->nSI;
+    if ((!xkb->compat) &&
+        (XkbAllocCompatMap(xkb, XkbAllCompatMask, i) != Success))
+        return BadAlloc;
+
+    if (rep->nSI != 0) {
+        XkbSymInterpretRec *syms;
+        xkbSymInterpretWireDesc *wire;
+
+        wire = (xkbSymInterpretWireDesc *) _XkbGetReadBufferPtr(&buf,
+            rep->nSI * SIZEOF (xkbSymInterpretWireDesc));
+        if (wire == NULL)
+            goto BAILOUT;
+        syms = &xkb->compat->sym_interpret[rep->firstSI];
+
+        for (i = 0; i < rep->nSI; i++, syms++, wire++) {
+            syms->sym = wire->sym;
+            syms->mods = wire->mods;
+            syms->match = wire->match;
+            syms->virtual_mod = wire->virtualMod;
+            syms->flags = wire->flags;
+            syms->act = *((XkbAnyAction *) &wire->act);
+        }
+        xkb->compat->num_si += rep->nSI;
     }
 
-    if (rep->groups&XkbAllGroupsMask) {
-       register unsigned       bit,nGroups;
-       xkbModsWireDesc *       wire;
-       for (i=0,nGroups=0,bit=1;i<XkbNumKbdGroups;i++,bit<<=1) {
-           if (rep->groups&bit)
-               nGroups++;
-       }
-       wire= (xkbModsWireDesc *)_XkbGetReadBufferPtr(&buf,
-                                 nGroups*SIZEOF(xkbModsWireDesc));
-       if (wire==NULL)
-           goto BAILOUT;
-       for (i=0,bit=1;i<XkbNumKbdGroups;i++,bit<<=1) {
-           if ((rep->groups&bit)==0)
-               continue;
-           xkb->compat->groups[i].mask= wire->mask;
-           xkb->compat->groups[i].real_mods= wire->realMods;
-           xkb->compat->groups[i].vmods= wire->virtualMods;
-           wire++;
-       }
+    if (rep->groups & XkbAllGroupsMask) {
+        register unsigned bit, nGroups;
+        xkbModsWireDesc *wire;
+
+        for (i = 0, nGroups = 0, bit = 1; i < XkbNumKbdGroups; i++, bit <<= 1) {
+            if (rep->groups & bit)
+                nGroups++;
+        }
+        wire = (xkbModsWireDesc *)
+            _XkbGetReadBufferPtr(&buf, nGroups * SIZEOF(xkbModsWireDesc));
+        if (wire == NULL)
+            goto BAILOUT;
+        for (i = 0, bit = 1; i < XkbNumKbdGroups; i++, bit <<= 1) {
+            if ((rep->groups & bit) == 0)
+                continue;
+            xkb->compat->groups[i].mask = wire->mask;
+            xkb->compat->groups[i].real_mods = wire->realMods;
+            xkb->compat->groups[i].vmods = wire->virtualMods;
+            wire++;
+        }
     }
-    i= _XkbFreeReadBuffer(&buf);
+    i = _XkbFreeReadBuffer(&buf);
     if (i)
-       fprintf(stderr,"CompatMapReply! Bad length (%d extra bytes)\n",i);
+        fprintf(stderr, "CompatMapReply! Bad length (%d extra bytes)\n", i);
     if (i || buf.error)
-       return BadLength;
+        return BadLength;
     return Success;
-BAILOUT:
+ BAILOUT:
     _XkbFreeReadBuffer(&buf);
     return BadLength;
 }
 
 Status
-XkbGetCompatMap(Display *dpy,unsigned which,XkbDescPtr xkb)
+XkbGetCompatMap(Display *dpy, unsigned which, XkbDescPtr xkb)
 {
     register xkbGetCompatMapReq *req;
-    xkbGetCompatMapReply        rep;
-    Status                     status;
+    xkbGetCompatMapReply rep;
+    Status status;
     XkbInfoPtr xkbi;
 
-    if ( (!dpy) || (!xkb) || (dpy->flags & XlibDisplayNoXkb) ||
-       ((xkb->dpy!=NULL)&&(xkb->dpy!=dpy)) ||
-       (!dpy->xkb_info && (!XkbUseExtension(dpy,NULL,NULL))))
-       return BadAccess;
+    if ((!dpy) || (!xkb) || (dpy->flags & XlibDisplayNoXkb) ||
+        ((xkb->dpy != NULL) && (xkb->dpy != dpy)) ||
+        (!dpy->xkb_info && (!XkbUseExtension(dpy, NULL, NULL))))
+        return BadAccess;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetCompatMap, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetCompatMap;
     req->deviceSpec = xkb->device_spec;
-    if (which&XkbSymInterpMask)
-        req->getAllSI= True;
-    else req->getAllSI= False;
-    req->firstSI= req->nSI= 0;
-
-    if (which&XkbGroupCompatMask)
-        req->groups= XkbAllGroupsMask;
-    else req->groups=  0;
-
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadLength;
+    if (which & XkbSymInterpMask)
+        req->getAllSI = True;
+    else
+        req->getAllSI = False;
+    req->firstSI = req->nSI = 0;
+
+    if (which & XkbGroupCompatMask)
+        req->groups = XkbAllGroupsMask;
+    else
+        req->groups = 0;
+
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadLength;
     }
-    if (xkb->dpy==NULL)
-       xkb->dpy= dpy;
-    if (xkb->device_spec==XkbUseCoreKbd)
-       xkb->device_spec= rep.deviceID;
+    if (xkb->dpy == NULL)
+        xkb->dpy = dpy;
+    if (xkb->device_spec == XkbUseCoreKbd)
+        xkb->device_spec = rep.deviceID;
 
-    status = _XkbReadGetCompatMapReply(dpy,&rep,xkb,NULL);
+    status = _XkbReadGetCompatMapReply(dpy, &rep, xkb, NULL);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
 }
 
 static Bool
-_XkbWriteSetCompatMap(Display *dpy,xkbSetCompatMapReq *req,XkbDescPtr xkb)
+_XkbWriteSetCompatMap(Display *dpy, xkbSetCompatMapReq *req, XkbDescPtr xkb)
 {
-CARD16                 firstSI;
-CARD16                 nSI;
-int                    size;
-register int           i,nGroups;
-register unsigned      bit;
-unsigned               groups;
-char *                 buf;
+    CARD16 firstSI;
+    CARD16 nSI;
+    int size;
+    register int i, nGroups;
+    register unsigned bit;
+    unsigned groups;
+    char *buf;
 
     firstSI = req->firstSI;
     nSI = req->nSI;
-    size= nSI*SIZEOF(xkbSymInterpretWireDesc);
-    nGroups= 0;
-    groups= req->groups;
-    if (groups&XkbAllGroupsMask) {
-       for (i=0,bit=1;i<XkbNumKbdGroups;i++,bit<<=1) {
-           if (groups&bit)
-               nGroups++;
-       }
-       size+= SIZEOF(xkbModsWireDesc)*nGroups;
+    size = nSI * SIZEOF(xkbSymInterpretWireDesc);
+    nGroups = 0;
+    groups = req->groups;
+    if (groups & XkbAllGroupsMask) {
+        for (i = 0, bit = 1; i < XkbNumKbdGroups; i++, bit <<= 1) {
+            if (groups & bit)
+                nGroups++;
+        }
+        size += SIZEOF(xkbModsWireDesc) * nGroups;
     }
-    req->length+= size/4;
-    BufAlloc(char *,buf,size);
+    req->length += size / 4;
+    BufAlloc(char *, buf, size);
+
     if (!buf)
-       return False;
+        return False;
 
     if (nSI) {
-       XkbSymInterpretPtr sym= &xkb->compat->sym_interpret[firstSI];
-       xkbSymInterpretWireDesc *wire= (xkbSymInterpretWireDesc *)buf;
-       for (i=0;i<nSI;i++,wire++,sym++) {
-           wire->sym= (CARD32)sym->sym;
-           wire->mods= sym->mods;
-           wire->match= sym->match;
-           wire->flags= sym->flags;
-           wire->virtualMod= sym->virtual_mod;
-           memcpy(&wire->act,&sym->act,sz_xkbActionWireDesc);
-       }
-       buf+= nSI*SIZEOF(xkbSymInterpretWireDesc);
+        XkbSymInterpretPtr sym = &xkb->compat->sym_interpret[firstSI];
+        xkbSymInterpretWireDesc *wire = (xkbSymInterpretWireDesc *) buf;
+
+        for (i = 0; i < nSI; i++, wire++, sym++) {
+            wire->sym = (CARD32) sym->sym;
+            wire->mods = sym->mods;
+            wire->match = sym->match;
+            wire->flags = sym->flags;
+            wire->virtualMod = sym->virtual_mod;
+            memcpy(&wire->act, &sym->act, sz_xkbActionWireDesc);
+        }
+        buf += nSI * SIZEOF(xkbSymInterpretWireDesc);
     }
-    if (groups&XkbAllGroupsMask) {
-       xkbModsWireDesc *       out;
-
-       out= (xkbModsWireDesc *)buf;
-       for (i=0,bit=1;i<XkbNumKbdGroups;i++,bit<<=1) {
-           if ((groups&bit)!=0) {
-               out->mask= xkb->compat->groups[i].mask;
-               out->realMods= xkb->compat->groups[i].real_mods;
-               out->virtualMods=  xkb->compat->groups[i].vmods;
-               out++;
-           }
-       }
-       buf+= nGroups*SIZEOF(xkbModsWireDesc);
+    if (groups & XkbAllGroupsMask) {
+        xkbModsWireDesc *out = (xkbModsWireDesc *) buf;
+
+        for (i = 0, bit = 1; i < XkbNumKbdGroups; i++, bit <<= 1) {
+            if ((groups & bit) != 0) {
+                out->mask = xkb->compat->groups[i].mask;
+                out->realMods = xkb->compat->groups[i].real_mods;
+                out->virtualMods = xkb->compat->groups[i].vmods;
+                out++;
+            }
+        }
+        buf += nGroups * SIZEOF(xkbModsWireDesc);
     }
     return True;
 }
 
 Bool
-XkbSetCompatMap(Display *dpy,unsigned which,XkbDescPtr xkb,Bool updateActions)
+XkbSetCompatMap(Display *dpy, unsigned which, XkbDescPtr xkb,
+                Bool updateActions)
 {
     register xkbSetCompatMapReq *req;
-    Status                  ok;
+    Status ok;
     XkbInfoPtr xkbi;
 
-    if ((dpy->flags & XlibDisplayNoXkb) || (dpy!=xkb->dpy) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+    if ((dpy->flags & XlibDisplayNoXkb) || (dpy != xkb->dpy) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     if ((!xkb->compat) ||
-       ((which&XkbSymInterpMask)&&(!xkb->compat->sym_interpret)))
-       return False;
+        ((which & XkbSymInterpMask) && (!xkb->compat->sym_interpret)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetCompatMap, req);
@@ -226,22 +231,22 @@ XkbSetCompatMap(Display *dpy,unsigned which,XkbDescPtr xkb,Bool updateActions)
     req->xkbReqType = X_kbSetCompatMap;
     req->deviceSpec = xkb->device_spec;
     req->recomputeActions = updateActions;
-    if (which&XkbSymInterpMask) {
-       req->truncateSI = True;
-       req->firstSI= 0;
-       req->nSI= xkb->compat->num_si;
+    if (which & XkbSymInterpMask) {
+        req->truncateSI = True;
+        req->firstSI = 0;
+        req->nSI = xkb->compat->num_si;
     }
     else {
-       req->truncateSI = False;
-       req->firstSI= 0;
-       req->nSI= 0;
+        req->truncateSI = False;
+        req->firstSI = 0;
+        req->nSI = 0;
     }
-    if (which&XkbGroupCompatMask)
-        req->groups= XkbAllGroupsMask;
-    else req->groups=  0;
-    ok= _XkbWriteSetCompatMap(dpy,req,xkb);
+    if (which & XkbGroupCompatMask)
+        req->groups = XkbAllGroupsMask;
+    else
+        req->groups = 0;
+    ok = _XkbWriteSetCompatMap(dpy, req, xkb);
     UnlockDisplay(dpy);
     SyncHandle();
     return ok;
 }
-
index 2b33b30..35a34b8 100644 (file)
@@ -34,32 +34,32 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 
 static xkbSetControlsReq *
-_XkbGetSetControlsReq(Display *dpy,XkbInfoPtr xkbi,unsigned int deviceSpec)
+_XkbGetSetControlsReq(Display *dpy, XkbInfoPtr xkbi, unsigned int deviceSpec)
 {
-xkbSetControlsReq *req;
+    xkbSetControlsReq *req;
 
-    GetReq(kbSetControls,req);
-    bzero(req,SIZEOF(xkbSetControlsReq));
+    GetReq(kbSetControls, req);
+    bzero(req, SIZEOF(xkbSetControlsReq));
     req->reqType = xkbi->codes->major_opcode;
-    req->length = (SIZEOF(xkbSetControlsReq)>>2);
+    req->length = (SIZEOF(xkbSetControlsReq) >> 2);
     req->xkbReqType = X_kbSetControls;
     req->deviceSpec = deviceSpec;
     return req;
 }
 
 Bool
-XkbSetAutoRepeatRate(  Display *dpy,
-                       unsigned int deviceSpec,
-                       unsigned int timeout,
-                       unsigned int interval)
+XkbSetAutoRepeatRate(Display *dpy,
+                     unsigned int deviceSpec,
+                     unsigned int timeout,
+                     unsigned int interval)
 {
     register xkbSetControlsReq *req;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
-    req= _XkbGetSetControlsReq(dpy,dpy->xkb_info,deviceSpec);
+    req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, deviceSpec);
     req->changeCtrls = XkbRepeatKeysMask;
     req->repeatDelay = timeout;
     req->repeatInterval = interval;
@@ -69,29 +69,29 @@ XkbSetAutoRepeatRate(       Display *dpy,
 }
 
 Bool
-XkbGetAutoRepeatRate(  Display *       dpy,
-                       unsigned int    deviceSpec,
-                       unsigned int *  timeoutp,
-                       unsigned int *  intervalp)
+XkbGetAutoRepeatRate(Display *dpy,
+                     unsigned int deviceSpec,
+                     unsigned int *timeoutp,
+                     unsigned int *intervalp)
 {
     register xkbGetControlsReq *req;
     xkbGetControlsReply rep;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetControls, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetControls;
     req->deviceSpec = deviceSpec;
-    if (!_XReply(dpy, (xReply *)&rep,
-               (SIZEOF(xkbGetControlsReply)-SIZEOF(xReply))>>2, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    if (!_XReply(dpy, (xReply *) &rep,
+                 (SIZEOF(xkbGetControlsReply) - SIZEOF(xReply)) >> 2, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -101,24 +101,24 @@ XkbGetAutoRepeatRate(     Display *       dpy,
 }
 
 Bool
-XkbSetServerInternalMods(      Display *       dpy,
-                               unsigned        deviceSpec,
-                               unsigned        affectReal,
-                               unsigned        realValues,
-                               unsigned        affectVirtual,
-                               unsigned        virtualValues)
+XkbSetServerInternalMods(Display *dpy,
+                         unsigned deviceSpec,
+                         unsigned affectReal,
+                         unsigned realValues,
+                         unsigned affectVirtual,
+                         unsigned virtualValues)
 {
     register xkbSetControlsReq *req;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
-    req= _XkbGetSetControlsReq(dpy,dpy->xkb_info,deviceSpec);
+    req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, deviceSpec);
     req->affectInternalMods = affectReal;
     req->internalMods = realValues;
-    req->affectInternalVMods= affectVirtual;
-    req->internalVMods= virtualValues;
+    req->affectInternalVMods = affectVirtual;
+    req->internalVMods = virtualValues;
     req->changeCtrls = XkbInternalModsMask;
     UnlockDisplay(dpy);
     SyncHandle();
@@ -126,24 +126,24 @@ XkbSetServerInternalMods( Display *       dpy,
 }
 
 Bool
-XkbSetIgnoreLockMods(  Display *       dpy,
-                       unsigned int    deviceSpec,
-                       unsigned        affectReal,
-                       unsigned        realValues,
-                       unsigned        affectVirtual,
-                       unsigned        virtualValues)
+XkbSetIgnoreLockMods(Display *dpy,
+                     unsigned int deviceSpec,
+                     unsigned affectReal,
+                     unsigned realValues,
+                     unsigned affectVirtual,
+                     unsigned virtualValues)
 {
     register xkbSetControlsReq *req;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
-    req= _XkbGetSetControlsReq(dpy,dpy->xkb_info,deviceSpec);
-    req->affectIgnoreLockMods= affectReal;
+    req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, deviceSpec);
+    req->affectIgnoreLockMods = affectReal;
     req->ignoreLockMods = realValues;
-    req->affectIgnoreLockVMods= affectVirtual;
-    req->ignoreLockVMods= virtualValues;
+    req->affectIgnoreLockVMods = affectVirtual;
+    req->ignoreLockVMods = virtualValues;
     req->changeCtrls = XkbIgnoreLockModsMask;
     UnlockDisplay(dpy);
     SyncHandle();
@@ -151,20 +151,20 @@ XkbSetIgnoreLockMods(     Display *       dpy,
 }
 
 Bool
-XkbChangeEnabledControls(      Display *       dpy,
-                               unsigned        deviceSpec,
-                               unsigned        affect,
-                               unsigned        values)
+XkbChangeEnabledControls(Display *dpy,
+                         unsigned deviceSpec,
+                         unsigned affect,
+                         unsigned values)
 {
     register xkbSetControlsReq *req;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
-    req= _XkbGetSetControlsReq(dpy,dpy->xkb_info,deviceSpec);
-    req->affectEnabledCtrls= affect;
-    req->enabledCtrls= (affect&values);
+    req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, deviceSpec);
+    req->affectEnabledCtrls = affect;
+    req->enabledCtrls = (affect & values);
     req->changeCtrls = XkbControlsEnabledMask;
     UnlockDisplay(dpy);
     SyncHandle();
@@ -176,91 +176,90 @@ XkbGetControls(Display *dpy, unsigned long which, XkbDescPtr xkb)
 {
     register xkbGetControlsReq *req;
     xkbGetControlsReply rep;
-    XkbControlsPtr     ctrls;
+    XkbControlsPtr ctrls;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     if ((!xkb) || (!which))
-       return BadMatch;
+        return BadMatch;
 
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetControls, req);
-    if (!xkb->ctrls)  {
-       xkb->ctrls = _XkbTypedCalloc(1,XkbControlsRec);
-       if (!xkb->ctrls) {
-           UnlockDisplay(dpy);
-           SyncHandle();
-           return BadAlloc;
-       }
+    if (!xkb->ctrls) {
+        xkb->ctrls = _XkbTypedCalloc(1, XkbControlsRec);
+        if (!xkb->ctrls) {
+            UnlockDisplay(dpy);
+            SyncHandle();
+            return BadAlloc;
+        }
     }
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetControls;
     req->deviceSpec = xkb->device_spec;
-    if (!_XReply(dpy, (xReply *)&rep,
-               (SIZEOF(xkbGetControlsReply)-SIZEOF(xReply))>>2, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadImplementation;
+    if (!_XReply(dpy, (xReply *) &rep,
+                 (SIZEOF(xkbGetControlsReply) - SIZEOF(xReply)) >> 2, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadImplementation;
     }
-    if (xkb->device_spec==XkbUseCoreKbd)
-       xkb->device_spec= rep.deviceID;
-    ctrls= xkb->ctrls;
-    if (which&XkbControlsEnabledMask)
-       ctrls->enabled_ctrls = rep.enabledCtrls;
-    ctrls->num_groups= rep.numGroups;
-    if (which&XkbGroupsWrapMask)
-       ctrls->groups_wrap= rep.groupsWrap;
-    if (which&XkbInternalModsMask) {
-       ctrls->internal.mask = rep.internalMods;
-       ctrls->internal.real_mods = rep.internalRealMods;
-       ctrls->internal.vmods = rep.internalVMods;
+    if (xkb->device_spec == XkbUseCoreKbd)
+        xkb->device_spec = rep.deviceID;
+    ctrls = xkb->ctrls;
+    if (which & XkbControlsEnabledMask)
+        ctrls->enabled_ctrls = rep.enabledCtrls;
+    ctrls->num_groups = rep.numGroups;
+    if (which & XkbGroupsWrapMask)
+        ctrls->groups_wrap = rep.groupsWrap;
+    if (which & XkbInternalModsMask) {
+        ctrls->internal.mask = rep.internalMods;
+        ctrls->internal.real_mods = rep.internalRealMods;
+        ctrls->internal.vmods = rep.internalVMods;
     }
-    if (which&XkbIgnoreLockModsMask) {
-       ctrls->ignore_lock.mask = rep.ignoreLockMods;
-       ctrls->ignore_lock.real_mods = rep.ignoreLockRealMods;
-       ctrls->ignore_lock.vmods = rep.ignoreLockVMods;
+    if (which & XkbIgnoreLockModsMask) {
+        ctrls->ignore_lock.mask = rep.ignoreLockMods;
+        ctrls->ignore_lock.real_mods = rep.ignoreLockRealMods;
+        ctrls->ignore_lock.vmods = rep.ignoreLockVMods;
     }
-    if (which&XkbRepeatKeysMask) {
-       ctrls->repeat_delay = rep.repeatDelay;
-       ctrls->repeat_interval = rep.repeatInterval;
+    if (which & XkbRepeatKeysMask) {
+        ctrls->repeat_delay = rep.repeatDelay;
+        ctrls->repeat_interval = rep.repeatInterval;
     }
-    if (which&XkbSlowKeysMask)
-       ctrls->slow_keys_delay = rep.slowKeysDelay;
-    if (which&XkbBounceKeysMask)
-       ctrls->debounce_delay = rep.debounceDelay;
-    if (which&XkbMouseKeysMask) {
-       ctrls->mk_dflt_btn = rep.mkDfltBtn;
+    if (which & XkbSlowKeysMask)
+        ctrls->slow_keys_delay = rep.slowKeysDelay;
+    if (which & XkbBounceKeysMask)
+        ctrls->debounce_delay = rep.debounceDelay;
+    if (which & XkbMouseKeysMask) {
+        ctrls->mk_dflt_btn = rep.mkDfltBtn;
     }
-    if (which&XkbMouseKeysAccelMask) {
-       ctrls->mk_delay = rep.mkDelay;
-       ctrls->mk_interval = rep.mkInterval;
-       ctrls->mk_time_to_max = rep.mkTimeToMax;
-       ctrls->mk_max_speed = rep.mkMaxSpeed;
-       ctrls->mk_curve = rep.mkCurve;
+    if (which & XkbMouseKeysAccelMask) {
+        ctrls->mk_delay = rep.mkDelay;
+        ctrls->mk_interval = rep.mkInterval;
+        ctrls->mk_time_to_max = rep.mkTimeToMax;
+        ctrls->mk_max_speed = rep.mkMaxSpeed;
+        ctrls->mk_curve = rep.mkCurve;
     }
-    if (which&XkbAccessXKeysMask)
-       ctrls->ax_options= rep.axOptions;
-    if (which&XkbStickyKeysMask) {
-       ctrls->ax_options &= ~XkbAX_SKOptionsMask;
-       ctrls->ax_options |= rep.axOptions & XkbAX_SKOptionsMask;
+    if (which & XkbAccessXKeysMask)
+        ctrls->ax_options = rep.axOptions;
+    if (which & XkbStickyKeysMask) {
+        ctrls->ax_options &= ~XkbAX_SKOptionsMask;
+        ctrls->ax_options |= rep.axOptions & XkbAX_SKOptionsMask;
     }
-    if (which&XkbAccessXFeedbackMask) {
-       ctrls->ax_options &= ~XkbAX_FBOptionsMask;
-       ctrls->ax_options |= rep.axOptions & XkbAX_FBOptionsMask;
+    if (which & XkbAccessXFeedbackMask) {
+        ctrls->ax_options &= ~XkbAX_FBOptionsMask;
+        ctrls->ax_options |= rep.axOptions & XkbAX_FBOptionsMask;
     }
-    if (which&XkbAccessXTimeoutMask) {
-       ctrls->ax_timeout = rep.axTimeout;
-       ctrls->axt_ctrls_mask = rep.axtCtrlsMask;
-       ctrls->axt_ctrls_values = rep.axtCtrlsValues;
-       ctrls->axt_opts_mask = rep.axtOptsMask;
-       ctrls->axt_opts_values= rep.axtOptsValues;
+    if (which & XkbAccessXTimeoutMask) {
+        ctrls->ax_timeout = rep.axTimeout;
+        ctrls->axt_ctrls_mask = rep.axtCtrlsMask;
+        ctrls->axt_ctrls_values = rep.axtCtrlsValues;
+        ctrls->axt_opts_mask = rep.axtOptsMask;
+        ctrls->axt_opts_values = rep.axtOptsValues;
     }
-    if (which&XkbPerKeyRepeatMask) {
-       memcpy(ctrls->per_key_repeat,rep.perKeyRepeat,
-                                         XkbPerKeyBitArraySize);
+    if (which & XkbPerKeyRepeatMask) {
+        memcpy(ctrls->per_key_repeat, rep.perKeyRepeat, XkbPerKeyBitArraySize);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -271,66 +270,66 @@ Bool
 XkbSetControls(Display *dpy, unsigned long which, XkbDescPtr xkb)
 {
     register xkbSetControlsReq *req;
-    XkbControlsPtr     ctrls;
+    XkbControlsPtr ctrls;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!xkb)||(!xkb->ctrls))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!xkb) || (!xkb->ctrls))
+        return False;
 
-    ctrls= xkb->ctrls;
+    ctrls = xkb->ctrls;
     LockDisplay(dpy);
-    req= _XkbGetSetControlsReq(dpy,dpy->xkb_info,xkb->device_spec);
-    req->changeCtrls = (CARD32)which;
-    if (which&XkbInternalModsMask) {
-       req->affectInternalMods= ~0;
-       req->internalMods= ctrls->internal.real_mods;
-       req->affectInternalVMods = ~0;
-       req->internalVMods= ctrls->internal.vmods;
+    req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, xkb->device_spec);
+    req->changeCtrls = (CARD32) which;
+    if (which & XkbInternalModsMask) {
+        req->affectInternalMods = ~0;
+        req->internalMods = ctrls->internal.real_mods;
+        req->affectInternalVMods = ~0;
+        req->internalVMods = ctrls->internal.vmods;
     }
-    if (which&XkbIgnoreLockModsMask) {
-       req->affectIgnoreLockMods= ~0;
-       req->ignoreLockMods= ctrls->ignore_lock.real_mods;
-       req->affectIgnoreLockVMods= ~0;
-       req->ignoreLockVMods= ctrls->ignore_lock.vmods;
+    if (which & XkbIgnoreLockModsMask) {
+        req->affectIgnoreLockMods = ~0;
+        req->ignoreLockMods = ctrls->ignore_lock.real_mods;
+        req->affectIgnoreLockVMods = ~0;
+        req->ignoreLockVMods = ctrls->ignore_lock.vmods;
     }
-    if (which&XkbControlsEnabledMask) {
-       req->affectEnabledCtrls= XkbAllBooleanCtrlsMask;
-       req->enabledCtrls= ctrls->enabled_ctrls;
+    if (which & XkbControlsEnabledMask) {
+        req->affectEnabledCtrls = XkbAllBooleanCtrlsMask;
+        req->enabledCtrls = ctrls->enabled_ctrls;
     }
-    if (which&XkbRepeatKeysMask) {
-       req->repeatDelay = ctrls->repeat_delay;
-       req->repeatInterval = ctrls->repeat_interval;
+    if (which & XkbRepeatKeysMask) {
+        req->repeatDelay = ctrls->repeat_delay;
+        req->repeatInterval = ctrls->repeat_interval;
     }
-    if (which&XkbSlowKeysMask)
-        req->slowKeysDelay = ctrls->slow_keys_delay;
-    if (which&XkbBounceKeysMask)
-        req->debounceDelay = ctrls->debounce_delay;
-    if (which&XkbMouseKeysMask) {
-       req->mkDfltBtn = ctrls->mk_dflt_btn;
+    if (which & XkbSlowKeysMask)
+        req->slowKeysDelay = ctrls->slow_keys_delay;
+    if (which & XkbBounceKeysMask)
+        req->debounceDelay = ctrls->debounce_delay;
+    if (which & XkbMouseKeysMask) {
+        req->mkDfltBtn = ctrls->mk_dflt_btn;
     }
-    if (which&XkbGroupsWrapMask)
-       req->groupsWrap= ctrls->groups_wrap;
-    if (which&(XkbAccessXKeysMask|XkbStickyKeysMask|XkbAccessXFeedbackMask))
-       req->axOptions= ctrls->ax_options;
-    if (which&XkbMouseKeysAccelMask) {
-       req->mkDelay = ctrls->mk_delay;
-       req->mkInterval = ctrls->mk_interval;
-       req->mkTimeToMax = ctrls->mk_time_to_max;
-       req->mkMaxSpeed = ctrls->mk_max_speed;
-       req->mkCurve = ctrls->mk_curve;
+    if (which & XkbGroupsWrapMask)
+        req->groupsWrap = ctrls->groups_wrap;
+    if (which &
+        (XkbAccessXKeysMask | XkbStickyKeysMask | XkbAccessXFeedbackMask))
+        req->axOptions = ctrls->ax_options;
+    if (which & XkbMouseKeysAccelMask) {
+        req->mkDelay = ctrls->mk_delay;
+        req->mkInterval = ctrls->mk_interval;
+        req->mkTimeToMax = ctrls->mk_time_to_max;
+        req->mkMaxSpeed = ctrls->mk_max_speed;
+        req->mkCurve = ctrls->mk_curve;
     }
-    if (which&XkbAccessXTimeoutMask) {
-        req->axTimeout = ctrls->ax_timeout;
-        req->axtCtrlsMask = ctrls->axt_ctrls_mask;
-        req->axtCtrlsValues = ctrls->axt_ctrls_values;
-        req->axtOptsMask = ctrls->axt_opts_mask;
-        req->axtOptsValues=ctrls->axt_opts_values;
+    if (which & XkbAccessXTimeoutMask) {
+        req->axTimeout = ctrls->ax_timeout;
+        req->axtCtrlsMask = ctrls->axt_ctrls_mask;
+        req->axtCtrlsValues = ctrls->axt_ctrls_values;
+        req->axtOptsMask = ctrls->axt_opts_mask;
+        req->axtOptsValues = ctrls->axt_opts_values;
     }
-    if (which&XkbPerKeyRepeatMask) {
-       memcpy(req->perKeyRepeat,ctrls->per_key_repeat,
-                                       XkbPerKeyBitArraySize);
+    if (which & XkbPerKeyRepeatMask) {
+        memcpy(req->perKeyRepeat, ctrls->per_key_repeat, XkbPerKeyBitArraySize);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -340,13 +339,13 @@ XkbSetControls(Display *dpy, unsigned long which, XkbDescPtr xkb)
 /***====================================================================***/
 
 void
-XkbNoteControlsChanges(        XkbControlsChangesPtr           old,
-                       XkbControlsNotifyEvent *        new,
-                       unsigned int                    wanted)
+XkbNoteControlsChanges(XkbControlsChangesPtr old,
+                       XkbControlsNotifyEvent *new,
+                       unsigned int wanted)
 {
-    old->changed_ctrls|= (new->changed_ctrls&wanted);
-    if (new->changed_ctrls&XkbControlsEnabledMask&wanted)
-       old->enabled_ctrls_changes^= new->enabled_ctrl_changes;
+    old->changed_ctrls |= (new->changed_ctrls & wanted);
+    if (new->changed_ctrls & XkbControlsEnabledMask & wanted)
+        old->enabled_ctrls_changes ^= new->enabled_ctrl_changes;
     /* num_groups_changed?? */
     return;
 }
index da74fc0..5317a0a 100644 (file)
@@ -60,94 +60,99 @@ _XkbHandleSpecialSym(KeySym keysym, char *buffer, int nbytes, int *extra_rtrn)
 
     /* try to convert to Latin-1, handling ctrl */
     if (!(((keysym >= XK_BackSpace) && (keysym <= XK_Clear)) ||
-          (keysym == XK_Return) || (keysym == XK_Escape) ||
-          (keysym == XK_KP_Space) || (keysym == XK_KP_Tab) ||
-          (keysym == XK_KP_Enter) ||
-          ((keysym >= XK_KP_Multiply) && (keysym <= XK_KP_9)) ||
-          (keysym == XK_KP_Equal) ||
-          (keysym == XK_Delete)))
-       return 0;
-
-    if (nbytes<1) {
-       if (extra_rtrn)
-           *extra_rtrn= 1;
-       return 0;
+          (keysym == XK_Return) || (keysym == XK_Escape) ||
+          (keysym == XK_KP_Space) || (keysym == XK_KP_Tab) ||
+          (keysym == XK_KP_Enter) ||
+          ((keysym >= XK_KP_Multiply) && (keysym <= XK_KP_9)) ||
+          (keysym == XK_KP_Equal) || (keysym == XK_Delete)))
+        return 0;
+
+    if (nbytes < 1) {
+        if (extra_rtrn)
+            *extra_rtrn = 1;
+        return 0;
     }
     /* if X keysym, convert to ascii by grabbing low 7 bits */
     if (keysym == XK_KP_Space)
-        buffer[0] = XK_space & 0x7F; /* patch encoding botch */
+        buffer[0] = XK_space & 0x7F;            /* patch encoding botch */
     else if (keysym == XK_hyphen)
-        buffer[0] = (char)(XK_minus & 0xFF); /* map to equiv character */
-    else buffer[0] = (char)(keysym & 0x7F);
+        buffer[0] = (char) (XK_minus & 0xFF);   /* map to equiv character */
+    else
+        buffer[0] = (char) (keysym & 0x7F);
     return 1;
 }
 
 /*ARGSUSED*/
 static int
-_XkbKSToKnownSet (     XPointer        priv,
-                       KeySym          keysym,
-                       char *          buffer,
-                       int             nbytes,
-                       int *           extra_rtrn)
+_XkbKSToKnownSet(XPointer priv,
+                 KeySym keysym,
+                 char *buffer,
+                 int nbytes,
+                 int *extra_rtrn)
 {
-    char tbuf[8],*buf;
+    char tbuf[8], *buf;
 
     if (extra_rtrn)
-       *extra_rtrn= 0;
+        *extra_rtrn = 0;
 
     /* convert "dead" diacriticals for dumb applications */
-    if ( (keysym&0xffffff00)== 0xfe00 ) {
-       switch ( keysym ) {
-           case XK_dead_grave:         keysym = XK_grave; break;
-           case XK_dead_acute:         keysym = XK_acute; break;
-           case XK_dead_circumflex:    keysym = XK_asciicircum; break;
-           case XK_dead_tilde:         keysym = XK_asciitilde; break;
-           case XK_dead_macron:        keysym = XK_macron; break;
-           case XK_dead_breve:         keysym = XK_breve; break;
-           case XK_dead_abovedot:      keysym = XK_abovedot; break;
-           case XK_dead_diaeresis:     keysym = XK_diaeresis; break;
-           case XK_dead_abovering:     keysym = XK_degree; break;
-           case XK_dead_doubleacute:   keysym = XK_doubleacute; break;
-           case XK_dead_caron:         keysym = XK_caron; break;
-           case XK_dead_cedilla:       keysym = XK_cedilla; break;
-           case XK_dead_ogonek :       keysym = XK_ogonek; break;
-           case XK_dead_iota:          keysym = XK_Greek_iota; break;
+    if ((keysym & 0xffffff00) == 0xfe00) {
+        switch (keysym) {
+        case XK_dead_grave:            keysym = XK_grave; break;
+        case XK_dead_acute:            keysym = XK_acute; break;
+        case XK_dead_circumflex:       keysym = XK_asciicircum; break;
+        case XK_dead_tilde:            keysym = XK_asciitilde; break;
+        case XK_dead_macron:           keysym = XK_macron; break;
+        case XK_dead_breve:            keysym = XK_breve; break;
+        case XK_dead_abovedot:         keysym = XK_abovedot; break;
+        case XK_dead_diaeresis:        keysym = XK_diaeresis; break;
+        case XK_dead_abovering:        keysym = XK_degree; break;
+        case XK_dead_doubleacute:      keysym = XK_doubleacute; break;
+        case XK_dead_caron:            keysym = XK_caron; break;
+        case XK_dead_cedilla:          keysym = XK_cedilla; break;
+        case XK_dead_ogonek:           keysym = XK_ogonek; break;
+        case XK_dead_iota:             keysym = XK_Greek_iota; break;
 #ifdef XK_KATAKANA
-           case XK_dead_voiced_sound:  keysym = XK_voicedsound; break;
-           case XK_dead_semivoiced_sound:keysym = XK_semivoicedsound; break;
+        case XK_dead_voiced_sound:     keysym = XK_voicedsound; break;
+        case XK_dead_semivoiced_sound: keysym = XK_semivoicedsound; break;
 #endif
-       }
+        }
     }
 
-    if (nbytes<1)      buf= tbuf;
-    else               buf= buffer;
+    if (nbytes < 1)
+        buf = tbuf;
+    else
+        buf = buffer;
 
-    if ((keysym&0xffffff00)==0xff00) {
-       return _XkbHandleSpecialSym(keysym, buf, nbytes, extra_rtrn);
+    if ((keysym & 0xffffff00) == 0xff00) {
+        return _XkbHandleSpecialSym(keysym, buf, nbytes, extra_rtrn);
     }
-    return _XimGetCharCode (priv, keysym, (unsigned char *)buf, nbytes);
+    return _XimGetCharCode(priv, keysym, (unsigned char *) buf, nbytes);
 }
 
 typedef struct _XkbToKS {
-       unsigned         prefix;
-       char            *map;
+    unsigned prefix;
+    char *map;
 } XkbToKS;
 
 /*ARGSUSED*/
 static KeySym
-_XkbKnownSetToKS(XPointer priv,char *buffer,int nbytes,Status *status)
+_XkbKnownSetToKS(XPointer priv, char *buffer, int nbytes, Status *status)
 {
-    if (nbytes!=1)
-       return NoSymbol;
-    if (((buffer[0]&0x80)==0)&&(buffer[0]>=32))
-       return buffer[0];
-    else if ((buffer[0]&0x7f)>=32) {
-       XkbToKS *map= (XkbToKS *)priv;
-       if ( map ) {
-           if ( map->map )     return map->prefix|map->map[buffer[0]&0x7f];
-           else                return map->prefix|buffer[0];
-       }
-       return buffer[0];
+    if (nbytes != 1)
+        return NoSymbol;
+    if (((buffer[0] & 0x80) == 0) && (buffer[0] >= 32))
+        return buffer[0];
+    else if ((buffer[0] & 0x7f) >= 32) {
+        XkbToKS *map = (XkbToKS *) priv;
+
+        if (map) {
+            if (map->map)
+                return map->prefix | map->map[buffer[0] & 0x7f];
+            else
+                return map->prefix | buffer[0];
+        }
+        return buffer[0];
     }
     return NoSymbol;
 }
@@ -155,7 +160,7 @@ _XkbKnownSetToKS(XPointer priv,char *buffer,int nbytes,Status *status)
 static KeySym
 __XkbDefaultToUpper(KeySym sym)
 {
-    KeySym     lower,upper;
+    KeySym lower, upper;
 
     XConvertCase(sym, &lower, &upper);
     return upper;
@@ -172,13 +177,13 @@ Strcmp(char *str1, char *str2)
      * unchecked strings from the environment can end up here, so check
      * the length before copying.
      */
-    if (strlen(str1) >= sizeof(str)) /* almost certain it's a mismatch */
-       return 1;
+    if (strlen(str1) >= sizeof(str))    /* almost certain it's a mismatch */
+        return 1;
 
-    for (s = str; (c = *str1++); ) {
-       if (isupper(c))
-           c = tolower(c);
-       *s++ = c;
+    for (s = str; (c = *str1++);) {
+        if (isupper(c))
+            c = tolower(c);
+        *s++ = c;
     }
     *s = '\0';
     return (strcmp(str, str2));
@@ -186,9 +191,10 @@ Strcmp(char *str1, char *str2)
 #endif
 
 int
-_XkbGetConverters(const char *encoding_name, XkbConverters *cvt_rtrn)
+_XkbGetConverters(const char *encoding_name, XkbConverters * cvt_rtrn)
 {
-    if ( !cvt_rtrn ) return 0;
+    if (!cvt_rtrn)
+        return 0;
 
     cvt_rtrn->KSToMB = _XkbKSToKnownSet;
     cvt_rtrn->KSToMBPriv = _XimGetLocaleCode(encoding_name);
@@ -214,9 +220,14 @@ _XkbGetConverters(const char *encoding_name, XkbConverters *cvt_rtrn)
  */
 
 #define        CHARSET_FILE    "/usr/lib/X11/input/charsets"
-static char *_XkbKnownLanguages = "c=ascii:da,de,en,es,fr,is,it,nl,no,pt,sv=iso8859-1:hu,pl,cs=iso8859-2:eo=iso8859-3:sp=iso8859-5:ar,ara=iso8859-6:el=iso8859-7:he=iso8859-8:tr=iso8859-9:lt,lv=iso8859-13:et,fi=iso8859-15:ru=koi8-r:uk=koi8-u:th,th_TH,th_TH.iso8859-11=iso8859-11:th_TH.TIS620=tis620:hy=armscii-8:vi=tcvn-5712:ka=georgian-academy:be,bg=microsoft-cp1251";
-
-char   *
+static char *_XkbKnownLanguages =
+    "c=ascii:da,de,en,es,fr,is,it,nl,no,pt,sv=iso8859-1:hu,pl,cs=iso8859-2:"
+    "eo=iso8859-3:sp=iso8859-5:ar,ara=iso8859-6:el=iso8859-7:he=iso8859-8:"
+    "tr=iso8859-9:lt,lv=iso8859-13:et,fi=iso8859-15:ru=koi8-r:uk=koi8-u:"
+    "th,th_TH,th_TH.iso8859-11=iso8859-11:th_TH.TIS620=tis620:hy=armscii-8:"
+    "vi=tcvn-5712:ka=georgian-academy:be,bg=microsoft-cp1251";
+
+char *
 _XkbGetCharset(void)
 {
     /*
@@ -225,49 +236,51 @@ _XkbGetCharset(void)
      */
     static char buf[100] = { 0 };
     char lang[256];
-    char *start,*tmp,*end,*next,*set;
-    char *country,*charset;
+    char *start, *tmp, *end, *next, *set;
+    char *country, *charset;
     char *locale;
 
-    tmp = getenv( "_XKB_CHARSET" );
-    if ( tmp )
-       return tmp;
-    locale = setlocale(LC_CTYPE,NULL);
+    tmp = getenv("_XKB_CHARSET");
+    if (tmp)
+        return tmp;
+    locale = setlocale(LC_CTYPE, NULL);
 
-    if ( locale == NULL )
-       return NULL;
+    if (locale == NULL)
+        return NULL;
 
     if (strlen(locale) >= sizeof(lang))
-       return NULL;
+        return NULL;
 
     for (tmp = lang; *tmp = *locale++; tmp++) {
-       if (isupper(*tmp))
-           *tmp = tolower(*tmp);
+        if (isupper(*tmp))
+            *tmp = tolower(*tmp);
     }
-    country = strchr( lang, '_');
-    if ( country ) {
-       *country++ = '\0';
-       charset = strchr( country, '.' );
-       if ( charset )  *charset++ = '\0';
-       if ( charset ) {
-           strncpy(buf,charset,99);
-           buf[99] = '\0';
-           return buf;
-       }
+    country = strchr(lang, '_');
+    if (country) {
+        *country++ = '\0';
+        charset = strchr(country, '.');
+        if (charset)
+            *charset++ = '\0';
+        if (charset) {
+            strncpy(buf, charset, 99);
+            buf[99] = '\0';
+            return buf;
+        }
     }
     else {
-       charset = NULL;
+        charset = NULL;
     }
 
-    if ((tmp = getenv("_XKB_LOCALE_CHARSETS"))!=NULL) {
-       start = _XkbAlloc(strlen(tmp) + 1);
-       strcpy(start, tmp);
-       tmp = start;
-    } else {
-       struct stat sbuf;
-       FILE *file;
+    if ((tmp = getenv("_XKB_LOCALE_CHARSETS")) != NULL) {
+        start = _XkbAlloc(strlen(tmp) + 1);
+        strcpy(start, tmp);
+        tmp = start;
+    }
+    else {
+        struct stat sbuf;
+        FILE *file;
 #ifndef __UNIXOS2__
-       char *cf = CHARSET_FILE;
+        char *cf = CHARSET_FILE;
 #else
         char *cf = __XOS2RedirRoot(CHARSET_FILE);
 #endif
@@ -276,62 +289,61 @@ _XkbGetCharset(void)
 # define S_ISREG(mode)   (((mode) & S_IFMT) == S_IFREG)
 #endif
 
-       if ( (stat(cf,&sbuf)==0) && S_ISREG(sbuf.st_mode) &&
-           (file = fopen(cf,"r")) ) {
-           tmp = _XkbAlloc(sbuf.st_size+1);
-           if (tmp!=NULL) {
-               sbuf.st_size = (long)fread(tmp,1,sbuf.st_size,file);
-               tmp[sbuf.st_size] = '\0';
-           }
-           fclose(file);
-       }
+        if ((stat(cf, &sbuf) == 0) && S_ISREG(sbuf.st_mode) &&
+            (file = fopen(cf, "r"))) {
+            tmp = _XkbAlloc(sbuf.st_size + 1);
+            if (tmp != NULL) {
+                sbuf.st_size = (long) fread(tmp, 1, sbuf.st_size, file);
+                tmp[sbuf.st_size] = '\0';
+            }
+            fclose(file);
+        }
     }
 
-    if ( tmp == NULL ) {
-       tmp = _XkbAlloc(strlen(_XkbKnownLanguages) + 1);
-       if (!tmp)
-           return NULL;
-       strcpy(tmp, _XkbKnownLanguages);
+    if (tmp == NULL) {
+        tmp = _XkbAlloc(strlen(_XkbKnownLanguages) + 1);
+        if (!tmp)
+            return NULL;
+        strcpy(tmp, _XkbKnownLanguages);
     }
     start = tmp;
     do {
-       if ( (set=strchr(tmp,'=')) == NULL )
-           break;
-       *set++ = '\0';
-       if ( (next=strchr(set,':')) != NULL )
-           *next++ = '\0';
-       while ( tmp && *tmp ) {
-           if ( (end=strchr(tmp,',')) != NULL )
-               *end++ = '\0';
-           if ( Strcmp( tmp, lang ) == 0 ) {
-               strncpy(buf,set,100);
-               buf[99] = '\0';
-               Xfree(start);
-               return buf;
-           }
-           tmp = end;
-       }
-       tmp = next;
-    } while ( tmp && *tmp );
+        if ((set = strchr(tmp, '=')) == NULL)
+            break;
+        *set++ = '\0';
+        if ((next = strchr(set, ':')) != NULL)
+            *next++ = '\0';
+        while (tmp && *tmp) {
+            if ((end = strchr(tmp, ',')) != NULL)
+                *end++ = '\0';
+            if (Strcmp(tmp, lang) == 0) {
+                strncpy(buf, set, 100);
+                buf[99] = '\0';
+                Xfree(start);
+                return buf;
+            }
+            tmp = end;
+        }
+        tmp = next;
+    } while (tmp && *tmp);
     Xfree(start);
     return NULL;
 }
 #else
-char   *
+char *
 _XkbGetCharset(void)
 {
     char *tmp;
     XLCd lcd;
 
-    tmp = getenv( "_XKB_CHARSET" );
-    if ( tmp )
-       return tmp;
+    tmp = getenv("_XKB_CHARSET");
+    if (tmp)
+        return tmp;
 
     lcd = _XlcCurrentLC();
-    if ( lcd )
-       return XLC_PUBLIC(lcd,encoding_name);
+    if (lcd)
+        return XLC_PUBLIC(lcd, encoding_name);
 
     return NULL;
 }
 #endif
-
index 353e769..4065dcd 100644 (file)
@@ -37,68 +37,72 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /***====================================================================***/
 
 extern void
-XkbNoteDeviceChanges(  XkbDeviceChangesPtr             old,
-                       XkbExtensionDeviceNotifyEvent * new,
-                       unsigned int                    wanted)
+XkbNoteDeviceChanges(XkbDeviceChangesPtr old,
+                     XkbExtensionDeviceNotifyEvent *new,
+                     unsigned int wanted)
 {
-    if ((!old)||(!new)||(!wanted)||((new->reason&wanted)==0))
-       return;
-    if ((wanted&new->reason)&XkbXI_ButtonActionsMask) {
-       if (old->changed&XkbXI_ButtonActionsMask) {
-           int first,last,newLast;
-           if (new->first_btn<old->first_btn)
-                first= new->first_btn;
-           else first= old->first_btn;
-           last= old->first_btn+old->num_btns-1;
-           newLast= new->first_btn+new->num_btns-1;
-           if (newLast>last)
-               last= newLast;
-           old->first_btn= first;
-           old->num_btns= (last-first)+1;
-       }
-       else {
-           old->changed|= XkbXI_ButtonActionsMask;
-           old->first_btn= new->first_btn;
-           old->num_btns= new->num_btns;
-       }
+    if ((!old) || (!new) || (!wanted) || ((new->reason & wanted) == 0))
+        return;
+    if ((wanted & new->reason) & XkbXI_ButtonActionsMask) {
+        if (old->changed & XkbXI_ButtonActionsMask) {
+            int first, last, newLast;
+
+            if (new->first_btn < old->first_btn)
+                first = new->first_btn;
+            else
+                first = old->first_btn;
+            last = old->first_btn + old->num_btns - 1;
+            newLast = new->first_btn + new->num_btns - 1;
+            if (newLast > last)
+                last = newLast;
+            old->first_btn = first;
+            old->num_btns = (last - first) + 1;
+        }
+        else {
+            old->changed |= XkbXI_ButtonActionsMask;
+            old->first_btn = new->first_btn;
+            old->num_btns = new->num_btns;
+        }
     }
-    if ((wanted&new->reason)&XkbXI_IndicatorsMask) {
-       XkbDeviceLedChangesPtr this;
-       if (old->changed&XkbXI_IndicatorsMask) {
-           XkbDeviceLedChangesPtr found;
-           found= NULL;
-           for (this= &old->leds;this&&(!found);this=this->next) {
-               if ((this->led_class==new->led_class)&&
-                                               (this->led_id==new->led_id)) {
-                   found= this;
-               }
-           }
-           if (!found) {
-               found= _XkbTypedCalloc(1,XkbDeviceLedChangesRec);
-               if (!found)
-                   return;
-               found->next= old->leds.next;
-               found->led_class= new->led_class;
-               found->led_id= new->led_id;
-               old->leds.next= found;
-           }
-           if ((wanted&new->reason)&XkbXI_IndicatorNamesMask)
-               found->defined= new->leds_defined;
-       }
-       else {
-           old->changed|= ((wanted&new->reason)&XkbXI_IndicatorsMask);
-           old->leds.led_class= new->led_class;
-           old->leds.led_id= new->led_id;
-           old->leds.defined= new->leds_defined;
-           if (old->leds.next) {
-               XkbDeviceLedChangesPtr next;
-               for (this=old->leds.next;this;this=next) {
-                   next= this->next;
-                   _XkbFree(this);
-               }
-               old->leds.next= NULL;
-           }
-       }
+    if ((wanted & new->reason) & XkbXI_IndicatorsMask) {
+        XkbDeviceLedChangesPtr this;
+
+        if (old->changed & XkbXI_IndicatorsMask) {
+            XkbDeviceLedChangesPtr found = NULL;
+
+            for (this = &old->leds; this && (!found); this = this->next) {
+                if ((this->led_class == new->led_class) &&
+                    (this->led_id == new->led_id)) {
+                    found = this;
+                }
+            }
+            if (!found) {
+                found = _XkbTypedCalloc(1, XkbDeviceLedChangesRec);
+                if (!found)
+                    return;
+                found->next = old->leds.next;
+                found->led_class = new->led_class;
+                found->led_id = new->led_id;
+                old->leds.next = found;
+            }
+            if ((wanted & new->reason) & XkbXI_IndicatorNamesMask)
+                found->defined = new->leds_defined;
+        }
+        else {
+            old->changed |= ((wanted & new->reason) & XkbXI_IndicatorsMask);
+            old->leds.led_class = new->led_class;
+            old->leds.led_id = new->led_id;
+            old->leds.defined = new->leds_defined;
+            if (old->leds.next) {
+                XkbDeviceLedChangesPtr next;
+
+                for (this = old->leds.next; this; this = next) {
+                    next = this->next;
+                    _XkbFree(this);
+                }
+                old->leds.next = NULL;
+            }
+        }
     }
     return;
 }
@@ -106,156 +110,168 @@ XkbNoteDeviceChanges(   XkbDeviceChangesPtr             old,
 /***====================================================================***/
 
 static Status
-_XkbReadDeviceLedInfo( XkbReadBufferPtr        buf,
-                       unsigned                present,
-                       XkbDeviceInfoPtr        devi)
+_XkbReadDeviceLedInfo(XkbReadBufferPtr buf,
+                      unsigned present,
+                      XkbDeviceInfoPtr devi)
 {
-register unsigned      i,bit;
-XkbDeviceLedInfoPtr    devli;
-xkbDeviceLedsWireDesc *        wireli;
+    register unsigned i, bit;
+    XkbDeviceLedInfoPtr devli;
+    xkbDeviceLedsWireDesc *wireli;
 
-    wireli= _XkbGetTypedRdBufPtr(buf,1,xkbDeviceLedsWireDesc);
+    wireli = _XkbGetTypedRdBufPtr(buf, 1, xkbDeviceLedsWireDesc);
     if (!wireli)
-       return BadLength;
-    devli= XkbAddDeviceLedInfo(devi,wireli->ledClass,wireli->ledID);
+        return BadLength;
+    devli = XkbAddDeviceLedInfo(devi, wireli->ledClass, wireli->ledID);
     if (!devli)
-       return BadAlloc;
-    devli->phys_indicators=    wireli->physIndicators;
-
-    if (present&XkbXI_IndicatorStateMask)
-       devli->state= wireli->state;
-
-    if (present&XkbXI_IndicatorNamesMask) {
-       devli->names_present=   wireli->namesPresent;
-       if (devli->names_present) {
-           for (i=0,bit=1;i<XkbNumIndicators;i++,bit<<=1) {
-               if (wireli->namesPresent&bit) {
-                   if (!_XkbCopyFromReadBuffer(buf,(char *)&devli->names[i],4))
-                       return BadLength;
-               }
-           }
-       }
+        return BadAlloc;
+    devli->phys_indicators = wireli->physIndicators;
+
+    if (present & XkbXI_IndicatorStateMask)
+        devli->state = wireli->state;
+
+    if (present & XkbXI_IndicatorNamesMask) {
+        devli->names_present = wireli->namesPresent;
+        if (devli->names_present) {
+            for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) {
+                if (wireli->namesPresent & bit) {
+                    if (!_XkbCopyFromReadBuffer(buf,
+                                                (char *) &devli->names[i], 4))
+                        return BadLength;
+                }
+            }
+        }
     }
 
-    if (present&XkbXI_IndicatorMapsMask) {
-       devli->maps_present=    wireli->mapsPresent;
-       if (devli->maps_present) {
-           XkbIndicatorMapPtr          im;
-           xkbIndicatorMapWireDesc *   wireim;
-           for (i=0,bit=1;i<XkbNumIndicators;i++,bit<<=1) {
-               if (wireli->mapsPresent&bit) {
-                   wireim= _XkbGetTypedRdBufPtr(buf,1,xkbIndicatorMapWireDesc);
-                   if (!wireim)
-                       return BadAlloc;
-                   im= &devli->maps[i];
-                   im->flags=          wireim->flags;
-                   im->which_groups=   wireim->whichGroups;
-                   im->groups=         wireim->groups;
-                   im->which_mods=     wireim->whichMods;
-                   im->mods.mask=      wireim->mods;
-                   im->mods.real_mods= wireim->realMods;
-                   im->mods.vmods=     wireim->virtualMods;
-                   im->ctrls=          wireim->ctrls;
-               }
-           }
-       }
+    if (present & XkbXI_IndicatorMapsMask) {
+        devli->maps_present = wireli->mapsPresent;
+        if (devli->maps_present) {
+            XkbIndicatorMapPtr im;
+            xkbIndicatorMapWireDesc *wireim;
+
+            for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) {
+                if (wireli->mapsPresent & bit) {
+                    wireim =
+                        _XkbGetTypedRdBufPtr(buf, 1, xkbIndicatorMapWireDesc);
+                    if (!wireim)
+                        return BadAlloc;
+                    im = &devli->maps[i];
+                    im->flags = wireim->flags;
+                    im->which_groups = wireim->whichGroups;
+                    im->groups = wireim->groups;
+                    im->which_mods = wireim->whichMods;
+                    im->mods.mask = wireim->mods;
+                    im->mods.real_mods = wireim->realMods;
+                    im->mods.vmods = wireim->virtualMods;
+                    im->ctrls = wireim->ctrls;
+                }
+            }
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadGetDeviceInfoReply(    Display *               dpy,
-                               xkbGetDeviceInfoReply * rep,
-                               XkbDeviceInfoPtr        devi)
+_XkbReadGetDeviceInfoReply(Display *dpy,
+                           xkbGetDeviceInfoReply *rep,
+                           XkbDeviceInfoPtr devi)
 {
-XkbReadBufferRec       buf;
-XkbAction *            act;
-int                    tmp;
+    XkbReadBufferRec buf;
+    XkbAction *act;
+    int tmp;
 
-    if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
-       return BadAlloc;
+    if (!_XkbInitReadBuffer(dpy, &buf, (int) rep->length * 4))
+        return BadAlloc;
 
-    if ((rep->totalBtns>0)&&(rep->totalBtns!=devi->num_btns)) {
-       tmp= XkbResizeDeviceButtonActions(devi,rep->totalBtns);
-       if (tmp!=Success)
-           return tmp;
+    if ((rep->totalBtns > 0) && (rep->totalBtns != devi->num_btns)) {
+        tmp = XkbResizeDeviceButtonActions(devi, rep->totalBtns);
+        if (tmp != Success)
+            return tmp;
     }
-    if (rep->nBtnsWanted>0) {
-       act= &devi->btn_acts[rep->firstBtnWanted];
-       bzero((char *)act,(rep->nBtnsWanted*sizeof(XkbAction)));
+    if (rep->nBtnsWanted > 0) {
+        if (((unsigned short) rep->firstBtnWanted + rep->nBtnsWanted)
+            >= devi->num_btns)
+            goto BAILOUT;
+        act = &devi->btn_acts[rep->firstBtnWanted];
+        bzero((char *) act, (rep->nBtnsWanted * sizeof(XkbAction)));
     }
-    if (devi->name!=NULL)
-       _XkbFree(devi->name);
-    if (!_XkbGetReadBufferCountedString(&buf,&devi->name))
-       goto BAILOUT;
-    if (rep->nBtnsRtrn>0) {
-       int size;
-       act= &devi->btn_acts[rep->firstBtnRtrn];
-       size= rep->nBtnsRtrn*SIZEOF(xkbActionWireDesc);
-       if (!_XkbCopyFromReadBuffer(&buf,(char *)act,size))
-           goto BAILOUT;
+    if (devi->name != NULL)
+        _XkbFree(devi->name);
+    if (!_XkbGetReadBufferCountedString(&buf, &devi->name))
+        goto BAILOUT;
+    if (rep->nBtnsRtrn > 0) {
+        int size;
+
+        if (((unsigned short) rep->firstBtnRtrn + rep->nBtnsRtrn)
+            >= devi->num_btns)
+            goto BAILOUT;
+        act = &devi->btn_acts[rep->firstBtnRtrn];
+        size = rep->nBtnsRtrn * SIZEOF(xkbActionWireDesc);
+        if (!_XkbCopyFromReadBuffer(&buf, (char *) act, size))
+            goto BAILOUT;
     }
-    if (rep->nDeviceLedFBs>0) {
-       register int            i;
-       for (i=0;i<rep->nDeviceLedFBs;i++) {
-           if ((tmp= _XkbReadDeviceLedInfo(&buf,rep->present,devi))!=Success)
-               return tmp;
-       }
+    if (rep->nDeviceLedFBs > 0) {
+        register int i;
+
+        for (i = 0; i < rep->nDeviceLedFBs; i++) {
+            if ((tmp = _XkbReadDeviceLedInfo(&buf, rep->present, devi))
+                != Success)
+                return tmp;
+        }
     }
-    tmp= _XkbFreeReadBuffer(&buf);
+    tmp = _XkbFreeReadBuffer(&buf);
     if (tmp)
-       fprintf(stderr,"GetDeviceInfo! Bad length (%d extra bytes)\n",tmp);
+        fprintf(stderr, "GetDeviceInfo! Bad length (%d extra bytes)\n", tmp);
     if (tmp || buf.error)
-       return BadLength;
+        return BadLength;
     return Success;
-BAILOUT:
+ BAILOUT:
     _XkbFreeReadBuffer(&buf);
     return BadLength;
 }
 
 XkbDeviceInfoPtr
-XkbGetDeviceInfo(      Display *       dpy,
-                       unsigned        which,
-                       unsigned        deviceSpec,
-                       unsigned        class,
-                       unsigned        id)
+XkbGetDeviceInfo(Display *dpy,
+                 unsigned which,
+                 unsigned deviceSpec,
+                 unsigned class,
+                 unsigned id)
 {
-    register xkbGetDeviceInfoReq *     req;
-    xkbGetDeviceInfoReply              rep;
-    Status                             status;
-    XkbDeviceInfoPtr                   devi;
+    register xkbGetDeviceInfoReq *req;
+    xkbGetDeviceInfoReply rep;
+    Status status;
+    XkbDeviceInfoPtr devi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return NULL;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return NULL;
     LockDisplay(dpy);
     GetReq(kbGetDeviceInfo, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbGetDeviceInfo;
     req->deviceSpec = deviceSpec;
-    req->wanted= which;
-    req->allBtns= ((which&XkbXI_ButtonActionsMask)!=0);
-    req->firstBtn= req->nBtns= 0;
-    req->ledClass= class;
-    req->ledID= id;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return NULL;
+    req->wanted = which;
+    req->allBtns = ((which & XkbXI_ButtonActionsMask) != 0);
+    req->firstBtn = req->nBtns = 0;
+    req->ledClass = class;
+    req->ledID = id;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return NULL;
     }
-    devi= XkbAllocDeviceInfo(rep.deviceID,rep.totalBtns,rep.nDeviceLedFBs);
+    devi = XkbAllocDeviceInfo(rep.deviceID, rep.totalBtns, rep.nDeviceLedFBs);
     if (devi) {
-       devi->supported= rep.supported;
-       devi->unsupported= rep.unsupported;
-       devi->type= rep.devType;
-       devi->has_own_state= rep.hasOwnState;
-       devi->dflt_kbd_fb = rep.dfltKbdFB;
-       devi->dflt_led_fb = rep.dfltLedFB;
-       status= _XkbReadGetDeviceInfoReply(dpy,&rep,devi);
-       if (status!=Success) {
-           XkbFreeDeviceInfo(devi,XkbXI_AllDeviceFeaturesMask,True);
-           devi= NULL;
-       }
+        devi->supported = rep.supported;
+        devi->unsupported = rep.unsupported;
+        devi->type = rep.devType;
+        devi->has_own_state = rep.hasOwnState;
+        devi->dflt_kbd_fb = rep.dfltKbdFB;
+        devi->dflt_led_fb = rep.dfltLedFB;
+        status = _XkbReadGetDeviceInfoReply(dpy, &rep, devi);
+        if (status != Success) {
+            XkbFreeDeviceInfo(devi, XkbXI_AllDeviceFeaturesMask, True);
+            devi = NULL;
+        }
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -263,59 +279,61 @@ XkbGetDeviceInfo( Display *       dpy,
 }
 
 Status
-XkbGetDeviceInfoChanges(       Display *               dpy,
-                               XkbDeviceInfoPtr        devi,
-                               XkbDeviceChangesPtr     changes)
+XkbGetDeviceInfoChanges(Display *dpy,
+                        XkbDeviceInfoPtr devi,
+                        XkbDeviceChangesPtr changes)
 {
-    register xkbGetDeviceInfoReq *     req;
-    xkbGetDeviceInfoReply              rep;
-    Status                             status;
+    register xkbGetDeviceInfoReq *req;
+    xkbGetDeviceInfoReply rep;
+    Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadMatch;
-    if ((changes->changed&XkbXI_AllDeviceFeaturesMask)==0)
-       return Success;
-    changes->changed&= ~XkbXI_AllDeviceFeaturesMask;
-    status= Success;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadMatch;
+    if ((changes->changed & XkbXI_AllDeviceFeaturesMask) == 0)
+        return Success;
+    changes->changed &= ~XkbXI_AllDeviceFeaturesMask;
+    status = Success;
     LockDisplay(dpy);
-    while ((changes->changed)&&(status==Success)) {
-       GetReq(kbGetDeviceInfo, req);
-       req->reqType = dpy->xkb_info->codes->major_opcode;
-       req->xkbReqType = X_kbGetDeviceInfo;
-       req->deviceSpec = devi->device_spec;
-       req->wanted= changes->changed;
-       req->allBtns= False;
-       if (changes->changed&XkbXI_ButtonActionsMask) {
-            req->firstBtn= changes->first_btn;
-            req->nBtns=        changes->num_btns;
-            changes->changed&= ~XkbXI_ButtonActionsMask;
-       }
-       else req->firstBtn= req->nBtns= 0;
-       if (changes->changed&XkbXI_IndicatorsMask) {
-           req->ledClass= changes->leds.led_class;
-           req->ledID= changes->leds.led_id;
-           if (changes->leds.next==NULL)
-               changes->changed&= ~XkbXI_IndicatorsMask;
-           else {
-               XkbDeviceLedChangesPtr next;
-               next= changes->leds.next;
-               changes->leds= *next;
-               _XkbFree(next);
-           }
-       }
-       else {
-           req->ledClass= XkbDfltXIClass;
-           req->ledID= XkbDfltXIId;
-       }
-       if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-           status= BadLength;
-           break;
-       }
-       devi->supported|= rep.supported;
-       devi->unsupported|= rep.unsupported;
-       devi->type= rep.devType;
-       status= _XkbReadGetDeviceInfoReply(dpy,&rep,devi);
+    while ((changes->changed) && (status == Success)) {
+        GetReq(kbGetDeviceInfo, req);
+        req->reqType = dpy->xkb_info->codes->major_opcode;
+        req->xkbReqType = X_kbGetDeviceInfo;
+        req->deviceSpec = devi->device_spec;
+        req->wanted = changes->changed;
+        req->allBtns = False;
+        if (changes->changed & XkbXI_ButtonActionsMask) {
+            req->firstBtn = changes->first_btn;
+            req->nBtns = changes->num_btns;
+            changes->changed &= ~XkbXI_ButtonActionsMask;
+        }
+        else
+            req->firstBtn = req->nBtns = 0;
+        if (changes->changed & XkbXI_IndicatorsMask) {
+            req->ledClass = changes->leds.led_class;
+            req->ledID = changes->leds.led_id;
+            if (changes->leds.next == NULL)
+                changes->changed &= ~XkbXI_IndicatorsMask;
+            else {
+                XkbDeviceLedChangesPtr next;
+
+                next = changes->leds.next;
+                changes->leds = *next;
+                _XkbFree(next);
+            }
+        }
+        else {
+            req->ledClass = XkbDfltXIClass;
+            req->ledID = XkbDfltXIId;
+        }
+        if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+            status = BadLength;
+            break;
+        }
+        devi->supported |= rep.supported;
+        devi->unsupported |= rep.unsupported;
+        devi->type = rep.devType;
+        status = _XkbReadGetDeviceInfoReply(dpy, &rep, devi);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -323,83 +341,84 @@ XkbGetDeviceInfoChanges(  Display *               dpy,
 }
 
 Status
-XkbGetDeviceButtonActions(     Display *               dpy,
-                               XkbDeviceInfoPtr        devi,
-                               Bool                    all,
-                               unsigned int            first,
-                               unsigned int            num)
+XkbGetDeviceButtonActions(Display *dpy,
+                          XkbDeviceInfoPtr devi,
+                          Bool all,
+                          unsigned int first,
+                          unsigned int num)
 {
-    register xkbGetDeviceInfoReq *     req;
-    xkbGetDeviceInfoReply              rep;
-    Status                             status;
+    register xkbGetDeviceInfoReq *req;
+    xkbGetDeviceInfoReply rep;
+    Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadMatch;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadMatch;
     if (!devi)
-       return BadValue;
+        return BadValue;
     LockDisplay(dpy);
     GetReq(kbGetDeviceInfo, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbGetDeviceInfo;
     req->deviceSpec = devi->device_spec;
-    req->wanted= XkbXI_ButtonActionsMask;
-    req->allBtns= all;
-    req->firstBtn= first;
-    req->nBtns= num;
-    req->ledClass= XkbDfltXIClass;
-    req->ledID= XkbDfltXIId;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadLength;
+    req->wanted = XkbXI_ButtonActionsMask;
+    req->allBtns = all;
+    req->firstBtn = first;
+    req->nBtns = num;
+    req->ledClass = XkbDfltXIClass;
+    req->ledID = XkbDfltXIId;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadLength;
     }
-    devi->type= rep.devType;
-    devi->supported= rep.supported;
-    devi->unsupported= rep.unsupported;
-    status= _XkbReadGetDeviceInfoReply(dpy,&rep,devi);
+    devi->type = rep.devType;
+    devi->supported = rep.supported;
+    devi->unsupported = rep.unsupported;
+    status = _XkbReadGetDeviceInfoReply(dpy, &rep, devi);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
 }
 
 Status
-XkbGetDeviceLedInfo(   Display *               dpy,
-                       XkbDeviceInfoPtr        devi,
-                       unsigned int            ledClass,
-                       unsigned int            ledId,
-                       unsigned int            which)
+XkbGetDeviceLedInfo(Display *dpy,
+                    XkbDeviceInfoPtr devi,
+                    unsigned int ledClass,
+                    unsigned int ledId,
+                    unsigned int which)
 {
-    register xkbGetDeviceInfoReq *     req;
-    xkbGetDeviceInfoReply              rep;
-    Status                             status;
+    register xkbGetDeviceInfoReq *req;
+    xkbGetDeviceInfoReply rep;
+    Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadMatch;
-    if (((which&XkbXI_IndicatorsMask)==0)||(which&(~XkbXI_IndicatorsMask)))
-       return BadMatch;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadMatch;
+    if (((which & XkbXI_IndicatorsMask) == 0) ||
+        (which & (~XkbXI_IndicatorsMask)))
+        return BadMatch;
     if (!devi)
-       return BadValue;
+        return BadValue;
     LockDisplay(dpy);
     GetReq(kbGetDeviceInfo, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbGetDeviceInfo;
     req->deviceSpec = devi->device_spec;
-    req->wanted= which;
-    req->allBtns= False;
-    req->firstBtn= req->nBtns= 0;
-    req->ledClass= ledClass;
-    req->ledID= ledId;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadLength;
+    req->wanted = which;
+    req->allBtns = False;
+    req->firstBtn = req->nBtns = 0;
+    req->ledClass = ledClass;
+    req->ledID = ledId;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadLength;
     }
-    devi->type= rep.devType;
-    devi->supported= rep.supported;
-    devi->unsupported= rep.unsupported;
-    status= _XkbReadGetDeviceInfoReply(dpy,&rep,devi);
+    devi->type = rep.devType;
+    devi->supported = rep.supported;
+    devi->unsupported = rep.unsupported;
+    status = _XkbReadGetDeviceInfoReply(dpy, &rep, devi);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
@@ -408,297 +427,298 @@ XkbGetDeviceLedInfo(    Display *               dpy,
 /***====================================================================***/
 
 typedef struct _LedInfoStuff {
-       Bool                    used;
-       XkbDeviceLedInfoPtr     devli;
+    Bool used;
+    XkbDeviceLedInfoPtr devli;
 } LedInfoStuff;
 
 typedef struct _SetLedStuff {
-       unsigned                wanted;
-       int                     num_info;
-       int                     dflt_class;
-       LedInfoStuff *          dflt_kbd_fb;
-       LedInfoStuff *          dflt_led_fb;
-       LedInfoStuff *          info;
+    unsigned wanted;
+    int num_info;
+    int dflt_class;
+    LedInfoStuff *dflt_kbd_fb;
+    LedInfoStuff *dflt_led_fb;
+    LedInfoStuff *info;
 } SetLedStuff;
 
 static void
-_InitLedStuff(SetLedStuff *stuff,unsigned wanted,XkbDeviceInfoPtr devi)
+_InitLedStuff(SetLedStuff *stuff, unsigned wanted, XkbDeviceInfoPtr devi)
 {
-int                            i;
-register XkbDeviceLedInfoPtr   devli;
-
-    bzero(stuff,sizeof(SetLedStuff));
-    stuff->wanted= wanted;
-    stuff->dflt_class= XkbXINone;
-    if ((devi->num_leds<1)||((wanted&XkbXI_IndicatorsMask)==0))
-       return;
-    stuff->info= _XkbTypedCalloc(devi->num_leds,LedInfoStuff);
+    int i;
+    register XkbDeviceLedInfoPtr devli;
+
+    bzero(stuff, sizeof(SetLedStuff));
+    stuff->wanted = wanted;
+    stuff->dflt_class = XkbXINone;
+    if ((devi->num_leds < 1) || ((wanted & XkbXI_IndicatorsMask) == 0))
+        return;
+    stuff->info = _XkbTypedCalloc(devi->num_leds, LedInfoStuff);
     if (!stuff->info)
-       return;
-    stuff->num_info= devi->num_leds;
-    for (devli=&devi->leds[0],i=0;i<devi->num_leds;i++,devli++) {
-       stuff->info[i].devli= devli;
-       if (devli->led_class==KbdFeedbackClass) {
-           stuff->dflt_class= KbdFeedbackClass;
-           if (stuff->dflt_kbd_fb==NULL)
-               stuff->dflt_kbd_fb= &stuff->info[i];
-       }
-       else if (devli->led_class==LedFeedbackClass) {
-           if (stuff->dflt_class==XkbXINone)
-               stuff->dflt_class= LedFeedbackClass;
-           if (stuff->dflt_led_fb==NULL)
-               stuff->dflt_led_fb= &stuff->info[i];
-       }
+        return;
+    stuff->num_info = devi->num_leds;
+    for (devli = &devi->leds[0], i = 0; i < devi->num_leds; i++, devli++) {
+        stuff->info[i].devli = devli;
+        if (devli->led_class == KbdFeedbackClass) {
+            stuff->dflt_class = KbdFeedbackClass;
+            if (stuff->dflt_kbd_fb == NULL)
+                stuff->dflt_kbd_fb = &stuff->info[i];
+        }
+        else if (devli->led_class == LedFeedbackClass) {
+            if (stuff->dflt_class == XkbXINone)
+                stuff->dflt_class = LedFeedbackClass;
+            if (stuff->dflt_led_fb == NULL)
+                stuff->dflt_led_fb = &stuff->info[i];
+        }
     }
     return;
 }
 
 static void
-_FreeLedStuff(SetLedStuff *stuff)
+_FreeLedStuff(SetLedStuff * stuff)
 {
-    if ((stuff->num_info>0)&&(stuff->info!=NULL))
-       _XkbFree(stuff->info);
-    bzero(stuff,sizeof(SetLedStuff));
+    if ((stuff->num_info > 0) && (stuff->info != NULL))
+        _XkbFree(stuff->info);
+    bzero(stuff, sizeof(SetLedStuff));
     return;
 }
 
 static int
-_XkbSizeLedInfo(unsigned changed,XkbDeviceLedInfoPtr devli)
+_XkbSizeLedInfo(unsigned changed, XkbDeviceLedInfoPtr devli)
 {
-register int i,size;
-register unsigned bit,namesNeeded,mapsNeeded;
-
-    size= SIZEOF(xkbDeviceLedsWireDesc);
-    namesNeeded= mapsNeeded= 0;
-    if (changed&XkbXI_IndicatorNamesMask)
-       namesNeeded= devli->names_present;
-    if (changed&XkbXI_IndicatorMapsMask)
-       mapsNeeded= devli->maps_present;
-    if ((namesNeeded)||(mapsNeeded)) {
-       for (i=0,bit=1;i<XkbNumIndicators;i++,bit<<=1) {
-           if (namesNeeded&bit)
-               size+= 4; /* atoms are 4 bytes on the wire */
-           if (mapsNeeded&bit)
-               size+= SIZEOF(xkbIndicatorMapWireDesc);
-       }
+    register int i, size;
+    register unsigned bit, namesNeeded, mapsNeeded;
+
+    size = SIZEOF(xkbDeviceLedsWireDesc);
+    namesNeeded = mapsNeeded = 0;
+    if (changed & XkbXI_IndicatorNamesMask)
+        namesNeeded = devli->names_present;
+    if (changed & XkbXI_IndicatorMapsMask)
+        mapsNeeded = devli->maps_present;
+    if ((namesNeeded) || (mapsNeeded)) {
+        for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) {
+            if (namesNeeded & bit)
+                size += 4;      /* atoms are 4 bytes on the wire */
+            if (mapsNeeded & bit)
+                size += SIZEOF(xkbIndicatorMapWireDesc);
+        }
     }
     return size;
 }
 
 static Bool
-_SizeMatches(  SetLedStuff *           stuff,
-               XkbDeviceLedChangesPtr  changes,
-               int *                   sz_rtrn,
-               int *                   nleds_rtrn)
+_SizeMatches(SetLedStuff *stuff,
+             XkbDeviceLedChangesPtr changes,
+             int *sz_rtrn,
+             int *nleds_rtrn)
 {
-int            i,nMatch,class,id;
-LedInfoStuff * linfo;
-Bool           match;
-
-    nMatch= 0;
-    class= changes->led_class;
-    id= changes->led_id;
-    if (class==XkbDfltXIClass)
-       class= stuff->dflt_class;
-    for (i=0,linfo=&stuff->info[0];i<stuff->num_info;i++,linfo++) {
-       XkbDeviceLedInfoPtr     devli;
-       LedInfoStuff *          dflt;
-
-       devli= linfo->devli;
-       match= ((class==devli->led_class)||(class==XkbAllXIClasses));
-       if (devli->led_class==KbdFeedbackClass) dflt= stuff->dflt_kbd_fb;
-       else                                    dflt= stuff->dflt_led_fb;
-       match = (match && (id == devli->led_id)) ||
-         (id == XkbAllXIIds) ||
-         ((id == XkbDfltXIId) &&
-          (linfo == dflt));
-       if (match) {
-           if (!linfo->used) {
-               *sz_rtrn+= _XkbSizeLedInfo(stuff->wanted,devli);
-               *nleds_rtrn+= 1;
-               linfo->used= True;
-               if ((class!=XkbAllXIClasses)&&(id!=XkbAllXIIds))
-                   return True;
-           }
-           nMatch++;
-           linfo->used= True;
-       }
+    int i, nMatch, class, id;
+    LedInfoStuff *linfo;
+    Bool match;
+
+    nMatch = 0;
+    class = changes->led_class;
+    id = changes->led_id;
+    if (class == XkbDfltXIClass)
+        class = stuff->dflt_class;
+    for (i = 0, linfo = &stuff->info[0]; i < stuff->num_info; i++, linfo++) {
+        XkbDeviceLedInfoPtr devli;
+        LedInfoStuff *dflt;
+
+        devli = linfo->devli;
+        match = ((class == devli->led_class) || (class == XkbAllXIClasses));
+        if (devli->led_class == KbdFeedbackClass)
+            dflt = stuff->dflt_kbd_fb;
+        else
+            dflt = stuff->dflt_led_fb;
+        match = (match && (id == devli->led_id)) ||
+            (id == XkbAllXIIds) ||
+            ((id == XkbDfltXIId) && (linfo == dflt));
+        if (match) {
+            if (!linfo->used) {
+                *sz_rtrn += _XkbSizeLedInfo(stuff->wanted, devli);
+                *nleds_rtrn += 1;
+                linfo->used = True;
+                if ((class != XkbAllXIClasses) && (id != XkbAllXIIds))
+                    return True;
+            }
+            nMatch++;
+            linfo->used = True;
+        }
     }
-    return (nMatch>0);
+    return (nMatch > 0);
 }
 
 /***====================================================================***/
 
 
 static Status
-_XkbSetDeviceInfoSize( XkbDeviceInfoPtr        devi,
-                       XkbDeviceChangesPtr     changes,
-                       SetLedStuff *           stuff,
-                       int *                   sz_rtrn,
-                       int *                   num_leds_rtrn)
+_XkbSetDeviceInfoSize(XkbDeviceInfoPtr devi,
+                      XkbDeviceChangesPtr changes,
+                      SetLedStuff *stuff,
+                      int *sz_rtrn,
+                      int *num_leds_rtrn)
 {
-    *sz_rtrn= 0;
-    if ((changes->changed&XkbXI_ButtonActionsMask)&&(changes->num_btns>0)) {
-       if (!XkbXI_LegalDevBtn(devi,(changes->first_btn+changes->num_btns-1)))
-           return BadMatch;
-       *sz_rtrn+= changes->num_btns*SIZEOF(xkbActionWireDesc);
+    *sz_rtrn = 0;
+    if ((changes->changed & XkbXI_ButtonActionsMask) && (changes->num_btns > 0)) {
+        if (!XkbXI_LegalDevBtn
+            (devi, (changes->first_btn + changes->num_btns - 1)))
+            return BadMatch;
+        *sz_rtrn += changes->num_btns * SIZEOF(xkbActionWireDesc);
     }
     else {
-       changes->changed&= ~XkbXI_ButtonActionsMask;
-       changes->first_btn= changes->num_btns= 0;
+        changes->changed &= ~XkbXI_ButtonActionsMask;
+        changes->first_btn = changes->num_btns = 0;
     }
-    if ((changes->changed&XkbXI_IndicatorsMask)&&
-                               XkbLegalXILedClass(changes->leds.led_class)) {
-       XkbDeviceLedChangesPtr  leds;
-
-       for (leds=&changes->leds;leds!=NULL;leds= leds->next) {
-           if (!_SizeMatches(stuff,leds,sz_rtrn,num_leds_rtrn))
-               return BadMatch;
-       }
+    if ((changes->changed & XkbXI_IndicatorsMask) &&
+        XkbLegalXILedClass(changes->leds.led_class)) {
+        XkbDeviceLedChangesPtr leds;
+
+        for (leds = &changes->leds; leds != NULL; leds = leds->next) {
+            if (!_SizeMatches(stuff, leds, sz_rtrn, num_leds_rtrn))
+                return BadMatch;
+        }
     }
     else {
-       changes->changed&= ~XkbXI_IndicatorsMask;
-       *num_leds_rtrn= 0;
+        changes->changed &= ~XkbXI_IndicatorsMask;
+        *num_leds_rtrn = 0;
     }
     return Success;
 }
 
 static char *
-_XkbWriteLedInfo(char *wire,unsigned changed,XkbDeviceLedInfoPtr devli)
+_XkbWriteLedInfo(char *wire, unsigned changed, XkbDeviceLedInfoPtr devli)
 {
-register int           i;
-register unsigned      bit,namesNeeded,mapsNeeded;
-xkbDeviceLedsWireDesc *        lwire;
-
-    namesNeeded= mapsNeeded= 0;
-    if (changed&XkbXI_IndicatorNamesMask)
-       namesNeeded= devli->names_present;
-    if (changed&XkbXI_IndicatorMapsMask)
-       mapsNeeded= devli->maps_present;
-
-    lwire= (xkbDeviceLedsWireDesc *)wire;
-    lwire->ledClass= devli->led_class;
-    lwire->ledID= devli->led_id;
-    lwire->namesPresent= namesNeeded;
-    lwire->mapsPresent mapsNeeded;
-    lwire->physIndicators= devli->phys_indicators;
-    lwire->state= devli->state;
-    wire= (char *)&lwire[1];
+    register int i;
+    register unsigned bit, namesNeeded, mapsNeeded;
+    xkbDeviceLedsWireDesc *lwire;
+
+    namesNeeded = mapsNeeded = 0;
+    if (changed & XkbXI_IndicatorNamesMask)
+        namesNeeded = devli->names_present;
+    if (changed & XkbXI_IndicatorMapsMask)
+        mapsNeeded = devli->maps_present;
+
+    lwire = (xkbDeviceLedsWireDesc *) wire;
+    lwire->ledClass = devli->led_class;
+    lwire->ledID = devli->led_id;
+    lwire->namesPresent = namesNeeded;
+    lwire->mapsPresent = mapsNeeded;
+    lwire->physIndicators = devli->phys_indicators;
+    lwire->state = devli->state;
+    wire = (char *) &lwire[1];
     if (namesNeeded) {
-       CARD32 *awire;
-       awire= (CARD32 *)wire;
-       for (i=0,bit=1;i<XkbNumIndicators;i++,bit<<=1) {
-           if (namesNeeded&bit) {
-               *awire= (CARD32)devli->names[i];
-               awire++;
-           }
-       }
-       wire= (char *)awire;
+        CARD32 *awire = (CARD32 *) wire;
+
+        for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) {
+            if (namesNeeded & bit) {
+                *awire = (CARD32) devli->names[i];
+                awire++;
+            }
+        }
+        wire = (char *) awire;
     }
     if (mapsNeeded) {
-       xkbIndicatorMapWireDesc *mwire;
-
-       mwire= (xkbIndicatorMapWireDesc *)wire;
-       for (i=0,bit=1;i<XkbNumIndicators;i++,bit<<=1) {
-           if (mapsNeeded&bit) {
-               XkbIndicatorMapPtr      map;
-               map=                    &devli->maps[i];
-               mwire->flags=           map->flags;
-               mwire->whichGroups=     map->which_groups;
-               mwire->groups=          map->groups;
-               mwire->whichMods=       map->which_mods;
-               mwire->mods=            map->mods.mask;
-               mwire->realMods=        map->mods.real_mods;
-               mwire->virtualMods=     map->mods.vmods;
-               mwire->ctrls=           map->ctrls;
-               mwire++;
-           }
-       }
-       wire= (char *)mwire;
+        xkbIndicatorMapWireDesc *mwire = (xkbIndicatorMapWireDesc *) wire;
+
+        for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) {
+            if (mapsNeeded & bit) {
+                XkbIndicatorMapPtr map = &devli->maps[i];
+
+                mwire->flags = map->flags;
+                mwire->whichGroups = map->which_groups;
+                mwire->groups = map->groups;
+                mwire->whichMods = map->which_mods;
+                mwire->mods = map->mods.mask;
+                mwire->realMods = map->mods.real_mods;
+                mwire->virtualMods = map->mods.vmods;
+                mwire->ctrls = map->ctrls;
+                mwire++;
+            }
+        }
+        wire = (char *) mwire;
     }
     return wire;
 }
 
 
 static int
-_XkbWriteSetDeviceInfo(        char *                  wire,
-                       XkbDeviceChangesPtr     changes,
-                       SetLedStuff *           stuff,
-                       XkbDeviceInfoPtr        devi)
+_XkbWriteSetDeviceInfo(char *wire,
+                       XkbDeviceChangesPtr changes,
+                       SetLedStuff *stuff,
+                       XkbDeviceInfoPtr devi)
 {
-char *start;
-
-    start= wire;
-    if (changes->changed&XkbXI_ButtonActionsMask) {
-       int                     size;
-       size= changes->num_btns*SIZEOF(xkbActionWireDesc);
-       memcpy(wire,(char *)&devi->btn_acts[changes->first_btn],size);
-       wire+= size;
+    char *start = wire;
+
+    if (changes->changed & XkbXI_ButtonActionsMask) {
+        int size = changes->num_btns * SIZEOF(xkbActionWireDesc);
+
+        memcpy(wire, (char *) &devi->btn_acts[changes->first_btn], size);
+        wire += size;
     }
-    if (changes->changed&XkbXI_IndicatorsMask) {
-       register int i;
-       register LedInfoStuff *linfo;
-
-       for (i=0,linfo=&stuff->info[0];i<stuff->num_info;i++,linfo++) {
-           if (linfo->used) {
-               register char *new_wire;
-               new_wire= _XkbWriteLedInfo(wire,stuff->wanted,linfo->devli);
-               if (!new_wire)
-                   return wire-start;
-               wire= new_wire;
-           }
-       }
+    if (changes->changed & XkbXI_IndicatorsMask) {
+        register int i;
+        register LedInfoStuff *linfo;
+
+        for (i = 0, linfo = &stuff->info[0]; i < stuff->num_info; i++, linfo++) {
+            if (linfo->used) {
+                register char *new_wire;
+
+                new_wire = _XkbWriteLedInfo(wire, stuff->wanted, linfo->devli);
+                if (!new_wire)
+                    return wire - start;
+                wire = new_wire;
+            }
+        }
     }
-    return wire-start;
+    return wire - start;
 }
 
 Bool
-XkbSetDeviceInfo(      Display *               dpy,
-                       unsigned                which,
-                       XkbDeviceInfoPtr        devi)
+XkbSetDeviceInfo(Display *dpy, unsigned which, XkbDeviceInfoPtr devi)
 {
     register xkbSetDeviceInfoReq *req;
-    Status                     ok = 0;
-    int                                size,nLeds;
-    XkbInfoPtr                         xkbi;
-    XkbDeviceChangesRec                changes;
-    SetLedStuff                        lstuff;
+    Status ok = 0;
+    int size, nLeds;
+    XkbInfoPtr xkbi;
+    XkbDeviceChangesRec changes;
+    SetLedStuff lstuff;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!devi) || (which&(~XkbXI_AllDeviceFeaturesMask)) ||
-       ((which&XkbXI_ButtonActionsMask)&&(!XkbXI_DevHasBtnActs(devi)))||
-       ((which&XkbXI_IndicatorsMask)&&(!XkbXI_DevHasLeds(devi))))
-       return False;
-
-    bzero((char *)&changes,sizeof(XkbDeviceChangesRec));
-    changes.changed= which;
-    changes.first_btn=         0;
-    changes.num_btns=          devi->num_btns;
-    changes.leds.led_class=    XkbAllXIClasses;
-    changes.leds.led_id=       XkbAllXIIds;
-    changes.leds.defined=      0;
-    size= nLeds=               0;
-    _InitLedStuff(&lstuff,changes.changed,devi);
-    if (_XkbSetDeviceInfoSize(devi,&changes,&lstuff,&size,&nLeds)!=Success)
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!devi) || (which & (~XkbXI_AllDeviceFeaturesMask)) ||
+        ((which & XkbXI_ButtonActionsMask) && (!XkbXI_DevHasBtnActs(devi))) ||
+        ((which & XkbXI_IndicatorsMask) && (!XkbXI_DevHasLeds(devi))))
+        return False;
+
+    bzero((char *) &changes, sizeof(XkbDeviceChangesRec));
+    changes.changed = which;
+    changes.first_btn = 0;
+    changes.num_btns = devi->num_btns;
+    changes.leds.led_class = XkbAllXIClasses;
+    changes.leds.led_id = XkbAllXIIds;
+    changes.leds.defined = 0;
+    size = nLeds = 0;
+    _InitLedStuff(&lstuff, changes.changed, devi);
+    if (_XkbSetDeviceInfoSize(devi, &changes, &lstuff, &size, &nLeds) !=
+        Success)
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetDeviceInfo, req);
-    req->length+=      size/4;
-    req->reqType=      xkbi->codes->major_opcode;
-    req->xkbReqType=   X_kbSetDeviceInfo;
-    req->deviceSpec=   devi->device_spec;
-    req->firstBtn=     changes.first_btn;
-    req->nBtns=                changes.num_btns;
-    req->change=       changes.changed;
-    req->nDeviceLedFBs=        nLeds;
-    if (size>0) {
-       char *  wire;
-       BufAlloc(char *,wire,size);
-       ok= (wire!=NULL)&&
-               (_XkbWriteSetDeviceInfo(wire,&changes,&lstuff,devi)==size);
+    req->length += size / 4;
+    req->reqType = xkbi->codes->major_opcode;
+    req->xkbReqType = X_kbSetDeviceInfo;
+    req->deviceSpec = devi->device_spec;
+    req->firstBtn = changes.first_btn;
+    req->nBtns = changes.num_btns;
+    req->change = changes.changed;
+    req->nDeviceLedFBs = nLeds;
+    if (size > 0) {
+        char *wire;
+
+        BufAlloc(char *, wire, size);
+        ok = (wire != NULL) &&
+            (_XkbWriteSetDeviceInfo(wire, &changes, &lstuff, devi) == size);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -708,45 +728,47 @@ XkbSetDeviceInfo( Display *               dpy,
 }
 
 Bool
-XkbChangeDeviceInfo(   Display *               dpy,
-                       XkbDeviceInfoPtr        devi,
-                       XkbDeviceChangesPtr     changes)
+XkbChangeDeviceInfo(Display *dpy,
+                    XkbDeviceInfoPtr devi,
+                    XkbDeviceChangesPtr changes)
 {
     register xkbSetDeviceInfoReq *req;
-    Status                     ok = 0;
-    int                                size,nLeds;
-    XkbInfoPtr                         xkbi;
-    SetLedStuff                        lstuff;
+    Status ok = 0;
+    int size, nLeds;
+    XkbInfoPtr xkbi;
+    SetLedStuff lstuff;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!devi) || (changes->changed&(~XkbXI_AllDeviceFeaturesMask)) ||
-       ((changes->changed&XkbXI_ButtonActionsMask)&&
-                                       (!XkbXI_DevHasBtnActs(devi)))||
-       ((changes->changed&XkbXI_IndicatorsMask)&&(!XkbXI_DevHasLeds(devi))))
-       return False;
-
-    size= nLeds= 0;
-    _InitLedStuff(&lstuff,changes->changed,devi);
-    if (_XkbSetDeviceInfoSize(devi,changes,&lstuff,&size,&nLeds)!=Success)
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!devi) || (changes->changed & (~XkbXI_AllDeviceFeaturesMask)) ||
+        ((changes->changed & XkbXI_ButtonActionsMask) &&
+         (!XkbXI_DevHasBtnActs(devi))) ||
+        ((changes->changed & XkbXI_IndicatorsMask) &&
+         (!XkbXI_DevHasLeds(devi))))
+        return False;
+
+    size = nLeds = 0;
+    _InitLedStuff(&lstuff, changes->changed, devi);
+    if (_XkbSetDeviceInfoSize(devi, changes, &lstuff, &size, &nLeds) != Success)
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetDeviceInfo, req);
-    req->length+=      size/4;
-    req->reqType=      xkbi->codes->major_opcode;
-    req->xkbReqType=   X_kbSetDeviceInfo;
-    req->deviceSpec=   devi->device_spec;
-    req->firstBtn=     changes->first_btn;
-    req->nBtns=                changes->num_btns;
-    req->change=       changes->changed;
-    req->nDeviceLedFBs=        nLeds;
-    if (size>0) {
-       char *  wire;
-       BufAlloc(char *,wire,size);
-       ok= (wire!=NULL)&&
-               (_XkbWriteSetDeviceInfo(wire,changes,&lstuff,devi)==size);
+    req->length += size / 4;
+    req->reqType = xkbi->codes->major_opcode;
+    req->xkbReqType = X_kbSetDeviceInfo;
+    req->deviceSpec = devi->device_spec;
+    req->firstBtn = changes->first_btn;
+    req->nBtns = changes->num_btns;
+    req->change = changes->changed;
+    req->nDeviceLedFBs = nLeds;
+    if (size > 0) {
+        char *wire;
+
+        BufAlloc(char *, wire, size);
+        ok = (wire != NULL) &&
+            (_XkbWriteSetDeviceInfo(wire, changes, &lstuff, devi) == size);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -756,62 +778,64 @@ XkbChangeDeviceInfo(      Display *               dpy,
 }
 
 Bool
-XkbSetDeviceLedInfo(   Display *               dpy,
-                       XkbDeviceInfoPtr        devi,
-                       unsigned                ledClass,
-                       unsigned                ledID,
-                       unsigned                which)
+XkbSetDeviceLedInfo(Display *dpy,
+                    XkbDeviceInfoPtr devi,
+                    unsigned ledClass,
+                    unsigned ledID,
+                    unsigned which)
 {
     return False;
 }
 
 Bool
-XkbSetDeviceButtonActions(     Display *               dpy,
-                               XkbDeviceInfoPtr        devi,
-                               unsigned int            first,
-                               unsigned int            nBtns)
+XkbSetDeviceButtonActions(Display *dpy,
+                          XkbDeviceInfoPtr devi,
+                          unsigned int first,
+                          unsigned int nBtns)
 {
     register xkbSetDeviceInfoReq *req;
-    Status                     ok = 0;
-    int                                size,nLeds;
-    XkbInfoPtr                         xkbi;
-    XkbDeviceChangesRec                changes;
-    SetLedStuff                        lstuff;
+    Status ok = 0;
+    int size, nLeds;
+    XkbInfoPtr xkbi;
+    XkbDeviceChangesRec changes;
+    SetLedStuff lstuff;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!devi)||(!XkbXI_DevHasBtnActs(devi))||(first+nBtns>devi->num_btns))
-       return False;
-    if (nBtns==0)
-       return True;
-
-    bzero((char *)&changes,sizeof(XkbDeviceChangesRec));
-    changes.changed=           XkbXI_ButtonActionsMask;
-    changes.first_btn=         first;
-    changes.num_btns=          nBtns;
-    changes.leds.led_class=    XkbXINone;
-    changes.leds.led_id=       XkbXINone;
-    changes.leds.defined=      0;
-    size= nLeds=               0;
-    if (_XkbSetDeviceInfoSize(devi,&changes,NULL,&size,&nLeds)!=Success)
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!devi) || (!XkbXI_DevHasBtnActs(devi)) ||
+        (first + nBtns > devi->num_btns))
+        return False;
+    if (nBtns == 0)
+        return True;
+
+    bzero((char *) &changes, sizeof(XkbDeviceChangesRec));
+    changes.changed = XkbXI_ButtonActionsMask;
+    changes.first_btn = first;
+    changes.num_btns = nBtns;
+    changes.leds.led_class = XkbXINone;
+    changes.leds.led_id = XkbXINone;
+    changes.leds.defined = 0;
+    size = nLeds = 0;
+    if (_XkbSetDeviceInfoSize(devi, &changes, NULL, &size, &nLeds) != Success)
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetDeviceInfo, req);
-    req->length+=      size/4;
-    req->reqType=      xkbi->codes->major_opcode;
-    req->xkbReqType=   X_kbSetDeviceInfo;
-    req->deviceSpec=   devi->device_spec;
-    req->firstBtn=     changes.first_btn;
-    req->nBtns=                changes.num_btns;
-    req->change=       changes.changed;
-    req->nDeviceLedFBs=        nLeds;
-    if (size>0) {
-       char *  wire;
-       BufAlloc(char *,wire,size);
-       ok= (wire!=NULL)&&
-               (_XkbWriteSetDeviceInfo(wire,&changes,&lstuff,devi)==size);
+    req->length += size / 4;
+    req->reqType = xkbi->codes->major_opcode;
+    req->xkbReqType = X_kbSetDeviceInfo;
+    req->deviceSpec = devi->device_spec;
+    req->firstBtn = changes.first_btn;
+    req->nBtns = changes.num_btns;
+    req->change = changes.changed;
+    req->nDeviceLedFBs = nLeds;
+    if (size > 0) {
+        char *wire;
+
+        BufAlloc(char *, wire, size);
+        ok = (wire != NULL) &&
+            (_XkbWriteSetDeviceInfo(wire, &changes, &lstuff, devi) == size);
     }
     UnlockDisplay(dpy);
     SyncHandle();
index 7679496..63bb2db 100644 (file)
@@ -24,13 +24,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ********************************************************/
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#elif defined(HAVE_CONFIG_H)
+#ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-#ifndef XKB_IN_SERVER
 
 #include <stdio.h>
 #include "Xlibint.h"
@@ -38,113 +35,97 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/extensions/XKBgeom.h>
 #include <X11/extensions/XKBproto.h>
 
-#else
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/Xproto.h>
-#include "misc.h"
-#include "inputstr.h"
-#include <X11/extensions/XKBsrv.h>
-#include <X11/extensions/XKBgeom.h>
-
-#endif /* XKB_IN_SERVER */
-
-#ifdef X_NOT_POSIX
-#define Size_t unsigned int
-#else
-#define Size_t size_t
-#endif
-
 /***====================================================================***/
 
 static void
-_XkbFreeGeomLeafElems( Bool                    freeAll,
-                       int                     first,
-                       int                     count,
-                       unsigned short *        num_inout,
-                       unsigned short *        sz_inout,
-                       char **                 elems,
-                       unsigned int            elem_sz)
-{
-    if ((freeAll)||(*elems==NULL)) {
-       *num_inout= *sz_inout= 0;
-       if (*elems!=NULL) {
-           _XkbFree(*elems);
-           *elems= NULL;
-       }
-       return;
-    }
-
-    if ((first>=(*num_inout))||(first<0)||(count<1))
-       return;
-
-    if (first+count>=(*num_inout)) {
-       /* truncating the array is easy */
-       (*num_inout)= first;
+_XkbFreeGeomLeafElems(Bool freeAll,
+                      int first,
+                      int count,
+                      unsigned short *num_inout,
+                      unsigned short *sz_inout,
+                      char **elems,
+                      unsigned int elem_sz)
+{
+    if ((freeAll) || (*elems == NULL)) {
+        *num_inout = *sz_inout = 0;
+        if (*elems != NULL) {
+            _XkbFree(*elems);
+            *elems = NULL;
+        }
+        return;
+    }
+
+    if ((first >= (*num_inout)) || (first < 0) || (count < 1))
+        return;
+
+    if (first + count >= (*num_inout)) {
+        /* truncating the array is easy */
+        (*num_inout) = first;
     }
     else {
-       char *  ptr;
-       int     extra;
-       ptr= *elems;
-       extra= ((*num_inout)-(first+count))*elem_sz;
-       if (extra>0)
-           memmove(&ptr[first*elem_sz],&ptr[(first+count)*elem_sz],extra);
-       (*num_inout)-= count;
+        char *ptr;
+        int extra;
+
+        ptr = *elems;
+        extra = ((*num_inout) - (first + count)) * elem_sz;
+        if (extra > 0)
+            memmove(&ptr[first * elem_sz], &ptr[(first + count) * elem_sz],
+                    extra);
+        (*num_inout) -= count;
     }
     return;
 }
 
-typedef void (*ContentsClearFunc)(
-               char *          /* priv */
+typedef void (*ContentsClearFunc) (
+    char *       /* priv */
 );
 
 static void
-_XkbFreeGeomNonLeafElems(      Bool                    freeAll,
-                               int                     first,
-                               int                     count,
-                               unsigned short *        num_inout,
-                               unsigned short *        sz_inout,
-                               char **                 elems,
-                               unsigned int            elem_sz,
-                               ContentsClearFunc       freeFunc)
-{
-register int i;
-register char *ptr;
+_XkbFreeGeomNonLeafElems(Bool freeAll,
+                         int first,
+                         int count,
+                         unsigned short *num_inout,
+                         unsigned short *sz_inout,
+                         char **elems,
+                         unsigned int elem_sz,
+                         ContentsClearFunc freeFunc)
+{
+    register int i;
+    register char *ptr;
 
     if (freeAll) {
-       first= 0;
-       count= (*num_inout);
+        first = 0;
+        count = (*num_inout);
     }
-    else if ((first>=(*num_inout))||(first<0)||(count<1))
-       return;
-    else if (first+count>(*num_inout))
-       count= (*num_inout)-first;
-    if (*elems==NULL)
-       return;
+    else if ((first >= (*num_inout)) || (first < 0) || (count < 1))
+        return;
+    else if (first + count > (*num_inout))
+        count = (*num_inout) - first;
+    if (*elems == NULL)
+        return;
 
     if (freeFunc) {
-       ptr= *elems;
-       ptr+= first*elem_sz;
-       for (i=0;i<count;i++) {
-           (*freeFunc)(ptr);
-           ptr+= elem_sz;
-       }
+        ptr = *elems;
+        ptr += first * elem_sz;
+        for (i = 0; i < count; i++) {
+            (*freeFunc) (ptr);
+            ptr += elem_sz;
+        }
     }
     if (freeAll) {
-       (*num_inout)= (*sz_inout)= 0;
-       if (*elems) {
-           _XkbFree(*elems);
-           *elems= NULL;
-       }
-    }
-    else if (first+count>=(*num_inout))
-       *num_inout= first;
+        (*num_inout) = (*sz_inout) = 0;
+        if (*elems) {
+            _XkbFree(*elems);
+            *elems = NULL;
+        }
+    }
+    else if (first + count >= (*num_inout))
+        *num_inout = first;
     else {
-       i= ((*num_inout)-(first+count))*elem_sz;
-       ptr= *elems;
-       memmove(&ptr[first*elem_sz],&ptr[(first+count)*elem_sz],i);
-       (*num_inout)-= count;
+        i = ((*num_inout) - (first + count)) * elem_sz;
+        ptr = *elems;
+        memmove(&ptr[first * elem_sz], &ptr[(first + count) * elem_sz], i);
+        (*num_inout) -= count;
     }
     return;
 }
@@ -154,44 +135,38 @@ register char *ptr;
 static void
 _XkbClearProperty(char *prop_in)
 {
-XkbPropertyPtr prop= (XkbPropertyPtr)prop_in;
+    XkbPropertyPtr prop = (XkbPropertyPtr) prop_in;
 
     if (prop->name) {
-       _XkbFree(prop->name);
-       prop->name= NULL;
+        _XkbFree(prop->name);
+        prop->name = NULL;
     }
     if (prop->value) {
-       _XkbFree(prop->value);
-       prop->value= NULL;
+        _XkbFree(prop->value);
+        prop->value = NULL;
     }
     return;
 }
 
 void
-XkbFreeGeomProperties( XkbGeometryPtr  geom,
-                       int             first,
-                       int             count,
-                       Bool            freeAll)
-{
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &geom->num_properties,&geom->sz_properties,
-                               (char **)&geom->properties,
-                               sizeof(XkbPropertyRec),_XkbClearProperty);
+XkbFreeGeomProperties(XkbGeometryPtr geom, int first, int count, Bool freeAll)
+{
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &geom->num_properties, &geom->sz_properties,
+                             (char **) &geom->properties,
+                             sizeof(XkbPropertyRec), _XkbClearProperty);
     return;
 }
 
 /***====================================================================***/
 
 void
-XkbFreeGeomKeyAliases( XkbGeometryPtr  geom,
-                       int             first,
-                       int             count,
-                       Bool            freeAll)
-{
-    _XkbFreeGeomLeafElems(freeAll,first,count,
-                               &geom->num_key_aliases,&geom->sz_key_aliases,
-                               (char **)&geom->key_aliases,
-                               sizeof(XkbKeyAliasRec));
+XkbFreeGeomKeyAliases(XkbGeometryPtr geom, int first, int count, Bool freeAll)
+{
+    _XkbFreeGeomLeafElems(freeAll, first, count,
+                          &geom->num_key_aliases, &geom->sz_key_aliases,
+                          (char **) &geom->key_aliases,
+                          sizeof(XkbKeyAliasRec));
     return;
 }
 
@@ -200,32 +175,32 @@ XkbFreeGeomKeyAliases(    XkbGeometryPtr  geom,
 static void
 _XkbClearColor(char *color_in)
 {
-XkbColorPtr    color= (XkbColorPtr)color_in;
+    XkbColorPtr color = (XkbColorPtr) color_in;
 
     if (color->spec)
-       _XkbFree(color->spec);
+        _XkbFree(color->spec);
     return;
 }
 
 void
-XkbFreeGeomColors(XkbGeometryPtr geom,int first,int count,Bool freeAll)
+XkbFreeGeomColors(XkbGeometryPtr geom, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &geom->num_colors,&geom->sz_colors,
-                               (char **)&geom->colors,
-                               sizeof(XkbColorRec),_XkbClearColor);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &geom->num_colors, &geom->sz_colors,
+                             (char **) &geom->colors,
+                             sizeof(XkbColorRec), _XkbClearColor);
     return;
 }
 
 /***====================================================================***/
 
 void
-XkbFreeGeomPoints(XkbOutlinePtr outline,int first,int count,Bool freeAll)
+XkbFreeGeomPoints(XkbOutlinePtr outline, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomLeafElems(freeAll,first,count,
-                               &outline->num_points,&outline->sz_points,
-                               (char **)&outline->points,
-                               sizeof(XkbPointRec));
+    _XkbFreeGeomLeafElems(freeAll, first, count,
+                          &outline->num_points, &outline->sz_points,
+                          (char **) &outline->points,
+                          sizeof(XkbPointRec));
     return;
 }
 
@@ -234,20 +209,20 @@ XkbFreeGeomPoints(XkbOutlinePtr outline,int first,int count,Bool freeAll)
 static void
 _XkbClearOutline(char *outline_in)
 {
-XkbOutlinePtr  outline= (XkbOutlinePtr)outline_in;
+    XkbOutlinePtr outline = (XkbOutlinePtr) outline_in;
 
-    if (outline->points!=NULL)
-       XkbFreeGeomPoints(outline,0,outline->num_points,True);
+    if (outline->points != NULL)
+        XkbFreeGeomPoints(outline, 0, outline->num_points, True);
     return;
 }
 
 void
-XkbFreeGeomOutlines(XkbShapePtr        shape,int first,int count,Bool freeAll)
+XkbFreeGeomOutlines(XkbShapePtr shape, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &shape->num_outlines,&shape->sz_outlines,
-                               (char **)&shape->outlines,
-                               sizeof(XkbOutlineRec),_XkbClearOutline);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &shape->num_outlines, &shape->sz_outlines,
+                             (char **) &shape->outlines,
+                             sizeof(XkbOutlineRec), _XkbClearOutline);
 
     return;
 }
@@ -257,32 +232,32 @@ XkbFreeGeomOutlines(XkbShapePtr   shape,int first,int count,Bool freeAll)
 static void
 _XkbClearShape(char *shape_in)
 {
-XkbShapePtr    shape= (XkbShapePtr)shape_in;
+    XkbShapePtr shape = (XkbShapePtr) shape_in;
 
     if (shape->outlines)
-       XkbFreeGeomOutlines(shape,0,shape->num_outlines,True);
+        XkbFreeGeomOutlines(shape, 0, shape->num_outlines, True);
     return;
 }
 
 void
-XkbFreeGeomShapes(XkbGeometryPtr geom,int first,int count,Bool freeAll)
+XkbFreeGeomShapes(XkbGeometryPtr geom, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &geom->num_shapes,&geom->sz_shapes,
-                               (char **)&geom->shapes,
-                               sizeof(XkbShapeRec),_XkbClearShape);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &geom->num_shapes, &geom->sz_shapes,
+                             (char **) &geom->shapes,
+                             sizeof(XkbShapeRec), _XkbClearShape);
     return;
 }
 
 /***====================================================================***/
 
 void
-XkbFreeGeomOverlayKeys(XkbOverlayRowPtr row,int first,int count,Bool freeAll)
+XkbFreeGeomOverlayKeys(XkbOverlayRowPtr row, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomLeafElems(freeAll,first,count,
-                               &row->num_keys,&row->sz_keys,
-                               (char **)&row->keys,
-                               sizeof(XkbOverlayKeyRec));
+    _XkbFreeGeomLeafElems(freeAll, first, count,
+                          &row->num_keys, &row->sz_keys,
+                          (char **) &row->keys,
+                          sizeof(XkbOverlayKeyRec));
     return;
 }
 
@@ -291,20 +266,21 @@ XkbFreeGeomOverlayKeys(XkbOverlayRowPtr row,int first,int count,Bool freeAll)
 static void
 _XkbClearOverlayRow(char *row_in)
 {
-XkbOverlayRowPtr       row= (XkbOverlayRowPtr)row_in;
+    XkbOverlayRowPtr row = (XkbOverlayRowPtr) row_in;
 
-    if (row->keys!=NULL)
-       XkbFreeGeomOverlayKeys(row,0,row->num_keys,True);
+    if (row->keys != NULL)
+        XkbFreeGeomOverlayKeys(row, 0, row->num_keys, True);
     return;
 }
 
 void
-XkbFreeGeomOverlayRows(XkbOverlayPtr overlay,int first,int count,Bool freeAll)
+XkbFreeGeomOverlayRows(XkbOverlayPtr overlay, int first, int count,
+                       Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &overlay->num_rows,&overlay->sz_rows,
-                               (char **)&overlay->rows,
-                               sizeof(XkbOverlayRowRec),_XkbClearOverlayRow);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &overlay->num_rows, &overlay->sz_rows,
+                             (char **) &overlay->rows,
+                             sizeof(XkbOverlayRowRec), _XkbClearOverlayRow);
     return;
 }
 
@@ -313,32 +289,32 @@ XkbFreeGeomOverlayRows(XkbOverlayPtr overlay,int first,int count,Bool freeAll)
 static void
 _XkbClearOverlay(char *overlay_in)
 {
-XkbOverlayPtr  overlay= (XkbOverlayPtr)overlay_in;
+    XkbOverlayPtr overlay = (XkbOverlayPtr) overlay_in;
 
-    if (overlay->rows!=NULL)
-       XkbFreeGeomOverlayRows(overlay,0,overlay->num_rows,True);
+    if (overlay->rows != NULL)
+        XkbFreeGeomOverlayRows(overlay, 0, overlay->num_rows, True);
     return;
 }
 
 void
-XkbFreeGeomOverlays(XkbSectionPtr section,int first,int        count,Bool freeAll)
+XkbFreeGeomOverlays(XkbSectionPtr section, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &section->num_overlays,&section->sz_overlays,
-                               (char **)&section->overlays,
-                               sizeof(XkbOverlayRec),_XkbClearOverlay);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &section->num_overlays, &section->sz_overlays,
+                             (char **) &section->overlays,
+                             sizeof(XkbOverlayRec), _XkbClearOverlay);
     return;
 }
 
 /***====================================================================***/
 
 void
-XkbFreeGeomKeys(XkbRowPtr row,int first,int count,Bool freeAll)
+XkbFreeGeomKeys(XkbRowPtr row, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomLeafElems(freeAll,first,count,
-                               &row->num_keys,&row->sz_keys,
-                               (char **)&row->keys,
-                               sizeof(XkbKeyRec));
+    _XkbFreeGeomLeafElems(freeAll, first, count,
+                          &row->num_keys, &row->sz_keys,
+                          (char **) &row->keys,
+                          sizeof(XkbKeyRec));
     return;
 }
 
@@ -347,20 +323,20 @@ XkbFreeGeomKeys(XkbRowPtr row,int first,int count,Bool freeAll)
 static void
 _XkbClearRow(char *row_in)
 {
-XkbRowPtr      row= (XkbRowPtr)row_in;
+    XkbRowPtr row = (XkbRowPtr) row_in;
 
-    if (row->keys!=NULL)
-       XkbFreeGeomKeys(row,0,row->num_keys,True);
+    if (row->keys != NULL)
+        XkbFreeGeomKeys(row, 0, row->num_keys, True);
     return;
 }
 
 void
-XkbFreeGeomRows(XkbSectionPtr section,int first,int count,Bool freeAll)
+XkbFreeGeomRows(XkbSectionPtr section, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &section->num_rows,&section->sz_rows,
-                               (char **)&section->rows,
-                               sizeof(XkbRowRec),_XkbClearRow);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &section->num_rows, &section->sz_rows,
+                             (char **) &section->rows,
+                             sizeof(XkbRowRec), _XkbClearRow);
 }
 
 /***====================================================================***/
@@ -368,24 +344,24 @@ XkbFreeGeomRows(XkbSectionPtr section,int first,int count,Bool freeAll)
 static void
 _XkbClearSection(char *section_in)
 {
-XkbSectionPtr  section= (XkbSectionPtr)section_in;
+    XkbSectionPtr section = (XkbSectionPtr) section_in;
 
-    if (section->rows!=NULL)
-       XkbFreeGeomRows(section,0,section->num_rows,True);
-    if (section->doodads!=NULL) {
-       XkbFreeGeomDoodads(section->doodads,section->num_doodads,True);
-       section->doodads= NULL;
+    if (section->rows != NULL)
+        XkbFreeGeomRows(section, 0, section->num_rows, True);
+    if (section->doodads != NULL) {
+        XkbFreeGeomDoodads(section->doodads, section->num_doodads, True);
+        section->doodads = NULL;
     }
     return;
 }
 
 void
-XkbFreeGeomSections(XkbGeometryPtr geom,int first,int count,Bool freeAll)
+XkbFreeGeomSections(XkbGeometryPtr geom, int first, int count, Bool freeAll)
 {
-    _XkbFreeGeomNonLeafElems(freeAll,first,count,
-                               &geom->num_sections,&geom->sz_sections,
-                               (char **)&geom->sections,
-                               sizeof(XkbSectionRec),_XkbClearSection);
+    _XkbFreeGeomNonLeafElems(freeAll, first, count,
+                             &geom->num_sections, &geom->sz_sections,
+                             (char **) &geom->sections,
+                             sizeof(XkbSectionRec), _XkbClearSection);
     return;
 }
 
@@ -394,77 +370,77 @@ XkbFreeGeomSections(XkbGeometryPtr geom,int first,int count,Bool freeAll)
 static void
 _XkbClearDoodad(char *doodad_in)
 {
-XkbDoodadPtr   doodad= (XkbDoodadPtr)doodad_in;
+    XkbDoodadPtr doodad = (XkbDoodadPtr) doodad_in;
 
     switch (doodad->any.type) {
-       case XkbTextDoodad:
-           {
-               if (doodad->text.text!=NULL) {
-                   _XkbFree(doodad->text.text);
-                   doodad->text.text= NULL;
-               }
-               if (doodad->text.font!=NULL) {
-                   _XkbFree(doodad->text.font);
-                   doodad->text.font= NULL;
-               }
-           }
-           break;
-       case XkbLogoDoodad:
-           {
-               if (doodad->logo.logo_name!=NULL) {
-                   _XkbFree(doodad->logo.logo_name);
-                   doodad->logo.logo_name= NULL;
-               }
-           }
-           break;
+    case XkbTextDoodad:
+    {
+        if (doodad->text.text != NULL) {
+            _XkbFree(doodad->text.text);
+            doodad->text.text = NULL;
+        }
+        if (doodad->text.font != NULL) {
+            _XkbFree(doodad->text.font);
+            doodad->text.font = NULL;
+        }
+    }
+        break;
+    case XkbLogoDoodad:
+    {
+        if (doodad->logo.logo_name != NULL) {
+            _XkbFree(doodad->logo.logo_name);
+            doodad->logo.logo_name = NULL;
+        }
+    }
+        break;
     }
     return;
 }
 
 void
-XkbFreeGeomDoodads(XkbDoodadPtr doodads,int nDoodads,Bool freeAll)
+XkbFreeGeomDoodads(XkbDoodadPtr doodads, int nDoodads, Bool freeAll)
 {
-register int           i;
-register XkbDoodadPtr  doodad;
+    register int i;
+    register XkbDoodadPtr doodad;
 
     if (doodads) {
-       for (i=0,doodad= doodads;i<nDoodads;i++,doodad++) {
-           _XkbClearDoodad((char *)doodad);
-       }
-       if (freeAll)
-           _XkbFree(doodads);
+        for (i = 0, doodad = doodads; i < nDoodads; i++, doodad++) {
+            _XkbClearDoodad((char *) doodad);
+        }
+        if (freeAll)
+            _XkbFree(doodads);
     }
     return;
 }
 
 void
-XkbFreeGeometry(XkbGeometryPtr geom,unsigned which,Bool freeMap)
+XkbFreeGeometry(XkbGeometryPtr geom, unsigned which, Bool freeMap)
 {
-    if (geom==NULL)
-       return;
+    if (geom == NULL)
+        return;
     if (freeMap)
-       which= XkbGeomAllMask;
-    if ((which&XkbGeomPropertiesMask)&&(geom->properties!=NULL))
-       XkbFreeGeomProperties(geom,0,geom->num_properties,True);
-    if ((which&XkbGeomColorsMask)&&(geom->colors!=NULL))
-       XkbFreeGeomColors(geom,0,geom->num_colors,True);
-    if ((which&XkbGeomShapesMask)&&(geom->shapes!=NULL))
-       XkbFreeGeomShapes(geom,0,geom->num_shapes,True);
-    if ((which&XkbGeomSectionsMask)&&(geom->sections!=NULL))
-       XkbFreeGeomSections(geom,0,geom->num_sections,True);
-    if ((which&XkbGeomDoodadsMask)&&(geom->doodads!= NULL)) {
-       XkbFreeGeomDoodads(geom->doodads,geom->num_doodads,True);
-       geom->doodads= NULL;
-       geom->num_doodads= geom->sz_doodads= 0;
-    }
-    if ((which&XkbGeomKeyAliasesMask)&&(geom->key_aliases!=NULL))
-       XkbFreeGeomKeyAliases(geom,0,geom->num_key_aliases,True);
+        which = XkbGeomAllMask;
+    if ((which & XkbGeomPropertiesMask) && (geom->properties != NULL))
+        XkbFreeGeomProperties(geom, 0, geom->num_properties, True);
+    if ((which & XkbGeomColorsMask) && (geom->colors != NULL))
+        XkbFreeGeomColors(geom, 0, geom->num_colors, True);
+    if ((which & XkbGeomShapesMask) && (geom->shapes != NULL))
+        XkbFreeGeomShapes(geom, 0, geom->num_shapes, True);
+    if ((which & XkbGeomSectionsMask) && (geom->sections != NULL))
+        XkbFreeGeomSections(geom, 0, geom->num_sections, True);
+    if ((which & XkbGeomDoodadsMask) && (geom->doodads != NULL)) {
+        XkbFreeGeomDoodads(geom->doodads, geom->num_doodads, True);
+        geom->doodads = NULL;
+        geom->num_doodads = geom->sz_doodads = 0;
+    }
+    if ((which & XkbGeomKeyAliasesMask) && (geom->key_aliases != NULL))
+        XkbFreeGeomKeyAliases(geom, 0, geom->num_key_aliases, True);
     if (freeMap) {
-       if (geom->label_font!=NULL) {
-           _XkbFree(geom->label_font);
-           geom->label_font= NULL;
-       }
-       _XkbFree(geom);
+        if (geom->label_font != NULL) {
+            _XkbFree(geom->label_font);
+            geom->label_font = NULL;
+        }
+        _XkbFree(geom);
     }
     return;
 }
@@ -472,336 +448,339 @@ XkbFreeGeometry(XkbGeometryPtr geom,unsigned which,Bool freeMap)
 /***====================================================================***/
 
 static Status
-_XkbGeomAlloc( XPointer *              old,
-               unsigned short *        num,
-               unsigned short *        total,
-               int                     num_new,
-               Size_t                  sz_elem)
-{
-    if (num_new<1)
-       return Success;
-    if ((*old)==NULL)
-       *num= *total= 0;
-
-    if ((*num)+num_new<=(*total))
-       return Success;
-
-    *total= (*num)+num_new;
-    if ((*old)!=NULL)
-        (*old)= (XPointer)_XkbRealloc((*old),(*total)*sz_elem);
-    else (*old)= (XPointer)_XkbCalloc((*total),sz_elem);
-    if ((*old)==NULL) {
-       *total= *num= 0;
-       return BadAlloc;
-    }
-
-    if (*num>0) {
-       char *tmp= (char *)(*old);
-       bzero(&tmp[sz_elem*(*num)],(num_new*sz_elem));
+_XkbGeomAlloc(XPointer *old,
+              unsigned short *num,
+              unsigned short *total,
+              int num_new,
+              size_t sz_elem)
+{
+    if (num_new < 1)
+        return Success;
+    if ((*old) == NULL)
+        *num = *total = 0;
+
+    if ((*num) + num_new <= (*total))
+        return Success;
+
+    *total = (*num) + num_new;
+    if ((*old) != NULL)
+        (*old) = (XPointer) _XkbRealloc((*old), (*total) * sz_elem);
+    else
+        (*old) = (XPointer) _XkbCalloc((*total), sz_elem);
+    if ((*old) == NULL) {
+        *total = *num = 0;
+        return BadAlloc;
+    }
+
+    if (*num > 0) {
+        char *tmp = (char *) (*old);
+        bzero(&tmp[sz_elem * (*num)], (num_new * sz_elem));
     }
     return Success;
 }
 
-#define        _XkbAllocProps(g,n) _XkbGeomAlloc((XPointer *)&(g)->properties,\
-                               &(g)->num_properties,&(g)->sz_properties,\
-                               (n),sizeof(XkbPropertyRec))
-#define        _XkbAllocColors(g,n) _XkbGeomAlloc((XPointer *)&(g)->colors,\
-                               &(g)->num_colors,&(g)->sz_colors,\
-                               (n),sizeof(XkbColorRec))
-#define        _XkbAllocShapes(g,n) _XkbGeomAlloc((XPointer *)&(g)->shapes,\
-                               &(g)->num_shapes,&(g)->sz_shapes,\
-                               (n),sizeof(XkbShapeRec))
-#define        _XkbAllocSections(g,n) _XkbGeomAlloc((XPointer *)&(g)->sections,\
-                               &(g)->num_sections,&(g)->sz_sections,\
-                               (n),sizeof(XkbSectionRec))
-#define        _XkbAllocDoodads(g,n) _XkbGeomAlloc((XPointer *)&(g)->doodads,\
-                               &(g)->num_doodads,&(g)->sz_doodads,\
-                               (n),sizeof(XkbDoodadRec))
-#define        _XkbAllocKeyAliases(g,n) _XkbGeomAlloc((XPointer *)&(g)->key_aliases,\
-                               &(g)->num_key_aliases,&(g)->sz_key_aliases,\
-                               (n),sizeof(XkbKeyAliasRec))
-
-#define        _XkbAllocOutlines(s,n) _XkbGeomAlloc((XPointer *)&(s)->outlines,\
-                               &(s)->num_outlines,&(s)->sz_outlines,\
-                               (n),sizeof(XkbOutlineRec))
-#define        _XkbAllocRows(s,n) _XkbGeomAlloc((XPointer *)&(s)->rows,\
-                               &(s)->num_rows,&(s)->sz_rows,\
-                               (n),sizeof(XkbRowRec))
-#define        _XkbAllocPoints(o,n) _XkbGeomAlloc((XPointer *)&(o)->points,\
-                               &(o)->num_points,&(o)->sz_points,\
-                               (n),sizeof(XkbPointRec))
-#define        _XkbAllocKeys(r,n) _XkbGeomAlloc((XPointer *)&(r)->keys,\
-                               &(r)->num_keys,&(r)->sz_keys,\
-                               (n),sizeof(XkbKeyRec))
-#define        _XkbAllocOverlays(s,n) _XkbGeomAlloc((XPointer *)&(s)->overlays,\
-                               &(s)->num_overlays,&(s)->sz_overlays,\
-                               (n),sizeof(XkbOverlayRec))
-#define        _XkbAllocOverlayRows(o,n) _XkbGeomAlloc((XPointer *)&(o)->rows,\
-                               &(o)->num_rows,&(o)->sz_rows,\
-                               (n),sizeof(XkbOverlayRowRec))
-#define        _XkbAllocOverlayKeys(r,n) _XkbGeomAlloc((XPointer *)&(r)->keys,\
-                               &(r)->num_keys,&(r)->sz_keys,\
-                               (n),sizeof(XkbOverlayKeyRec))
+#define _XkbAllocProps(g, n) _XkbGeomAlloc((XPointer *)&(g)->properties, \
+                                &(g)->num_properties, &(g)->sz_properties, \
+                                (n), sizeof(XkbPropertyRec))
+#define _XkbAllocColors(g, n) _XkbGeomAlloc((XPointer *)&(g)->colors, \
+                                &(g)->num_colors, &(g)->sz_colors, \
+                                (n), sizeof(XkbColorRec))
+#define _XkbAllocShapes(g, n) _XkbGeomAlloc((XPointer *)&(g)->shapes, \
+                                &(g)->num_shapes, &(g)->sz_shapes, \
+                                (n), sizeof(XkbShapeRec))
+#define _XkbAllocSections(g, n) _XkbGeomAlloc((XPointer *)&(g)->sections, \
+                                &(g)->num_sections, &(g)->sz_sections, \
+                                (n), sizeof(XkbSectionRec))
+#define _XkbAllocDoodads(g, n) _XkbGeomAlloc((XPointer *)&(g)->doodads, \
+                                &(g)->num_doodads, &(g)->sz_doodads, \
+                                (n), sizeof(XkbDoodadRec))
+#define _XkbAllocKeyAliases(g, n) _XkbGeomAlloc((XPointer *)&(g)->key_aliases, \
+                                &(g)->num_key_aliases, &(g)->sz_key_aliases, \
+                                (n), sizeof(XkbKeyAliasRec))
+
+#define _XkbAllocOutlines(s, n) _XkbGeomAlloc((XPointer *)&(s)->outlines, \
+                                &(s)->num_outlines, &(s)->sz_outlines, \
+                                (n), sizeof(XkbOutlineRec))
+#define _XkbAllocRows(s, n) _XkbGeomAlloc((XPointer *)&(s)->rows, \
+                                &(s)->num_rows, &(s)->sz_rows, \
+                                (n), sizeof(XkbRowRec))
+#define _XkbAllocPoints(o, n) _XkbGeomAlloc((XPointer *)&(o)->points, \
+                                &(o)->num_points, &(o)->sz_points, \
+                                (n), sizeof(XkbPointRec))
+#define _XkbAllocKeys(r, n) _XkbGeomAlloc((XPointer *)&(r)->keys, \
+                                &(r)->num_keys, &(r)->sz_keys, \
+                                (n), sizeof(XkbKeyRec))
+#define _XkbAllocOverlays(s, n) _XkbGeomAlloc((XPointer *)&(s)->overlays, \
+                                &(s)->num_overlays, &(s)->sz_overlays, \
+                                (n), sizeof(XkbOverlayRec))
+#define _XkbAllocOverlayRows(o, n) _XkbGeomAlloc((XPointer *)&(o)->rows, \
+                                &(o)->num_rows, &(o)->sz_rows, \
+                                (n), sizeof(XkbOverlayRowRec))
+#define _XkbAllocOverlayKeys(r, n) _XkbGeomAlloc((XPointer *)&(r)->keys, \
+                                &(r)->num_keys, &(r)->sz_keys, \
+                                (n), sizeof(XkbOverlayKeyRec))
 
 Status
-XkbAllocGeomProps(XkbGeometryPtr geom,int nProps)
+XkbAllocGeomProps(XkbGeometryPtr geom, int nProps)
 {
-    return _XkbAllocProps(geom,nProps);
+    return _XkbAllocProps(geom, nProps);
 }
 
 Status
-XkbAllocGeomColors(XkbGeometryPtr geom,int nColors)
+XkbAllocGeomColors(XkbGeometryPtr geom, int nColors)
 {
-    return _XkbAllocColors(geom,nColors);
+    return _XkbAllocColors(geom, nColors);
 }
 
 Status
-XkbAllocGeomKeyAliases(XkbGeometryPtr geom,int nKeyAliases)
+XkbAllocGeomKeyAliases(XkbGeometryPtr geom, int nKeyAliases)
 {
-    return _XkbAllocKeyAliases(geom,nKeyAliases);
+    return _XkbAllocKeyAliases(geom, nKeyAliases);
 }
 
 Status
-XkbAllocGeomShapes(XkbGeometryPtr geom,int nShapes)
+XkbAllocGeomShapes(XkbGeometryPtr geom, int nShapes)
 {
-    return _XkbAllocShapes(geom,nShapes);
+    return _XkbAllocShapes(geom, nShapes);
 }
 
 Status
-XkbAllocGeomSections(XkbGeometryPtr geom,int nSections)
+XkbAllocGeomSections(XkbGeometryPtr geom, int nSections)
 {
-    return _XkbAllocSections(geom,nSections);
+    return _XkbAllocSections(geom, nSections);
 }
 
 Status
-XkbAllocGeomOverlays(XkbSectionPtr section,int nOverlays)
+XkbAllocGeomOverlays(XkbSectionPtr section, int nOverlays)
 {
-    return _XkbAllocOverlays(section,nOverlays);
+    return _XkbAllocOverlays(section, nOverlays);
 }
 
 Status
-XkbAllocGeomOverlayRows(XkbOverlayPtr overlay,int nRows)
+XkbAllocGeomOverlayRows(XkbOverlayPtr overlay, int nRows)
 {
-    return _XkbAllocOverlayRows(overlay,nRows);
+    return _XkbAllocOverlayRows(overlay, nRows);
 }
 
 Status
-XkbAllocGeomOverlayKeys(XkbOverlayRowPtr row,int nKeys)
+XkbAllocGeomOverlayKeys(XkbOverlayRowPtr row, int nKeys)
 {
-    return _XkbAllocOverlayKeys(row,nKeys);
+    return _XkbAllocOverlayKeys(row, nKeys);
 }
 
 Status
-XkbAllocGeomDoodads(XkbGeometryPtr geom,int nDoodads)
+XkbAllocGeomDoodads(XkbGeometryPtr geom, int nDoodads)
 {
-    return _XkbAllocDoodads(geom,nDoodads);
+    return _XkbAllocDoodads(geom, nDoodads);
 }
 
 Status
-XkbAllocGeomSectionDoodads(XkbSectionPtr section,int nDoodads)
+XkbAllocGeomSectionDoodads(XkbSectionPtr section, int nDoodads)
 {
-    return _XkbAllocDoodads(section,nDoodads);
+    return _XkbAllocDoodads(section, nDoodads);
 }
 
 Status
-XkbAllocGeomOutlines(XkbShapePtr shape,int nOL)
+XkbAllocGeomOutlines(XkbShapePtr shape, int nOL)
 {
-    return _XkbAllocOutlines(shape,nOL);
+    return _XkbAllocOutlines(shape, nOL);
 }
 
 Status
-XkbAllocGeomRows(XkbSectionPtr section,int nRows)
+XkbAllocGeomRows(XkbSectionPtr section, int nRows)
 {
-    return _XkbAllocRows(section,nRows);
+    return _XkbAllocRows(section, nRows);
 }
 
 Status
-XkbAllocGeomPoints(XkbOutlinePtr ol,int nPts)
+XkbAllocGeomPoints(XkbOutlinePtr ol, int nPts)
 {
-    return _XkbAllocPoints(ol,nPts);
+    return _XkbAllocPoints(ol, nPts);
 }
 
 Status
-XkbAllocGeomKeys(XkbRowPtr row,int nKeys)
+XkbAllocGeomKeys(XkbRowPtr row, int nKeys)
 {
-    return _XkbAllocKeys(row,nKeys);
+    return _XkbAllocKeys(row, nKeys);
 }
 
 Status
-XkbAllocGeometry(XkbDescPtr xkb,XkbGeometrySizesPtr sizes)
+XkbAllocGeometry(XkbDescPtr xkb, XkbGeometrySizesPtr sizes)
 {
-XkbGeometryPtr geom;
-Status         rtrn;
+    XkbGeometryPtr geom;
+    Status rtrn;
 
-    if (xkb->geom==NULL) {
-       xkb->geom= _XkbTypedCalloc(1,XkbGeometryRec);
-       if (!xkb->geom)
-           return BadAlloc;
+    if (xkb->geom == NULL) {
+        xkb->geom = _XkbTypedCalloc(1, XkbGeometryRec);
+        if (!xkb->geom)
+            return BadAlloc;
     }
-    geom= xkb->geom;
-    if ((sizes->which&XkbGeomPropertiesMask)&&
-       ((rtrn=_XkbAllocProps(geom,sizes->num_properties))!=Success)) {
-       goto BAIL;
+    geom = xkb->geom;
+    if ((sizes->which & XkbGeomPropertiesMask) &&
+        ((rtrn = _XkbAllocProps(geom, sizes->num_properties)) != Success)) {
+        goto BAIL;
     }
-    if ((sizes->which&XkbGeomColorsMask)&&
-       ((rtrn=_XkbAllocColors(geom,sizes->num_colors))!=Success)) {
-       goto BAIL;
+    if ((sizes->which & XkbGeomColorsMask) &&
+        ((rtrn = _XkbAllocColors(geom, sizes->num_colors)) != Success)) {
+        goto BAIL;
     }
-    if ((sizes->which&XkbGeomShapesMask)&&
-       ((rtrn=_XkbAllocShapes(geom,sizes->num_shapes))!=Success)) {
-       goto BAIL;
+    if ((sizes->which & XkbGeomShapesMask) &&
+        ((rtrn = _XkbAllocShapes(geom, sizes->num_shapes)) != Success)) {
+        goto BAIL;
     }
-    if ((sizes->which&XkbGeomSectionsMask)&&
-       ((rtrn=_XkbAllocSections(geom,sizes->num_sections))!=Success)) {
-       goto BAIL;
+    if ((sizes->which & XkbGeomSectionsMask) &&
+        ((rtrn = _XkbAllocSections(geom, sizes->num_sections)) != Success)) {
+        goto BAIL;
     }
-    if ((sizes->which&XkbGeomDoodadsMask)&&
-       ((rtrn=_XkbAllocDoodads(geom,sizes->num_doodads))!=Success)) {
-       goto BAIL;
+    if ((sizes->which & XkbGeomDoodadsMask) &&
+        ((rtrn = _XkbAllocDoodads(geom, sizes->num_doodads)) != Success)) {
+        goto BAIL;
     }
-    if ((sizes->which&XkbGeomKeyAliasesMask)&&
-       ((rtrn=_XkbAllocKeyAliases(geom,sizes->num_key_aliases))!=Success)) {
-       goto BAIL;
+    if ((sizes->which & XkbGeomKeyAliasesMask) &&
+        ((rtrn = _XkbAllocKeyAliases(geom, sizes->num_key_aliases))
+         != Success)) {
+        goto BAIL;
     }
     return Success;
-BAIL:
-    XkbFreeGeometry(geom,XkbGeomAllMask,True);
-    xkb->geom= NULL;
+ BAIL:
+    XkbFreeGeometry(geom, XkbGeomAllMask, True);
+    xkb->geom = NULL;
     return rtrn;
 }
 
 /***====================================================================***/
 
 XkbPropertyPtr
-XkbAddGeomProperty(XkbGeometryPtr geom,char *name,char *value)
-{
-register int i;
-register XkbPropertyPtr prop;
-
-    if ((!geom)||(!name)||(!value))
-       return NULL;
-    for (i=0,prop=geom->properties;i<geom->num_properties;i++,prop++) {
-       if ((prop->name)&&(strcmp(name,prop->name)==0)) {
-           if (prop->value)
-               _XkbFree(prop->value);
-           prop->value= strdup(value);
-           return prop;
-       }
-    }
-    if ((geom->num_properties>=geom->sz_properties)&&
-                                       (_XkbAllocProps(geom,1)!=Success)) {
-       return NULL;
-    }
-    prop= &geom->properties[geom->num_properties];
-    prop->name= strdup(name);
+XkbAddGeomProperty(XkbGeometryPtr geom, char *name, char *value)
+{
+    register int i;
+    register XkbPropertyPtr prop;
+
+    if ((!geom) || (!name) || (!value))
+        return NULL;
+    for (i = 0, prop = geom->properties; i < geom->num_properties; i++, prop++) {
+        if ((prop->name) && (strcmp(name, prop->name) == 0)) {
+            if (prop->value)
+                _XkbFree(prop->value);
+            prop->value = strdup(value);
+            return prop;
+        }
+    }
+    if ((geom->num_properties >= geom->sz_properties) &&
+        (_XkbAllocProps(geom, 1) != Success)) {
+        return NULL;
+    }
+    prop = &geom->properties[geom->num_properties];
+    prop->name = strdup(name);
     if (!prop->name)
-       return NULL;
-    prop->value= strdup(value);
+        return NULL;
+    prop->value = strdup(value);
     if (!prop->value) {
-       _XkbFree(prop->name);
-       prop->name= NULL;
-       return NULL;
+        _XkbFree(prop->name);
+        prop->name = NULL;
+        return NULL;
     }
     geom->num_properties++;
     return prop;
 }
 
 XkbKeyAliasPtr
-XkbAddGeomKeyAlias(XkbGeometryPtr geom,char *aliasStr,char *realStr)
-{
-register int i;
-register XkbKeyAliasPtr alias;
-
-    if ((!geom)||(!aliasStr)||(!realStr)||(!aliasStr[0])||(!realStr[0]))
-       return NULL;
-    for (i=0,alias=geom->key_aliases;i<geom->num_key_aliases;i++,alias++) {
-       if (strncmp(alias->alias,aliasStr,XkbKeyNameLength)==0) {
-           bzero(alias->real,XkbKeyNameLength);
-           strncpy(alias->real,realStr,XkbKeyNameLength);
-           return alias;
-       }
-    }
-    if ((geom->num_key_aliases>=geom->sz_key_aliases)&&
-                               (_XkbAllocKeyAliases(geom,1)!=Success)) {
-       return NULL;
-    }
-    alias= &geom->key_aliases[geom->num_key_aliases];
-    bzero(alias,sizeof(XkbKeyAliasRec));
-    strncpy(alias->alias,aliasStr,XkbKeyNameLength);
-    strncpy(alias->real,realStr,XkbKeyNameLength);
+XkbAddGeomKeyAlias(XkbGeometryPtr geom, char *aliasStr, char *realStr)
+{
+    register int i;
+    register XkbKeyAliasPtr alias;
+
+    if ((!geom) || (!aliasStr) || (!realStr) || (!aliasStr[0]) || (!realStr[0]))
+        return NULL;
+    for (i = 0, alias = geom->key_aliases; i < geom->num_key_aliases;
+         i++, alias++) {
+        if (strncmp(alias->alias, aliasStr, XkbKeyNameLength) == 0) {
+            bzero(alias->real, XkbKeyNameLength);
+            strncpy(alias->real, realStr, XkbKeyNameLength);
+            return alias;
+        }
+    }
+    if ((geom->num_key_aliases >= geom->sz_key_aliases) &&
+        (_XkbAllocKeyAliases(geom, 1) != Success)) {
+        return NULL;
+    }
+    alias = &geom->key_aliases[geom->num_key_aliases];
+    bzero(alias, sizeof(XkbKeyAliasRec));
+    strncpy(alias->alias, aliasStr, XkbKeyNameLength);
+    strncpy(alias->real, realStr, XkbKeyNameLength);
     geom->num_key_aliases++;
     return alias;
 }
 
 XkbColorPtr
-XkbAddGeomColor(XkbGeometryPtr geom,char *spec,unsigned int pixel)
-{
-register int i;
-register XkbColorPtr color;
-
-    if ((!geom)||(!spec))
-       return NULL;
-    for (i=0,color=geom->colors;i<geom->num_colors;i++,color++) {
-       if ((color->spec)&&(strcmp(color->spec,spec)==0)) {
-           color->pixel= pixel;
-           return color;
-       }
-    }
-    if ((geom->num_colors>=geom->sz_colors)&&
-                                       (_XkbAllocColors(geom,1)!=Success)) {
-       return NULL;
-    }
-    color= &geom->colors[geom->num_colors];
-    color->pixel= pixel;
-    color->spec= strdup(spec);
+XkbAddGeomColor(XkbGeometryPtr geom, char *spec, unsigned int pixel)
+{
+    register int i;
+    register XkbColorPtr color;
+
+    if ((!geom) || (!spec))
+        return NULL;
+    for (i = 0, color = geom->colors; i < geom->num_colors; i++, color++) {
+        if ((color->spec) && (strcmp(color->spec, spec) == 0)) {
+            color->pixel = pixel;
+            return color;
+        }
+    }
+    if ((geom->num_colors >= geom->sz_colors) &&
+        (_XkbAllocColors(geom, 1) != Success)) {
+        return NULL;
+    }
+    color = &geom->colors[geom->num_colors];
+    color->pixel = pixel;
+    color->spec = strdup(spec);
     if (!color->spec)
-       return NULL;
+        return NULL;
     geom->num_colors++;
     return color;
 }
 
 XkbOutlinePtr
-XkbAddGeomOutline(XkbShapePtr shape,int sz_points)
+XkbAddGeomOutline(XkbShapePtr shape, int sz_points)
 {
-XkbOutlinePtr  outline;
+    XkbOutlinePtr outline;
 
-    if ((!shape)||(sz_points<0))
-       return NULL;
-    if ((shape->num_outlines>=shape->sz_outlines)&&
-                                       (_XkbAllocOutlines(shape,1)!=Success)) {
-       return NULL;
+    if ((!shape) || (sz_points < 0))
+        return NULL;
+    if ((shape->num_outlines >= shape->sz_outlines) &&
+        (_XkbAllocOutlines(shape, 1) != Success)) {
+        return NULL;
     }
-    outline= &shape->outlines[shape->num_outlines];
-    bzero(outline,sizeof(XkbOutlineRec));
-    if ((sz_points>0)&&(_XkbAllocPoints(outline,sz_points)!=Success))
-       return NULL;
+    outline = &shape->outlines[shape->num_outlines];
+    bzero(outline, sizeof(XkbOutlineRec));
+    if ((sz_points > 0) && (_XkbAllocPoints(outline, sz_points) != Success))
+        return NULL;
     shape->num_outlines++;
     return outline;
 }
 
 XkbShapePtr
-XkbAddGeomShape(XkbGeometryPtr geom,Atom name,int sz_outlines)
-{
-XkbShapePtr    shape;
-register int   i;
-
-    if ((!geom)||(!name)||(sz_outlines<0))
-       return NULL;
-    if (geom->num_shapes>0) {
-       for (shape=geom->shapes,i=0;i<geom->num_shapes;i++,shape++) {
-           if (name==shape->name)
-               return shape;
-       }
-    }
-    if ((geom->num_shapes>=geom->sz_shapes)&&
-                                       (_XkbAllocShapes(geom,1)!=Success))
-       return NULL;
-    shape= &geom->shapes[geom->num_shapes];
-    bzero(shape,sizeof(XkbShapeRec));
-    if ((sz_outlines>0)&&(_XkbAllocOutlines(shape,sz_outlines)!=Success))
-       return NULL;
-    shape->name= name;
-    shape->primary= shape->approx= NULL;
+XkbAddGeomShape(XkbGeometryPtr geom, Atom name, int sz_outlines)
+{
+    XkbShapePtr shape;
+    register int i;
+
+    if ((!geom) || (!name) || (sz_outlines < 0))
+        return NULL;
+    if (geom->num_shapes > 0) {
+        for (shape = geom->shapes, i = 0; i < geom->num_shapes; i++, shape++) {
+            if (name == shape->name)
+                return shape;
+        }
+    }
+    if ((geom->num_shapes >= geom->sz_shapes) &&
+        (_XkbAllocShapes(geom, 1) != Success))
+        return NULL;
+    shape = &geom->shapes[geom->num_shapes];
+    bzero(shape, sizeof(XkbShapeRec));
+    if ((sz_outlines > 0) && (_XkbAllocOutlines(shape, sz_outlines) != Success))
+        return NULL;
+    shape->name = name;
+    shape->primary = shape->approx = NULL;
     geom->num_shapes++;
     return shape;
 }
@@ -809,203 +788,209 @@ register int    i;
 XkbKeyPtr
 XkbAddGeomKey(XkbRowPtr row)
 {
-XkbKeyPtr      key;
+    XkbKeyPtr key;
+
     if (!row)
-       return NULL;
-    if ((row->num_keys>=row->sz_keys)&&(_XkbAllocKeys(row,1)!=Success))
-       return NULL;
-    key= &row->keys[row->num_keys++];
-    bzero(key,sizeof(XkbKeyRec));
+        return NULL;
+    if ((row->num_keys >= row->sz_keys) && (_XkbAllocKeys(row, 1) != Success))
+        return NULL;
+    key = &row->keys[row->num_keys++];
+    bzero(key, sizeof(XkbKeyRec));
     return key;
 }
 
 XkbRowPtr
-XkbAddGeomRow(XkbSectionPtr section,int sz_keys)
-{
-XkbRowPtr      row;
-
-    if ((!section)||(sz_keys<0))
-       return NULL;
-    if ((section->num_rows>=section->sz_rows)&&
-                                       (_XkbAllocRows(section,1)!=Success))
-       return NULL;
-    row= &section->rows[section->num_rows];
-    bzero(row,sizeof(XkbRowRec));
-    if ((sz_keys>0)&&(_XkbAllocKeys(row,sz_keys)!=Success))
-       return NULL;
+XkbAddGeomRow(XkbSectionPtr section, int sz_keys)
+{
+    XkbRowPtr row;
+
+    if ((!section) || (sz_keys < 0))
+        return NULL;
+    if ((section->num_rows >= section->sz_rows) &&
+        (_XkbAllocRows(section, 1) != Success))
+        return NULL;
+    row = &section->rows[section->num_rows];
+    bzero(row, sizeof(XkbRowRec));
+    if ((sz_keys > 0) && (_XkbAllocKeys(row, sz_keys) != Success))
+        return NULL;
     section->num_rows++;
     return row;
 }
 
 XkbSectionPtr
-XkbAddGeomSection(     XkbGeometryPtr  geom,
-                       Atom            name,
-                       int             sz_rows,
-                       int             sz_doodads,
-                       int             sz_over)
-{
-register int   i;
-XkbSectionPtr  section;
-
-    if ((!geom)||(name==None)||(sz_rows<0))
-       return NULL;
-    for (i=0,section=geom->sections;i<geom->num_sections;i++,section++) {
-       if (section->name!=name)
-           continue;
-       if (((sz_rows>0)&&(_XkbAllocRows(section,sz_rows)!=Success))||
-           ((sz_doodads>0)&&(_XkbAllocDoodads(section,sz_doodads)!=Success))||
-           ((sz_over>0)&&(_XkbAllocOverlays(section,sz_over)!=Success)))
-           return NULL;
-       return section;
-    }
-    if ((geom->num_sections>=geom->sz_sections)&&
-                                       (_XkbAllocSections(geom,1)!=Success))
-       return NULL;
-    section= &geom->sections[geom->num_sections];
-    if ((sz_rows>0)&&(_XkbAllocRows(section,sz_rows)!=Success))
-       return NULL;
-    if ((sz_doodads>0)&&(_XkbAllocDoodads(section,sz_doodads)!=Success)) {
-       if (section->rows) {
-           _XkbFree(section->rows);
-           section->rows= NULL;
-           section->sz_rows= section->num_rows= 0;
-       }
-       return NULL;
-    }
-    section->name= name;
+XkbAddGeomSection(XkbGeometryPtr geom,
+                  Atom name,
+                  int sz_rows,
+                  int sz_doodads,
+                  int sz_over)
+{
+    register int i;
+    XkbSectionPtr section;
+
+    if ((!geom) || (name == None) || (sz_rows < 0))
+        return NULL;
+    for (i = 0, section = geom->sections; i < geom->num_sections;
+         i++, section++) {
+        if (section->name != name)
+            continue;
+        if (((sz_rows > 0) && (_XkbAllocRows(section, sz_rows) != Success)) ||
+            ((sz_doodads > 0) &&
+             (_XkbAllocDoodads(section, sz_doodads) != Success)) ||
+            ((sz_over > 0) && (_XkbAllocOverlays(section, sz_over) != Success)))
+            return NULL;
+        return section;
+    }
+    if ((geom->num_sections >= geom->sz_sections) &&
+        (_XkbAllocSections(geom, 1) != Success))
+        return NULL;
+    section = &geom->sections[geom->num_sections];
+    if ((sz_rows > 0) && (_XkbAllocRows(section, sz_rows) != Success))
+        return NULL;
+    if ((sz_doodads > 0) && (_XkbAllocDoodads(section, sz_doodads) != Success)) {
+        if (section->rows) {
+            _XkbFree(section->rows);
+            section->rows = NULL;
+            section->sz_rows = section->num_rows = 0;
+        }
+        return NULL;
+    }
+    section->name = name;
     geom->num_sections++;
     return section;
 }
 
 XkbDoodadPtr
-XkbAddGeomDoodad(XkbGeometryPtr geom,XkbSectionPtr section,Atom name)
+XkbAddGeomDoodad(XkbGeometryPtr geom, XkbSectionPtr section, Atom name)
 {
-XkbDoodadPtr   old,doodad;
-register int   i,nDoodads;
+    XkbDoodadPtr old, doodad;
+    register int i, nDoodads;
 
-    if ((!geom)||(name==None))
-       return NULL;
-    if ((section!=NULL)&&(section->num_doodads>0)) {
-       old= section->doodads;
-       nDoodads= section->num_doodads;
+    if ((!geom) || (name == None))
+        return NULL;
+    if ((section != NULL) && (section->num_doodads > 0)) {
+        old = section->doodads;
+        nDoodads = section->num_doodads;
     }
     else {
-       old= geom->doodads;
-       nDoodads= geom->num_doodads;
+        old = geom->doodads;
+        nDoodads = geom->num_doodads;
     }
-    for (i=0,doodad=old;i<nDoodads;i++,doodad++) {
-       if (doodad->any.name==name)
-           return doodad;
+    for (i = 0, doodad = old; i < nDoodads; i++, doodad++) {
+        if (doodad->any.name == name)
+            return doodad;
     }
     if (section) {
-       if ((section->num_doodads>=geom->sz_doodads)&&
-           (_XkbAllocDoodads(section,1)!=Success)) {
-           return NULL;
-       }
-       doodad= &section->doodads[section->num_doodads++];
+        if ((section->num_doodads >= geom->sz_doodads) &&
+            (_XkbAllocDoodads(section, 1) != Success)) {
+            return NULL;
+        }
+        doodad = &section->doodads[section->num_doodads++];
     }
     else {
-       if ((geom->num_doodads>=geom->sz_doodads)&&
-                                       (_XkbAllocDoodads(geom,1)!=Success))
-           return NULL;
-       doodad= &geom->doodads[geom->num_doodads++];
+        if ((geom->num_doodads >= geom->sz_doodads) &&
+            (_XkbAllocDoodads(geom, 1) != Success))
+            return NULL;
+        doodad = &geom->doodads[geom->num_doodads++];
     }
-    bzero(doodad,sizeof(XkbDoodadRec));
-    doodad->any.name= name;
+    bzero(doodad, sizeof(XkbDoodadRec));
+    doodad->any.name = name;
     return doodad;
 }
 
 XkbOverlayKeyPtr
-XkbAddGeomOverlayKey(  XkbOverlayPtr           overlay,
-                       XkbOverlayRowPtr        row,
-                       char *                  over,
-                       char *                  under)
-{
-register int   i;
-XkbOverlayKeyPtr key;
-XkbSectionPtr  section;
-XkbRowPtr      row_under;
-Bool           found;
-
-    if ((!overlay)||(!row)||(!over)||(!under))
-       return NULL;
-    section= overlay->section_under;
-    if (row->row_under>=section->num_rows)
-       return NULL;
-    row_under= &section->rows[row->row_under];
-    for (i=0,found=False;i<row_under->num_keys;i++) {
-       if (strncmp(under,row_under->keys[i].name.name,XkbKeyNameLength)==0) {
-           found= True;
-           break;
-       }
+XkbAddGeomOverlayKey(XkbOverlayPtr overlay,
+                     XkbOverlayRowPtr row,
+                     char *over,
+                     char *under)
+{
+    register int i;
+    XkbOverlayKeyPtr key;
+    XkbSectionPtr section;
+    XkbRowPtr row_under;
+    Bool found;
+
+    if ((!overlay) || (!row) || (!over) || (!under))
+        return NULL;
+    section = overlay->section_under;
+    if (row->row_under >= section->num_rows)
+        return NULL;
+    row_under = &section->rows[row->row_under];
+    for (i = 0, found = False; i < row_under->num_keys; i++) {
+        if (strncmp(under, row_under->keys[i].name.name, XkbKeyNameLength) == 0) {
+            found = True;
+            break;
+        }
     }
     if (!found)
-       return NULL;
-    if ((row->num_keys>=row->sz_keys)&&(_XkbAllocOverlayKeys(row,1)!=Success))
-       return NULL;
-    key= &row->keys[row->num_keys];
-    strncpy(key->under.name,under,XkbKeyNameLength);
-    strncpy(key->over.name,over,XkbKeyNameLength);
+        return NULL;
+    if ((row->num_keys >= row->sz_keys) &&
+        (_XkbAllocOverlayKeys(row, 1) != Success))
+        return NULL;
+    key = &row->keys[row->num_keys];
+    strncpy(key->under.name, under, XkbKeyNameLength);
+    strncpy(key->over.name, over, XkbKeyNameLength);
     row->num_keys++;
     return key;
 }
 
 XkbOverlayRowPtr
-XkbAddGeomOverlayRow(XkbOverlayPtr overlay,int row_under,int sz_keys)
-{
-register int           i;
-XkbOverlayRowPtr       row;
-
-    if ((!overlay)||(sz_keys<0))
-       return NULL;
-    if (row_under>=overlay->section_under->num_rows)
-       return NULL;
-    for (i=0;i<overlay->num_rows;i++) {
-       if (overlay->rows[i].row_under==row_under) {
-           row= &overlay->rows[i];
-           if ((row->sz_keys<sz_keys)&&
-                               (_XkbAllocOverlayKeys(row,sz_keys)!=Success)) {
-               return NULL;
-           }
-           return &overlay->rows[i];
-       }
-    }
-    if ((overlay->num_rows>=overlay->sz_rows)&&
-                               (_XkbAllocOverlayRows(overlay,1)!=Success))
-       return NULL;
-    row= &overlay->rows[overlay->num_rows];
-    bzero(row,sizeof(XkbOverlayRowRec));
-    if ((sz_keys>0)&&(_XkbAllocOverlayKeys(row,sz_keys)!=Success))
-       return NULL;
-    row->row_under= row_under;
+XkbAddGeomOverlayRow(XkbOverlayPtr overlay, int row_under, int sz_keys)
+{
+    register int i;
+    XkbOverlayRowPtr row;
+
+    if ((!overlay) || (sz_keys < 0))
+        return NULL;
+    if (row_under >= overlay->section_under->num_rows)
+        return NULL;
+    for (i = 0; i < overlay->num_rows; i++) {
+        if (overlay->rows[i].row_under == row_under) {
+            row = &overlay->rows[i];
+            if ((row->sz_keys < sz_keys) &&
+                (_XkbAllocOverlayKeys(row, sz_keys) != Success)) {
+                return NULL;
+            }
+            return &overlay->rows[i];
+        }
+    }
+    if ((overlay->num_rows >= overlay->sz_rows) &&
+        (_XkbAllocOverlayRows(overlay, 1) != Success))
+        return NULL;
+    row = &overlay->rows[overlay->num_rows];
+    bzero(row, sizeof(XkbOverlayRowRec));
+    if ((sz_keys > 0) && (_XkbAllocOverlayKeys(row, sz_keys) != Success))
+        return NULL;
+    row->row_under = row_under;
     overlay->num_rows++;
     return row;
 }
 
 XkbOverlayPtr
-XkbAddGeomOverlay(XkbSectionPtr section,Atom name,int sz_rows)
-{
-register int   i;
-XkbOverlayPtr  overlay;
-
-    if ((!section)||(name==None)||(sz_rows==0))
-       return NULL;
-
-    for (i=0,overlay=section->overlays;i<section->num_overlays;i++,overlay++) {
-       if (overlay->name==name) {
-           if ((sz_rows>0)&&(_XkbAllocOverlayRows(overlay,sz_rows)!=Success))
-               return NULL;
-           return overlay;
-       }
-    }
-    if ((section->num_overlays>=section->sz_overlays)&&
-                               (_XkbAllocOverlays(section,1)!=Success))
-       return NULL;
-    overlay= &section->overlays[section->num_overlays];
-    if ((sz_rows>0)&&(_XkbAllocOverlayRows(overlay,sz_rows)!=Success))
-       return NULL;
-    overlay->name= name;
-    overlay->section_under= section;
+XkbAddGeomOverlay(XkbSectionPtr section, Atom name, int sz_rows)
+{
+    register int i;
+    XkbOverlayPtr overlay;
+
+    if ((!section) || (name == None) || (sz_rows == 0))
+        return NULL;
+
+    for (i = 0, overlay = section->overlays; i < section->num_overlays;
+         i++, overlay++) {
+        if (overlay->name == name) {
+            if ((sz_rows > 0) &&
+                (_XkbAllocOverlayRows(overlay, sz_rows) != Success))
+                return NULL;
+            return overlay;
+        }
+    }
+    if ((section->num_overlays >= section->sz_overlays) &&
+        (_XkbAllocOverlays(section, 1) != Success))
+        return NULL;
+    overlay = &section->overlays[section->num_overlays];
+    if ((sz_rows > 0) && (_XkbAllocOverlayRows(overlay, sz_rows) != Success))
+        return NULL;
+    overlay->name = name;
+    overlay->section_under = section;
     section->num_overlays++;
     return overlay;
 }
index 7594a3d..6a1c74a 100644 (file)
@@ -47,149 +47,160 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /***====================================================================***/
 
 static void
-_XkbCheckBounds(XkbBoundsPtr bounds,int        x,int y)
+_XkbCheckBounds(XkbBoundsPtr bounds, int x, int y)
 {
-    if (x<bounds->x1)  bounds->x1= x;
-    if (x>bounds->x2)  bounds->x2= x;
-    if (y<bounds->y1)  bounds->y1= y;
-    if (y>bounds->y2)  bounds->y2= y;
+    if (x < bounds->x1)
+        bounds->x1 = x;
+    if (x > bounds->x2)
+        bounds->x2 = x;
+    if (y < bounds->y1)
+        bounds->y1 = y;
+    if (y > bounds->y2)
+        bounds->y2 = y;
     return;
 }
 
 Bool
 XkbComputeShapeBounds(XkbShapePtr shape)
 {
-register int   o,p;
-XkbOutlinePtr  outline;
-XkbPointPtr    pt;
-
-    if ((!shape)||(shape->num_outlines<1))
-       return False;
-    shape->bounds.x1= shape->bounds.y1= MAXSHORT;
-    shape->bounds.x2= shape->bounds.y2= MINSHORT;
-    for (outline=shape->outlines,o=0;o<shape->num_outlines;o++,outline++) {
-       for (pt=outline->points,p=0;p<outline->num_points;p++,pt++) {
-           _XkbCheckBounds(&shape->bounds,pt->x,pt->y);
-       }
-        if (outline->num_points<2) {
-            _XkbCheckBounds(&shape->bounds,0,0);
+    register int o, p;
+    XkbOutlinePtr outline;
+    XkbPointPtr pt;
+
+    if ((!shape) || (shape->num_outlines < 1))
+        return False;
+    shape->bounds.x1 = shape->bounds.y1 = MAXSHORT;
+    shape->bounds.x2 = shape->bounds.y2 = MINSHORT;
+    for (outline = shape->outlines, o = 0; o < shape->num_outlines;
+         o++, outline++) {
+        for (pt = outline->points, p = 0; p < outline->num_points; p++, pt++) {
+            _XkbCheckBounds(&shape->bounds, pt->x, pt->y);
+        }
+        if (outline->num_points < 2) {
+            _XkbCheckBounds(&shape->bounds, 0, 0);
         }
     }
     return True;
 }
 
 Bool
-XkbComputeShapeTop(XkbShapePtr shape,XkbBoundsPtr bounds)
+XkbComputeShapeTop(XkbShapePtr shape, XkbBoundsPtr bounds)
 {
-register int   p;
-XkbOutlinePtr  outline;
-XkbPointPtr    pt;
-
-    if ((!shape)||(shape->num_outlines<1))
-       return False;
-    if (shape->approx) outline= shape->approx;
-    else               outline= &shape->outlines[shape->num_outlines-1];
-    if (outline->num_points<2) {
-        bounds->x1= bounds->y1= 0;
-        bounds->x2= bounds->y2= 0;
+    register int p;
+    XkbOutlinePtr outline;
+    XkbPointPtr pt;
+
+    if ((!shape) || (shape->num_outlines < 1))
+        return False;
+    if (shape->approx)
+        outline = shape->approx;
+    else
+        outline = &shape->outlines[shape->num_outlines - 1];
+    if (outline->num_points < 2) {
+        bounds->x1 = bounds->y1 = 0;
+        bounds->x2 = bounds->y2 = 0;
     }
     else {
-       bounds->x1= bounds->y1= MAXSHORT;
-       bounds->x2= bounds->y2= MINSHORT;
+        bounds->x1 = bounds->y1 = MAXSHORT;
+        bounds->x2 = bounds->y2 = MINSHORT;
     }
-    for (pt=outline->points,p=0;p<outline->num_points;p++,pt++) {
-       _XkbCheckBounds(bounds,pt->x,pt->y);
+    for (pt = outline->points, p = 0; p < outline->num_points; p++, pt++) {
+        _XkbCheckBounds(bounds, pt->x, pt->y);
     }
     return True;
 }
 
 Bool
-XkbComputeRowBounds(XkbGeometryPtr geom,XkbSectionPtr section,XkbRowPtr row)
+XkbComputeRowBounds(XkbGeometryPtr geom, XkbSectionPtr section, XkbRowPtr row)
 {
-register int   k,pos;
-XkbKeyPtr      key;
-XkbBoundsPtr   bounds,sbounds;
-
-    if ((!geom)||(!section)||(!row))
-       return False;
-    bounds= &row->bounds;
-    bzero(bounds,sizeof(XkbBoundsRec));
-    for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) {
-       sbounds= &XkbKeyShape(geom,key)->bounds;
-       _XkbCheckBounds(bounds,pos,0);
-       if (!row->vertical) {
-           if (key->gap!=0) {
-               pos+= key->gap;
-               _XkbCheckBounds(bounds,pos,0);
-           }
-           _XkbCheckBounds(bounds,pos+sbounds->x1,sbounds->y1);
-           _XkbCheckBounds(bounds,pos+sbounds->x2,sbounds->y2);
-           pos+= sbounds->x2;
-       }
-       else {
-           if (key->gap!=0) {
-               pos+= key->gap;
-               _XkbCheckBounds(bounds,0,pos);
-           }
-           _XkbCheckBounds(bounds,pos+sbounds->x1,sbounds->y1);
-           _XkbCheckBounds(bounds,pos+sbounds->x2,sbounds->y2);
-           pos+= sbounds->y2;
-       }
+    register int k, pos;
+    XkbKeyPtr key;
+    XkbBoundsPtr bounds, sbounds;
+
+    if ((!geom) || (!section) || (!row))
+        return False;
+    bounds = &row->bounds;
+    bzero(bounds, sizeof(XkbBoundsRec));
+    for (key = row->keys, pos = k = 0; k < row->num_keys; k++, key++) {
+        sbounds = &XkbKeyShape(geom, key)->bounds;
+        _XkbCheckBounds(bounds, pos, 0);
+        if (!row->vertical) {
+            if (key->gap != 0) {
+                pos += key->gap;
+                _XkbCheckBounds(bounds, pos, 0);
+            }
+            _XkbCheckBounds(bounds, pos + sbounds->x1, sbounds->y1);
+            _XkbCheckBounds(bounds, pos + sbounds->x2, sbounds->y2);
+            pos += sbounds->x2;
+        }
+        else {
+            if (key->gap != 0) {
+                pos += key->gap;
+                _XkbCheckBounds(bounds, 0, pos);
+            }
+            _XkbCheckBounds(bounds, pos + sbounds->x1, sbounds->y1);
+            _XkbCheckBounds(bounds, pos + sbounds->x2, sbounds->y2);
+            pos += sbounds->y2;
+        }
     }
     return True;
 }
 
 Bool
-XkbComputeSectionBounds(XkbGeometryPtr geom,XkbSectionPtr section)
+XkbComputeSectionBounds(XkbGeometryPtr geom, XkbSectionPtr section)
 {
-register int   i;
-XkbShapePtr    shape;
-XkbRowPtr      row;
-XkbDoodadPtr   doodad;
-XkbBoundsPtr   bounds,rbounds;
-
-    if ((!geom)||(!section))
-       return False;
-    bounds= &section->bounds;
-    bzero(bounds,sizeof(XkbBoundsRec));
-    for (i=0,row=section->rows;i<section->num_rows;i++,row++) {
-       if (!XkbComputeRowBounds(geom,section,row))
-           return False;
-       rbounds= &row->bounds;
-       _XkbCheckBounds(bounds,row->left+rbounds->x1,row->top+rbounds->y1);
-       _XkbCheckBounds(bounds,row->left+rbounds->x2,row->top+rbounds->y2);
+    register int i;
+    XkbShapePtr shape;
+    XkbRowPtr row;
+    XkbDoodadPtr doodad;
+    XkbBoundsPtr bounds, rbounds;
+
+    if ((!geom) || (!section))
+        return False;
+    bounds = &section->bounds;
+    bzero(bounds, sizeof(XkbBoundsRec));
+    for (i = 0, row = section->rows; i < section->num_rows; i++, row++) {
+        if (!XkbComputeRowBounds(geom, section, row))
+            return False;
+        rbounds = &row->bounds;
+        _XkbCheckBounds(bounds, row->left + rbounds->x1,
+                        row->top + rbounds->y1);
+        _XkbCheckBounds(bounds, row->left + rbounds->x2,
+                        row->top + rbounds->y2);
     }
-    for (i=0,doodad=section->doodads;i<section->num_doodads;i++,doodad++) {
-       static XkbBoundsRec     tbounds;
-       switch (doodad->any.type) {
-           case XkbOutlineDoodad:
-           case XkbSolidDoodad:
-               shape= XkbShapeDoodadShape(geom,&doodad->shape);
-               rbounds= &shape->bounds;
-               break;
-           case XkbTextDoodad:
-               tbounds.x1= doodad->text.left;
-               tbounds.y1= doodad->text.top;
-               tbounds.x2= tbounds.x1+doodad->text.width;
-               tbounds.y2= tbounds.y1+doodad->text.height;
-               rbounds= &tbounds;
-               break;
-           case XkbIndicatorDoodad:
-               shape= XkbIndicatorDoodadShape(geom,&doodad->indicator);
-               rbounds= &shape->bounds;
-               break;
-           case XkbLogoDoodad:
-               shape= XkbLogoDoodadShape(geom,&doodad->logo);
-               rbounds= &shape->bounds;
-               break;
-           default:
-               tbounds.x1= tbounds.x2= doodad->any.left;
-               tbounds.y1= tbounds.y2= doodad->any.top;
-               rbounds= &tbounds;
-               break;
-       }
-       _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
-       _XkbCheckBounds(bounds,rbounds->x2,rbounds->y2);
+    for (i = 0, doodad = section->doodads; i < section->num_doodads;
+         i++, doodad++) {
+        static XkbBoundsRec tbounds;
+
+        switch (doodad->any.type) {
+        case XkbOutlineDoodad:
+        case XkbSolidDoodad:
+            shape = XkbShapeDoodadShape(geom, &doodad->shape);
+            rbounds = &shape->bounds;
+            break;
+        case XkbTextDoodad:
+            tbounds.x1 = doodad->text.left;
+            tbounds.y1 = doodad->text.top;
+            tbounds.x2 = tbounds.x1 + doodad->text.width;
+            tbounds.y2 = tbounds.y1 + doodad->text.height;
+            rbounds = &tbounds;
+            break;
+        case XkbIndicatorDoodad:
+            shape = XkbIndicatorDoodadShape(geom, &doodad->indicator);
+            rbounds = &shape->bounds;
+            break;
+        case XkbLogoDoodad:
+            shape = XkbLogoDoodadShape(geom, &doodad->logo);
+            rbounds = &shape->bounds;
+            break;
+        default:
+            tbounds.x1 = tbounds.x2 = doodad->any.left;
+            tbounds.y1 = tbounds.y2 = doodad->any.top;
+            rbounds = &tbounds;
+            break;
+        }
+        _XkbCheckBounds(bounds, rbounds->x1, rbounds->y1);
+        _XkbCheckBounds(bounds, rbounds->x2, rbounds->y2);
     }
     return True;
 }
@@ -197,39 +208,42 @@ XkbBoundsPtr      bounds,rbounds;
 /***====================================================================***/
 
 char *
-XkbFindOverlayForKey(XkbGeometryPtr geom,XkbSectionPtr wanted,char *under)
+XkbFindOverlayForKey(XkbGeometryPtr geom, XkbSectionPtr wanted, char *under)
 {
-int            s;
-XkbSectionPtr  section;
+    int s;
+    XkbSectionPtr section;
 
-    if ((geom==NULL)||(under==NULL)||(geom->num_sections<1))
-       return NULL;
+    if ((geom == NULL) || (under == NULL) || (geom->num_sections < 1))
+        return NULL;
 
     if (wanted)
-        section= wanted;
-    else section= geom->sections;
-
-    for (s=0;s<geom->num_sections;s++,section++) {
-       XkbOverlayPtr   ol;
-       int             o;
-
-       if (section->num_overlays<1)
-           continue;
-       for (o=0,ol=section->overlays;o<section->num_overlays;o++,ol++) {
-           XkbOverlayRowPtr    row;
-           int                 r;
-
-           for (r=0,row=ol->rows;r<ol->num_rows;r++,row++) {
-               XkbOverlayKeyPtr        key;
-               int                     k;
-               for (k=0,key=row->keys;k<row->num_keys;k++,key++) {
-                   if (strncmp(under,key->under.name,XkbKeyNameLength)==0)
-                       return key->over.name;
-               }
-           }
-       }
-       if (wanted!=NULL)
-           break;
+        section = wanted;
+    else
+        section = geom->sections;
+
+    for (s = 0; s < geom->num_sections; s++, section++) {
+        XkbOverlayPtr ol;
+        int o;
+
+        if (section->num_overlays < 1)
+            continue;
+        for (o = 0, ol = section->overlays; o < section->num_overlays;
+             o++, ol++) {
+            XkbOverlayRowPtr row;
+            int r;
+
+            for (r = 0, row = ol->rows; r < ol->num_rows; r++, row++) {
+                XkbOverlayKeyPtr key;
+                int k;
+
+                for (k = 0, key = row->keys; k < row->num_keys; k++, key++) {
+                    if (strncmp(under, key->under.name, XkbKeyNameLength) == 0)
+                        return key->over.name;
+                }
+            }
+        }
+        if (wanted != NULL)
+            break;
     }
     return NULL;
 }
@@ -237,456 +251,475 @@ XkbSectionPtr   section;
 /***====================================================================***/
 
 static Status
-_XkbReadGeomProperties(        XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomProperties(XkbReadBufferPtr buf,
+                       XkbGeometryPtr geom,
+                       xkbGetGeometryReply *rep)
 {
-Status rtrn;
-
-    if (rep->nProperties<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomProps(geom,rep->nProperties))==Success) {
-       register int i;
-       register Bool ok;
-       char *name,*value;
-       ok= True;
-       for (i=0;(i<rep->nProperties)&&ok;i++) {
-           name=NULL;
-           value=NULL;
-           ok= _XkbGetReadBufferCountedString(buf,&name)&&ok;
-           ok= _XkbGetReadBufferCountedString(buf,&value)&&ok;
-           ok= ok&&(XkbAddGeomProperty(geom,name,value)!=NULL);
-           if (name)
-               _XkbFree(name);
-           if (value)
-               _XkbFree(value);
-       }
-       if (ok) rtrn= Success;
-       else    rtrn= BadLength;
+    Status rtrn;
+
+    if (rep->nProperties < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomProps(geom, rep->nProperties)) == Success) {
+        register int i;
+        register Bool ok = True;
+
+        for (i = 0; (i < rep->nProperties) && ok; i++) {
+            char *name = NULL;
+            char *value = NULL;
+            ok = _XkbGetReadBufferCountedString(buf, &name) && ok;
+            ok = _XkbGetReadBufferCountedString(buf, &value) && ok;
+            ok = ok && (XkbAddGeomProperty(geom, name, value) != NULL);
+            if (name)
+                _XkbFree(name);
+            if (value)
+                _XkbFree(value);
+        }
+        if (ok)
+            rtrn = Success;
+        else
+            rtrn = BadLength;
     }
     return rtrn;
 }
 
 static Status
-_XkbReadGeomKeyAliases(        XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomKeyAliases(XkbReadBufferPtr buf,
+                       XkbGeometryPtr geom,
+                       xkbGetGeometryReply *rep)
 {
-Status rtrn;
-
-    if (rep->nKeyAliases<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomKeyAliases(geom,rep->nKeyAliases))==Success) {
-       if (!_XkbCopyFromReadBuffer(buf,(char *)geom->key_aliases,
-                                       (rep->nKeyAliases*XkbKeyNameLength*2)))
-           return BadLength;
-       geom->num_key_aliases= rep->nKeyAliases;
-       return Success;
+    Status rtrn;
+
+    if (rep->nKeyAliases < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomKeyAliases(geom, rep->nKeyAliases)) == Success) {
+        if (!_XkbCopyFromReadBuffer(buf, (char *) geom->key_aliases,
+                                    (rep->nKeyAliases * XkbKeyNameLength * 2)))
+            return BadLength;
+        geom->num_key_aliases = rep->nKeyAliases;
+        return Success;
     }
-    else { /* alloc failed, just skip the aliases */
-       _XkbSkipReadBufferData(buf,(rep->nKeyAliases*XkbKeyNameLength*2));
+    else {                      /* alloc failed, just skip the aliases */
+        _XkbSkipReadBufferData(buf, (rep->nKeyAliases * XkbKeyNameLength * 2));
     }
     return rtrn;
 }
 
 static Status
-_XkbReadGeomColors(    XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomColors(XkbReadBufferPtr buf,
+                   XkbGeometryPtr geom,
+                   xkbGetGeometryReply *rep)
 {
-Status rtrn;
-
-    if (rep->nColors<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomColors(geom,rep->nColors))==Success) {
-       register int i;
-       char *spec;
-       for (i=0;i<rep->nColors;i++) {
-           spec = NULL;
-           if (!_XkbGetReadBufferCountedString(buf,&spec))
-               rtrn = BadLength;
-           else if (XkbAddGeomColor(geom,spec,geom->num_colors)==NULL)
-               rtrn = BadAlloc;
-           if (spec)
-               _XkbFree(spec);
-           if (rtrn != Success)
-               return rtrn;
-       }
-       return Success;
+    Status rtrn;
+
+    if (rep->nColors < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomColors(geom, rep->nColors)) == Success) {
+        register int i;
+
+        for (i = 0; i < rep->nColors; i++) {
+            char *spec = NULL;
+            if (!_XkbGetReadBufferCountedString(buf, &spec))
+                rtrn = BadLength;
+            else if (XkbAddGeomColor(geom, spec, geom->num_colors) == NULL)
+                rtrn = BadAlloc;
+            if (spec)
+                _XkbFree(spec);
+            if (rtrn != Success)
+                return rtrn;
+        }
+        return Success;
     }
     return rtrn;
 }
 
 static Status
-_XkbReadGeomShapes(    XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomShapes(XkbReadBufferPtr buf,
+                   XkbGeometryPtr geom,
+                   xkbGetGeometryReply *rep)
 {
-register int i;
-Status rtrn;
-
-    if (rep->nShapes<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomShapes(geom,rep->nShapes))!=Success)
-       return rtrn;
-    for (i=0;i<rep->nShapes;i++) {
-       xkbShapeWireDesc *shapeWire;
-       XkbShapePtr      shape;
-       register int     o;
-       shapeWire= (xkbShapeWireDesc *)
-                  _XkbGetReadBufferPtr(buf,SIZEOF(xkbShapeWireDesc));
-       if (!shapeWire)
-           return BadLength;
-       shape= XkbAddGeomShape(geom,shapeWire->name,shapeWire->nOutlines);
-       if (!shape)
-          return BadAlloc;
-       for (o=0;o<shapeWire->nOutlines;o++) {
-           xkbOutlineWireDesc *olWire;
-           XkbOutlinePtr       ol;
-           register int        p;
-           XkbPointPtr         pt;
-           olWire=  (xkbOutlineWireDesc *)
-                _XkbGetReadBufferPtr(buf,SIZEOF(xkbOutlineWireDesc));
-           if (!olWire)
-               return BadLength;
-           ol= XkbAddGeomOutline(shape,olWire->nPoints);
-           if (!ol)
-               return BadAlloc;
-           ol->corner_radius=  olWire->cornerRadius;
-           for (p=0,pt=ol->points;p<olWire->nPoints;p++,pt++) {
-               xkbPointWireDesc *      ptWire;
-               ptWire= (xkbPointWireDesc *)
-                   _XkbGetReadBufferPtr(buf,SIZEOF(xkbPointWireDesc));
-               if (!ptWire)
-                   return BadLength;
-               pt->x= ptWire->x;
-               pt->y= ptWire->y;
-           }
-           ol->num_points= olWire->nPoints;
-       }
-       if (shapeWire->primaryNdx!=XkbNoShape)
-            shape->primary= &shape->outlines[shapeWire->primaryNdx];
-       else shape->primary= NULL;
-       if (shapeWire->approxNdx!=XkbNoShape)
-            shape->approx= &shape->outlines[shapeWire->approxNdx];
-       else shape->approx= NULL;
-       XkbComputeShapeBounds(shape);
+    register int i;
+    Status rtrn;
+
+    if (rep->nShapes < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomShapes(geom, rep->nShapes)) != Success)
+        return rtrn;
+    for (i = 0; i < rep->nShapes; i++) {
+        xkbShapeWireDesc *shapeWire;
+        XkbShapePtr shape;
+        register int o;
+
+        shapeWire = (xkbShapeWireDesc *)
+            _XkbGetReadBufferPtr(buf, SIZEOF(xkbShapeWireDesc));
+        if (!shapeWire)
+            return BadLength;
+        shape = XkbAddGeomShape(geom, shapeWire->name, shapeWire->nOutlines);
+        if (!shape)
+            return BadAlloc;
+        for (o = 0; o < shapeWire->nOutlines; o++) {
+            xkbOutlineWireDesc *olWire;
+            XkbOutlinePtr ol;
+            register int p;
+            XkbPointPtr pt;
+
+            olWire = (xkbOutlineWireDesc *)
+                _XkbGetReadBufferPtr(buf, SIZEOF(xkbOutlineWireDesc));
+            if (!olWire)
+                return BadLength;
+            ol = XkbAddGeomOutline(shape, olWire->nPoints);
+            if (!ol)
+                return BadAlloc;
+            ol->corner_radius = olWire->cornerRadius;
+            for (p = 0, pt = ol->points; p < olWire->nPoints; p++, pt++) {
+                xkbPointWireDesc *ptWire;
+
+                ptWire = (xkbPointWireDesc *)
+                    _XkbGetReadBufferPtr(buf, SIZEOF(xkbPointWireDesc));
+                if (!ptWire)
+                    return BadLength;
+                pt->x = ptWire->x;
+                pt->y = ptWire->y;
+            }
+            ol->num_points = olWire->nPoints;
+        }
+        if ((shapeWire->primaryNdx != XkbNoShape) &&
+            (shapeWire->primaryNdx < shapeWire->nOutlines))
+            shape->primary = &shape->outlines[shapeWire->primaryNdx];
+        else
+            shape->primary = NULL;
+        if ((shapeWire->approxNdx != XkbNoShape) &&
+            (shapeWire->approxNdx < shapeWire->nOutlines))
+            shape->approx = &shape->outlines[shapeWire->approxNdx];
+        else
+            shape->approx = NULL;
+        XkbComputeShapeBounds(shape);
     }
     return Success;
 }
 
 static Status
-_XkbReadGeomDoodad(    XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       XkbSectionPtr           section)
+_XkbReadGeomDoodad(XkbReadBufferPtr buf,
+                   XkbGeometryPtr geom,
+                   XkbSectionPtr section)
 {
-XkbDoodadPtr           doodad;
-xkbDoodadWireDesc *    doodadWire;
+    XkbDoodadPtr doodad;
+    xkbDoodadWireDesc *doodadWire;
 
-    doodadWire= (xkbDoodadWireDesc *)
-                  _XkbGetReadBufferPtr(buf,SIZEOF(xkbDoodadWireDesc));
+    doodadWire = (xkbDoodadWireDesc *)
+        _XkbGetReadBufferPtr(buf, SIZEOF(xkbDoodadWireDesc));
     if (!doodadWire)
-       return  BadLength;
-    doodad= XkbAddGeomDoodad(geom,section,doodadWire->any.name);
+        return BadLength;
+    doodad = XkbAddGeomDoodad(geom, section, doodadWire->any.name);
     if (!doodad)
-       return BadAlloc;
-    doodad->any.type= doodadWire->any.type;
-    doodad->any.priority= doodadWire->any.priority;
-    doodad->any.top= doodadWire->any.top;
-    doodad->any.left= doodadWire->any.left;
-    doodad->any.angle= doodadWire->any.angle;
+        return BadAlloc;
+    doodad->any.type = doodadWire->any.type;
+    doodad->any.priority = doodadWire->any.priority;
+    doodad->any.top = doodadWire->any.top;
+    doodad->any.left = doodadWire->any.left;
+    doodad->any.angle = doodadWire->any.angle;
     switch (doodad->any.type) {
-       case XkbOutlineDoodad:
-       case XkbSolidDoodad:
-           doodad->shape.color_ndx= doodadWire->shape.colorNdx;
-           doodad->shape.shape_ndx= doodadWire->shape.shapeNdx;
-           break;
-       case XkbTextDoodad:
-           doodad->text.width= doodadWire->text.width;
-           doodad->text.height= doodadWire->text.height;
-           doodad->text.color_ndx= doodadWire->text.colorNdx;
-           if (!_XkbGetReadBufferCountedString(buf,&doodad->text.text))
-               return BadLength;
-           if (!_XkbGetReadBufferCountedString(buf,&doodad->text.font))
-               return BadLength;
-           break;
-       case XkbIndicatorDoodad:
-           doodad->indicator.shape_ndx= doodadWire->indicator.shapeNdx;
-           doodad->indicator.on_color_ndx= doodadWire->indicator.onColorNdx;
-           doodad->indicator.off_color_ndx= doodadWire->indicator.offColorNdx;
-           break;
-       case XkbLogoDoodad:
-           doodad->logo.color_ndx= doodadWire->logo.colorNdx;
-           doodad->logo.shape_ndx= doodadWire->logo.shapeNdx;
-           if (!_XkbGetReadBufferCountedString(buf,&doodad->logo.logo_name))
-               return BadLength;
-           break;
-       default:
-           return BadValue;
+    case XkbOutlineDoodad:
+    case XkbSolidDoodad:
+        doodad->shape.color_ndx = doodadWire->shape.colorNdx;
+        doodad->shape.shape_ndx = doodadWire->shape.shapeNdx;
+        break;
+    case XkbTextDoodad:
+        doodad->text.width = doodadWire->text.width;
+        doodad->text.height = doodadWire->text.height;
+        doodad->text.color_ndx = doodadWire->text.colorNdx;
+        if (!_XkbGetReadBufferCountedString(buf, &doodad->text.text))
+            return BadLength;
+        if (!_XkbGetReadBufferCountedString(buf, &doodad->text.font))
+            return BadLength;
+        break;
+    case XkbIndicatorDoodad:
+        doodad->indicator.shape_ndx = doodadWire->indicator.shapeNdx;
+        doodad->indicator.on_color_ndx = doodadWire->indicator.onColorNdx;
+        doodad->indicator.off_color_ndx = doodadWire->indicator.offColorNdx;
+        break;
+    case XkbLogoDoodad:
+        doodad->logo.color_ndx = doodadWire->logo.colorNdx;
+        doodad->logo.shape_ndx = doodadWire->logo.shapeNdx;
+        if (!_XkbGetReadBufferCountedString(buf, &doodad->logo.logo_name))
+            return BadLength;
+        break;
+    default:
+        return BadValue;
     }
     return Success;
 }
 
 static Status
-_XkbReadGeomOverlay(   XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       XkbSectionPtr           section)
+_XkbReadGeomOverlay(XkbReadBufferPtr buf,
+                    XkbGeometryPtr geom,
+                    XkbSectionPtr section)
 {
-XkbOverlayPtr          ol;
-xkbOverlayWireDesc *   olWire;
-register int           r;
-
-    olWire= (xkbOverlayWireDesc *)
-                  _XkbGetReadBufferPtr(buf,SIZEOF(xkbOverlayWireDesc));
-    if (olWire==NULL)
-       return BadLength;
-    ol= XkbAddGeomOverlay(section,olWire->name,olWire->nRows);
-    if (ol==NULL)
-       return BadLength;
-    for (r=0;r<olWire->nRows;r++) {
-       register int                    k;
-       XkbOverlayRowPtr                row;
-       xkbOverlayRowWireDesc *         rowWire;
-       xkbOverlayKeyWireDesc *         keyWire;
-       rowWire= (xkbOverlayRowWireDesc *)
-                       _XkbGetReadBufferPtr(buf,SIZEOF(xkbOverlayRowWireDesc));
-       if (rowWire==NULL)
-           return BadLength;
-       row= XkbAddGeomOverlayRow(ol,rowWire->rowUnder,rowWire->nKeys);
-       row->row_under= rowWire->rowUnder;
-       if (!row)
-           return BadAlloc;
-       if (rowWire->nKeys<1)
-           continue;
-       keyWire= (xkbOverlayKeyWireDesc *)
-                       _XkbGetReadBufferPtr(buf,
-                               SIZEOF(xkbOverlayKeyWireDesc)*rowWire->nKeys);
-       if (keyWire==NULL)
-           return BadLength;
-       for (k=0;k<rowWire->nKeys;k++,keyWire++,row->num_keys++) {
-           memcpy(row->keys[row->num_keys].over.name,keyWire->over,
-                                                       XkbKeyNameLength);
-           memcpy(row->keys[row->num_keys].under.name,keyWire->under,
-                                                       XkbKeyNameLength);
-       }
+    XkbOverlayPtr ol;
+    xkbOverlayWireDesc *olWire;
+    register int r;
+
+    olWire = (xkbOverlayWireDesc *)
+        _XkbGetReadBufferPtr(buf, SIZEOF(xkbOverlayWireDesc));
+    if (olWire == NULL)
+        return BadLength;
+    ol = XkbAddGeomOverlay(section, olWire->name, olWire->nRows);
+    if (ol == NULL)
+        return BadLength;
+    for (r = 0; r < olWire->nRows; r++) {
+        register int k;
+        XkbOverlayRowPtr row;
+        xkbOverlayRowWireDesc *rowWire;
+        xkbOverlayKeyWireDesc *keyWire;
+
+        rowWire = (xkbOverlayRowWireDesc *)
+            _XkbGetReadBufferPtr(buf, SIZEOF(xkbOverlayRowWireDesc));
+        if (rowWire == NULL)
+            return BadLength;
+        row = XkbAddGeomOverlayRow(ol, rowWire->rowUnder, rowWire->nKeys);
+        row->row_under = rowWire->rowUnder;
+        if (!row)
+            return BadAlloc;
+        if (rowWire->nKeys < 1)
+            continue;
+        keyWire = (xkbOverlayKeyWireDesc *)
+            _XkbGetReadBufferPtr(buf,
+                             SIZEOF(xkbOverlayKeyWireDesc) * rowWire->nKeys);
+        if (keyWire == NULL)
+            return BadLength;
+        for (k = 0; k < rowWire->nKeys; k++, keyWire++, row->num_keys++) {
+            memcpy(row->keys[row->num_keys].over.name, keyWire->over,
+                   XkbKeyNameLength);
+            memcpy(row->keys[row->num_keys].under.name, keyWire->under,
+                   XkbKeyNameLength);
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadGeomSections(  XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomSections(XkbReadBufferPtr buf,
+                     XkbGeometryPtr geom,
+                     xkbGetGeometryReply *rep)
 {
-register int           s;
-XkbSectionPtr          section;
-xkbSectionWireDesc *   sectionWire;
-Status                 rtrn;
-
-    if (rep->nSections<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomSections(geom,rep->nSections))!=Success)
-       return rtrn;
-    for (s=0;s<rep->nSections;s++) {
-       sectionWire= (xkbSectionWireDesc *)
-                       _XkbGetReadBufferPtr(buf,SIZEOF(xkbSectionWireDesc));
-       if (!sectionWire)
-           return BadLength;
-       section= XkbAddGeomSection(geom,sectionWire->name,sectionWire->nRows,
-                                               sectionWire->nDoodads,
-                                               sectionWire->nOverlays);
-       if (!section)
-           return BadAlloc;
-       section->top= sectionWire->top;
-       section->left= sectionWire->left;
-       section->width= sectionWire->width;
-       section->height= sectionWire->height;
-       section->angle= sectionWire->angle;
-       section->priority= sectionWire->priority;
-       if (sectionWire->nRows>0) {
-           register int        r;
-           XkbRowPtr           row;
-           xkbRowWireDesc *    rowWire;
-           for (r=0;r<sectionWire->nRows;r++) {
-               rowWire= (xkbRowWireDesc *)
-                        _XkbGetReadBufferPtr(buf,SIZEOF(xkbRowWireDesc));
-               if (!rowWire)
-                   return BadLength;
-               row= XkbAddGeomRow(section,rowWire->nKeys);
-               if (!row)
-                   return BadAlloc;
-               row->top= rowWire->top;
-               row->left= rowWire->left;
-               row->vertical= rowWire->vertical;
-               if (rowWire->nKeys>0) {
-                   register int        k;
-                   XkbKeyPtr           key;
-                   xkbKeyWireDesc *    keyWire;
-                   for (k=0;k<rowWire->nKeys;k++) {
-                       keyWire= (xkbKeyWireDesc *)
-                             _XkbGetReadBufferPtr(buf,SIZEOF(xkbKeyWireDesc));
-                       if (!keyWire)
-                           return BadLength;
-                       key= XkbAddGeomKey(row);
-                       if (!key)
-                           return BadAlloc;
-                       memcpy(key->name.name,keyWire->name,XkbKeyNameLength);
-                       key->gap= keyWire->gap;
-                       key->shape_ndx= keyWire->shapeNdx;
-                       key->color_ndx= keyWire->colorNdx;
-                   }
-               }
-           }
-       }
-       if (sectionWire->nDoodads>0) {
-           register int d;
-           for (d=0;d<sectionWire->nDoodads;d++) {
-               if ((rtrn=_XkbReadGeomDoodad(buf,geom,section))!=Success)
-                   return rtrn;
-           }
-       }
-       if (sectionWire->nOverlays>0) {
-           register int o;
-           for (o=0;o<sectionWire->nOverlays;o++) {
-               if ((rtrn=_XkbReadGeomOverlay(buf,geom,section))!=Success)
-                   return rtrn;
-           }
-       }
+    register int s;
+    XkbSectionPtr section;
+    xkbSectionWireDesc *sectionWire;
+    Status rtrn;
+
+    if (rep->nSections < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomSections(geom, rep->nSections)) != Success)
+        return rtrn;
+    for (s = 0; s < rep->nSections; s++) {
+        sectionWire = (xkbSectionWireDesc *)
+            _XkbGetReadBufferPtr(buf, SIZEOF(xkbSectionWireDesc));
+        if (!sectionWire)
+            return BadLength;
+        section = XkbAddGeomSection(geom, sectionWire->name, sectionWire->nRows,
+                                    sectionWire->nDoodads,
+                                    sectionWire->nOverlays);
+        if (!section)
+            return BadAlloc;
+        section->top = sectionWire->top;
+        section->left = sectionWire->left;
+        section->width = sectionWire->width;
+        section->height = sectionWire->height;
+        section->angle = sectionWire->angle;
+        section->priority = sectionWire->priority;
+        if (sectionWire->nRows > 0) {
+            register int r;
+
+            for (r = 0; r < sectionWire->nRows; r++) {
+                XkbRowPtr row;
+                xkbRowWireDesc *rowWire;
+
+                rowWire = (xkbRowWireDesc *)
+                    _XkbGetReadBufferPtr(buf, SIZEOF(xkbRowWireDesc));
+                if (!rowWire)
+                    return BadLength;
+                row = XkbAddGeomRow(section, rowWire->nKeys);
+                if (!row)
+                    return BadAlloc;
+                row->top = rowWire->top;
+                row->left = rowWire->left;
+                row->vertical = rowWire->vertical;
+                if (rowWire->nKeys > 0) {
+                    register int k;
+
+                    for (k = 0; k < rowWire->nKeys; k++) {
+                        XkbKeyPtr key;
+                        xkbKeyWireDesc *keyWire;
+
+                        keyWire = (xkbKeyWireDesc *)
+                            _XkbGetReadBufferPtr(buf, SIZEOF(xkbKeyWireDesc));
+                        if (!keyWire)
+                            return BadLength;
+                        key = XkbAddGeomKey(row);
+                        if (!key)
+                            return BadAlloc;
+                        memcpy(key->name.name, keyWire->name, XkbKeyNameLength);
+                        key->gap = keyWire->gap;
+                        key->shape_ndx = keyWire->shapeNdx;
+                        key->color_ndx = keyWire->colorNdx;
+                    }
+                }
+            }
+        }
+        if (sectionWire->nDoodads > 0) {
+            register int d;
+
+            for (d = 0; d < sectionWire->nDoodads; d++) {
+                if ((rtrn = _XkbReadGeomDoodad(buf, geom, section)) != Success)
+                    return rtrn;
+            }
+        }
+        if (sectionWire->nOverlays > 0) {
+            register int o;
+
+            for (o = 0; o < sectionWire->nOverlays; o++) {
+                if ((rtrn = _XkbReadGeomOverlay(buf, geom, section)) != Success)
+                    return rtrn;
+            }
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadGeomDoodads(   XkbReadBufferPtr        buf,
-                       XkbGeometryPtr          geom,
-                       xkbGetGeometryReply *   rep)
+_XkbReadGeomDoodads(XkbReadBufferPtr buf,
+                    XkbGeometryPtr geom,
+                    xkbGetGeometryReply *rep)
 {
-register int d;
-Status rtrn;
-
-    if (rep->nDoodads<1)
-       return Success;
-    if ((rtrn=XkbAllocGeomDoodads(geom,rep->nDoodads))!=Success)
-       return rtrn;
-    for (d=0;d<rep->nDoodads;d++) {
-       if ((rtrn=_XkbReadGeomDoodad(buf,geom,NULL))!=Success)
-           return rtrn;
+    register int d;
+    Status rtrn;
+
+    if (rep->nDoodads < 1)
+        return Success;
+    if ((rtrn = XkbAllocGeomDoodads(geom, rep->nDoodads)) != Success)
+        return rtrn;
+    for (d = 0; d < rep->nDoodads; d++) {
+        if ((rtrn = _XkbReadGeomDoodad(buf, geom, NULL)) != Success)
+            return rtrn;
     }
     return Success;
 }
 
 Status
-_XkbReadGetGeometryReply(      Display * dpy,
-                               xkbGetGeometryReply * rep,
-                               XkbDescPtr xkb,
-                               int * nread_rtrn)
+_XkbReadGetGeometryReply(Display *dpy,
+                         xkbGetGeometryReply *rep,
+                         XkbDescPtr xkb,
+                         int *nread_rtrn)
 {
-XkbGeometryPtr geom;
+    XkbGeometryPtr geom;
 
-    geom= _XkbTypedCalloc(1,XkbGeometryRec);
+    geom = _XkbTypedCalloc(1, XkbGeometryRec);
     if (!geom)
-       return BadAlloc;
+        return BadAlloc;
     if (xkb->geom)
-       XkbFreeGeometry(xkb->geom,XkbGeomAllMask,True);
-    xkb->geom= geom;
+        XkbFreeGeometry(xkb->geom, XkbGeomAllMask, True);
+    xkb->geom = geom;
 
-    geom->name= rep->name;
-    geom->width_mm= rep->widthMM;
-    geom->height_mm= rep->heightMM;
+    geom->name = rep->name;
+    geom->width_mm = rep->widthMM;
+    geom->height_mm = rep->heightMM;
     if (rep->length) {
-       XkbReadBufferRec        buf;
-       int                     left;
-       if (_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4)) {
-           Status status= Success;
-           if (nread_rtrn)
-               *nread_rtrn= (int)rep->length*4;
-           if (!_XkbGetReadBufferCountedString(&buf,&geom->label_font))
-               status= BadLength;
-           if (status==Success)
-               status= _XkbReadGeomProperties(&buf,geom,rep);
-           if (status==Success)
-               status= _XkbReadGeomColors(&buf,geom,rep);
-           if (status==Success)
-               status= _XkbReadGeomShapes(&buf,geom,rep);
-           if (status==Success)
-               status= _XkbReadGeomSections(&buf,geom,rep);
-           if (status==Success)
-               status= _XkbReadGeomDoodads(&buf,geom,rep);
-           if (status==Success)
-               status= _XkbReadGeomKeyAliases(&buf,geom,rep);
-           left= _XkbFreeReadBuffer(&buf);
-           if ((status!=Success) || left || buf.error) {
-               if (status==Success)
-                   status= BadLength;
-               XkbFreeGeometry(geom,XkbGeomAllMask,True);
-               xkb->geom= NULL;
-               return status;
-           }
-           geom->base_color= &geom->colors[rep->baseColorNdx];
-           geom->label_color= &geom->colors[rep->labelColorNdx];
-       }
-       else {
-           XkbFreeGeometry(geom,XkbGeomAllMask,True);
-           xkb->geom= NULL;
-           return BadAlloc;
-       }
+        XkbReadBufferRec buf;
+        int left;
+
+        if (_XkbInitReadBuffer(dpy, &buf, (int) rep->length * 4)) {
+            Status status = Success;
+
+            if (nread_rtrn)
+                *nread_rtrn = (int) rep->length * 4;
+            if (!_XkbGetReadBufferCountedString(&buf, &geom->label_font))
+                status = BadLength;
+            if (status == Success)
+                status = _XkbReadGeomProperties(&buf, geom, rep);
+            if (status == Success)
+                status = _XkbReadGeomColors(&buf, geom, rep);
+            if (status == Success)
+                status = _XkbReadGeomShapes(&buf, geom, rep);
+            if (status == Success)
+                status = _XkbReadGeomSections(&buf, geom, rep);
+            if (status == Success)
+                status = _XkbReadGeomDoodads(&buf, geom, rep);
+            if (status == Success)
+                status = _XkbReadGeomKeyAliases(&buf, geom, rep);
+            left = _XkbFreeReadBuffer(&buf);
+            if ((rep->baseColorNdx > geom->num_colors) ||
+                (rep->labelColorNdx > geom->num_colors))
+                status = BadLength;
+            if ((status != Success) || left || buf.error) {
+                if (status == Success)
+                    status = BadLength;
+                XkbFreeGeometry(geom, XkbGeomAllMask, True);
+                xkb->geom = NULL;
+                return status;
+            }
+            geom->base_color = &geom->colors[rep->baseColorNdx];
+            geom->label_color = &geom->colors[rep->labelColorNdx];
+        }
+        else {
+            XkbFreeGeometry(geom, XkbGeomAllMask, True);
+            xkb->geom = NULL;
+            return BadAlloc;
+        }
     }
     return Success;
 }
 
 Status
-XkbGetGeometry(Display *dpy,XkbDescPtr xkb)
+XkbGetGeometry(Display *dpy, XkbDescPtr xkb)
 {
-xkbGetGeometryReq      *req;
-xkbGetGeometryReply     rep;
-Status                  status;
+    xkbGetGeometryReq *req;
+    xkbGetGeometryReply rep;
+    Status status;
 
-    if ( (!xkb) || (dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+    if ((!xkb) || (dpy->flags & XlibDisplayNoXkb) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
     LockDisplay(dpy);
     GetReq(kbGetGeometry, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbGetGeometry;
     req->deviceSpec = xkb->device_spec;
-    req->name= None;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse))
-       status = BadImplementation;
+    req->name = None;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse))
+        status = BadImplementation;
     else if (!rep.found)
-       status = BadName;
+        status = BadName;
     else
-       status = _XkbReadGetGeometryReply(dpy,&rep,xkb,NULL);
+        status = _XkbReadGetGeometryReply(dpy, &rep, xkb, NULL);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
 }
 
 Status
-XkbGetNamedGeometry(Display *dpy,XkbDescPtr xkb,Atom name)
+XkbGetNamedGeometry(Display *dpy, XkbDescPtr xkb, Atom name)
 {
-xkbGetGeometryReq      *req;
-xkbGetGeometryReply     rep;
-Status                  status;
+    xkbGetGeometryReq *req;
+    xkbGetGeometryReply rep;
+    Status status;
 
-    if ( (name==None) || (dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)) )
-       return BadAccess;
+    if ((name == None) || (dpy->flags & XlibDisplayNoXkb) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
     LockDisplay(dpy);
     GetReq(kbGetGeometry, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbGetGeometry;
     req->deviceSpec = xkb->device_spec;
-    req->name= (CARD32)name;
-    if ((!_XReply(dpy, (xReply *)&rep, 0, xFalse))||(!rep.found))
-       status = BadImplementation;
+    req->name = (CARD32) name;
+    if ((!_XReply(dpy, (xReply *) &rep, 0, xFalse)) || (!rep.found))
+        status = BadImplementation;
     else if (!rep.found)
-       status = BadName;
+        status = BadName;
     else
-       status = _XkbReadGetGeometryReply(dpy,&rep,xkb,NULL);
+        status = _XkbReadGetGeometryReply(dpy, &rep, xkb, NULL);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
 }
-
index 8e4f554..973052c 100644 (file)
@@ -35,32 +35,32 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /***====================================================================***/
 
 XkbDescPtr
-XkbGetKeyboardByName(  Display *               dpy,
-                       unsigned                deviceSpec,
-                       XkbComponentNamesPtr    names,
-                       unsigned                want,
-                       unsigned                need,
-                       Bool                    load)
+XkbGetKeyboardByName(Display *dpy,
+                     unsigned deviceSpec,
+                     XkbComponentNamesPtr names,
+                     unsigned want,
+                     unsigned need,
+                     Bool load)
 {
-    register xkbGetKbdByNameReq        *       req;
-    xkbGetKbdByNameReply               rep;
-    int                                        len,extraLen;
-    char *                             str;
-    XkbDescPtr                         xkb;
-    int                                        mapLen,codesLen,typesLen,compatLen;
-    int                                        symsLen,geomLen;
-    XkbInfoPtr                                 xkbi;
-
-    if ( (dpy==NULL) || (dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)) )
-       return NULL;
-
-    xkbi= dpy->xkb_info;
-    xkb = (XkbDescRec *)_XkbCalloc(1,sizeof(XkbDescRec));
+    register xkbGetKbdByNameReq *req;
+    xkbGetKbdByNameReply rep;
+    int len, extraLen;
+    char *str;
+    XkbDescPtr xkb;
+    int mapLen, codesLen, typesLen, compatLen;
+    int symsLen, geomLen;
+    XkbInfoPtr xkbi;
+
+    if ((dpy == NULL) || (dpy->flags & XlibDisplayNoXkb) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return NULL;
+
+    xkbi = dpy->xkb_info;
+    xkb = (XkbDescRec *) _XkbCalloc(1, sizeof(XkbDescRec));
     if (!xkb)
-       return NULL;
+        return NULL;
     xkb->device_spec = deviceSpec;
-    xkb->map = (XkbClientMapRec *)_XkbCalloc(1,sizeof(XkbClientMapRec));
+    xkb->map = (XkbClientMapRec *) _XkbCalloc(1, sizeof(XkbClientMapRec));
     xkb->dpy = dpy;
 
     LockDisplay(dpy);
@@ -68,147 +68,155 @@ XkbGetKeyboardByName(     Display *               dpy,
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetKbdByName;
     req->deviceSpec = xkb->device_spec;
-    req->want= want;
-    req->need= need;
-    req->load= load;
+    req->want = want;
+    req->need = need;
+    req->load = load;
 
-    mapLen= codesLen= typesLen= compatLen= symsLen= geomLen= 0;
+    mapLen = codesLen = typesLen = compatLen = symsLen = geomLen = 0;
     if (names) {
-       if (names->keymap)
-           mapLen= (int)strlen(names->keymap);
-       if (names->keycodes)
-           codesLen= (int)strlen(names->keycodes);
-       if (names->types)
-           typesLen= (int)strlen(names->types);
-       if (names->compat)
-           compatLen= (int)strlen(names->compat);
-       if (names->symbols)
-           symsLen= (int)strlen(names->symbols);
-       if (names->geometry)
-           geomLen= (int)strlen(names->geometry);
-       if (mapLen>255)         mapLen= 255;
-       if (codesLen>255)       codesLen= 255;
-       if (typesLen>255)       typesLen= 255;
-       if (compatLen>255)      compatLen= 255;
-       if (symsLen>255)        symsLen= 255;
-       if (geomLen>255)        geomLen= 255;
+        if (names->keymap)
+            mapLen = (int) strlen(names->keymap);
+        if (names->keycodes)
+            codesLen = (int) strlen(names->keycodes);
+        if (names->types)
+            typesLen = (int) strlen(names->types);
+        if (names->compat)
+            compatLen = (int) strlen(names->compat);
+        if (names->symbols)
+            symsLen = (int) strlen(names->symbols);
+        if (names->geometry)
+            geomLen = (int) strlen(names->geometry);
+        if (mapLen > 255)
+            mapLen = 255;
+        if (codesLen > 255)
+            codesLen = 255;
+        if (typesLen > 255)
+            typesLen = 255;
+        if (compatLen > 255)
+            compatLen = 255;
+        if (symsLen > 255)
+            symsLen = 255;
+        if (geomLen > 255)
+            geomLen = 255;
     }
-    else mapLen= codesLen= typesLen= compatLen= symsLen= geomLen= 0;
-
-    len= mapLen+codesLen+typesLen+compatLen+symsLen+geomLen+6;
-    len= XkbPaddedSize(len);
-    req->length+= len/4;
-    BufAlloc(char *,str,len);
-    *str++= mapLen;
-    if (mapLen>0) {
-        memcpy(str,names->keymap,mapLen);
-        str+= mapLen;
+    else
+        mapLen = codesLen = typesLen = compatLen = symsLen = geomLen = 0;
+
+    len = mapLen + codesLen + typesLen + compatLen + symsLen + geomLen + 6;
+    len = XkbPaddedSize(len);
+    req->length += len / 4;
+    BufAlloc(char *, str, len);
+
+    *str++ = mapLen;
+    if (mapLen > 0) {
+        memcpy(str, names->keymap, mapLen);
+        str += mapLen;
     }
-    *str++= codesLen;
-    if (codesLen>0) {
-        memcpy(str,names->keycodes,codesLen);
-        str+= codesLen;
+    *str++ = codesLen;
+    if (codesLen > 0) {
+        memcpy(str, names->keycodes, codesLen);
+        str += codesLen;
     }
-    *str++= typesLen;
-    if (typesLen>0) {
-        memcpy(str,names->types,typesLen);
-        str+= typesLen;
+    *str++ = typesLen;
+    if (typesLen > 0) {
+        memcpy(str, names->types, typesLen);
+        str += typesLen;
     }
-    *str++= compatLen;
-    if (compatLen>0) {
-        memcpy(str,names->compat,compatLen);
-        str+= compatLen;
+    *str++ = compatLen;
+    if (compatLen > 0) {
+        memcpy(str, names->compat, compatLen);
+        str += compatLen;
     }
-    *str++= symsLen;
-    if (symsLen>0) {
-        memcpy(str,names->symbols,symsLen);
-        str+= symsLen;
+    *str++ = symsLen;
+    if (symsLen > 0) {
+        memcpy(str, names->symbols, symsLen);
+        str += symsLen;
     }
-    *str++= geomLen;
-    if (geomLen>0) {
-        memcpy(str,names->geometry,geomLen);
-        str+= geomLen;
+    *str++ = geomLen;
+    if (geomLen > 0) {
+        memcpy(str, names->geometry, geomLen);
+        str += geomLen;
     }
-    if ((!_XReply(dpy, (xReply *)&rep, 0, xFalse))||(!rep.reported))
-       goto BAILOUT;
-    extraLen= (int)rep.length*4;
+    if ((!_XReply(dpy, (xReply *) &rep, 0, xFalse)) || (!rep.reported))
+        goto BAILOUT;
+    extraLen = (int) rep.length * 4;
 
-    xkb->device_spec= rep.deviceID;
+    xkb->device_spec = rep.deviceID;
     xkb->min_key_code = rep.minKeyCode;
     xkb->max_key_code = rep.maxKeyCode;
-    if (rep.reported&(XkbGBN_SymbolsMask|XkbGBN_TypesMask)) {
-       xkbGetMapReply  mrep;
-       Status          status;
-       int             nread= 0;
-
-       _XRead(dpy, (char *)&mrep, SIZEOF(xkbGetMapReply));
-       extraLen-= SIZEOF(xkbGetMapReply);
-       status= _XkbReadGetMapReply(dpy,&mrep,xkb,&nread);
-       extraLen-= nread;
-       if (status!=Success)
-           goto BAILOUT;
+    if (rep.reported & (XkbGBN_SymbolsMask | XkbGBN_TypesMask)) {
+        xkbGetMapReply mrep;
+        Status status;
+        int nread = 0;
+
+        _XRead(dpy, (char *) &mrep, SIZEOF(xkbGetMapReply));
+        extraLen -= SIZEOF(xkbGetMapReply);
+        status = _XkbReadGetMapReply(dpy, &mrep, xkb, &nread);
+        extraLen -= nread;
+        if (status != Success)
+            goto BAILOUT;
     }
-    if (rep.reported&XkbGBN_CompatMapMask) {
-       xkbGetCompatMapReply    crep;
-       Status                  status;
-       int                     nread= 0;
-
-       _XRead(dpy, (char *)&crep, SIZEOF(xkbGetCompatMapReply));
-       extraLen-= SIZEOF(xkbGetCompatMapReply);
-       status= _XkbReadGetCompatMapReply(dpy,&crep,xkb,&nread);
-       extraLen-= nread;
-       if (status!=Success)
-           goto BAILOUT;
+    if (rep.reported & XkbGBN_CompatMapMask) {
+        xkbGetCompatMapReply crep;
+        Status status;
+        int nread = 0;
+
+        _XRead(dpy, (char *) &crep, SIZEOF(xkbGetCompatMapReply));
+        extraLen -= SIZEOF(xkbGetCompatMapReply);
+        status = _XkbReadGetCompatMapReply(dpy, &crep, xkb, &nread);
+        extraLen -= nread;
+        if (status != Success)
+            goto BAILOUT;
     }
-    if (rep.reported&XkbGBN_IndicatorMapMask) {
-       xkbGetIndicatorMapReply irep;
-       Status                  status;
-       int                     nread= 0;
-
-       _XRead(dpy, (char *)&irep, SIZEOF(xkbGetIndicatorMapReply));
-       extraLen-= SIZEOF(xkbGetIndicatorMapReply);
-       status= _XkbReadGetIndicatorMapReply(dpy,&irep,xkb,&nread);
-       extraLen-= nread;
-       if (status!=Success)
-           goto BAILOUT;
+    if (rep.reported & XkbGBN_IndicatorMapMask) {
+        xkbGetIndicatorMapReply irep;
+        Status status;
+        int nread = 0;
+
+        _XRead(dpy, (char *) &irep, SIZEOF(xkbGetIndicatorMapReply));
+        extraLen -= SIZEOF(xkbGetIndicatorMapReply);
+        status = _XkbReadGetIndicatorMapReply(dpy, &irep, xkb, &nread);
+        extraLen -= nread;
+        if (status != Success)
+            goto BAILOUT;
     }
-    if (rep.reported&(XkbGBN_KeyNamesMask|XkbGBN_OtherNamesMask)) {
-       xkbGetNamesReply        nrep;
-       Status                  status;
-       int                     nread= 0;
-
-       _XRead(dpy, (char *)&nrep, SIZEOF(xkbGetNamesReply));
-       extraLen-= SIZEOF(xkbGetNamesReply);
-       status= _XkbReadGetNamesReply(dpy,&nrep,xkb,&nread);
-       extraLen-= nread;
-       if (status!=Success)
-           goto BAILOUT;
+    if (rep.reported & (XkbGBN_KeyNamesMask | XkbGBN_OtherNamesMask)) {
+        xkbGetNamesReply nrep;
+        Status status;
+        int nread = 0;
+
+        _XRead(dpy, (char *) &nrep, SIZEOF(xkbGetNamesReply));
+        extraLen -= SIZEOF(xkbGetNamesReply);
+        status = _XkbReadGetNamesReply(dpy, &nrep, xkb, &nread);
+        extraLen -= nread;
+        if (status != Success)
+            goto BAILOUT;
     }
-    if (rep.reported&XkbGBN_GeometryMask) {
-       xkbGetGeometryReply     grep;
-       Status                  status;
-       int                     nread= 0;
-
-       _XRead(dpy, (char *)&grep, SIZEOF(xkbGetGeometryReply));
-       extraLen-= SIZEOF(xkbGetGeometryReply);
-       status= _XkbReadGetGeometryReply(dpy,&grep,xkb,&nread);
-       extraLen-= nread;
-       if (status!=Success)
-           goto BAILOUT;
+    if (rep.reported & XkbGBN_GeometryMask) {
+        xkbGetGeometryReply grep;
+        Status status;
+        int nread = 0;
+
+        _XRead(dpy, (char *) &grep, SIZEOF(xkbGetGeometryReply));
+        extraLen -= SIZEOF(xkbGetGeometryReply);
+        status = _XkbReadGetGeometryReply(dpy, &grep, xkb, &nread);
+        extraLen -= nread;
+        if (status != Success)
+            goto BAILOUT;
     }
     UnlockDisplay(dpy);
     SyncHandle();
     return xkb;
-BAILOUT:
-    if (xkb!=NULL)
-       XkbFreeKeyboard(xkb,XkbAllComponentsMask,xTrue);
+ BAILOUT:
+    if (xkb != NULL)
+        XkbFreeKeyboard(xkb, XkbAllComponentsMask, xTrue);
     UnlockDisplay(dpy);
     SyncHandle();
     return NULL;
 }
 
 XkbDescPtr
-XkbGetKeyboard(Display *dpy,unsigned which,unsigned deviceSpec)
+XkbGetKeyboard(Display *dpy, unsigned which, unsigned deviceSpec)
 {
-    return XkbGetKeyboardByName(dpy,deviceSpec,NULL,which,which,False);
+    return XkbGetKeyboardByName(dpy, deviceSpec, NULL, which, which, False);
 }
index 30fb629..2278c75 100644 (file)
@@ -33,406 +33,445 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include "XKBlibint.h"
 
 static Status
-_XkbReadKeyTypes(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadKeyTypes(XkbReadBufferPtr buf, XkbDescPtr xkb, xkbGetMapReply *rep)
 {
-int             i,n,lastMapCount;
-XkbKeyTypePtr  type;
-
-    if ( rep->nTypes>0 ) {
-       n = rep->firstType+rep->nTypes;
-       if (xkb->map->num_types>=n)
-           n= xkb->map->num_types;
-       else if (XkbAllocClientMap(xkb,XkbKeyTypesMask,n)!=Success)
-           return BadAlloc;
-
-       type = &xkb->map->types[rep->firstType];
-       for (i=0;i<(int)rep->nTypes;i++,type++) {
-           xkbKeyTypeWireDesc  *desc;
-           register int ndx;
-
-           ndx= i+rep->firstType;
-           if (ndx>=xkb->map->num_types)
-               xkb->map->num_types= ndx+1;
-
-           desc= (xkbKeyTypeWireDesc *)_XkbGetReadBufferPtr(buf,
-                                               SIZEOF(xkbKeyTypeWireDesc));
-           if (desc==NULL)
-               return BadLength;
-
-           lastMapCount= type->map_count;
-           if ( desc->nMapEntries>0 ) {
-               if ((type->map==NULL)||(desc->nMapEntries>type->map_count)) {
-                   XkbKTMapEntryRec *prev_map = type->map;
-
-                   type->map= _XkbTypedRealloc(type->map,desc->nMapEntries,
-                                                             XkbKTMapEntryRec);
-                   if (type->map==NULL) {
-                       _XkbFree(prev_map);
-                       return BadAlloc;
-                   }
-               }
-           }
-           else if (type->map!=NULL) {
-               Xfree(type->map);
-               type->map_count= 0;
-               type->map= NULL;
-           }
-
-           if ( desc->preserve && (desc->nMapEntries>0) ) {
-               if ((!type->preserve)||
-                   (desc->nMapEntries>lastMapCount)) {
-                   XkbModsRec *prev_preserve = type->preserve;
-
-                   type->preserve= _XkbTypedRealloc(type->preserve,
-                                                       desc->nMapEntries,
-                                                       XkbModsRec);
-                   if (type->preserve==NULL) {
-                       _XkbFree(prev_preserve);
-                       return BadAlloc;
-                   }
-               }
-           }
-           else if (type->preserve!=NULL) {
-               Xfree(type->preserve);
-               type->preserve= NULL;
-           }
-
-           type->mods.mask = desc->mask;
-           type->mods.real_mods = desc->realMods;
-           type->mods.vmods = desc->virtualMods;
-           type->num_levels = desc->numLevels;
-           type->map_count = desc->nMapEntries;
-           if (desc->nMapEntries>0) {
-               register xkbKTMapEntryWireDesc *wire;
-               register XkbKTMapEntryPtr       entry;
-               register int size;
-
-               size= type->map_count*SIZEOF(xkbKTMapEntryWireDesc);
-               wire= (xkbKTMapEntryWireDesc *)_XkbGetReadBufferPtr(buf,size);
-               if (wire==NULL)
-                   return BadLength;
-               entry= type->map;
-               for (n=0;n<type->map_count;n++,wire++,entry++) {
-                   entry->active= wire->active;
-                   entry->level= wire->level;
-                   entry->mods.mask= wire->mask;
-                   entry->mods.real_mods= wire->realMods;
-                   entry->mods.vmods= wire->virtualMods;
-               }
-
-               if (desc->preserve) {
-                   register xkbModsWireDesc *  pwire;
-                   register XkbModsPtr         preserve;
-                   register int sz;
-
-                   sz= desc->nMapEntries*SIZEOF(xkbModsWireDesc);
-                   pwire=(xkbModsWireDesc *)_XkbGetReadBufferPtr(buf,sz);
-                   if (pwire==NULL)
-                       return BadLength;
-                   preserve= type->preserve;
-                   for (n=0;n<desc->nMapEntries;n++,pwire++,preserve++) {
-                       preserve->mask=  pwire->mask;
-                       preserve->vmods=  pwire->virtualMods;
-                       preserve->real_mods= pwire->realMods;
-                   }
-               }
-           }
-       }
+    int i, n, lastMapCount;
+    XkbKeyTypePtr type;
+
+    if (rep->nTypes > 0) {
+        n = rep->firstType + rep->nTypes;
+        if (xkb->map->num_types >= n)
+            n = xkb->map->num_types;
+        else if (XkbAllocClientMap(xkb, XkbKeyTypesMask, n) != Success)
+            return BadAlloc;
+
+        type = &xkb->map->types[rep->firstType];
+        for (i = 0; i < (int) rep->nTypes; i++, type++) {
+            xkbKeyTypeWireDesc *desc;
+            register int ndx;
+
+            ndx = i + rep->firstType;
+            if (ndx >= xkb->map->num_types)
+                xkb->map->num_types = ndx + 1;
+
+            desc = (xkbKeyTypeWireDesc *)
+                _XkbGetReadBufferPtr(buf, SIZEOF(xkbKeyTypeWireDesc));
+            if (desc == NULL)
+                return BadLength;
+
+            lastMapCount = type->map_count;
+            if (desc->nMapEntries > 0) {
+                if ((type->map == NULL) ||
+                    (desc->nMapEntries > type->map_count)) {
+                    XkbKTMapEntryRec *prev_map = type->map;
+
+                    type->map = _XkbTypedRealloc(type->map, desc->nMapEntries,
+                                                 XkbKTMapEntryRec);
+                    if (type->map == NULL) {
+                        _XkbFree(prev_map);
+                        return BadAlloc;
+                    }
+                }
+            }
+            else if (type->map != NULL) {
+                Xfree(type->map);
+                type->map_count = 0;
+                type->map = NULL;
+            }
+
+            if (desc->preserve && (desc->nMapEntries > 0)) {
+                if ((!type->preserve) || (desc->nMapEntries > lastMapCount)) {
+                    XkbModsRec *prev_preserve = type->preserve;
+
+                    type->preserve = _XkbTypedRealloc(type->preserve,
+                                                      desc->nMapEntries,
+                                                      XkbModsRec);
+                    if (type->preserve == NULL) {
+                        _XkbFree(prev_preserve);
+                        return BadAlloc;
+                    }
+                }
+            }
+            else if (type->preserve != NULL) {
+                Xfree(type->preserve);
+                type->preserve = NULL;
+            }
+
+            type->mods.mask = desc->mask;
+            type->mods.real_mods = desc->realMods;
+            type->mods.vmods = desc->virtualMods;
+            type->num_levels = desc->numLevels;
+            type->map_count = desc->nMapEntries;
+            if (desc->nMapEntries > 0) {
+                register xkbKTMapEntryWireDesc *wire;
+                register XkbKTMapEntryPtr entry;
+                register int size;
+
+                size = type->map_count * SIZEOF(xkbKTMapEntryWireDesc);
+                wire =
+                    (xkbKTMapEntryWireDesc *) _XkbGetReadBufferPtr(buf, size);
+                if (wire == NULL)
+                    return BadLength;
+                entry = type->map;
+                for (n = 0; n < type->map_count; n++, wire++, entry++) {
+                    entry->active = wire->active;
+                    entry->level = wire->level;
+                    entry->mods.mask = wire->mask;
+                    entry->mods.real_mods = wire->realMods;
+                    entry->mods.vmods = wire->virtualMods;
+                }
+
+                if (desc->preserve) {
+                    register xkbModsWireDesc *pwire;
+                    register XkbModsPtr preserve;
+                    register int sz;
+
+                    sz = desc->nMapEntries * SIZEOF(xkbModsWireDesc);
+                    pwire = (xkbModsWireDesc *) _XkbGetReadBufferPtr(buf, sz);
+                    if (pwire == NULL)
+                        return BadLength;
+                    preserve = type->preserve;
+                    for (n = 0; n < desc->nMapEntries; n++, pwire++, preserve++) {
+                        preserve->mask = pwire->mask;
+                        preserve->vmods = pwire->virtualMods;
+                        preserve->real_mods = pwire->realMods;
+                    }
+                }
+            }
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadKeySyms(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadKeySyms(XkbReadBufferPtr buf, XkbDescPtr xkb, xkbGetMapReply *rep)
 {
-register int i;
-XkbClientMapPtr        map;
-
-    map= xkb->map;
-    if (map->key_sym_map==NULL) {
-       register int offset;
-       XkbSymMapPtr    oldMap;
-       xkbSymMapWireDesc *newMap;
-       map->key_sym_map= _XkbTypedCalloc((xkb->max_key_code+1),XkbSymMapRec);
-       if (map->key_sym_map==NULL)
-           return BadAlloc;
-       if (map->syms==NULL) {
-           int sz;
-           sz= (rep->totalSyms*12)/10;
-           sz= ((sz+(unsigned)128)/128)*128;
-           map->syms = _XkbTypedCalloc(sz,KeySym);
-           if (map->syms==NULL)
-               return BadAlloc;
-           map->size_syms = sz;
-       }
-       offset = 1;
-       oldMap = &map->key_sym_map[rep->firstKeySym];
-       for (i=0;i<(int)rep->nKeySyms;i++,oldMap++) {
-           newMap= (xkbSymMapWireDesc *)
-                       _XkbGetReadBufferPtr(buf,SIZEOF(xkbSymMapWireDesc));
-           if (newMap==NULL)
-               return BadLength;
-           oldMap->kt_index[0]= newMap->ktIndex[0];
-           oldMap->kt_index[1]= newMap->ktIndex[1];
-           oldMap->kt_index[2]= newMap->ktIndex[2];
-           oldMap->kt_index[3]= newMap->ktIndex[3];
-           oldMap->group_info= newMap->groupInfo;
-           oldMap->width= newMap->width;
-           oldMap->offset= offset;
-           if (offset+newMap->nSyms>=map->size_syms) {
-               register int sz;
-               KeySym *prev_syms = map->syms;
-
-               sz= map->size_syms+128;
-               map->syms= _XkbTypedRealloc(map->syms,sz,KeySym);
-               if (map->syms==NULL) {
-                   _XkbFree(prev_syms);
-                   map->size_syms= 0;
-                   return BadAlloc;
-               }
-               map->size_syms= sz;
-           }
-           if (newMap->nSyms>0) {
-               _XkbReadBufferCopyKeySyms(buf,(KeySym *)&map->syms[offset],
-                                                       newMap->nSyms);
-               offset+= newMap->nSyms;
-           }
-           else {
-               map->syms[offset]= 0;
-           }
-       }
-       map->num_syms= offset;
+    register int i;
+    XkbClientMapPtr map;
+    int size = xkb->max_key_code + 1;
+
+    if (((unsigned short) rep->firstKeySym + rep->nKeySyms) > size)
+        return BadLength;
+
+    map = xkb->map;
+    if (map->key_sym_map == NULL) {
+        register int offset;
+        XkbSymMapPtr oldMap;
+        xkbSymMapWireDesc *newMap;
+
+        map->key_sym_map = _XkbTypedCalloc(size, XkbSymMapRec);
+        if (map->key_sym_map == NULL)
+            return BadAlloc;
+        if (map->syms == NULL) {
+            int sz;
+
+            sz = (rep->totalSyms * 12) / 10;
+            sz = ((sz + (unsigned) 128) / 128) * 128;
+            map->syms = _XkbTypedCalloc(sz, KeySym);
+            if (map->syms == NULL)
+                return BadAlloc;
+            map->size_syms = sz;
+        }
+        offset = 1;
+        oldMap = &map->key_sym_map[rep->firstKeySym];
+        for (i = 0; i < (int) rep->nKeySyms; i++, oldMap++) {
+            newMap = (xkbSymMapWireDesc *)
+                _XkbGetReadBufferPtr(buf, SIZEOF(xkbSymMapWireDesc));
+            if (newMap == NULL)
+                return BadLength;
+            oldMap->kt_index[0] = newMap->ktIndex[0];
+            oldMap->kt_index[1] = newMap->ktIndex[1];
+            oldMap->kt_index[2] = newMap->ktIndex[2];
+            oldMap->kt_index[3] = newMap->ktIndex[3];
+            oldMap->group_info = newMap->groupInfo;
+            oldMap->width = newMap->width;
+            oldMap->offset = offset;
+            if (offset + newMap->nSyms >= map->size_syms) {
+                register int sz;
+                KeySym *prev_syms = map->syms;
+
+                sz = map->size_syms + 128;
+                map->syms = _XkbTypedRealloc(map->syms, sz, KeySym);
+                if (map->syms == NULL) {
+                    _XkbFree(prev_syms);
+                    map->size_syms = 0;
+                    return BadAlloc;
+                }
+                map->size_syms = sz;
+            }
+            if (newMap->nSyms > 0) {
+                _XkbReadBufferCopyKeySyms(buf, (KeySym *) &map->syms[offset],
+                                          newMap->nSyms);
+                offset += newMap->nSyms;
+            }
+            else {
+                map->syms[offset] = 0;
+            }
+        }
+        map->num_syms = offset;
     }
     else {
-       xkbSymMapWireDesc *     newMap;
-       XkbSymMapPtr            oldMap;
-       KeySym *                newSyms;
-       int                     tmp;
-
-       oldMap = &map->key_sym_map[rep->firstKeySym];
-       for (i=0;i<(int)rep->nKeySyms;i++,oldMap++) {
-           newMap= (xkbSymMapWireDesc *)
-                       _XkbGetReadBufferPtr(buf,SIZEOF(xkbSymMapWireDesc));
-           if (newMap==NULL)
-               return BadLength;
-
-           if (newMap->nSyms>0)
-                tmp= newMap->nSyms;
-           else tmp= 0;
-
-           newSyms = XkbResizeKeySyms(xkb,i+rep->firstKeySym,tmp);
-           if (newSyms==NULL)
-               return BadAlloc;
-           if (newMap->nSyms>0)
-               _XkbReadBufferCopyKeySyms(buf,newSyms,newMap->nSyms);
-           else newSyms[0]= NoSymbol;
-           oldMap->kt_index[0] = newMap->ktIndex[0];
-           oldMap->kt_index[1] = newMap->ktIndex[1];
-           oldMap->kt_index[2] = newMap->ktIndex[2];
-           oldMap->kt_index[3] = newMap->ktIndex[3];
-           oldMap->group_info = newMap->groupInfo;
-           oldMap->width = newMap->width;
-       }
+        XkbSymMapPtr oldMap = &map->key_sym_map[rep->firstKeySym];
+
+        for (i = 0; i < (int) rep->nKeySyms; i++, oldMap++) {
+            xkbSymMapWireDesc *newMap;
+            KeySym *newSyms;
+            int tmp;
+
+            newMap = (xkbSymMapWireDesc *)
+                _XkbGetReadBufferPtr(buf, SIZEOF(xkbSymMapWireDesc));
+            if (newMap == NULL)
+                return BadLength;
+
+            if (newMap->nSyms > 0)
+                tmp = newMap->nSyms;
+            else
+                tmp = 0;
+
+            newSyms = XkbResizeKeySyms(xkb, i + rep->firstKeySym, tmp);
+            if (newSyms == NULL)
+                return BadAlloc;
+            if (newMap->nSyms > 0)
+                _XkbReadBufferCopyKeySyms(buf, newSyms, newMap->nSyms);
+            else
+                newSyms[0] = NoSymbol;
+            oldMap->kt_index[0] = newMap->ktIndex[0];
+            oldMap->kt_index[1] = newMap->ktIndex[1];
+            oldMap->kt_index[2] = newMap->ktIndex[2];
+            oldMap->kt_index[3] = newMap->ktIndex[3];
+            oldMap->group_info = newMap->groupInfo;
+            oldMap->width = newMap->width;
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadKeyActions(XkbReadBufferPtr buf,XkbDescPtr info,xkbGetMapReply *rep)
+_XkbReadKeyActions(XkbReadBufferPtr buf, XkbDescPtr info, xkbGetMapReply *rep)
 {
-int            i;
-CARD8          numDescBuf[248];
-CARD8*         numDesc = NULL;
-register int   nKeyActs;
-Status         ret = Success;
-
-    if ( (nKeyActs=rep->nKeyActs)>0 ) {
-       XkbSymMapPtr    symMap;
-
-       if (nKeyActs < sizeof numDescBuf) numDesc = numDescBuf;
-       else numDesc = Xmalloc (nKeyActs * sizeof(CARD8));
-
-       if (!_XkbCopyFromReadBuffer(buf, (char *)numDesc, nKeyActs)) {
-           ret = BadLength;
-           goto done;
-       }
-       i= XkbPaddedSize(nKeyActs)-nKeyActs;
-       if ((i>0)&&(!_XkbSkipReadBufferData(buf,i))) {
-           ret = BadLength;
-           goto done;
-       }
-       symMap = &info->map->key_sym_map[rep->firstKeyAct];
-       for (i=0;i<(int)rep->nKeyActs;i++,symMap++) {
-           if (numDesc[i]==0) {
-               info->server->key_acts[i+rep->firstKeyAct]= 0;
-           }
-           else {
-               XkbAction *newActs;
-               /* 8/16/93 (ef) -- XXX! Verify size here (numdesc must be */
-               /*                 either zero or XkbKeyNumSyms(info,key) */
-               newActs=XkbResizeKeyActions(info,i+rep->firstKeyAct,
-                                                               numDesc[i]);
-               if (newActs==NULL) {
-                   ret = BadAlloc;
-                   goto done;
-               }
-               if (!_XkbCopyFromReadBuffer(buf,(char *)newActs,
-                                       (int)(numDesc[i]*sizeof(XkbAction)))) {
-                   ret = BadLength;
-                   goto done;
-               }
-           }
-       }
+    int i;
+    CARD8 numDescBuf[248];
+    CARD8 *numDesc = NULL;
+    register int nKeyActs;
+    Status ret = Success;
+
+    if ((nKeyActs = rep->nKeyActs) > 0) {
+        XkbSymMapPtr symMap;
+
+        if (nKeyActs < sizeof numDescBuf)
+            numDesc = numDescBuf;
+        else
+            numDesc = Xmalloc(nKeyActs * sizeof(CARD8));
+
+        if (!_XkbCopyFromReadBuffer(buf, (char *) numDesc, nKeyActs)) {
+            ret = BadLength;
+            goto done;
+        }
+        i = XkbPaddedSize(nKeyActs) - nKeyActs;
+        if ((i > 0) && (!_XkbSkipReadBufferData(buf, i))) {
+            ret = BadLength;
+            goto done;
+        }
+        symMap = &info->map->key_sym_map[rep->firstKeyAct];
+        for (i = 0; i < (int) rep->nKeyActs; i++, symMap++) {
+            if (numDesc[i] == 0) {
+                if ((i + rep->firstKeyAct) > (info->max_key_code + 1)) {
+                    ret = BadLength;
+                    goto done;
+                }
+                info->server->key_acts[i + rep->firstKeyAct] = 0;
+            }
+            else {
+                XkbAction *newActs;
+
+                /* 8/16/93 (ef) -- XXX! Verify size here (numdesc must be */
+                /*                 either zero or XkbKeyNumSyms(info,key) */
+                newActs = XkbResizeKeyActions(info, i + rep->firstKeyAct,
+                                              numDesc[i]);
+                if (newActs == NULL) {
+                    ret = BadAlloc;
+                    goto done;
+                }
+                if (!_XkbCopyFromReadBuffer(buf, (char *) newActs,
+                            (int) (numDesc[i] * sizeof(XkbAction)))) {
+                    ret = BadLength;
+                    goto done;
+                }
+            }
+        }
     }
-done:
-    if (numDesc != NULL && numDesc != numDescBuf) Xfree (numDesc);
+ done:
+    if (numDesc != NULL && numDesc != numDescBuf)
+        Xfree(numDesc);
     return ret;
 }
 
 static Status
-_XkbReadKeyBehaviors(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadKeyBehaviors(XkbReadBufferPtr buf, XkbDescPtr xkb, xkbGetMapReply *rep)
 {
-register int i;
-xkbBehaviorWireDesc    *wire;
-
-    if ( rep->totalKeyBehaviors>0 ) {
-       if ( xkb->server->behaviors == NULL ) {
-           int size = xkb->max_key_code+1;
-           xkb->server->behaviors = _XkbTypedCalloc(size,XkbBehavior);
-           if (xkb->server->behaviors==NULL)
-               return BadAlloc;
-       }
-       else {
-           bzero(&xkb->server->behaviors[rep->firstKeyBehavior],
-                       (rep->nKeyBehaviors*sizeof(XkbBehavior)));
-       }
-       for (i=0;i<rep->totalKeyBehaviors;i++) {
-           wire= (xkbBehaviorWireDesc *)_XkbGetReadBufferPtr(buf,
-                                               SIZEOF(xkbBehaviorWireDesc));
-           if (wire==NULL)
-               return BadLength;
-           xkb->server->behaviors[wire->key].type= wire->type;
-           xkb->server->behaviors[wire->key].data= wire->data;
-       }
+    register int i;
+
+    if (rep->totalKeyBehaviors > 0) {
+        int size = xkb->max_key_code + 1;
+
+        if (((int) rep->firstKeyBehavior + rep->nKeyBehaviors) > size)
+            return BadLength;
+        if (xkb->server->behaviors == NULL) {
+            xkb->server->behaviors = _XkbTypedCalloc(size, XkbBehavior);
+            if (xkb->server->behaviors == NULL)
+                return BadAlloc;
+        }
+        else {
+            bzero(&xkb->server->behaviors[rep->firstKeyBehavior],
+                  (rep->nKeyBehaviors * sizeof(XkbBehavior)));
+        }
+        for (i = 0; i < rep->totalKeyBehaviors; i++) {
+            xkbBehaviorWireDesc *wire;
+
+            wire = (xkbBehaviorWireDesc *) _XkbGetReadBufferPtr(buf,
+                                               SIZEOF(xkbBehaviorWireDesc));
+            if (wire == NULL || wire->key >= size)
+                return BadLength;
+            xkb->server->behaviors[wire->key].type = wire->type;
+            xkb->server->behaviors[wire->key].data = wire->data;
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadVirtualMods(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadVirtualMods(XkbReadBufferPtr buf, XkbDescPtr xkb, xkbGetMapReply *rep)
 {
-    if ( rep->virtualMods ) {
-       register int i,bit,nVMods;
-       register char *data;
-
-       for (i=nVMods=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-           if (rep->virtualMods&bit)
-               nVMods++;
-       }
-       data= _XkbGetReadBufferPtr(buf,XkbPaddedSize(nVMods));
-       if (data==NULL)
-           return BadLength;
-       for (i=0,bit=1;(i<XkbNumVirtualMods)&&(nVMods>0);i++,bit<<=1) {
-           if (rep->virtualMods&bit) {
-               xkb->server->vmods[i]= *data++;
-               nVMods--;
-           }
-       }
+    if (rep->virtualMods) {
+        register int i, bit, nVMods;
+        register char *data;
+
+        for (i = nVMods = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+            if (rep->virtualMods & bit)
+                nVMods++;
+        }
+        data = _XkbGetReadBufferPtr(buf, XkbPaddedSize(nVMods));
+        if (data == NULL)
+            return BadLength;
+        for (i = 0, bit = 1; (i < XkbNumVirtualMods) && (nVMods > 0);
+             i++, bit <<= 1) {
+            if (rep->virtualMods & bit) {
+                xkb->server->vmods[i] = *data++;
+                nVMods--;
+            }
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadExplicitComponents(    XkbReadBufferPtr        buf,
-                               XkbDescPtr              xkb,
-                               xkbGetMapReply *        rep)
+_XkbReadExplicitComponents(XkbReadBufferPtr buf,
+                           XkbDescPtr xkb,
+                           xkbGetMapReply *rep)
 {
-register int i;
-unsigned char *wire;
-
-    if ( rep->totalKeyExplicit>0 ) {
-       if ( xkb->server->explicit == NULL ) {
-           int size = xkb->max_key_code+1;
-           xkb->server->explicit = _XkbTypedCalloc(size,unsigned char);
-           if (xkb->server->explicit==NULL)
-               return BadAlloc;
-       }
-       else {
-           bzero(&xkb->server->explicit[rep->firstKeyExplicit],
-                                                       rep->nKeyExplicit);
-       }
-       i= XkbPaddedSize(2*rep->totalKeyExplicit);
-       wire=(unsigned char *)_XkbGetReadBufferPtr(buf,i);
-       if (!wire)
-           return BadLength;
-       for (i=0;i<rep->totalKeyExplicit;i++,wire+=2) {
-           xkb->server->explicit[wire[0]]= wire[1];
-       }
+    register int i;
+    unsigned char *wire;
+
+    if (rep->totalKeyExplicit > 0) {
+        int size = xkb->max_key_code + 1;
+
+        if (((int) rep->firstKeyExplicit + rep->nKeyExplicit) > size)
+            return BadLength;
+        if (xkb->server->explicit == NULL) {
+            xkb->server->explicit = _XkbTypedCalloc(size, unsigned char);
+
+            if (xkb->server->explicit == NULL)
+                return BadAlloc;
+        }
+        else {
+            bzero(&xkb->server->explicit[rep->firstKeyExplicit],
+                  rep->nKeyExplicit);
+        }
+        i = XkbPaddedSize(2 * rep->totalKeyExplicit);
+        wire = (unsigned char *) _XkbGetReadBufferPtr(buf, i);
+        if (!wire)
+            return BadLength;
+        for (i = 0; i < rep->totalKeyExplicit; i++, wire += 2) {
+            if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
+                return BadLength;
+            xkb->server->explicit[wire[0]] = wire[1];
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadModifierMap(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadModifierMap(XkbReadBufferPtr buf, XkbDescPtr xkb, xkbGetMapReply *rep)
 {
-register int i;
-unsigned char *wire;
-
-    if ( rep->totalModMapKeys>0 ) {
-       if ((xkb->map->modmap==NULL)&&
-           (XkbAllocClientMap(xkb,XkbModifierMapMask,0)!=Success)) {
-           return BadAlloc;
-       }
-       else {
-           bzero(&xkb->map->modmap[rep->firstModMapKey],rep->nModMapKeys);
-       }
-       i= XkbPaddedSize(2*rep->totalModMapKeys);
-       wire=(unsigned char *)_XkbGetReadBufferPtr(buf,i);
-       if (!wire)
-           return BadLength;
-       for (i=0;i<rep->totalModMapKeys;i++,wire+=2) {
-           xkb->map->modmap[wire[0]]= wire[1];
-       }
+    register int i;
+    unsigned char *wire;
+
+    if (rep->totalModMapKeys > 0) {
+        if (((int) rep->firstModMapKey + rep->nModMapKeys) >
+            (xkb->max_key_code + 1))
+            return BadLength;
+        if ((xkb->map->modmap == NULL) &&
+            (XkbAllocClientMap(xkb, XkbModifierMapMask, 0) != Success)) {
+            return BadAlloc;
+        }
+        else {
+            bzero(&xkb->map->modmap[rep->firstModMapKey], rep->nModMapKeys);
+        }
+        i = XkbPaddedSize(2 * rep->totalModMapKeys);
+        wire = (unsigned char *) _XkbGetReadBufferPtr(buf, i);
+        if (!wire)
+            return BadLength;
+        for (i = 0; i < rep->totalModMapKeys; i++, wire += 2) {
+            if (wire[0] > xkb->max_key_code || wire[1] > xkb->max_key_code)
+                return BadLength;
+            xkb->map->modmap[wire[0]] = wire[1];
+        }
     }
     return Success;
 }
 
 static Status
-_XkbReadVirtualModMap(XkbReadBufferPtr buf,XkbDescPtr xkb,xkbGetMapReply *rep)
+_XkbReadVirtualModMap(XkbReadBufferPtr buf,
+                      XkbDescPtr xkb,
+                      xkbGetMapReply *rep)
 {
-register int           i;
-xkbVModMapWireDesc *   wire;
-XkbServerMapPtr                srv;
-
-    if ( rep->totalVModMapKeys>0 ) {
-       if (((xkb->server==NULL)||(xkb->server->vmodmap==NULL))&&
-           (XkbAllocServerMap(xkb,XkbVirtualModMapMask,0)!=Success)) {
-           return BadAlloc;
-       }
-       else {
-           srv= xkb->server;
-           if (rep->nVModMapKeys > rep->firstVModMapKey)
-               bzero((char *)&srv->vmodmap[rep->firstVModMapKey],
-                     (rep->nVModMapKeys - rep->firstVModMapKey) *
-                     sizeof(unsigned short));
-       }
-       srv= xkb->server;
-       i= rep->totalVModMapKeys*SIZEOF(xkbVModMapWireDesc);
-       wire=(xkbVModMapWireDesc *)_XkbGetReadBufferPtr(buf,i);
-       if (!wire)
-           return BadLength;
-       for (i=0;i<rep->totalVModMapKeys;i++,wire++) {
-           if ((wire->key>=xkb->min_key_code)&&(wire->key<=xkb->max_key_code))
-               srv->vmodmap[wire->key]= wire->vmods;
-       }
+    register int i;
+    xkbVModMapWireDesc *wire;
+    XkbServerMapPtr srv;
+
+    if (rep->totalVModMapKeys > 0) {
+        if (((int) rep->firstVModMapKey + rep->nVModMapKeys)
+            > xkb->max_key_code + 1)
+            return BadLength;
+        if (((xkb->server == NULL) || (xkb->server->vmodmap == NULL)) &&
+            (XkbAllocServerMap(xkb, XkbVirtualModMapMask, 0) != Success)) {
+            return BadAlloc;
+        }
+        else {
+            srv = xkb->server;
+            if (rep->nVModMapKeys > rep->firstVModMapKey)
+                bzero((char *) &srv->vmodmap[rep->firstVModMapKey],
+                      (rep->nVModMapKeys - rep->firstVModMapKey) *
+                      sizeof(unsigned short));
+        }
+        srv = xkb->server;
+        i = rep->totalVModMapKeys * SIZEOF(xkbVModMapWireDesc);
+        wire = (xkbVModMapWireDesc *) _XkbGetReadBufferPtr(buf, i);
+        if (!wire)
+            return BadLength;
+        for (i = 0; i < rep->totalVModMapKeys; i++, wire++) {
+            if ((wire->key >= xkb->min_key_code) &&
+                (wire->key <= xkb->max_key_code))
+                srv->vmodmap[wire->key] = wire->vmods;
+        }
     }
     return Success;
 }
 
 static xkbGetMapReq *
-_XkbGetGetMapReq(Display *dpy,XkbDescPtr xkb)
+_XkbGetGetMapReq(Display *dpy, XkbDescPtr xkb)
 {
-xkbGetMapReq *req;
+    xkbGetMapReq *req;
 
     GetReq(kbGetMap, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
@@ -451,140 +490,147 @@ xkbGetMapReq *req;
 }
 
 Status
-_XkbReadGetMapReply(   Display *       dpy,
-                       xkbGetMapReply *rep,
-                       XkbDescPtr      xkb,
-                       int *           nread_rtrn)
+_XkbReadGetMapReply(Display *dpy,
+                    xkbGetMapReply *rep,
+                    XkbDescPtr xkb,
+                    int *nread_rtrn)
 {
-int            extraData;
-unsigned       mask;
+    int extraData;
+    unsigned mask;
 
-    if ( xkb->device_spec == XkbUseCoreKbd )
-       xkb->device_spec= rep->deviceID;
+    if (xkb->device_spec == XkbUseCoreKbd)
+        xkb->device_spec = rep->deviceID;
+    if (rep->maxKeyCode < rep->minKeyCode)
+        return BadImplementation;
     xkb->min_key_code = rep->minKeyCode;
     xkb->max_key_code = rep->maxKeyCode;
 
     if (!xkb->map) {
-       mask= rep->present&XkbAllClientInfoMask;
-       if (mask&&(XkbAllocClientMap(xkb,mask,rep->nTypes)!=Success))
-           return BadAlloc;
+        mask = rep->present & XkbAllClientInfoMask;
+        if (mask && (XkbAllocClientMap(xkb, mask, rep->nTypes) != Success))
+            return BadAlloc;
     }
     if (!xkb->server) {
-       mask= rep->present&XkbAllServerInfoMask;
-       if (mask&&(XkbAllocServerMap(xkb,mask,rep->totalActs)!=Success))
-           return BadAlloc;
+        mask = rep->present & XkbAllServerInfoMask;
+        if (mask && (XkbAllocServerMap(xkb, mask, rep->totalActs) != Success))
+            return BadAlloc;
     }
-    extraData= (int)(rep->length*4);
-    extraData-= (SIZEOF(xkbGetMapReply)-SIZEOF(xGenericReply));
+    extraData = (int) (rep->length * 4);
+    extraData -= (SIZEOF(xkbGetMapReply) - SIZEOF(xGenericReply));
     if (rep->length) {
-       XkbReadBufferRec        buf;
-       int                     left;
-       if (_XkbInitReadBuffer(dpy,&buf,extraData)) {
-           Status status= Success;
-           if (nread_rtrn!=NULL)
-               *nread_rtrn= extraData;
-           if (status==Success)
-               status= _XkbReadKeyTypes(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadKeySyms(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadKeyActions(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadKeyBehaviors(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadVirtualMods(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadExplicitComponents(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadModifierMap(&buf,xkb,rep);
-           if (status==Success)
-               status= _XkbReadVirtualModMap(&buf,xkb,rep);
-           left= _XkbFreeReadBuffer(&buf);
-           if (status!=Success)                return status;
-           else if ( left || buf.error )       return BadLength;
-       }
-       else return BadAlloc;
+        XkbReadBufferRec buf;
+        int left;
+
+        if (_XkbInitReadBuffer(dpy, &buf, extraData)) {
+            Status status = Success;
+
+            if (nread_rtrn != NULL)
+                *nread_rtrn = extraData;
+            if (status == Success)
+                status = _XkbReadKeyTypes(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadKeySyms(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadKeyActions(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadKeyBehaviors(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadVirtualMods(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadExplicitComponents(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadModifierMap(&buf, xkb, rep);
+            if (status == Success)
+                status = _XkbReadVirtualModMap(&buf, xkb, rep);
+            left = _XkbFreeReadBuffer(&buf);
+            if (status != Success)
+                return status;
+            else if (left || buf.error)
+                return BadLength;
+        }
+        else
+            return BadAlloc;
     }
     return Success;
 }
 
 static Status
-_XkbHandleGetMapReply(Display *dpy,XkbDescPtr xkb)
+_XkbHandleGetMapReply(Display *dpy, XkbDescPtr xkb)
 {
-xkbGetMapReply rep;
+    xkbGetMapReply rep;
 
-    if (!_XReply(dpy, (xReply *)&rep,
-                ( (SIZEOF(xkbGetMapReply)-SIZEOF(xGenericReply)) >> 2 ),
-                xFalse)) {
-       return BadImplementation;
+    if (!_XReply(dpy, (xReply *) &rep,
+                 ((SIZEOF(xkbGetMapReply) - SIZEOF(xGenericReply)) >> 2),
+                 xFalse)) {
+        return BadImplementation;
     }
-    return _XkbReadGetMapReply(dpy,&rep,xkb,NULL);
+    return _XkbReadGetMapReply(dpy, &rep, xkb, NULL);
 }
 
 Status
-XkbGetUpdatedMap(Display *dpy,unsigned which,XkbDescPtr xkb)
+XkbGetUpdatedMap(Display *dpy, unsigned which, XkbDescPtr xkb)
 {
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     if (which) {
-       register xkbGetMapReq *req;
-       Status status;
+        register xkbGetMapReq *req;
+        Status status;
 
-       LockDisplay(dpy);
+        LockDisplay(dpy);
 
-       req = _XkbGetGetMapReq(dpy, xkb);
-       req->full = which;
-       status= _XkbHandleGetMapReply(dpy, xkb);
+        req = _XkbGetGetMapReq(dpy, xkb);
+        req->full = which;
+        status = _XkbHandleGetMapReply(dpy, xkb);
 
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return status;
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return status;
     }
     return Success;
 }
 
 XkbDescPtr
-XkbGetMap(Display *dpy,unsigned which,unsigned deviceSpec)
+XkbGetMap(Display *dpy, unsigned which, unsigned deviceSpec)
 {
-XkbDescPtr xkb;
+    XkbDescPtr xkb;
 
-    xkb = _XkbTypedCalloc(1,XkbDescRec);
+    xkb = _XkbTypedCalloc(1, XkbDescRec);
     if (xkb) {
-       xkb->device_spec = deviceSpec;
-       xkb->map = _XkbTypedCalloc(1,XkbClientMapRec);
-       if ((xkb->map==NULL)||
-           ((which)&&(XkbGetUpdatedMap(dpy,which,xkb)!=Success))) {
-           if (xkb->map) {
-               Xfree(xkb->map);
-               xkb->map= NULL;
-           }
-           Xfree(xkb);
-           return NULL;
-       }
-       xkb->dpy= dpy;
+        xkb->device_spec = deviceSpec;
+        xkb->map = _XkbTypedCalloc(1, XkbClientMapRec);
+        if ((xkb->map == NULL) ||
+            ((which) && (XkbGetUpdatedMap(dpy, which, xkb) != Success))) {
+            if (xkb->map) {
+                Xfree(xkb->map);
+                xkb->map = NULL;
+            }
+            Xfree(xkb);
+            return NULL;
+        }
+        xkb->dpy = dpy;
     }
     return xkb;
 }
 
 Status
-XkbGetKeyTypes(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeyTypes(Display *dpy, unsigned first, unsigned num, XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
-    if ((num<1)||(num>XkbMaxKeyTypes))
-       return BadValue;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
+    if ((num < 1) || (num > XkbMaxKeyTypes))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstType = first;
     req->nTypes = num;
-    status= _XkbHandleGetMapReply(dpy, xkb);
+    status = _XkbHandleGetMapReply(dpy, xkb);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -592,24 +638,24 @@ XkbGetKeyTypes(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetKeyActions(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeyActions(Display *dpy, unsigned first, unsigned num, XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstKeyAct = first;
     req->nKeyActs = num;
-    status= _XkbHandleGetMapReply(dpy, xkb);
+    status = _XkbHandleGetMapReply(dpy, xkb);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -617,24 +663,24 @@ XkbGetKeyActions(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetKeySyms(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeySyms(Display *dpy, unsigned first, unsigned num, XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstKeySym = first;
     req->nKeySyms = num;
-    status= _XkbHandleGetMapReply(dpy, xkb);
+    status = _XkbHandleGetMapReply(dpy, xkb);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -643,24 +689,24 @@ XkbGetKeySyms(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetKeyBehaviors(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeyBehaviors(Display *dpy, unsigned first, unsigned num, XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstKeyBehavior = first;
     req->nKeyBehaviors = num;
-    status= _XkbHandleGetMapReply(dpy, xkb);
+    status = _XkbHandleGetMapReply(dpy, xkb);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -668,20 +714,20 @@ XkbGetKeyBehaviors(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetVirtualMods(Display *dpy,unsigned which,XkbDescPtr xkb)
+XkbGetVirtualMods(Display *dpy, unsigned which, XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->virtualMods = which;
-    status= _XkbHandleGetMapReply(dpy, xkb);
+    status = _XkbHandleGetMapReply(dpy, xkb);
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -689,32 +735,34 @@ XkbGetVirtualMods(Display *dpy,unsigned which,XkbDescPtr xkb)
 }
 
 Status
-XkbGetKeyExplicitComponents(   Display *       dpy,
-                               unsigned        first,
-                               unsigned        num,
-                               XkbDescPtr      xkb)
+XkbGetKeyExplicitComponents(Display *dpy,
+                            unsigned first,
+                            unsigned num,
+                            XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstKeyExplicit = first;
     req->nKeyExplicit = num;
-    if ((xkb!=NULL) && (xkb->server!=NULL) && (xkb->server->explicit!=NULL)) {
-       if ((num>0)&&(first>=xkb->min_key_code)&&(first+num<=xkb->max_key_code))
-           bzero(&xkb->server->explicit[first],num);
+    if ((xkb != NULL) && (xkb->server != NULL) &&
+        (xkb->server->explicit != NULL)) {
+        if ((num > 0) && (first >= xkb->min_key_code) &&
+            (first + num <= xkb->max_key_code))
+            bzero(&xkb->server->explicit[first], num);
     }
     if (xkb)
-        status= _XkbHandleGetMapReply(dpy, xkb);
+        status = _XkbHandleGetMapReply(dpy, xkb);
     else
         status = BadMatch;
 
@@ -724,29 +772,33 @@ XkbGetKeyExplicitComponents(      Display *       dpy,
 }
 
 Status
-XkbGetKeyModifierMap(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeyModifierMap(Display *dpy,
+                     unsigned first,
+                     unsigned num,
+                     XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstModMapKey = first;
     req->nModMapKeys = num;
-    if ((xkb!=NULL) && (xkb->map!=NULL) && (xkb->map->modmap!=NULL)) {
-       if ((num>0)&&(first>=xkb->min_key_code)&&(first+num<=xkb->max_key_code))
-           bzero(&xkb->map->modmap[first],num);
+    if ((xkb != NULL) && (xkb->map != NULL) && (xkb->map->modmap != NULL)) {
+        if ((num > 0) && (first >= xkb->min_key_code) &&
+            (first + num <= xkb->max_key_code))
+            bzero(&xkb->map->modmap[first], num);
     }
     if (xkb)
-        status= _XkbHandleGetMapReply(dpy, xkb);
+        status = _XkbHandleGetMapReply(dpy, xkb);
     else
         status = BadMatch;
 
@@ -756,30 +808,32 @@ XkbGetKeyModifierMap(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetKeyVirtualModMap(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
+XkbGetKeyVirtualModMap(Display *dpy, unsigned first, unsigned num,
+                       XkbDescPtr xkb)
 {
     register xkbGetMapReq *req;
     Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
-    if ((num<1)||(num>XkbMaxKeyCount))
-       return BadValue;
+    if ((num < 1) || (num > XkbMaxKeyCount))
+        return BadValue;
 
     LockDisplay(dpy);
 
     req = _XkbGetGetMapReq(dpy, xkb);
     req->firstVModMapKey = first;
     req->nVModMapKeys = num;
-    if ((xkb!=NULL) && (xkb->map!=NULL) && (xkb->map->modmap!=NULL)) {
-       if ((num>0)&&(first>=xkb->min_key_code)&&(first+num<=xkb->max_key_code))
-           bzero(&xkb->server->vmodmap[first],num*sizeof(unsigned short));
+    if ((xkb != NULL) && (xkb->map != NULL) && (xkb->map->modmap != NULL)) {
+        if ((num > 0) && (first >= xkb->min_key_code) &&
+            (first + num <= xkb->max_key_code))
+            bzero(&xkb->server->vmodmap[first], num * sizeof(unsigned short));
     }
 
     if (xkb)
-        status= _XkbHandleGetMapReply(dpy, xkb);
+        status = _XkbHandleGetMapReply(dpy, xkb);
     else
         status = BadMatch;
 
@@ -789,40 +843,40 @@ XkbGetKeyVirtualModMap(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
 }
 
 Status
-XkbGetMapChanges(Display *dpy,XkbDescPtr xkb,XkbMapChangesPtr changes)
+XkbGetMapChanges(Display *dpy, XkbDescPtr xkb, XkbMapChangesPtr changes)
 {
     xkbGetMapReq *req;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     LockDisplay(dpy);
     if (changes->changed) {
-       Status status= Success;
-       req = _XkbGetGetMapReq(dpy, xkb);
-       req->full = 0;
-       req->partial = changes->changed;
-       req->firstType = changes->first_type;
-       req->nTypes = changes->num_types;
-       req->firstKeySym = changes->first_key_sym;
-       req->nKeySyms = changes->num_key_syms;
-       req->firstKeyAct = changes->first_key_act;
-       req->nKeyActs = changes->num_key_acts;
-       req->firstKeyBehavior = changes->first_key_behavior;
-       req->nKeyBehaviors = changes->num_key_behaviors;
-       req->virtualMods = changes->vmods;
-       req->firstKeyExplicit = changes->first_key_explicit;
-       req->nKeyExplicit = changes->num_key_explicit;
-       req->firstModMapKey = changes->first_modmap_key;
-       req->nModMapKeys = changes->num_modmap_keys;
-       req->firstVModMapKey = changes->first_vmodmap_key;
-       req->nVModMapKeys = changes->num_vmodmap_keys;
-       status= _XkbHandleGetMapReply(dpy, xkb);
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return status;
+        Status status = Success;
+
+        req = _XkbGetGetMapReq(dpy, xkb);
+        req->full = 0;
+        req->partial = changes->changed;
+        req->firstType = changes->first_type;
+        req->nTypes = changes->num_types;
+        req->firstKeySym = changes->first_key_sym;
+        req->nKeySyms = changes->num_key_syms;
+        req->firstKeyAct = changes->first_key_act;
+        req->nKeyActs = changes->num_key_acts;
+        req->firstKeyBehavior = changes->first_key_behavior;
+        req->nKeyBehaviors = changes->num_key_behaviors;
+        req->virtualMods = changes->vmods;
+        req->firstKeyExplicit = changes->first_key_explicit;
+        req->nKeyExplicit = changes->num_key_explicit;
+        req->firstModMapKey = changes->first_modmap_key;
+        req->nModMapKeys = changes->num_modmap_keys;
+        req->firstVModMapKey = changes->first_vmodmap_key;
+        req->nVModMapKeys = changes->num_vmodmap_keys;
+        status = _XkbHandleGetMapReply(dpy, xkb);
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return status;
     }
     UnlockDisplay(dpy);
     return Success;
 }
-
index 8f245f2..55a37b8 100644 (file)
@@ -35,18 +35,18 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /***====================================================================***/
 
 static void
-_FreeComponentNames(int num,XkbComponentNamePtr names)
+_FreeComponentNames(int num, XkbComponentNamePtr names)
 {
-int                    i;
-XkbComponentNamePtr    tmp;
-
-    if ((num<1)||(names==NULL))
-       return;
-    for (i=0,tmp=names;i<num;i++,tmp++) {
-       if (tmp->name) {
-           _XkbFree(tmp->name);
-           tmp->name= NULL;
-       }
+    int i;
+    XkbComponentNamePtr tmp;
+
+    if ((num < 1) || (names == NULL))
+        return;
+    for (i = 0, tmp = names; i < num; i++, tmp++) {
+        if (tmp->name) {
+            _XkbFree(tmp->name);
+            tmp->name = NULL;
+        }
     }
     _XkbFree(names);
     return;
@@ -55,172 +55,179 @@ XkbComponentNamePtr       tmp;
 /***====================================================================***/
 
 static XkbComponentNamePtr
-_ReadListing(XkbReadBufferPtr buf,int count,Status *status_rtrn)
+_ReadListing(XkbReadBufferPtr buf, int count, Status * status_rtrn)
 {
-XkbComponentNamePtr    first,this;
-register int           i;
-CARD16 *               flags;
-int                    slen,wlen;
-char *                 str;
-
-    if (count<1)
-       return NULL;
-    first= _XkbTypedCalloc(count,XkbComponentNameRec);
+    XkbComponentNamePtr first, this;
+    register int i;
+    CARD16 *flags;
+    int slen, wlen;
+    char *str;
+
+    if (count < 1)
+        return NULL;
+    first = _XkbTypedCalloc(count, XkbComponentNameRec);
     if (!first)
-       return NULL;
-    for (this=first,i=0;i<count;i++,this++) {
-       flags= (CARD16 *)_XkbGetReadBufferPtr(buf,2*sizeof(CARD16));
-       if (!flags)
-           goto BAILOUT;
-       this->flags=    flags[0];
-       slen=           flags[1];
-       wlen=           ((slen+1)/2)*2; /* pad to 2 byte boundary */
-       this->name=     _XkbTypedCalloc(slen+1,char);
-       if (!this->name)
-           goto BAILOUT;
-       str= (char *)_XkbGetReadBufferPtr(buf,wlen);
-       if (!str)
-           goto BAILOUT;
-       memcpy(this->name,str,slen);
+        return NULL;
+    for (this = first, i = 0; i < count; i++, this++) {
+        flags = (CARD16 *) _XkbGetReadBufferPtr(buf, 2 * sizeof(CARD16));
+        if (!flags)
+            goto BAILOUT;
+        this->flags = flags[0];
+        slen = flags[1];
+        wlen = ((slen + 1) / 2) * 2;    /* pad to 2 byte boundary */
+        this->name = _XkbTypedCalloc(slen + 1, char);
+
+        if (!this->name)
+            goto BAILOUT;
+        str = (char *) _XkbGetReadBufferPtr(buf, wlen);
+        if (!str)
+            goto BAILOUT;
+        memcpy(this->name, str, slen);
     }
     return first;
-BAILOUT:
-    *status_rtrn= BadAlloc;
-    _FreeComponentNames(i,first);
+ BAILOUT:
+    *status_rtrn = BadAlloc;
+    _FreeComponentNames(i, first);
     return NULL;
 }
 
 /***====================================================================***/
 
 XkbComponentListPtr
-XkbListComponents(     Display *               dpy,
-                       unsigned                deviceSpec,
-                       XkbComponentNamesPtr    ptrns,
-                       int *                   max_inout)
+XkbListComponents(Display *dpy,
+                  unsigned deviceSpec,
+                  XkbComponentNamesPtr ptrns,
+                  int *max_inout)
 {
-register xkbListComponentsReq* req;
-xkbListComponentsReply                 rep;
-XkbInfoPtr                     xkbi;
-XkbComponentListPtr            list;
-XkbReadBufferRec               buf;
-int                            left;
-char *                         str;
-int extraLen,len,mapLen,codesLen,typesLen,compatLen,symsLen,geomLen;
-
-    if ( (dpy==NULL) || (dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)) ||
-       (ptrns==NULL) || (max_inout==NULL))
-       return NULL;
-
-    xkbi= dpy->xkb_info;
+    register xkbListComponentsReq *req;
+    xkbListComponentsReply rep;
+    XkbInfoPtr xkbi;
+    XkbComponentListPtr list;
+    XkbReadBufferRec buf;
+    int left;
+    char *str;
+    int extraLen, len, mapLen, codesLen, typesLen, compatLen, symsLen, geomLen;
+
+    if ((dpy == NULL) || (dpy->flags & XlibDisplayNoXkb) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)) ||
+        (ptrns == NULL) || (max_inout == NULL))
+        return NULL;
+
+    xkbi = dpy->xkb_info;
     LockDisplay(dpy);
     GetReq(kbListComponents, req);
-    req->reqType =     xkbi->codes->major_opcode;
-    req->xkbReqType =  X_kbListComponents;
-    req->deviceSpec =  deviceSpec;
-    req->maxNames =    *max_inout;
+    req->reqType = xkbi->codes->major_opcode;
+    req->xkbReqType = X_kbListComponents;
+    req->deviceSpec = deviceSpec;
+    req->maxNames = *max_inout;
 
-    mapLen= codesLen= typesLen= compatLen= symsLen= geomLen= 0;
+    mapLen = codesLen = typesLen = compatLen = symsLen = geomLen = 0;
     if (ptrns->keymap)
-       mapLen= (int)strlen(ptrns->keymap);
+        mapLen = (int) strlen(ptrns->keymap);
     if (ptrns->keycodes)
-       codesLen= (int)strlen(ptrns->keycodes);
+        codesLen = (int) strlen(ptrns->keycodes);
     if (ptrns->types)
-       typesLen= (int)strlen(ptrns->types);
+        typesLen = (int) strlen(ptrns->types);
     if (ptrns->compat)
-       compatLen= (int)strlen(ptrns->compat);
+        compatLen = (int) strlen(ptrns->compat);
     if (ptrns->symbols)
-       symsLen= (int)strlen(ptrns->symbols);
+        symsLen = (int) strlen(ptrns->symbols);
     if (ptrns->geometry)
-       geomLen= (int)strlen(ptrns->geometry);
-    if (mapLen>255)    mapLen= 255;
-    if (codesLen>255)  codesLen= 255;
-    if (typesLen>255)  typesLen= 255;
-    if (compatLen>255) compatLen= 255;
-    if (symsLen>255)   symsLen= 255;
-    if (geomLen>255)   geomLen= 255;
-
-    len= mapLen+codesLen+typesLen+compatLen+symsLen+geomLen+6;
-    len= XkbPaddedSize(len);
-    req->length+= len/4;
-    BufAlloc(char *,str,len);
-    *str++= mapLen;
-    if (mapLen>0) {
-        memcpy(str,ptrns->keymap,mapLen);
-        str+= mapLen;
+        geomLen = (int) strlen(ptrns->geometry);
+    if (mapLen > 255)
+        mapLen = 255;
+    if (codesLen > 255)
+        codesLen = 255;
+    if (typesLen > 255)
+        typesLen = 255;
+    if (compatLen > 255)
+        compatLen = 255;
+    if (symsLen > 255)
+        symsLen = 255;
+    if (geomLen > 255)
+        geomLen = 255;
+
+    len = mapLen + codesLen + typesLen + compatLen + symsLen + geomLen + 6;
+    len = XkbPaddedSize(len);
+    req->length += len / 4;
+    BufAlloc(char *, str, len);
+
+    *str++ = mapLen;
+    if (mapLen > 0) {
+        memcpy(str, ptrns->keymap, mapLen);
+        str += mapLen;
     }
-    *str++= codesLen;
-    if (codesLen>0) {
-        memcpy(str,ptrns->keycodes,codesLen);
-        str+= codesLen;
+    *str++ = codesLen;
+    if (codesLen > 0) {
+        memcpy(str, ptrns->keycodes, codesLen);
+        str += codesLen;
     }
-    *str++= typesLen;
-    if (typesLen>0) {
-        memcpy(str,ptrns->types,typesLen);
-        str+= typesLen;
+    *str++ = typesLen;
+    if (typesLen > 0) {
+        memcpy(str, ptrns->types, typesLen);
+        str += typesLen;
     }
-    *str++= compatLen;
-    if (compatLen>0) {
-        memcpy(str,ptrns->compat,compatLen);
-        str+= compatLen;
+    *str++ = compatLen;
+    if (compatLen > 0) {
+        memcpy(str, ptrns->compat, compatLen);
+        str += compatLen;
     }
-    *str++= symsLen;
-    if (symsLen>0) {
-        memcpy(str,ptrns->symbols,symsLen);
-        str+= symsLen;
+    *str++ = symsLen;
+    if (symsLen > 0) {
+        memcpy(str, ptrns->symbols, symsLen);
+        str += symsLen;
     }
-    *str++= geomLen;
-    if (geomLen>0) {
-        memcpy(str,ptrns->geometry,geomLen);
-        str+= geomLen;
+    *str++ = geomLen;
+    if (geomLen > 0) {
+        memcpy(str, ptrns->geometry, geomLen);
+        str += geomLen;
     }
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse))
-       goto BAILOUT;
-    extraLen= (int)rep.length*4;
-    *max_inout= rep.extra;
-    if (extraLen==0) { /* no matches, but we don't want to report a failure */
-       list= _XkbTypedCalloc(1,XkbComponentListRec);
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return list;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse))
+        goto BAILOUT;
+    extraLen = (int) rep.length * 4;
+    *max_inout = rep.extra;
+    if (extraLen == 0) {        /* no matches, but we don't want to report a failure */
+        list = _XkbTypedCalloc(1, XkbComponentListRec);
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return list;
     }
-    if (_XkbInitReadBuffer(dpy,&buf,extraLen)) {
-       Status status;
-
-       status= Success;
-       list= _XkbTypedCalloc(1,XkbComponentListRec);
-       if (!list) {
-           _XkbFreeReadBuffer(&buf);
-           goto BAILOUT;
-       }
-       list->num_keymaps= rep.nKeymaps;
-       list->num_keycodes= rep.nKeycodes;
-       list->num_types= rep.nTypes;
-       list->num_compat= rep.nCompatMaps;
-       list->num_symbols= rep.nSymbols;
-       list->num_geometry= rep.nGeometries;
-       if ((status==Success)&&(list->num_keymaps>0))
-           list->keymaps= _ReadListing(&buf,list->num_keymaps,&status);
-       if ((status==Success)&&(list->num_keycodes>0))
-           list->keycodes= _ReadListing(&buf,list->num_keycodes,&status);
-       if ((status==Success)&&(list->num_types>0))
-           list->types= _ReadListing(&buf,list->num_types,&status);
-       if ((status==Success)&&(list->num_compat>0))
-           list->compat= _ReadListing(&buf,list->num_compat,&status);
-       if ((status==Success)&&(list->num_symbols>0))
-           list->symbols= _ReadListing(&buf,list->num_symbols,&status);
-       if ((status==Success)&&(list->num_geometry>0))
-           list->geometry= _ReadListing(&buf,list->num_geometry,&status);
-       left= _XkbFreeReadBuffer(&buf);
-       if ((status!=Success)||(buf.error)||(left>2)) {
-           XkbFreeComponentList(list);
-           goto BAILOUT;
-       }
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return list;
+    if (_XkbInitReadBuffer(dpy, &buf, extraLen)) {
+        Status status = Success;
+
+        list = _XkbTypedCalloc(1, XkbComponentListRec);
+        if (!list) {
+            _XkbFreeReadBuffer(&buf);
+            goto BAILOUT;
+        }
+        list->num_keymaps = rep.nKeymaps;
+        list->num_keycodes = rep.nKeycodes;
+        list->num_types = rep.nTypes;
+        list->num_compat = rep.nCompatMaps;
+        list->num_symbols = rep.nSymbols;
+        list->num_geometry = rep.nGeometries;
+        if ((status == Success) && (list->num_keymaps > 0))
+            list->keymaps = _ReadListing(&buf, list->num_keymaps, &status);
+        if ((status == Success) && (list->num_keycodes > 0))
+            list->keycodes = _ReadListing(&buf, list->num_keycodes, &status);
+        if ((status == Success) && (list->num_types > 0))
+            list->types = _ReadListing(&buf, list->num_types, &status);
+        if ((status == Success) && (list->num_compat > 0))
+            list->compat = _ReadListing(&buf, list->num_compat, &status);
+        if ((status == Success) && (list->num_symbols > 0))
+            list->symbols = _ReadListing(&buf, list->num_symbols, &status);
+        if ((status == Success) && (list->num_geometry > 0))
+            list->geometry = _ReadListing(&buf, list->num_geometry, &status);
+        left = _XkbFreeReadBuffer(&buf);
+        if ((status != Success) || (buf.error) || (left > 2)) {
+            XkbFreeComponentList(list);
+            goto BAILOUT;
+        }
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return list;
     }
-BAILOUT:
+ BAILOUT:
     UnlockDisplay(dpy);
     SyncHandle();
     return NULL;
@@ -230,20 +237,20 @@ void
 XkbFreeComponentList(XkbComponentListPtr list)
 {
     if (list) {
-       if (list->keymaps)
-           _FreeComponentNames(list->num_keymaps,list->keymaps);
-       if (list->keycodes)
-           _FreeComponentNames(list->num_keycodes,list->keycodes);
-       if (list->types)
-           _FreeComponentNames(list->num_types,list->types);
-       if (list->compat)
-           _FreeComponentNames(list->num_compat,list->compat);
-       if (list->symbols)
-           _FreeComponentNames(list->num_symbols,list->symbols);
-       if (list->geometry)
-           _FreeComponentNames(list->num_geometry,list->geometry);
-       bzero((char *)list,sizeof(XkbComponentListRec));
-       _XkbFree(list);
+        if (list->keymaps)
+            _FreeComponentNames(list->num_keymaps, list->keymaps);
+        if (list->keycodes)
+            _FreeComponentNames(list->num_keycodes, list->keycodes);
+        if (list->types)
+            _FreeComponentNames(list->num_types, list->types);
+        if (list->compat)
+            _FreeComponentNames(list->num_compat, list->compat);
+        if (list->symbols)
+            _FreeComponentNames(list->num_symbols, list->symbols);
+        if (list->geometry)
+            _FreeComponentNames(list->num_geometry, list->geometry);
+        bzero((char *) list, sizeof(XkbComponentListRec));
+        _XkbFree(list);
     }
     return;
 }
index a6b3921..f27fe4e 100644 (file)
@@ -24,13 +24,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ********************************************************/
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#elif defined(HAVE_CONFIG_H)
+#ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-#ifndef XKB_IN_SERVER
 
 #include <stdio.h>
 #include "Xlibint.h"
@@ -38,192 +35,186 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/keysym.h>
 #include "XKBlibint.h"
 
-#else
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/Xproto.h>
-#include "misc.h"
-#include "inputstr.h"
-#include <X11/keysym.h>
-#define        XKBSRV_NEED_FILE_FUNCS
-#include <X11/extensions/XKBsrv.h>
-
-#endif /* XKB_IN_SERVER */
 
 /***====================================================================***/
 
 Status
-XkbAllocClientMap(XkbDescPtr xkb,unsigned which,unsigned nTotalTypes)
+XkbAllocClientMap(XkbDescPtr xkb, unsigned which, unsigned nTotalTypes)
 {
-register int   i;
-XkbClientMapPtr map;
-
-    if ((xkb==NULL)||((nTotalTypes>0)&&(nTotalTypes<XkbNumRequiredTypes)))
-       return BadValue;
-    if ((which&XkbKeySymsMask)&&
-       ((!XkbIsLegalKeycode(xkb->min_key_code))||
-        (!XkbIsLegalKeycode(xkb->max_key_code))||
-        (xkb->max_key_code<xkb->min_key_code))) {
+    register int i;
+    XkbClientMapPtr map;
+
+    if ((xkb == NULL) ||
+        ((nTotalTypes > 0) && (nTotalTypes < XkbNumRequiredTypes)))
+        return BadValue;
+    if ((which & XkbKeySymsMask) &&
+        ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+         (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+         (xkb->max_key_code < xkb->min_key_code))) {
 #ifdef DEBUG
-fprintf(stderr,"bad keycode (%d,%d) in XkbAllocClientMap\n",
-                               xkb->min_key_code,xkb->max_key_code);
+        fprintf(stderr, "bad keycode (%d,%d) in XkbAllocClientMap\n",
+                xkb->min_key_code, xkb->max_key_code);
 #endif
-       return BadValue;
-    }
-
-    if (xkb->map==NULL) {
-       map= _XkbTypedCalloc(1,XkbClientMapRec);
-       if (map==NULL)
-           return BadAlloc;
-       xkb->map= map;
-    }
-    else map= xkb->map;
-
-    if ((which&XkbKeyTypesMask)&&(nTotalTypes>0)) {
-       if (map->types==NULL) {
-           map->types= _XkbTypedCalloc(nTotalTypes,XkbKeyTypeRec);
-           if (map->types==NULL)
-               return BadAlloc;
-           map->num_types= 0;
-           map->size_types= nTotalTypes;
-       }
-       else if (map->size_types<nTotalTypes) {
-           XkbKeyTypeRec *prev_types = map->types;
-
-           map->types= _XkbTypedRealloc(map->types,nTotalTypes,XkbKeyTypeRec);
-           if (map->types==NULL) {
-               _XkbFree(prev_types);
-               map->num_types= map->size_types= 0;
-               return BadAlloc;
-           }
-           map->size_types= nTotalTypes;
-           bzero(&map->types[map->num_types],
-                 ((map->size_types-map->num_types)*sizeof(XkbKeyTypeRec)));
-       }
-    }
-    if (which&XkbKeySymsMask) {
-       int nKeys= XkbNumKeys(xkb);
-       if (map->syms==NULL) {
-           map->size_syms= (nKeys*15)/10;
-           map->syms= _XkbTypedCalloc(map->size_syms,KeySym);
-           if (!map->syms) {
-               map->size_syms= 0;
-               return BadAlloc;
-           }
-           map->num_syms= 1;
-           map->syms[0]= NoSymbol;
-       }
-       if (map->key_sym_map==NULL) {
-           i= xkb->max_key_code+1;
-           map->key_sym_map= _XkbTypedCalloc(i,XkbSymMapRec);
-           if (map->key_sym_map==NULL)
-               return BadAlloc;
-       }
-    }
-    if (which&XkbModifierMapMask) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadMatch;
-       if (map->modmap==NULL) {
-           i= xkb->max_key_code+1;
-           map->modmap= _XkbTypedCalloc(i,unsigned char);
-           if (map->modmap==NULL)
-               return BadAlloc;
-       }
+        return BadValue;
+    }
+
+    if (xkb->map == NULL) {
+        map = _XkbTypedCalloc(1, XkbClientMapRec);
+        if (map == NULL)
+            return BadAlloc;
+        xkb->map = map;
+    }
+    else
+        map = xkb->map;
+
+    if ((which & XkbKeyTypesMask) && (nTotalTypes > 0)) {
+        if (map->types == NULL) {
+            map->types = _XkbTypedCalloc(nTotalTypes, XkbKeyTypeRec);
+            if (map->types == NULL)
+                return BadAlloc;
+            map->num_types = 0;
+            map->size_types = nTotalTypes;
+        }
+        else if (map->size_types < nTotalTypes) {
+            XkbKeyTypeRec *prev_types = map->types;
+
+            map->types =
+                _XkbTypedRealloc(map->types, nTotalTypes, XkbKeyTypeRec);
+            if (map->types == NULL) {
+                _XkbFree(prev_types);
+                map->num_types = map->size_types = 0;
+                return BadAlloc;
+            }
+            map->size_types = nTotalTypes;
+            bzero(&map->types[map->num_types],
+                  ((map->size_types - map->num_types) * sizeof(XkbKeyTypeRec)));
+        }
+    }
+    if (which & XkbKeySymsMask) {
+        int nKeys = XkbNumKeys(xkb);
+
+        if (map->syms == NULL) {
+            map->size_syms = (nKeys * 15) / 10;
+            map->syms = _XkbTypedCalloc(map->size_syms, KeySym);
+            if (!map->syms) {
+                map->size_syms = 0;
+                return BadAlloc;
+            }
+            map->num_syms = 1;
+            map->syms[0] = NoSymbol;
+        }
+        if (map->key_sym_map == NULL) {
+            i = xkb->max_key_code + 1;
+            map->key_sym_map = _XkbTypedCalloc(i, XkbSymMapRec);
+            if (map->key_sym_map == NULL)
+                return BadAlloc;
+        }
+    }
+    if (which & XkbModifierMapMask) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadMatch;
+        if (map->modmap == NULL) {
+            i = xkb->max_key_code + 1;
+            map->modmap = _XkbTypedCalloc(i, unsigned char);
+            if (map->modmap == NULL)
+                return BadAlloc;
+        }
     }
     return Success;
 }
 
 Status
-XkbAllocServerMap(XkbDescPtr xkb,unsigned which,unsigned nNewActions)
+XkbAllocServerMap(XkbDescPtr xkb, unsigned which, unsigned nNewActions)
 {
-register int   i;
-XkbServerMapPtr map;
-
-    if (xkb==NULL)
-       return BadMatch;
-    if (xkb->server==NULL) {
-       map= _XkbTypedCalloc(1,XkbServerMapRec);
-       if (map==NULL)
-           return BadAlloc;
-       for (i=0;i<XkbNumVirtualMods;i++) {
-           map->vmods[i]= XkbNoModifierMask;
-       }
-       xkb->server= map;
-    }
-    else map= xkb->server;
-    if (which&XkbExplicitComponentsMask) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadMatch;
-       if (map->explicit==NULL) {
-           i= xkb->max_key_code+1;
-           map->explicit= _XkbTypedCalloc(i,unsigned char);
-           if (map->explicit==NULL)
-               return BadAlloc;
-       }
-    }
-    if (which&XkbKeyActionsMask) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadMatch;
-        if (nNewActions<1)
-           nNewActions= 1;
-       if (map->acts==NULL) {
-           map->acts= _XkbTypedCalloc((nNewActions+1),XkbAction);
-           if (map->acts==NULL)
-               return BadAlloc;
-           map->num_acts= 1;
-           map->size_acts= nNewActions+1;
-       }
-       else if ((map->size_acts-map->num_acts)<nNewActions) {
-           unsigned need;
-           XkbAction *prev_acts = map->acts;
-           need= map->num_acts+nNewActions;
-           map->acts= _XkbTypedRealloc(map->acts,need,XkbAction);
-           if (map->acts==NULL) {
-               _XkbFree(prev_acts);
-               map->num_acts= map->size_acts= 0;
-               return BadAlloc;
-           }
-           map->size_acts= need;
-           bzero(&map->acts[map->num_acts],
-                   ((map->size_acts-map->num_acts)*sizeof(XkbAction)));
-       }
-       if (map->key_acts==NULL) {
-           i= xkb->max_key_code+1;
-           map->key_acts= _XkbTypedCalloc(i,unsigned short);
-           if (map->key_acts==NULL)
-               return BadAlloc;
-       }
-    }
-    if (which&XkbKeyBehaviorsMask) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadMatch;
-       if (map->behaviors==NULL) {
-           i= xkb->max_key_code+1;
-           map->behaviors= _XkbTypedCalloc(i,XkbBehavior);
-           if (map->behaviors==NULL)
-               return BadAlloc;
-       }
-    }
-    if (which&XkbVirtualModMapMask) {
-       if ((!XkbIsLegalKeycode(xkb->min_key_code))||
-           (!XkbIsLegalKeycode(xkb->max_key_code))||
-           (xkb->max_key_code<xkb->min_key_code))
-           return BadMatch;
-       if (map->vmodmap==NULL) {
-           i= xkb->max_key_code+1;
-           map->vmodmap= _XkbTypedCalloc(i,unsigned short);
-           if (map->vmodmap==NULL)
-               return BadAlloc;
-       }
+    register int i;
+    XkbServerMapPtr map;
+
+    if (xkb == NULL)
+        return BadMatch;
+    if (xkb->server == NULL) {
+        map = _XkbTypedCalloc(1, XkbServerMapRec);
+        if (map == NULL)
+            return BadAlloc;
+        for (i = 0; i < XkbNumVirtualMods; i++) {
+            map->vmods[i] = XkbNoModifierMask;
+        }
+        xkb->server = map;
+    }
+    else
+        map = xkb->server;
+    if (which & XkbExplicitComponentsMask) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadMatch;
+        if (map->explicit == NULL) {
+            i = xkb->max_key_code + 1;
+            map->explicit = _XkbTypedCalloc(i, unsigned char);
+            if (map->explicit == NULL)
+                return BadAlloc;
+        }
+    }
+    if (which & XkbKeyActionsMask) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadMatch;
+        if (nNewActions < 1)
+            nNewActions = 1;
+        if (map->acts == NULL) {
+            map->acts = _XkbTypedCalloc((nNewActions + 1), XkbAction);
+            if (map->acts == NULL)
+                return BadAlloc;
+            map->num_acts = 1;
+            map->size_acts = nNewActions + 1;
+        }
+        else if ((map->size_acts - map->num_acts) < nNewActions) {
+            unsigned need;
+            XkbAction *prev_acts = map->acts;
+
+            need = map->num_acts + nNewActions;
+            map->acts = _XkbTypedRealloc(map->acts, need, XkbAction);
+            if (map->acts == NULL) {
+                _XkbFree(prev_acts);
+                map->num_acts = map->size_acts = 0;
+                return BadAlloc;
+            }
+            map->size_acts = need;
+            bzero(&map->acts[map->num_acts],
+                  ((map->size_acts - map->num_acts) * sizeof(XkbAction)));
+        }
+        if (map->key_acts == NULL) {
+            i = xkb->max_key_code + 1;
+            map->key_acts = _XkbTypedCalloc(i, unsigned short);
+            if (map->key_acts == NULL)
+                return BadAlloc;
+        }
+    }
+    if (which & XkbKeyBehaviorsMask) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadMatch;
+        if (map->behaviors == NULL) {
+            i = xkb->max_key_code + 1;
+            map->behaviors = _XkbTypedCalloc(i, XkbBehavior);
+            if (map->behaviors == NULL)
+                return BadAlloc;
+        }
+    }
+    if (which & XkbVirtualModMapMask) {
+        if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
+            (!XkbIsLegalKeycode(xkb->max_key_code)) ||
+            (xkb->max_key_code < xkb->min_key_code))
+            return BadMatch;
+        if (map->vmodmap == NULL) {
+            i = xkb->max_key_code + 1;
+            map->vmodmap = _XkbTypedCalloc(i, unsigned short);
+            if (map->vmodmap == NULL)
+                return BadAlloc;
+        }
     }
     return Success;
 }
@@ -231,211 +222,218 @@ XkbServerMapPtr map;
 /***====================================================================***/
 
 Status
-XkbCopyKeyType(XkbKeyTypePtr from,XkbKeyTypePtr into)
+XkbCopyKeyType(XkbKeyTypePtr from, XkbKeyTypePtr into)
 {
-    if ((!from)||(!into))
-       return BadMatch;
+    if ((!from) || (!into))
+        return BadMatch;
     if (into->map) {
-       _XkbFree(into->map);
-       into->map= NULL;
+        _XkbFree(into->map);
+        into->map = NULL;
     }
     if (into->preserve) {
-       _XkbFree(into->preserve);
-       into->preserve= NULL;
+        _XkbFree(into->preserve);
+        into->preserve = NULL;
     }
     if (into->level_names) {
-       _XkbFree(into->level_names);
-       into->level_names= NULL;
-    }
-    *into= *from;
-    if ((from->map)&&(into->map_count>0)) {
-       into->map= _XkbTypedCalloc(into->map_count,XkbKTMapEntryRec);
-       if (!into->map)
-           return BadAlloc;
-       memcpy(into->map,from->map,into->map_count*sizeof(XkbKTMapEntryRec));
-    }
-    if ((from->preserve)&&(into->map_count>0)) {
-       into->preserve= _XkbTypedCalloc(into->map_count,XkbModsRec);
-       if (!into->preserve)
-           return BadAlloc;
-       memcpy(into->preserve,from->preserve,
-                               into->map_count*sizeof(XkbModsRec));
-    }
-    if ((from->level_names)&&(into->num_levels>0)) {
-       into->level_names= _XkbTypedCalloc(into->num_levels,Atom);
-       if (!into->level_names)
-           return BadAlloc;
-       memcpy(into->level_names,from->level_names,
-                                into->num_levels*sizeof(Atom));
+        _XkbFree(into->level_names);
+        into->level_names = NULL;
+    }
+    *into = *from;
+    if ((from->map) && (into->map_count > 0)) {
+        into->map = _XkbTypedCalloc(into->map_count, XkbKTMapEntryRec);
+        if (!into->map)
+            return BadAlloc;
+        memcpy(into->map, from->map,
+               into->map_count * sizeof(XkbKTMapEntryRec));
+    }
+    if ((from->preserve) && (into->map_count > 0)) {
+        into->preserve = _XkbTypedCalloc(into->map_count, XkbModsRec);
+        if (!into->preserve)
+            return BadAlloc;
+        memcpy(into->preserve, from->preserve,
+               into->map_count * sizeof(XkbModsRec));
+    }
+    if ((from->level_names) && (into->num_levels > 0)) {
+        into->level_names = _XkbTypedCalloc(into->num_levels, Atom);
+        if (!into->level_names)
+            return BadAlloc;
+        memcpy(into->level_names, from->level_names,
+               into->num_levels * sizeof(Atom));
     }
     return Success;
 }
 
 Status
-XkbCopyKeyTypes(XkbKeyTypePtr from,XkbKeyTypePtr into,int num_types)
+XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types)
 {
-register int i,rtrn;
+    register int i, rtrn;
 
-    if ((!from)||(!into)||(num_types<0))
-       return BadMatch;
-    for (i=0;i<num_types;i++) {
-       if ((rtrn= XkbCopyKeyType(from++,into++))!=Success)
-           return rtrn;
+    if ((!from) || (!into) || (num_types < 0))
+        return BadMatch;
+    for (i = 0; i < num_types; i++) {
+        if ((rtrn = XkbCopyKeyType(from++, into++)) != Success)
+            return rtrn;
     }
     return Success;
 }
 
 XkbKeyTypePtr
-XkbAddKeyType( XkbDescPtr      xkb,
-               Atom            name,
-               int             map_count,
-               Bool            want_preserve,
-               int             num_lvls)
+XkbAddKeyType(XkbDescPtr xkb,
+              Atom name,
+              int map_count,
+              Bool want_preserve,
+              int num_lvls)
 {
-register int   i;
-unsigned       tmp;
-XkbKeyTypePtr  type;
-XkbClientMapPtr        map;
-
-    if ((!xkb)||(num_lvls<1))
-       return NULL;
-    map= xkb->map;
-    if ((map)&&(map->types)) {
-       for (i=0;i<map->num_types;i++) {
-           if (map->types[i].name==name) {
-               Status status;
-               status=XkbResizeKeyType(xkb,i,map_count,want_preserve,num_lvls);
-               return (status==Success?&map->types[i]:NULL);
-           }
-       }
-    }
-    if ((!map)||(!map->types)||(!map->num_types<XkbNumRequiredTypes)) {
-       tmp= XkbNumRequiredTypes+1;
-       if (XkbAllocClientMap(xkb,XkbKeyTypesMask,tmp)!=Success)
-           return NULL;
+    register int i;
+    unsigned tmp;
+    XkbKeyTypePtr type;
+    XkbClientMapPtr map;
+
+    if ((!xkb) || (num_lvls < 1))
+        return NULL;
+    map = xkb->map;
+    if ((map) && (map->types)) {
+        for (i = 0; i < map->num_types; i++) {
+            if (map->types[i].name == name) {
+                Status status =
+                    XkbResizeKeyType(xkb, i, map_count, want_preserve,
+                                     num_lvls);
+                return (status == Success ? &map->types[i] : NULL);
+            }
+        }
+    }
+    if ((!map) || (!map->types) || (!map->num_types < XkbNumRequiredTypes)) {
+        tmp = XkbNumRequiredTypes + 1;
+        if (XkbAllocClientMap(xkb, XkbKeyTypesMask, tmp) != Success)
+            return NULL;
         if (!map)
             map = xkb->map;
-       tmp= 0;
-       if (map->num_types<=XkbKeypadIndex)
-           tmp|= XkbKeypadMask;
-       if (map->num_types<=XkbAlphabeticIndex)
-           tmp|= XkbAlphabeticMask;
-       if (map->num_types<=XkbTwoLevelIndex)
-           tmp|= XkbTwoLevelMask;
-       if (map->num_types<=XkbOneLevelIndex)
-           tmp|= XkbOneLevelMask;
-       if (XkbInitCanonicalKeyTypes(xkb,tmp,XkbNoModifier)==Success) {
-           for (i=0;i<map->num_types;i++) {
-               Status status;
-               if (map->types[i].name!=name)
-                   continue;
-               status=XkbResizeKeyType(xkb,i,map_count,want_preserve,num_lvls);
-               return (status==Success?&map->types[i]:NULL);
-           }
-       }
-    }
-    if ((map->num_types<=map->size_types)&&
-       (XkbAllocClientMap(xkb,XkbKeyTypesMask,map->num_types+1)!=Success)) {
-       return NULL;
-    }
-    type= &map->types[map->num_types];
+        tmp = 0;
+        if (map->num_types <= XkbKeypadIndex)
+            tmp |= XkbKeypadMask;
+        if (map->num_types <= XkbAlphabeticIndex)
+            tmp |= XkbAlphabeticMask;
+        if (map->num_types <= XkbTwoLevelIndex)
+            tmp |= XkbTwoLevelMask;
+        if (map->num_types <= XkbOneLevelIndex)
+            tmp |= XkbOneLevelMask;
+        if (XkbInitCanonicalKeyTypes(xkb, tmp, XkbNoModifier) == Success) {
+            for (i = 0; i < map->num_types; i++) {
+                Status status;
+
+                if (map->types[i].name != name)
+                    continue;
+                status = XkbResizeKeyType(xkb, i, map_count, want_preserve,
+                                          num_lvls);
+                return (status == Success ? &map->types[i] : NULL);
+            }
+        }
+    }
+    if ((map->num_types <= map->size_types) &&
+        (XkbAllocClientMap(xkb, XkbKeyTypesMask, map->num_types + 1) !=
+         Success)) {
+        return NULL;
+    }
+    type = &map->types[map->num_types];
     map->num_types++;
-    bzero((char *)type,sizeof(XkbKeyTypeRec));
-    type->num_levels num_lvls;
-    type->map_count=   map_count;
-    type->name=                name;
-    if (map_count>0) {
-       type->map=      _XkbTypedCalloc(map_count,XkbKTMapEntryRec);
-       if (!type->map) {
-           map->num_types--;
-           return NULL;
-       }
-       if (want_preserve) {
-           type->preserve=     _XkbTypedCalloc(map_count,XkbModsRec);
-           if (!type->preserve) {
-               _XkbFree(type->map);
-               map->num_types--;
-               return NULL;
-           }
-       }
+    bzero((char *) type, sizeof(XkbKeyTypeRec));
+    type->num_levels = num_lvls;
+    type->map_count = map_count;
+    type->name = name;
+    if (map_count > 0) {
+        type->map = _XkbTypedCalloc(map_count, XkbKTMapEntryRec);
+        if (!type->map) {
+            map->num_types--;
+            return NULL;
+        }
+        if (want_preserve) {
+            type->preserve = _XkbTypedCalloc(map_count, XkbModsRec);
+            if (!type->preserve) {
+                _XkbFree(type->map);
+                map->num_types--;
+                return NULL;
+            }
+        }
     }
     return type;
 }
 
 Status
-XkbResizeKeyType(      XkbDescPtr      xkb,
-                       int             type_ndx,
-                       int             map_count,
-                       Bool            want_preserve,
-                       int             new_num_lvls)
+XkbResizeKeyType(XkbDescPtr xkb,
+                 int type_ndx,
+                 int map_count,
+                 Bool want_preserve,
+                 int new_num_lvls)
 {
-XkbKeyTypePtr  type;
-KeyCode                matchingKeys[XkbMaxKeyCount],nMatchingKeys;
+    XkbKeyTypePtr type;
+    KeyCode matchingKeys[XkbMaxKeyCount], nMatchingKeys;
 
-    if ((type_ndx<0)||(type_ndx>=xkb->map->num_types)||(map_count<0)||
-                                                       (new_num_lvls<1))
-       return BadValue;
+    if ((type_ndx < 0) || (type_ndx >= xkb->map->num_types) || (map_count < 0)
+        || (new_num_lvls < 1))
+        return BadValue;
     switch (type_ndx) {
-       case XkbOneLevelIndex:
-           if (new_num_lvls!=1)
-               return BadMatch;
-           break;
-       case XkbTwoLevelIndex:
-       case XkbAlphabeticIndex:
-       case XkbKeypadIndex:
-           if (new_num_lvls!=2)
-               return BadMatch;
-           break;
-    }
-    type= &xkb->map->types[type_ndx];
-    if (map_count==0) {
-       if (type->map!=NULL)
-           _XkbFree(type->map);
-       type->map= NULL;
-       if (type->preserve!=NULL)
-           _XkbFree(type->preserve);
-       type->preserve= NULL;
-       type->map_count= 0;
+    case XkbOneLevelIndex:
+        if (new_num_lvls != 1)
+            return BadMatch;
+        break;
+    case XkbTwoLevelIndex:
+    case XkbAlphabeticIndex:
+    case XkbKeypadIndex:
+        if (new_num_lvls != 2)
+            return BadMatch;
+        break;
+    }
+    type = &xkb->map->types[type_ndx];
+    if (map_count == 0) {
+        if (type->map != NULL)
+            _XkbFree(type->map);
+        type->map = NULL;
+        if (type->preserve != NULL)
+            _XkbFree(type->preserve);
+        type->preserve = NULL;
+        type->map_count = 0;
     }
     else {
-       XkbKTMapEntryRec *prev_map = type->map;
-
-       if ((map_count>type->map_count)||(type->map==NULL))
-           type->map=_XkbTypedRealloc(type->map,map_count,XkbKTMapEntryRec);
-       if (!type->map) {
-           if (prev_map)
-               _XkbFree(prev_map);
-           return BadAlloc;
-       }
-       if (want_preserve) {
-           XkbModsRec *prev_preserve = type->preserve;
-
-           if ((map_count>type->map_count)||(type->preserve==NULL)) {
-               type->preserve= _XkbTypedRealloc(type->preserve,map_count,
-                                                           XkbModsRec);
-           }
-           if (!type->preserve) {
-               if (prev_preserve)
-                   _XkbFree(prev_preserve);
-               return BadAlloc;
-           }
-       }
-       else if (type->preserve!=NULL) {
-           _XkbFree(type->preserve);
-           type->preserve= NULL;
-       }
-       type->map_count= map_count;
-    }
-
-    if ((new_num_lvls>type->num_levels)||(type->level_names==NULL)) {
-       Atom * prev_level_names = type->level_names;
-
-       type->level_names=_XkbTypedRealloc(type->level_names,new_num_lvls,Atom);
-       if (!type->level_names) {
-           if (prev_level_names)
-               _XkbFree(prev_level_names);
-           return BadAlloc;
-       }
+        XkbKTMapEntryRec *prev_map = type->map;
+
+        if ((map_count > type->map_count) || (type->map == NULL))
+            type->map =
+                _XkbTypedRealloc(type->map, map_count, XkbKTMapEntryRec);
+        if (!type->map) {
+            if (prev_map)
+                _XkbFree(prev_map);
+            return BadAlloc;
+        }
+        if (want_preserve) {
+            XkbModsRec *prev_preserve = type->preserve;
+
+            if ((map_count > type->map_count) || (type->preserve == NULL)) {
+                type->preserve = _XkbTypedRealloc(type->preserve, map_count,
+                                                  XkbModsRec);
+            }
+            if (!type->preserve) {
+                if (prev_preserve)
+                    _XkbFree(prev_preserve);
+                return BadAlloc;
+            }
+        }
+        else if (type->preserve != NULL) {
+            _XkbFree(type->preserve);
+            type->preserve = NULL;
+        }
+        type->map_count = map_count;
+    }
+
+    if ((new_num_lvls > type->num_levels) || (type->level_names == NULL)) {
+        Atom *prev_level_names = type->level_names;
+
+        type->level_names =
+            _XkbTypedRealloc(type->level_names, new_num_lvls, Atom);
+        if (!type->level_names) {
+            if (prev_level_names)
+                _XkbFree(prev_level_names);
+            return BadAlloc;
+        }
     }
     /*
      * Here's the theory:
@@ -458,156 +456,165 @@ KeyCode         matchingKeys[XkbMaxKeyCount],nMatchingKeys;
      * The possibilities marked with '+' require us to examine the key types
      * associated with each group for the key.
      */
-    bzero(matchingKeys,XkbMaxKeyCount*sizeof(KeyCode));
-    nMatchingKeys= 0;
-    if (new_num_lvls>type->num_levels) {
-       int                     nTotal;
-       KeySym  *               newSyms;
-       int                     width,match,nResize;
-       register int            i,g,nSyms;
-
-       nResize= 0;
-       for (nTotal=1,i=xkb->min_key_code;i<=xkb->max_key_code;i++) {
-           width= XkbKeyGroupsWidth(xkb,i);
-           if (width<type->num_levels)
-               continue;
-           for (match=0,g=XkbKeyNumGroups(xkb,i)-1;(g>=0)&&(!match);g--) {
-               if (XkbKeyKeyTypeIndex(xkb,i,g)==type_ndx) {
-                   matchingKeys[nMatchingKeys++]= i;
-                   match= 1;
-               }
-           }
-           if ((!match)||(width>=new_num_lvls))
-               nTotal+= XkbKeyNumSyms(xkb,i);
-           else {
-               nTotal+= XkbKeyNumGroups(xkb,i)*new_num_lvls;
-               nResize++;
-           }
-       }
-       if (nResize>0) {
-           int nextMatch;
-           xkb->map->size_syms= (nTotal*12)/10;
-           newSyms = _XkbTypedCalloc(xkb->map->size_syms,KeySym);
-           if (newSyms==NULL)
-               return BadAlloc;
-           nextMatch= 0;
-           nSyms= 1;
-           for (i=xkb->min_key_code;i<=xkb->max_key_code;i++) {
-               if (matchingKeys[nextMatch]==i) {
-                   KeySym *pOld;
-                   nextMatch++;
-                   width= XkbKeyGroupsWidth(xkb,i);
-                   pOld= XkbKeySymsPtr(xkb,i);
-                   for (g=XkbKeyNumGroups(xkb,i)-1;g>=0;g--) {
-                       memcpy(&newSyms[nSyms+(new_num_lvls*g)],&pOld[width*g],
-                                                       width*sizeof(KeySym));
-                   }
-                   xkb->map->key_sym_map[i].offset= nSyms;
-                   nSyms+= XkbKeyNumGroups(xkb,i)*new_num_lvls;
-               }
-               else {
-                   memcpy(&newSyms[nSyms],XkbKeySymsPtr(xkb,i),
-                                       XkbKeyNumSyms(xkb,i)*sizeof(KeySym));
-                   xkb->map->key_sym_map[i].offset= nSyms;
-                   nSyms+= XkbKeyNumSyms(xkb,i);
-               }
-           }
-           type->num_levels= new_num_lvls;
-           _XkbFree(xkb->map->syms);
-           xkb->map->syms= newSyms;
-           xkb->map->num_syms= nSyms;
-           return Success;
-       }
-    }
-    else if (new_num_lvls<type->num_levels) {
-       int             width,match;
-       register int    g,i;
-       for (i=xkb->min_key_code;i<=xkb->max_key_code;i++) {
-           width= XkbKeyGroupsWidth(xkb,i);
-           if (width<type->num_levels)
-               continue;
-           for (match=0,g=XkbKeyNumGroups(xkb,i)-1;(g>=0)&&(!match);g--) {
-               if (XkbKeyKeyTypeIndex(xkb,i,g)==type_ndx) {
-                   matchingKeys[nMatchingKeys++]= i;
-                   match= 1;
-               }
-           }
-       }
-    }
-    if (nMatchingKeys>0) {
-       int             key,firstClear;
-       register int    i,g;
-       if (new_num_lvls>type->num_levels)
-            firstClear= type->num_levels;
-       else firstClear= new_num_lvls;
-       for (i=0;i<nMatchingKeys;i++) {
-           KeySym *    pSyms;
-           int         width,nClear;
-
-           key= matchingKeys[i];
-           width= XkbKeyGroupsWidth(xkb,key);
-           nClear= width-firstClear;
-           pSyms= XkbKeySymsPtr(xkb,key);
-           for (g=XkbKeyNumGroups(xkb,key)-1;g>=0;g--) {
-               if (XkbKeyKeyTypeIndex(xkb,key,g)==type_ndx) {
-                   if (nClear>0)
-                       bzero(&pSyms[g*width+firstClear],nClear*sizeof(KeySym));
-               }
-           }
-       }
-    }
-    type->num_levels= new_num_lvls;
+    bzero(matchingKeys, XkbMaxKeyCount * sizeof(KeyCode));
+    nMatchingKeys = 0;
+    if (new_num_lvls > type->num_levels) {
+        int nTotal;
+        KeySym *newSyms;
+        int width, match, nResize;
+        register int i, g, nSyms;
+
+        nResize = 0;
+        for (nTotal = 1, i = xkb->min_key_code; i <= xkb->max_key_code; i++) {
+            width = XkbKeyGroupsWidth(xkb, i);
+            if (width < type->num_levels)
+                continue;
+            for (match = 0, g = XkbKeyNumGroups(xkb, i) - 1;
+                 (g >= 0) && (!match); g--) {
+                if (XkbKeyKeyTypeIndex(xkb, i, g) == type_ndx) {
+                    matchingKeys[nMatchingKeys++] = i;
+                    match = 1;
+                }
+            }
+            if ((!match) || (width >= new_num_lvls))
+                nTotal += XkbKeyNumSyms(xkb, i);
+            else {
+                nTotal += XkbKeyNumGroups(xkb, i) * new_num_lvls;
+                nResize++;
+            }
+        }
+        if (nResize > 0) {
+            int nextMatch;
+
+            xkb->map->size_syms = (nTotal * 12) / 10;
+            newSyms = _XkbTypedCalloc(xkb->map->size_syms, KeySym);
+            if (newSyms == NULL)
+                return BadAlloc;
+            nextMatch = 0;
+            nSyms = 1;
+            for (i = xkb->min_key_code; i <= xkb->max_key_code; i++) {
+                if (matchingKeys[nextMatch] == i) {
+                    KeySym *pOld;
+
+                    nextMatch++;
+                    width = XkbKeyGroupsWidth(xkb, i);
+                    pOld = XkbKeySymsPtr(xkb, i);
+                    for (g = XkbKeyNumGroups(xkb, i) - 1; g >= 0; g--) {
+                        memcpy(&newSyms[nSyms + (new_num_lvls * g)],
+                               &pOld[width * g], width * sizeof(KeySym));
+                    }
+                    xkb->map->key_sym_map[i].offset = nSyms;
+                    nSyms += XkbKeyNumGroups(xkb, i) * new_num_lvls;
+                }
+                else {
+                    memcpy(&newSyms[nSyms], XkbKeySymsPtr(xkb, i),
+                           XkbKeyNumSyms(xkb, i) * sizeof(KeySym));
+                    xkb->map->key_sym_map[i].offset = nSyms;
+                    nSyms += XkbKeyNumSyms(xkb, i);
+                }
+            }
+            type->num_levels = new_num_lvls;
+            _XkbFree(xkb->map->syms);
+            xkb->map->syms = newSyms;
+            xkb->map->num_syms = nSyms;
+            return Success;
+        }
+    }
+    else if (new_num_lvls < type->num_levels) {
+        int width, match;
+        register int g, i;
+
+        for (i = xkb->min_key_code; i <= xkb->max_key_code; i++) {
+            width = XkbKeyGroupsWidth(xkb, i);
+            if (width < type->num_levels)
+                continue;
+            for (match = 0, g = XkbKeyNumGroups(xkb, i) - 1;
+                 (g >= 0) && (!match); g--) {
+                if (XkbKeyKeyTypeIndex(xkb, i, g) == type_ndx) {
+                    matchingKeys[nMatchingKeys++] = i;
+                    match = 1;
+                }
+            }
+        }
+    }
+    if (nMatchingKeys > 0) {
+        int key, firstClear;
+        register int i, g;
+
+        if (new_num_lvls > type->num_levels)
+            firstClear = type->num_levels;
+        else
+            firstClear = new_num_lvls;
+        for (i = 0; i < nMatchingKeys; i++) {
+            KeySym *pSyms;
+            int width, nClear;
+
+            key = matchingKeys[i];
+            width = XkbKeyGroupsWidth(xkb, key);
+            nClear = width - firstClear;
+            pSyms = XkbKeySymsPtr(xkb, key);
+            for (g = XkbKeyNumGroups(xkb, key) - 1; g >= 0; g--) {
+                if (XkbKeyKeyTypeIndex(xkb, key, g) == type_ndx) {
+                    if (nClear > 0)
+                        bzero(&pSyms[g * width + firstClear],
+                              nClear * sizeof(KeySym));
+                }
+            }
+        }
+    }
+    type->num_levels = new_num_lvls;
     return Success;
 }
 
 KeySym *
-XkbResizeKeySyms(XkbDescPtr xkb,int key,int needed)
+XkbResizeKeySyms(XkbDescPtr xkb, int key, int needed)
 {
-register int i,nSyms,nKeySyms;
-unsigned nOldSyms;
-KeySym *newSyms;
-
-    if (needed==0) {
-       xkb->map->key_sym_map[key].offset= 0;
-       return xkb->map->syms;
-    }
-    nOldSyms= XkbKeyNumSyms(xkb,key);
-    if (nOldSyms>=(unsigned)needed) {
-       return XkbKeySymsPtr(xkb,key);
-    }
-    if (xkb->map->size_syms-xkb->map->num_syms>=(unsigned)needed) {
-       if (nOldSyms>0) {
-           memcpy(&xkb->map->syms[xkb->map->num_syms],XkbKeySymsPtr(xkb,key),
-                                               nOldSyms*sizeof(KeySym));
-       }
-       if ((needed-nOldSyms)>0) {
-           bzero(&xkb->map->syms[xkb->map->num_syms+XkbKeyNumSyms(xkb,key)],
-                                       (needed-nOldSyms)*sizeof(KeySym));
-       }
-       xkb->map->key_sym_map[key].offset = xkb->map->num_syms;
-       xkb->map->num_syms+= needed;
-       return &xkb->map->syms[xkb->map->key_sym_map[key].offset];
-    }
-    xkb->map->size_syms+= (needed>32?needed:32);
-    newSyms = _XkbTypedCalloc(xkb->map->size_syms,KeySym);
-    if (newSyms==NULL)
-       return NULL;
-    newSyms[0]= NoSymbol;
+    register int i, nSyms, nKeySyms;
+    unsigned nOldSyms;
+    KeySym *newSyms;
+
+    if (needed == 0) {
+        xkb->map->key_sym_map[key].offset = 0;
+        return xkb->map->syms;
+    }
+    nOldSyms = XkbKeyNumSyms(xkb, key);
+    if (nOldSyms >= (unsigned) needed) {
+        return XkbKeySymsPtr(xkb, key);
+    }
+    if (xkb->map->size_syms - xkb->map->num_syms >= (unsigned) needed) {
+        if (nOldSyms > 0) {
+            memcpy(&xkb->map->syms[xkb->map->num_syms], XkbKeySymsPtr(xkb, key),
+                   nOldSyms * sizeof(KeySym));
+        }
+        if ((needed - nOldSyms) > 0) {
+            bzero(&xkb->map->syms[xkb->map->num_syms + XkbKeyNumSyms(xkb, key)],
+                  (needed - nOldSyms) * sizeof(KeySym));
+        }
+        xkb->map->key_sym_map[key].offset = xkb->map->num_syms;
+        xkb->map->num_syms += needed;
+        return &xkb->map->syms[xkb->map->key_sym_map[key].offset];
+    }
+    xkb->map->size_syms += (needed > 32 ? needed : 32);
+    newSyms = _XkbTypedCalloc(xkb->map->size_syms, KeySym);
+    if (newSyms == NULL)
+        return NULL;
+    newSyms[0] = NoSymbol;
     nSyms = 1;
-    for (i=xkb->min_key_code;i<=(int)xkb->max_key_code;i++) {
-       int nCopy;
-
-       nCopy= nKeySyms= XkbKeyNumSyms(xkb,i);
-       if ((nKeySyms==0)&&(i!=key))
-           continue;
-       if (i==key)
-           nKeySyms= needed;
-       if (nCopy!=0)
-          memcpy(&newSyms[nSyms],XkbKeySymsPtr(xkb,i),nCopy*sizeof(KeySym));
-       if (nKeySyms>nCopy)
-           bzero(&newSyms[nSyms+nCopy],(nKeySyms-nCopy)*sizeof(KeySym));
-       xkb->map->key_sym_map[i].offset = nSyms;
-       nSyms+= nKeySyms;
+    for (i = xkb->min_key_code; i <= (int) xkb->max_key_code; i++) {
+        int nCopy;
+
+        nCopy = nKeySyms = XkbKeyNumSyms(xkb, i);
+        if ((nKeySyms == 0) && (i != key))
+            continue;
+        if (i == key)
+            nKeySyms = needed;
+        if (nCopy != 0)
+            memcpy(&newSyms[nSyms], XkbKeySymsPtr(xkb, i),
+                   nCopy * sizeof(KeySym));
+        if (nKeySyms > nCopy)
+            bzero(&newSyms[nSyms + nCopy], (nKeySyms - nCopy) * sizeof(KeySym));
+        xkb->map->key_sym_map[i].offset = nSyms;
+        nSyms += nKeySyms;
     }
     _XkbFree(xkb->map->syms);
     xkb->map->syms = newSyms;
@@ -616,375 +623,381 @@ KeySym  *newSyms;
 }
 
 static unsigned
-_ExtendRange(  unsigned int    old_flags,
-               unsigned int    flag,
-               KeyCode         newKC,
-               KeyCode *       old_min,
-               unsigned char * old_num)
+_ExtendRange(unsigned int old_flags,
+             unsigned int flag,
+             KeyCode newKC,
+             KeyCode *old_min,
+             unsigned char *old_num)
 {
-    if ((old_flags&flag)==0) {
-       old_flags|= flag;
-       *old_min= newKC;
-       *old_num= 1;
+    if ((old_flags & flag) == 0) {
+        old_flags |= flag;
+        *old_min = newKC;
+        *old_num = 1;
     }
     else {
-       int     last= (*old_min)+(*old_num)-1;
-       if (newKC<*old_min) {
-           *old_min= newKC;
-           *old_num= (last-newKC)+1;
-       }
-       else if (newKC>last) {
-           *old_num= (newKC-(*old_min))+1;
-       }
+        int last = (*old_min) + (*old_num) - 1;
+
+        if (newKC < *old_min) {
+            *old_min = newKC;
+            *old_num = (last - newKC) + 1;
+        }
+        else if (newKC > last) {
+            *old_num = (newKC - (*old_min)) + 1;
+        }
     }
     return old_flags;
 }
 
 Status
-XkbChangeKeycodeRange( XkbDescPtr      xkb,
-                       int             minKC,
-                       int             maxKC,
-                       XkbChangesPtr   changes)
+XkbChangeKeycodeRange(XkbDescPtr xkb,
+                      int minKC,
+                      int maxKC,
+                      XkbChangesPtr changes)
 {
-int    tmp;
-
-    if ((!xkb)||(minKC<XkbMinLegalKeyCode)||(maxKC>XkbMaxLegalKeyCode))
-       return BadValue;
-    if (minKC>maxKC)
-       return BadMatch;
-    if (minKC<xkb->min_key_code) {
-       if (changes)
-           changes->map.min_key_code= minKC;
-       tmp= xkb->min_key_code-minKC;
-       if (xkb->map)  {
-           if (xkb->map->key_sym_map) {
-               bzero((char *)&xkb->map->key_sym_map[minKC],
-                                       tmp*sizeof(XkbSymMapRec));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                               XkbKeySymsMask,minKC,
-                                               &changes->map.first_key_sym,
-                                               &changes->map.num_key_syms);
-               }
-           }
-           if (xkb->map->modmap) {
-               bzero((char *)&xkb->map->modmap[minKC],tmp);
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                               XkbModifierMapMask,minKC,
-                                               &changes->map.first_modmap_key,
-                                               &changes->map.num_modmap_keys);
-               }
-           }
-       }
-       if (xkb->server) {
-           if (xkb->server->behaviors) {
-               bzero((char *)&xkb->server->behaviors[minKC],
-                                               tmp*sizeof(XkbBehavior));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbKeyBehaviorsMask,minKC,
-                                       &changes->map.first_key_behavior,
-                                       &changes->map.num_key_behaviors);
-               }
-           }
-           if (xkb->server->key_acts) {
-               bzero((char *)&xkb->server->key_acts[minKC],
-                                               tmp*sizeof(unsigned short));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbKeyActionsMask,minKC,
-                                       &changes->map.first_key_act,
-                                       &changes->map.num_key_acts);
-               }
-           }
-           if (xkb->server->vmodmap) {
-               bzero((char *)&xkb->server->vmodmap[minKC],
-                                               tmp*sizeof(unsigned short));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbVirtualModMapMask,minKC,
-                                       &changes->map.first_modmap_key,
-                                       &changes->map.num_vmodmap_keys);
-               }
-           }
-       }
-       if ((xkb->names)&&(xkb->names->keys)) {
-           bzero((char *)&xkb->names->keys[minKC],tmp*sizeof(XkbKeyNameRec));
-           if (changes) {
-               changes->names.changed= _ExtendRange(changes->names.changed,
-                                       XkbKeyNamesMask,minKC,
-                                       &changes->names.first_key,
-                                       &changes->names.num_keys);
-           }
-       }
-       xkb->min_key_code= minKC;
-    }
-    if (maxKC>xkb->max_key_code) {
-       if (changes)
-           changes->map.max_key_code= maxKC;
-       tmp= maxKC-xkb->max_key_code;
-       if (xkb->map)  {
-           if (xkb->map->key_sym_map) {
-               XkbSymMapRec *prev_key_sym_map = xkb->map->key_sym_map;
-
-               xkb->map->key_sym_map= _XkbTypedRealloc(xkb->map->key_sym_map,
-                                               (maxKC+1),XkbSymMapRec);
-               if (!xkb->map->key_sym_map) {
-                   _XkbFree(prev_key_sym_map);
-                   return BadAlloc;
-               }
-               bzero((char *)&xkb->map->key_sym_map[xkb->max_key_code],
-                                       tmp*sizeof(XkbSymMapRec));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                               XkbKeySymsMask,maxKC,
-                                               &changes->map.first_key_sym,
-                                               &changes->map.num_key_syms);
-               }
-           }
-           if (xkb->map->modmap) {
-               unsigned char *prev_modmap = xkb->map->modmap;
-
-               xkb->map->modmap= _XkbTypedRealloc(xkb->map->modmap,
-                                               (maxKC+1),unsigned char);
-               if (!xkb->map->modmap) {
-                   _XkbFree(prev_modmap);
-                   return BadAlloc;
-               }
-               bzero((char *)&xkb->map->modmap[xkb->max_key_code],tmp);
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                               XkbModifierMapMask,maxKC,
-                                               &changes->map.first_modmap_key,
-                                               &changes->map.num_modmap_keys);
-               }
-           }
-       }
-       if (xkb->server) {
-           if (xkb->server->behaviors) {
-               XkbBehavior *prev_behaviors = xkb->server->behaviors;
-
-               xkb->server->behaviors=_XkbTypedRealloc(xkb->server->behaviors,
-                                               (maxKC+1),XkbBehavior);
-               if (!xkb->server->behaviors) {
-                   _XkbFree(prev_behaviors);
-                   return BadAlloc;
-               }
-               bzero((char *)&xkb->server->behaviors[xkb->max_key_code],
-                                               tmp*sizeof(XkbBehavior));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbKeyBehaviorsMask,maxKC,
-                                       &changes->map.first_key_behavior,
-                                       &changes->map.num_key_behaviors);
-               }
-           }
-           if (xkb->server->key_acts) {
-               unsigned short *prev_key_acts = xkb->server->key_acts;
-
-               xkb->server->key_acts= _XkbTypedRealloc(xkb->server->key_acts,
-                                               (maxKC+1),unsigned short);
-               if (!xkb->server->key_acts) {
-                   _XkbFree(prev_key_acts);
-                   return BadAlloc;
-               }
-               bzero((char *)&xkb->server->key_acts[xkb->max_key_code],
-                                               tmp*sizeof(unsigned short));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbKeyActionsMask,maxKC,
-                                       &changes->map.first_key_act,
-                                       &changes->map.num_key_acts);
-               }
-           }
-           if (xkb->server->vmodmap) {
-               unsigned short *prev_vmodmap = xkb->server->vmodmap;
-
-               xkb->server->vmodmap= _XkbTypedRealloc(xkb->server->vmodmap,
-                                               (maxKC+1),unsigned short);
-               if (!xkb->server->vmodmap) {
-                   _XkbFree(prev_vmodmap);
-                   return BadAlloc;
-               }
-               bzero((char *)&xkb->server->vmodmap[xkb->max_key_code],
-                                               tmp*sizeof(unsigned short));
-               if (changes) {
-                   changes->map.changed= _ExtendRange(changes->map.changed,
-                                       XkbVirtualModMapMask,maxKC,
-                                       &changes->map.first_modmap_key,
-                                       &changes->map.num_vmodmap_keys);
-               }
-           }
-       }
-       if ((xkb->names)&&(xkb->names->keys)) {
-           XkbKeyNameRec *prev_keys = xkb->names->keys;
-
-           xkb->names->keys= _XkbTypedRealloc(xkb->names->keys,
-                                               (maxKC+1),XkbKeyNameRec);
-           if (!xkb->names->keys) {
-               _XkbFree(prev_keys);
-               return BadAlloc;
-           }
-           bzero((char *)&xkb->names->keys[xkb->max_key_code],
-                                               tmp*sizeof(XkbKeyNameRec));
-           if (changes) {
-               changes->names.changed= _ExtendRange(changes->names.changed,
-                                       XkbKeyNamesMask,maxKC,
-                                       &changes->names.first_key,
-                                       &changes->names.num_keys);
-           }
-       }
-       xkb->max_key_code= maxKC;
+    int tmp;
+
+    if ((!xkb) || (minKC < XkbMinLegalKeyCode) || (maxKC > XkbMaxLegalKeyCode))
+        return BadValue;
+    if (minKC > maxKC)
+        return BadMatch;
+    if (minKC < xkb->min_key_code) {
+        if (changes)
+            changes->map.min_key_code = minKC;
+        tmp = xkb->min_key_code - minKC;
+        if (xkb->map) {
+            if (xkb->map->key_sym_map) {
+                bzero((char *) &xkb->map->key_sym_map[minKC],
+                      tmp * sizeof(XkbSymMapRec));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbKeySymsMask, minKC,
+                                                &changes->map.first_key_sym,
+                                                &changes->map.num_key_syms);
+                }
+            }
+            if (xkb->map->modmap) {
+                bzero((char *) &xkb->map->modmap[minKC], tmp);
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbModifierMapMask, minKC,
+                                                &changes->map.first_modmap_key,
+                                                &changes->map.num_modmap_keys);
+                }
+            }
+        }
+        if (xkb->server) {
+            if (xkb->server->behaviors) {
+                bzero((char *) &xkb->server->behaviors[minKC],
+                      tmp * sizeof(XkbBehavior));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                              XkbKeyBehaviorsMask, minKC,
+                                              &changes->map.first_key_behavior,
+                                              &changes->map.num_key_behaviors);
+                }
+            }
+            if (xkb->server->key_acts) {
+                bzero((char *) &xkb->server->key_acts[minKC],
+                      tmp * sizeof(unsigned short));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbKeyActionsMask, minKC,
+                                                &changes->map.first_key_act,
+                                                &changes->map.num_key_acts);
+                }
+            }
+            if (xkb->server->vmodmap) {
+                bzero((char *) &xkb->server->vmodmap[minKC],
+                      tmp * sizeof(unsigned short));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbVirtualModMapMask, minKC,
+                                                &changes->map.first_modmap_key,
+                                                &changes->map.num_vmodmap_keys);
+                }
+            }
+        }
+        if ((xkb->names) && (xkb->names->keys)) {
+            bzero((char *) &xkb->names->keys[minKC],
+                  tmp * sizeof(XkbKeyNameRec));
+            if (changes) {
+                changes->names.changed = _ExtendRange(changes->names.changed,
+                                                      XkbKeyNamesMask, minKC,
+                                                      &changes->names.first_key,
+                                                      &changes->names.num_keys);
+            }
+        }
+        xkb->min_key_code = minKC;
+    }
+    if (maxKC > xkb->max_key_code) {
+        if (changes)
+            changes->map.max_key_code = maxKC;
+        tmp = maxKC - xkb->max_key_code;
+        if (xkb->map) {
+            if (xkb->map->key_sym_map) {
+                XkbSymMapRec *prev_key_sym_map = xkb->map->key_sym_map;
+
+                xkb->map->key_sym_map = _XkbTypedRealloc(xkb->map->key_sym_map,
+                                                    (maxKC + 1), XkbSymMapRec);
+                if (!xkb->map->key_sym_map) {
+                    _XkbFree(prev_key_sym_map);
+                    return BadAlloc;
+                }
+                bzero((char *) &xkb->map->key_sym_map[xkb->max_key_code],
+                      tmp * sizeof(XkbSymMapRec));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbKeySymsMask, maxKC,
+                                                &changes->map.first_key_sym,
+                                                &changes->map.num_key_syms);
+                }
+            }
+            if (xkb->map->modmap) {
+                unsigned char *prev_modmap = xkb->map->modmap;
+
+                xkb->map->modmap = _XkbTypedRealloc(xkb->map->modmap,
+                                                    (maxKC + 1), unsigned char);
+                if (!xkb->map->modmap) {
+                    _XkbFree(prev_modmap);
+                    return BadAlloc;
+                }
+                bzero((char *) &xkb->map->modmap[xkb->max_key_code], tmp);
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbModifierMapMask, maxKC,
+                                                &changes->map.first_modmap_key,
+                                                &changes->map.num_modmap_keys);
+                }
+            }
+        }
+        if (xkb->server) {
+            if (xkb->server->behaviors) {
+                XkbBehavior *prev_behaviors = xkb->server->behaviors;
+
+                xkb->server->behaviors =
+                    _XkbTypedRealloc(xkb->server->behaviors, (maxKC + 1),
+                                     XkbBehavior);
+                if (!xkb->server->behaviors) {
+                    _XkbFree(prev_behaviors);
+                    return BadAlloc;
+                }
+                bzero((char *) &xkb->server->behaviors[xkb->max_key_code],
+                      tmp * sizeof(XkbBehavior));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbKeyBehaviorsMask, maxKC,
+                                                &changes->map.first_key_behavior,
+                                                &changes->map.num_key_behaviors);
+                }
+            }
+            if (xkb->server->key_acts) {
+                unsigned short *prev_key_acts = xkb->server->key_acts;
+
+                xkb->server->key_acts = _XkbTypedRealloc(xkb->server->key_acts,
+                                                (maxKC + 1), unsigned short);
+                if (!xkb->server->key_acts) {
+                    _XkbFree(prev_key_acts);
+                    return BadAlloc;
+                }
+                bzero((char *) &xkb->server->key_acts[xkb->max_key_code],
+                      tmp * sizeof(unsigned short));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbKeyActionsMask, maxKC,
+                                                &changes->map.first_key_act,
+                                                &changes->map.num_key_acts);
+                }
+            }
+            if (xkb->server->vmodmap) {
+                unsigned short *prev_vmodmap = xkb->server->vmodmap;
+
+                xkb->server->vmodmap = _XkbTypedRealloc(xkb->server->vmodmap,
+                                                (maxKC + 1), unsigned short);
+                if (!xkb->server->vmodmap) {
+                    _XkbFree(prev_vmodmap);
+                    return BadAlloc;
+                }
+                bzero((char *) &xkb->server->vmodmap[xkb->max_key_code],
+                      tmp * sizeof(unsigned short));
+                if (changes) {
+                    changes->map.changed = _ExtendRange(changes->map.changed,
+                                                XkbVirtualModMapMask, maxKC,
+                                                &changes->map.first_modmap_key,
+                                                &changes->map.num_vmodmap_keys);
+                }
+            }
+        }
+        if ((xkb->names) && (xkb->names->keys)) {
+            XkbKeyNameRec *prev_keys = xkb->names->keys;
+
+            xkb->names->keys = _XkbTypedRealloc(xkb->names->keys,
+                                                (maxKC + 1), XkbKeyNameRec);
+            if (!xkb->names->keys) {
+                _XkbFree(prev_keys);
+                return BadAlloc;
+            }
+            bzero((char *) &xkb->names->keys[xkb->max_key_code],
+                  tmp * sizeof(XkbKeyNameRec));
+            if (changes) {
+                changes->names.changed = _ExtendRange(changes->names.changed,
+                                                      XkbKeyNamesMask, maxKC,
+                                                      &changes->names.first_key,
+                                                      &changes->names.num_keys);
+            }
+        }
+        xkb->max_key_code = maxKC;
     }
     return Success;
 }
 
 XkbAction *
-XkbResizeKeyActions(XkbDescPtr xkb,int key,int needed)
+XkbResizeKeyActions(XkbDescPtr xkb, int key, int needed)
 {
-register int i,nActs;
-XkbAction *newActs;
-
-    if (needed==0) {
-       xkb->server->key_acts[key]= 0;
-       return NULL;
-    }
-    if (XkbKeyHasActions(xkb,key)&&(XkbKeyNumSyms(xkb,key)>=(unsigned)needed))
-       return XkbKeyActionsPtr(xkb,key);
-    if (xkb->server->size_acts-xkb->server->num_acts>=(unsigned)needed) {
-       xkb->server->key_acts[key]= xkb->server->num_acts;
-       xkb->server->num_acts+= needed;
-       return &xkb->server->acts[xkb->server->key_acts[key]];
-    }
-    xkb->server->size_acts= xkb->server->num_acts+needed+8;
-    newActs = _XkbTypedCalloc(xkb->server->size_acts,XkbAction);
-    if (newActs==NULL)
-       return NULL;
+    register int i, nActs;
+    XkbAction *newActs;
+
+    if (needed == 0) {
+        xkb->server->key_acts[key] = 0;
+        return NULL;
+    }
+    if (XkbKeyHasActions(xkb, key) &&
+        (XkbKeyNumSyms(xkb, key) >= (unsigned) needed))
+        return XkbKeyActionsPtr(xkb, key);
+    if (xkb->server->size_acts - xkb->server->num_acts >= (unsigned) needed) {
+        xkb->server->key_acts[key] = xkb->server->num_acts;
+        xkb->server->num_acts += needed;
+        return &xkb->server->acts[xkb->server->key_acts[key]];
+    }
+    xkb->server->size_acts = xkb->server->num_acts + needed + 8;
+    newActs = _XkbTypedCalloc(xkb->server->size_acts, XkbAction);
+    if (newActs == NULL)
+        return NULL;
     newActs[0].type = XkbSA_NoAction;
     nActs = 1;
-    for (i=xkb->min_key_code;i<=(int)xkb->max_key_code;i++) {
-       int nKeyActs,nCopy;
-
-       if ((xkb->server->key_acts[i]==0)&&(i!=key))
-           continue;
-
-       nCopy= nKeyActs= XkbKeyNumActions(xkb,i);
-       if (i==key) {
-           nKeyActs= needed;
-           if (needed<nCopy)
-               nCopy= needed;
-       }
-
-       if (nCopy>0)
-           memcpy(&newActs[nActs],XkbKeyActionsPtr(xkb,i),
-                                               nCopy*sizeof(XkbAction));
-       if (nCopy<nKeyActs)
-           bzero(&newActs[nActs+nCopy],(nKeyActs-nCopy)*sizeof(XkbAction));
-       xkb->server->key_acts[i]= nActs;
-       nActs+= nKeyActs;
+    for (i = xkb->min_key_code; i <= (int) xkb->max_key_code; i++) {
+        int nKeyActs, nCopy;
+
+        if ((xkb->server->key_acts[i] == 0) && (i != key))
+            continue;
+
+        nCopy = nKeyActs = XkbKeyNumActions(xkb, i);
+        if (i == key) {
+            nKeyActs = needed;
+            if (needed < nCopy)
+                nCopy = needed;
+        }
+
+        if (nCopy > 0)
+            memcpy(&newActs[nActs], XkbKeyActionsPtr(xkb, i),
+                   nCopy * sizeof(XkbAction));
+        if (nCopy < nKeyActs)
+            bzero(&newActs[nActs + nCopy],
+                  (nKeyActs - nCopy) * sizeof(XkbAction));
+        xkb->server->key_acts[i] = nActs;
+        nActs += nKeyActs;
     }
     _XkbFree(xkb->server->acts);
     xkb->server->acts = newActs;
-    xkb->server->num_acts= nActs;
+    xkb->server->num_acts = nActs;
     return &xkb->server->acts[xkb->server->key_acts[key]];
 }
 
 void
-XkbFreeClientMap(XkbDescPtr xkb,unsigned what,Bool freeMap)
+XkbFreeClientMap(XkbDescPtr xkb, unsigned what, Bool freeMap)
 {
-XkbClientMapPtr        map;
+    XkbClientMapPtr map;
 
-    if ((xkb==NULL)||(xkb->map==NULL))
-       return;
+    if ((xkb == NULL) || (xkb->map == NULL))
+        return;
     if (freeMap)
-       what= XkbAllClientInfoMask;
-    map= xkb->map;
-    if (what&XkbKeyTypesMask) {
-       if (map->types!=NULL) {
-           if (map->num_types>0) {
-               register int    i;
-               XkbKeyTypePtr   type;
-               for (i=0,type=map->types;i<map->num_types;i++,type++) {
-                   if (type->map!=NULL) {
-                       _XkbFree(type->map);
-                       type->map= NULL;
-                   }
-                   if (type->preserve!=NULL) {
-                       _XkbFree(type->preserve);
-                       type->preserve= NULL;
-                   }
-                   type->map_count= 0;
-                   if (type->level_names!=NULL) {
-                       _XkbFree(type->level_names);
-                       type->level_names= NULL;
-                   }
-               }
-           }
-           _XkbFree(map->types);
-           map->num_types= map->size_types= 0;
-           map->types= NULL;
-       }
-    }
-    if (what&XkbKeySymsMask) {
-       if (map->key_sym_map!=NULL) {
-           _XkbFree(map->key_sym_map);
-           map->key_sym_map= NULL;
-       }
-       if (map->syms!=NULL) {
-           _XkbFree(map->syms);
-           map->size_syms= map->num_syms= 0;
-           map->syms= NULL;
-       }
-    }
-    if ((what&XkbModifierMapMask)&&(map->modmap!=NULL)) {
-       _XkbFree(map->modmap);
-       map->modmap= NULL;
+        what = XkbAllClientInfoMask;
+    map = xkb->map;
+    if (what & XkbKeyTypesMask) {
+        if (map->types != NULL) {
+            if (map->num_types > 0) {
+                register int i;
+                XkbKeyTypePtr type;
+
+                for (i = 0, type = map->types; i < map->num_types; i++, type++) {
+                    if (type->map != NULL) {
+                        _XkbFree(type->map);
+                        type->map = NULL;
+                    }
+                    if (type->preserve != NULL) {
+                        _XkbFree(type->preserve);
+                        type->preserve = NULL;
+                    }
+                    type->map_count = 0;
+                    if (type->level_names != NULL) {
+                        _XkbFree(type->level_names);
+                        type->level_names = NULL;
+                    }
+                }
+            }
+            _XkbFree(map->types);
+            map->num_types = map->size_types = 0;
+            map->types = NULL;
+        }
+    }
+    if (what & XkbKeySymsMask) {
+        if (map->key_sym_map != NULL) {
+            _XkbFree(map->key_sym_map);
+            map->key_sym_map = NULL;
+        }
+        if (map->syms != NULL) {
+            _XkbFree(map->syms);
+            map->size_syms = map->num_syms = 0;
+            map->syms = NULL;
+        }
+    }
+    if ((what & XkbModifierMapMask) && (map->modmap != NULL)) {
+        _XkbFree(map->modmap);
+        map->modmap = NULL;
     }
     if (freeMap) {
-       _XkbFree(xkb->map);
-       xkb->map= NULL;
+        _XkbFree(xkb->map);
+        xkb->map = NULL;
     }
     return;
 }
 
 void
-XkbFreeServerMap(XkbDescPtr xkb,unsigned what,Bool freeMap)
+XkbFreeServerMap(XkbDescPtr xkb, unsigned what, Bool freeMap)
 {
-XkbServerMapPtr        map;
+    XkbServerMapPtr map;
 
-    if ((xkb==NULL)||(xkb->server==NULL))
-       return;
+    if ((xkb == NULL) || (xkb->server == NULL))
+        return;
     if (freeMap)
-       what= XkbAllServerInfoMask;
-    map= xkb->server;
-    if ((what&XkbExplicitComponentsMask)&&(map->explicit!=NULL)) {
-       _XkbFree(map->explicit);
-       map->explicit= NULL;
-    }
-    if (what&XkbKeyActionsMask) {
-       if (map->key_acts!=NULL) {
-           _XkbFree(map->key_acts);
-           map->key_acts= NULL;
-       }
-       if (map->acts!=NULL) {
-           _XkbFree(map->acts);
-           map->num_acts= map->size_acts= 0;
-           map->acts= NULL;
-       }
-    }
-    if ((what&XkbKeyBehaviorsMask)&&(map->behaviors!=NULL)) {
-       _XkbFree(map->behaviors);
-       map->behaviors= NULL;
-    }
-    if ((what&XkbVirtualModMapMask)&&(map->vmodmap!=NULL)) {
-       _XkbFree(map->vmodmap);
-       map->vmodmap= NULL;
+        what = XkbAllServerInfoMask;
+    map = xkb->server;
+    if ((what & XkbExplicitComponentsMask) && (map->explicit != NULL)) {
+        _XkbFree(map->explicit);
+        map->explicit = NULL;
+    }
+    if (what & XkbKeyActionsMask) {
+        if (map->key_acts != NULL) {
+            _XkbFree(map->key_acts);
+            map->key_acts = NULL;
+        }
+        if (map->acts != NULL) {
+            _XkbFree(map->acts);
+            map->num_acts = map->size_acts = 0;
+            map->acts = NULL;
+        }
+    }
+    if ((what & XkbKeyBehaviorsMask) && (map->behaviors != NULL)) {
+        _XkbFree(map->behaviors);
+        map->behaviors = NULL;
+    }
+    if ((what & XkbVirtualModMapMask) && (map->vmodmap != NULL)) {
+        _XkbFree(map->vmodmap);
+        map->vmodmap = NULL;
     }
 
     if (freeMap) {
-       _XkbFree(xkb->server);
-       xkb->server= NULL;
+        _XkbFree(xkb->server);
+        xkb->server = NULL;
     }
     return;
 }
index 4aa1f73..a6c916c 100644 (file)
@@ -24,13 +24,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ********************************************************/
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#elif defined(HAVE_CONFIG_H)
+#ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-#ifndef XKB_IN_SERVER
 
 #include <stdio.h>
 #include "Xlibint.h"
@@ -38,110 +35,101 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/keysym.h>
 #include "XKBlibint.h"
 
-#else
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/Xproto.h>
-#include "misc.h"
-#include "inputstr.h"
-#include <X11/keysym.h>
-#define        XKBSRV_NEED_FILE_FUNCS
-#include <X11/extensions/XKBsrv.h>
-
-#endif /* XKB_IN_SERVER */
 
 /***====================================================================***/
 
 #define        mapSize(m)      (sizeof(m)/sizeof(XkbKTMapEntryRec))
-static  XkbKTMapEntryRec map2Level[]= {
-  { True, ShiftMask, {1, ShiftMask, 0} }
+static XkbKTMapEntryRec map2Level[] = {
+    { True, ShiftMask, {1, ShiftMask, 0} }
 };
 
-static  XkbKTMapEntryRec mapAlpha[]= {
-  { True, ShiftMask, { 1, ShiftMask, 0 } },
-  { True, LockMask,  { 0,  LockMask, 0 } }
+static XkbKTMapEntryRec mapAlpha[] = {
+    { True, ShiftMask, {1, ShiftMask, 0} },
+    { True, LockMask, {0, LockMask, 0} }
 };
 
-static XkbModsRec preAlpha[]= {
-       {        0,        0, 0 },
-       { LockMask, LockMask, 0 }
+static XkbModsRec preAlpha[] = {
+    {        0,        0, 0 },
+    { LockMask, LockMask, 0 }
 };
 
 #define        NL_VMOD_MASK    0
-static  XkbKTMapEntryRec mapKeypad[]= {
-       { True, ShiftMask, { 1, ShiftMask,            0 } },
-       { False,        0, { 1,         0, NL_VMOD_MASK } }
+static XkbKTMapEntryRec mapKeypad[] = {
+    { True, ShiftMask, { 1, ShiftMask,            0 } },
+    { False,        0, { 1,         0, NL_VMOD_MASK } }
 };
 
-static XkbKeyTypeRec   canonicalTypes[XkbNumRequiredTypes] = {
-       { { 0, 0, 0 },
-         1,    /* num_levels */
-         0,    /* map_count */
-         NULL,         NULL,
-         None,         NULL
-       },
-       { { ShiftMask, ShiftMask, 0 },
-         2,    /* num_levels */
-         mapSize(map2Level),   /* map_count */
-         map2Level,    NULL,
-         None,         NULL
-       },
-       { { ShiftMask|LockMask, ShiftMask|LockMask, 0 },
-         2,                            /* num_levels */
-         mapSize(mapAlpha),            /* map_count */
-         mapAlpha,     preAlpha,
-         None,         NULL
-       },
-       { { ShiftMask, ShiftMask, NL_VMOD_MASK },
-         2,                            /* num_levels */
-         mapSize(mapKeypad),           /* map_count */
-         mapKeypad,    NULL,
-         None,         NULL
-       }
+static XkbKeyTypeRec canonicalTypes[XkbNumRequiredTypes] = {
+    { { 0, 0, 0 },
+      1,                             /* num_levels */
+      0,                             /* map_count */
+      NULL,         NULL,
+      None,         NULL
+    },
+    { { ShiftMask, ShiftMask, 0 },
+      2,                             /* num_levels */
+      mapSize(map2Level),            /* map_count */
+      map2Level,    NULL,
+      None,         NULL
+    },
+    { { ShiftMask|LockMask, ShiftMask|LockMask, 0 },
+      2,                            /* num_levels */
+      mapSize(mapAlpha),            /* map_count */
+      mapAlpha,     preAlpha,
+      None,         NULL
+    },
+    { { ShiftMask, ShiftMask, NL_VMOD_MASK },
+      2,                            /* num_levels */
+      mapSize(mapKeypad),           /* map_count */
+      mapKeypad,    NULL,
+      None,         NULL
+    }
 };
 
 Status
-XkbInitCanonicalKeyTypes(XkbDescPtr xkb,unsigned which,int keypadVMod)
+XkbInitCanonicalKeyTypes(XkbDescPtr xkb, unsigned which, int keypadVMod)
 {
-XkbClientMapPtr        map;
-XkbKeyTypePtr  from,to;
-Status         rtrn;
+    XkbClientMapPtr map;
+    XkbKeyTypePtr from, to;
+    Status rtrn;
 
     if (!xkb)
-       return BadMatch;
-    rtrn= XkbAllocClientMap(xkb,XkbKeyTypesMask,XkbNumRequiredTypes);
-    if (rtrn!=Success)
-       return rtrn;
-    map= xkb->map;
-    if ((which&XkbAllRequiredTypes)==0)
-       return Success;
-    rtrn= Success;
-    from= canonicalTypes;
-    to= map->types;
-    if (which&XkbOneLevelMask)
-       rtrn= XkbCopyKeyType(&from[XkbOneLevelIndex],&to[XkbOneLevelIndex]);
-    if ((which&XkbTwoLevelMask)&&(rtrn==Success))
-       rtrn= XkbCopyKeyType(&from[XkbTwoLevelIndex],&to[XkbTwoLevelIndex]);
-    if ((which&XkbAlphabeticMask)&&(rtrn==Success))
-       rtrn= XkbCopyKeyType(&from[XkbAlphabeticIndex],&to[XkbAlphabeticIndex]);
-    if ((which&XkbKeypadMask)&&(rtrn==Success)) {
-       XkbKeyTypePtr type;
-       rtrn= XkbCopyKeyType(&from[XkbKeypadIndex],&to[XkbKeypadIndex]);
-       type= &to[XkbKeypadIndex];
-       if ((keypadVMod>=0)&&(keypadVMod<XkbNumVirtualMods)&&(rtrn==Success)) {
-           type->mods.vmods= (1<<keypadVMod);
-           type->map[0].active= True;
-           type->map[0].mods.mask= ShiftMask;
-           type->map[0].mods.real_mods= ShiftMask;
-           type->map[0].mods.vmods= 0;
-           type->map[0].level= 1;
-           type->map[1].active= False;
-           type->map[1].mods.mask= 0;
-           type->map[1].mods.real_mods= 0;
-           type->map[1].mods.vmods= (1<<keypadVMod);
-           type->map[1].level= 1;
-       }
+        return BadMatch;
+    rtrn = XkbAllocClientMap(xkb, XkbKeyTypesMask, XkbNumRequiredTypes);
+    if (rtrn != Success)
+        return rtrn;
+    map = xkb->map;
+    if ((which & XkbAllRequiredTypes) == 0)
+        return Success;
+    rtrn = Success;
+    from = canonicalTypes;
+    to = map->types;
+    if (which & XkbOneLevelMask)
+        rtrn = XkbCopyKeyType(&from[XkbOneLevelIndex], &to[XkbOneLevelIndex]);
+    if ((which & XkbTwoLevelMask) && (rtrn == Success))
+        rtrn = XkbCopyKeyType(&from[XkbTwoLevelIndex], &to[XkbTwoLevelIndex]);
+    if ((which & XkbAlphabeticMask) && (rtrn == Success))
+        rtrn =
+            XkbCopyKeyType(&from[XkbAlphabeticIndex], &to[XkbAlphabeticIndex]);
+    if ((which & XkbKeypadMask) && (rtrn == Success)) {
+        XkbKeyTypePtr type;
+
+        rtrn = XkbCopyKeyType(&from[XkbKeypadIndex], &to[XkbKeypadIndex]);
+        type = &to[XkbKeypadIndex];
+        if ((keypadVMod >= 0) && (keypadVMod < XkbNumVirtualMods) &&
+            (rtrn == Success)) {
+            type->mods.vmods = (1 << keypadVMod);
+            type->map[0].active = True;
+            type->map[0].mods.mask = ShiftMask;
+            type->map[0].mods.real_mods = ShiftMask;
+            type->map[0].mods.vmods = 0;
+            type->map[0].level = 1;
+            type->map[1].active = False;
+            type->map[1].mods.mask = 0;
+            type->map[1].mods.real_mods = 0;
+            type->map[1].mods.vmods = (1 << keypadVMod);
+            type->map[1].level = 1;
+        }
     }
     return Success;
 }
@@ -152,264 +140,283 @@ Status          rtrn;
 #define        XKB_OFFSET(g,l) (((g)*groupsWidth)+(l))
 
 int
-XkbKeyTypesForCoreSymbols(     XkbDescPtr      xkb,
-                               int             map_width,
-                               KeySym *        core_syms,
-                               unsigned int    protected,
-                               int *           types_inout,
-                               KeySym *        xkb_syms_rtrn)
+XkbKeyTypesForCoreSymbols(XkbDescPtr xkb,
+                          int map_width,
+                          KeySym *core_syms,
+                          unsigned int protected,
+                          int *types_inout,
+                          KeySym *xkb_syms_rtrn)
 {
-register int   i;
-unsigned int   empty;
-int            nSyms[XkbNumKbdGroups];
-int            nGroups,tmp,groupsWidth;
+    register int i;
+    unsigned int empty;
+    int nSyms[XkbNumKbdGroups];
+    int nGroups, tmp, groupsWidth;
 
     /* Section 12.2 of the protocol describes this process in more detail */
     /* Step 1:  find the # of symbols in the core mapping per group */
-    groupsWidth= 2;
-    for (i=0;i<XkbNumKbdGroups;i++) {
-       if ((protected&(1<<i))&&(types_inout[i]<xkb->map->num_types)) {
-           nSyms[i]= xkb->map->types[types_inout[i]].num_levels;
-           if (nSyms[i]>groupsWidth)
-               groupsWidth= nSyms[i];
-       }
-       else {
-           types_inout[i]= XkbTwoLevelIndex;   /* don't really know, yet */
-           nSyms[i]= 2;
-       }
-    }
-    if (nSyms[XkbGroup1Index]<2)
-       nSyms[XkbGroup1Index]= 2;
-    if (nSyms[XkbGroup2Index]<2)
-       nSyms[XkbGroup2Index]= 2;
-    /* Step 2: Copy the symbols from the core ordering to XKB ordering */
-    /*         symbols in the core are in the order:                   */
-    /*         G1L1 G1L2 G2L1 G2L2 [G1L[3-n]] [G2L[3-n]] [G3L*] [G3L*] */
-    xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index,0)]= CORE_SYM(0);
-    xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index,1)]= CORE_SYM(1);
-    for (i=2;i<nSyms[XkbGroup1Index];i++) {
-       xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index,i)]= CORE_SYM(2+i);
-    }
-    xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index,0)]= CORE_SYM(2);
-    xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index,1)]= CORE_SYM(3);
-    tmp= 2+(nSyms[XkbGroup1Index]-2); /* offset to extra group2 syms */
-    for (i=2;i<nSyms[XkbGroup2Index];i++) {
-       xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index,i)]= CORE_SYM(tmp+i);
-    }
-    tmp= nSyms[XkbGroup1Index]+nSyms[XkbGroup2Index];
-    if ((tmp>=map_width)&&
-        ((protected&(XkbExplicitKeyType3Mask|XkbExplicitKeyType4Mask))==0)) {
-       nSyms[XkbGroup3Index]= 0;
-       nSyms[XkbGroup4Index]= 0;
-       nGroups= 2;
+    groupsWidth = 2;
+    for (i = 0; i < XkbNumKbdGroups; i++) {
+        if ((protected & (1 << i)) && (types_inout[i] < xkb->map->num_types)) {
+            nSyms[i] = xkb->map->types[types_inout[i]].num_levels;
+            if (nSyms[i] > groupsWidth)
+                groupsWidth = nSyms[i];
+        }
+        else {
+            types_inout[i] = XkbTwoLevelIndex;  /* don't really know, yet */
+            nSyms[i] = 2;
+        }
+    }
+    if (nSyms[XkbGroup1Index] < 2)
+        nSyms[XkbGroup1Index] = 2;
+    if (nSyms[XkbGroup2Index] < 2)
+        nSyms[XkbGroup2Index] = 2;
+    /* Step 2:  Copy the symbols from the core ordering to XKB ordering */
+    /*          symbols in the core are in the order:                   */
+    /*          G1L1 G1L2 G2L1 G2L2 [G1L[3-n]] [G2L[3-n]] [G3L*] [G3L*] */
+    xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index, 0)] = CORE_SYM(0);
+    xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index, 1)] = CORE_SYM(1);
+    for (i = 2; i < nSyms[XkbGroup1Index]; i++) {
+        xkb_syms_rtrn[XKB_OFFSET(XkbGroup1Index, i)] = CORE_SYM(2 + i);
+    }
+    xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index, 0)] = CORE_SYM(2);
+    xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index, 1)] = CORE_SYM(3);
+    tmp = 2 + (nSyms[XkbGroup1Index] - 2);      /* offset to extra group2 syms */
+    for (i = 2; i < nSyms[XkbGroup2Index]; i++) {
+        xkb_syms_rtrn[XKB_OFFSET(XkbGroup2Index, i)] = CORE_SYM(tmp + i);
+    }
+    tmp = nSyms[XkbGroup1Index] + nSyms[XkbGroup2Index];
+    if ((tmp >= map_width) &&
+        ((protected & (XkbExplicitKeyType3Mask | XkbExplicitKeyType4Mask)) ==
+         0)) {
+        nSyms[XkbGroup3Index] = 0;
+        nSyms[XkbGroup4Index] = 0;
+        nGroups = 2;
     }
     else {
-       nGroups= 3;
-       for (i=0;i<nSyms[XkbGroup3Index];i++,tmp++) {
-           xkb_syms_rtrn[XKB_OFFSET(XkbGroup3Index,i)]= CORE_SYM(tmp);
-       }
-       if ((tmp<map_width)||(protected&XkbExplicitKeyType4Mask)) {
-           nGroups= 4;
-           for (i=0;i<nSyms[XkbGroup4Index];i++,tmp++) {
-               xkb_syms_rtrn[XKB_OFFSET(XkbGroup4Index,i)]= CORE_SYM(tmp);
-           }
-       }
-       else {
-           nSyms[XkbGroup4Index]= 0;
-       }
+        nGroups = 3;
+        for (i = 0; i < nSyms[XkbGroup3Index]; i++, tmp++) {
+            xkb_syms_rtrn[XKB_OFFSET(XkbGroup3Index, i)] = CORE_SYM(tmp);
+        }
+        if ((tmp < map_width) || (protected & XkbExplicitKeyType4Mask)) {
+            nGroups = 4;
+            for (i = 0; i < nSyms[XkbGroup4Index]; i++, tmp++) {
+                xkb_syms_rtrn[XKB_OFFSET(XkbGroup4Index, i)] = CORE_SYM(tmp);
+            }
+        }
+        else {
+            nSyms[XkbGroup4Index] = 0;
+        }
     }
     /* steps 3&4: alphanumeric expansion,  assign canonical types */
-    empty= 0;
-    for (i=0;i<nGroups;i++) {
-       KeySym *syms;
-       syms= &xkb_syms_rtrn[XKB_OFFSET(i,0)];
-       if ((nSyms[i]>1)&&(syms[1]==NoSymbol)&&(syms[0]!=NoSymbol)) {
-           KeySym upper,lower;
-           XConvertCase(syms[0],&lower,&upper);
-           if (upper!=lower) {
-               xkb_syms_rtrn[XKB_OFFSET(i,0)]= lower;
-               xkb_syms_rtrn[XKB_OFFSET(i,1)]= upper;
-               if ((protected&(1<<i))==0)
-                   types_inout[i]= XkbAlphabeticIndex;
-           }
-           else if ((protected&(1<<i))==0) {
-               types_inout[i]= XkbOneLevelIndex;
-       /*      nSyms[i]=       1;*/
-           }
-       }
-       if (((protected&(1<<i))==0)&&(types_inout[i]==XkbTwoLevelIndex)) {
-           if (IsKeypadKey(syms[0])||IsKeypadKey(syms[1]))
-               types_inout[i]= XkbKeypadIndex;
-           else {
-               KeySym upper,lower;
-               XConvertCase(syms[0],&lower,&upper);
-               if ((syms[0]==lower)&&(syms[1]==upper))
-                   types_inout[i]= XkbAlphabeticIndex;
-           }
-       }
-       if (syms[0]==NoSymbol) {
-           register int n;
-           Bool        found;
-           for (n=1,found=False;(!found)&&(n<nSyms[i]);n++) {
-               found= (syms[n]!=NoSymbol);
-           }
-           if (!found)
-               empty|= (1<<i);
-       }
+    empty = 0;
+    for (i = 0; i < nGroups; i++) {
+        KeySym *syms;
+
+        syms = &xkb_syms_rtrn[XKB_OFFSET(i, 0)];
+        if ((nSyms[i] > 1) && (syms[1] == NoSymbol) && (syms[0] != NoSymbol)) {
+            KeySym upper, lower;
+
+            XConvertCase(syms[0], &lower, &upper);
+            if (upper != lower) {
+                xkb_syms_rtrn[XKB_OFFSET(i, 0)] = lower;
+                xkb_syms_rtrn[XKB_OFFSET(i, 1)] = upper;
+                if ((protected & (1 << i)) == 0)
+                    types_inout[i] = XkbAlphabeticIndex;
+            }
+            else if ((protected & (1 << i)) == 0) {
+                types_inout[i] = XkbOneLevelIndex;
+                /*      nSyms[i]=       1; */
+            }
+        }
+        if (((protected & (1 << i)) == 0) &&
+            (types_inout[i] == XkbTwoLevelIndex)) {
+            if (IsKeypadKey(syms[0]) || IsKeypadKey(syms[1]))
+                types_inout[i] = XkbKeypadIndex;
+            else {
+                KeySym upper, lower;
+
+                XConvertCase(syms[0], &lower, &upper);
+                if ((syms[0] == lower) && (syms[1] == upper))
+                    types_inout[i] = XkbAlphabeticIndex;
+            }
+        }
+        if (syms[0] == NoSymbol) {
+            register int n;
+            Bool found;
+
+            for (n = 1, found = False; (!found) && (n < nSyms[i]); n++) {
+                found = (syms[n] != NoSymbol);
+            }
+            if (!found)
+                empty |= (1 << i);
+        }
     }
     /* step 5: squoosh out empty groups */
     if (empty) {
-       for (i=nGroups-1;i>=0;i--) {
-           if (((empty&(1<<i))==0)||(protected&(1<<i)))
-               break;
-           nGroups--;
-       }
+        for (i = nGroups - 1; i >= 0; i--) {
+            if (((empty & (1 << i)) == 0) || (protected & (1 << i)))
+                break;
+            nGroups--;
+        }
     }
-    if (nGroups<1)
-       return 0;
+    if (nGroups < 1)
+        return 0;
 
     /* step 6: replicate group 1 into group two, if necessary */
-    if ((nGroups>1)&&((empty&(XkbGroup1Mask|XkbGroup2Mask))==XkbGroup2Mask)) {
-       if ((protected&(XkbExplicitKeyType1Mask|XkbExplicitKeyType2Mask))==0) {
-           nSyms[XkbGroup2Index]= nSyms[XkbGroup1Index];
-           types_inout[XkbGroup2Index]= types_inout[XkbGroup1Index];
-           memcpy((char *)&xkb_syms_rtrn[2],(char *)xkb_syms_rtrn,
-                                                       2*sizeof(KeySym));
-       }
-       else if (types_inout[XkbGroup1Index]==types_inout[XkbGroup2Index]) {
-           memcpy((char *)&xkb_syms_rtrn[nSyms[XkbGroup1Index]],
-                                       (char *)xkb_syms_rtrn,
-                                       nSyms[XkbGroup1Index]*sizeof(KeySym));
-       }
+    if ((nGroups > 1) &&
+        ((empty & (XkbGroup1Mask | XkbGroup2Mask)) == XkbGroup2Mask)) {
+        if ((protected & (XkbExplicitKeyType1Mask | XkbExplicitKeyType2Mask)) ==
+            0) {
+            nSyms[XkbGroup2Index] = nSyms[XkbGroup1Index];
+            types_inout[XkbGroup2Index] = types_inout[XkbGroup1Index];
+            memcpy((char *) &xkb_syms_rtrn[2], (char *) xkb_syms_rtrn,
+                   2 * sizeof(KeySym));
+        }
+        else if (types_inout[XkbGroup1Index] == types_inout[XkbGroup2Index]) {
+            memcpy((char *) &xkb_syms_rtrn[nSyms[XkbGroup1Index]],
+                   (char *) xkb_syms_rtrn,
+                   nSyms[XkbGroup1Index] * sizeof(KeySym));
+        }
     }
 
     /* step 7: check for all groups identical or all width 1 */
-    if (nGroups>1) {
-       Bool sameType,allOneLevel;
-       allOneLevel= (xkb->map->types[types_inout[0]].num_levels==1);
-       for (i=1,sameType=True;(allOneLevel||sameType)&&(i<nGroups);i++) {
-           sameType=(sameType&&(types_inout[i]==types_inout[XkbGroup1Index]));
-           if (allOneLevel)
-               allOneLevel= (xkb->map->types[types_inout[i]].num_levels==1);
-       }
-       if ((sameType)&&
-           (!(protected&(XkbExplicitKeyTypesMask&~XkbExplicitKeyType1Mask)))){
-           register int s;
-           Bool        identical;
-           for (i=1,identical=True;identical&&(i<nGroups);i++) {
-               KeySym *syms;
-               syms= &xkb_syms_rtrn[XKB_OFFSET(i,0)];
-               for (s=0;identical&&(s<nSyms[i]);s++) {
-                   if (syms[s]!=xkb_syms_rtrn[s])
-                       identical= False;
-               }
-           }
-           if (identical)
-               nGroups= 1;
-       }
-       if (allOneLevel && (nGroups>1)) {
-           KeySym *syms;
-           syms= &xkb_syms_rtrn[nSyms[XkbGroup1Index]];
-           nSyms[XkbGroup1Index]= 1;
-           for (i=1;i<nGroups;i++) {
-               xkb_syms_rtrn[i]= syms[0];
-               syms+= nSyms[i];
-               nSyms[i]= 1;
-           }
-       }
+    if (nGroups > 1) {
+        Bool sameType, allOneLevel;
+
+        allOneLevel = (xkb->map->types[types_inout[0]].num_levels == 1);
+        for (i = 1, sameType = True; (allOneLevel || sameType) && (i < nGroups);
+             i++) {
+            sameType = (sameType &&
+                        (types_inout[i] == types_inout[XkbGroup1Index]));
+            if (allOneLevel)
+                allOneLevel = (xkb->map->types[types_inout[i]].num_levels == 1);
+        }
+        if ((sameType) &&
+            (!(protected &
+               (XkbExplicitKeyTypesMask & ~XkbExplicitKeyType1Mask)))) {
+            register int s;
+            Bool identical;
+
+            for (i = 1, identical = True; identical && (i < nGroups); i++) {
+                KeySym *syms;
+
+                syms = &xkb_syms_rtrn[XKB_OFFSET(i, 0)];
+                for (s = 0; identical && (s < nSyms[i]); s++) {
+                    if (syms[s] != xkb_syms_rtrn[s])
+                        identical = False;
+                }
+            }
+            if (identical)
+                nGroups = 1;
+        }
+        if (allOneLevel && (nGroups > 1)) {
+            KeySym *syms;
+
+            syms = &xkb_syms_rtrn[nSyms[XkbGroup1Index]];
+            nSyms[XkbGroup1Index] = 1;
+            for (i = 1; i < nGroups; i++) {
+                xkb_syms_rtrn[i] = syms[0];
+                syms += nSyms[i];
+                nSyms[i] = 1;
+            }
+        }
     }
     return nGroups;
 }
 
 static XkbSymInterpretPtr
-_XkbFindMatchingInterp(        XkbDescPtr      xkb,
-                       KeySym          sym,
-                       unsigned int    real_mods,
-                       unsigned int    level)
+_XkbFindMatchingInterp(XkbDescPtr xkb,
+                       KeySym sym,
+                       unsigned int real_mods,
+                       unsigned int level)
 {
-register unsigned       i;
-XkbSymInterpretPtr      interp,rtrn;
-CARD8                   mods;
-
-    rtrn= NULL;
-    interp= xkb->compat->sym_interpret;
-    for (i=0;i<xkb->compat->num_si;i++,interp++) {
-       if ((interp->sym==NoSymbol)||(sym==interp->sym)) {
-           int match;
-           if ((level==0)||((interp->match&XkbSI_LevelOneOnly)==0))
-                mods= real_mods;
-           else mods= 0;
-           switch (interp->match&XkbSI_OpMask) {
-               case XkbSI_NoneOf:
-                   match= ((interp->mods&mods)==0);
-                   break;
-               case XkbSI_AnyOfOrNone:
-                   match= ((mods==0)||((interp->mods&mods)!=0));
-                   break;
-               case XkbSI_AnyOf:
-                   match= ((interp->mods&mods)!=0);
-                   break;
-               case XkbSI_AllOf:
-                   match= ((interp->mods&mods)==interp->mods);
-                   break;
-               case XkbSI_Exactly:
-                   match= (interp->mods==mods);
-                   break;
-               default:
-                   match= 0;
-                   break;
-           }
-           if (match) {
-               if (interp->sym!=NoSymbol) {
-                   return interp;
-               }
-               else if (rtrn==NULL) {
-                   rtrn= interp;
-               }
-           }
-       }
+    register unsigned i;
+    XkbSymInterpretPtr interp, rtrn;
+    CARD8 mods;
+
+    rtrn = NULL;
+    interp = xkb->compat->sym_interpret;
+    for (i = 0; i < xkb->compat->num_si; i++, interp++) {
+        if ((interp->sym == NoSymbol) || (sym == interp->sym)) {
+            int match;
+
+            if ((level == 0) || ((interp->match & XkbSI_LevelOneOnly) == 0))
+                mods = real_mods;
+            else
+                mods = 0;
+            switch (interp->match & XkbSI_OpMask) {
+            case XkbSI_NoneOf:
+                match = ((interp->mods & mods) == 0);
+                break;
+            case XkbSI_AnyOfOrNone:
+                match = ((mods == 0) || ((interp->mods & mods) != 0));
+                break;
+            case XkbSI_AnyOf:
+                match = ((interp->mods & mods) != 0);
+                break;
+            case XkbSI_AllOf:
+                match = ((interp->mods & mods) == interp->mods);
+                break;
+            case XkbSI_Exactly:
+                match = (interp->mods == mods);
+                break;
+            default:
+                match = 0;
+                break;
+            }
+            if (match) {
+                if (interp->sym != NoSymbol) {
+                    return interp;
+                }
+                else if (rtrn == NULL) {
+                    rtrn = interp;
+                }
+            }
+        }
     }
     return rtrn;
 }
 
 static void
-_XkbAddKeyChange(KeyCode *pFirst,unsigned char *pNum,KeyCode newKey)
+_XkbAddKeyChange(KeyCode *pFirst, unsigned char *pNum, KeyCode newKey)
 {
-KeyCode        last;
+    KeyCode last;
 
-    last= (*pFirst)+(*pNum);
-    if (newKey<*pFirst) {
-       *pFirst= newKey;
-       *pNum= (last-newKey)+1;
+    last = (*pFirst) + (*pNum);
+    if (newKey < *pFirst) {
+        *pFirst = newKey;
+        *pNum = (last - newKey) + 1;
     }
-    else if (newKey>last) {
-       *pNum= (last-*pFirst)+1;
+    else if (newKey > last) {
+        *pNum = (last - *pFirst) + 1;
     }
     return;
 }
 
 static void
-_XkbSetActionKeyMods(XkbDescPtr xkb,XkbAction *act,unsigned mods)
+_XkbSetActionKeyMods(XkbDescPtr xkb, XkbAction *act, unsigned mods)
 {
-unsigned       tmp;
+    unsigned tmp;
 
     switch (act->type) {
-       case XkbSA_SetMods: case XkbSA_LatchMods: case XkbSA_LockMods:
-           if (act->mods.flags&XkbSA_UseModMapMods)
-               act->mods.real_mods= act->mods.mask= mods;
-           if ((tmp= XkbModActionVMods(&act->mods))!=0) {
-               XkbVirtualModsToReal(xkb,tmp,&tmp);
-               act->mods.mask|= tmp;
-           }
-           break;
-       case XkbSA_ISOLock:
-           if (act->iso.flags&XkbSA_UseModMapMods)
-               act->iso.real_mods= act->iso.mask= mods;
-           if ((tmp= XkbModActionVMods(&act->iso))!=0) {
-               XkbVirtualModsToReal(xkb,tmp,&tmp);
-               act->iso.mask|= tmp;
-           }
-           break;
+    case XkbSA_SetMods:
+    case XkbSA_LatchMods:
+    case XkbSA_LockMods:
+        if (act->mods.flags & XkbSA_UseModMapMods)
+            act->mods.real_mods = act->mods.mask = mods;
+        if ((tmp = XkbModActionVMods(&act->mods)) != 0) {
+            XkbVirtualModsToReal(xkb, tmp, &tmp);
+            act->mods.mask |= tmp;
+        }
+        break;
+    case XkbSA_ISOLock:
+        if (act->iso.flags & XkbSA_UseModMapMods)
+            act->iso.real_mods = act->iso.mask = mods;
+        if ((tmp = XkbModActionVMods(&act->iso)) != 0) {
+            XkbVirtualModsToReal(xkb, tmp, &tmp);
+            act->iso.mask |= tmp;
+        }
+        break;
     }
     return;
 }
@@ -417,357 +424,374 @@ unsigned        tmp;
 #define        IBUF_SIZE       8
 
 Bool
-XkbApplyCompatMapToKey(XkbDescPtr xkb,KeyCode key,XkbChangesPtr changes)
+XkbApplyCompatMapToKey(XkbDescPtr xkb, KeyCode key, XkbChangesPtr changes)
 {
-KeySym *               syms;
-unsigned char          explicit,mods;
-XkbSymInterpretPtr     *interps,ibuf[IBUF_SIZE];
-int                    n,nSyms,found;
-unsigned               changed,tmp;
-
-    if ((!xkb)||(!xkb->map)||(!xkb->map->key_sym_map)||
-                       (!xkb->compat)||(!xkb->compat->sym_interpret)||
-                       (key<xkb->min_key_code)||(key>xkb->max_key_code)) {
-       return False;
-    }
-    if (((!xkb->server)||(!xkb->server->key_acts))&&
-               (XkbAllocServerMap(xkb,XkbAllServerInfoMask,0)!=Success)) {
-       return False;
-    }
-    changed= 0;        /* keeps track of what has changed in _this_ call */
-    explicit= xkb->server->explicit[key];
-    if (explicit&XkbExplicitInterpretMask) /* nothing to do */
-       return True;
-    mods= (xkb->map->modmap?xkb->map->modmap[key]:0);
-    nSyms= XkbKeyNumSyms(xkb,key);
-    syms= XkbKeySymsPtr(xkb,key);
-    if (nSyms>IBUF_SIZE) {
-       interps= _XkbTypedCalloc(nSyms,XkbSymInterpretPtr);
-       if (interps==NULL) {
-           interps= ibuf;
-           nSyms= IBUF_SIZE;
-       }
+    KeySym *syms;
+    unsigned char explicit, mods;
+    XkbSymInterpretPtr *interps, ibuf[IBUF_SIZE];
+    int n, nSyms, found;
+    unsigned changed, tmp;
+
+    if ((!xkb) || (!xkb->map) || (!xkb->map->key_sym_map) ||
+        (!xkb->compat) || (!xkb->compat->sym_interpret) ||
+        (key < xkb->min_key_code) || (key > xkb->max_key_code)) {
+        return False;
+    }
+    if (((!xkb->server) || (!xkb->server->key_acts)) &&
+        (XkbAllocServerMap(xkb, XkbAllServerInfoMask, 0) != Success)) {
+        return False;
+    }
+    changed = 0;                /* keeps track of what has changed in _this_ call */
+    explicit = xkb->server->explicit[key];
+    if (explicit & XkbExplicitInterpretMask)    /* nothing to do */
+        return True;
+    mods = (xkb->map->modmap ? xkb->map->modmap[key] : 0);
+    nSyms = XkbKeyNumSyms(xkb, key);
+    syms = XkbKeySymsPtr(xkb, key);
+    if (nSyms > IBUF_SIZE) {
+        interps = _XkbTypedCalloc(nSyms, XkbSymInterpretPtr);
+        if (interps == NULL) {
+            interps = ibuf;
+            nSyms = IBUF_SIZE;
+        }
     }
     else {
-       interps= ibuf;
-    }
-    found= 0;
-    for (n=0;n<nSyms;n++) {
-       unsigned level= (n%XkbKeyGroupsWidth(xkb,key));
-       interps[n]= NULL;
-       if (syms[n]!=NoSymbol) {
-           interps[n]= _XkbFindMatchingInterp(xkb,syms[n],mods,level);
-           if (interps[n]&&interps[n]->act.type!=XkbSA_NoAction)
-               found++;
-           else interps[n]= NULL;
-       }
+        interps = ibuf;
+    }
+    found = 0;
+    for (n = 0; n < nSyms; n++) {
+        unsigned level = (n % XkbKeyGroupsWidth(xkb, key));
+
+        interps[n] = NULL;
+        if (syms[n] != NoSymbol) {
+            interps[n] = _XkbFindMatchingInterp(xkb, syms[n], mods, level);
+            if (interps[n] && interps[n]->act.type != XkbSA_NoAction)
+                found++;
+            else
+                interps[n] = NULL;
+        }
     }
     /* 1/28/96 (ef) -- XXX! WORKING HERE */
     if (!found) {
-       if (xkb->server->key_acts[key]!=0) {
-           xkb->server->key_acts[key]= 0;
-           changed|= XkbKeyActionsMask;
-       }
+        if (xkb->server->key_acts[key] != 0) {
+            xkb->server->key_acts[key] = 0;
+            changed |= XkbKeyActionsMask;
+        }
     }
     else {
-       XkbAction *pActs;
-       unsigned int    new_vmodmask;
-       changed|= XkbKeyActionsMask;
-       pActs= XkbResizeKeyActions(xkb,key,nSyms);
-       if (!pActs) {
+        XkbAction *pActs;
+        unsigned int new_vmodmask;
+
+        changed |= XkbKeyActionsMask;
+        pActs = XkbResizeKeyActions(xkb, key, nSyms);
+        if (!pActs) {
             if (nSyms > IBUF_SIZE)
                 Xfree(interps);
-           return False;
-        }
-       new_vmodmask= 0;
-       for (n=0;n<nSyms;n++) {
-           if (interps[n]) {
-               unsigned effMods;
-
-               pActs[n]= *((XkbAction *)&interps[n]->act);
-               if ((n==0)||((interps[n]->match&XkbSI_LevelOneOnly)==0)) {
-                    effMods= mods;
-                    if (interps[n]->virtual_mod!=XkbNoModifier)
-                       new_vmodmask|= (1<<interps[n]->virtual_mod);
-               }
-               else effMods= 0;
-               _XkbSetActionKeyMods(xkb,&pActs[n],effMods);
-           }
-           else pActs[n].type= XkbSA_NoAction;
-       }
-       if (((explicit&XkbExplicitVModMapMask)==0)&&
-                               (xkb->server->vmodmap[key]!=new_vmodmask)) {
-           changed|= XkbVirtualModMapMask;
-           xkb->server->vmodmap[key]= new_vmodmask;
-       }
-       if (interps[0]) {
-           if ((interps[0]->flags&XkbSI_LockingKey)&&
-                               ((explicit&XkbExplicitBehaviorMask)==0)) {
-               xkb->server->behaviors[key].type= XkbKB_Lock;
-               changed|= XkbKeyBehaviorsMask;
-           }
-           if (((explicit&XkbExplicitAutoRepeatMask)==0)&&(xkb->ctrls)) {
-               CARD8 old;
-               old= xkb->ctrls->per_key_repeat[key/8];
-               if (interps[0]->flags&XkbSI_AutoRepeat)
-                    xkb->ctrls->per_key_repeat[key/8]|= (1<<(key%8));
-               else xkb->ctrls->per_key_repeat[key/8]&= ~(1<<(key%8));
-               if (changes && (old!=xkb->ctrls->per_key_repeat[key/8]))
-                   changes->ctrls.changed_ctrls|= XkbPerKeyRepeatMask;
-           }
-       }
-    }
-    if ((!found)||(interps[0]==NULL)) {
-       if (((explicit&XkbExplicitAutoRepeatMask)==0)&&(xkb->ctrls)) {
-           CARD8 old;
-           old= xkb->ctrls->per_key_repeat[key/8];
+            return False;
+        }
+        new_vmodmask = 0;
+        for (n = 0; n < nSyms; n++) {
+            if (interps[n]) {
+                unsigned effMods;
+
+                pActs[n] = *((XkbAction *) &interps[n]->act);
+                if ((n == 0) || ((interps[n]->match & XkbSI_LevelOneOnly) == 0)) {
+                    effMods = mods;
+                    if (interps[n]->virtual_mod != XkbNoModifier)
+                        new_vmodmask |= (1 << interps[n]->virtual_mod);
+                }
+                else
+                    effMods = 0;
+                _XkbSetActionKeyMods(xkb, &pActs[n], effMods);
+            }
+            else
+                pActs[n].type = XkbSA_NoAction;
+        }
+        if (((explicit & XkbExplicitVModMapMask) == 0) &&
+            (xkb->server->vmodmap[key] != new_vmodmask)) {
+            changed |= XkbVirtualModMapMask;
+            xkb->server->vmodmap[key] = new_vmodmask;
+        }
+        if (interps[0]) {
+            if ((interps[0]->flags & XkbSI_LockingKey) &&
+                ((explicit & XkbExplicitBehaviorMask) == 0)) {
+                xkb->server->behaviors[key].type = XkbKB_Lock;
+                changed |= XkbKeyBehaviorsMask;
+            }
+            if (((explicit & XkbExplicitAutoRepeatMask) == 0) && (xkb->ctrls)) {
+                CARD8 old;
+
+                old = xkb->ctrls->per_key_repeat[key / 8];
+                if (interps[0]->flags & XkbSI_AutoRepeat)
+                    xkb->ctrls->per_key_repeat[key / 8] |= (1 << (key % 8));
+                else
+                    xkb->ctrls->per_key_repeat[key / 8] &= ~(1 << (key % 8));
+                if (changes && (old != xkb->ctrls->per_key_repeat[key / 8]))
+                    changes->ctrls.changed_ctrls |= XkbPerKeyRepeatMask;
+            }
+        }
+    }
+    if ((!found) || (interps[0] == NULL)) {
+        if (((explicit & XkbExplicitAutoRepeatMask) == 0) && (xkb->ctrls)) {
+            CARD8 old;
+
+            old = xkb->ctrls->per_key_repeat[key / 8];
 #ifdef RETURN_SHOULD_REPEAT
-           if (*XkbKeySymsPtr(xkb,key) != XK_Return)
+            if (*XkbKeySymsPtr(xkb, key) != XK_Return)
 #endif
-               xkb->ctrls->per_key_repeat[key/8]|= (1<<(key%8));
-           if (changes && (old!=xkb->ctrls->per_key_repeat[key/8]))
-               changes->ctrls.changed_ctrls|= XkbPerKeyRepeatMask;
-       }
-       if (((explicit&XkbExplicitBehaviorMask)==0)&&
-               (xkb->server->behaviors[key].type==XkbKB_Lock)) {
-               xkb->server->behaviors[key].type= XkbKB_Default;
-               changed|= XkbKeyBehaviorsMask;
-       }
+                xkb->ctrls->per_key_repeat[key / 8] |= (1 << (key % 8));
+            if (changes && (old != xkb->ctrls->per_key_repeat[key / 8]))
+                changes->ctrls.changed_ctrls |= XkbPerKeyRepeatMask;
+        }
+        if (((explicit & XkbExplicitBehaviorMask) == 0) &&
+            (xkb->server->behaviors[key].type == XkbKB_Lock)) {
+            xkb->server->behaviors[key].type = XkbKB_Default;
+            changed |= XkbKeyBehaviorsMask;
+        }
     }
     if (changes) {
-       XkbMapChangesPtr        mc;
-       mc= &changes->map;
-       tmp= (changed&mc->changed);
-       if (tmp&XkbKeyActionsMask)
-           _XkbAddKeyChange(&mc->first_key_act,&mc->num_key_acts,key);
-       else if (changed&XkbKeyActionsMask) {
-           mc->changed|= XkbKeyActionsMask;
-           mc->first_key_act= key;
-           mc->num_key_acts= 1;
-       }
-       if (tmp&XkbKeyBehaviorsMask) {
-           _XkbAddKeyChange(&mc->first_key_behavior,&mc->num_key_behaviors,
-                                                                       key);
-       }
-       else if (changed&XkbKeyBehaviorsMask) {
-           mc->changed|= XkbKeyBehaviorsMask;
-           mc->first_key_behavior= key;
-           mc->num_key_behaviors= 1;
-       }
-       if (tmp&XkbVirtualModMapMask)
-           _XkbAddKeyChange(&mc->first_vmodmap_key,&mc->num_vmodmap_keys,key);
-       else if (changed&XkbVirtualModMapMask) {
-           mc->changed|= XkbVirtualModMapMask;
-           mc->first_vmodmap_key= key;
-           mc->num_vmodmap_keys= 1;
-       }
-       mc->changed|= changed;
-    }
-    if (interps!=ibuf)
-       _XkbFree(interps);
+        XkbMapChangesPtr mc;
+
+        mc = &changes->map;
+        tmp = (changed & mc->changed);
+        if (tmp & XkbKeyActionsMask)
+            _XkbAddKeyChange(&mc->first_key_act, &mc->num_key_acts, key);
+        else if (changed & XkbKeyActionsMask) {
+            mc->changed |= XkbKeyActionsMask;
+            mc->first_key_act = key;
+            mc->num_key_acts = 1;
+        }
+        if (tmp & XkbKeyBehaviorsMask) {
+            _XkbAddKeyChange(&mc->first_key_behavior, &mc->num_key_behaviors,
+                             key);
+        }
+        else if (changed & XkbKeyBehaviorsMask) {
+            mc->changed |= XkbKeyBehaviorsMask;
+            mc->first_key_behavior = key;
+            mc->num_key_behaviors = 1;
+        }
+        if (tmp & XkbVirtualModMapMask)
+            _XkbAddKeyChange(&mc->first_vmodmap_key, &mc->num_vmodmap_keys,
+                             key);
+        else if (changed & XkbVirtualModMapMask) {
+            mc->changed |= XkbVirtualModMapMask;
+            mc->first_vmodmap_key = key;
+            mc->num_vmodmap_keys = 1;
+        }
+        mc->changed |= changed;
+    }
+    if (interps != ibuf)
+        _XkbFree(interps);
     return True;
 }
 
 Bool
-XkbUpdateMapFromCore(  XkbDescPtr      xkb,
-                       KeyCode         first_key,
-                       int             num_keys,
-                       int             map_width,
-                       KeySym *        core_keysyms,
-                       XkbChangesPtr   changes)
+XkbUpdateMapFromCore(XkbDescPtr xkb,
+                     KeyCode first_key,
+                     int num_keys,
+                     int map_width,
+                     KeySym *core_keysyms,
+                     XkbChangesPtr changes)
 {
-register int   key,last_key;
-KeySym *       syms;
+    register int key, last_key;
+    KeySym *syms;
 
-    syms= &core_keysyms[(first_key-xkb->min_key_code)*map_width];
+    syms = &core_keysyms[(first_key - xkb->min_key_code) * map_width];
     if (changes) {
-       if (changes->map.changed&XkbKeySymsMask) {
-           _XkbAddKeyChange(&changes->map.first_key_sym,
-                               &changes->map.num_key_syms,first_key);
-           if (num_keys>1) {
-               _XkbAddKeyChange(&changes->map.first_key_sym,
-                                               &changes->map.num_key_syms,
-                                               first_key+num_keys-1);
-           }
-       }
-       else {
-           changes->map.changed|= XkbKeySymsMask;
-           changes->map.first_key_sym= first_key;
-           changes->map.num_key_syms= num_keys;
-       }
-    }
-    last_key= first_key+num_keys-1;
-    for (key=first_key;key<=last_key;key++,syms+= map_width) {
-       XkbMapChangesPtr        mc;
-       unsigned                explicit;
-       KeySym                  tsyms[XkbMaxSymsPerKey];
-       int                     types[XkbNumKbdGroups];
-       int                     nG;
-
-       explicit= xkb->server->explicit[key]&XkbExplicitKeyTypesMask;
-       types[XkbGroup1Index]= XkbKeyKeyTypeIndex(xkb,key,XkbGroup1Index);
-       types[XkbGroup2Index]= XkbKeyKeyTypeIndex(xkb,key,XkbGroup2Index);
-       types[XkbGroup3Index]= XkbKeyKeyTypeIndex(xkb,key,XkbGroup3Index);
-       types[XkbGroup4Index]= XkbKeyKeyTypeIndex(xkb,key,XkbGroup4Index);
-       nG= XkbKeyTypesForCoreSymbols(xkb,map_width,syms,explicit,types,tsyms);
-       if (changes)
-            mc= &changes->map;
-       else mc= NULL;
-       XkbChangeTypesOfKey(xkb,key,nG,XkbAllGroupsMask,types,mc);
-       memcpy((char *)XkbKeySymsPtr(xkb,key),(char *)tsyms,
-                                       XkbKeyNumSyms(xkb,key)*sizeof(KeySym));
-       XkbApplyCompatMapToKey(xkb,key,changes);
-    }
-
-    if ((xkb->map->modmap!=NULL)&&(changes)&&
-       (changes->map.changed&(XkbVirtualModMapMask|XkbModifierMapMask))) {
-       unsigned char           newVMods[XkbNumVirtualMods];
-       register  unsigned      bit,i;
-       unsigned                present;
-
-       bzero(newVMods,XkbNumVirtualMods);
-       present= 0;
-       for (key=xkb->min_key_code;key<=xkb->max_key_code;key++) {
-           if (xkb->server->vmodmap[key]==0)
-               continue;
-           for (i=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-               if (bit&xkb->server->vmodmap[key]) {
-                   present|= bit;
-                   newVMods[i]|= xkb->map->modmap[key];
-               }
-           }
-       }
-       for (i=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-           if ((bit&present)&&(newVMods[i]!=xkb->server->vmods[i])) {
-               changes->map.changed|= XkbVirtualModsMask;
-               changes->map.vmods|= bit;
-               xkb->server->vmods[i]= newVMods[i];
-           }
-       }
-    }
-    if (changes && (changes->map.changed&XkbVirtualModsMask))
-       XkbApplyVirtualModChanges(xkb,changes->map.vmods,changes);
+        if (changes->map.changed & XkbKeySymsMask) {
+            _XkbAddKeyChange(&changes->map.first_key_sym,
+                             &changes->map.num_key_syms, first_key);
+            if (num_keys > 1) {
+                _XkbAddKeyChange(&changes->map.first_key_sym,
+                                 &changes->map.num_key_syms,
+                                 first_key + num_keys - 1);
+            }
+        }
+        else {
+            changes->map.changed |= XkbKeySymsMask;
+            changes->map.first_key_sym = first_key;
+            changes->map.num_key_syms = num_keys;
+        }
+    }
+    last_key = first_key + num_keys - 1;
+    for (key = first_key; key <= last_key; key++, syms += map_width) {
+        XkbMapChangesPtr mc;
+        unsigned explicit;
+        KeySym tsyms[XkbMaxSymsPerKey];
+        int types[XkbNumKbdGroups];
+        int nG;
+
+        explicit = xkb->server->explicit[key] & XkbExplicitKeyTypesMask;
+        types[XkbGroup1Index] = XkbKeyKeyTypeIndex(xkb, key, XkbGroup1Index);
+        types[XkbGroup2Index] = XkbKeyKeyTypeIndex(xkb, key, XkbGroup2Index);
+        types[XkbGroup3Index] = XkbKeyKeyTypeIndex(xkb, key, XkbGroup3Index);
+        types[XkbGroup4Index] = XkbKeyKeyTypeIndex(xkb, key, XkbGroup4Index);
+        nG = XkbKeyTypesForCoreSymbols(xkb, map_width, syms, explicit, types,
+                                       tsyms);
+        if (changes)
+            mc = &changes->map;
+        else
+            mc = NULL;
+        XkbChangeTypesOfKey(xkb, key, nG, XkbAllGroupsMask, types, mc);
+        memcpy((char *) XkbKeySymsPtr(xkb, key), (char *) tsyms,
+               XkbKeyNumSyms(xkb, key) * sizeof(KeySym));
+        XkbApplyCompatMapToKey(xkb, key, changes);
+    }
+
+    if ((xkb->map->modmap != NULL) && (changes) &&
+        (changes->map.changed & (XkbVirtualModMapMask | XkbModifierMapMask))) {
+        unsigned char newVMods[XkbNumVirtualMods];
+        register unsigned bit, i;
+        unsigned present;
+
+        bzero(newVMods, XkbNumVirtualMods);
+        present = 0;
+        for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
+            if (xkb->server->vmodmap[key] == 0)
+                continue;
+            for (i = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+                if (bit & xkb->server->vmodmap[key]) {
+                    present |= bit;
+                    newVMods[i] |= xkb->map->modmap[key];
+                }
+            }
+        }
+        for (i = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+            if ((bit & present) && (newVMods[i] != xkb->server->vmods[i])) {
+                changes->map.changed |= XkbVirtualModsMask;
+                changes->map.vmods |= bit;
+                xkb->server->vmods[i] = newVMods[i];
+            }
+        }
+    }
+    if (changes && (changes->map.changed & XkbVirtualModsMask))
+        XkbApplyVirtualModChanges(xkb, changes->map.vmods, changes);
     return True;
 }
 
 Status
-XkbChangeTypesOfKey(   XkbDescPtr               xkb,
-                       int                      key,
-                       int                      nGroups,
-                       unsigned                 groups,
-                       int     *                newTypesIn,
-                       XkbMapChangesPtr         changes)
+XkbChangeTypesOfKey(XkbDescPtr xkb,
+                    int key,
+                    int nGroups,
+                    unsigned groups,
+                    int *newTypesIn,
+                    XkbMapChangesPtr changes)
 {
-XkbKeyTypePtr  pOldType,pNewType;
-register int   i;
-int            width,nOldGroups,oldWidth,newTypes[XkbNumKbdGroups];
-
-    if ((!xkb) || (!XkbKeycodeInRange(xkb,key)) || (!xkb->map) ||
-       (!xkb->map->types)||((groups&XkbAllGroupsMask)==0)||
-       (nGroups>XkbNumKbdGroups)) {
-       return BadMatch;
-    }
-    if (nGroups==0) {
-       for (i=0;i<XkbNumKbdGroups;i++) {
-           xkb->map->key_sym_map[key].kt_index[i]= XkbOneLevelIndex;
-       }
-       i= xkb->map->key_sym_map[key].group_info;
-       i= XkbSetNumGroups(i,0);
-       xkb->map->key_sym_map[key].group_info= i;
-       XkbResizeKeySyms(xkb,key,0);
-       return Success;
-    }
-
-    nOldGroups= XkbKeyNumGroups(xkb,key);
-    oldWidth= XkbKeyGroupsWidth(xkb,key);
-    for (width=i=0;i<nGroups;i++) {
-       if (groups&(1<<i))
-            newTypes[i]=  newTypesIn[i];
-       else if (i<nOldGroups)
-            newTypes[i]= XkbKeyKeyTypeIndex(xkb,key,i);
-       else if (nOldGroups>0)
-            newTypes[i]= XkbKeyKeyTypeIndex(xkb,key,XkbGroup1Index);
-       else newTypes[i]= XkbTwoLevelIndex;
-       if (newTypes[i]>xkb->map->num_types)
-           return BadMatch;
-       pNewType= &xkb->map->types[newTypes[i]];
-       if (pNewType->num_levels>width)
-           width= pNewType->num_levels;
-    }
-    if ((xkb->ctrls)&&(nGroups>xkb->ctrls->num_groups))
-       xkb->ctrls->num_groups= nGroups;
-    if ((width!=oldWidth)||(nGroups!=nOldGroups)) {
-       KeySym          oldSyms[XkbMaxSymsPerKey],*pSyms;
-       int             nCopy;
-
-       if (nOldGroups==0) {
-           pSyms= XkbResizeKeySyms(xkb,key,width*nGroups);
-           if (pSyms!=NULL) {
-               i= xkb->map->key_sym_map[key].group_info;
-               i= XkbSetNumGroups(i,nGroups);
-               xkb->map->key_sym_map[key].group_info= i;
-               xkb->map->key_sym_map[key].width= width;
-               for (i=0;i<nGroups;i++) {
-                   xkb->map->key_sym_map[key].kt_index[i]= newTypes[i];
-               }
-               return Success;
-           }
-           return BadAlloc;
-       }
-       pSyms= XkbKeySymsPtr(xkb,key);
-       memcpy(oldSyms,pSyms,XkbKeyNumSyms(xkb,key)*sizeof(KeySym));
-       pSyms= XkbResizeKeySyms(xkb,key,width*nGroups);
-       if (pSyms==NULL)
-           return BadAlloc;
-       bzero(pSyms,width*nGroups*sizeof(KeySym));
-       for (i=0;(i<nGroups)&&(i<nOldGroups);i++) {
-           pOldType= XkbKeyKeyType(xkb,key,i);
-           pNewType= &xkb->map->types[newTypes[i]];
-           if (pNewType->num_levels>pOldType->num_levels)
-                nCopy= pOldType->num_levels;
-           else nCopy= pNewType->num_levels;
-           memcpy(&pSyms[i*width],&oldSyms[i*oldWidth],nCopy*sizeof(KeySym));
-       }
-       if (XkbKeyHasActions(xkb,key)) {
-           XkbAction   oldActs[XkbMaxSymsPerKey],*pActs;
-           pActs= XkbKeyActionsPtr(xkb,key);
-           memcpy(oldActs,pActs,XkbKeyNumSyms(xkb,key)*sizeof(XkbAction));
-           pActs= XkbResizeKeyActions(xkb,key,width*nGroups);
-           if (pActs==NULL)
-               return BadAlloc;
-           bzero(pActs,width*nGroups*sizeof(XkbAction));
-           for (i=0;(i<nGroups)&&(i<nOldGroups);i++) {
-               pOldType= XkbKeyKeyType(xkb,key,i);
-               pNewType= &xkb->map->types[newTypes[i]];
-               if (pNewType->num_levels>pOldType->num_levels)
-                    nCopy= pOldType->num_levels;
-               else nCopy= pNewType->num_levels;
-               memcpy(&pActs[i*width],&oldActs[i*oldWidth],
-                                               nCopy*sizeof(XkbAction));
-           }
-       }
-       i= xkb->map->key_sym_map[key].group_info;
-       i= XkbSetNumGroups(i,nGroups);
-       xkb->map->key_sym_map[key].group_info= i;
-       xkb->map->key_sym_map[key].width= width;
-    }
-    width= 0;
-    for (i=0;i<nGroups;i++) {
-       xkb->map->key_sym_map[key].kt_index[i]= newTypes[i];
-       if (xkb->map->types[newTypes[i]].num_levels>width)
-           width= xkb->map->types[newTypes[i]].num_levels;
-    }
-    xkb->map->key_sym_map[key].width= width;
-    if (changes!=NULL) {
-       if (changes->changed&XkbKeySymsMask) {
-           _XkbAddKeyChange(&changes->first_key_sym,&changes->num_key_syms,
-                                                                       key);
-       }
-       else {
-           changes->changed|= XkbKeySymsMask;
-           changes->first_key_sym= key;
-           changes->num_key_syms= 1;
-       }
+    XkbKeyTypePtr pOldType, pNewType;
+    register int i;
+    int width, nOldGroups, oldWidth, newTypes[XkbNumKbdGroups];
+
+    if ((!xkb) || (!XkbKeycodeInRange(xkb, key)) || (!xkb->map) ||
+        (!xkb->map->types) || ((groups & XkbAllGroupsMask) == 0) ||
+        (nGroups > XkbNumKbdGroups)) {
+        return BadMatch;
+    }
+    if (nGroups == 0) {
+        for (i = 0; i < XkbNumKbdGroups; i++) {
+            xkb->map->key_sym_map[key].kt_index[i] = XkbOneLevelIndex;
+        }
+        i = xkb->map->key_sym_map[key].group_info;
+        i = XkbSetNumGroups(i, 0);
+        xkb->map->key_sym_map[key].group_info = i;
+        XkbResizeKeySyms(xkb, key, 0);
+        return Success;
+    }
+
+    nOldGroups = XkbKeyNumGroups(xkb, key);
+    oldWidth = XkbKeyGroupsWidth(xkb, key);
+    for (width = i = 0; i < nGroups; i++) {
+        if (groups & (1 << i))
+            newTypes[i] = newTypesIn[i];
+        else if (i < nOldGroups)
+            newTypes[i] = XkbKeyKeyTypeIndex(xkb, key, i);
+        else if (nOldGroups > 0)
+            newTypes[i] = XkbKeyKeyTypeIndex(xkb, key, XkbGroup1Index);
+        else
+            newTypes[i] = XkbTwoLevelIndex;
+        if (newTypes[i] > xkb->map->num_types)
+            return BadMatch;
+        pNewType = &xkb->map->types[newTypes[i]];
+        if (pNewType->num_levels > width)
+            width = pNewType->num_levels;
+    }
+    if ((xkb->ctrls) && (nGroups > xkb->ctrls->num_groups))
+        xkb->ctrls->num_groups = nGroups;
+    if ((width != oldWidth) || (nGroups != nOldGroups)) {
+        KeySym oldSyms[XkbMaxSymsPerKey], *pSyms;
+        int nCopy;
+
+        if (nOldGroups == 0) {
+            pSyms = XkbResizeKeySyms(xkb, key, width * nGroups);
+            if (pSyms != NULL) {
+                i = xkb->map->key_sym_map[key].group_info;
+                i = XkbSetNumGroups(i, nGroups);
+                xkb->map->key_sym_map[key].group_info = i;
+                xkb->map->key_sym_map[key].width = width;
+                for (i = 0; i < nGroups; i++) {
+                    xkb->map->key_sym_map[key].kt_index[i] = newTypes[i];
+                }
+                return Success;
+            }
+            return BadAlloc;
+        }
+        pSyms = XkbKeySymsPtr(xkb, key);
+        memcpy(oldSyms, pSyms, XkbKeyNumSyms(xkb, key) * sizeof(KeySym));
+        pSyms = XkbResizeKeySyms(xkb, key, width * nGroups);
+        if (pSyms == NULL)
+            return BadAlloc;
+        bzero(pSyms, width * nGroups * sizeof(KeySym));
+        for (i = 0; (i < nGroups) && (i < nOldGroups); i++) {
+            pOldType = XkbKeyKeyType(xkb, key, i);
+            pNewType = &xkb->map->types[newTypes[i]];
+            if (pNewType->num_levels > pOldType->num_levels)
+                nCopy = pOldType->num_levels;
+            else
+                nCopy = pNewType->num_levels;
+            memcpy(&pSyms[i * width], &oldSyms[i * oldWidth],
+                   nCopy * sizeof(KeySym));
+        }
+        if (XkbKeyHasActions(xkb, key)) {
+            XkbAction oldActs[XkbMaxSymsPerKey], *pActs;
+
+            pActs = XkbKeyActionsPtr(xkb, key);
+            memcpy(oldActs, pActs, XkbKeyNumSyms(xkb, key) * sizeof(XkbAction));
+            pActs = XkbResizeKeyActions(xkb, key, width * nGroups);
+            if (pActs == NULL)
+                return BadAlloc;
+            bzero(pActs, width * nGroups * sizeof(XkbAction));
+            for (i = 0; (i < nGroups) && (i < nOldGroups); i++) {
+                pOldType = XkbKeyKeyType(xkb, key, i);
+                pNewType = &xkb->map->types[newTypes[i]];
+                if (pNewType->num_levels > pOldType->num_levels)
+                    nCopy = pOldType->num_levels;
+                else
+                    nCopy = pNewType->num_levels;
+                memcpy(&pActs[i * width], &oldActs[i * oldWidth],
+                       nCopy * sizeof(XkbAction));
+            }
+        }
+        i = xkb->map->key_sym_map[key].group_info;
+        i = XkbSetNumGroups(i, nGroups);
+        xkb->map->key_sym_map[key].group_info = i;
+        xkb->map->key_sym_map[key].width = width;
+    }
+    width = 0;
+    for (i = 0; i < nGroups; i++) {
+        xkb->map->key_sym_map[key].kt_index[i] = newTypes[i];
+        if (xkb->map->types[newTypes[i]].num_levels > width)
+            width = xkb->map->types[newTypes[i]].num_levels;
+    }
+    xkb->map->key_sym_map[key].width = width;
+    if (changes != NULL) {
+        if (changes->changed & XkbKeySymsMask) {
+            _XkbAddKeyChange(&changes->first_key_sym, &changes->num_key_syms,
+                             key);
+        }
+        else {
+            changes->changed |= XkbKeySymsMask;
+            changes->first_key_sym = key;
+            changes->num_key_syms = 1;
+        }
     }
     return Success;
 }
@@ -775,204 +799,223 @@ int             width,nOldGroups,oldWidth,newTypes[XkbNumKbdGroups];
 /***====================================================================***/
 
 Bool
-XkbVirtualModsToReal(XkbDescPtr xkb,unsigned virtual_mask,unsigned *mask_rtrn)
+XkbVirtualModsToReal(XkbDescPtr xkb, unsigned virtual_mask, unsigned *mask_rtrn)
 {
-register int i,bit;
-register unsigned mask;
-
-    if (xkb==NULL)
-       return False;
-    if (virtual_mask==0) {
-       *mask_rtrn= 0;
-       return True;
-    }
-    if (xkb->server==NULL)
-       return False;
-    for (i=mask=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-       if (virtual_mask&bit)
-           mask|= xkb->server->vmods[i];
-    }
-    *mask_rtrn= mask;
+    register int i, bit;
+    register unsigned mask;
+
+    if (xkb == NULL)
+        return False;
+    if (virtual_mask == 0) {
+        *mask_rtrn = 0;
+        return True;
+    }
+    if (xkb->server == NULL)
+        return False;
+    for (i = mask = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+        if (virtual_mask & bit)
+            mask |= xkb->server->vmods[i];
+    }
+    *mask_rtrn = mask;
     return True;
 }
 
 /***====================================================================***/
 
 Bool
-XkbUpdateActionVirtualMods(XkbDescPtr xkb,XkbAction *act,unsigned changed)
+XkbUpdateActionVirtualMods(XkbDescPtr xkb, XkbAction *act, unsigned changed)
 {
-unsigned int   tmp;
+    unsigned int tmp;
 
     switch (act->type) {
-       case XkbSA_SetMods: case XkbSA_LatchMods: case XkbSA_LockMods:
-           if (((tmp= XkbModActionVMods(&act->mods))&changed)!=0) {
-               XkbVirtualModsToReal(xkb,tmp,&tmp);
-               act->mods.mask= act->mods.real_mods;
-               act->mods.mask|= tmp;
-               return True;
-           }
-           break;
-       case XkbSA_ISOLock:
-           if ((((tmp= XkbModActionVMods(&act->iso))!=0)&changed)!=0) {
-               XkbVirtualModsToReal(xkb,tmp,&tmp);
-               act->iso.mask= act->iso.real_mods;
-               act->iso.mask|= tmp;
-               return True;
-           }
-           break;
+    case XkbSA_SetMods:
+    case XkbSA_LatchMods:
+    case XkbSA_LockMods:
+        if (((tmp = XkbModActionVMods(&act->mods)) & changed) != 0) {
+            XkbVirtualModsToReal(xkb, tmp, &tmp);
+            act->mods.mask = act->mods.real_mods;
+            act->mods.mask |= tmp;
+            return True;
+        }
+        break;
+    case XkbSA_ISOLock:
+        if ((((tmp = XkbModActionVMods(&act->iso)) != 0) & changed) != 0) {
+            XkbVirtualModsToReal(xkb, tmp, &tmp);
+            act->iso.mask = act->iso.real_mods;
+            act->iso.mask |= tmp;
+            return True;
+        }
+        break;
     }
     return False;
 }
 
 void
-XkbUpdateKeyTypeVirtualMods(   XkbDescPtr      xkb,
-                               XkbKeyTypePtr   type,
-                               unsigned int    changed,
-                               XkbChangesPtr   changes)
+XkbUpdateKeyTypeVirtualMods(XkbDescPtr xkb,
+                            XkbKeyTypePtr type,
+                            unsigned int changed,
+                            XkbChangesPtr changes)
 {
-register unsigned int  i;
-unsigned int           mask;
-
-    XkbVirtualModsToReal(xkb,type->mods.vmods,&mask);
-    type->mods.mask= type->mods.real_mods|mask;
-    if ((type->map_count>0)&&(type->mods.vmods!=0)) {
-       XkbKTMapEntryPtr entry;
-       for (i=0,entry=type->map;i<type->map_count;i++,entry++) {
-           if (entry->mods.vmods!=0) {
-               XkbVirtualModsToReal(xkb,entry->mods.vmods,&mask);
-               entry->mods.mask=entry->mods.real_mods|mask;
-               /* entry is active if vmods are bound*/
-               entry->active= (mask!=0);
-           }
-           else entry->active= 1;
-       }
+    register unsigned int i;
+    unsigned int mask;
+
+    XkbVirtualModsToReal(xkb, type->mods.vmods, &mask);
+    type->mods.mask = type->mods.real_mods | mask;
+    if ((type->map_count > 0) && (type->mods.vmods != 0)) {
+        XkbKTMapEntryPtr entry;
+
+        for (i = 0, entry = type->map; i < type->map_count; i++, entry++) {
+            if (entry->mods.vmods != 0) {
+                XkbVirtualModsToReal(xkb, entry->mods.vmods, &mask);
+                entry->mods.mask = entry->mods.real_mods | mask;
+                /* entry is active if vmods are bound */
+                entry->active = (mask != 0);
+            }
+            else
+                entry->active = 1;
+        }
     }
     if (changes) {
-       int     type_ndx;
-       type_ndx= type-xkb->map->types;
-       if ((type_ndx<0)||(type_ndx>xkb->map->num_types))
-           return;
-       if (changes->map.changed&XkbKeyTypesMask) {
-           int last;
-           last= changes->map.first_type+changes->map.num_types-1;
-           if (type_ndx<changes->map.first_type) {
-               changes->map.first_type= type_ndx;
-               changes->map.num_types= (last-type_ndx)+1;
-           }
-           else if (type_ndx>last) {
-               changes->map.num_types= (type_ndx-changes->map.first_type)+1;
-           }
-       }
-       else {
-           changes->map.changed|= XkbKeyTypesMask;
-           changes->map.first_type= type_ndx;
-           changes->map.num_types= 1;
-       }
+        int type_ndx;
+
+        type_ndx = type - xkb->map->types;
+        if ((type_ndx < 0) || (type_ndx > xkb->map->num_types))
+            return;
+        if (changes->map.changed & XkbKeyTypesMask) {
+            int last;
+
+            last = changes->map.first_type + changes->map.num_types - 1;
+            if (type_ndx < changes->map.first_type) {
+                changes->map.first_type = type_ndx;
+                changes->map.num_types = (last - type_ndx) + 1;
+            }
+            else if (type_ndx > last) {
+                changes->map.num_types =
+                    (type_ndx - changes->map.first_type) + 1;
+            }
+        }
+        else {
+            changes->map.changed |= XkbKeyTypesMask;
+            changes->map.first_type = type_ndx;
+            changes->map.num_types = 1;
+        }
     }
     return;
 }
 
 Bool
-XkbApplyVirtualModChanges(XkbDescPtr xkb,unsigned changed,XkbChangesPtr changes)
+XkbApplyVirtualModChanges(XkbDescPtr xkb,
+                          unsigned changed,
+                          XkbChangesPtr changes)
 {
-register int   i;
-unsigned int   checkState = 0;
-
-    if ((!xkb) || (!xkb->map) || (changed==0))
-       return False;
-    for (i=0;i<xkb->map->num_types;i++) {
-       if (xkb->map->types[i].mods.vmods & changed)
-       XkbUpdateKeyTypeVirtualMods(xkb,&xkb->map->types[i],changed,changes);
-    }
-    if (changed&xkb->ctrls->internal.vmods) {
-       unsigned int    newMask;
-       XkbVirtualModsToReal(xkb,xkb->ctrls->internal.vmods,&newMask);
-       newMask|= xkb->ctrls->internal.real_mods;
-       if (xkb->ctrls->internal.mask!=newMask) {
-           xkb->ctrls->internal.mask= newMask;
-           if (changes) {
-               changes->ctrls.changed_ctrls|= XkbInternalModsMask;
-               checkState= True;
-           }
-       }
-    }
-    if (changed&xkb->ctrls->ignore_lock.vmods) {
-       unsigned int    newMask;
-       XkbVirtualModsToReal(xkb,xkb->ctrls->ignore_lock.vmods,&newMask);
-       newMask|= xkb->ctrls->ignore_lock.real_mods;
-       if (xkb->ctrls->ignore_lock.mask!=newMask) {
-           xkb->ctrls->ignore_lock.mask= newMask;
-           if (changes) {
-               changes->ctrls.changed_ctrls|= XkbIgnoreLockModsMask;
-               checkState= True;
-           }
-       }
-    }
-    if (xkb->indicators!=NULL) {
-       XkbIndicatorMapPtr map;
-       map= &xkb->indicators->maps[0];
-       for (i=0;i<XkbNumIndicators;i++,map++) {
-           if (map->mods.vmods&changed) {
-               unsigned int newMask;
-               XkbVirtualModsToReal(xkb,map->mods.vmods,&newMask);
-               newMask|= map->mods.real_mods;
-               if (newMask!=map->mods.mask) {
-                   map->mods.mask= newMask;
-                   if (changes) {
-                       changes->indicators.map_changes|= (1<<i);
-                       checkState= True;
-                   }
-               }
-           }
-       }
-    }
-    if (xkb->compat!=NULL) {
-       XkbCompatMapPtr compat;
-       compat= xkb->compat;
-       for (i=0;i<XkbNumKbdGroups;i++) {
-           unsigned int newMask;
-           XkbVirtualModsToReal(xkb,compat->groups[i].vmods,&newMask);
-           newMask|= compat->groups[i].real_mods;
-           if (compat->groups[i].mask!=newMask) {
-               compat->groups[i].mask= newMask;
-               if (changes) {
-                   changes->compat.changed_groups|= (1<<i);
-                   checkState= True;
-               }
-           }
-       }
+    register int i;
+    unsigned int checkState = 0;
+
+    if ((!xkb) || (!xkb->map) || (changed == 0))
+        return False;
+    for (i = 0; i < xkb->map->num_types; i++) {
+        if (xkb->map->types[i].mods.vmods & changed)
+            XkbUpdateKeyTypeVirtualMods(xkb, &xkb->map->types[i], changed,
+                                        changes);
+    }
+    if (changed & xkb->ctrls->internal.vmods) {
+        unsigned int newMask;
+
+        XkbVirtualModsToReal(xkb, xkb->ctrls->internal.vmods, &newMask);
+        newMask |= xkb->ctrls->internal.real_mods;
+        if (xkb->ctrls->internal.mask != newMask) {
+            xkb->ctrls->internal.mask = newMask;
+            if (changes) {
+                changes->ctrls.changed_ctrls |= XkbInternalModsMask;
+                checkState = True;
+            }
+        }
+    }
+    if (changed & xkb->ctrls->ignore_lock.vmods) {
+        unsigned int newMask;
+
+        XkbVirtualModsToReal(xkb, xkb->ctrls->ignore_lock.vmods, &newMask);
+        newMask |= xkb->ctrls->ignore_lock.real_mods;
+        if (xkb->ctrls->ignore_lock.mask != newMask) {
+            xkb->ctrls->ignore_lock.mask = newMask;
+            if (changes) {
+                changes->ctrls.changed_ctrls |= XkbIgnoreLockModsMask;
+                checkState = True;
+            }
+        }
+    }
+    if (xkb->indicators != NULL) {
+        XkbIndicatorMapPtr map;
+
+        map = &xkb->indicators->maps[0];
+        for (i = 0; i < XkbNumIndicators; i++, map++) {
+            if (map->mods.vmods & changed) {
+                unsigned int newMask;
+
+                XkbVirtualModsToReal(xkb, map->mods.vmods, &newMask);
+                newMask |= map->mods.real_mods;
+                if (newMask != map->mods.mask) {
+                    map->mods.mask = newMask;
+                    if (changes) {
+                        changes->indicators.map_changes |= (1 << i);
+                        checkState = True;
+                    }
+                }
+            }
+        }
+    }
+    if (xkb->compat != NULL) {
+        XkbCompatMapPtr compat;
+
+        compat = xkb->compat;
+        for (i = 0; i < XkbNumKbdGroups; i++) {
+            unsigned int newMask;
+
+            XkbVirtualModsToReal(xkb, compat->groups[i].vmods, &newMask);
+            newMask |= compat->groups[i].real_mods;
+            if (compat->groups[i].mask != newMask) {
+                compat->groups[i].mask = newMask;
+                if (changes) {
+                    changes->compat.changed_groups |= (1 << i);
+                    checkState = True;
+                }
+            }
+        }
     }
     if (xkb->map && xkb->server) {
-       int highChange = 0, lowChange = -1;
-       for (i=xkb->min_key_code;i<=xkb->max_key_code;i++) {
-           if (XkbKeyHasActions(xkb,i)) {
-               register XkbAction *pAct;
-               register int n;
-
-               pAct= XkbKeyActionsPtr(xkb,i);
-               for (n=XkbKeyNumActions(xkb,i);n>0;n--,pAct++) {
-                   if ((pAct->type!=XkbSA_NoAction)&&
-                       XkbUpdateActionVirtualMods(xkb,pAct,changed)) {
-                       if (lowChange<0)
-                           lowChange= i;
-                       highChange= i;
-                   }
-               }
-           }
-       }
-       if (changes && (lowChange>0)) { /* something changed */
-           if (changes->map.changed&XkbKeyActionsMask) {
-               int last;
-               if (changes->map.first_key_act<lowChange)
-                   lowChange= changes->map.first_key_act;
-               last= changes->map.first_key_act+changes->map.num_key_acts-1;
-               if (last>highChange)
-                   highChange= last;
-           }
-           changes->map.changed|=      XkbKeyActionsMask;
-           changes->map.first_key_act= lowChange;
-           changes->map.num_key_acts=  (highChange-lowChange)+1;
-       }
+        int highChange = 0, lowChange = -1;
+
+        for (i = xkb->min_key_code; i <= xkb->max_key_code; i++) {
+            if (XkbKeyHasActions(xkb, i)) {
+                register XkbAction *pAct;
+                register int n;
+
+                pAct = XkbKeyActionsPtr(xkb, i);
+                for (n = XkbKeyNumActions(xkb, i); n > 0; n--, pAct++) {
+                    if ((pAct->type != XkbSA_NoAction) &&
+                        XkbUpdateActionVirtualMods(xkb, pAct, changed)) {
+                        if (lowChange < 0)
+                            lowChange = i;
+                        highChange = i;
+                    }
+                }
+            }
+        }
+        if (changes && (lowChange > 0)) {       /* something changed */
+            if (changes->map.changed & XkbKeyActionsMask) {
+                int last;
+
+                if (changes->map.first_key_act < lowChange)
+                    lowChange = changes->map.first_key_act;
+                last =
+                    changes->map.first_key_act + changes->map.num_key_acts - 1;
+                if (last > highChange)
+                    highChange = last;
+            }
+            changes->map.changed |= XkbKeyActionsMask;
+            changes->map.first_key_act = lowChange;
+            changes->map.num_key_acts = (highChange - lowChange) + 1;
+        }
     }
     return checkState;
 }
index cf2382c..3f2fd39 100644 (file)
@@ -34,232 +34,240 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 
 static Status
-_XkbReadAtoms( XkbReadBufferPtr        buf,
-               Atom *                  atoms,
-               int                     maxAtoms,
-               CARD32                  present)
+_XkbReadAtoms(XkbReadBufferPtr buf,
+              Atom *atoms,
+              int maxAtoms,
+              CARD32 present)
 {
-register int i,bit;
+    register int i, bit;
 
-    for (i=0,bit=1;(i<maxAtoms)&&(present);i++,bit<<=1) {
-       if (present&bit) {
-           if (!_XkbReadBufferCopy32(buf,(long *)&atoms[i],1))
-               return BadLength;
-           present&= ~bit;
-       }
+    for (i = 0, bit = 1; (i < maxAtoms) && (present); i++, bit <<= 1) {
+        if (present & bit) {
+            if (!_XkbReadBufferCopy32(buf, (long *) &atoms[i], 1))
+                return BadLength;
+            present &= ~bit;
+        }
     }
     return Success;
 }
 
 Status
-_XkbReadGetNamesReply( Display *               dpy,
-                       xkbGetNamesReply *      rep,
-                       XkbDescPtr              xkb,
-                       int *                   nread_rtrn)
+_XkbReadGetNamesReply(Display *dpy,
+                      xkbGetNamesReply *rep,
+                      XkbDescPtr xkb,
+                      int *nread_rtrn)
 {
-    int                                 i,len;
-    XkbReadBufferRec            buf;
-    register XkbNamesPtr        names;
+    int i, len;
+    XkbReadBufferRec buf;
+    register XkbNamesPtr names;
 
-    if ( xkb->device_spec == XkbUseCoreKbd )
-       xkb->device_spec = rep->deviceID;
+    if (xkb->device_spec == XkbUseCoreKbd)
+        xkb->device_spec = rep->deviceID;
 
-    if ((xkb->names==NULL)&&
-       (XkbAllocNames(xkb,rep->which,
-                               rep->nRadioGroups,rep->nKeyAliases)!=Success)) {
-       return BadAlloc;
+    if ((xkb->names == NULL) &&
+        (XkbAllocNames(xkb, rep->which,
+                       rep->nRadioGroups, rep->nKeyAliases) != Success)) {
+        return BadAlloc;
     }
-    names= xkb->names;
-    if (rep->length==0)
-       return Success;
+    names = xkb->names;
+    if (rep->length == 0)
+        return Success;
 
-    if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
-       return BadAlloc;
+    if (!_XkbInitReadBuffer(dpy, &buf, (int) rep->length * 4))
+        return BadAlloc;
     if (nread_rtrn)
-       *nread_rtrn= (int)rep->length*4;
-
-    if ((rep->which&XkbKeycodesNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->keycodes,1)))
-           goto BAILOUT;
-    if ((rep->which&XkbGeometryNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->geometry,1)))
-           goto BAILOUT;
-    if ((rep->which&XkbSymbolsNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->symbols,1)))
-           goto BAILOUT;
-    if ((rep->which&XkbPhysSymbolsNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->phys_symbols,1)))
-           goto BAILOUT;
-    if ((rep->which&XkbTypesNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->types,1)))
-           goto BAILOUT;
-    if ((rep->which&XkbCompatNameMask)&&
-       (!_XkbReadBufferCopy32(&buf,(long *)&names->compat,1)))
-           goto BAILOUT;
-
-    if ( rep->which & XkbKeyTypeNamesMask ) {
-       XkbClientMapPtr map= xkb->map;
-       XkbKeyTypePtr   type;
-
-       len= rep->nTypes*4;
-       if (map!=NULL) {
-           type= map->types;
-           for (i=0;(i<map->num_types)&&(i<rep->nTypes);i++,type++) {
-               if (!_XkbReadBufferCopy32(&buf,(long *)&type->name,1))
-                   goto BAILOUT;
-               len-= 4;
-           }
-       }
-       if ((len>0)&&(!_XkbSkipReadBufferData(&buf,len)))
-           goto BAILOUT;
-    }
-    if ( rep->which&XkbKTLevelNamesMask ) {
-       CARD8 *nLevels;
-       XkbClientMapPtr map= xkb->map;
-       XkbKeyTypePtr   type;
-
-       nLevels=(CARD8*)_XkbGetReadBufferPtr(&buf,XkbPaddedSize(rep->nTypes));
-       if (nLevels==NULL)
-           goto BAILOUT;
-       if (map!=NULL) {
-           type= map->types;
-           for (i=0;i<(int)rep->nTypes;i++,type++) {
-               if (i>=map->num_types) {
-                   if (!_XkbSkipReadBufferData(&buf,nLevels[i]*4))
-                       goto BAILOUT;
-                   continue;
-               }
-               if ((nLevels[i]>0)&&(nLevels[i]!=type->num_levels)) {
-                   goto BAILOUT;
-               }
-               if (type->level_names!=NULL)
-                   Xfree(type->level_names);
-               if (nLevels[i]==0) {
-                   type->level_names= NULL;
-                   continue;
-               }
-               type->level_names= _XkbTypedCalloc(nLevels[i],Atom);
-               if (type->level_names!=NULL) {
-                   if (!_XkbReadBufferCopy32(&buf,(long *)type->level_names,
-                                                               nLevels[i]))
-                       goto BAILOUT;
-               }
-               else {
-                   _XkbSkipReadBufferData(&buf,nLevels[i]*4);
-               }
-           }
-       }
-       else {
-           for (i=0;i<(int)rep->nTypes;i++) {
-               _XkbSkipReadBufferData(&buf,nLevels[i]*4);
-           }
-       }
+        *nread_rtrn = (int) rep->length * 4;
+
+    if ((rep->which & XkbKeycodesNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->keycodes, 1)))
+        goto BAILOUT;
+    if ((rep->which & XkbGeometryNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->geometry, 1)))
+        goto BAILOUT;
+    if ((rep->which & XkbSymbolsNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->symbols, 1)))
+        goto BAILOUT;
+    if ((rep->which & XkbPhysSymbolsNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->phys_symbols, 1)))
+        goto BAILOUT;
+    if ((rep->which & XkbTypesNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->types, 1)))
+        goto BAILOUT;
+    if ((rep->which & XkbCompatNameMask) &&
+        (!_XkbReadBufferCopy32(&buf, (long *) &names->compat, 1)))
+        goto BAILOUT;
+
+    if (rep->which & XkbKeyTypeNamesMask) {
+        XkbClientMapPtr map = xkb->map;
+        XkbKeyTypePtr type;
+
+        len = rep->nTypes * 4;
+        if (map != NULL) {
+            type = map->types;
+            for (i = 0; (i < map->num_types) && (i < rep->nTypes); i++, type++) {
+                if (!_XkbReadBufferCopy32(&buf, (long *) &type->name, 1))
+                    goto BAILOUT;
+                len -= 4;
+            }
+        }
+        if ((len > 0) && (!_XkbSkipReadBufferData(&buf, len)))
+            goto BAILOUT;
+    }
+    if (rep->which & XkbKTLevelNamesMask) {
+        CARD8 *nLevels;
+        XkbClientMapPtr map = xkb->map;
+
+        nLevels =
+            (CARD8 *) _XkbGetReadBufferPtr(&buf, XkbPaddedSize(rep->nTypes));
+        if (nLevels == NULL)
+            goto BAILOUT;
+        if (map != NULL) {
+            XkbKeyTypePtr type = map->types;
+
+            for (i = 0; i < (int) rep->nTypes; i++, type++) {
+                if (i >= map->num_types) {
+                    if (!_XkbSkipReadBufferData(&buf, nLevels[i] * 4))
+                        goto BAILOUT;
+                    continue;
+                }
+                if ((nLevels[i] > 0) && (nLevels[i] != type->num_levels)) {
+                    goto BAILOUT;
+                }
+                if (type->level_names != NULL)
+                    Xfree(type->level_names);
+                if (nLevels[i] == 0) {
+                    type->level_names = NULL;
+                    continue;
+                }
+                type->level_names = _XkbTypedCalloc(nLevels[i], Atom);
+                if (type->level_names != NULL) {
+                    if (!_XkbReadBufferCopy32(&buf, (long *) type->level_names,
+                                              nLevels[i]))
+                        goto BAILOUT;
+                }
+                else {
+                    _XkbSkipReadBufferData(&buf, nLevels[i] * 4);
+                }
+            }
+        }
+        else {
+            for (i = 0; i < (int) rep->nTypes; i++) {
+                _XkbSkipReadBufferData(&buf, nLevels[i] * 4);
+            }
+        }
     }
     if (rep->which & XkbIndicatorNamesMask) {
-       if (_XkbReadAtoms(&buf,names->indicators,XkbNumIndicators,
-                                               rep->indicators)!=Success)
-           goto BAILOUT;
-    }
-    if ( rep->which&XkbVirtualModNamesMask ) {
-       if (_XkbReadAtoms(&buf,names->vmods,XkbNumVirtualMods,
-                                       (CARD32)rep->virtualMods)!=Success)
-           goto BAILOUT;
-    }
-    if ( rep->which&XkbGroupNamesMask ) {
-       if (_XkbReadAtoms(&buf,names->groups,XkbNumKbdGroups,
-                                       (CARD32)rep->groupNames)!=Success)
-           goto BAILOUT;
-    }
-    if ( rep->which&XkbKeyNamesMask ) {
-       if (names->keys==NULL) {
-           int nKeys;
-           if (xkb->max_key_code==0) {
-               xkb->min_key_code= rep->minKeyCode;
-               xkb->max_key_code= rep->maxKeyCode;
-           }
-           nKeys= xkb->max_key_code+1;
-           names->keys= _XkbTypedCalloc(nKeys,XkbKeyNameRec);
-       }
-       if (names->keys!=NULL) {
-           if (!_XkbCopyFromReadBuffer(&buf,
-                                       (char *)&names->keys[rep->firstKey],
-                                       rep->nKeys*XkbKeyNameLength))
-               goto BAILOUT;
-       }
-       else _XkbSkipReadBufferData(&buf,rep->nKeys*XkbKeyNameLength);
-    }
-    if ( rep->which&XkbKeyAliasesMask && (rep->nKeyAliases>0) ) {
-       if (XkbAllocNames(xkb,XkbKeyAliasesMask,0,rep->nKeyAliases)!=Success)
-           goto BAILOUT;
-       if (!_XkbCopyFromReadBuffer(&buf,(char *)names->key_aliases,
-                               rep->nKeyAliases*XkbKeyNameLength*2))
-           goto BAILOUT;
-    }
-    if ( rep->which&XkbRGNamesMask ) {
-       if (rep->nRadioGroups>0) {
-           Atom *rgNames;
-
-           if (names->radio_groups==NULL)
-               names->radio_groups = _XkbTypedCalloc(rep->nRadioGroups,Atom);
-           else if (names->num_rg<rep->nRadioGroups) {
-               names->radio_groups = _XkbTypedRealloc(names->radio_groups,
-                                                       rep->nRadioGroups,
-                                                       Atom);
-           }
-           rgNames= names->radio_groups;
-           if (!rgNames) {
-               goto BAILOUT;
-           }
-           if (!_XkbReadBufferCopy32(&buf,(long *)rgNames,rep->nRadioGroups))
-               goto BAILOUT;
-           names->num_rg= rep->nRadioGroups;
-       }
-       else if (names->num_rg>0) {
-           names->num_rg= 0;
-           Xfree(names->radio_groups);
-       }
-    }
-    len= _XkbFreeReadBuffer(&buf);
-    if (len!=0)        return BadLength;
-    else               return Success;
-BAILOUT:
+        if (_XkbReadAtoms(&buf, names->indicators, XkbNumIndicators,
+                          rep->indicators) != Success)
+            goto BAILOUT;
+    }
+    if (rep->which & XkbVirtualModNamesMask) {
+        if (_XkbReadAtoms(&buf, names->vmods, XkbNumVirtualMods,
+                          (CARD32) rep->virtualMods) != Success)
+            goto BAILOUT;
+    }
+    if (rep->which & XkbGroupNamesMask) {
+        if (_XkbReadAtoms(&buf, names->groups, XkbNumKbdGroups,
+                          (CARD32) rep->groupNames) != Success)
+            goto BAILOUT;
+    }
+    if (rep->which & XkbKeyNamesMask) {
+        if (names->keys == NULL) {
+            int nKeys;
+
+            if (xkb->max_key_code == 0) {
+                xkb->min_key_code = rep->minKeyCode;
+                xkb->max_key_code = rep->maxKeyCode;
+            }
+            nKeys = xkb->max_key_code + 1;
+            names->keys = _XkbTypedCalloc(nKeys, XkbKeyNameRec);
+        }
+        if (((int) rep->firstKey + rep->nKeys) > xkb->max_key_code + 1)
+            goto BAILOUT;
+        if (names->keys != NULL) {
+            if (!_XkbCopyFromReadBuffer(&buf,
+                                        (char *) &names->keys[rep->firstKey],
+                                        rep->nKeys * XkbKeyNameLength))
+                goto BAILOUT;
+        }
+        else
+            _XkbSkipReadBufferData(&buf, rep->nKeys * XkbKeyNameLength);
+    }
+    if (rep->which & XkbKeyAliasesMask && (rep->nKeyAliases > 0)) {
+        if (XkbAllocNames(xkb, XkbKeyAliasesMask, 0, rep->nKeyAliases) !=
+            Success)
+            goto BAILOUT;
+        if (!_XkbCopyFromReadBuffer(&buf, (char *) names->key_aliases,
+                                    rep->nKeyAliases * XkbKeyNameLength * 2))
+            goto BAILOUT;
+    }
+    if (rep->which & XkbRGNamesMask) {
+        if (rep->nRadioGroups > 0) {
+            Atom *rgNames;
+
+            if (names->radio_groups == NULL)
+                names->radio_groups = _XkbTypedCalloc(rep->nRadioGroups, Atom);
+            else if (names->num_rg < rep->nRadioGroups) {
+                names->radio_groups = _XkbTypedRealloc(names->radio_groups,
+                                                       rep->nRadioGroups, Atom);
+            }
+            rgNames = names->radio_groups;
+            if (!rgNames) {
+                goto BAILOUT;
+            }
+            if (!_XkbReadBufferCopy32
+                (&buf, (long *) rgNames, rep->nRadioGroups))
+                goto BAILOUT;
+            names->num_rg = rep->nRadioGroups;
+        }
+        else if (names->num_rg > 0) {
+            names->num_rg = 0;
+            Xfree(names->radio_groups);
+        }
+    }
+    len = _XkbFreeReadBuffer(&buf);
+    if (len != 0)
+        return BadLength;
+    else
+        return Success;
+ BAILOUT:
     _XkbFreeReadBuffer(&buf);
     return BadLength;
 }
 
 Status
-XkbGetNames(Display *dpy,unsigned which,XkbDescPtr xkb)
+XkbGetNames(Display *dpy, unsigned which, XkbDescPtr xkb)
 {
     register xkbGetNamesReq *req;
-    xkbGetNamesReply        rep;
-    Status                  status;
+    xkbGetNamesReply rep;
+    Status status;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     if (!xkb->names) {
-       xkb->names = _XkbTypedCalloc(1,XkbNamesRec);
-       if (!xkb->names) {
-           UnlockDisplay(dpy);
-           SyncHandle();
-           return BadAlloc;
-       }
+        xkb->names = _XkbTypedCalloc(1, XkbNamesRec);
+        if (!xkb->names) {
+            UnlockDisplay(dpy);
+            SyncHandle();
+            return BadAlloc;
+        }
     }
     GetReq(kbGetNames, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetNames;
     req->deviceSpec = xkb->device_spec;
     req->which = which;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadImplementation;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadImplementation;
     }
 
-    status = _XkbReadGetNamesReply(dpy,&rep,xkb,NULL);
+    status = _XkbReadGetNamesReply(dpy, &rep, xkb, NULL);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
@@ -268,12 +276,12 @@ XkbGetNames(Display *dpy,unsigned which,XkbDescPtr xkb)
 /***====================================================================***/
 
 static int
-_XkbCountBits(int nBitsMax,unsigned long mask)
+_XkbCountBits(int nBitsMax, unsigned long mask)
 {
-register unsigned long y, nBits;
+    register unsigned long y, nBits;
 
-    y = (mask >> 1) &033333333333;
-    y = mask - y - ((y >>1) & 033333333333);
+    y = (mask >> 1) & 033333333333;
+    y = mask - y - ((y >> 1) & 033333333333);
     nBits = ((unsigned int) (((y + (y >> 3)) & 030707070707) % 077));
 
     /* nBitsMax really means max+1 */
@@ -281,85 +289,87 @@ register unsigned long y, nBits;
 }
 
 static CARD32
-_XkbCountAtoms(Atom *atoms,int maxAtoms,int *count)
+_XkbCountAtoms(Atom *atoms, int maxAtoms, int *count)
 {
-register unsigned int i,bit,nAtoms;
-register CARD32 atomsPresent;
+    register unsigned int i, bit, nAtoms;
+    register CARD32 atomsPresent;
 
-    for (i=nAtoms=atomsPresent=0,bit=1;i<maxAtoms;i++,bit<<=1) {
-        if (atoms[i]!=None) {
-            atomsPresent|= bit;
+    for (i = nAtoms = atomsPresent = 0, bit = 1; i < maxAtoms; i++, bit <<= 1) {
+        if (atoms[i] != None) {
+            atomsPresent |= bit;
             nAtoms++;
         }
     }
     if (count)
-        *count= nAtoms;
+        *count = nAtoms;
     return atomsPresent;
 }
 
 static void
-_XkbCopyAtoms(Display *dpy,Atom *atoms,CARD32 mask,int maxAtoms)
+_XkbCopyAtoms(Display *dpy, Atom *atoms, CARD32 mask, int maxAtoms)
 {
-register unsigned int i,bit;
+    register unsigned int i, bit;
 
-    for (i=0,bit=1;i<maxAtoms;i++,bit<<=1) {
-        if (mask&bit)
-           Data32(dpy,&atoms[i],4);
+    for (i = 0, bit = 1; i < maxAtoms; i++, bit <<= 1) {
+        if (mask & bit)
+            Data32(dpy, &atoms[i], 4);
     }
     return;
 }
 
 Bool
-XkbSetNames(   Display *       dpy,
-               unsigned int    which,
-               unsigned int    firstType,
-               unsigned int    nTypes,
-               XkbDescPtr      xkb)
+XkbSetNames(Display *dpy,
+            unsigned int which,
+            unsigned int firstType,
+            unsigned int nTypes,
+            XkbDescPtr xkb)
 {
     register xkbSetNamesReq *req;
-    int  nLvlNames = 0;
+    int nLvlNames = 0;
     XkbInfoPtr xkbi;
     XkbNamesPtr names;
-    unsigned firstLvlType,nLvlTypes;
-    int        nVMods,nLEDs,nRG,nKA,nGroups;
-    int nKeys=0,firstKey=0,nAtoms;
-    CARD32 leds,vmods,groups;
+    unsigned firstLvlType, nLvlTypes;
+    int nVMods, nLEDs, nRG, nKA, nGroups;
+    int nKeys = 0, firstKey = 0, nAtoms;
+    CARD32 leds, vmods, groups;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!xkb)||(!xkb->names))
-       return False;
-    firstLvlType= firstType;
-    nLvlTypes= nTypes;
-    if (nTypes<1)
-       which&= ~(XkbKTLevelNamesMask|XkbKeyTypeNamesMask);
-    else if (firstType<=XkbLastRequiredType) {
-       int     adjust;
-       adjust= XkbLastRequiredType-firstType+1;
-       firstType+= adjust;
-       nTypes-= adjust;
-       if (nTypes<1)
-           which&= ~XkbKeyTypeNamesMask;
-    }
-    names= xkb->names;
-    if (which&(XkbKTLevelNamesMask|XkbKeyTypeNamesMask)) {
-       register int    i;
-       XkbKeyTypePtr   type;
-       if((xkb->map==NULL)||(xkb->map->types==NULL)||(nTypes==0)||
-                               (firstType+nTypes>xkb->map->num_types)||
-                               (firstLvlType+nLvlTypes>xkb->map->num_types))
-           return False;
-       if (which&XkbKTLevelNamesMask) {
-           type= &xkb->map->types[firstLvlType];
-           for (i=nLvlNames=0;i<nLvlTypes;i++,type++) {
-               if (type->level_names!=NULL)
-                   nLvlNames+= type->num_levels;
-           }
-       }
-    }
-
-    nVMods= nLEDs= nRG= nKA= nAtoms= nGroups= 0;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!xkb) || (!xkb->names))
+        return False;
+    firstLvlType = firstType;
+    nLvlTypes = nTypes;
+    if (nTypes < 1)
+        which &= ~(XkbKTLevelNamesMask | XkbKeyTypeNamesMask);
+    else if (firstType <= XkbLastRequiredType) {
+        int adjust;
+
+        adjust = XkbLastRequiredType - firstType + 1;
+        firstType += adjust;
+        nTypes -= adjust;
+        if (nTypes < 1)
+            which &= ~XkbKeyTypeNamesMask;
+    }
+    names = xkb->names;
+    if (which & (XkbKTLevelNamesMask | XkbKeyTypeNamesMask)) {
+        register int i;
+        XkbKeyTypePtr type;
+
+        if ((xkb->map == NULL) || (xkb->map->types == NULL) || (nTypes == 0) ||
+            (firstType + nTypes > xkb->map->num_types) ||
+            (firstLvlType + nLvlTypes > xkb->map->num_types))
+            return False;
+        if (which & XkbKTLevelNamesMask) {
+            type = &xkb->map->types[firstLvlType];
+            for (i = nLvlNames = 0; i < nLvlTypes; i++, type++) {
+                if (type->level_names != NULL)
+                    nLvlNames += type->num_levels;
+            }
+        }
+    }
+
+    nVMods = nLEDs = nRG = nKA = nAtoms = nGroups = 0;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetNames, req);
@@ -369,166 +379,149 @@ XkbSetNames(    Display *       dpy,
     req->firstType = firstType;
     req->nTypes = nTypes;
     req->firstKey = xkb->min_key_code;
-    req->nKeys = xkb->max_key_code-xkb->min_key_code+1;
-
-    if (which&XkbKeycodesNameMask)
-       nAtoms++;
-    if (which&XkbGeometryNameMask)
-       nAtoms++;
-    if (which&XkbSymbolsNameMask)
-       nAtoms++;
-    if (which&XkbPhysSymbolsNameMask)
-       nAtoms++;
-    if (which&XkbTypesNameMask)
-       nAtoms++;
-    if (which&XkbCompatNameMask)
-       nAtoms++;
-    if (which&XkbKeyTypeNamesMask)
-       nAtoms+= nTypes;
-    if (which&XkbKTLevelNamesMask) {
-       req->firstKTLevel= firstLvlType;
-       req->nKTLevels= nLvlTypes;
-       req->length+= XkbPaddedSize(nLvlTypes)/4; /* room for group widths */
-       nAtoms+= nLvlNames;
-    }
-    else req->firstKTLevel= req->nKTLevels= 0;
-
-    if (which&XkbIndicatorNamesMask) {
-       req->indicators= leds=
-               _XkbCountAtoms(names->indicators,XkbNumIndicators,&nLEDs);
-       if (nLEDs>0)
-            nAtoms+= nLEDs;
-       else which&= ~XkbIndicatorNamesMask;
-    }
-    else req->indicators= leds= 0;
-
-    if (which&XkbVirtualModNamesMask) {
-       vmods= req->virtualMods= (CARD16)
-               _XkbCountAtoms(names->vmods,XkbNumVirtualMods,&nVMods);
-       if (nVMods>0)
-            nAtoms+= nVMods;
-       else which&= ~XkbVirtualModNamesMask;
-    }
-    else vmods= req->virtualMods= 0;
-
-    if (which&XkbGroupNamesMask) {
-       groups= req->groupNames= (CARD8)
-               _XkbCountAtoms(names->groups,XkbNumKbdGroups,&nGroups);
-       if (nGroups>0)
-            nAtoms+= nGroups;
-       else which&= ~XkbGroupNamesMask;
-    }
-    else groups= req->groupNames= 0;
-
-    if ((which&XkbKeyNamesMask)&&(names->keys!=NULL)) {
-       firstKey= req->firstKey;
-       nKeys= req->nKeys;
-       nAtoms+= nKeys; /* technically not atoms, but 4 bytes wide */
-    }
-    else which&= ~XkbKeyNamesMask;
-
-    if (which&XkbKeyAliasesMask) {
-       nKA= ((names->key_aliases!=NULL)?names->num_key_aliases:0);
-       if (nKA>0) {
-           req->nKeyAliases= nKA;
-           nAtoms+= nKA*2; /* not atoms, but 8 bytes on the wire */
-       }
-       else {
-           which&= ~XkbKeyAliasesMask;
-           req->nKeyAliases = 0;
-       }
-    }
-    else req->nKeyAliases= 0;
-
-    if (which&XkbRGNamesMask) {
-       nRG= names->num_rg;
-       if (nRG>0)
-            nAtoms+= nRG;
-       else which&= ~XkbRGNamesMask;
-    }
-
-    req->which= which;
-    req->nRadioGroups= nRG;
-    req->length+= (nAtoms*4)/4;
-
-    if (which&XkbKeycodesNameMask)
-       Data32(dpy,(long *)&names->keycodes,4);
-    if (which&XkbGeometryNameMask)
-       Data32(dpy,(long *)&names->geometry,4);
-    if (which&XkbSymbolsNameMask)
-       Data32(dpy,(long *)&names->symbols,4);
-    if (which&XkbPhysSymbolsNameMask)
-       Data32(dpy,(long *)&names->phys_symbols,4);
-    if (which&XkbTypesNameMask)
-       Data32(dpy,(long *)&names->types,4);
-    if (which&XkbCompatNameMask)
-       Data32(dpy,(long *)&names->compat,4);
-    if (which&XkbKeyTypeNamesMask) {
-       register int            i;
-       register XkbKeyTypePtr  type;
-       type= &xkb->map->types[firstType];
-       for (i=0;i<nTypes;i++,type++) {
-           Data32(dpy,(long *)&type->name,4);
-       }
-    }
-    if (which&XkbKTLevelNamesMask) {
-       XkbKeyTypePtr type;
-       int i;
-       char *tmp;
-
-       BufAlloc(char *,tmp,XkbPaddedSize(nLvlTypes));
-       type = &xkb->map->types[firstLvlType];
-       for (i=0;i<nLvlTypes;i++,type++) {
-           *tmp++ = type->num_levels;
-       }
-       type = &xkb->map->types[firstLvlType];
-       for (i=0;i<nLvlTypes;i++,type++) {
-           if (type->level_names!=NULL)
-               Data32(dpy,(long *)type->level_names,type->num_levels*4);
-       }
-    }
-    if (which&XkbIndicatorNamesMask)
-       _XkbCopyAtoms(dpy,names->indicators,leds,XkbNumIndicators);
-    if (which&XkbVirtualModNamesMask)
-       _XkbCopyAtoms(dpy,names->vmods,vmods,XkbNumVirtualMods);
-    if (which&XkbGroupNamesMask)
-       _XkbCopyAtoms(dpy,names->groups,groups,XkbNumKbdGroups);
-    if (which&XkbKeyNamesMask) {
-#ifdef WORD64
-       char *tmp;
-       register int i;
-       BufAlloc(char *,tmp,nKeys*XkbKeyNameLength);
-       for (i=0;i<nKeys;i++,tmp+= XkbKeyNameLength) {
-           tmp[0]= names->keys[firstKey+i].name[0];
-           tmp[1]= names->keys[firstKey+i].name[1];
-           tmp[2]= names->keys[firstKey+i].name[2];
-           tmp[3]= names->keys[firstKey+i].name[3];
-       }
-#else
-       Data(dpy,(char *)&names->keys[firstKey],nKeys*XkbKeyNameLength);
-#endif
+    req->nKeys = xkb->max_key_code - xkb->min_key_code + 1;
+
+    if (which & XkbKeycodesNameMask)
+        nAtoms++;
+    if (which & XkbGeometryNameMask)
+        nAtoms++;
+    if (which & XkbSymbolsNameMask)
+        nAtoms++;
+    if (which & XkbPhysSymbolsNameMask)
+        nAtoms++;
+    if (which & XkbTypesNameMask)
+        nAtoms++;
+    if (which & XkbCompatNameMask)
+        nAtoms++;
+    if (which & XkbKeyTypeNamesMask)
+        nAtoms += nTypes;
+    if (which & XkbKTLevelNamesMask) {
+        req->firstKTLevel = firstLvlType;
+        req->nKTLevels = nLvlTypes;
+        req->length += XkbPaddedSize(nLvlTypes) / 4;    /* room for group widths */
+        nAtoms += nLvlNames;
+    }
+    else
+        req->firstKTLevel = req->nKTLevels = 0;
+
+    if (which & XkbIndicatorNamesMask) {
+        req->indicators = leds =
+            _XkbCountAtoms(names->indicators, XkbNumIndicators, &nLEDs);
+        if (nLEDs > 0)
+            nAtoms += nLEDs;
+        else
+            which &= ~XkbIndicatorNamesMask;
+    }
+    else
+        req->indicators = leds = 0;
+
+    if (which & XkbVirtualModNamesMask) {
+        vmods = req->virtualMods = (CARD16)
+            _XkbCountAtoms(names->vmods, XkbNumVirtualMods, &nVMods);
+        if (nVMods > 0)
+            nAtoms += nVMods;
+        else
+            which &= ~XkbVirtualModNamesMask;
+    }
+    else
+        vmods = req->virtualMods = 0;
+
+    if (which & XkbGroupNamesMask) {
+        groups = req->groupNames = (CARD8)
+            _XkbCountAtoms(names->groups, XkbNumKbdGroups, &nGroups);
+        if (nGroups > 0)
+            nAtoms += nGroups;
+        else
+            which &= ~XkbGroupNamesMask;
+    }
+    else
+        groups = req->groupNames = 0;
+
+    if ((which & XkbKeyNamesMask) && (names->keys != NULL)) {
+        firstKey = req->firstKey;
+        nKeys = req->nKeys;
+        nAtoms += nKeys;        /* technically not atoms, but 4 bytes wide */
+    }
+    else
+        which &= ~XkbKeyNamesMask;
+
+    if (which & XkbKeyAliasesMask) {
+        nKA = ((names->key_aliases != NULL) ? names->num_key_aliases : 0);
+        if (nKA > 0) {
+            req->nKeyAliases = nKA;
+            nAtoms += nKA * 2;  /* not atoms, but 8 bytes on the wire */
+        }
+        else {
+            which &= ~XkbKeyAliasesMask;
+            req->nKeyAliases = 0;
+        }
     }
-    if (which&XkbKeyAliasesMask) {
-#ifdef WORD64
-       char *tmp;
-       register int i;
-       BufAlloc(char *,tmp,nKA*XkbKeyNameLength*2);
-       for (i=0;i<nKeys;i++,tmp+= 2*XkbKeyNameLength) {
-           tmp[0]= names->key_aliases[i].real[0];
-           tmp[1]= names->key_aliases[i].real[1];
-           tmp[2]= names->key_aliases[i].real[2];
-           tmp[3]= names->key_aliases[i].real[3];
-           tmp[4]= names->key_aliases[i].alias[0];
-           tmp[5]= names->key_aliases[i].alias[1];
-           tmp[6]= names->key_aliases[i].alias[2];
-           tmp[7]= names->key_aliases[i].alias[3];
-       }
-#else
-       Data(dpy,(char *)names->key_aliases,nKA*XkbKeyNameLength*2);
-#endif
+    else
+        req->nKeyAliases = 0;
+
+    if (which & XkbRGNamesMask) {
+        nRG = names->num_rg;
+        if (nRG > 0)
+            nAtoms += nRG;
+        else
+            which &= ~XkbRGNamesMask;
     }
-    if (which&XkbRGNamesMask) {
-       Data32(dpy,(long *)names->radio_groups,nRG*4);
+
+    req->which = which;
+    req->nRadioGroups = nRG;
+    req->length += (nAtoms * 4) / 4;
+
+    if (which & XkbKeycodesNameMask)
+        Data32(dpy, (long *) &names->keycodes, 4);
+    if (which & XkbGeometryNameMask)
+        Data32(dpy, (long *) &names->geometry, 4);
+    if (which & XkbSymbolsNameMask)
+        Data32(dpy, (long *) &names->symbols, 4);
+    if (which & XkbPhysSymbolsNameMask)
+        Data32(dpy, (long *) &names->phys_symbols, 4);
+    if (which & XkbTypesNameMask)
+        Data32(dpy, (long *) &names->types, 4);
+    if (which & XkbCompatNameMask)
+        Data32(dpy, (long *) &names->compat, 4);
+    if (which & XkbKeyTypeNamesMask) {
+        register int i;
+        register XkbKeyTypePtr type;
+
+        type = &xkb->map->types[firstType];
+        for (i = 0; i < nTypes; i++, type++) {
+            Data32(dpy, (long *) &type->name, 4);
+        }
+    }
+    if (which & XkbKTLevelNamesMask) {
+        XkbKeyTypePtr type;
+        int i;
+        char *tmp;
+
+        BufAlloc(char *, tmp, XkbPaddedSize(nLvlTypes));
+        type = &xkb->map->types[firstLvlType];
+        for (i = 0; i < nLvlTypes; i++, type++) {
+            *tmp++ = type->num_levels;
+        }
+        type = &xkb->map->types[firstLvlType];
+        for (i = 0; i < nLvlTypes; i++, type++) {
+            if (type->level_names != NULL)
+                Data32(dpy, (long *) type->level_names, type->num_levels * 4);
+        }
+    }
+    if (which & XkbIndicatorNamesMask)
+        _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators);
+    if (which & XkbVirtualModNamesMask)
+        _XkbCopyAtoms(dpy, names->vmods, vmods, XkbNumVirtualMods);
+    if (which & XkbGroupNamesMask)
+        _XkbCopyAtoms(dpy, names->groups, groups, XkbNumKbdGroups);
+    if (which & XkbKeyNamesMask) {
+        Data(dpy, (char *) &names->keys[firstKey], nKeys * XkbKeyNameLength);
+    }
+    if (which & XkbKeyAliasesMask) {
+        Data(dpy, (char *) names->key_aliases, nKA * XkbKeyNameLength * 2);
+    }
+    if (which & XkbRGNamesMask) {
+        Data32(dpy, (long *) names->radio_groups, nRG * 4);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -536,90 +529,94 @@ XkbSetNames(      Display *       dpy,
 }
 
 Bool
-XkbChangeNames(Display *dpy,XkbDescPtr xkb,XkbNameChangesPtr changes)
+XkbChangeNames(Display *dpy, XkbDescPtr xkb, XkbNameChangesPtr changes)
 {
     register xkbSetNamesReq *req;
-    int  nLvlNames = 0;
+    int nLvlNames = 0;
     XkbInfoPtr xkbi;
     XkbNamesPtr names;
-    unsigned which,firstType,nTypes;
-    unsigned firstLvlType,nLvlTypes;
-    int        nVMods,nLEDs,nRG,nKA,nGroups;
-    int nKeys=0,firstKey=0,nAtoms;
-    CARD32 leds=0,vmods=0,groups=0;
+    unsigned which, firstType, nTypes;
+    unsigned firstLvlType, nLvlTypes;
+    int nVMods, nLEDs, nRG, nKA, nGroups;
+    int nKeys = 0, firstKey = 0, nAtoms;
+    CARD32 leds = 0, vmods = 0, groups = 0;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!xkb)||(!xkb->names)||(!changes))
-       return False;
-    which= changes->changed;
-    firstType= changes->first_type;
-    nTypes= changes->num_types;
-    firstLvlType= changes->first_lvl;;
-    nLvlTypes= changes->num_lvls;
-    if (which&XkbKeyTypeNamesMask) {
-       if (nTypes<1)
-           which&= ~XkbKeyTypeNamesMask;
-       else if (firstType<=XkbLastRequiredType) {
-           int adjust;
-           adjust= XkbLastRequiredType-firstType+1;
-           firstType+= adjust;
-           nTypes-= adjust;
-           if (nTypes<1)
-               which&= ~XkbKeyTypeNamesMask;
-       }
-    }
-    else firstType= nTypes= 0;
-
-    if (which&XkbKTLevelNamesMask) {
-       if (nLvlTypes<1)
-           which&= ~XkbKTLevelNamesMask;
-    }
-    else firstLvlType= nLvlTypes= 0;
-
-    names= xkb->names;
-    if (which&(XkbKTLevelNamesMask|XkbKeyTypeNamesMask)) {
-       register int    i;
-       XkbKeyTypePtr   type;
-       if((xkb->map==NULL)||(xkb->map->types==NULL)||(nTypes==0)||
-                               (firstType+nTypes>xkb->map->num_types)||
-                               (firstLvlType+nLvlTypes>xkb->map->num_types))
-           return False;
-       if (which&XkbKTLevelNamesMask) {
-           type= &xkb->map->types[firstLvlType];
-           for (i=nLvlNames=0;i<nLvlTypes;i++,type++) {
-               if (type->level_names!=NULL)
-                   nLvlNames+= type->num_levels;
-           }
-       }
-    }
-
-    if (changes->num_keys<1)
-       which&= ~XkbKeyNamesMask;
-    if ((which&XkbKeyNamesMask)==0)
-       changes->first_key= changes->num_keys= 0;
-    else if ((changes->first_key<xkb->min_key_code)||
-            (changes->first_key+changes->num_keys>xkb->max_key_code)) {
-       return False;
-    }
-
-    if ((which&XkbVirtualModNamesMask)==0)
-       changes->changed_vmods= 0;
-    else if (changes->changed_vmods==0)
-       which&= ~XkbVirtualModNamesMask;
-
-    if ((which&XkbIndicatorNamesMask)==0)
-       changes->changed_indicators= 0;
-    else if (changes->changed_indicators==0)
-       which&= ~XkbIndicatorNamesMask;
-
-    if ((which&XkbGroupNamesMask)==0)
-       changes->changed_groups= 0;
-    else if (changes->changed_groups==0)
-       which&= ~XkbGroupNamesMask;
-
-    nVMods= nLEDs= nRG= nKA= nAtoms= nGroups= 0;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!xkb) || (!xkb->names) || (!changes))
+        return False;
+    which = changes->changed;
+    firstType = changes->first_type;
+    nTypes = changes->num_types;
+    firstLvlType = changes->first_lvl;;
+    nLvlTypes = changes->num_lvls;
+    if (which & XkbKeyTypeNamesMask) {
+        if (nTypes < 1)
+            which &= ~XkbKeyTypeNamesMask;
+        else if (firstType <= XkbLastRequiredType) {
+            int adjust;
+
+            adjust = XkbLastRequiredType - firstType + 1;
+            firstType += adjust;
+            nTypes -= adjust;
+            if (nTypes < 1)
+                which &= ~XkbKeyTypeNamesMask;
+        }
+    }
+    else
+        firstType = nTypes = 0;
+
+    if (which & XkbKTLevelNamesMask) {
+        if (nLvlTypes < 1)
+            which &= ~XkbKTLevelNamesMask;
+    }
+    else
+        firstLvlType = nLvlTypes = 0;
+
+    names = xkb->names;
+    if (which & (XkbKTLevelNamesMask | XkbKeyTypeNamesMask)) {
+        register int i;
+
+        if ((xkb->map == NULL) || (xkb->map->types == NULL) || (nTypes == 0) ||
+            (firstType + nTypes > xkb->map->num_types) ||
+            (firstLvlType + nLvlTypes > xkb->map->num_types))
+            return False;
+        if (which & XkbKTLevelNamesMask) {
+            XkbKeyTypePtr type = &xkb->map->types[firstLvlType];
+
+            for (i = nLvlNames = 0; i < nLvlTypes; i++, type++) {
+                if (type->level_names != NULL)
+                    nLvlNames += type->num_levels;
+            }
+        }
+    }
+
+    if (changes->num_keys < 1)
+        which &= ~XkbKeyNamesMask;
+    if ((which & XkbKeyNamesMask) == 0)
+        changes->first_key = changes->num_keys = 0;
+    else if ((changes->first_key < xkb->min_key_code) ||
+             (changes->first_key + changes->num_keys > xkb->max_key_code)) {
+        return False;
+    }
+
+    if ((which & XkbVirtualModNamesMask) == 0)
+        changes->changed_vmods = 0;
+    else if (changes->changed_vmods == 0)
+        which &= ~XkbVirtualModNamesMask;
+
+    if ((which & XkbIndicatorNamesMask) == 0)
+        changes->changed_indicators = 0;
+    else if (changes->changed_indicators == 0)
+        which &= ~XkbIndicatorNamesMask;
+
+    if ((which & XkbGroupNamesMask) == 0)
+        changes->changed_groups = 0;
+    else if (changes->changed_groups == 0)
+        which &= ~XkbGroupNamesMask;
+
+    nVMods = nLEDs = nRG = nKA = nAtoms = nGroups = 0;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetNames, req);
@@ -631,160 +628,143 @@ XkbChangeNames(Display *dpy,XkbDescPtr xkb,XkbNameChangesPtr changes)
     req->firstKey = changes->first_key;
     req->nKeys = changes->num_keys;
 
-    if (which&XkbKeycodesNameMask)
-       nAtoms++;
-    if (which&XkbGeometryNameMask)
-       nAtoms++;
-    if (which&XkbSymbolsNameMask)
-       nAtoms++;
-    if (which&XkbPhysSymbolsNameMask)
-       nAtoms++;
-    if (which&XkbTypesNameMask)
-       nAtoms++;
-    if (which&XkbCompatNameMask)
-       nAtoms++;
-    if (which&XkbKeyTypeNamesMask)
-       nAtoms+= nTypes;
-    if (which&XkbKTLevelNamesMask) {
-       req->firstKTLevel= firstLvlType;
-       req->nKTLevels= nLvlTypes;
-       req->length+= XkbPaddedSize(nLvlTypes)/4; /* room for group widths */
-       nAtoms+= nLvlNames;
-    }
-    else req->firstKTLevel= req->nKTLevels= 0;
-
-    if (which&XkbIndicatorNamesMask) {
-       leds= req->indicators= (CARD32)changes->changed_indicators;
-       nLEDs= _XkbCountBits(XkbNumIndicators,changes->changed_indicators);
-       if (nLEDs>0)
-            nAtoms+= nLEDs;
-       else which&= ~XkbIndicatorNamesMask;
-    }
-    else req->indicators= 0;
-
-    if (which&XkbVirtualModNamesMask) {
-       vmods= req->virtualMods= changes->changed_vmods;
-       nVMods= _XkbCountBits(XkbNumVirtualMods,
-                                       (unsigned long)changes->changed_vmods);
-       if (nVMods>0)
-            nAtoms+= nVMods;
-       else which&= ~XkbVirtualModNamesMask;
-    }
-    else req->virtualMods= 0;
-
-    if (which&XkbGroupNamesMask) {
-       groups= req->groupNames= changes->changed_groups;
-       nGroups= _XkbCountBits(XkbNumKbdGroups,
-                                       (unsigned long)changes->changed_groups);
-       if (nGroups>0)
-            nAtoms+= nGroups;
-       else which&= ~XkbGroupNamesMask;
-    }
-    else req->groupNames= 0;
-
-    if ((which&XkbKeyNamesMask)&&(names->keys!=NULL)) {
-       firstKey= req->firstKey;
-       nKeys= req->nKeys;
-       nAtoms+= nKeys; /* technically not atoms, but 4 bytes wide */
-    }
-    else which&= ~XkbKeyNamesMask;
-
-    if (which&XkbKeyAliasesMask) {
-       nKA= ((names->key_aliases!=NULL)?names->num_key_aliases:0);
-       if (nKA>0)
-           nAtoms+= nKA*2; /* not atoms, but 8 bytes on the wire */
-       else which&= ~XkbKeyAliasesMask;
-    }
-
-    if (which&XkbRGNamesMask) {
-       nRG= names->num_rg;
-       if (nRG>0)
-            nAtoms+= nRG;
-       else which&= ~XkbRGNamesMask;
-    }
-
-    req->which= which;
-    req->nRadioGroups= nRG;
-    req->length+= (nAtoms*4)/4;
-
-    if (which&XkbKeycodesNameMask)
-       Data32(dpy,(long *)&names->keycodes,4);
-    if (which&XkbGeometryNameMask)
-       Data32(dpy,(long *)&names->geometry,4);
-    if (which&XkbSymbolsNameMask)
-       Data32(dpy,(long *)&names->symbols,4);
-    if (which&XkbPhysSymbolsNameMask)
-       Data32(dpy,(long *)&names->phys_symbols,4);
-    if (which&XkbTypesNameMask)
-       Data32(dpy,(long *)&names->types,4);
-    if (which&XkbCompatNameMask)
-       Data32(dpy,(long *)&names->compat,4);
-    if (which&XkbKeyTypeNamesMask) {
-       register int            i;
-       register XkbKeyTypePtr  type;
-       type= &xkb->map->types[firstType];
-       for (i=0;i<nTypes;i++,type++) {
-           Data32(dpy,(long *)&type->name,4);
-       }
-    }
-    if (which&XkbKTLevelNamesMask) {
-       XkbKeyTypePtr type;
-       int i;
-       char *tmp;
-
-       BufAlloc(char *,tmp,XkbPaddedSize(nLvlTypes));
-       type = &xkb->map->types[firstLvlType];
-       for (i=0;i<nLvlTypes;i++,type++) {
-           *tmp++ = type->num_levels;
-       }
-       type = &xkb->map->types[firstLvlType];
-       for (i=0;i<nLvlTypes;i++,type++) {
-           if (type->level_names!=NULL)
-               Data32(dpy,(long *)type->level_names,type->num_levels*4);
-       }
-    }
-    if (which&XkbIndicatorNamesMask)
-       _XkbCopyAtoms(dpy,names->indicators,leds,XkbNumIndicators);
-    if (which&XkbVirtualModNamesMask)
-       _XkbCopyAtoms(dpy,names->vmods,vmods,XkbNumVirtualMods);
-    if (which&XkbGroupNamesMask)
-       _XkbCopyAtoms(dpy,names->groups,groups,XkbNumKbdGroups);
-    if (which&XkbKeyNamesMask) {
-#ifdef WORD64
-       char *tmp;
-       register int i;
-       BufAlloc(char *,tmp,nKeys*4);
-       for (i=0;i<nKeys;i++,tmp+= 4) {
-           tmp[0]= names->keys[firstKey+i].name[0];
-           tmp[1]= names->keys[firstKey+i].name[1];
-           tmp[2]= names->keys[firstKey+i].name[2];
-           tmp[3]= names->keys[firstKey+i].name[3];
-       }
-#else
-       Data(dpy,(char *)&names->keys[firstKey],nKeys*XkbKeyNameLength);
-#endif
+    if (which & XkbKeycodesNameMask)
+        nAtoms++;
+    if (which & XkbGeometryNameMask)
+        nAtoms++;
+    if (which & XkbSymbolsNameMask)
+        nAtoms++;
+    if (which & XkbPhysSymbolsNameMask)
+        nAtoms++;
+    if (which & XkbTypesNameMask)
+        nAtoms++;
+    if (which & XkbCompatNameMask)
+        nAtoms++;
+    if (which & XkbKeyTypeNamesMask)
+        nAtoms += nTypes;
+    if (which & XkbKTLevelNamesMask) {
+        req->firstKTLevel = firstLvlType;
+        req->nKTLevels = nLvlTypes;
+        req->length += XkbPaddedSize(nLvlTypes) / 4;    /* room for group widths */
+        nAtoms += nLvlNames;
+    }
+    else
+        req->firstKTLevel = req->nKTLevels = 0;
+
+    if (which & XkbIndicatorNamesMask) {
+        leds = req->indicators = (CARD32) changes->changed_indicators;
+        nLEDs = _XkbCountBits(XkbNumIndicators, changes->changed_indicators);
+        if (nLEDs > 0)
+            nAtoms += nLEDs;
+        else
+            which &= ~XkbIndicatorNamesMask;
+    }
+    else
+        req->indicators = 0;
+
+    if (which & XkbVirtualModNamesMask) {
+        vmods = req->virtualMods = changes->changed_vmods;
+        nVMods = _XkbCountBits(XkbNumVirtualMods,
+                               (unsigned long) changes->changed_vmods);
+        if (nVMods > 0)
+            nAtoms += nVMods;
+        else
+            which &= ~XkbVirtualModNamesMask;
+    }
+    else
+        req->virtualMods = 0;
+
+    if (which & XkbGroupNamesMask) {
+        groups = req->groupNames = changes->changed_groups;
+        nGroups = _XkbCountBits(XkbNumKbdGroups,
+                                (unsigned long) changes->changed_groups);
+        if (nGroups > 0)
+            nAtoms += nGroups;
+        else
+            which &= ~XkbGroupNamesMask;
+    }
+    else
+        req->groupNames = 0;
+
+    if ((which & XkbKeyNamesMask) && (names->keys != NULL)) {
+        firstKey = req->firstKey;
+        nKeys = req->nKeys;
+        nAtoms += nKeys;        /* technically not atoms, but 4 bytes wide */
+    }
+    else
+        which &= ~XkbKeyNamesMask;
+
+    if (which & XkbKeyAliasesMask) {
+        nKA = ((names->key_aliases != NULL) ? names->num_key_aliases : 0);
+        if (nKA > 0)
+            nAtoms += nKA * 2;  /* not atoms, but 8 bytes on the wire */
+        else
+            which &= ~XkbKeyAliasesMask;
+    }
+
+    if (which & XkbRGNamesMask) {
+        nRG = names->num_rg;
+        if (nRG > 0)
+            nAtoms += nRG;
+        else
+            which &= ~XkbRGNamesMask;
     }
-    if (which&XkbKeyAliasesMask) {
-#ifdef WORD64
-       char *tmp;
-       register int i;
-       BufAlloc(char *,tmp,nKA*XkbKeyNameLength*2);
-       for (i=0;i<nKeys;i++,tmp+= 2*XkbKeyNameLength) {
-           tmp[0]= names->key_aliases[i].real[0];
-           tmp[1]= names->key_aliases[i].real[1];
-           tmp[2]= names->key_aliases[i].real[2];
-           tmp[3]= names->key_aliases[i].real[3];
-           tmp[4]= names->key_aliases[i].alias[0];
-           tmp[5]= names->key_aliases[i].alias[1];
-           tmp[6]= names->key_aliases[i].alias[2];
-           tmp[7]= names->key_aliases[i].alias[3];
-       }
-#else
-       Data(dpy,(char *)names->key_aliases,nKA*XkbKeyNameLength*2);
-#endif
+
+    req->which = which;
+    req->nRadioGroups = nRG;
+    req->length += (nAtoms * 4) / 4;
+
+    if (which & XkbKeycodesNameMask)
+        Data32(dpy, (long *) &names->keycodes, 4);
+    if (which & XkbGeometryNameMask)
+        Data32(dpy, (long *) &names->geometry, 4);
+    if (which & XkbSymbolsNameMask)
+        Data32(dpy, (long *) &names->symbols, 4);
+    if (which & XkbPhysSymbolsNameMask)
+        Data32(dpy, (long *) &names->phys_symbols, 4);
+    if (which & XkbTypesNameMask)
+        Data32(dpy, (long *) &names->types, 4);
+    if (which & XkbCompatNameMask)
+        Data32(dpy, (long *) &names->compat, 4);
+    if (which & XkbKeyTypeNamesMask) {
+        register int i;
+        register XkbKeyTypePtr type;
+
+        type = &xkb->map->types[firstType];
+        for (i = 0; i < nTypes; i++, type++) {
+            Data32(dpy, (long *) &type->name, 4);
+        }
+    }
+    if (which & XkbKTLevelNamesMask) {
+        XkbKeyTypePtr type;
+        int i;
+        char *tmp;
+
+        BufAlloc(char *, tmp, XkbPaddedSize(nLvlTypes));
+        type = &xkb->map->types[firstLvlType];
+        for (i = 0; i < nLvlTypes; i++, type++) {
+            *tmp++ = type->num_levels;
+        }
+        type = &xkb->map->types[firstLvlType];
+        for (i = 0; i < nLvlTypes; i++, type++) {
+            if (type->level_names != NULL)
+                Data32(dpy, (long *) type->level_names, type->num_levels * 4);
+        }
+    }
+    if (which & XkbIndicatorNamesMask)
+        _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators);
+    if (which & XkbVirtualModNamesMask)
+        _XkbCopyAtoms(dpy, names->vmods, vmods, XkbNumVirtualMods);
+    if (which & XkbGroupNamesMask)
+        _XkbCopyAtoms(dpy, names->groups, groups, XkbNumKbdGroups);
+    if (which & XkbKeyNamesMask) {
+        Data(dpy, (char *) &names->keys[firstKey], nKeys * XkbKeyNameLength);
     }
-    if (which&XkbRGNamesMask) {
-       Data32(dpy,(long *)names->radio_groups,nRG*4);
+    if (which & XkbKeyAliasesMask) {
+        Data(dpy, (char *) names->key_aliases, nKA * XkbKeyNameLength * 2);
+    }
+    if (which & XkbRGNamesMask) {
+        Data32(dpy, (long *) names->radio_groups, nRG * 4);
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -792,96 +772,103 @@ XkbChangeNames(Display *dpy,XkbDescPtr xkb,XkbNameChangesPtr changes)
 }
 
 void
-XkbNoteNameChanges(    XkbNameChangesPtr       old,
-                       XkbNamesNotifyEvent *   new,
-                       unsigned int            wanted)
+XkbNoteNameChanges(XkbNameChangesPtr old,
+                   XkbNamesNotifyEvent *new,
+                   unsigned int wanted)
 {
-int    first,last,old_last,new_last;
-
-    wanted&= new->changed;
-    if ((old==NULL)||(new==NULL)||(wanted==0))
-       return;
-    if (wanted&XkbKeyTypeNamesMask) {
-       if (old->changed&XkbKeyTypeNamesMask) {
-           new_last= (new->first_type+new->num_types-1);
-           old_last= (old->first_type+old->num_types-1);
-
-           if (new->first_type<old->first_type)
-                first= new->first_type;
-           else first= old->first_type;
-
-           if (old_last>new_last)
-                last= old_last;
-           else last= new_last;
-
-           old->first_type= first;
-           old->num_types= (last-first)+1;
-       }
-       else {
-           old->first_type= new->first_type;
-           old->num_types= new->num_types;
-       }
-    }
-    if (wanted&XkbKTLevelNamesMask) {
-       if (old->changed&XkbKTLevelNamesMask) {
-           new_last= (new->first_lvl+new->num_lvls-1);
-           old_last= (old->first_lvl+old->num_lvls-1);
-
-           if (new->first_lvl<old->first_lvl)
-                first= new->first_lvl;
-           else first= old->first_lvl;
-
-           if (old_last>new_last)
-                last= old_last;
-           else last= new_last;
-
-           old->first_lvl= first;
-           old->num_lvls= (last-first)+1;
-       }
-       else {
-           old->first_lvl= new->first_lvl;
-           old->num_lvls= new->num_lvls;
-       }
-    }
-    if (wanted&XkbIndicatorNamesMask) {
-       if (old->changed&XkbIndicatorNamesMask)
-            old->changed_indicators|= new->changed_indicators;
-       else old->changed_indicators=  new->changed_indicators;
-    }
-    if (wanted&XkbKeyNamesMask) {
-       if (old->changed&XkbKeyNamesMask) {
-           new_last= (new->first_key+new->num_keys-1);
-           old_last= (old->first_key+old->num_keys-1);
-
-           first= old->first_key;
-
-           if (new->first_key<old->first_key)
-               first= new->first_key;
-           if (old_last>new_last)
-               new_last= old_last;
-
-           old->first_key= first;
-           old->num_keys= (new_last-first)+1;
-       }
-       else {
-           old->first_key= new->first_key;
-           old->num_keys= new->num_keys;
-       }
-    }
-    if (wanted&XkbVirtualModNamesMask) {
-       if (old->changed&XkbVirtualModNamesMask)
-            old->changed_vmods|= new->changed_vmods;
-       else old->changed_vmods=  new->changed_vmods;
-    }
-    if (wanted&XkbGroupNamesMask) {
-       if (old->changed&XkbGroupNamesMask)
-            old->changed_groups|= new->changed_groups;
-       else old->changed_groups=  new->changed_groups;
-    }
-    if (wanted&XkbRGNamesMask)
-       old->num_rg= new->num_radio_groups;
-    if (wanted&XkbKeyAliasesMask)
-       old->num_aliases= new->num_aliases;
-    old->changed|= wanted;
+    int first, last, old_last, new_last;
+
+    wanted &= new->changed;
+    if ((old == NULL) || (new == NULL) || (wanted == 0))
+        return;
+    if (wanted & XkbKeyTypeNamesMask) {
+        if (old->changed & XkbKeyTypeNamesMask) {
+            new_last = (new->first_type + new->num_types - 1);
+            old_last = (old->first_type + old->num_types - 1);
+
+            if (new->first_type < old->first_type)
+                first = new->first_type;
+            else
+                first = old->first_type;
+
+            if (old_last > new_last)
+                last = old_last;
+            else
+                last = new_last;
+
+            old->first_type = first;
+            old->num_types = (last - first) + 1;
+        }
+        else {
+            old->first_type = new->first_type;
+            old->num_types = new->num_types;
+        }
+    }
+    if (wanted & XkbKTLevelNamesMask) {
+        if (old->changed & XkbKTLevelNamesMask) {
+            new_last = (new->first_lvl + new->num_lvls - 1);
+            old_last = (old->first_lvl + old->num_lvls - 1);
+
+            if (new->first_lvl < old->first_lvl)
+                first = new->first_lvl;
+            else
+                first = old->first_lvl;
+
+            if (old_last > new_last)
+                last = old_last;
+            else
+                last = new_last;
+
+            old->first_lvl = first;
+            old->num_lvls = (last - first) + 1;
+        }
+        else {
+            old->first_lvl = new->first_lvl;
+            old->num_lvls = new->num_lvls;
+        }
+    }
+    if (wanted & XkbIndicatorNamesMask) {
+        if (old->changed & XkbIndicatorNamesMask)
+            old->changed_indicators |= new->changed_indicators;
+        else
+            old->changed_indicators = new->changed_indicators;
+    }
+    if (wanted & XkbKeyNamesMask) {
+        if (old->changed & XkbKeyNamesMask) {
+            new_last = (new->first_key + new->num_keys - 1);
+            old_last = (old->first_key + old->num_keys - 1);
+
+            first = old->first_key;
+
+            if (new->first_key < old->first_key)
+                first = new->first_key;
+            if (old_last > new_last)
+                new_last = old_last;
+
+            old->first_key = first;
+            old->num_keys = (new_last - first) + 1;
+        }
+        else {
+            old->first_key = new->first_key;
+            old->num_keys = new->num_keys;
+        }
+    }
+    if (wanted & XkbVirtualModNamesMask) {
+        if (old->changed & XkbVirtualModNamesMask)
+            old->changed_vmods |= new->changed_vmods;
+        else
+            old->changed_vmods = new->changed_vmods;
+    }
+    if (wanted & XkbGroupNamesMask) {
+        if (old->changed & XkbGroupNamesMask)
+            old->changed_groups |= new->changed_groups;
+        else
+            old->changed_groups = new->changed_groups;
+    }
+    if (wanted & XkbRGNamesMask)
+        old->num_rg = new->num_radio_groups;
+    if (wanted & XkbKeyAliasesMask)
+        old->num_aliases = new->num_aliases;
+    old->changed |= wanted;
     return;
 }
index 3023a32..8e9eab2 100644 (file)
@@ -35,16 +35,16 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /***====================================================================***/
 
 int
-_XkbInitReadBuffer(Display *dpy,XkbReadBufferPtr buf,int size)
+_XkbInitReadBuffer(Display *dpy, XkbReadBufferPtr buf, int size)
 {
-    if ((dpy!=NULL) && (buf!=NULL) && (size>0)) {
-       buf->error=  0;
-       buf->size=   size;
-       buf->start= buf->data= _XkbAlloc(size);
-       if (buf->start) {
-           _XRead(dpy, buf->start, size);
-           return 1;
-       }
+    if ((dpy != NULL) && (buf != NULL) && (size > 0)) {
+        buf->error = 0;
+        buf->size = size;
+        buf->start = buf->data = _XkbAlloc(size);
+        if (buf->start) {
+            _XRead(dpy, buf->start, size);
+            return 1;
+        }
     }
     return 0;
 }
@@ -52,56 +52,55 @@ _XkbInitReadBuffer(Display *dpy,XkbReadBufferPtr buf,int size)
 #define        _XkbReadBufferDataLeft(b)       (((b)->size)-((b)->data-(b)->start))
 
 int
-_XkbSkipReadBufferData(XkbReadBufferPtr        from,int size)
+_XkbSkipReadBufferData(XkbReadBufferPtr from, int size)
 {
-    if (size==0)
-       return 1;
-    if ((from==NULL)||(from->error)||(size<1)||
-                                       (_XkbReadBufferDataLeft(from)<size))
-       return 0;
-    from->data+= size;
+    if (size == 0)
+        return 1;
+    if ((from == NULL) || (from->error) || (size < 1) ||
+        (_XkbReadBufferDataLeft(from) < size))
+        return 0;
+    from->data += size;
     return 1;
 }
 
 int
-_XkbCopyFromReadBuffer(XkbReadBufferPtr        from,char *to,int size)
+_XkbCopyFromReadBuffer(XkbReadBufferPtr from, char *to, int size)
 {
-    if (size==0)
-       return 1;
-    if ((from==NULL)||(from->error)||(to==NULL)||(size<1)||
-                                       (_XkbReadBufferDataLeft(from)<size))
-       return 0;
-    memcpy(to,from->data,size);
-    from->data+= size;
+    if (size == 0)
+        return 1;
+    if ((from == NULL) || (from->error) || (to == NULL) || (size < 1) ||
+        (_XkbReadBufferDataLeft(from) < size))
+        return 0;
+    memcpy(to, from->data, size);
+    from->data += size;
     return 1;
 }
 
 #ifdef XKB_FORCE_INT_KEYSYM
 int
-_XkbReadCopyKeySyms(int *wire,KeySym *to,int num_words)
+_XkbReadCopyKeySyms(int *wire, KeySym * to, int num_words)
 {
-    while (num_words-->0) {
-       *to++= *wire++;
+    while (num_words-- > 0) {
+        *to++ = *wire++;
     }
     return 1;
 }
 
 int
-_XkbReadBufferCopyKeySyms(XkbReadBufferPtr from,KeySym *to,int num_words)
+_XkbReadBufferCopyKeySyms(XkbReadBufferPtr from, KeySym * to, int num_words)
 {
-    if ((unsigned)(num_words*4)>_XkbReadBufferDataLeft(from))
+    if ((unsigned) (num_words * 4) > _XkbReadBufferDataLeft(from))
         return 0;
-    _XkbReadCopyKeySyms((int *)from->data,to,num_words);
-    from->data+= (4*num_words);
+    _XkbReadCopyKeySyms((int *) from->data, to, num_words);
+    from->data += (4 * num_words);
     return True;
 }
 
 int
-_XkbWriteCopyKeySyms (register KeySym *from,CARD32 *to,int len)
+_XkbWriteCopyKeySyms(register KeySym * from, CARD32 *to, int len)
 {
-
-    while (len-->0) {
-        *to++= (CARD32)*from++;
+    while (len-- > 0) {
+        *to++ = (CARD32) *from++;
     }
     return True;
 }
@@ -109,82 +108,54 @@ _XkbWriteCopyKeySyms (register KeySym *from,CARD32 *to,int len)
 
 #ifdef LONG64
 int
-_XkbReadCopyData32(int *wire,long *to,int num_words)
-{
-    while (num_words-->0) {
-       *to++= *wire++;
-    }
-    return 1;
-}
-#endif
-#ifdef WORD64
-int
-_XkbReadCopyData32(int *from,long *lp,int num_words)
+_XkbReadCopyData32(int *wire, long *to, int num_words)
 {
-long *lpack;
-long mask32 = 0x00000000ffffffff;
-long maskw, i, bits;
-
-    lpack = (long *)from;
-    bits = 32;
-
-    for (i=0;i<num_words;i++) {
-       maskw = mask32 << bits;
-       *lp++ = (*lpack & maskw) >> bits;
-       bits = bits ^ 32;
-       if (bits)
-           lpack++;
+    while (num_words-- > 0) {
+        *to++ = *wire++;
     }
     return 1;
 }
-#endif
 
-#if defined(LONG64) || defined(WORD64)
 int
-_XkbReadBufferCopy32(XkbReadBufferPtr from,long *to,int num_words)
+_XkbReadBufferCopy32(XkbReadBufferPtr from, long *to, int num_words)
 {
-    if ((unsigned)(num_words*4)>_XkbReadBufferDataLeft(from))
-       return 0;
-    _XkbReadCopyData32((int *)from->data,to,num_words);
-    from->data+= (4*num_words);
+    if ((unsigned) (num_words * 4) > _XkbReadBufferDataLeft(from))
+        return 0;
+    _XkbReadCopyData32((int *) from->data, to, num_words);
+    from->data += (4 * num_words);
     return True;
 }
-#endif
 
-#ifdef LONG64
 int
-_XkbWriteCopyData32 (register unsigned long *from,CARD32 *to,int len)
+_XkbWriteCopyData32(register unsigned long *from, CARD32 *to, int len)
 {
-
-    while (len-->0) {
-       *to++= (CARD32)*from++;
+    while (len-- > 0) {
+        *to++ = (CARD32) *from++;
     }
     return True;
 }
-#endif /* LONG64 */
+#endif                          /* LONG64 */
 
-#ifdef WORD64
-_XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
-#endif
 
 char *
-_XkbPeekAtReadBuffer(XkbReadBufferPtr from,int size)
+_XkbPeekAtReadBuffer(XkbReadBufferPtr from, int size)
 {
-    if ((from==NULL)||(from->error)||(size<1)||
-                                       (_XkbReadBufferDataLeft(from)<size))
-       return NULL;
+    if ((from == NULL) || (from->error) || (size < 1) ||
+        (_XkbReadBufferDataLeft(from) < size))
+        return NULL;
     return from->data;
 }
 
 char *
-_XkbGetReadBufferPtr(XkbReadBufferPtr from,int size)
+_XkbGetReadBufferPtr(XkbReadBufferPtr from, int size)
 {
-char   *ptr;
-    if ((from==NULL)||(from->error)||(size<1)||
-                                       (_XkbReadBufferDataLeft(from)<size))
-       return NULL;
-    ptr= from->data;
-    from->data+= size;
+    char *ptr;
+
+    if ((from == NULL) || (from->error) || (size < 1) ||
+        (_XkbReadBufferDataLeft(from) < size))
+        return NULL;
+    ptr = from->data;
+    from->data += size;
     return ptr;
 }
 
@@ -192,39 +163,41 @@ char      *ptr;
 int
 _XkbFreeReadBuffer(XkbReadBufferPtr buf)
 {
-    if ((buf!=NULL) && (buf->start!=NULL)) {
-       int left;
-       left= (int)_XkbReadBufferDataLeft(buf);
-       if (buf->start!=NULL)
-           Xfree(buf->start);
-       buf->size= 0;
-       buf->start= buf->data= NULL;
-       return left;
+    if ((buf != NULL) && (buf->start != NULL)) {
+        int left;
+
+        left = (int) _XkbReadBufferDataLeft(buf);
+        if (buf->start != NULL)
+            Xfree(buf->start);
+        buf->size = 0;
+        buf->start = buf->data = NULL;
+        return left;
     }
     return 0;
 }
 
 Bool
-_XkbGetReadBufferCountedString(XkbReadBufferPtr buf,char **rtrn)
+_XkbGetReadBufferCountedString(XkbReadBufferPtr buf, char **rtrn)
 {
-CARD16 len,*pLen;
-int    left;
-char * str = NULL;
-
-    if ((buf==NULL)||(buf->error)||((left=(int)_XkbReadBufferDataLeft(buf))<4))
-       return False;
-    pLen= (CARD16 *)buf->data;
-    len= *pLen;
-    if (len>0) {
-       if (XkbPaddedSize(len+2)>left)
-           return False;
-       str= _XkbAlloc(len+1);
-       if (str) {
-           memcpy(str,&buf->data[2],len);
-           str[len]= '\0';
-       }
+    CARD16 len, *pLen;
+    int left;
+    char *str = NULL;
+
+    if ((buf == NULL) || (buf->error) ||
+        ((left = (int) _XkbReadBufferDataLeft(buf)) < 4))
+        return False;
+    pLen = (CARD16 *) buf->data;
+    len = *pLen;
+    if (len > 0) {
+        if (XkbPaddedSize(len + 2) > left)
+            return False;
+        str = _XkbAlloc(len + 1);
+        if (str) {
+            memcpy(str, &buf->data[2], len);
+            str[len] = '\0';
+        }
     }
-    buf->data+= XkbPaddedSize(len+2);
-    *rtrn= str;
+    buf->data += XkbPaddedSize(len + 2);
+    *rtrn = str;
     return True;
 }
index ab76a20..7ac37ca 100644 (file)
@@ -48,28 +48,29 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #define        _SizeCountedString(s)  ((s)?XkbPaddedSize(2+strlen(s)):4)
 
 static char *
-_WriteCountedString(char *wire,char *str)
+_WriteCountedString(char *wire, char *str)
 {
-CARD16 len,*pLen;
+    CARD16 len, *pLen;
 
-    len= (str?strlen(str):0);
-    pLen= (CARD16 *)wire;
-    *pLen= len;
+    len = (str ? strlen(str) : 0);
+    pLen = (CARD16 *) wire;
+    *pLen = len;
     if (len && str)
-       memcpy(&wire[2],str,len);
-    wire+= XkbPaddedSize(len+2);
+        memcpy(&wire[2], str, len);
+    wire += XkbPaddedSize(len + 2);
     return wire;
 }
 
 static int
 _SizeGeomProperties(XkbGeometryPtr geom)
 {
-register int   i,size;
-XkbPropertyPtr prop;
+    register int i, size;
+    XkbPropertyPtr prop;
 
-    for (size=i=0,prop=geom->properties;i<geom->num_properties;i++,prop++) {
-       size+= _SizeCountedString(prop->name);
-       size+= _SizeCountedString(prop->value);
+    for (size = i = 0, prop = geom->properties; i < geom->num_properties;
+         i++, prop++) {
+        size += _SizeCountedString(prop->name);
+        size += _SizeCountedString(prop->value);
     }
     return size;
 }
@@ -77,11 +78,11 @@ XkbPropertyPtr      prop;
 static int
 _SizeGeomColors(XkbGeometryPtr geom)
 {
-register int           i,size;
-register XkbColorPtr   color;
+    register int i, size;
+    register XkbColorPtr color;
 
-    for (i=size=0,color=geom->colors;i<geom->num_colors;i++,color++) {
-       size+= _SizeCountedString(color->spec);
+    for (i = size = 0, color = geom->colors; i < geom->num_colors; i++, color++) {
+        size += _SizeCountedString(color->spec);
     }
     return size;
 }
@@ -89,35 +90,36 @@ register XkbColorPtr        color;
 static int
 _SizeGeomShapes(XkbGeometryPtr geom)
 {
-register int           i,size;
-register XkbShapePtr   shape;
-
-    for (i=size=0,shape=geom->shapes;i<geom->num_shapes;i++,shape++) {
-       register int            n;
-       register XkbOutlinePtr  ol;
-       size+= SIZEOF(xkbShapeWireDesc);
-       for (n=0,ol=shape->outlines;n<shape->num_outlines;n++,ol++) {
-           size+= SIZEOF(xkbOutlineWireDesc);
-           size+= ol->num_points*SIZEOF(xkbPointWireDesc);
-       }
+    register int i, size;
+    register XkbShapePtr shape;
+
+    for (i = size = 0, shape = geom->shapes; i < geom->num_shapes; i++, shape++) {
+        register int n;
+        register XkbOutlinePtr ol;
+
+        size += SIZEOF(xkbShapeWireDesc);
+        for (n = 0, ol = shape->outlines; n < shape->num_outlines; n++, ol++) {
+            size += SIZEOF(xkbOutlineWireDesc);
+            size += ol->num_points * SIZEOF(xkbPointWireDesc);
+        }
     }
     return size;
 }
 
 static int
-_SizeGeomDoodads(int num_doodads,XkbDoodadPtr doodad)
+_SizeGeomDoodads(int num_doodads, XkbDoodadPtr doodad)
 {
-register int   i,size;
-
-    for (i=size=0;i<num_doodads;i++,doodad++) {
-       size+= SIZEOF(xkbAnyDoodadWireDesc);
-       if (doodad->any.type==XkbTextDoodad) {
-           size+= _SizeCountedString(doodad->text.text);
-           size+= _SizeCountedString(doodad->text.font);
-       }
-       else if (doodad->any.type==XkbLogoDoodad) {
-           size+= _SizeCountedString(doodad->logo.logo_name);
-       }
+    register int i, size;
+
+    for (i = size = 0; i < num_doodads; i++, doodad++) {
+        size += SIZEOF(xkbAnyDoodadWireDesc);
+        if (doodad->any.type == XkbTextDoodad) {
+            size += _SizeCountedString(doodad->text.text);
+            size += _SizeCountedString(doodad->text.font);
+        }
+        else if (doodad->any.type == XkbLogoDoodad) {
+            size += _SizeCountedString(doodad->logo.logo_name);
+        }
     }
     return size;
 }
@@ -125,34 +127,39 @@ register int      i,size;
 static int
 _SizeGeomSections(XkbGeometryPtr geom)
 {
-register int   i,size;
-XkbSectionPtr  section;
-
-    for (i=size=0,section=geom->sections;i<geom->num_sections;i++,section++) {
-       size+= SIZEOF(xkbSectionWireDesc);
-       if (section->rows) {
-           int         r;
-           XkbRowPtr   row;
-           for (r=0,row=section->rows;r<section->num_rows;row++,r++) {
-               size+= SIZEOF(xkbRowWireDesc);
-               size+= row->num_keys*SIZEOF(xkbKeyWireDesc);
-           }
-       }
-       if (section->doodads)
-           size+= _SizeGeomDoodads(section->num_doodads,section->doodads);
-       if (section->overlays) {
-           int                 o;
-           XkbOverlayPtr       ol;
-           for (o=0,ol=section->overlays;o<section->num_overlays;o++,ol++) {
-               int                     r;
-               XkbOverlayRowPtr        row;
-               size+= SIZEOF(xkbOverlayWireDesc);
-               for (r=0,row=ol->rows;r<ol->num_rows;r++,row++) {
-                  size+= SIZEOF(xkbOverlayRowWireDesc);
-                  size+= row->num_keys*SIZEOF(xkbOverlayKeyWireDesc);
-               }
-           }
-       }
+    register int i, size;
+    XkbSectionPtr section;
+
+    for (i = size = 0, section = geom->sections; i < geom->num_sections;
+         i++, section++) {
+        size += SIZEOF(xkbSectionWireDesc);
+        if (section->rows) {
+            int r;
+            XkbRowPtr row;
+
+            for (r = 0, row = section->rows; r < section->num_rows; row++, r++) {
+                size += SIZEOF(xkbRowWireDesc);
+                size += row->num_keys * SIZEOF(xkbKeyWireDesc);
+            }
+        }
+        if (section->doodads)
+            size += _SizeGeomDoodads(section->num_doodads, section->doodads);
+        if (section->overlays) {
+            int o;
+            XkbOverlayPtr ol;
+
+            for (o = 0, ol = section->overlays; o < section->num_overlays;
+                 o++, ol++) {
+                int r;
+                XkbOverlayRowPtr row;
+
+                size += SIZEOF(xkbOverlayWireDesc);
+                for (r = 0, row = ol->rows; r < ol->num_rows; r++, row++) {
+                    size += SIZEOF(xkbOverlayRowWireDesc);
+                    size += row->num_keys * SIZEOF(xkbOverlayKeyWireDesc);
+                }
+            }
+        }
     }
     return size;
 }
@@ -160,224 +167,230 @@ XkbSectionPtr   section;
 static int
 _SizeGeomKeyAliases(XkbGeometryPtr geom)
 {
-    return geom->num_key_aliases*(2*XkbKeyNameLength);
+    return geom->num_key_aliases * (2 * XkbKeyNameLength);
 }
 
 /***====================================================================***/
 
 static char *
-_WriteGeomProperties(char *wire,XkbGeometryPtr geom)
+_WriteGeomProperties(char *wire, XkbGeometryPtr geom)
 {
-register int   i;
-register XkbPropertyPtr        prop;
+    register int i;
+    register XkbPropertyPtr prop;
 
-    for (i=0,prop=geom->properties;i<geom->num_properties;i++,prop++) {
-       wire= _WriteCountedString(wire,prop->name);
-       wire= _WriteCountedString(wire,prop->value);
+    for (i = 0, prop = geom->properties; i < geom->num_properties; i++, prop++) {
+        wire = _WriteCountedString(wire, prop->name);
+        wire = _WriteCountedString(wire, prop->value);
     }
     return wire;
 }
 
 static char *
-_WriteGeomColors(char *wire,XkbGeometryPtr geom)
+_WriteGeomColors(char *wire, XkbGeometryPtr geom)
 {
-register int           i;
-register XkbColorPtr   color;
+    register int i;
+    register XkbColorPtr color;
 
-    for (i=0,color=geom->colors;i<geom->num_colors;i++,color++) {
-       wire= _WriteCountedString(wire,color->spec);
+    for (i = 0, color = geom->colors; i < geom->num_colors; i++, color++) {
+        wire = _WriteCountedString(wire, color->spec);
     }
     return wire;
 }
 
 static char *
-_WriteGeomShapes(char *wire,XkbGeometryPtr geom)
+_WriteGeomShapes(char *wire, XkbGeometryPtr geom)
 {
-int                    i;
-XkbShapePtr            shape;
-xkbShapeWireDesc *     shapeWire;
-
-    for (i=0,shape=geom->shapes;i<geom->num_shapes;i++,shape++) {
-       register int            o;
-       XkbOutlinePtr           ol;
-       xkbOutlineWireDesc *    olWire;
-       shapeWire= (xkbShapeWireDesc *)wire;
-       shapeWire->name= shape->name;
-       shapeWire->nOutlines= shape->num_outlines;
-       if (shape->primary!=NULL)
-            shapeWire->primaryNdx= XkbOutlineIndex(shape,shape->primary);
-       else shapeWire->primaryNdx= XkbNoShape;
-       if (shape->approx!=NULL)
-            shapeWire->approxNdx= XkbOutlineIndex(shape,shape->approx);
-       else shapeWire->approxNdx= XkbNoShape;
-       wire= (char *)&shapeWire[1];
-       for (o=0,ol=shape->outlines;o<shape->num_outlines;o++,ol++) {
-           register int        p;
-           XkbPointPtr         pt;
-           xkbPointWireDesc *  ptWire;
-           olWire= (xkbOutlineWireDesc *)wire;
-           olWire->nPoints= ol->num_points;
-           olWire->cornerRadius= ol->corner_radius;
-           wire= (char *)&olWire[1];
-           ptWire= (xkbPointWireDesc *)wire;
-           for (p=0,pt=ol->points;p<ol->num_points;p++,pt++) {
-               ptWire[p].x= pt->x;
-               ptWire[p].y= pt->y;
-           }
-           wire= (char *)&ptWire[ol->num_points];
-       }
+    int i;
+    XkbShapePtr shape;
+    xkbShapeWireDesc *shapeWire;
+
+    for (i = 0, shape = geom->shapes; i < geom->num_shapes; i++, shape++) {
+        register int o;
+        XkbOutlinePtr ol;
+        xkbOutlineWireDesc *olWire;
+
+        shapeWire = (xkbShapeWireDesc *) wire;
+        shapeWire->name = shape->name;
+        shapeWire->nOutlines = shape->num_outlines;
+        if (shape->primary != NULL)
+            shapeWire->primaryNdx = XkbOutlineIndex(shape, shape->primary);
+        else
+            shapeWire->primaryNdx = XkbNoShape;
+        if (shape->approx != NULL)
+            shapeWire->approxNdx = XkbOutlineIndex(shape, shape->approx);
+        else
+            shapeWire->approxNdx = XkbNoShape;
+        wire = (char *) &shapeWire[1];
+        for (o = 0, ol = shape->outlines; o < shape->num_outlines; o++, ol++) {
+            register int p;
+            XkbPointPtr pt;
+            xkbPointWireDesc *ptWire;
+
+            olWire = (xkbOutlineWireDesc *) wire;
+            olWire->nPoints = ol->num_points;
+            olWire->cornerRadius = ol->corner_radius;
+            wire = (char *) &olWire[1];
+            ptWire = (xkbPointWireDesc *) wire;
+            for (p = 0, pt = ol->points; p < ol->num_points; p++, pt++) {
+                ptWire[p].x = pt->x;
+                ptWire[p].y = pt->y;
+            }
+            wire = (char *) &ptWire[ol->num_points];
+        }
     }
     return wire;
 }
 
 static char *
-_WriteGeomDoodads(char *wire,int num_doodads,XkbDoodadPtr doodad)
+_WriteGeomDoodads(char *wire, int num_doodads, XkbDoodadPtr doodad)
 {
-register int           i;
-xkbDoodadWireDesc *    doodadWire;
-
-    for (i=0;i<num_doodads;i++,doodad++) {
-       doodadWire= (xkbDoodadWireDesc *)wire;
-       wire= (char *)&doodadWire[1];
-       bzero(doodadWire,SIZEOF(xkbDoodadWireDesc));
-       doodadWire->any.name= doodad->any.name;
-       doodadWire->any.type= doodad->any.type;
-       doodadWire->any.priority= doodad->any.priority;
-       doodadWire->any.top= doodad->any.top;
-       doodadWire->any.left= doodad->any.left;
-       doodadWire->any.angle= doodad->any.angle;
-       switch (doodad->any.type) {
-           case XkbOutlineDoodad:
-           case XkbSolidDoodad:
-               doodadWire->shape.colorNdx= doodad->shape.color_ndx;
-               doodadWire->shape.shapeNdx= doodad->shape.shape_ndx;
-               break;
-           case XkbTextDoodad:
-               doodadWire->text.width= doodad->text.width;
-               doodadWire->text.height= doodad->text.height;
-               doodadWire->text.colorNdx= doodad->text.color_ndx;
-               wire= _WriteCountedString(wire,doodad->text.text);
-               wire= _WriteCountedString(wire,doodad->text.font);
-               break;
-           case XkbIndicatorDoodad:
-               doodadWire->indicator.shapeNdx= doodad->indicator.shape_ndx;
-               doodadWire->indicator.onColorNdx=doodad->indicator.on_color_ndx;
-               doodadWire->indicator.offColorNdx=
-                                               doodad->indicator.off_color_ndx;
-               break;
-           case XkbLogoDoodad:
-               doodadWire->logo.colorNdx= doodad->logo.color_ndx;
-               doodadWire->logo.shapeNdx= doodad->logo.shape_ndx;
-               wire= _WriteCountedString(wire,doodad->logo.logo_name);
-               break;
-           default:
-               break;
-       }
+    register int i;
+
+    for (i = 0; i < num_doodads; i++, doodad++) {
+        xkbDoodadWireDesc *doodadWire = (xkbDoodadWireDesc *) wire;
+
+        wire = (char *) &doodadWire[1];
+        bzero(doodadWire, SIZEOF(xkbDoodadWireDesc));
+        doodadWire->any.name = doodad->any.name;
+        doodadWire->any.type = doodad->any.type;
+        doodadWire->any.priority = doodad->any.priority;
+        doodadWire->any.top = doodad->any.top;
+        doodadWire->any.left = doodad->any.left;
+        doodadWire->any.angle = doodad->any.angle;
+        switch (doodad->any.type) {
+        case XkbOutlineDoodad:
+        case XkbSolidDoodad:
+            doodadWire->shape.colorNdx = doodad->shape.color_ndx;
+            doodadWire->shape.shapeNdx = doodad->shape.shape_ndx;
+            break;
+        case XkbTextDoodad:
+            doodadWire->text.width = doodad->text.width;
+            doodadWire->text.height = doodad->text.height;
+            doodadWire->text.colorNdx = doodad->text.color_ndx;
+            wire = _WriteCountedString(wire, doodad->text.text);
+            wire = _WriteCountedString(wire, doodad->text.font);
+            break;
+        case XkbIndicatorDoodad:
+            doodadWire->indicator.shapeNdx = doodad->indicator.shape_ndx;
+            doodadWire->indicator.onColorNdx = doodad->indicator.on_color_ndx;
+            doodadWire->indicator.offColorNdx = doodad->indicator.off_color_ndx;
+            break;
+        case XkbLogoDoodad:
+            doodadWire->logo.colorNdx = doodad->logo.color_ndx;
+            doodadWire->logo.shapeNdx = doodad->logo.shape_ndx;
+            wire = _WriteCountedString(wire, doodad->logo.logo_name);
+            break;
+        default:
+            break;
+        }
     }
     return wire;
 }
 
 static char *
-_WriteGeomOverlay(char *wire,XkbOverlayPtr ol)
+_WriteGeomOverlay(char *wire, XkbOverlayPtr ol)
 {
-register int           r;
-XkbOverlayRowPtr       row;
-xkbOverlayWireDesc *   olWire;
-
-   olWire= (xkbOverlayWireDesc *)wire;
-   olWire->name= ol->name;
-   olWire->nRows= ol->num_rows;
-   wire= (char *)&olWire[1];
-   for (r=0,row=ol->rows;r<ol->num_rows;r++,row++) {
-       unsigned int            k;
-       XkbOverlayKeyPtr        key;
-       xkbOverlayRowWireDesc * rowWire;
-       rowWire= (xkbOverlayRowWireDesc *)wire;
-       rowWire->rowUnder= row->row_under;
-       rowWire->nKeys= row->num_keys;
-       wire= (char *)&rowWire[1];
-       for (k=0,key=row->keys;k<row->num_keys;k++,key++) {
-           xkbOverlayKeyWireDesc *     keyWire;
-           keyWire= (xkbOverlayKeyWireDesc *)wire;
-           memcpy(keyWire->over,key->over.name,XkbKeyNameLength);
-           memcpy(keyWire->under,key->under.name,XkbKeyNameLength);
-           wire= (char *)&keyWire[1];
-       }
-   }
-   return wire;
+    register int r;
+    XkbOverlayRowPtr row;
+    xkbOverlayWireDesc *olWire = (xkbOverlayWireDesc *) wire;
+
+    olWire->name = ol->name;
+    olWire->nRows = ol->num_rows;
+    wire = (char *) &olWire[1];
+    for (r = 0, row = ol->rows; r < ol->num_rows; r++, row++) {
+        unsigned int k;
+        XkbOverlayKeyPtr key;
+        xkbOverlayRowWireDesc *rowWire = (xkbOverlayRowWireDesc *) wire;
+
+        rowWire->rowUnder = row->row_under;
+        rowWire->nKeys = row->num_keys;
+        wire = (char *) &rowWire[1];
+        for (k = 0, key = row->keys; k < row->num_keys; k++, key++) {
+            xkbOverlayKeyWireDesc *keyWire = (xkbOverlayKeyWireDesc *) wire;
+
+            memcpy(keyWire->over, key->over.name, XkbKeyNameLength);
+            memcpy(keyWire->under, key->under.name, XkbKeyNameLength);
+            wire = (char *) &keyWire[1];
+        }
+    }
+    return wire;
 }
 
 static char *
-_WriteGeomSections(char *wire,XkbGeometryPtr geom)
+_WriteGeomSections(char *wire, XkbGeometryPtr geom)
 {
-register int           i;
-XkbSectionPtr          section;
-xkbSectionWireDesc *   sectionWire;
-
-    for (i=0,section=geom->sections;i<geom->num_sections;i++,section++) {
-       sectionWire= (xkbSectionWireDesc *)wire;
-       sectionWire->name= section->name;
-       sectionWire->top= section->top;
-       sectionWire->left= section->left;
-       sectionWire->width= section->width;
-       sectionWire->height= section->height;
-       sectionWire->angle= section->angle;
-       sectionWire->priority= section->priority;
-       sectionWire->nRows= section->num_rows;
-       sectionWire->nDoodads= section->num_doodads;
-       sectionWire->nOverlays= section->num_overlays;
-       sectionWire->pad= 0;
-       wire= (char *)&sectionWire[1];
-       if (section->rows) {
-           int                 r;
-           XkbRowPtr           row;
-           xkbRowWireDesc *    rowWire;
-           for (r=0,row=section->rows;r<section->num_rows;r++,row++) {
-               rowWire= (xkbRowWireDesc *)wire;
-               rowWire->top= row->top;
-               rowWire->left= row->left;
-               rowWire->nKeys= row->num_keys;
-               rowWire->vertical= row->vertical;
-               rowWire->pad= 0;
-               wire= (char *)&rowWire[1];
-               if (row->keys) {
-                   int                 k;
-                   XkbKeyPtr           key;
-                   xkbKeyWireDesc *    keyWire;
-                   keyWire= (xkbKeyWireDesc *)wire;
-                   for (k=0,key=row->keys;k<row->num_keys;k++,key++) {
-                       memcpy(keyWire[k].name,key->name.name,XkbKeyNameLength);
-                       keyWire[k].gap= key->gap;
-                       keyWire[k].shapeNdx= key->shape_ndx;
-                       keyWire[k].colorNdx= key->color_ndx;
-                   }
-                   wire= (char *)&keyWire[row->num_keys];
-               }
-           }
-       }
-       if (section->doodads) {
-           wire= _WriteGeomDoodads(wire,
-                                     section->num_doodads,section->doodads);
-       }
-       if (section->overlays) {
-           register int o;
-           for (o=0;o<section->num_overlays;o++) {
-               wire= _WriteGeomOverlay(wire,&section->overlays[o]);
-           }
-       }
+    register int i;
+    XkbSectionPtr section;
+
+    for (i = 0, section = geom->sections; i < geom->num_sections;
+         i++, section++) {
+        xkbSectionWireDesc *sectionWire = (xkbSectionWireDesc *) wire;
+
+        sectionWire->name = section->name;
+        sectionWire->top = section->top;
+        sectionWire->left = section->left;
+        sectionWire->width = section->width;
+        sectionWire->height = section->height;
+        sectionWire->angle = section->angle;
+        sectionWire->priority = section->priority;
+        sectionWire->nRows = section->num_rows;
+        sectionWire->nDoodads = section->num_doodads;
+        sectionWire->nOverlays = section->num_overlays;
+        sectionWire->pad = 0;
+        wire = (char *) &sectionWire[1];
+        if (section->rows) {
+            int r;
+            XkbRowPtr row;
+
+            for (r = 0, row = section->rows; r < section->num_rows; r++, row++) {
+                xkbRowWireDesc *rowWire = (xkbRowWireDesc *) wire;
+
+                rowWire->top = row->top;
+                rowWire->left = row->left;
+                rowWire->nKeys = row->num_keys;
+                rowWire->vertical = row->vertical;
+                rowWire->pad = 0;
+                wire = (char *) &rowWire[1];
+                if (row->keys) {
+                    int k;
+                    XkbKeyPtr key;
+                    xkbKeyWireDesc *keyWire = (xkbKeyWireDesc *) wire;
+
+                    for (k = 0, key = row->keys; k < row->num_keys; k++, key++) {
+                        memcpy(keyWire[k].name, key->name.name,
+                               XkbKeyNameLength);
+                        keyWire[k].gap = key->gap;
+                        keyWire[k].shapeNdx = key->shape_ndx;
+                        keyWire[k].colorNdx = key->color_ndx;
+                    }
+                    wire = (char *) &keyWire[row->num_keys];
+                }
+            }
+        }
+        if (section->doodads) {
+            wire = _WriteGeomDoodads(wire,
+                                     section->num_doodads, section->doodads);
+        }
+        if (section->overlays) {
+            register int o;
+
+            for (o = 0; o < section->num_overlays; o++) {
+                wire = _WriteGeomOverlay(wire, &section->overlays[o]);
+            }
+        }
     }
     return wire;
 }
 
 static char *
-_WriteGeomKeyAliases(char *wire,XkbGeometryPtr geom)
+_WriteGeomKeyAliases(char *wire, XkbGeometryPtr geom)
 {
-register int sz;
+    register int sz;
 
-    sz= geom->num_key_aliases*(XkbKeyNameLength*2);
-    if (sz>0) {
-       memcpy(wire,(char *)geom->key_aliases,sz);
-       wire+= sz;
+    sz = geom->num_key_aliases * (XkbKeyNameLength * 2);
+    if (sz > 0) {
+        memcpy(wire, (char *) geom->key_aliases, sz);
+        wire += sz;
     }
     return wire;
 }
@@ -385,46 +398,46 @@ register int sz;
 /***====================================================================***/
 
 static Status
-_SendSetGeometry(Display *dpy,XkbGeometryPtr geom,xkbSetGeometryReq *req)
+_SendSetGeometry(Display *dpy, XkbGeometryPtr geom, xkbSetGeometryReq *req)
 {
-int                    sz;
-char *                 wire,*tbuf;
-
-    sz= 0;
-    sz+= _SizeCountedString(geom->label_font);
-    sz+= _SizeGeomProperties(geom);
-    sz+= _SizeGeomColors(geom);
-    sz+= _SizeGeomShapes(geom);
-    sz+= _SizeGeomSections(geom);
-    sz+= _SizeGeomDoodads(geom->num_doodads,geom->doodads);
-    sz+= _SizeGeomKeyAliases(geom);
-    req->length+= (sz/4);
+    int sz;
+    char *wire, *tbuf;
+
+    sz = 0;
+    sz += _SizeCountedString(geom->label_font);
+    sz += _SizeGeomProperties(geom);
+    sz += _SizeGeomColors(geom);
+    sz += _SizeGeomShapes(geom);
+    sz += _SizeGeomSections(geom);
+    sz += _SizeGeomDoodads(geom->num_doodads, geom->doodads);
+    sz += _SizeGeomKeyAliases(geom);
+    req->length += (sz / 4);
     if (sz < (dpy->bufmax - dpy->buffer)) {
-       BufAlloc(char *,wire,sz);
-       tbuf= NULL;
+        BufAlloc(char *, wire, sz);
+        tbuf = NULL;
     }
     else {
-       tbuf= _XAllocTemp(dpy,sz);
-       if (!tbuf)
-           return BadAlloc;
-       wire= tbuf;
+        tbuf = _XAllocTemp(dpy, sz);
+        if (!tbuf)
+            return BadAlloc;
+        wire = tbuf;
     }
-    wire= _WriteCountedString(wire,geom->label_font);
-    if (geom->num_properties>0)
-       wire= _WriteGeomProperties(wire,geom);
-    if (geom->num_colors>0)
-       wire= _WriteGeomColors(wire,geom);
-    if (geom->num_shapes>0)
-       wire= _WriteGeomShapes(wire,geom);
-    if (geom->num_sections>0)
-       wire= _WriteGeomSections(wire,geom);
-    if (geom->num_doodads>0)
-       wire= _WriteGeomDoodads(wire,geom->num_doodads,geom->doodads);
-    if (geom->num_key_aliases>0)
-       wire= _WriteGeomKeyAliases(wire,geom);
-    if (tbuf!=NULL) {
-       Data(dpy,tbuf,sz);
-       _XFreeTemp(dpy,tbuf,sz);
+    wire = _WriteCountedString(wire, geom->label_font);
+    if (geom->num_properties > 0)
+        wire = _WriteGeomProperties(wire, geom);
+    if (geom->num_colors > 0)
+        wire = _WriteGeomColors(wire, geom);
+    if (geom->num_shapes > 0)
+        wire = _WriteGeomShapes(wire, geom);
+    if (geom->num_sections > 0)
+        wire = _WriteGeomSections(wire, geom);
+    if (geom->num_doodads > 0)
+        wire = _WriteGeomDoodads(wire, geom->num_doodads, geom->doodads);
+    if (geom->num_key_aliases > 0)
+        wire = _WriteGeomKeyAliases(wire, geom);
+    if (tbuf != NULL) {
+        Data(dpy, tbuf, sz);
+        _XFreeTemp(dpy, tbuf, sz);
     }
     return Success;
 }
@@ -432,35 +445,34 @@ char *                    wire,*tbuf;
 /***====================================================================***/
 
 Status
-XkbSetGeometry(Display *dpy,unsigned deviceSpec,XkbGeometryPtr geom)
+XkbSetGeometry(Display *dpy, unsigned deviceSpec, XkbGeometryPtr geom)
 {
-xkbSetGeometryReq      *req;
-Status ret;
+    xkbSetGeometryReq *req;
+    Status ret;
 
-    if ( (!geom) || (dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+    if ((!geom) || (dpy->flags & XlibDisplayNoXkb) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
 
     LockDisplay(dpy);
     GetReq(kbSetGeometry, req);
     req->reqType = dpy->xkb_info->codes->major_opcode;
     req->xkbReqType = X_kbSetGeometry;
     req->deviceSpec = deviceSpec;
-    req->nShapes= geom->num_shapes;
-    req->nSections= geom->num_sections;
-    req->name= geom->name;
-    req->widthMM= geom->width_mm;
-    req->heightMM= geom->height_mm;
-    req->nProperties= geom->num_properties;
-    req->nColors= geom->num_colors;
-    req->nDoodads= geom->num_doodads;
-    req->nKeyAliases= geom->num_key_aliases;
-    req->baseColorNdx= (geom->base_color-geom->colors);
-    req->labelColorNdx= (geom->label_color-geom->colors);
-
-    ret = _SendSetGeometry(dpy,geom,req);
+    req->nShapes = geom->num_shapes;
+    req->nSections = geom->num_sections;
+    req->name = geom->name;
+    req->widthMM = geom->width_mm;
+    req->heightMM = geom->height_mm;
+    req->nProperties = geom->num_properties;
+    req->nColors = geom->num_colors;
+    req->nDoodads = geom->num_doodads;
+    req->nKeyAliases = geom->num_key_aliases;
+    req->baseColorNdx = (geom->base_color - geom->colors);
+    req->labelColorNdx = (geom->label_color - geom->colors);
+
+    ret = _SendSetGeometry(dpy, geom, req);
     UnlockDisplay(dpy);
     SyncHandle();
     return ret;
 }
-
index cad9364..6e1e707 100644 (file)
@@ -33,221 +33,222 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include "XKBlibint.h"
 
 static int
-_XkbSizeKeyTypes(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeKeyTypes(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-    XkbKeyTypePtr      map;
-    int                        i,len;
+    XkbKeyTypePtr map;
+    int i, len;
 
-    if (((req->present&XkbKeyTypesMask)==0)||(req->nTypes==0)) {
-       req->present&= ~XkbKeyTypesMask;
-       req->firstType= req->nTypes= 0;
-       return 0;
+    if (((req->present & XkbKeyTypesMask) == 0) || (req->nTypes == 0)) {
+        req->present &= ~XkbKeyTypesMask;
+        req->firstType = req->nTypes = 0;
+        return 0;
     }
-    len= 0;
-    map= &xkb->map->types[req->firstType];
-    for (i=0;i<req->nTypes;i++,map++){
-       len+= SIZEOF(xkbKeyTypeWireDesc);
-       len+= map->map_count*SIZEOF(xkbKTSetMapEntryWireDesc);
-       if (map->preserve)
-           len+= map->map_count*SIZEOF(xkbModsWireDesc);
+    len = 0;
+    map = &xkb->map->types[req->firstType];
+    for (i = 0; i < req->nTypes; i++, map++) {
+        len += SIZEOF(xkbKeyTypeWireDesc);
+        len += map->map_count * SIZEOF(xkbKTSetMapEntryWireDesc);
+        if (map->preserve)
+            len += map->map_count * SIZEOF(xkbModsWireDesc);
     }
     return len;
 }
 
 static void
-_XkbWriteKeyTypes(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteKeyTypes(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-    char *             buf;
-    XkbKeyTypePtr      type;
-    int                        i,n,sz;
+    char *buf;
+    XkbKeyTypePtr type;
+    int i, n;
     xkbKeyTypeWireDesc *desc;
 
-    if ((req->present&XkbKeyTypesMask)==0)
-       return;
-    type= &xkb->map->types[req->firstType];
-    for (i=0;i<req->nTypes;i++,type++) {
-       sz= SIZEOF(xkbKeyTypeWireDesc);
-       sz+= type->map_count*SIZEOF(xkbKTSetMapEntryWireDesc);
-       if (type->preserve)
-           sz+= type->map_count*SIZEOF(xkbModsWireDesc);
-       BufAlloc(xkbKeyTypeWireDesc *,desc,sz);
-       desc->mask = type->mods.mask;
-       desc->realMods = type->mods.real_mods;
-       desc->virtualMods = type->mods.vmods;
-       desc->numLevels = type->num_levels;
-       desc->nMapEntries = type->map_count;
-       desc->preserve = (type->preserve!=NULL);
-       buf= (char *)&desc[1];
-       if (desc->nMapEntries>0) {
-           xkbKTSetMapEntryWireDesc *wire;
-           wire= (xkbKTSetMapEntryWireDesc *)buf;
-           for (n=0;n<type->map_count;n++,wire++) {
-               wire->level= type->map[n].level;
-               wire->realMods= type->map[n].mods.real_mods;
-               wire->virtualMods= type->map[n].mods.vmods;
-           }
-           buf= (char *)wire;
-           if (type->preserve) {
-               xkbModsWireDesc *pwire;
-               pwire= (xkbModsWireDesc *)buf;
-               for (n=0;n<type->map_count;n++,pwire++) {
-                   pwire->realMods= type->preserve[n].real_mods;
-                   pwire->virtualMods= type->preserve[n].vmods;
-               }
-           }
-       }
+    if ((req->present & XkbKeyTypesMask) == 0)
+        return;
+    type = &xkb->map->types[req->firstType];
+    for (i = 0; i < req->nTypes; i++, type++) {
+        int sz = SIZEOF(xkbKeyTypeWireDesc);
+        sz += type->map_count * SIZEOF(xkbKTSetMapEntryWireDesc);
+        if (type->preserve)
+            sz += type->map_count * SIZEOF(xkbModsWireDesc);
+        BufAlloc(xkbKeyTypeWireDesc *, desc, sz);
+        desc->mask = type->mods.mask;
+        desc->realMods = type->mods.real_mods;
+        desc->virtualMods = type->mods.vmods;
+        desc->numLevels = type->num_levels;
+        desc->nMapEntries = type->map_count;
+        desc->preserve = (type->preserve != NULL);
+        buf = (char *) &desc[1];
+        if (desc->nMapEntries > 0) {
+            xkbKTSetMapEntryWireDesc *wire = (xkbKTSetMapEntryWireDesc *) buf;
+
+            for (n = 0; n < type->map_count; n++, wire++) {
+                wire->level = type->map[n].level;
+                wire->realMods = type->map[n].mods.real_mods;
+                wire->virtualMods = type->map[n].mods.vmods;
+            }
+            buf = (char *) wire;
+            if (type->preserve) {
+                xkbModsWireDesc *pwire = (xkbModsWireDesc *) buf;
+
+                for (n = 0; n < type->map_count; n++, pwire++) {
+                    pwire->realMods = type->preserve[n].real_mods;
+                    pwire->virtualMods = type->preserve[n].vmods;
+                }
+            }
+        }
     }
     return;
 }
 
 static int
-_XkbSizeKeySyms(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeKeySyms(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-    int                        i,len;
-    unsigned           nSyms;
-
-    if (((req->present&XkbKeySymsMask)==0)||(req->nKeySyms==0)) {
-       req->present&= ~XkbKeySymsMask;
-       req->firstKeySym= req->nKeySyms= 0;
-       req->totalSyms= 0;
-       return 0;
+    int i, len;
+    unsigned nSyms;
+
+    if (((req->present & XkbKeySymsMask) == 0) || (req->nKeySyms == 0)) {
+        req->present &= ~XkbKeySymsMask;
+        req->firstKeySym = req->nKeySyms = 0;
+        req->totalSyms = 0;
+        return 0;
     }
-    len= (int)(req->nKeySyms*sizeof(XkbSymMapRec));
-    for (i=nSyms=0;i<req->nKeySyms;i++) {
-       nSyms+= XkbKeyNumSyms(xkb,i+req->firstKeySym);
+    len = (int) (req->nKeySyms * sizeof(XkbSymMapRec));
+    for (i = nSyms = 0; i < req->nKeySyms; i++) {
+        nSyms += XkbKeyNumSyms(xkb, i + req->firstKeySym);
     }
-    len+= nSyms*sizeof(CARD32);
-    req->totalSyms= nSyms;
+    len += nSyms * sizeof(CARD32);
+    req->totalSyms = nSyms;
     return len;
 }
 
 static void
-_XkbWriteKeySyms(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteKeySyms(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register KeySym *      pSym;
-CARD32 *               outSym;
-XkbSymMapPtr           symMap;
-xkbSymMapWireDesc *desc;
-register int   i;
-
-    if ((req->present&XkbKeySymsMask)==0)
-       return;
+    register KeySym *pSym;
+    CARD32 *outSym;
+    XkbSymMapPtr symMap;
+    xkbSymMapWireDesc *desc;
+    register int i;
+
+    if ((req->present & XkbKeySymsMask) == 0)
+        return;
     symMap = &xkb->map->key_sym_map[req->firstKeySym];
-    for (i=0;i<req->nKeySyms;i++,symMap++) {
-       BufAlloc(xkbSymMapWireDesc *,desc,
-                SIZEOF(xkbSymMapWireDesc)+
-                (XkbKeyNumSyms(xkb,i+req->firstKeySym)*sizeof(CARD32)));
-       desc->ktIndex[0] = symMap->kt_index[0];
-       desc->ktIndex[1] = symMap->kt_index[1];
-       desc->ktIndex[2] = symMap->kt_index[2];
-       desc->ktIndex[3] = symMap->kt_index[3];
-       desc->groupInfo = symMap->group_info;
-       desc->width = symMap->width;
-       desc->nSyms = XkbKeyNumSyms(xkb,i+req->firstKeySym);
-       outSym = (CARD32 *)&desc[1];
-       if (desc->nSyms>0) {
-            pSym = XkbKeySymsPtr(xkb,i+req->firstKeySym);
-           _XkbWriteCopyKeySyms(pSym,outSym,desc->nSyms);
-       }
+    for (i = 0; i < req->nKeySyms; i++, symMap++) {
+        BufAlloc(xkbSymMapWireDesc *, desc,
+                 SIZEOF(xkbSymMapWireDesc) +
+                 (XkbKeyNumSyms(xkb, i + req->firstKeySym) * sizeof(CARD32)));
+        desc->ktIndex[0] = symMap->kt_index[0];
+        desc->ktIndex[1] = symMap->kt_index[1];
+        desc->ktIndex[2] = symMap->kt_index[2];
+        desc->ktIndex[3] = symMap->kt_index[3];
+        desc->groupInfo = symMap->group_info;
+        desc->width = symMap->width;
+        desc->nSyms = XkbKeyNumSyms(xkb, i + req->firstKeySym);
+        outSym = (CARD32 *) &desc[1];
+        if (desc->nSyms > 0) {
+            pSym = XkbKeySymsPtr(xkb, i + req->firstKeySym);
+            _XkbWriteCopyKeySyms(pSym, outSym, desc->nSyms);
+        }
     }
     return;
 }
 
 static int
-_XkbSizeKeyActions(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeKeyActions(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-    int                        i,len,nActs;
+    int i, len, nActs;
 
-    if (((req->present&XkbKeyActionsMask)==0)||(req->nKeyActs==0)) {
-       req->present&= ~XkbKeyActionsMask;
-       req->firstKeyAct= req->nKeyActs= 0;
-       req->totalActs= 0;
-       return 0;
+    if (((req->present & XkbKeyActionsMask) == 0) || (req->nKeyActs == 0)) {
+        req->present &= ~XkbKeyActionsMask;
+        req->firstKeyAct = req->nKeyActs = 0;
+        req->totalActs = 0;
+        return 0;
     }
-    for (nActs=i=0;i<req->nKeyActs;i++) {
-       if (xkb->server->key_acts[i+req->firstKeyAct]!=0)
-           nActs+= XkbKeyNumActions(xkb,i+req->firstKeyAct);
+    for (nActs = i = 0; i < req->nKeyActs; i++) {
+        if (xkb->server->key_acts[i + req->firstKeyAct] != 0)
+            nActs += XkbKeyNumActions(xkb, i + req->firstKeyAct);
     }
-    len= XkbPaddedSize(req->nKeyActs)+(nActs*SIZEOF(xkbActionWireDesc));
-    req->totalActs= nActs;
+    len = XkbPaddedSize(req->nKeyActs) + (nActs * SIZEOF(xkbActionWireDesc));
+    req->totalActs = nActs;
     return len;
 }
 
 static void
-_XkbWriteKeyActions(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteKeyActions(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-    register int        i;
-    int                         n;
-    CARD8              *numDesc;
-    XkbAction          *actDesc;
+    register int i;
+    int n;
+    CARD8 *numDesc;
+    XkbAction *actDesc;
 
-    if ((req->present&XkbKeyActionsMask)==0)
-       return;
+    if ((req->present & XkbKeyActionsMask) == 0)
+        return;
     n = XkbPaddedSize(req->nKeyActs);
-    n+= (req->totalActs*SIZEOF(xkbActionWireDesc));
-
-    BufAlloc(CARD8 *,numDesc,n);
-    for (i=0;i<req->nKeyActs;i++) {
-       if (xkb->server->key_acts[i+req->firstKeyAct]==0)
-            numDesc[i] = 0;
-       else numDesc[i] = XkbKeyNumActions(xkb,(i+req->firstKeyAct));
+    n += (req->totalActs * SIZEOF(xkbActionWireDesc));
+
+    BufAlloc(CARD8 *, numDesc, n);
+    for (i = 0; i < req->nKeyActs; i++) {
+        if (xkb->server->key_acts[i + req->firstKeyAct] == 0)
+            numDesc[i] = 0;
+        else
+            numDesc[i] = XkbKeyNumActions(xkb, (i + req->firstKeyAct));
     }
-    actDesc = (XkbAction *)&numDesc[XkbPaddedSize(req->nKeyActs)];
-    for (i=0;i<req->nKeyActs;i++) {
-       if (xkb->server->key_acts[i+req->firstKeyAct]!=0) {
-           n = XkbKeyNumActions(xkb,(i+req->firstKeyAct));
-           memcpy(actDesc,XkbKeyActionsPtr(xkb,(i+req->firstKeyAct)),
-                                                   n*SIZEOF(xkbActionWireDesc));
-           actDesc+= n;
-       }
+    actDesc = (XkbAction *) &numDesc[XkbPaddedSize(req->nKeyActs)];
+    for (i = 0; i < req->nKeyActs; i++) {
+        if (xkb->server->key_acts[i + req->firstKeyAct] != 0) {
+            n = XkbKeyNumActions(xkb, (i + req->firstKeyAct));
+            memcpy(actDesc, XkbKeyActionsPtr(xkb, (i + req->firstKeyAct)),
+                   n * SIZEOF(xkbActionWireDesc));
+            actDesc += n;
+        }
     }
     return;
 }
 
 static int
-_XkbSizeKeyBehaviors(XkbDescPtr        xkb,xkbSetMapReq *req)
+_XkbSizeKeyBehaviors(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int i,first,last,nFound;
+    register int i, first, last, nFound;
 
-    if (((req->present&XkbKeyBehaviorsMask)==0)||(req->nKeyBehaviors<1)) {
-       req->present&= ~XkbKeyBehaviorsMask;
-       req->firstKeyBehavior= req->nKeyBehaviors= 0;
-       req->totalKeyBehaviors= 0;
-       return 0;
+    if (((req->present & XkbKeyBehaviorsMask) == 0) || (req->nKeyBehaviors < 1)) {
+        req->present &= ~XkbKeyBehaviorsMask;
+        req->firstKeyBehavior = req->nKeyBehaviors = 0;
+        req->totalKeyBehaviors = 0;
+        return 0;
     }
-    first= req->firstKeyBehavior;
-    last= first+req->nKeyBehaviors-1;
-    for (i=first,nFound=0;i<=last;i++) {
-       if (xkb->server->behaviors[i].type!=XkbKB_Default)
-           nFound++;
+    first = req->firstKeyBehavior;
+    last = first + req->nKeyBehaviors - 1;
+    for (i = first, nFound = 0; i <= last; i++) {
+        if (xkb->server->behaviors[i].type != XkbKB_Default)
+            nFound++;
     }
-    req->totalKeyBehaviors= nFound;
-    return (nFound*SIZEOF(xkbBehaviorWireDesc));
+    req->totalKeyBehaviors = nFound;
+    return (nFound * SIZEOF(xkbBehaviorWireDesc));
 }
 
 static void
-_XkbWriteKeyBehaviors(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteKeyBehaviors(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int           i,first,last;
-xkbBehaviorWireDesc *  wire;
-char *                 buf;
-
-    if ((req->present&XkbKeyBehaviorsMask)==0)
-       return;
-    first= req->firstKeyBehavior;
-    last= first+req->nKeyBehaviors-1;
-
-    i= req->totalKeyBehaviors*SIZEOF(xkbBehaviorWireDesc);
-    BufAlloc(char *,buf,i);
-    wire= (xkbBehaviorWireDesc *)buf;
-    for (i=first;i<=last;i++) {
-       if (xkb->server->behaviors[i].type!=XkbKB_Default) {
-           wire->key= i;
-           wire->type= xkb->server->behaviors[i].type;
-           wire->data= xkb->server->behaviors[i].data;
-           buf+= SIZEOF(xkbBehaviorWireDesc);
-           wire= (xkbBehaviorWireDesc *)buf;
-       }
+    register int i, first, last;
+    xkbBehaviorWireDesc *wire;
+    char *buf;
+
+    if ((req->present & XkbKeyBehaviorsMask) == 0)
+        return;
+    first = req->firstKeyBehavior;
+    last = first + req->nKeyBehaviors - 1;
+
+    i = req->totalKeyBehaviors * SIZEOF(xkbBehaviorWireDesc);
+    BufAlloc(char *, buf, i);
+    wire = (xkbBehaviorWireDesc *) buf;
+    for (i = first; i <= last; i++) {
+        if (xkb->server->behaviors[i].type != XkbKB_Default) {
+            wire->key = i;
+            wire->type = xkb->server->behaviors[i].type;
+            wire->data = xkb->server->behaviors[i].data;
+            buf += SIZEOF(xkbBehaviorWireDesc);
+            wire = (xkbBehaviorWireDesc *) buf;
+        }
     }
     return;
 }
@@ -255,236 +256,239 @@ char *                  buf;
 static unsigned
 _XkbSizeVirtualMods(xkbSetMapReq *req)
 {
-register int i,bit,nMods;
-
-   if (((req->present&XkbVirtualModsMask)==0)||(req->virtualMods==0)) {
-       req->present&= ~XkbVirtualModsMask;
-       req->virtualMods= 0;
-       return 0;
-   }
-   for (i=nMods=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-       if (req->virtualMods&bit)
-           nMods++;
-   }
-   return XkbPaddedSize(nMods);
+    register int i, bit, nMods;
+
+    if (((req->present & XkbVirtualModsMask) == 0) || (req->virtualMods == 0)) {
+        req->present &= ~XkbVirtualModsMask;
+        req->virtualMods = 0;
+        return 0;
+    }
+    for (i = nMods = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+        if (req->virtualMods & bit)
+            nMods++;
+    }
+    return XkbPaddedSize(nMods);
 }
 
 static void
-_XkbWriteVirtualMods(  Display *       dpy,
-                       XkbDescPtr      xkb,
-                       xkbSetMapReq *  req,
-                       unsigned        size)
+_XkbWriteVirtualMods(Display *dpy,
+                     XkbDescPtr xkb,
+                     xkbSetMapReq *req,
+                     unsigned size)
 {
-    register int        i,bit;
-    CARD8              *vmods;
+    register int i, bit;
+    CARD8 *vmods;
 
     /* This was req->present&XkbVirtualModsMask==0, and '==' beats '&' */
     if (((req->present & XkbVirtualModsMask) == 0) || (size < 1))
-       return;
-    BufAlloc(CARD8 *,vmods,size);
-    for (i=0,bit=1;i<XkbNumVirtualMods;i++,bit<<=1) {
-       if (req->virtualMods&bit)
-           *vmods++= xkb->server->vmods[i];
+        return;
+    BufAlloc(CARD8 *, vmods, size);
+    for (i = 0, bit = 1; i < XkbNumVirtualMods; i++, bit <<= 1) {
+        if (req->virtualMods & bit)
+            *vmods++ = xkb->server->vmods[i];
     }
     return;
 }
 
 static int
-_XkbSizeKeyExplicit(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeKeyExplicit(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int i,first,last,nFound;
-
-    if (((req->present&XkbExplicitComponentsMask)==0)||(req->nKeyExplicit==0)) {
-       req->present&= ~XkbExplicitComponentsMask;
-       req->firstKeyExplicit= req->nKeyExplicit= 0;
-       req->totalKeyExplicit= 0;
-       return 0;
+    register int i, first, last, nFound;
+
+    if (((req->present & XkbExplicitComponentsMask) == 0) ||
+        (req->nKeyExplicit == 0)) {
+        req->present &= ~XkbExplicitComponentsMask;
+        req->firstKeyExplicit = req->nKeyExplicit = 0;
+        req->totalKeyExplicit = 0;
+        return 0;
     }
-    first= req->firstKeyExplicit;
-    last= first+req->nKeyExplicit-1;
+    first = req->firstKeyExplicit;
+    last = first + req->nKeyExplicit - 1;
 
-    for (i=first,nFound=0;i<=last;i++) {
-       if (xkb->server->explicit[i]!=0)
-           nFound++;
+    for (i = first, nFound = 0; i <= last; i++) {
+        if (xkb->server->explicit[i] != 0)
+            nFound++;
     }
-    req->totalKeyExplicit= nFound;
-    return XkbPaddedSize((nFound*2));
+    req->totalKeyExplicit = nFound;
+    return XkbPaddedSize((nFound * 2));
 }
 
 static void
-_XkbWriteKeyExplicit(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteKeyExplicit(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int   i,first,last;
-CARD8 *                wire;
-
-    if ((req->present&XkbExplicitComponentsMask)==0)
-       return;
-    first= req->firstKeyExplicit;
-    last= first+req->nKeyExplicit - 1;
-    i= XkbPaddedSize((req->totalKeyExplicit*2));
-    BufAlloc(CARD8 *,wire,i);
-    for (i=first;i<=last;i++) {
-       if (xkb->server->explicit[i]!=0) {
-           wire[0]= i;
-           wire[1]= xkb->server->explicit[i];
-           wire+= 2;
-       }
+    register int i, first, last;
+    CARD8 *wire;
+
+    if ((req->present & XkbExplicitComponentsMask) == 0)
+        return;
+    first = req->firstKeyExplicit;
+    last = first + req->nKeyExplicit - 1;
+    i = XkbPaddedSize((req->totalKeyExplicit * 2));
+    BufAlloc(CARD8 *, wire, i);
+    for (i = first; i <= last; i++) {
+        if (xkb->server->explicit[i] != 0) {
+            wire[0] = i;
+            wire[1] = xkb->server->explicit[i];
+            wire += 2;
+        }
     }
     return;
 }
 
 static int
-_XkbSizeModifierMap(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeModifierMap(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int i,first,last,nFound;
+    register int i, first, last, nFound;
 
-    if (((req->present&XkbModifierMapMask)==0)||(req->nModMapKeys==0)) {
-       req->present&= ~XkbModifierMapMask;
-       req->firstModMapKey= req->nModMapKeys= 0;
-       req->totalModMapKeys= 0;
-       return 0;
+    if (((req->present & XkbModifierMapMask) == 0) || (req->nModMapKeys == 0)) {
+        req->present &= ~XkbModifierMapMask;
+        req->firstModMapKey = req->nModMapKeys = 0;
+        req->totalModMapKeys = 0;
+        return 0;
     }
-    first= req->firstModMapKey;
-    last= first+req->nModMapKeys-1;
+    first = req->firstModMapKey;
+    last = first + req->nModMapKeys - 1;
 
-    for (i=first,nFound=0;i<=last;i++) {
-       if (xkb->map->modmap[i]!=0)
-           nFound++;
+    for (i = first, nFound = 0; i <= last; i++) {
+        if (xkb->map->modmap[i] != 0)
+            nFound++;
     }
-    req->totalModMapKeys= nFound;
-    return XkbPaddedSize((nFound*2));
+    req->totalModMapKeys = nFound;
+    return XkbPaddedSize((nFound * 2));
 }
 
 static void
-_XkbWriteModifierMap(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteModifierMap(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int   i,first,last;
-CARD8 *                wire;
-
-    if ((req->present&XkbModifierMapMask)==0)
-       return;
-    first= req->firstModMapKey;
-    last= first+req->nModMapKeys-1;
-    if (req->totalModMapKeys>0) {
-       i= XkbPaddedSize((req->totalModMapKeys*2));
-       BufAlloc(CARD8 *,wire,i);
-       for (i=first;i<=last;i++) {
-           if (xkb->map->modmap[i]!=0) {
-               wire[0]= i;
-               wire[1]= xkb->map->modmap[i];
-               wire+= 2;
-           }
-       }
+    register int i, first, last;
+    CARD8 *wire;
+
+    if ((req->present & XkbModifierMapMask) == 0)
+        return;
+    first = req->firstModMapKey;
+    last = first + req->nModMapKeys - 1;
+    if (req->totalModMapKeys > 0) {
+        i = XkbPaddedSize((req->totalModMapKeys * 2));
+        BufAlloc(CARD8 *, wire, i);
+
+        for (i = first; i <= last; i++) {
+            if (xkb->map->modmap[i] != 0) {
+                wire[0] = i;
+                wire[1] = xkb->map->modmap[i];
+                wire += 2;
+            }
+        }
     }
     return;
 }
 
 static int
-_XkbSizeVirtualModMap(XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbSizeVirtualModMap(XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int i,first,last,nFound;
-
-    if (((req->present&XkbVirtualModMapMask)==0)||(req->nVModMapKeys==0)) {
-       req->present&= ~XkbVirtualModMapMask;
-       req->firstVModMapKey= req->nVModMapKeys= 0;
-       req->totalVModMapKeys= 0;
-       return 0;
+    register int i, first, last, nFound;
+
+    if (((req->present & XkbVirtualModMapMask) == 0) ||
+        (req->nVModMapKeys == 0)) {
+        req->present &= ~XkbVirtualModMapMask;
+        req->firstVModMapKey = req->nVModMapKeys = 0;
+        req->totalVModMapKeys = 0;
+        return 0;
     }
-    first= req->firstVModMapKey;
-    last= first+req->nVModMapKeys-1;
+    first = req->firstVModMapKey;
+    last = first + req->nVModMapKeys - 1;
 
-    for (i=first,nFound=0;i<=last;i++) {
-       if (xkb->server->vmodmap[i]!=0)
-           nFound++;
+    for (i = first, nFound = 0; i <= last; i++) {
+        if (xkb->server->vmodmap[i] != 0)
+            nFound++;
     }
-    req->totalVModMapKeys= nFound;
-    return nFound*SIZEOF(xkbVModMapWireDesc);
+    req->totalVModMapKeys = nFound;
+    return nFound * SIZEOF(xkbVModMapWireDesc);
 }
 
 static void
-_XkbWriteVirtualModMap(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+_XkbWriteVirtualModMap(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-register int           i,first,last;
-xkbVModMapWireDesc *   wire;
-
-    if ((req->present&XkbVirtualModMapMask)==0)
-       return;
-    first= req->firstVModMapKey;
-    last= first+req->nVModMapKeys-1;
-    if (req->totalVModMapKeys>0) {
-       i= req->totalVModMapKeys*SIZEOF(xkbVModMapWireDesc);
-       BufAlloc(xkbVModMapWireDesc *,wire,i);
-       for (i=first;i<=last;i++) {
-           if (xkb->server->vmodmap[i]!=0) {
-               wire->key= i;
-               wire->vmods= xkb->server->vmodmap[i];
-               wire++;
-           }
-       }
+    register int i, first, last;
+    xkbVModMapWireDesc *wire;
+
+    if ((req->present & XkbVirtualModMapMask) == 0)
+        return;
+    first = req->firstVModMapKey;
+    last = first + req->nVModMapKeys - 1;
+    if (req->totalVModMapKeys > 0) {
+        i = req->totalVModMapKeys * SIZEOF(xkbVModMapWireDesc);
+        BufAlloc(xkbVModMapWireDesc *, wire, i);
+        for (i = first; i <= last; i++) {
+            if (xkb->server->vmodmap[i] != 0) {
+                wire->key = i;
+                wire->vmods = xkb->server->vmodmap[i];
+                wire++;
+            }
+        }
     }
     return;
 }
 
 static void
-SendSetMap(Display *dpy,XkbDescPtr xkb,xkbSetMapReq *req)
+SendSetMap(Display *dpy, XkbDescPtr xkb, xkbSetMapReq *req)
 {
-xkbSetMapReq tmp;
-unsigned szMods;
-
-    req->length+= _XkbSizeKeyTypes(xkb,req)/4;
-    req->length+= _XkbSizeKeySyms(xkb,req)/4;
-    req->length+= _XkbSizeKeyActions(xkb,req)/4;
-    req->length+= _XkbSizeKeyBehaviors(xkb,req)/4;
-    szMods= _XkbSizeVirtualMods(req);
-    req->length+= szMods/4;
-    req->length+= _XkbSizeKeyExplicit(xkb,req)/4;
-    req->length+= _XkbSizeModifierMap(xkb,req)/4;
-    req->length+= _XkbSizeVirtualModMap(xkb,req)/4;
-
-    tmp= *req;
-    if ( tmp.nTypes>0 )
-       _XkbWriteKeyTypes(dpy,xkb,&tmp);
-    if ( tmp.nKeySyms>0 )
-       _XkbWriteKeySyms(dpy,xkb,&tmp);
-    if ( tmp.nKeyActs )
-       _XkbWriteKeyActions(dpy,xkb,&tmp);
-    if ( tmp.totalKeyBehaviors>0 )
-       _XkbWriteKeyBehaviors(dpy,xkb,&tmp);
-    if ( tmp.virtualMods )
-       _XkbWriteVirtualMods(dpy,xkb,&tmp,szMods);
-    if ( tmp.totalKeyExplicit>0)
-       _XkbWriteKeyExplicit(dpy,xkb,&tmp);
-    if ( tmp.totalModMapKeys>0)
-       _XkbWriteModifierMap(dpy,xkb,&tmp);
-    if ( tmp.totalVModMapKeys>0)
-       _XkbWriteVirtualModMap(dpy,xkb,&tmp);
+    xkbSetMapReq tmp;
+    unsigned szMods;
+
+    req->length += _XkbSizeKeyTypes(xkb, req) / 4;
+    req->length += _XkbSizeKeySyms(xkb, req) / 4;
+    req->length += _XkbSizeKeyActions(xkb, req) / 4;
+    req->length += _XkbSizeKeyBehaviors(xkb, req) / 4;
+    szMods = _XkbSizeVirtualMods(req);
+    req->length += szMods / 4;
+    req->length += _XkbSizeKeyExplicit(xkb, req) / 4;
+    req->length += _XkbSizeModifierMap(xkb, req) / 4;
+    req->length += _XkbSizeVirtualModMap(xkb, req) / 4;
+
+    tmp = *req;
+    if (tmp.nTypes > 0)
+        _XkbWriteKeyTypes(dpy, xkb, &tmp);
+    if (tmp.nKeySyms > 0)
+        _XkbWriteKeySyms(dpy, xkb, &tmp);
+    if (tmp.nKeyActs)
+        _XkbWriteKeyActions(dpy, xkb, &tmp);
+    if (tmp.totalKeyBehaviors > 0)
+        _XkbWriteKeyBehaviors(dpy, xkb, &tmp);
+    if (tmp.virtualMods)
+        _XkbWriteVirtualMods(dpy, xkb, &tmp, szMods);
+    if (tmp.totalKeyExplicit > 0)
+        _XkbWriteKeyExplicit(dpy, xkb, &tmp);
+    if (tmp.totalModMapKeys > 0)
+        _XkbWriteModifierMap(dpy, xkb, &tmp);
+    if (tmp.totalVModMapKeys > 0)
+        _XkbWriteVirtualModMap(dpy, xkb, &tmp);
     return;
 }
 
 Bool
-XkbSetMap(Display *dpy,unsigned which,XkbDescPtr xkb)
+XkbSetMap(Display *dpy, unsigned which, XkbDescPtr xkb)
 {
-register xkbSetMapReq *        req;
-XkbInfoPtr             xkbi;
-XkbServerMapPtr                srv;
-XkbClientMapPtr                map;
+    register xkbSetMapReq *req;
+    XkbInfoPtr xkbi;
+    XkbServerMapPtr srv;
+    XkbClientMapPtr map;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL))||
-       (!xkb))
-       return False;
-    map= xkb->map;
-    srv= xkb->server;
-
-    if (((which&XkbKeyTypesMask)&&((!map)||(!map->types)))||
-       ((which&XkbKeySymsMask)&&((!map)||(!map->syms)||(!map->key_sym_map)))||
-       ((which&XkbKeyActionsMask)&&((!srv)||(!srv->key_acts)))||
-       ((which&XkbKeyBehaviorsMask)&&((!srv)||(!srv->behaviors)))||
-       ((which&XkbVirtualModsMask)&&(!srv))||
-       ((which&XkbExplicitComponentsMask)&&((!srv)||(!srv->explicit)))||
-       ((which&XkbModifierMapMask)&&((!map)||(!map->modmap)))||
-       ((which&XkbVirtualModMapMask)&&((!srv)||(!srv->vmodmap))))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)) || (!xkb))
+        return False;
+    map = xkb->map;
+    srv = xkb->server;
+
+    if (((which & XkbKeyTypesMask) && ((!map) || (!map->types))) ||
+        ((which & XkbKeySymsMask) &&
+         ((!map) || (!map->syms) || (!map->key_sym_map))) ||
+        ((which & XkbKeyActionsMask) && ((!srv) || (!srv->key_acts))) ||
+        ((which & XkbKeyBehaviorsMask) && ((!srv) || (!srv->behaviors))) ||
+        ((which & XkbVirtualModsMask) && (!srv)) ||
+        ((which & XkbExplicitComponentsMask) && ((!srv) || (!srv->explicit))) ||
+        ((which & XkbModifierMapMask) && ((!map) || (!map->modmap))) ||
+        ((which & XkbVirtualModMapMask) && ((!srv) || (!srv->vmodmap))))
+        return False;
 
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
@@ -494,69 +498,73 @@ XkbClientMapPtr           map;
     req->deviceSpec = xkb->device_spec;
     req->present = which;
     req->flags = XkbSetMapAllFlags;
-    req->minKeyCode= xkb->min_key_code;
-    req->maxKeyCode= xkb->max_key_code;
+    req->minKeyCode = xkb->min_key_code;
+    req->maxKeyCode = xkb->max_key_code;
     req->firstType = 0;
-    if (which&XkbKeyTypesMask) req->nTypes = map->num_types;
-    else                       req->nTypes = 0;
-    if (which&XkbKeySymsMask) {
-       req->firstKeySym = xkb->min_key_code;
-       req->nKeySyms = XkbNumKeys(xkb);
+    if (which & XkbKeyTypesMask)
+        req->nTypes = map->num_types;
+    else
+        req->nTypes = 0;
+    if (which & XkbKeySymsMask) {
+        req->firstKeySym = xkb->min_key_code;
+        req->nKeySyms = XkbNumKeys(xkb);
     }
-    if (which&XkbKeyActionsMask) {
-       req->firstKeyAct = xkb->min_key_code;
-       req->nKeyActs = XkbNumKeys(xkb);
+    if (which & XkbKeyActionsMask) {
+        req->firstKeyAct = xkb->min_key_code;
+        req->nKeyActs = XkbNumKeys(xkb);
     }
-    if (which&XkbKeyBehaviorsMask) {
-       req->firstKeyBehavior = xkb->min_key_code;
-       req->nKeyBehaviors = XkbNumKeys(xkb);
+    if (which & XkbKeyBehaviorsMask) {
+        req->firstKeyBehavior = xkb->min_key_code;
+        req->nKeyBehaviors = XkbNumKeys(xkb);
     }
-    if (which&XkbVirtualModsMask)
-       req->virtualMods= ~0;
-    if (which&XkbExplicitComponentsMask) {
-       req->firstKeyExplicit= xkb->min_key_code;
-       req->nKeyExplicit = XkbNumKeys(xkb);
+    if (which & XkbVirtualModsMask)
+        req->virtualMods = ~0;
+    if (which & XkbExplicitComponentsMask) {
+        req->firstKeyExplicit = xkb->min_key_code;
+        req->nKeyExplicit = XkbNumKeys(xkb);
     }
-    if (which&XkbModifierMapMask) {
-       req->firstModMapKey= xkb->min_key_code;
-       req->nModMapKeys = XkbNumKeys(xkb);
+    if (which & XkbModifierMapMask) {
+        req->firstModMapKey = xkb->min_key_code;
+        req->nModMapKeys = XkbNumKeys(xkb);
     }
-    if (which&XkbVirtualModMapMask) {
-       req->firstVModMapKey= xkb->min_key_code;
-       req->nVModMapKeys = XkbNumKeys(xkb);
+    if (which & XkbVirtualModMapMask) {
+        req->firstVModMapKey = xkb->min_key_code;
+        req->nVModMapKeys = XkbNumKeys(xkb);
     }
-    SendSetMap(dpy,xkb,req);
+    SendSetMap(dpy, xkb, req);
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
 
 Bool
-XkbChangeMap(Display *dpy,XkbDescPtr xkb,XkbMapChangesPtr changes)
+XkbChangeMap(Display *dpy, XkbDescPtr xkb, XkbMapChangesPtr changes)
 {
-register xkbSetMapReq *        req;
-XkbInfoPtr             xkbi;
-XkbServerMapPtr                srv;
-XkbClientMapPtr                map;
+    register xkbSetMapReq *req;
+    XkbInfoPtr xkbi;
+    XkbServerMapPtr srv;
+    XkbClientMapPtr map;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL))||
-       (!xkb)||(!changes))
-       return False;
-    srv= xkb->server;
-    map= xkb->map;
-
-    if (((changes->changed&XkbKeyTypesMask)&&((!map)||(!map->types)))||
-       ((changes->changed&XkbKeySymsMask)&&((!map)||(!map->syms)||
-                               (!map->key_sym_map)))||
-       ((changes->changed&XkbKeyActionsMask)&&((!srv)||(!srv->key_acts)))||
-       ((changes->changed&XkbKeyBehaviorsMask)&&((!srv)||(!srv->behaviors)))||
-       ((changes->changed&XkbVirtualModsMask)&&(!srv))||
-       ((changes->changed&XkbExplicitComponentsMask)&&
-                               ((!srv)||(!srv->explicit)))||
-       ((changes->changed&XkbModifierMapMask)&&((!map)||(!map->modmap)))||
-       ((changes->changed&XkbVirtualModMapMask)&&((!srv)||(!srv->vmodmap))))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)) ||
+        (!xkb) || (!changes))
+        return False;
+    srv = xkb->server;
+    map = xkb->map;
+
+    if (((changes->changed & XkbKeyTypesMask) && ((!map) || (!map->types))) ||
+        ((changes->changed & XkbKeySymsMask) && ((!map) || (!map->syms) ||
+                                                 (!map->key_sym_map))) ||
+        ((changes->changed & XkbKeyActionsMask) && ((!srv) || (!srv->key_acts)))
+        || ((changes->changed & XkbKeyBehaviorsMask) &&
+            ((!srv) || (!srv->behaviors))) ||
+        ((changes->changed & XkbVirtualModsMask) && (!srv)) ||
+        ((changes->changed & XkbExplicitComponentsMask) &&
+         ((!srv) || (!srv->explicit))) ||
+        ((changes->changed & XkbModifierMapMask) && ((!map) || (!map->modmap)))
+        || ((changes->changed & XkbVirtualModMapMask) &&
+            ((!srv) || (!srv->vmodmap))))
+        return False;
 
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
@@ -566,8 +574,8 @@ XkbClientMapPtr             map;
     req->deviceSpec = xkb->device_spec;
     req->present = changes->changed;
     req->flags = XkbSetMapRecomputeActions;
-    req->minKeyCode= xkb->min_key_code;
-    req->maxKeyCode= xkb->max_key_code;
+    req->minKeyCode = xkb->min_key_code;
+    req->maxKeyCode = xkb->max_key_code;
     req->firstType = changes->first_type;
     req->nTypes = changes->num_types;
     req->firstKeySym = changes->first_key_sym;
@@ -583,9 +591,8 @@ XkbClientMapPtr             map;
     req->nModMapKeys = changes->num_modmap_keys;
     req->firstVModMapKey = changes->first_vmodmap_key;
     req->nVModMapKeys = changes->num_vmodmap_keys;
-    SendSetMap(dpy,xkb,req);
+    SendSetMap(dpy, xkb, req);
     UnlockDisplay(dpy);
     SyncHandle();
     return True;
 }
-
index 05dcfc1..3194137 100644 (file)
@@ -33,558 +33,552 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <X11/extensions/XKBproto.h>
 #include "XKBlibint.h"
 
-static Bool    _XkbIgnoreExtension = False;
+static Bool _XkbIgnoreExtension = False;
 
 void
-XkbNoteMapChanges(XkbMapChangesPtr old,XkbMapNotifyEvent *new,unsigned wanted)
+XkbNoteMapChanges(XkbMapChangesPtr old,
+                  XkbMapNotifyEvent *new,
+                  unsigned wanted)
 {
-    int first,oldLast,newLast;
-    wanted&= new->changed;
-
-    if (wanted&XkbKeyTypesMask) {
-       if (old->changed&XkbKeyTypesMask) {
-           first = old->first_type;
-           oldLast = old->first_type+old->num_types-1;
-           newLast = new->first_type+new->num_types-1;
-
-           if (new->first_type<first)
-               first = new->first_type;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_type = first;
-           old->num_types = newLast-first+1;
-       }
-       else {
-           old->first_type= new->first_type;
-           old->num_types = new->num_types;
-       }
-    }
-    if (wanted&XkbKeySymsMask) {
-       if (old->changed&XkbKeySymsMask) {
-           first = old->first_key_sym;
-           oldLast = old->first_key_sym+old->num_key_syms-1;
-           newLast = new->first_key_sym+new->num_key_syms-1;
-
-           if (new->first_key_sym<first)
-               first = new->first_key_sym;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_key_sym = first;
-           old->num_key_syms = newLast-first+1;
-       }
-       else {
-           old->first_key_sym = new->first_key_sym;
-           old->num_key_syms = new->num_key_syms;
-       }
-    }
-    if (wanted&XkbKeyActionsMask) {
-       if (old->changed&XkbKeyActionsMask) {
-           first = old->first_key_act;
-           oldLast = old->first_key_act+old->num_key_acts-1;
-           newLast = new->first_key_act+new->num_key_acts-1;
-
-           if (new->first_key_act<first)
-               first = new->first_key_act;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_key_act = first;
-           old->num_key_acts = newLast-first+1;
-       }
-       else {
-           old->first_key_act = new->first_key_act;
-           old->num_key_acts = new->num_key_acts;
-       }
-    }
-    if (wanted&XkbKeyBehaviorsMask) {
-       if (old->changed&XkbKeyBehaviorsMask) {
-           first = old->first_key_behavior;
-           oldLast = old->first_key_behavior+old->num_key_behaviors-1;
-           newLast = new->first_key_behavior+new->num_key_behaviors-1;
-
-           if (new->first_key_behavior<first)
-               first = new->first_key_behavior;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_key_behavior = first;
-           old->num_key_behaviors = newLast-first+1;
-       }
-       else {
-           old->first_key_behavior = new->first_key_behavior;
-           old->num_key_behaviors = new->num_key_behaviors;
-       }
-    }
-    if (wanted&XkbVirtualModsMask) {
-       old->vmods|= new->vmods;
-    }
-    if (wanted&XkbExplicitComponentsMask) {
-       if (old->changed&XkbExplicitComponentsMask) {
-           first = old->first_key_explicit;
-           oldLast = old->first_key_explicit+old->num_key_explicit-1;
-           newLast = new->first_key_explicit+new->num_key_explicit-1;
-
-           if (new->first_key_explicit<first)
-               first = new->first_key_explicit;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_key_explicit = first;
-           old->num_key_explicit = newLast-first+1;
-       }
-       else {
-           old->first_key_explicit = new->first_key_explicit;
-           old->num_key_explicit = new->num_key_explicit;
-       }
-    }
-    if (wanted&XkbModifierMapMask) {
-       if (old->changed&XkbModifierMapMask) {
-           first = old->first_modmap_key;
-           oldLast = old->first_modmap_key+old->num_modmap_keys-1;
-           newLast = new->first_modmap_key+new->num_modmap_keys-1;
-
-           if (new->first_modmap_key<first)
-               first = new->first_modmap_key;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_modmap_key = first;
-           old->num_modmap_keys = newLast-first+1;
-       }
-       else {
-           old->first_modmap_key = new->first_modmap_key;
-           old->num_modmap_keys = new->num_modmap_keys;
-       }
-    }
-    if (wanted&XkbVirtualModMapMask) {
-       if (old->changed&XkbVirtualModMapMask) {
-           first = old->first_vmodmap_key;
-           oldLast = old->first_vmodmap_key+old->num_vmodmap_keys-1;
-           newLast = new->first_vmodmap_key+new->num_vmodmap_keys-1;
-
-           if (new->first_vmodmap_key<first)
-               first = new->first_vmodmap_key;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_vmodmap_key = first;
-           old->num_vmodmap_keys = newLast-first+1;
-       }
-       else {
-           old->first_vmodmap_key = new->first_vmodmap_key;
-           old->num_vmodmap_keys = new->num_vmodmap_keys;
-       }
-    }
-    old->changed|= wanted;
+    int first, oldLast, newLast;
+
+    wanted &= new->changed;
+
+    if (wanted & XkbKeyTypesMask) {
+        if (old->changed & XkbKeyTypesMask) {
+            first = old->first_type;
+            oldLast = old->first_type + old->num_types - 1;
+            newLast = new->first_type + new->num_types - 1;
+
+            if (new->first_type < first)
+                first = new->first_type;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_type = first;
+            old->num_types = newLast - first + 1;
+        }
+        else {
+            old->first_type = new->first_type;
+            old->num_types = new->num_types;
+        }
+    }
+    if (wanted & XkbKeySymsMask) {
+        if (old->changed & XkbKeySymsMask) {
+            first = old->first_key_sym;
+            oldLast = old->first_key_sym + old->num_key_syms - 1;
+            newLast = new->first_key_sym + new->num_key_syms - 1;
+
+            if (new->first_key_sym < first)
+                first = new->first_key_sym;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_key_sym = first;
+            old->num_key_syms = newLast - first + 1;
+        }
+        else {
+            old->first_key_sym = new->first_key_sym;
+            old->num_key_syms = new->num_key_syms;
+        }
+    }
+    if (wanted & XkbKeyActionsMask) {
+        if (old->changed & XkbKeyActionsMask) {
+            first = old->first_key_act;
+            oldLast = old->first_key_act + old->num_key_acts - 1;
+            newLast = new->first_key_act + new->num_key_acts - 1;
+
+            if (new->first_key_act < first)
+                first = new->first_key_act;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_key_act = first;
+            old->num_key_acts = newLast - first + 1;
+        }
+        else {
+            old->first_key_act = new->first_key_act;
+            old->num_key_acts = new->num_key_acts;
+        }
+    }
+    if (wanted & XkbKeyBehaviorsMask) {
+        if (old->changed & XkbKeyBehaviorsMask) {
+            first = old->first_key_behavior;
+            oldLast = old->first_key_behavior + old->num_key_behaviors - 1;
+            newLast = new->first_key_behavior + new->num_key_behaviors - 1;
+
+            if (new->first_key_behavior < first)
+                first = new->first_key_behavior;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_key_behavior = first;
+            old->num_key_behaviors = newLast - first + 1;
+        }
+        else {
+            old->first_key_behavior = new->first_key_behavior;
+            old->num_key_behaviors = new->num_key_behaviors;
+        }
+    }
+    if (wanted & XkbVirtualModsMask) {
+        old->vmods |= new->vmods;
+    }
+    if (wanted & XkbExplicitComponentsMask) {
+        if (old->changed & XkbExplicitComponentsMask) {
+            first = old->first_key_explicit;
+            oldLast = old->first_key_explicit + old->num_key_explicit - 1;
+            newLast = new->first_key_explicit + new->num_key_explicit - 1;
+
+            if (new->first_key_explicit < first)
+                first = new->first_key_explicit;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_key_explicit = first;
+            old->num_key_explicit = newLast - first + 1;
+        }
+        else {
+            old->first_key_explicit = new->first_key_explicit;
+            old->num_key_explicit = new->num_key_explicit;
+        }
+    }
+    if (wanted & XkbModifierMapMask) {
+        if (old->changed & XkbModifierMapMask) {
+            first = old->first_modmap_key;
+            oldLast = old->first_modmap_key + old->num_modmap_keys - 1;
+            newLast = new->first_modmap_key + new->num_modmap_keys - 1;
+
+            if (new->first_modmap_key < first)
+                first = new->first_modmap_key;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_modmap_key = first;
+            old->num_modmap_keys = newLast - first + 1;
+        }
+        else {
+            old->first_modmap_key = new->first_modmap_key;
+            old->num_modmap_keys = new->num_modmap_keys;
+        }
+    }
+    if (wanted & XkbVirtualModMapMask) {
+        if (old->changed & XkbVirtualModMapMask) {
+            first = old->first_vmodmap_key;
+            oldLast = old->first_vmodmap_key + old->num_vmodmap_keys - 1;
+            newLast = new->first_vmodmap_key + new->num_vmodmap_keys - 1;
+
+            if (new->first_vmodmap_key < first)
+                first = new->first_vmodmap_key;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_vmodmap_key = first;
+            old->num_vmodmap_keys = newLast - first + 1;
+        }
+        else {
+            old->first_vmodmap_key = new->first_vmodmap_key;
+            old->num_vmodmap_keys = new->num_vmodmap_keys;
+        }
+    }
+    old->changed |= wanted;
     return;
 }
 
 void
-_XkbNoteCoreMapChanges(        XkbMapChangesPtr         old,
-                       XMappingEvent *         new,
-                       unsigned int            wanted)
+_XkbNoteCoreMapChanges(XkbMapChangesPtr old,
+                       XMappingEvent *new,
+                       unsigned int wanted)
 {
-    int first,oldLast,newLast;
-
-    if ((new->request==MappingKeyboard)&&(wanted&XkbKeySymsMask)) {
-       if (old->changed&XkbKeySymsMask) {
-           first = old->first_key_sym;
-           oldLast = old->first_key_sym+old->num_key_syms-1;
-           newLast = new->first_keycode+new->count-1;
-
-           if (new->first_keycode<first)
-               first = new->first_keycode;
-           if (oldLast>newLast)
-               newLast= oldLast;
-           old->first_key_sym = first;
-           old->num_key_syms = newLast-first+1;
-       }
-       else {
-           old->changed|= XkbKeySymsMask;
-           old->first_key_sym = new->first_keycode;
-           old->num_key_syms = new->count;
-       }
+    int first, oldLast, newLast;
+
+    if ((new->request == MappingKeyboard) && (wanted & XkbKeySymsMask)) {
+        if (old->changed & XkbKeySymsMask) {
+            first = old->first_key_sym;
+            oldLast = old->first_key_sym + old->num_key_syms - 1;
+            newLast = new->first_keycode + new->count - 1;
+
+            if (new->first_keycode < first)
+                first = new->first_keycode;
+            if (oldLast > newLast)
+                newLast = oldLast;
+            old->first_key_sym = first;
+            old->num_key_syms = newLast - first + 1;
+        }
+        else {
+            old->changed |= XkbKeySymsMask;
+            old->first_key_sym = new->first_keycode;
+            old->num_key_syms = new->count;
+        }
     }
     return;
 }
 
 static Bool
-wire_to_event(Display *dpy,XEvent *re,xEvent *event)
+wire_to_event(Display *dpy, XEvent *re, xEvent *event)
 {
-    xkbEvent *xkbevent= (xkbEvent *)event;
+    xkbEvent *xkbevent = (xkbEvent *) event;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     xkbi = dpy->xkb_info;
-    if (((event->u.u.type&0x7f)-xkbi->codes->first_event)!=XkbEventCode)
-       return False;
+    if (((event->u.u.type & 0x7f) - xkbi->codes->first_event) != XkbEventCode)
+        return False;
 
     switch (xkbevent->u.any.xkbType) {
-       case XkbStateNotify:
-           {
-               xkbStateNotify *sn = (xkbStateNotify *)event;
-               if ( xkbi->selected_events&XkbStateNotifyMask ) {
-                   XkbStateNotifyEvent *sev=(XkbStateNotifyEvent *)re;
-                   sev->type = XkbEventCode+xkbi->codes->first_event;
-                   sev->xkb_type = XkbStateNotify;
-                   sev->serial = _XSetLastRequestRead(dpy,
-                                       (xGenericReply *)event);
-                   sev->send_event = ((event->u.u.type & 0x80) != 0);
-                   sev->display = dpy;
-                   sev->time = sn->time;
-                   sev->device = sn->deviceID;
-                   sev->keycode = sn->keycode;
-                   sev->event_type = sn->eventType;
-                   sev->req_major = sn->requestMajor;
-                   sev->req_minor = sn->requestMinor;
-                   sev->changed = sn->changed;
-                   sev->group = sn->group;
-                   sev->base_group = sn->baseGroup;
-                   sev->latched_group = sn->latchedGroup;
-                   sev->locked_group = sn->lockedGroup;
-                   sev->mods = sn->mods;
-                   sev->base_mods = sn->baseMods;
-                   sev->latched_mods = sn->latchedMods;
-                   sev->locked_mods = sn->lockedMods;
-                   sev->compat_state = sn->compatState;
-                   sev->grab_mods = sn->grabMods;
-                   sev->compat_grab_mods = sn->compatGrabMods;
-                   sev->lookup_mods = sn->lookupMods;
-                   sev->compat_lookup_mods = sn->compatLookupMods;
-                   sev->ptr_buttons = sn->ptrBtnState;
-                   return True;
-               }
-           }
-           break;
-       case XkbMapNotify:
-           {
-               xkbMapNotify *mn = (xkbMapNotify *)event;
-               if ((xkbi->selected_events&XkbMapNotifyMask)&&
-                               (xkbi->selected_map_details&mn->changed)) {
-                   XkbMapNotifyEvent *mev;
-                   mev =(XkbMapNotifyEvent *)re;
-                   mev->type = XkbEventCode+xkbi->codes->first_event;
-                   mev->xkb_type = XkbMapNotify;
-                   mev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   mev->send_event = ((event->u.u.type&0x80)!=0);
-                   mev->display = dpy;
-                   mev->time = mn->time;
-                   mev->device = mn->deviceID;
-                   mev->changed =  mn->changed;
-                   mev->min_key_code = mn->minKeyCode;
-                   mev->max_key_code = mn->maxKeyCode;
-                   mev->first_type = mn->firstType;
-                   mev->num_types = mn->nTypes;
-                   mev->first_key_sym = mn->firstKeySym;
-                   mev->num_key_syms = mn->nKeySyms;
-                   mev->first_key_act = mn->firstKeyAct;
-                   mev->num_key_acts = mn->nKeyActs;
-                   mev->first_key_behavior = mn->firstKeyBehavior;
-                   mev->num_key_behaviors = mn->nKeyBehaviors;
-                   mev->vmods = mn->virtualMods;
-                   mev->first_key_explicit = mn->firstKeyExplicit;
-                   mev->num_key_explicit = mn->nKeyExplicit;
-                   mev->first_modmap_key = mn->firstModMapKey;
-                   mev->num_modmap_keys = mn->nModMapKeys;
-                   mev->first_vmodmap_key = mn->firstVModMapKey;
-                   mev->num_vmodmap_keys = mn->nVModMapKeys;
-                   XkbNoteMapChanges(&xkbi->changes,mev,XKB_XLIB_MAP_MASK);
-                   if (xkbi->changes.changed)
-                       xkbi->flags|= XkbMapPending;
-                   return True;
-               }
-               else if (mn->nKeySyms>0) {
-                   register XMappingEvent *ev = (XMappingEvent *)re;
-                   ev->type = MappingNotify;
-                   ev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   ev->send_event = ((event->u.u.type&0x80)!=0);
-                   ev->display = dpy;
-                   ev->window = 0;
-                   ev->first_keycode = mn->firstKeySym;
-                   ev->request = MappingKeyboard;
-                   ev->count = mn->nKeySyms;
-                   _XkbNoteCoreMapChanges(&xkbi->changes,ev,XKB_XLIB_MAP_MASK);
-                   if (xkbi->changes.changed)
-                       xkbi->flags|= XkbMapPending;
-                   return True;
-               }
-           }
-           break;
-       case XkbControlsNotify:
-           {
-               if (xkbi->selected_events&XkbControlsNotifyMask) {
-                   xkbControlsNotify *cn =(xkbControlsNotify *)event;
-                   XkbControlsNotifyEvent *cev;
-                   cev =(XkbControlsNotifyEvent *)re;
-                   cev->type = XkbEventCode+xkbi->codes->first_event;
-                   cev->xkb_type = XkbControlsNotify;
-                   cev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   cev->send_event = ((event->u.u.type&0x80)!=0);
-                   cev->display = dpy;
-                   cev->time = cn->time;
-                   cev->device = cn->deviceID;
-                   cev->changed_ctrls =  cn->changedControls;
-                   cev->enabled_ctrls =  cn->enabledControls;
-                   cev->enabled_ctrl_changes = cn->enabledControlChanges;
-                   cev->keycode = cn->keycode;
-                   cev->num_groups = cn->numGroups;
-                   cev->event_type = cn->eventType;
-                   cev->req_major = cn->requestMajor;
-                   cev->req_minor = cn->requestMinor;
-                   return True;
-               }
-           }
-           break;
-       case XkbIndicatorMapNotify:
-           {
-               if (xkbi->selected_events&XkbIndicatorMapNotifyMask) {
-                   xkbIndicatorNotify *in =(xkbIndicatorNotify *)event;
-                   XkbIndicatorNotifyEvent *iev;
-                   iev =(XkbIndicatorNotifyEvent *)re;
-                   iev->type = XkbEventCode+xkbi->codes->first_event;
-                   iev->xkb_type = XkbIndicatorMapNotify;
-                   iev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   iev->send_event = ((event->u.u.type&0x80)!=0);
-                   iev->display = dpy;
-                   iev->time = in->time;
-                   iev->device = in->deviceID;
-                   iev->changed =  in->changed;
-                   iev->state=  in->state;
-                   return True;
-               }
-           }
-           break;
-       case XkbIndicatorStateNotify:
-           {
-               if (xkbi->selected_events&XkbIndicatorStateNotifyMask) {
-                   xkbIndicatorNotify *in =(xkbIndicatorNotify *)event;
-                   XkbIndicatorNotifyEvent *iev;
-                   iev =(XkbIndicatorNotifyEvent *)re;
-                   iev->type = XkbEventCode+xkbi->codes->first_event;
-                   iev->xkb_type = XkbIndicatorStateNotify;
-                   iev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   iev->send_event = ((event->u.u.type&0x80)!=0);
-                   iev->display = dpy;
-                   iev->time = in->time;
-                   iev->device = in->deviceID;
-                   iev->changed =  in->changed;
-                   iev->state=  in->state;
-                   return True;
-               }
-           }
-           break;
-       case XkbBellNotify:
-           {
-               if (xkbi->selected_events&XkbBellNotifyMask) {
-                   xkbBellNotify *bn =(xkbBellNotify *)event;
-                   XkbBellNotifyEvent *bev;
-                   bev =(XkbBellNotifyEvent *)re;
-                   bev->type = XkbEventCode+xkbi->codes->first_event;
-                   bev->xkb_type = XkbBellNotify;
-                   bev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   bev->send_event = ((event->u.u.type&0x80)!=0);
-                   bev->display = dpy;
-                   bev->time = bn->time;
-                   bev->device = bn->deviceID;
-                   bev->percent = bn->percent;
-                   bev->pitch = bn->pitch;
-                   bev->duration = bn->duration;
-                   bev->bell_class = bn->bellClass;
-                   bev->bell_id = bn->bellID;
-                   bev->name = bn->name;
-                   bev->window = bn->window;
-                   bev->event_only = bn->eventOnly;
-                   return True;
-               }
-           }
-           break;
-       case XkbAccessXNotify:
-           {
-               if (xkbi->selected_events&XkbAccessXNotifyMask) {
-                   xkbAccessXNotify *axn =(xkbAccessXNotify *)event;
-                   XkbAccessXNotifyEvent *axev;
-                   axev =(XkbAccessXNotifyEvent *)re;
-                   axev->type = XkbEventCode+xkbi->codes->first_event;
-                   axev->xkb_type = XkbAccessXNotify;
-                   axev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   axev->send_event = ((event->u.u.type&0x80)!=0);
-                   axev->display = dpy;
-                   axev->time = axn->time;
-                   axev->device = axn->deviceID;
-                   axev->detail = axn->detail;
-                   axev->keycode = axn->keycode;
-                   axev->sk_delay = axn->slowKeysDelay;
-                   axev->debounce_delay = axn->debounceDelay;
-                   return True;
-               }
-           }
-           break;
-       case XkbNamesNotify:
-           {
-               if (xkbi->selected_events&XkbNamesNotifyMask) {
-                   xkbNamesNotify *nn =(xkbNamesNotify *)event;
-                   XkbNamesNotifyEvent *nev;
-                   nev =(XkbNamesNotifyEvent *)re;
-                   nev->type = XkbEventCode+xkbi->codes->first_event;
-                   nev->xkb_type = XkbNamesNotify;
-                   nev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   nev->send_event = ((event->u.u.type&0x80)!=0);
-                   nev->display = dpy;
-                   nev->time = nn->time;
-                   nev->device = nn->deviceID;
-                   nev->changed = nn->changed;
-                   nev->first_type = nn->firstType;
-                   nev->num_types = nn->nTypes;
-                   nev->first_lvl = nn->firstLevelName;
-                   nev->num_lvls = nn->nLevelNames;
-                   nev->num_aliases = nn->nAliases;
-                   nev->num_radio_groups = nn->nRadioGroups;
-                   nev->changed_vmods = nn->changedVirtualMods;
-                   nev->changed_groups = nn->changedGroupNames;
-                   nev->changed_indicators = nn->changedIndicators;
-                   nev->first_key = nn->firstKey;
-                   nev->num_keys = nn->nKeys;
-                   return True;
-               }
-           }
-           break;
-       case XkbCompatMapNotify:
-           {
-               if (xkbi->selected_events&XkbCompatMapNotifyMask) {
-                   xkbCompatMapNotify *cmn =(xkbCompatMapNotify *)event;
-                   XkbCompatMapNotifyEvent *cmev;
-                   cmev =(XkbCompatMapNotifyEvent *)re;
-                   cmev->type = XkbEventCode+xkbi->codes->first_event;
-                   cmev->xkb_type = XkbCompatMapNotify;
-                   cmev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   cmev->send_event = ((event->u.u.type&0x80)!=0);
-                   cmev->display = dpy;
-                   cmev->time = cmn->time;
-                   cmev->device = cmn->deviceID;
-                   cmev->changed_groups = cmn->changedGroups;
-                   cmev->first_si = cmn->firstSI;
-                   cmev->num_si = cmn->nSI;
-                   cmev->num_total_si = cmn->nTotalSI;
-                   return True;
-               }
-           }
-           break;
-       case XkbActionMessage:
-           {
-               if (xkbi->selected_events&XkbActionMessageMask) {
-                   xkbActionMessage *am= (xkbActionMessage *)event;
-                   XkbActionMessageEvent *amev;
-                   amev= (XkbActionMessageEvent *)re;
-                   amev->type = XkbEventCode+xkbi->codes->first_event;
-                   amev->xkb_type = XkbActionMessage;
-                   amev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   amev->send_event = ((event->u.u.type&0x80)!=0);
-                   amev->display = dpy;
-                   amev->time = am->time;
-                   amev->device = am->deviceID;
-                   amev->keycode = am->keycode;
-                   amev->press = am->press;
-                   amev->key_event_follows = am->keyEventFollows;
-                   amev->group = am->group;
-                   amev->mods = am->mods;
-                   memcpy(amev->message,am->message,XkbActionMessageLength);
-                   amev->message[XkbActionMessageLength]= '\0';
-                   return True;
-               }
-           }
-           break;
-       case XkbExtensionDeviceNotify:
-           {
-               if (xkbi->selected_events&XkbExtensionDeviceNotifyMask) {
-                   xkbExtensionDeviceNotify *ed=
-                                       (xkbExtensionDeviceNotify *)event;
-                   XkbExtensionDeviceNotifyEvent *edev;
-                   edev= (XkbExtensionDeviceNotifyEvent *)re;
-                   edev->type= XkbEventCode+xkbi->codes->first_event;
-                   edev->xkb_type= XkbExtensionDeviceNotify;
-                   edev->serial= _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   edev->send_event= ((event->u.u.type&0x80)!=0);
-                   edev->display= dpy;
-                   edev->time= ed->time;
-                   edev->device= ed->deviceID;
-                   edev->led_class= ed->ledClass;
-                   edev->led_id= ed->ledID;
-                   edev->reason= ed->reason;
-                   edev->supported= ed->supported;
-                   edev->leds_defined= ed->ledsDefined;
-                   edev->led_state= ed->ledState;
-                   edev->first_btn= ed->firstBtn;
-                   edev->num_btns= ed->nBtns;
-                   edev->unsupported= ed->unsupported;
-                   return True;
-               }
-           }
-           break;
-       case XkbNewKeyboardNotify:
-           {
-               xkbNewKeyboardNotify *nkn = (xkbNewKeyboardNotify *)event;
-               if ((xkbi->selected_events&XkbNewKeyboardNotifyMask)&&
-                                   (xkbi->selected_nkn_details&nkn->changed)) {
-                   XkbNewKeyboardNotifyEvent *nkev;
-                   nkev =(XkbNewKeyboardNotifyEvent *)re;
-                   nkev->type = XkbEventCode+xkbi->codes->first_event;
-                   nkev->xkb_type = XkbNewKeyboardNotify;
-                   nkev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   nkev->send_event = ((event->u.u.type&0x80)!=0);
-                   nkev->display = dpy;
-                   nkev->time = nkn->time;
-                   nkev->device = nkn->deviceID;
-                   nkev->old_device = nkn->oldDeviceID;
-                   nkev->min_key_code = nkn->minKeyCode;
-                   nkev->max_key_code = nkn->maxKeyCode;
-                   nkev->old_min_key_code = nkn->oldMinKeyCode;
-                   nkev->old_max_key_code = nkn->oldMaxKeyCode;
-                   nkev->req_major = nkn->requestMajor;
-                   nkev->req_minor = nkn->requestMinor;
-                   nkev->changed = nkn->changed;
-                   if ((xkbi->desc)&&(nkev->send_event==0)&&
-                       ((xkbi->desc->device_spec==nkev->old_device)||
-                        (nkev->device!=nkev->old_device))) {
-                       xkbi->flags= XkbMapPending|XkbXlibNewKeyboard;
-                   }
-                   return True;
-               }
-               else if(nkn->changed&(XkbNKN_KeycodesMask|XkbNKN_DeviceIDMask)){
-                   register XMappingEvent *ev = (XMappingEvent *)re;
-                   ev->type = MappingNotify;
-                   ev->serial = _XSetLastRequestRead(dpy,
-                                               (xGenericReply *)event);
-                   ev->send_event = ((event->u.u.type&0x80)!=0);
-                   ev->display = dpy;
-                   ev->window = 0;
-                   ev->first_keycode = dpy->min_keycode;
-                   ev->request = MappingKeyboard;
-                   ev->count = (dpy->max_keycode-dpy->min_keycode)+1;
-                   if ((xkbi->desc)&&(ev->send_event==0)&&
-                       ((xkbi->desc->device_spec==nkn->oldDeviceID)||
-                        (nkn->deviceID!=nkn->oldDeviceID))) {
-                       xkbi->flags|= XkbMapPending|XkbXlibNewKeyboard;
-                   }
-                   return True;
-               }
-           }
-           break;
-       default:
+    case XkbStateNotify:
+    {
+        xkbStateNotify *sn = (xkbStateNotify *) event;
+
+        if (xkbi->selected_events & XkbStateNotifyMask) {
+            XkbStateNotifyEvent *sev = (XkbStateNotifyEvent *) re;
+
+            sev->type = XkbEventCode + xkbi->codes->first_event;
+            sev->xkb_type = XkbStateNotify;
+            sev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            sev->send_event = ((event->u.u.type & 0x80) != 0);
+            sev->display = dpy;
+            sev->time = sn->time;
+            sev->device = sn->deviceID;
+            sev->keycode = sn->keycode;
+            sev->event_type = sn->eventType;
+            sev->req_major = sn->requestMajor;
+            sev->req_minor = sn->requestMinor;
+            sev->changed = sn->changed;
+            sev->group = sn->group;
+            sev->base_group = sn->baseGroup;
+            sev->latched_group = sn->latchedGroup;
+            sev->locked_group = sn->lockedGroup;
+            sev->mods = sn->mods;
+            sev->base_mods = sn->baseMods;
+            sev->latched_mods = sn->latchedMods;
+            sev->locked_mods = sn->lockedMods;
+            sev->compat_state = sn->compatState;
+            sev->grab_mods = sn->grabMods;
+            sev->compat_grab_mods = sn->compatGrabMods;
+            sev->lookup_mods = sn->lookupMods;
+            sev->compat_lookup_mods = sn->compatLookupMods;
+            sev->ptr_buttons = sn->ptrBtnState;
+            return True;
+        }
+    }
+        break;
+    case XkbMapNotify:
+    {
+        xkbMapNotify *mn = (xkbMapNotify *) event;
+
+        if ((xkbi->selected_events & XkbMapNotifyMask) &&
+            (xkbi->selected_map_details & mn->changed)) {
+            XkbMapNotifyEvent *mev = (XkbMapNotifyEvent *) re;
+
+            mev->type = XkbEventCode + xkbi->codes->first_event;
+            mev->xkb_type = XkbMapNotify;
+            mev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            mev->send_event = ((event->u.u.type & 0x80) != 0);
+            mev->display = dpy;
+            mev->time = mn->time;
+            mev->device = mn->deviceID;
+            mev->changed = mn->changed;
+            mev->min_key_code = mn->minKeyCode;
+            mev->max_key_code = mn->maxKeyCode;
+            mev->first_type = mn->firstType;
+            mev->num_types = mn->nTypes;
+            mev->first_key_sym = mn->firstKeySym;
+            mev->num_key_syms = mn->nKeySyms;
+            mev->first_key_act = mn->firstKeyAct;
+            mev->num_key_acts = mn->nKeyActs;
+            mev->first_key_behavior = mn->firstKeyBehavior;
+            mev->num_key_behaviors = mn->nKeyBehaviors;
+            mev->vmods = mn->virtualMods;
+            mev->first_key_explicit = mn->firstKeyExplicit;
+            mev->num_key_explicit = mn->nKeyExplicit;
+            mev->first_modmap_key = mn->firstModMapKey;
+            mev->num_modmap_keys = mn->nModMapKeys;
+            mev->first_vmodmap_key = mn->firstVModMapKey;
+            mev->num_vmodmap_keys = mn->nVModMapKeys;
+            XkbNoteMapChanges(&xkbi->changes, mev, XKB_XLIB_MAP_MASK);
+            if (xkbi->changes.changed)
+                xkbi->flags |= XkbMapPending;
+            return True;
+        }
+        else if (mn->nKeySyms > 0) {
+            register XMappingEvent *ev = (XMappingEvent *) re;
+
+            ev->type = MappingNotify;
+            ev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            ev->send_event = ((event->u.u.type & 0x80) != 0);
+            ev->display = dpy;
+            ev->window = 0;
+            ev->first_keycode = mn->firstKeySym;
+            ev->request = MappingKeyboard;
+            ev->count = mn->nKeySyms;
+            _XkbNoteCoreMapChanges(&xkbi->changes, ev, XKB_XLIB_MAP_MASK);
+            if (xkbi->changes.changed)
+                xkbi->flags |= XkbMapPending;
+            return True;
+        }
+    }
+        break;
+    case XkbControlsNotify:
+    {
+        if (xkbi->selected_events & XkbControlsNotifyMask) {
+            xkbControlsNotify *cn = (xkbControlsNotify *) event;
+            XkbControlsNotifyEvent *cev = (XkbControlsNotifyEvent *) re;
+
+            cev->type = XkbEventCode + xkbi->codes->first_event;
+            cev->xkb_type = XkbControlsNotify;
+            cev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            cev->send_event = ((event->u.u.type & 0x80) != 0);
+            cev->display = dpy;
+            cev->time = cn->time;
+            cev->device = cn->deviceID;
+            cev->changed_ctrls = cn->changedControls;
+            cev->enabled_ctrls = cn->enabledControls;
+            cev->enabled_ctrl_changes = cn->enabledControlChanges;
+            cev->keycode = cn->keycode;
+            cev->num_groups = cn->numGroups;
+            cev->event_type = cn->eventType;
+            cev->req_major = cn->requestMajor;
+            cev->req_minor = cn->requestMinor;
+            return True;
+        }
+    }
+        break;
+    case XkbIndicatorMapNotify:
+    {
+        if (xkbi->selected_events & XkbIndicatorMapNotifyMask) {
+            xkbIndicatorNotify *in = (xkbIndicatorNotify *) event;
+            XkbIndicatorNotifyEvent *iev = (XkbIndicatorNotifyEvent *) re;
+
+            iev->type = XkbEventCode + xkbi->codes->first_event;
+            iev->xkb_type = XkbIndicatorMapNotify;
+            iev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            iev->send_event = ((event->u.u.type & 0x80) != 0);
+            iev->display = dpy;
+            iev->time = in->time;
+            iev->device = in->deviceID;
+            iev->changed = in->changed;
+            iev->state = in->state;
+            return True;
+        }
+    }
+        break;
+    case XkbIndicatorStateNotify:
+    {
+        if (xkbi->selected_events & XkbIndicatorStateNotifyMask) {
+            xkbIndicatorNotify *in = (xkbIndicatorNotify *) event;
+            XkbIndicatorNotifyEvent *iev = (XkbIndicatorNotifyEvent *) re;
+
+            iev->type = XkbEventCode + xkbi->codes->first_event;
+            iev->xkb_type = XkbIndicatorStateNotify;
+            iev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            iev->send_event = ((event->u.u.type & 0x80) != 0);
+            iev->display = dpy;
+            iev->time = in->time;
+            iev->device = in->deviceID;
+            iev->changed = in->changed;
+            iev->state = in->state;
+            return True;
+        }
+    }
+        break;
+    case XkbBellNotify:
+    {
+        if (xkbi->selected_events & XkbBellNotifyMask) {
+            xkbBellNotify *bn = (xkbBellNotify *) event;
+            XkbBellNotifyEvent *bev = (XkbBellNotifyEvent *) re;
+
+            bev->type = XkbEventCode + xkbi->codes->first_event;
+            bev->xkb_type = XkbBellNotify;
+            bev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            bev->send_event = ((event->u.u.type & 0x80) != 0);
+            bev->display = dpy;
+            bev->time = bn->time;
+            bev->device = bn->deviceID;
+            bev->percent = bn->percent;
+            bev->pitch = bn->pitch;
+            bev->duration = bn->duration;
+            bev->bell_class = bn->bellClass;
+            bev->bell_id = bn->bellID;
+            bev->name = bn->name;
+            bev->window = bn->window;
+            bev->event_only = bn->eventOnly;
+            return True;
+        }
+    }
+        break;
+    case XkbAccessXNotify:
+    {
+        if (xkbi->selected_events & XkbAccessXNotifyMask) {
+            xkbAccessXNotify *axn = (xkbAccessXNotify *) event;
+            XkbAccessXNotifyEvent *axev = (XkbAccessXNotifyEvent *) re;
+
+            axev->type = XkbEventCode + xkbi->codes->first_event;
+            axev->xkb_type = XkbAccessXNotify;
+            axev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            axev->send_event = ((event->u.u.type & 0x80) != 0);
+            axev->display = dpy;
+            axev->time = axn->time;
+            axev->device = axn->deviceID;
+            axev->detail = axn->detail;
+            axev->keycode = axn->keycode;
+            axev->sk_delay = axn->slowKeysDelay;
+            axev->debounce_delay = axn->debounceDelay;
+            return True;
+        }
+    }
+        break;
+    case XkbNamesNotify:
+    {
+        if (xkbi->selected_events & XkbNamesNotifyMask) {
+            xkbNamesNotify *nn = (xkbNamesNotify *) event;
+            XkbNamesNotifyEvent *nev = (XkbNamesNotifyEvent *) re;
+
+            nev->type = XkbEventCode + xkbi->codes->first_event;
+            nev->xkb_type = XkbNamesNotify;
+            nev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            nev->send_event = ((event->u.u.type & 0x80) != 0);
+            nev->display = dpy;
+            nev->time = nn->time;
+            nev->device = nn->deviceID;
+            nev->changed = nn->changed;
+            nev->first_type = nn->firstType;
+            nev->num_types = nn->nTypes;
+            nev->first_lvl = nn->firstLevelName;
+            nev->num_lvls = nn->nLevelNames;
+            nev->num_aliases = nn->nAliases;
+            nev->num_radio_groups = nn->nRadioGroups;
+            nev->changed_vmods = nn->changedVirtualMods;
+            nev->changed_groups = nn->changedGroupNames;
+            nev->changed_indicators = nn->changedIndicators;
+            nev->first_key = nn->firstKey;
+            nev->num_keys = nn->nKeys;
+            return True;
+        }
+    }
+        break;
+    case XkbCompatMapNotify:
+    {
+        if (xkbi->selected_events & XkbCompatMapNotifyMask) {
+            xkbCompatMapNotify *cmn = (xkbCompatMapNotify *) event;
+            XkbCompatMapNotifyEvent *cmev = (XkbCompatMapNotifyEvent *) re;
+
+            cmev->type = XkbEventCode + xkbi->codes->first_event;
+            cmev->xkb_type = XkbCompatMapNotify;
+            cmev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            cmev->send_event = ((event->u.u.type & 0x80) != 0);
+            cmev->display = dpy;
+            cmev->time = cmn->time;
+            cmev->device = cmn->deviceID;
+            cmev->changed_groups = cmn->changedGroups;
+            cmev->first_si = cmn->firstSI;
+            cmev->num_si = cmn->nSI;
+            cmev->num_total_si = cmn->nTotalSI;
+            return True;
+        }
+    }
+        break;
+    case XkbActionMessage:
+    {
+        if (xkbi->selected_events & XkbActionMessageMask) {
+            xkbActionMessage *am = (xkbActionMessage *) event;
+            XkbActionMessageEvent *amev = (XkbActionMessageEvent *) re;
+
+            amev->type = XkbEventCode + xkbi->codes->first_event;
+            amev->xkb_type = XkbActionMessage;
+            amev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            amev->send_event = ((event->u.u.type & 0x80) != 0);
+            amev->display = dpy;
+            amev->time = am->time;
+            amev->device = am->deviceID;
+            amev->keycode = am->keycode;
+            amev->press = am->press;
+            amev->key_event_follows = am->keyEventFollows;
+            amev->group = am->group;
+            amev->mods = am->mods;
+            memcpy(amev->message, am->message, XkbActionMessageLength);
+            amev->message[XkbActionMessageLength] = '\0';
+            return True;
+        }
+    }
+        break;
+    case XkbExtensionDeviceNotify:
+    {
+        if (xkbi->selected_events & XkbExtensionDeviceNotifyMask) {
+            xkbExtensionDeviceNotify *ed = (xkbExtensionDeviceNotify *) event;
+            XkbExtensionDeviceNotifyEvent *edev
+                = (XkbExtensionDeviceNotifyEvent *) re;
+
+            edev->type = XkbEventCode + xkbi->codes->first_event;
+            edev->xkb_type = XkbExtensionDeviceNotify;
+            edev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            edev->send_event = ((event->u.u.type & 0x80) != 0);
+            edev->display = dpy;
+            edev->time = ed->time;
+            edev->device = ed->deviceID;
+            edev->led_class = ed->ledClass;
+            edev->led_id = ed->ledID;
+            edev->reason = ed->reason;
+            edev->supported = ed->supported;
+            edev->leds_defined = ed->ledsDefined;
+            edev->led_state = ed->ledState;
+            edev->first_btn = ed->firstBtn;
+            edev->num_btns = ed->nBtns;
+            edev->unsupported = ed->unsupported;
+            return True;
+        }
+    }
+        break;
+    case XkbNewKeyboardNotify:
+    {
+        xkbNewKeyboardNotify *nkn = (xkbNewKeyboardNotify *) event;
+
+        if ((xkbi->selected_events & XkbNewKeyboardNotifyMask) &&
+            (xkbi->selected_nkn_details & nkn->changed)) {
+            XkbNewKeyboardNotifyEvent *nkev = (XkbNewKeyboardNotifyEvent *) re;
+
+            nkev->type = XkbEventCode + xkbi->codes->first_event;
+            nkev->xkb_type = XkbNewKeyboardNotify;
+            nkev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            nkev->send_event = ((event->u.u.type & 0x80) != 0);
+            nkev->display = dpy;
+            nkev->time = nkn->time;
+            nkev->device = nkn->deviceID;
+            nkev->old_device = nkn->oldDeviceID;
+            nkev->min_key_code = nkn->minKeyCode;
+            nkev->max_key_code = nkn->maxKeyCode;
+            nkev->old_min_key_code = nkn->oldMinKeyCode;
+            nkev->old_max_key_code = nkn->oldMaxKeyCode;
+            nkev->req_major = nkn->requestMajor;
+            nkev->req_minor = nkn->requestMinor;
+            nkev->changed = nkn->changed;
+            if ((xkbi->desc) && (nkev->send_event == 0) &&
+                ((xkbi->desc->device_spec == nkev->old_device) ||
+                 (nkev->device != nkev->old_device))) {
+                xkbi->flags = XkbMapPending | XkbXlibNewKeyboard;
+            }
+            return True;
+        }
+        else if (nkn->changed & (XkbNKN_KeycodesMask | XkbNKN_DeviceIDMask)) {
+            register XMappingEvent *ev = (XMappingEvent *) re;
+
+            ev->type = MappingNotify;
+            ev->serial = _XSetLastRequestRead(dpy, (xGenericReply *) event);
+            ev->send_event = ((event->u.u.type & 0x80) != 0);
+            ev->display = dpy;
+            ev->window = 0;
+            ev->first_keycode = dpy->min_keycode;
+            ev->request = MappingKeyboard;
+            ev->count = (dpy->max_keycode - dpy->min_keycode) + 1;
+            if ((xkbi->desc) && (ev->send_event == 0) &&
+                ((xkbi->desc->device_spec == nkn->oldDeviceID) ||
+                 (nkn->deviceID != nkn->oldDeviceID))) {
+                xkbi->flags |= XkbMapPending | XkbXlibNewKeyboard;
+            }
+            return True;
+        }
+    }
+        break;
+    default:
 #ifdef DEBUG
-           fprintf(stderr,"Got unknown XKEYBOARD event (%d, base=%d)\n",
-                                               re->type,
-                                               xkbi->codes->first_event);
+        fprintf(stderr, "Got unknown XKEYBOARD event (%d, base=%d)\n",
+                re->type, xkbi->codes->first_event);
 #endif
-           break;
+        break;
     }
     return False;
 }
@@ -592,15 +586,17 @@ wire_to_event(Display *dpy,XEvent *re,xEvent *event)
 Bool
 XkbIgnoreExtension(Bool ignore)
 {
-    if (getenv("XKB_FORCE")!=NULL) {
+    if (getenv("XKB_FORCE") != NULL) {
 #ifdef DEBUG
-       fprintf(stderr,"Forcing use of XKEYBOARD (overriding an IgnoreExtensions)\n");
+        fprintf(stderr,
+                "Forcing use of XKEYBOARD (overriding an IgnoreExtensions)\n");
 #endif
-       return False;
+        return False;
     }
 #ifdef DEBUG
-    else if (getenv("XKB_DEBUG")!=NULL) {
-       fprintf(stderr,"Explicitly %signoring XKEYBOARD\n",ignore?"":"not ");
+    else if (getenv("XKB_DEBUG") != NULL) {
+        fprintf(stderr, "Explicitly %signoring XKEYBOARD\n",
+                ignore ? "" : "not ");
     }
 #endif
     _XkbIgnoreExtension = ignore;
@@ -611,126 +607,142 @@ static void
 _XkbFreeInfo(Display *dpy)
 {
     XkbInfoPtr xkbi = dpy->xkb_info;
+
     if (xkbi) {
-       if (xkbi->desc)
-           XkbFreeKeyboard(xkbi->desc,XkbAllComponentsMask,True);
-       Xfree(xkbi);
-      }
+        if (xkbi->desc)
+            XkbFreeKeyboard(xkbi->desc, XkbAllComponentsMask, True);
+        Xfree(xkbi);
+    }
 }
 
 Bool
-XkbUseExtension(Display *dpy,int *major_rtrn,int *minor_rtrn)
+XkbUseExtension(Display *dpy, int *major_rtrn, int *minor_rtrn)
 {
     xkbUseExtensionReply rep;
     register xkbUseExtensionReq *req;
-    XExtCodes          *codes;
-    int        ev_base,forceIgnore;
+    XExtCodes *codes;
+    int ev_base, forceIgnore;
     XkbInfoPtr xkbi;
-    char *     str;
+    char *str;
     static int debugMsg;
-    static int been_here= 0;
-
-    if ( dpy->xkb_info && !(dpy->flags & XlibDisplayNoXkb)) {
-       if (major_rtrn) *major_rtrn= dpy->xkb_info->srv_major;
-       if (minor_rtrn) *minor_rtrn= dpy->xkb_info->srv_minor;
-       return True;
+    static int been_here = 0;
+
+    if (dpy->xkb_info && !(dpy->flags & XlibDisplayNoXkb)) {
+        if (major_rtrn)
+            *major_rtrn = dpy->xkb_info->srv_major;
+        if (minor_rtrn)
+            *minor_rtrn = dpy->xkb_info->srv_minor;
+        return True;
     }
     if (!been_here) {
-       debugMsg= (getenv("XKB_DEBUG")!=NULL);
-       been_here= 1;
+        debugMsg = (getenv("XKB_DEBUG") != NULL);
+        been_here = 1;
     }
 
-    if (major_rtrn)    *major_rtrn= 0;
-    if (minor_rtrn)    *minor_rtrn= 0;
+    if (major_rtrn)
+        *major_rtrn = 0;
+    if (minor_rtrn)
+        *minor_rtrn = 0;
 
     if (!dpy->xkb_info) {
         xkbi = _XkbTypedCalloc(1, XkbInfoRec);
-        if ( !xkbi )
-           return False;
+        if (!xkbi)
+            return False;
         dpy->xkb_info = xkbi;
         dpy->free_funcs->xkb = _XkbFreeInfo;
 
-        xkbi->xlib_ctrls|= (XkbLC_ControlFallback|XkbLC_ConsumeLookupMods);
-        if ((str=getenv("_XKB_OPTIONS_ENABLE"))!=NULL) {
-           if ((str=getenv("_XKB_LATIN1_LOOKUP"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_ForceLatin1Lookup;
-               else xkbi->xlib_ctrls|= XkbLC_ForceLatin1Lookup;
-           }
-           if ((str=getenv("_XKB_CONSUME_LOOKUP_MODS"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_ConsumeLookupMods;
-               else xkbi->xlib_ctrls|= XkbLC_ConsumeLookupMods;
-           }
-           if ((str=getenv("_XKB_CONSUME_SHIFT_AND_LOCK"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_AlwaysConsumeShiftAndLock;
-               else xkbi->xlib_ctrls|= XkbLC_AlwaysConsumeShiftAndLock;
-           }
-           if ((str=getenv("_XKB_IGNORE_NEW_KEYBOARDS"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_IgnoreNewKeyboards;
-               else xkbi->xlib_ctrls|= XkbLC_IgnoreNewKeyboards;
-           }
-           if ((str=getenv("_XKB_CONTROL_FALLBACK"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_ControlFallback;
-               else xkbi->xlib_ctrls|= XkbLC_ControlFallback;
-           }
-           if ((str=getenv("_XKB_COMP_LED"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                   xkbi->xlib_ctrls&= ~XkbLC_ComposeLED;
-               else {
-                   xkbi->xlib_ctrls|= XkbLC_ComposeLED;
-                   if (strlen(str)>0)
-                       xkbi->composeLED= XInternAtom(dpy,str,False);
-               }
-           }
-           if ((str=getenv("_XKB_COMP_FAIL_BEEP"))!=NULL) {
-               if ((strcmp(str,"off")==0)||(strcmp(str,"0")==0))
-                    xkbi->xlib_ctrls&= ~XkbLC_BeepOnComposeFail;
-               else xkbi->xlib_ctrls|= XkbLC_BeepOnComposeFail;
-           }
-        }
-        if ((xkbi->composeLED==None)&&((xkbi->xlib_ctrls&XkbLC_ComposeLED)!=0))
-           xkbi->composeLED= XInternAtom(dpy,"Compose",False);
+        xkbi->xlib_ctrls |= (XkbLC_ControlFallback | XkbLC_ConsumeLookupMods);
+        if ((str = getenv("_XKB_OPTIONS_ENABLE")) != NULL) {
+            if ((str = getenv("_XKB_LATIN1_LOOKUP")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_ForceLatin1Lookup;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_ForceLatin1Lookup;
+            }
+            if ((str = getenv("_XKB_CONSUME_LOOKUP_MODS")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_ConsumeLookupMods;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_ConsumeLookupMods;
+            }
+            if ((str = getenv("_XKB_CONSUME_SHIFT_AND_LOCK")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_AlwaysConsumeShiftAndLock;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_AlwaysConsumeShiftAndLock;
+            }
+            if ((str = getenv("_XKB_IGNORE_NEW_KEYBOARDS")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_IgnoreNewKeyboards;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_IgnoreNewKeyboards;
+            }
+            if ((str = getenv("_XKB_CONTROL_FALLBACK")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_ControlFallback;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_ControlFallback;
+            }
+            if ((str = getenv("_XKB_COMP_LED")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_ComposeLED;
+                else {
+                    xkbi->xlib_ctrls |= XkbLC_ComposeLED;
+                    if (strlen(str) > 0)
+                        xkbi->composeLED = XInternAtom(dpy, str, False);
+                }
+            }
+            if ((str = getenv("_XKB_COMP_FAIL_BEEP")) != NULL) {
+                if ((strcmp(str, "off") == 0) || (strcmp(str, "0") == 0))
+                    xkbi->xlib_ctrls &= ~XkbLC_BeepOnComposeFail;
+                else
+                    xkbi->xlib_ctrls |= XkbLC_BeepOnComposeFail;
+            }
+        }
+        if ((xkbi->composeLED == None) &&
+            ((xkbi->xlib_ctrls & XkbLC_ComposeLED) != 0))
+            xkbi->composeLED = XInternAtom(dpy, "Compose", False);
 #ifdef DEBUG
         if (debugMsg) {
-           register unsigned c= xkbi->xlib_ctrls;
-           fprintf(stderr,"XKEYBOARD compose: beep on failure is %s, LED is %s\n",
-               ((c&XkbLC_BeepOnComposeFail)?"on":"off"),
-               ((c&XkbLC_ComposeLED)?"on":"off"));
-           fprintf(stderr,"XKEYBOARD XLookupString: %slatin-1, %s lookup modifiers\n",
-               ((c&XkbLC_ForceLatin1Lookup)?"allow non-":"force "),
-               ((c&XkbLC_ConsumeLookupMods)?"consume":"re-use"));
-           fprintf(stderr,
-               "XKEYBOARD XLookupString: %sconsume shift and lock, %scontrol fallback\n",
-               ((c&XkbLC_AlwaysConsumeShiftAndLock)?"always ":"don't "),
-               ((c&XkbLC_ControlFallback)?"":"no "));
+            register unsigned c = xkbi->xlib_ctrls;
+
+            fprintf(stderr,
+                    "XKEYBOARD compose: beep on failure is %s, LED is %s\n",
+                    ((c & XkbLC_BeepOnComposeFail) ? "on" : "off"),
+                    ((c & XkbLC_ComposeLED) ? "on" : "off"));
+            fprintf(stderr,
+                    "XKEYBOARD XLookupString: %slatin-1, %s lookup modifiers\n",
+                    ((c & XkbLC_ForceLatin1Lookup) ? "allow non-" : "force "),
+                    ((c & XkbLC_ConsumeLookupMods) ? "consume" : "re-use"));
+            fprintf(stderr,
+                    "XKEYBOARD XLookupString: %sconsume shift and lock, %scontrol fallback\n",
+                    ((c & XkbLC_AlwaysConsumeShiftAndLock) ? "always " :
+                     "don't "), ((c & XkbLC_ControlFallback) ? "" : "no "));
 
         }
 #endif
-    } else
+    }
+    else
         xkbi = dpy->xkb_info;
 
-    forceIgnore= (dpy->flags&XlibDisplayNoXkb)||dpy->keysyms;
-    forceIgnore= forceIgnore&&(major_rtrn==NULL)&&(minor_rtrn==NULL);
-    if ( forceIgnore || _XkbIgnoreExtension || getenv("XKB_DISABLE")) {
-       LockDisplay(dpy);
-       dpy->flags |= XlibDisplayNoXkb;
-       UnlockDisplay(dpy);
-       if (debugMsg)
-           fprintf(stderr,"XKEYBOARD extension disabled or missing\n");
-       return False;
-    }
-
-    if ( (codes=XInitExtension(dpy,XkbName))==NULL ) {
-       LockDisplay(dpy);
-       dpy->flags |= XlibDisplayNoXkb;
-       UnlockDisplay(dpy);
-       if (debugMsg)
-           fprintf(stderr,"XKEYBOARD extension not present\n");
-       return False;
+    forceIgnore = (dpy->flags & XlibDisplayNoXkb) || dpy->keysyms;
+    forceIgnore = forceIgnore && (major_rtrn == NULL) && (minor_rtrn == NULL);
+    if (forceIgnore || _XkbIgnoreExtension || getenv("XKB_DISABLE")) {
+        LockDisplay(dpy);
+        dpy->flags |= XlibDisplayNoXkb;
+        UnlockDisplay(dpy);
+        if (debugMsg)
+            fprintf(stderr, "XKEYBOARD extension disabled or missing\n");
+        return False;
+    }
+
+    if ((codes = XInitExtension(dpy, XkbName)) == NULL) {
+        LockDisplay(dpy);
+        dpy->flags |= XlibDisplayNoXkb;
+        UnlockDisplay(dpy);
+        if (debugMsg)
+            fprintf(stderr, "XKEYBOARD extension not present\n");
+        return False;
     }
     xkbi->codes = codes;
     LockDisplay(dpy);
@@ -740,58 +752,63 @@ XkbUseExtension(Display *dpy,int *major_rtrn,int *minor_rtrn)
     req->xkbReqType = X_kbUseExtension;
     req->wantedMajor = XkbMajorVersion;
     req->wantedMinor = XkbMinorVersion;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse) || !rep.supported ) {
-       Bool    fail;
-       fail= True;
-       if (debugMsg)
-           fprintf(stderr,
-               "XKEYBOARD version mismatch (want %d.%02d, got %d.%02d)\n",
-               XkbMajorVersion,XkbMinorVersion,
-               rep.serverMajor, rep.serverMinor);
-
-       /* pre-release 0.65 is very close to 1.00 */
-       if ((rep.serverMajor==0)&&(rep.serverMinor==65)) {
-           if (debugMsg)
-               fprintf(stderr,"Trying to fall back to version 0.65...");
-           GetReq(kbUseExtension, req);
-           req->reqType = xkbi->codes->major_opcode;
-           req->xkbReqType = X_kbUseExtension;
-           req->wantedMajor = 0;
-           req->wantedMinor = 65;
-           if ( _XReply(dpy, (xReply *)&rep, 0, xFalse) && rep.supported ) {
-               if (debugMsg)
-                   fprintf(stderr,"succeeded\n");
-               fail= False;
-           }
-           else if (debugMsg) fprintf(stderr,"failed\n");
-       }
-       if (fail) {
-           dpy->flags |= XlibDisplayNoXkb;
-           UnlockDisplay(dpy);
-           SyncHandle();
-           if (major_rtrn) *major_rtrn= rep.serverMajor;
-           if (minor_rtrn) *minor_rtrn= rep.serverMinor;
-           return False;
-       }
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse) || !rep.supported) {
+        Bool fail = True;
+
+        if (debugMsg)
+            fprintf(stderr,
+                    "XKEYBOARD version mismatch (want %d.%02d, got %d.%02d)\n",
+                    XkbMajorVersion, XkbMinorVersion,
+                    rep.serverMajor, rep.serverMinor);
+
+        /* pre-release 0.65 is very close to 1.00 */
+        if ((rep.serverMajor == 0) && (rep.serverMinor == 65)) {
+            if (debugMsg)
+                fprintf(stderr, "Trying to fall back to version 0.65...");
+            GetReq(kbUseExtension, req);
+            req->reqType = xkbi->codes->major_opcode;
+            req->xkbReqType = X_kbUseExtension;
+            req->wantedMajor = 0;
+            req->wantedMinor = 65;
+            if (_XReply(dpy, (xReply *) &rep, 0, xFalse) && rep.supported) {
+                if (debugMsg)
+                    fprintf(stderr, "succeeded\n");
+                fail = False;
+            }
+            else if (debugMsg)
+                fprintf(stderr, "failed\n");
+        }
+        if (fail) {
+            dpy->flags |= XlibDisplayNoXkb;
+            UnlockDisplay(dpy);
+            SyncHandle();
+            if (major_rtrn)
+                *major_rtrn = rep.serverMajor;
+            if (minor_rtrn)
+                *minor_rtrn = rep.serverMinor;
+            return False;
+        }
     }
 #ifdef DEBUG
-    else if ( forceIgnore ) {
-       fprintf(stderr,"Internal Error!  XkbUseExtension succeeded with forceIgnore set\n");
+    else if (forceIgnore) {
+        fprintf(stderr,
+                "Internal Error!  XkbUseExtension succeeded with forceIgnore set\n");
     }
 #endif
     UnlockDisplay(dpy);
-    xkbi->srv_major= rep.serverMajor;
-    xkbi->srv_minor= rep.serverMinor;
-    if (major_rtrn)    *major_rtrn= rep.serverMajor;
-    if (minor_rtrn)    *minor_rtrn= rep.serverMinor;
+    xkbi->srv_major = rep.serverMajor;
+    xkbi->srv_minor = rep.serverMinor;
+    if (major_rtrn)
+        *major_rtrn = rep.serverMajor;
+    if (minor_rtrn)
+        *minor_rtrn = rep.serverMinor;
     if (debugMsg)
-       fprintf(stderr,"XKEYBOARD (version %d.%02d/%d.%02d) OK!\n",
-                               XkbMajorVersion,XkbMinorVersion,
-                               rep.serverMajor,rep.serverMinor);
+        fprintf(stderr, "XKEYBOARD (version %d.%02d/%d.%02d) OK!\n",
+                XkbMajorVersion, XkbMinorVersion,
+                rep.serverMajor, rep.serverMinor);
 
     ev_base = codes->first_event;
-    XESetWireToEvent(dpy,ev_base+XkbEventCode,wire_to_event);
+    XESetWireToEvent(dpy, ev_base + XkbEventCode, wire_to_event);
     SyncHandle();
     return True;
 }
-
index d9b743c..5c51f27 100644 (file)
@@ -33,159 +33,163 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include "XKBlibint.h"
 
 Status
-XkbGetIndicatorState(Display *dpy,unsigned deviceSpec,unsigned *pStateRtrn)
+XkbGetIndicatorState(Display *dpy, unsigned deviceSpec, unsigned *pStateRtrn)
 {
     register xkbGetIndicatorStateReq *req;
-    xkbGetIndicatorStateReply  rep;
+    xkbGetIndicatorStateReply rep;
     XkbInfoPtr xkbi;
     Bool ok;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetIndicatorState, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetIndicatorState;
     req->deviceSpec = deviceSpec;
-    ok=_XReply(dpy, (xReply *)&rep, 0, xFalse);
-    if (ok && (pStateRtrn!=NULL))
-       *pStateRtrn= rep.state;
+    ok = _XReply(dpy, (xReply *) &rep, 0, xFalse);
+    if (ok && (pStateRtrn != NULL))
+        *pStateRtrn = rep.state;
     UnlockDisplay(dpy);
     SyncHandle();
-    return (ok?Success:BadImplementation);
+    return (ok ? Success : BadImplementation);
 }
 
 Status
-_XkbReadGetIndicatorMapReply(  Display *                       dpy,
-                               xkbGetIndicatorMapReply *       rep,
-                               XkbDescPtr                      xkb,
-                               int     *                       nread_rtrn)
+_XkbReadGetIndicatorMapReply(Display *dpy,
+                             xkbGetIndicatorMapReply *rep,
+                             XkbDescPtr xkb,
+                             int *nread_rtrn)
 {
-XkbIndicatorPtr                leds;
-XkbReadBufferRec       buf;
+    XkbIndicatorPtr leds;
+    XkbReadBufferRec buf;
 
-    if ((!xkb->indicators)&&(XkbAllocIndicatorMaps(xkb)!=Success))
-       return BadAlloc;
-    leds= xkb->indicators;
+    if ((!xkb->indicators) && (XkbAllocIndicatorMaps(xkb) != Success))
+        return BadAlloc;
+    leds = xkb->indicators;
 
     leds->phys_indicators = rep->realIndicators;
-    if (rep->length>0) {
-       register int left;
-       if (!_XkbInitReadBuffer(dpy,&buf,(int)rep->length*4))
-           return BadAlloc;
-       if (nread_rtrn)
-           *nread_rtrn= (int)rep->length*4;
-       if (rep->which) {
-           register int i,bit;
-           left= (int)rep->which;
-           for (i=0,bit=1;(i<XkbNumIndicators)&&(left);i++,bit<<=1) {
-               if (left&bit) {
-                   xkbIndicatorMapWireDesc *wire;
-                   wire= (xkbIndicatorMapWireDesc *)
-                         _XkbGetReadBufferPtr(&buf,
-                                       SIZEOF(xkbIndicatorMapWireDesc));
-                   if (wire==NULL) {
-                       _XkbFreeReadBuffer(&buf);
-                       return BadAlloc;
-                   }
-                   leds->maps[i].flags= wire->flags;
-                   leds->maps[i].which_groups= wire->whichGroups;
-                   leds->maps[i].groups= wire->groups;
-                   leds->maps[i].which_mods= wire->whichMods;
-                   leds->maps[i].mods.mask= wire->mods;
-                   leds->maps[i].mods.real_mods= wire->realMods;
-                   leds->maps[i].mods.vmods= wire->virtualMods;
-                   leds->maps[i].ctrls= wire->ctrls;
-                   left&= ~bit;
-               }
-           }
-       }
-       left= _XkbFreeReadBuffer(&buf);
+    if (rep->length > 0) {
+        register int left;
+
+        if (!_XkbInitReadBuffer(dpy, &buf, (int) rep->length * 4))
+            return BadAlloc;
+        if (nread_rtrn)
+            *nread_rtrn = (int) rep->length * 4;
+        if (rep->which) {
+            register int i, bit;
+
+            left = (int) rep->which;
+            for (i = 0, bit = 1; (i < XkbNumIndicators) && (left);
+                 i++, bit <<= 1) {
+                if (left & bit) {
+                    xkbIndicatorMapWireDesc *wire;
+
+                    wire = (xkbIndicatorMapWireDesc *)
+                        _XkbGetReadBufferPtr(&buf,
+                                             SIZEOF(xkbIndicatorMapWireDesc));
+                    if (wire == NULL) {
+                        _XkbFreeReadBuffer(&buf);
+                        return BadAlloc;
+                    }
+                    leds->maps[i].flags = wire->flags;
+                    leds->maps[i].which_groups = wire->whichGroups;
+                    leds->maps[i].groups = wire->groups;
+                    leds->maps[i].which_mods = wire->whichMods;
+                    leds->maps[i].mods.mask = wire->mods;
+                    leds->maps[i].mods.real_mods = wire->realMods;
+                    leds->maps[i].mods.vmods = wire->virtualMods;
+                    leds->maps[i].ctrls = wire->ctrls;
+                    left &= ~bit;
+                }
+            }
+        }
+        left = _XkbFreeReadBuffer(&buf);
     }
     return Success;
 }
 
 Bool
-XkbGetIndicatorMap(Display *dpy,unsigned long which,XkbDescPtr xkb)
+XkbGetIndicatorMap(Display *dpy, unsigned long which, XkbDescPtr xkb)
 {
-    register xkbGetIndicatorMapReq *   req;
-    xkbGetIndicatorMapReply            rep;
-    XkbInfoPtr                                 xkbi;
-    Status                             status;
+    register xkbGetIndicatorMapReq *req;
+    xkbGetIndicatorMapReply rep;
+    XkbInfoPtr xkbi;
+    Status status;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return BadAccess;
-    if ((!which)||(!xkb))
-       return BadValue;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return BadAccess;
+    if ((!which) || (!xkb))
+        return BadValue;
 
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     if (!xkb->indicators) {
-       xkb->indicators = _XkbTypedCalloc(1,XkbIndicatorRec);
-       if (!xkb->indicators) {
-           UnlockDisplay(dpy);
-           SyncHandle();
-           return BadAlloc;
-       }
+        xkb->indicators = _XkbTypedCalloc(1, XkbIndicatorRec);
+        if (!xkb->indicators) {
+            UnlockDisplay(dpy);
+            SyncHandle();
+            return BadAlloc;
+        }
     }
     GetReq(kbGetIndicatorMap, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbGetIndicatorMap;
     req->deviceSpec = xkb->device_spec;
-    req->which = (CARD32)which;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return BadValue;
+    req->which = (CARD32) which;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return BadValue;
     }
-    status= _XkbReadGetIndicatorMapReply(dpy,&rep,xkb,NULL);
+    status = _XkbReadGetIndicatorMapReply(dpy, &rep, xkb, NULL);
     UnlockDisplay(dpy);
     SyncHandle();
     return status;
 }
 
 Bool
-XkbSetIndicatorMap(Display *dpy,unsigned long which,XkbDescPtr xkb)
+XkbSetIndicatorMap(Display *dpy, unsigned long which, XkbDescPtr xkb)
 {
-    register xkbSetIndicatorMapReq     *req;
-    register int i,bit;
+    register xkbSetIndicatorMapReq *req;
+    register int i, bit;
     int nMaps;
     xkbIndicatorMapWireDesc *wire;
     XkbInfoPtr xkbi;
 
     if ((dpy->flags & XlibDisplayNoXkb) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
-    if ((!xkb)||(!which)||(!xkb->indicators))
-       return False;
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
+    if ((!xkb) || (!which) || (!xkb->indicators))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetIndicatorMap, req);
     req->reqType = xkbi->codes->major_opcode;
     req->xkbReqType = X_kbSetIndicatorMap;
     req->deviceSpec = xkb->device_spec;
-    req->which = (CARD32)which;
-    for (i=nMaps=0,bit=1;i<32;i++,bit<<=1) {
-       if (which&bit)
-           nMaps++;
+    req->which = (CARD32) which;
+    for (i = nMaps = 0, bit = 1; i < 32; i++, bit <<= 1) {
+        if (which & bit)
+            nMaps++;
     }
-    req->length+= (nMaps*sizeof(XkbIndicatorMapRec))/4;
-    BufAlloc(xkbIndicatorMapWireDesc *,wire,
-                                      (nMaps*SIZEOF(xkbIndicatorMapWireDesc)));
-    for (i=0,bit=1;i<32;i++,bit<<=1) {
-       if (which&bit) {
-           wire->flags= xkb->indicators->maps[i].flags;
-           wire->whichGroups= xkb->indicators->maps[i].which_groups;
-           wire->groups= xkb->indicators->maps[i].groups;
-           wire->whichMods= xkb->indicators->maps[i].which_mods;
-           wire->mods= xkb->indicators->maps[i].mods.real_mods;
-           wire->virtualMods= xkb->indicators->maps[i].mods.vmods;
-           wire->ctrls= xkb->indicators->maps[i].ctrls;
-           wire++;
-       }
+    req->length += (nMaps * sizeof(XkbIndicatorMapRec)) / 4;
+    BufAlloc(xkbIndicatorMapWireDesc *, wire,
+             (nMaps * SIZEOF(xkbIndicatorMapWireDesc)));
+    for (i = 0, bit = 1; i < 32; i++, bit <<= 1) {
+        if (which & bit) {
+            wire->flags = xkb->indicators->maps[i].flags;
+            wire->whichGroups = xkb->indicators->maps[i].which_groups;
+            wire->groups = xkb->indicators->maps[i].groups;
+            wire->whichMods = xkb->indicators->maps[i].which_mods;
+            wire->mods = xkb->indicators->maps[i].mods.real_mods;
+            wire->virtualMods = xkb->indicators->maps[i].mods.vmods;
+            wire->ctrls = xkb->indicators->maps[i].ctrls;
+            wire++;
+        }
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -193,23 +197,23 @@ XkbSetIndicatorMap(Display *dpy,unsigned long which,XkbDescPtr xkb)
 }
 
 Bool
-XkbGetNamedDeviceIndicator(    Display *               dpy,
-                               unsigned                device,
-                               unsigned                class,
-                               unsigned                id,
-                               Atom                    name,
-                               int     *               pNdxRtrn,
-                               Bool *                  pStateRtrn,
-                               XkbIndicatorMapPtr      pMapRtrn,
-                               Bool *                  pRealRtrn)
+XkbGetNamedDeviceIndicator(Display *dpy,
+                           unsigned device,
+                           unsigned class,
+                           unsigned id,
+                           Atom name,
+                           int *pNdxRtrn,
+                           Bool *pStateRtrn,
+                           XkbIndicatorMapPtr pMapRtrn,
+                           Bool *pRealRtrn)
 {
     register xkbGetNamedIndicatorReq *req;
-    xkbGetNamedIndicatorReply  rep;
+    xkbGetNamedIndicatorReply rep;
     XkbInfoPtr xkbi;
 
-    if ((dpy->flags & XlibDisplayNoXkb) || (name==None) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+    if ((dpy->flags & XlibDisplayNoXkb) || (name == None) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbGetNamedIndicator, req);
@@ -218,66 +222,66 @@ XkbGetNamedDeviceIndicator(       Display *               dpy,
     req->deviceSpec = device;
     req->ledClass = class;
     req->ledID = id;
-    req->indicator = (CARD32)name;
-    if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) {
-       UnlockDisplay(dpy);
-       SyncHandle();
-       return False;
+    req->indicator = (CARD32) name;
+    if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) {
+        UnlockDisplay(dpy);
+        SyncHandle();
+        return False;
     }
     UnlockDisplay(dpy);
     SyncHandle();
-    if ((!rep.found)||(!rep.supported))
-       return False;
-    if (pNdxRtrn!=NULL)
-       *pNdxRtrn= rep.ndx;
-    if (pStateRtrn!=NULL)
-       *pStateRtrn= rep.on;
-    if (pMapRtrn!=NULL) {
-       pMapRtrn->flags= rep.flags;
-       pMapRtrn->which_groups= rep.whichGroups;
-       pMapRtrn->groups= rep.groups;
-       pMapRtrn->which_mods= rep.whichMods;
-       pMapRtrn->mods.mask= rep.mods;
-       pMapRtrn->mods.real_mods= rep.realMods;
-       pMapRtrn->mods.vmods= rep.virtualMods;
-       pMapRtrn->ctrls= rep.ctrls;
+    if ((!rep.found) || (!rep.supported))
+        return False;
+    if (pNdxRtrn != NULL)
+        *pNdxRtrn = rep.ndx;
+    if (pStateRtrn != NULL)
+        *pStateRtrn = rep.on;
+    if (pMapRtrn != NULL) {
+        pMapRtrn->flags = rep.flags;
+        pMapRtrn->which_groups = rep.whichGroups;
+        pMapRtrn->groups = rep.groups;
+        pMapRtrn->which_mods = rep.whichMods;
+        pMapRtrn->mods.mask = rep.mods;
+        pMapRtrn->mods.real_mods = rep.realMods;
+        pMapRtrn->mods.vmods = rep.virtualMods;
+        pMapRtrn->ctrls = rep.ctrls;
     }
-    if (pRealRtrn!=NULL)
-       *pRealRtrn= rep.realIndicator;
+    if (pRealRtrn != NULL)
+        *pRealRtrn = rep.realIndicator;
     return True;
 }
 
 Bool
-XkbGetNamedIndicator(  Display *               dpy,
-                       Atom                    name,
-                       int     *               pNdxRtrn,
-                       Bool *                  pStateRtrn,
-                       XkbIndicatorMapPtr      pMapRtrn,
-                       Bool *                  pRealRtrn)
+XkbGetNamedIndicator(Display *dpy,
+                     Atom name,
+                     int *pNdxRtrn,
+                     Bool *pStateRtrn,
+                     XkbIndicatorMapPtr pMapRtrn,
+                     Bool *pRealRtrn)
 {
-    return XkbGetNamedDeviceIndicator(dpy,XkbUseCoreKbd,
-                                         XkbDfltXIClass,XkbDfltXIId,
-                                         name,pNdxRtrn,pStateRtrn,
-                                         pMapRtrn,pRealRtrn);
+    return XkbGetNamedDeviceIndicator(dpy, XkbUseCoreKbd,
+                                      XkbDfltXIClass, XkbDfltXIId,
+                                      name, pNdxRtrn, pStateRtrn,
+                                      pMapRtrn, pRealRtrn);
 }
 
 Bool
-XkbSetNamedDeviceIndicator(    Display *               dpy,
-                               unsigned                device,
-                               unsigned                class,
-                               unsigned                id,
-                               Atom                    name,
-                               Bool                    changeState,
-                               Bool                    state,
-                               Bool                    createNewMap,
-                               XkbIndicatorMapPtr      pMap)
+XkbSetNamedDeviceIndicator(Display *dpy,
+                           unsigned device,
+                           unsigned class,
+                           unsigned id,
+                           Atom name,
+                           Bool changeState,
+                           Bool state,
+                           Bool createNewMap,
+                           XkbIndicatorMapPtr pMap)
 {
-    register xkbSetNamedIndicatorReq   *req;
+    register xkbSetNamedIndicatorReq *req;
     XkbInfoPtr xkbi;
 
-    if ((dpy->flags & XlibDisplayNoXkb) || (name==None) ||
-       (!dpy->xkb_info && !XkbUseExtension(dpy,NULL,NULL)))
-       return False;
+    if ((dpy->flags & XlibDisplayNoXkb) || (name == None) ||
+        (!dpy->xkb_info && !XkbUseExtension(dpy, NULL, NULL)))
+        return False;
     LockDisplay(dpy);
     xkbi = dpy->xkb_info;
     GetReq(kbSetNamedIndicator, req);
@@ -286,32 +290,33 @@ XkbSetNamedDeviceIndicator(       Display *               dpy,
     req->deviceSpec = device;
     req->ledClass = class;
     req->ledID = id;
-    req->indicator= (CARD32)name;
-    req->setState= changeState;
+    req->indicator = (CARD32) name;
+    req->setState = changeState;
     if (req->setState)
-        req->on= state;
-    else req->on= False;
-    if (pMap!=NULL) {
-       req->setMap= True;
-       req->createMap= createNewMap;
-       req->flags= pMap->flags;
-       req->whichGroups= pMap->which_groups;
-       req->groups= pMap->groups;
-       req->whichMods= pMap->which_mods;
-       req->realMods= pMap->mods.real_mods;
-       req->virtualMods= pMap->mods.vmods;
-       req->ctrls= pMap->ctrls;
+        req->on = state;
+    else
+        req->on = False;
+    if (pMap != NULL) {
+        req->setMap = True;
+        req->createMap = createNewMap;
+        req->flags = pMap->flags;
+        req->whichGroups = pMap->which_groups;
+        req->groups = pMap->groups;
+        req->whichMods = pMap->which_mods;
+        req->realMods = pMap->mods.real_mods;
+        req->virtualMods = pMap->mods.vmods;
+        req->ctrls = pMap->ctrls;
     }
     else {
-       req->setMap=            False;
-       req->createMap=         False;
-       req->flags=             0;
-       req->whichGroups=       0;
-       req->groups=            0;
-       req->whichMods=         0;
-       req->realMods=          0;
-       req->virtualMods=       0;
-       req->ctrls=             0;
+        req->setMap = False;
+        req->createMap = False;
+        req->flags = 0;
+        req->whichGroups = 0;
+        req->groups = 0;
+        req->whichMods = 0;
+        req->realMods = 0;
+        req->virtualMods = 0;
+        req->ctrls = 0;
     }
     UnlockDisplay(dpy);
     SyncHandle();
@@ -319,15 +324,15 @@ XkbSetNamedDeviceIndicator(       Display *               dpy,
 }
 
 Bool
-XkbSetNamedIndicator(  Display *               dpy,
-                       Atom                    name,
-                       Bool                    changeState,
-                       Bool                    state,
-                       Bool                    createNewMap,
-                       XkbIndicatorMapPtr      pMap)
+XkbSetNamedIndicator(Display *dpy,
+                     Atom name,
+                     Bool changeState,
+                     Bool state,
+                     Bool createNewMap,
+                     XkbIndicatorMapPtr pMap)
 {
-    return XkbSetNamedDeviceIndicator(dpy,XkbUseCoreKbd,
-                                         XkbDfltXIClass,XkbDfltXIId,
-                                         name,changeState,state,
-                                         createNewMap,pMap);
+    return XkbSetNamedDeviceIndicator(dpy, XkbUseCoreKbd,
+                                      XkbDfltXIClass, XkbDfltXIId,
+                                      name, changeState, state,
+                                      createNewMap, pMap);
 }
index ce14527..ca7dc0b 100644 (file)
@@ -25,216 +25,210 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 ********************************************************/
 
 #ifndef _XKBLIBINT_H_
-#define        _XKBLIBINT_H_
+#define _XKBLIBINT_H_
 
 #include <X11/Xutil.h>
 #include <X11/XKBlib.h>
 
-#define        XkbMapPending           (1<<0)
-#define        XkbXlibNewKeyboard      (1<<1)
+#define XkbMapPending           (1<<0)
+#define XkbXlibNewKeyboard      (1<<1)
 
-typedef int    (*XkbKSToMBFunc)(
-       XPointer        /* priv */,
-       KeySym          /* sym */,
-       char *          /* buf */,
-       int             /* len */,
-       int *           /* extra_rtrn */
+typedef int     (*XkbKSToMBFunc)(
+        XPointer        /* priv */,
+        KeySym          /* sym */,
+        char *          /* buf */,
+        int             /* len */,
+        int *           /* extra_rtrn */
 );
 
-typedef KeySym (*XkbMBToKSFunc)(
-       XPointer        /* priv */,
-       char *          /* buf */,
-       int             /* len */,
-       Status *        /* status */
+typedef KeySym  (*XkbMBToKSFunc)(
+        XPointer        /* priv */,
+        char *          /* buf */,
+        int             /* len */,
+        Status *        /* status */
 );
 
-typedef KeySym (*XkbToUpperFunc)(
-       KeySym          /* sym */
+typedef KeySym  (*XkbToUpperFunc)(
+        KeySym          /* sym */
 );
 
 typedef struct _XkbConverters {
-       XkbKSToMBFunc    KSToMB;
-       XPointer         KSToMBPriv;
-       XkbMBToKSFunc    MBToKS;
-       XPointer         MBToKSPriv;
-       XkbToUpperFunc   KSToUpper;
+        XkbKSToMBFunc    KSToMB;
+        XPointer         KSToMBPriv;
+        XkbMBToKSFunc    MBToKS;
+        XPointer         MBToKSPriv;
+        XkbToUpperFunc   KSToUpper;
 } XkbConverters;
 
-extern XkbInternAtomFunc       _XkbInternAtomFunc;
-extern XkbGetAtomNameFunc      _XkbGetAtomNameFunc;
+extern  XkbInternAtomFunc       _XkbInternAtomFunc;
+extern  XkbGetAtomNameFunc      _XkbGetAtomNameFunc;
 
 typedef struct _XkbInfoRec {
-       unsigned         flags;
-       unsigned         xlib_ctrls;
-       XExtCodes        *codes;
-       int              srv_major;
-       int              srv_minor;
-       unsigned         selected_events;
-       unsigned short   selected_nkn_details;
-       unsigned short   selected_map_details;
-       XkbDescRec      *desc;
-       XkbMapChangesRec changes;
-       Atom             composeLED;
-       XkbConverters    cvt;
-       XkbConverters    latin1cvt;
+        unsigned         flags;
+        unsigned         xlib_ctrls;
+        XExtCodes        *codes;
+        int              srv_major;
+        int              srv_minor;
+        unsigned         selected_events;
+        unsigned short   selected_nkn_details;
+        unsigned short   selected_map_details;
+        XkbDescRec      *desc;
+        XkbMapChangesRec changes;
+        Atom             composeLED;
+        XkbConverters    cvt;
+        XkbConverters    latin1cvt;
 } XkbInfoRec, *XkbInfoPtr;
 
 
-#define        _XkbUnavailable(d) \
-       (((d)->flags&XlibDisplayNoXkb) ||\
-        ((!(d)->xkb_info || (!(d)->xkb_info->desc)) && !_XkbLoadDpy(d)))
-
-#define        _XkbCheckPendingRefresh(d,xi) {\
-    if ((xi)->flags&XkbXlibNewKeyboard)\
-       _XkbReloadDpy((d));\
-    else if ((xi)->flags&XkbMapPending) {\
-       if (XkbGetMapChanges((d),(xi)->desc, &(xi)->changes)==Success) {\
-           LockDisplay((d));\
-           (xi)->changes.changed= 0;\
-           UnlockDisplay((d));\
-       }\
-    }\
+#define _XkbUnavailable(d) \
+        (((d)->flags&XlibDisplayNoXkb) || \
+         ((!(d)->xkb_info || (!(d)->xkb_info->desc)) && !_XkbLoadDpy(d)))
+
+#define _XkbCheckPendingRefresh(d,xi) { \
+    if ((xi)->flags&XkbXlibNewKeyboard) \
+        _XkbReloadDpy((d)); \
+    else if ((xi)->flags&XkbMapPending) { \
+        if (XkbGetMapChanges((d),(xi)->desc, &(xi)->changes)==Success) { \
+            LockDisplay((d)); \
+            (xi)->changes.changed= 0; \
+            UnlockDisplay((d)); \
+        } \
+    } \
 }
 
-#define        _XkbNeedModmap(i)    ((!(i)->desc->map)||(!(i)->desc->map->modmap))
+#define _XkbNeedModmap(i)    ((!(i)->desc->map)||(!(i)->desc->map->modmap))
 
-       /*
-        * mask of the events that the "invisible" XKB support in Xlib needs
-        */
+        /*
+         * mask of the events that the "invisible" XKB support in Xlib needs
+         */
 #define XKB_XLIB_MAP_MASK (XkbAllClientInfoMask)
 
-       /*
-        * Handy helper macros
-        */
-#define        XKB_INSURE_SIZE(f,t,nNum,oNum)  {\
-       if ((f)==NULL)  \
-            (f)=(t *)Xmalloc(sizeof(t)*(nNum));\
-       else if ((nNum)<(oNum))\
-            (f)=(t *)Xrealloc((f),sizeof(t)*(nNum));\
-       }
+        /*
+         * Handy helper macros
+         */
 
 typedef struct _XkbReadBuffer {
-       int      error;
-       int      size;
-       char    *start;
-       char    *data;
-} XkbReadBufferRec,*XkbReadBufferPtr;
-
-#define        _XkbAlloc(s)            Xmalloc((s))
-#define        _XkbCalloc(n,s)         Xcalloc((n),(s))
-#define        _XkbRealloc(o,s)        Xrealloc((o),(s))
-#define        _XkbTypedAlloc(t)       ((t *)Xmalloc(sizeof(t)))
-#define        _XkbTypedCalloc(n,t)    ((t *)Xcalloc((n),sizeof(t)))
-#define        _XkbTypedRealloc(o,n,t) \
-       ((o)?(t *)Xrealloc((o),(n)*sizeof(t)):_XkbTypedCalloc(n,t))
-#define        _XkbClearElems(a,f,l,t) bzero(&(a)[f],((l)-(f)+1)*sizeof(t))
-#define        _XkbFree(p)             Xfree(p)
+        int      error;
+        int      size;
+        char    *start;
+        char    *data;
+} XkbReadBufferRec, *XkbReadBufferPtr;
+
+#define _XkbAlloc(s)            Xmalloc((s))
+#define _XkbCalloc(n,s)         Xcalloc((n),(s))
+#define _XkbRealloc(o,s)        Xrealloc((o),(s))
+#define _XkbTypedAlloc(t)       ((t *)Xmalloc(sizeof(t)))
+#define _XkbTypedCalloc(n,t)    ((t *)Xcalloc((n),sizeof(t)))
+#define _XkbTypedRealloc(o,n,t) \
+        ((o) ? (t *)Xrealloc((o), (n)*sizeof(t)) : _XkbTypedCalloc(n,t))
+#define _XkbClearElems(a,f,l,t) bzero(&(a)[f], ((l)-(f)+1) * sizeof(t))
+#define _XkbFree(p)             Xfree(p)
 
 _XFUNCPROTOBEGIN
 
-extern void _XkbReloadDpy(
-    Display *          /* dpy */
+extern  void _XkbReloadDpy(
+    Display *           /* dpy */
 );
 
 extern KeySym _XKeycodeToKeysym(
-    Display*           /* display */,
+    Display *           /* display */,
 #if NeedWidePrototypes
-    unsigned int       /* keycode */,
+    unsigned int        /* keycode */,
 #else
-    KeyCode            /* keycode */,
+    KeyCode             /* keycode */,
 #endif
-    int                        /* index */
+    int                 /* index */
 );
 
 extern KeyCode _XKeysymToKeycode(
-    Display*           /* display */,
-    KeySym             /* keysym */
+    Display *           /* display */,
+    KeySym              /* keysym */
 );
 
 extern KeySym _XLookupKeysym(
-    XKeyEvent*         /* key_event */,
-    int                        /* index */
+    XKeyEvent *         /* key_event */,
+    int                 /* index */
 );
 
 extern int _XRefreshKeyboardMapping(
-    XMappingEvent*     /* event_map */
+    XMappingEvent *     /* event_map */
 );
 
-extern unsigned        _XKeysymToModifiers(
-    Display *          /* dpy */,
-    KeySym             /* ks */
+extern unsigned _XKeysymToModifiers(
+    Display *           /* dpy */,
+    KeySym              /* ks */
 );
 
 extern int _XTranslateKey(
-    register Display * /* dpy */,
-    KeyCode            /* keycode */,
+    register Display *  /* dpy */,
+    KeyCode             /* keycode */,
     register unsigned int /* modifiers */,
-    unsigned int *     /* modifiers_return */,
-    KeySym *           /* keysym_return */
+    unsigned int *      /* modifiers_return */,
+    KeySym *            /* keysym_return */
 );
 
-extern int     _XTranslateKeySym(
-    Display *          /* dpy */,
-    register KeySym    /* symbol */,
-    unsigned int       /* modifiers */,
-    char *             /* buffer */,
-    int                /* nbytes */
+extern int      _XTranslateKeySym(
+    Display *           /* dpy */,
+    register KeySym     /* symbol */,
+    unsigned int        /* modifiers */,
+    char *              /* buffer */,
+    int                 /* nbytes */
 );
 
-extern int _XLookupString(
-    register XKeyEvent *       /* event */,
-    char *                     /* buffer */,
-    int                        /* nbytes */,
-    KeySym *                   /* keysym */,
-    XComposeStatus *           /* status */
+extern  int _XLookupString(
+    register XKeyEvent *        /* event */,
+    char *                      /* buffer */,
+    int                         /* nbytes */,
+    KeySym *                    /* keysym */,
+    XComposeStatus *            /* status */
 );
 
 extern void _XkbNoteCoreMapChanges(
-    XkbMapChangesRec *                 /* old */,
-    XMappingEvent *            /* new */,
-    unsigned int               /* wanted */
+    XkbMapChangesRec *          /* old */,
+    XMappingEvent *             /* new */,
+    unsigned int                /* wanted */
 );
 
-extern int _XkbInitReadBuffer(
-    Display *          /* dpy */,
-    XkbReadBufferPtr   /* buf */,
-    int                        /* size */
+extern  int _XkbInitReadBuffer(
+    Display *           /* dpy */,
+    XkbReadBufferPtr    /* buf */,
+    int                 /* size */
 );
 
 extern int _XkbSkipReadBufferData(
-    XkbReadBufferPtr   /* from */,
-    int                        /* size */
+    XkbReadBufferPtr    /* from */,
+    int                 /* size */
 );
 
 extern int _XkbCopyFromReadBuffer(
-    XkbReadBufferPtr   /* from */,
-    char *             /* to */,
-    int                        /* size */
+    XkbReadBufferPtr    /* from */,
+    char *              /* to */,
+    int                 /* size */
 );
 
 
-#if defined(WORD64) || defined(LONG64)
-extern int _XkbReadCopyData32(
-    int *              /* from */,
-    long *             /* to */,
-    int                        /* num_words */
+#ifdef LONG64
+extern  int _XkbReadCopyData32(
+    int *               /* from */,
+    long *              /* to */,
+    int                 /* num_words */
 );
 
-extern int _XkbWriteCopyData32(
-    unsigned long *    /* from */,
-    CARD32 *           /* to */,
-    int                        /* num_words */
+extern  int _XkbWriteCopyData32(
+    unsigned long *     /* from */,
+    CARD32 *            /* to */,
+    int                 /* num_words */
 );
 
 extern int _XkbReadBufferCopy32(
-    XkbReadBufferPtr   /* from */,
-    long *             /* to */,
-    int                        /* size */
+    XkbReadBufferPtr    /* from */,
+    long *              /* to */,
+    int                 /* size */
 );
 #else
-#define        _XkbReadCopyData32(f,t,s)    memcpy((char *)(t),(char *)(f),(s)*4)
-#define        _XkbWriteCopyData32(f,t,s)   memcpy((char *)(t),(char *)(f),(s)*4)
-#define        _XkbReadBufferCopy32(f,t,s) _XkbCopyFromReadBuffer(f,(char *)t,(s)*4)
+#define _XkbReadCopyData32(f,t,s)    memcpy((char *)(t), (char *)(f), (s)*4)
+#define _XkbWriteCopyData32(f,t,s)   memcpy((char *)(t), (char *)(f), (s)*4)
+#define _XkbReadBufferCopy32(f,t,s) _XkbCopyFromReadBuffer(f, (char *)t, (s)*4)
 #endif
 
 #ifndef NO_DEC_BINARY_COMPATIBILITY
@@ -243,97 +237,97 @@ extern int _XkbReadBufferCopy32(
 
 #ifdef XKB_FORCE_INT_KEYSYM
 extern int _XkbReadCopyKeySyms(
-    int *              /* from */,
-    KeySym *           /* to */,
-    int                        /* num_words */
+    int *               /* from */,
+    KeySym *            /* to */,
+    int                 /* num_words */
 );
 
-extern int _XkbWriteCopyKeySyms(
-    KeySym *           /* from */,
-    CARD32 *           /* to */,
-    int                        /* num_words */
+extern  int _XkbWriteCopyKeySyms(
+    KeySym *            /* from */,
+    CARD32 *            /* to */,
+    int                 /* num_words */
 );
 
 extern int _XkbReadBufferCopyKeySyms(
-    XkbReadBufferPtr   /* from */,
+    XkbReadBufferPtr    /* from */,
 #ifndef NO_DEC_BUG_FIX
-    KeySym *           /* to */,
+    KeySym *            /* to */,
 #else
-    long *             /* to */,
+    long *              /* to */,
 #endif
-    int                        /* size */
+    int                 /* size */
 );
 #else
-#define        _XkbReadCopyKeySyms(f,t,n)              _XkbReadCopyData32(f,t,n)
-#define        _XkbWriteCopyKeySyms(f,t,n)             _XkbWriteCopyData32(f,t,n)
-#define        _XkbReadBufferCopyKeySyms(f,t,s)        _XkbReadBufferCopy32(f,t,s)
+#define _XkbReadCopyKeySyms(f,t,n)              _XkbReadCopyData32(f,t,n)
+#define _XkbWriteCopyKeySyms(f,t,n)             _XkbWriteCopyData32(f,t,n)
+#define _XkbReadBufferCopyKeySyms(f,t,s)        _XkbReadBufferCopy32(f,t,s)
 #endif
 
 extern char *_XkbPeekAtReadBuffer(
-    XkbReadBufferPtr   /* from */,
-    int                        /*  size */
+    XkbReadBufferPtr    /* from */,
+    int                 /*  size */
 );
 
 extern char *_XkbGetReadBufferPtr(
-    XkbReadBufferPtr   /* from */,
-    int                        /* size */
+    XkbReadBufferPtr    /* from */,
+    int                 /* size */
 );
-#define        _XkbGetTypedRdBufPtr(b,n,t) ((t *)_XkbGetReadBufferPtr(b,(n)*SIZEOF(t)))
+#define _XkbGetTypedRdBufPtr(b,n,t) ((t *)_XkbGetReadBufferPtr(b,(n)*SIZEOF(t)))
 
 extern int _XkbFreeReadBuffer(
-    XkbReadBufferPtr   /* buf */
+    XkbReadBufferPtr    /* buf */
 );
 
 extern Bool
 _XkbGetReadBufferCountedString(
-    XkbReadBufferPtr   /* buf */,
-    char **            /* rtrn */
+    XkbReadBufferPtr    /* buf */,
+    char **             /* rtrn */
 );
 
-extern char    *_XkbGetCharset(
+extern char *_XkbGetCharset(
     void
 );
 
-extern int      _XkbGetConverters(
+extern int       _XkbGetConverters(
     const char *       /* encoding_name */,
     XkbConverters *    /* cvt_rtrn */
 );
 
-#ifdef NEED_MAP_READERS
+#ifdef  NEED_MAP_READERS
 
-extern Status  _XkbReadGetMapReply(
-    Display *          /* dpy */,
-    xkbGetMapReply *   /* rep */,
-    XkbDescRec *       /* xkb */,
-    int *              /* nread_rtrn */
+extern  Status  _XkbReadGetMapReply(
+    Display *           /* dpy */,
+    xkbGetMapReply *    /* rep */,
+    XkbDescRec *        /* xkb */,
+    int *               /* nread_rtrn */
 );
 
-extern Status  _XkbReadGetCompatMapReply(
-    Display *                  /* dpy */,
-    xkbGetCompatMapReply *     /* rep */,
-    XkbDescPtr                 /* xkb */,
-    int        *                       /* nread_rtrn */
+extern  Status  _XkbReadGetCompatMapReply(
+    Display *                   /* dpy */,
+    xkbGetCompatMapReply *      /* rep */,
+    XkbDescPtr                  /* xkb */,
+    int *                       /* nread_rtrn */
 );
 
-extern Status  _XkbReadGetIndicatorMapReply(
-    Display *                  /* dpy */,
-    xkbGetIndicatorMapReply *  /* rep */,
-    XkbDescPtr                 /* xkb */,
-    int        *                       /* nread_rtrn */
+extern  Status  _XkbReadGetIndicatorMapReply(
+    Display *                   /* dpy */,
+    xkbGetIndicatorMapReply *   /* rep */,
+    XkbDescPtr                  /* xkb */,
+    int *                       /* nread_rtrn */
 );
 
-extern Status  _XkbReadGetNamesReply(
-    Display *                  /* dpy */,
-    xkbGetNamesReply *         /* rep */,
-    XkbDescPtr                         /* xkb */,
-    int *                      /* nread_rtrn */
+extern  Status  _XkbReadGetNamesReply(
+    Display *                   /* dpy */,
+    xkbGetNamesReply *          /* rep */,
+    XkbDescPtr                  /* xkb */,
+    int *                       /* nread_rtrn */
 );
 
-extern Status  _XkbReadGetGeometryReply(
-    Display *                  /* dpy */,
-    xkbGetGeometryReply *      /* rep */,
-    XkbDescPtr                         /* xkb */,
-    int *                      /* nread_rtrn */
+extern  Status  _XkbReadGetGeometryReply(
+    Display *                   /* dpy */,
+    xkbGetGeometryReply *       /* rep */,
+    XkbDescPtr                  /* xkb */,
+    int *                       /* nread_rtrn */
 );
 
 #endif
index 1eacfa5..2a1d0d6 100644 (file)
@@ -128,7 +128,7 @@ _XIMVaToNestedList(va_list var, int max_count, XIMArg **args_return)
        return;
     }
 
-    args = (XIMArg *)Xmalloc((unsigned)(max_count + 1) * sizeof(XIMArg));
+    args = Xmalloc(((unsigned)max_count + 1) * sizeof(XIMArg));
     *args_return = args;
     if (!args) return;
 
@@ -186,7 +186,7 @@ XSetIMValues(XIM im, ...)
     va_end(var);
 
     ret = (*im->methods->set_values) (im, args);
-    if (args) Xfree((char *)args);
+    if (args) Xfree(args);
     return ret;
 }
 
@@ -213,7 +213,7 @@ XGetIMValues(XIM im, ...)
     va_end(var);
 
     ret = (*im->methods->get_values) (im, args);
-    if (args) Xfree((char *)args);
+    if (args) Xfree(args);
     return ret;
 }
 
@@ -245,7 +245,7 @@ XCreateIC(XIM im, ...)
     va_end(var);
 
     ic = (XIC) (*im->methods->create_ic) (im, args);
-    if (args) Xfree((char *)args);
+    if (args) Xfree(args);
     if (ic) {
        ic->core.next = im->core.ic_chain;
        im->core.ic_chain = ic;
@@ -271,7 +271,7 @@ XDestroyIC(XIC ic)
            }
        }
     }
-    Xfree ((char *) ic);
+    Xfree (ic);
 }
 
 char *
@@ -300,7 +300,7 @@ XGetICValues(XIC ic, ...)
     va_end(var);
 
     ret = (*ic->methods->get_values) (ic, args);
-    if (args) Xfree((char *)args);
+    if (args) Xfree(args);
     return ret;
 }
 
@@ -330,7 +330,7 @@ XSetICValues(XIC ic, ...)
     va_end(var);
 
     ret = (*ic->methods->set_values) (ic, args);
-    if (args) Xfree((char *)args);
+    if (args) Xfree(args);
     return ret;
 }
 
index 0f6ed55..a7c1d98 100644 (file)
@@ -134,7 +134,7 @@ XCloseIM(XIM im)
     s = (im->methods->close) (im);
     for (ic = im->core.ic_chain; ic; ic = ic->core.next)
        ic->core.im = (XIM)NULL;
-    Xfree ((char *) im);
+    Xfree (im);
     _XCloseLC (lcd);
     return (s);
 }
diff --git a/src/xlibi18n/Makefile.in b/src/xlibi18n/Makefile.in
deleted file mode 100644 (file)
index bb24250..0000000
+++ /dev/null
@@ -1,757 +0,0 @@
-# Makefile.in generated by automake 1.11.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = src/xlibi18n
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
-       $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/src/config.h \
-       $(top_builddir)/include/X11/XlibConf.h
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-LTLIBRARIES = $(noinst_LTLIBRARIES)
-libi18n_la_DEPENDENCIES = $(IM_LIBS) $(LC_LIBS) $(OM_LIBS)
-am__libi18n_la_SOURCES_DIST = XlcDL.c XlcSL.c XDefaultIMIF.c \
-       XDefaultOMIF.c xim_trans.c ICWrap.c IMWrap.c imKStoUCS.c \
-       lcCT.c lcCharSet.c lcConv.c lcDB.c lcDynamic.c lcFile.c \
-       lcGeneric.c lcInit.c lcPrTxt.c lcPubWrap.c lcPublic.c lcRM.c \
-       lcStd.c lcTxtPr.c lcUTF8.c lcUtil.c lcWrap.c mbWMProps.c \
-       mbWrap.c utf8WMProps.c utf8Wrap.c wcWrap.c Xaixlcint.h \
-       XimImSw.h XimProto.h XimThai.h XimTrInt.h XimTrX.h XimTrans.h \
-       Ximint.h XimintL.h XimintP.h XlcGeneric.h XlcPubI.h \
-       XlcPublic.h Xlcint.h lcUniConv/armscii_8.h lcUniConv/ascii.h \
-       lcUniConv/big5.h lcUniConv/big5_emacs.h lcUniConv/big5hkscs.h \
-       lcUniConv/cp1133.h lcUniConv/cp1251.h lcUniConv/cp1255.h \
-       lcUniConv/cp1256.h lcUniConv/gb2312.h lcUniConv/gbk.h \
-       lcUniConv/georgian_academy.h lcUniConv/georgian_ps.h \
-       lcUniConv/iso8859_1.h lcUniConv/iso8859_10.h \
-       lcUniConv/iso8859_11.h lcUniConv/iso8859_13.h \
-       lcUniConv/iso8859_14.h lcUniConv/iso8859_15.h \
-       lcUniConv/iso8859_16.h lcUniConv/iso8859_2.h \
-       lcUniConv/iso8859_3.h lcUniConv/iso8859_4.h \
-       lcUniConv/iso8859_5.h lcUniConv/iso8859_6.h \
-       lcUniConv/iso8859_7.h lcUniConv/iso8859_8.h \
-       lcUniConv/iso8859_9.h lcUniConv/iso8859_9e.h \
-       lcUniConv/jisx0201.h lcUniConv/jisx0208.h lcUniConv/jisx0212.h \
-       lcUniConv/koi8_c.h lcUniConv/koi8_r.h lcUniConv/koi8_u.h \
-       lcUniConv/ksc5601.h lcUniConv/mulelao.h lcUniConv/tatar_cyr.h \
-       lcUniConv/tcvn.h lcUniConv/tis620.h lcUniConv/ucs2be.h \
-       lcUniConv/utf8.h lcUniConv/viscii.h
-@XLIB_LOADABLE_I18N_TRUE@am__objects_1 = XlcDL.lo XlcSL.lo
-am_libi18n_la_OBJECTS = $(am__objects_1) XDefaultIMIF.lo \
-       XDefaultOMIF.lo xim_trans.lo ICWrap.lo IMWrap.lo imKStoUCS.lo \
-       lcCT.lo lcCharSet.lo lcConv.lo lcDB.lo lcDynamic.lo lcFile.lo \
-       lcGeneric.lo lcInit.lo lcPrTxt.lo lcPubWrap.lo lcPublic.lo \
-       lcRM.lo lcStd.lo lcTxtPr.lo lcUTF8.lo lcUtil.lo lcWrap.lo \
-       mbWMProps.lo mbWrap.lo utf8WMProps.lo utf8Wrap.lo wcWrap.lo
-libi18n_la_OBJECTS = $(am_libi18n_la_OBJECTS)
-AM_V_lt = $(am__v_lt_$(V))
-am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
-am__v_lt_0 = --silent
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src -I$(top_builddir)/include/X11
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_$(V))
-am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
-am__v_CC_0 = @echo "  CC    " $@;
-AM_V_at = $(am__v_at_$(V))
-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
-am__v_at_0 = @
-CCLD = $(CC)
-LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_$(V))
-am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
-am__v_CCLD_0 = @echo "  CCLD  " $@;
-AM_V_GEN = $(am__v_GEN_$(V))
-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
-am__v_GEN_0 = @echo "  GEN   " $@;
-SOURCES = $(libi18n_la_SOURCES)
-DIST_SOURCES = $(am__libi18n_la_SOURCES_DIST)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
-ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-APP_MAN_DIR = @APP_MAN_DIR@
-APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BASE_CFLAGS = @BASE_CFLAGS@
-BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
-BIGFONT_LIBS = @BIGFONT_LIBS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
-CWARNFLAGS = @CWARNFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DLLTOOL = @DLLTOOL@
-DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
-DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
-DSYMUTIL = @DSYMUTIL@
-DUMPBIN = @DUMPBIN@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-FGREP = @FGREP@
-FILE_MAN_DIR = @FILE_MAN_DIR@
-FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-FOP = @FOP@
-GREP = @GREP@
-I18N_MODULE_LIBS = @I18N_MODULE_LIBS@
-INSTALL = @INSTALL@
-INSTALL_CMD = @INSTALL_CMD@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KEYSYMDEFS = @KEYSYMDEFS@
-LAUNCHD = @LAUNCHD@
-LD = @LD@
-LDFLAGS = @LDFLAGS@
-LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAN_DIR = @LIB_MAN_DIR@
-LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
-LINT = @LINT@
-LINTLIB = @LINTLIB@
-LINT_FLAGS = @LINT_FLAGS@
-LIPO = @LIPO@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MALLOC_ZERO_CFLAGS = @MALLOC_ZERO_CFLAGS@
-MANIFEST_TOOL = @MANIFEST_TOOL@
-MAN_SUBSTS = @MAN_SUBSTS@
-MISC_MAN_DIR = @MISC_MAN_DIR@
-MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
-MKDIR_P = @MKDIR_P@
-NM = @NM@
-NMEDIT = @NMEDIT@
-OBJDUMP = @OBJDUMP@
-OBJEXT = @OBJEXT@
-OTOOL = @OTOOL@
-OTOOL64 = @OTOOL64@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
-PKG_CONFIG = @PKG_CONFIG@
-RANLIB = @RANLIB@
-RAWCPP = @RAWCPP@
-RAWCPPFLAGS = @RAWCPPFLAGS@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRICT_CFLAGS = @STRICT_CFLAGS@
-STRIP = @STRIP@
-STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
-VERSION = @VERSION@
-WCHAR32 = @WCHAR32@
-X11_CFLAGS = @X11_CFLAGS@
-X11_DATADIR = @X11_DATADIR@
-X11_EXTRA_DEPS = @X11_EXTRA_DEPS@
-X11_LIBDIR = @X11_LIBDIR@
-X11_LIBS = @X11_LIBS@
-X11_LOCALEDATADIR = @X11_LOCALEDATADIR@
-X11_LOCALEDIR = @X11_LOCALEDIR@
-X11_LOCALELIBDIR = @X11_LOCALELIBDIR@
-XERRORDB = @XERRORDB@
-XKBPROTO_REQUIRES = @XKBPROTO_REQUIRES@
-XKEYSYMDB = @XKEYSYMDB@
-XLOCALEDATADIR = @XLOCALEDATADIR@
-XLOCALEDIR = @XLOCALEDIR@
-XLOCALELIBDIR = @XLOCALELIBDIR@
-XMALLOC_ZERO_CFLAGS = @XMALLOC_ZERO_CFLAGS@
-XMLTO = @XMLTO@
-XORG_MAN_PAGE = @XORG_MAN_PAGE@
-XORG_SGML_PATH = @XORG_SGML_PATH@
-XSLTPROC = @XSLTPROC@
-XSL_STYLESHEET = @XSL_STYLESHEET@
-XTHREADLIB = @XTHREADLIB@
-XTHREAD_CFLAGS = @XTHREAD_CFLAGS@
-XTMALLOC_ZERO_CFLAGS = @XTMALLOC_ZERO_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-locales = @locales@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/include/X11 \
-       -I$(top_builddir)/include \
-       -I$(top_builddir)/include/X11 \
-       -I$(top_srcdir)/src/xcms \
-       -I$(top_srcdir)/src/xkb \
-       -I$(top_srcdir)/src/xlibi18n \
-       -I$(top_srcdir)/src \
-       -D_BSD_SOURCE
-
-AM_CFLAGS = \
-       $(X11_CFLAGS) \
-       $(BIGFONT_CFLAGS) \
-       $(XMALLOC_ZERO_CFLAGS) \
-       $(CWARNFLAGS)
-
-noinst_LTLIBRARIES = libi18n.la
-
-#
-# Dynamic loading code for i18n modules
-#
-@XLIB_LOADABLE_I18N_TRUE@XI18N_DL_SOURCES = \
-@XLIB_LOADABLE_I18N_TRUE@                  XlcDL.c \
-@XLIB_LOADABLE_I18N_TRUE@                  XlcSL.c
-
-#
-# Static interfaces to input/output methods
-#
-@XLIB_LOADABLE_I18N_FALSE@IM_LIBS = \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/im/ximcp/libximcp.la
-
-@XLIB_LOADABLE_I18N_FALSE@LC_LIBS = \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/lc/def/libxlcDef.la \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/lc/gen/libxlibi18n.la \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/lc/Utf8/libxlcUTF8Load.la \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/lc/xlocale/libxlocale.la
-
-@XLIB_LOADABLE_I18N_FALSE@OM_LIBS = \
-@XLIB_LOADABLE_I18N_FALSE@     ${top_builddir}/modules/om/generic/libxomGeneric.la
-
-libi18n_la_LIBADD = \
-        $(IM_LIBS) $(LC_LIBS) $(OM_LIBS)
-
-libi18n_la_SOURCES = \
-       $(XI18N_DL_SOURCES) \
-       XDefaultIMIF.c \
-       XDefaultOMIF.c \
-       xim_trans.c\
-       ICWrap.c\
-       IMWrap.c\
-       imKStoUCS.c\
-       lcCT.c\
-       lcCharSet.c\
-       lcConv.c\
-       lcDB.c\
-       lcDynamic.c\
-       lcFile.c\
-       lcGeneric.c\
-       lcInit.c\
-       lcPrTxt.c\
-       lcPubWrap.c\
-       lcPublic.c\
-       lcRM.c\
-       lcStd.c\
-       lcTxtPr.c\
-       lcUTF8.c\
-       lcUtil.c\
-       lcWrap.c\
-       mbWMProps.c\
-       mbWrap.c\
-       utf8WMProps.c\
-       utf8Wrap.c\
-       wcWrap.c\
-       Xaixlcint.h\
-       XimImSw.h\
-       XimProto.h\
-       XimThai.h\
-       XimTrInt.h\
-       XimTrX.h\
-       XimTrans.h\
-       Ximint.h\
-       XimintL.h\
-       XimintP.h\
-       XlcGeneric.h\
-       XlcPubI.h\
-       XlcPublic.h\
-       Xlcint.h\
-       lcUniConv/armscii_8.h\
-       lcUniConv/ascii.h\
-       lcUniConv/big5.h\
-       lcUniConv/big5_emacs.h\
-       lcUniConv/big5hkscs.h\
-       lcUniConv/cp1133.h\
-       lcUniConv/cp1251.h\
-       lcUniConv/cp1255.h\
-       lcUniConv/cp1256.h\
-       lcUniConv/gb2312.h\
-       lcUniConv/gbk.h\
-       lcUniConv/georgian_academy.h\
-       lcUniConv/georgian_ps.h\
-       lcUniConv/iso8859_1.h\
-       lcUniConv/iso8859_10.h\
-       lcUniConv/iso8859_11.h\
-       lcUniConv/iso8859_13.h\
-       lcUniConv/iso8859_14.h\
-       lcUniConv/iso8859_15.h\
-       lcUniConv/iso8859_16.h\
-       lcUniConv/iso8859_2.h\
-       lcUniConv/iso8859_3.h\
-       lcUniConv/iso8859_4.h\
-       lcUniConv/iso8859_5.h\
-       lcUniConv/iso8859_6.h\
-       lcUniConv/iso8859_7.h\
-       lcUniConv/iso8859_8.h\
-       lcUniConv/iso8859_9.h\
-       lcUniConv/iso8859_9e.h\
-       lcUniConv/jisx0201.h\
-       lcUniConv/jisx0208.h\
-       lcUniConv/jisx0212.h\
-       lcUniConv/koi8_c.h\
-       lcUniConv/koi8_r.h\
-       lcUniConv/koi8_u.h\
-       lcUniConv/ksc5601.h\
-       lcUniConv/mulelao.h\
-       lcUniConv/tatar_cyr.h\
-       lcUniConv/tcvn.h\
-       lcUniConv/tis620.h\
-       lcUniConv/ucs2be.h\
-       lcUniConv/utf8.h\
-       lcUniConv/viscii.h
-
-EXTRA_DIST = \
-       lcUniConv/README \
-       lcUniConv/COPYRIGHT \
-       lcUniConv/8bit_tab_to_h.c \
-       lcUniConv/cjk_tab_to_h.c
-
-
-# Check source code with tools like lint & sparse
-@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
-
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
-               && { if test -f $@; then exit 0; else break; fi; }; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/xlibi18n/Makefile'; \
-       $(am__cd) $(top_srcdir) && \
-         $(AUTOMAKE) --foreign src/xlibi18n/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(am__aclocal_m4_deps):
-
-clean-noinstLTLIBRARIES:
-       -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
-       @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libi18n.la: $(libi18n_la_OBJECTS) $(libi18n_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(LINK)  $(libi18n_la_OBJECTS) $(libi18n_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ICWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IMWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XDefaultIMIF.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XDefaultOMIF.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XlcDL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/XlcSL.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imKStoUCS.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcCT.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcCharSet.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcConv.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcDB.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcDynamic.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcFile.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcGeneric.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcInit.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcPrTxt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcPubWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcPublic.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcRM.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcStd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcTxtPr.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcUTF8.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcUtil.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lcWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbWMProps.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8WMProps.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8Wrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wcWrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xim_trans.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       set x; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       shift; \
-       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         if test $$# -gt 0; then \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             "$$@" $$unique; \
-         else \
-           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-             $$unique; \
-         fi; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-             END { if (nonempty) { for (i in files) print i; }; }'`; \
-       test -z "$(CTAGS_ARGS)$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && $(am__cd) $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-       list='$(DISTFILES)'; \
-         dist_files=`for file in $$list; do echo $$file; done | \
-         sed -e "s|^$$srcdirstrip/||;t" \
-             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-       case $$dist_files in \
-         */*) $(MKDIR_P) `echo "$$dist_files" | \
-                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-                          sort -u` ;; \
-       esac; \
-       for file in $$dist_files; do \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         if test -d $$d/$$file; then \
-           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-           if test -d "$(distdir)/$$file"; then \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-           fi; \
-           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-         else \
-           test -f "$(distdir)/$$file" \
-           || cp -p $$d/$$file "$(distdir)/$$file" \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       if test -z '$(STRIP)'; then \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-             install; \
-       else \
-         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
-       fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
-       mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libtool clean-noinstLTLIBRARIES ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
-       pdf pdf-am ps ps-am tags uninstall uninstall-am
-
-
-@LINT_TRUE@lint:
-@LINT_TRUE@    $(LINT) $(ALL_LINT_FLAGS) $(libi18n_la_SOURCES)
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index e97d2f4..db0f5d1 100644 (file)
@@ -184,10 +184,10 @@ _XDefaultOpenIM(
        return((XIM)NULL);
     }
 
-    if ((im = (StaticXIM)Xmalloc(sizeof(StaticXIMRec))) == (StaticXIM)NULL) {
+    if ((im = Xmalloc(sizeof(StaticXIMRec))) == (StaticXIM)NULL) {
        return((XIM)NULL);
     }
-    if ((local_impart = (XIMStaticXIMRec*)Xmalloc(sizeof(XIMStaticXIMRec)))
+    if ((local_impart = Xmalloc(sizeof(XIMStaticXIMRec)))
        == (XIMStaticXIMRec *)NULL) {
        Xfree(im);
        return((XIM)NULL);
@@ -273,11 +273,11 @@ _GetIMValues(
 
     for (p = values; p->name != NULL; p++) {
        if (strcmp(p->name, XNQueryInputStyle) == 0) {
-           styles = (XIMStyles *)Xmalloc(sizeof(XIMStyles));
+           styles = Xmalloc(sizeof(XIMStyles));
            *(XIMStyles **)p->value = styles;
            styles->count_styles = 1;
            styles->supported_styles =
-               (XIMStyle*)Xmalloc(styles->count_styles * sizeof(XIMStyle));
+               Xmalloc(styles->count_styles * sizeof(XIMStyle));
            styles->supported_styles[0] = (XIMPreeditNone | XIMStatusNone);
        } else {
            break;
@@ -344,7 +344,7 @@ _CreateIC(XIM im, XIMArg *arg)
 {
     XIC ic;
 
-    if ((ic = (XIC)Xmalloc(sizeof(XICRec))) == (XIC)NULL) {
+    if ((ic = Xmalloc(sizeof(XICRec))) == (XIC)NULL) {
        return ((XIC)NULL);
     }
     memset(ic, 0, sizeof(XICRec));
@@ -452,7 +452,7 @@ _WcLookupString(
     XComposeStatus NotSupportedYet ;
     int length;
     /* In single-byte, mb_len = wc_len */
-    char *mb_buf = (char *)Xmalloc(wlen);
+    char *mb_buf = Xmalloc(wlen);
 
     length = XLookupString(ev, mb_buf, wlen, keysym, &NotSupportedYet);
 
index b1dc66d..a06f69a 100644 (file)
@@ -76,7 +76,7 @@ Sun Microsystems, Inc. or its licensors is granted.
 #define XOC_GENERIC(font_set)  (&((XOCGeneric) font_set)->gen)
 
 #define DefineLocalBuf         char local_buf[BUFSIZ]
-#define AllocLocalBuf(length)  (length > BUFSIZ ? (char *)Xmalloc(length) : local_buf)
+#define AllocLocalBuf(length)  (length > BUFSIZ ? Xmalloc(length) : local_buf)
 #define FreeLocalBuf(ptr)      if (ptr != local_buf) Xfree(ptr)
 
 typedef struct _FontDataRec {
@@ -332,15 +332,15 @@ init_core_part(
     if (count == 0)
         return False;
 
-    font_struct_list = (XFontStruct **) Xmalloc(sizeof(XFontStruct *));
+    font_struct_list = Xmalloc(sizeof(XFontStruct *));
     if (font_struct_list == NULL)
        return False;
 
-    font_name_list = (char **) Xmalloc(sizeof(char *));
+    font_name_list = Xmalloc(sizeof(char *));
     if (font_name_list == NULL)
        goto err;
 
-    font_name_buf = (char *) Xmalloc(length);
+    font_name_buf = Xmalloc(length);
     if (font_name_buf == NULL)
        goto err;
 
@@ -578,11 +578,11 @@ set_missing_list(
     if (count == 0)
        return True;
 
-    charset_list = (char **) Xmalloc(sizeof(char *));
+    charset_list = Xmalloc(sizeof(char *));
     if (charset_list == NULL)
        return False;
 
-    charset_buf = (char *) Xmalloc(length);
+    charset_buf = Xmalloc(length);
     if (charset_buf == NULL) {
        Xfree(charset_list);
        return False;
@@ -1148,10 +1148,9 @@ init_om(
     FontData font_data;
     char **required_list;
     XOrientation *orientation;
-    char **value, buf[BUFSIZ], *bufptr;
-    int count, length = 0;
+    char *bufptr;
+    int i, count, length = 0;
 
-    value = (char**)supported_charset_list;
     count = XlcNumber(supported_charset_list);
 
     data = add_data(om);
@@ -1164,14 +1163,8 @@ init_om(
     data->font_data = font_data;
     data->font_data_count = count;
 
-    for ( ; count-- > 0; font_data++) {
-/*
-1266793
-This one is fine.  *value points to one of the local strings in
-supported_charset_list[].
-*/
-       strcpy(buf, *value++);
-       font_data->name = strdup(buf);
+    for (i = 0; i < count; i++, font_data++) {
+       font_data->name = strdup(supported_charset_list[i]);
        if (font_data->name == NULL)
            return False;
     }
@@ -1179,11 +1172,11 @@ supported_charset_list[].
     length += strlen(data->font_data->name) + 1;
 
     /* required charset list */
-    required_list = (char **) Xmalloc(sizeof(char *));
+    required_list = Xmalloc(sizeof(char *));
     if (required_list == NULL)
        return False;
 
-    bufptr = (char *) Xmalloc(length);
+    bufptr = Xmalloc(length);
     if (bufptr == NULL) {
        Xfree(required_list);
        return False;
@@ -1199,7 +1192,7 @@ supported_charset_list[].
     bufptr += strlen(bufptr) + 1;
 
     /* orientation list */
-    orientation = (XOrientation *) Xmalloc(sizeof(XOrientation));
+    orientation = Xmalloc(sizeof(XOrientation));
     if (orientation == NULL)
        return False;
 
index a08ac03..bceab98 100644 (file)
@@ -73,7 +73,7 @@ extern Bool   _XimXConf(
     char       *address
 );
 
-#if defined(TCPCONN) || defined(UNIXCONN) || defined(DNETCONN) || defined(STREAMSCONN)
+#if defined(TCPCONN) || defined(UNIXCONN)
 
 extern Bool    _XimTransConf(
     Xim                 im,
index 2fd3017..def18cc 100644 (file)
@@ -36,9 +36,6 @@ PERFORMANCE OF THIS SOFTWARE.
 #include <stdio.h>
 #include <X11/Xutil.h>
 
-#define Public /**/
-#define Private static
-
 typedef struct _Xim    *Xim;
 typedef struct _Xic    *Xic;
 
@@ -982,7 +979,7 @@ extern Bool _XimEncodeSavedICATTRIBUTE(
 );
 #endif
 
-extern Public Bool
+extern Bool
 _XimRegisterDispatcher(
     Xim          im,
     Bool         (*callback)(
@@ -990,7 +987,7 @@ _XimRegisterDispatcher(
                              ),
     XPointer     call_data);
 
-extern Public Bool
+extern Bool
 _XimRespSyncReply(
     Xic          ic,
     BITMASK16    mode);
index 75e193c..a236038 100644 (file)
@@ -185,16 +185,10 @@ resolve_object(char *path, const char *lc_name)
 
     if (lc_len == 0) { /* True only for the 1st time */
       lc_len = OBJECT_INIT_LEN;
-      xi18n_objects_list = (XI18NObjectsList)
-         Xmalloc(sizeof(XI18NObjectsListRec) * lc_len);
+      xi18n_objects_list = Xmalloc(sizeof(XI18NObjectsListRec) * lc_len);
       if (!xi18n_objects_list) return;
     }
-/*
-1266793
-Limit the length of path to prevent stack buffer corruption.
-    sprintf(filename, "%s/%s", path, "XI18N_OBJS");
-*/
-    sprintf(filename, "%.*s/%s", BUFSIZ - 12, path, "XI18N_OBJS");
+    snprintf(filename, sizeof(filename), "%s/%s", path, "XI18N_OBJS");
     fp = fopen(filename, "r");
     if (fp == (FILE *)NULL){
        return;
@@ -212,11 +206,13 @@ Limit the length of path to prevent stack buffer corruption.
        }
 
        if (lc_count == lc_len) {
-         lc_len += OBJECT_INC_LEN;
-         xi18n_objects_list = (XI18NObjectsList)
-           Xrealloc(xi18n_objects_list,
-                    sizeof(XI18NObjectsListRec) * lc_len);
-         if (!xi18n_objects_list) return;
+         int new_len = lc_len + OBJECT_INC_LEN;
+         XI18NObjectsListRec *tmp = Xrealloc(xi18n_objects_list,
+             sizeof(XI18NObjectsListRec) * new_len);
+         if (tmp == NULL)
+             goto done;
+         xi18n_objects_list = tmp;
+         lc_len = new_len;
        }
        n = parse_line(p, args, 6);
 
@@ -244,6 +240,7 @@ Limit the length of path to prevent stack buffer corruption.
          lc_count++;
        }
     }
+  done:
     fclose(fp);
 }
 
@@ -383,9 +380,9 @@ _XlcDynamicLoad(const char *lc_name)
 
     if (lc_name == NULL) return (XLCd)NULL;
 
-    if (_XlcLocaleDirName(lc_dir, BUFSIZE, (char *)lc_name) == (char *)NULL)
+    if (_XlcLocaleDirName(lc_dir, BUFSIZE, lc_name) == NULL)
         return (XLCd)NULL;
-    if (_XlcLocaleLibDirName(lc_lib_dir, BUFSIZE, (char *)lc_name) == (char*)NULL)
+    if (_XlcLocaleLibDirName(lc_lib_dir, BUFSIZE, lc_name) == NULL)
        return (XLCd)NULL;
 
     resolve_object(lc_dir, lc_name);
@@ -512,7 +509,7 @@ _XDynamicUnRegisterIMInstantiateCallback(
     XPointer    client_data)
 {
   char lc_dir[BUFSIZE];
-  char *lc_name;
+  const char *lc_name;
   dynamicUnregisterProcp im_unregisterIM = (dynamicUnregisterProcp)NULL;
   Bool ret_flag = False;
   int count;
index 22ac2bd..a83d243 100644 (file)
@@ -207,13 +207,13 @@ extern int _XlcResolveI18NPath(
 extern char *_XlcLocaleLibDirName(
      char*             /* dir_name */,
      size_t,          /* dir_len */
-     char*             /* lc_name */
+     const char*       /* lc_name */
 );
 
 extern char *_XlcLocaleDirName(
      char*             /* dir_name */,
      size_t,          /* dir_len */
-     char*             /* lc_name */
+     const char*       /* lc_name */
 );
 
 extern XPointer _XlcCreateLocaleDataBase(
index 2fbe8aa..b161300 100644 (file)
@@ -478,7 +478,7 @@ _XlcAddCT(
 
     /* Allocate a CTinfo record. */
     length = strlen(ct_sequence);
-    ct_info = (CTInfo) Xmalloc(sizeof(CTInfoRec) + length+1);
+    ct_info = Xmalloc(sizeof(CTInfoRec) + length+1);
     if (ct_info == NULL)
        return charset;
 
@@ -514,7 +514,7 @@ _XlcAddCT(
                 Xfree(ct_info);
                 return charset;
             }
-            p = (char *) Xmalloc(n+1);
+            p = Xmalloc(n+1);
             if (p == NULL) {
                 Xfree(ct_info);
                 return charset;
@@ -970,7 +970,7 @@ cstoct(
                /* The CompoundText specification says that the only
                   control characters allowed are 0x09, 0x0a, 0x1b, 0x9b.
                   Therefore here we eliminate other control characters. */
-               unsigned char ch = *((unsigned char *) csptr) & 0x7f;
+               unsigned char ch = *((const unsigned char *) csptr) & 0x7f;
                if (!((ch >= min_ch && ch <= max_ch)
                      || (side == XlcGL
                          && (ch == 0x00 || ch == 0x09 || ch == 0x0a))
@@ -1020,7 +1020,7 @@ cstoct(
 #endif
            ) {
             while (csstr_len > 0 && ct_len > 0) {
-                unsigned char ch = * (unsigned char *) csptr;
+                unsigned char ch = * (const unsigned char *) csptr;
                 int char_size = (ch < 0xc0 ? 1 :
                                  ch < 0xe0 ? 2 :
                                  ch < 0xf0 ? 3 :
@@ -1093,9 +1093,9 @@ strtocs(
     dst = (char *) *to;
 
     length = min(*from_left, *to_left);
-    side = *((unsigned char *) src) & 0x80;
+    side = *((const unsigned char *) src) & 0x80;
 
-    while (side == (*((unsigned char *) src) & 0x80) && length-- > 0)
+    while (side == (*((const unsigned char *) src) & 0x80) && length-- > 0)
        *dst++ = *src++;
 
     *from_left -= src - (const char *) *from;
@@ -1140,7 +1140,7 @@ cstostr(
     str_len = *to_left;
 
     while (csstr_len > 0 && str_len > 0) {
-       ch = *((unsigned char *) csptr++);
+       ch = *((const unsigned char *) csptr++);
        csstr_len--;
        /* Citing ICCCM: "STRING as a type specifies the ISO Latin-1 character
           set plus the control characters TAB and NEWLINE." */
@@ -1169,7 +1169,7 @@ create_conv(
 {
     XlcConv conv;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec) + sizeof(StateRec));
+    conv = Xmalloc(sizeof(XlcConvRec) + sizeof(StateRec));
     if (conv == NULL)
        return (XlcConv) NULL;
 
@@ -1187,7 +1187,7 @@ close_converter(
     XlcConv conv)
 {
     /* conv->state is allocated together with conv, free both at once.  */
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 
index 5d28781..0adf0ad 100644 (file)
@@ -92,7 +92,7 @@ _XlcAddCharSet(
     if (_XlcGetCharSet(charset->name))
        return False;
 
-    list = (XlcCharSetList) Xmalloc(sizeof(XlcCharSetListRec));
+    list = Xmalloc(sizeof(XlcCharSetListRec));
     if (list == NULL)
        return False;
 
@@ -184,9 +184,9 @@ _XlcCreateDefaultCharSet(
     ct_sequence_len = strlen(ct_sequence);
 
     /* Fill in name and xrm_name.  */
-    tmp = (char *) Xmalloc(name_len + 1 + ct_sequence_len + 1);
+    tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1);
     if (tmp == NULL) {
-       Xfree((char *) charset);
+       Xfree(charset);
        return (XlcCharSet) NULL;
     }
     memcpy(tmp, name, name_len+1);
@@ -196,10 +196,10 @@ _XlcCreateDefaultCharSet(
     /* Fill in encoding_name and xrm_encoding_name.  */
     if ((colon = strchr(charset->name, ':')) != NULL) {
         unsigned int length = colon - charset->name;
-        char *encoding_tmp = (char *) Xmalloc(length + 1);
+        char *encoding_tmp = Xmalloc(length + 1);
         if (encoding_tmp == NULL) {
             Xfree((char *) charset->name);
-            Xfree((char *) charset);
+            Xfree(charset);
             return (XlcCharSet) NULL;
         }
         memcpy(encoding_tmp, charset->name, length);
index 9797e7e..7d9a473 100644 (file)
@@ -101,7 +101,7 @@ _XlcSetConverter(
        }
     }
 
-    list = (XlcConverterList) Xmalloc(sizeof(XlcConverterListRec));
+    list = Xmalloc(sizeof(XlcConverterListRec));
     if (list == NULL)
        return False;
 
@@ -199,10 +199,10 @@ close_indirect_converter(
        if (conv->to_conv)
            close_converter(conv->to_conv);
 
-       Xfree((char *) conv);
+       Xfree(conv);
     }
 
-    Xfree((char *) lc_conv);
+    Xfree(lc_conv);
 }
 
 static void
@@ -250,13 +250,13 @@ open_indirect_converter(
        to_type == QChar)
        return (XlcConv) NULL;
 
-    lc_conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+    lc_conv = Xmalloc(sizeof(XlcConvRec));
     if (lc_conv == NULL)
        return (XlcConv) NULL;
 
     lc_conv->methods = &conv_methods;
 
-    lc_conv->state = (XPointer) Xcalloc(1, sizeof(ConvRec));
+    lc_conv->state = Xcalloc(1, sizeof(ConvRec));
     if (lc_conv->state == NULL)
        goto err;
 
index 97b22ac..fda3ae7 100644 (file)
@@ -165,7 +165,7 @@ init_parse_info (void)
     int size;
     if (!allocated) {
        bzero(&parse_info, sizeof(DBParseInfo));
-       parse_info.buf = (char *)Xmalloc(BUFSIZE);
+       parse_info.buf = Xmalloc(BUFSIZE);
        parse_info.bufMaxSize = BUFSIZE;
        allocated = 1;
        return;
@@ -196,7 +196,7 @@ clear_parse_info (void)
        if (*parse_info.value) {
            Xfree(*parse_info.value);
        }
-       Xfree((char *)parse_info.value);
+       Xfree(parse_info.value);
     }
     ptr = parse_info.buf;
     size = parse_info.bufMaxSize;
@@ -210,11 +210,12 @@ realloc_parse_info(
     int len)
 {
     char *p;
+    int newsize = BUFSIZE * ((parse_info.bufsize + len)/BUFSIZE + 1);
 
-    parse_info.bufMaxSize = BUFSIZE * ((parse_info.bufsize + len)/BUFSIZE + 1);
-    p = (char *)Xrealloc(parse_info.buf, parse_info.bufMaxSize);
+    p = Xrealloc(parse_info.buf, newsize);
     if (p == NULL)
         return False;
+    parse_info.bufMaxSize = newsize;
     parse_info.buf = p;
 
     return True;
@@ -247,9 +248,9 @@ realloc_line(
     char *str = line->str;
 
     if (str != NULL) {
-       str = (char *)Xrealloc(str, size);
+       str = Xrealloc(str, size);
     } else {
-       str = (char *)Xmalloc(size);
+       str = Xmalloc(size);
     }
     if (str == NULL) {
        /* malloc error */
@@ -485,7 +486,7 @@ append_value_list (void)
     }
 
     if (value_list == (char **)NULL) {
-       value_list = (char **)Xmalloc(sizeof(char *) * 2);
+       value_list = Xmalloc(sizeof(char *) * 2);
        *value_list = NULL;
     } else {
        char **prev_list = value_list;
@@ -501,11 +502,11 @@ append_value_list (void)
 
     value = *value_list;
     if (value == NULL) {
-       value = (char *)Xmalloc(value_len + len + 1);
+       value = Xmalloc(value_len + len + 1);
     } else {
        char *prev_value = value;
 
-       value = (char *)Xrealloc(value, value_len + len + 1);
+       value = Xrealloc(value, value_len + len + 1);
        if (value == NULL) {
            Xfree(prev_value);
        }
@@ -1032,10 +1033,10 @@ DestroyDatabase(
            if (*p->value != NULL) {
                Xfree(*p->value);
            }
-           Xfree((char *)p->value);
+           Xfree(p->value);
        }
        db = p->next;
-       Xfree((char *)p);
+       Xfree(p);
        p = db;
     }
 }
@@ -1248,7 +1249,7 @@ _XlcDestroyLocaleDataBase(
        if (p->lc_db == lc_db) {
            if ((-- p->ref_count) < 1) {
                if (p->lc_db != (XlcDatabase)NULL) {
-                   Xfree((char *)p->lc_db);
+                   Xfree(p->lc_db);
                }
                DestroyDatabase(p->database);
                if (prev == (XlcDatabaseList)NULL) {
@@ -1313,7 +1314,7 @@ _XlcCreateLocaleDataBase(
        lc_db[i].db = p;
     }
 
-    new = (XlcDatabaseList)Xmalloc(sizeof(XlcDatabaseListRec));
+    new = Xmalloc(sizeof(XlcDatabaseListRec));
     if (new == (XlcDatabaseList)NULL) {
        goto err;
     }
@@ -1330,7 +1331,7 @@ _XlcCreateLocaleDataBase(
  err:
     DestroyDatabase(database);
     if (lc_db != (XlcDatabase)NULL) {
-       Xfree((char *)lc_db);
+       Xfree(lc_db);
     }
     Xfree (name);
     return (XPointer)NULL;
index f6df94c..3821bff 100644 (file)
@@ -65,8 +65,8 @@ _XlcDynamicLoader(
     XLCd lcd;
     void *nlshandler;
 
-    sprintf(libpath,"%s/%s/%s",
-               XLOCALEDIR,name,LCLIBNAME);
+    snprintf(libpath, sizeof(libpath), "%s/%s/%s",
+            XLOCALEDIR, name, LCLIBNAME);
     nlshandler = dlopen(libpath,LAZY);
     _XlcGenericMethods = (XLCdMethods)dlsym(nlshandler,"genericMethods");
     lcd = _XlcCreateLC(name,_XlcGenericMethods);
index 2c06fa2..bf89084 100644 (file)
 
 #define XLC_BUFSIZE 256
 
-#ifndef X_NOT_POSIX
-#ifdef _POSIX_SOURCE
-#include <limits.h>
-#else
-#define _POSIX_SOURCE
-#include <limits.h>
-#undef _POSIX_SOURCE
-#endif
-#endif
-#ifndef PATH_MAX
-#ifdef WIN32
-#define PATH_MAX 512
-#else
-#include <sys/param.h>
-#endif
-#ifndef PATH_MAX
-#ifdef MAXPATHLEN
-#define PATH_MAX MAXPATHLEN
-#else
-#define PATH_MAX 1024
-#endif
-#endif
-#endif
+#include "pathmax.h"
 
 #define NUM_LOCALEDIR  64
 
@@ -508,9 +486,11 @@ _XlcFileName(
     for (i = 0; i < n; ++i) {
        char buf[PATH_MAX], *name;
 
+       if (args[i] == NULL)
+           continue;
+
        name = NULL;
-       if ((5 + (args[i] ? strlen (args[i]) : 0) + strlen(cat)) < PATH_MAX) {
-           sprintf(buf, "%s/%s.dir", args[i], cat);
+       if (snprintf(buf, PATH_MAX, "%s/%s.dir", args[i], cat) < PATH_MAX) {
            name = resolve_name(siname, buf, RtoL);
        }
        if (name == NULL) {
@@ -520,13 +500,13 @@ _XlcFileName(
            /* supposed to be absolute path name */
            file_name = name;
        } else {
-           file_name = Xmalloc(2 + (args[i] ? strlen (args[i]) : 0) +
-                               (name ? strlen (name) : 0));
-           if (file_name != NULL)
-               sprintf(file_name, "%s/%s", args[i], name);
+           if (snprintf(buf, PATH_MAX, "%s/%s", args[i], name) < PATH_MAX)
+               file_name = strdup(buf);
+           else
+               file_name = NULL;
            Xfree(name);
        }
-       if (isreadable(file_name)) {
+       if (file_name && isreadable(file_name)) {
            break;
        }
        Xfree(file_name);
@@ -557,9 +537,11 @@ _XlcResolveLocaleName(
     xlocaledir (dir, PATH_MAX);
     n = _XlcParsePath(dir, args, NUM_LOCALEDIR);
     for (i = 0; i < n; ++i) {
-       if ((2 + (args[i] ? strlen (args[i]) : 0) +
-           strlen (locale_alias)) < PATH_MAX) {
-           sprintf (buf, "%s/%s", args[i], locale_alias);
+       if (args[i] == NULL)
+           continue;
+
+       if (snprintf (buf, PATH_MAX, "%s/%s", args[i], locale_alias)
+           < PATH_MAX) {
            name = resolve_name (lc_name, buf, LtoR);
            if (!name) {
                if (!nlc_name)
@@ -633,14 +615,14 @@ _XlcResolveI18NPath(char *buf, int buf_len)
 }
 
 char *
-_XlcLocaleDirName(char *dir_name, size_t dir_len, char *lc_name)
+_XlcLocaleDirName(char *dir_name, size_t dir_len, const char *lc_name)
 {
-    char dir[PATH_MAX], buf[PATH_MAX], *name = NULL;
+    char dir[PATH_MAX], buf[PATH_MAX];
     int i, n;
     char *args[NUM_LOCALEDIR];
     static char locale_alias[] = LOCALE_ALIAS;
-    char *target_name = (char*)0;
-    char *target_dir = (char*)0;
+    char *target_name = NULL;
+    char *target_dir = NULL;
     char *nlc_name = NULL;
     static char*  last_dir_name = 0;
     static size_t last_dir_len = 0;
@@ -653,12 +635,15 @@ _XlcLocaleDirName(char *dir_name, size_t dir_len, char *lc_name)
     }
 
     xlocaledir (dir, PATH_MAX);
-    n = _XlcParsePath(dir, args, 256);
+    n = _XlcParsePath(dir, args, NUM_LOCALEDIR);
     for (i = 0; i < n; ++i) {
+       char *name = NULL;
+
+       if (args[i] == NULL)
+           continue;
 
-       if ((2 + (args[i] ? strlen(args[i]) : 0) +
-            strlen(locale_alias)) < PATH_MAX) {
-           sprintf (buf, "%s/%s", args[i], locale_alias);
+       if (snprintf (buf, PATH_MAX, "%s/%s", args[i], locale_alias)
+           < PATH_MAX) {
            name = resolve_name(lc_name, buf, LtoR);
            if (!name) {
                if (!nlc_name)
@@ -668,25 +653,15 @@ _XlcLocaleDirName(char *dir_name, size_t dir_len, char *lc_name)
            }
        }
 
-       /* If name is not an alias, use lc_name for locale.dir search */
-       if (name == NULL)
-           name = lc_name;
-
        /* look at locale.dir */
 
        target_dir = args[i];
-       if (!target_dir) {
-           /* something wrong */
-           if (name != lc_name)
-               Xfree(name);
-           continue;
-       }
-       if ((1 + strlen (target_dir) + strlen("locale.dir")) < PATH_MAX) {
-           sprintf(buf, "%s/locale.dir", target_dir);
-           target_name = resolve_name(name, buf, RtoL);
+       if (snprintf(buf, PATH_MAX, "%s/locale.dir", target_dir) < PATH_MAX) {
+           /* If name is not an alias, use lc_name for locale.dir search */
+           target_name = resolve_name(name ? name : lc_name, buf, RtoL);
        }
-       if (name != lc_name)
-           Xfree(name);
+       Xfree(name);
+       name = NULL;
        if (target_name != NULL) {
            char *p = 0;
            if ((p = strstr(target_name, "/XLC_LOCALE"))) {
@@ -696,27 +671,15 @@ _XlcLocaleDirName(char *dir_name, size_t dir_len, char *lc_name)
            Xfree(target_name);
            target_name = NULL;
        }
-       name = NULL;
     }
     if (nlc_name) Xfree(nlc_name);
 
-    if (target_name == NULL) {
+    if (target_name == NULL)
        /* vendor locale name == Xlocale name, no expansion of alias */
-       target_dir = args[0];
-       target_name = lc_name;
-    }
-    /* snprintf(dir_name, dir_len, "%s/%", target_dir, target_name); */
-    strncpy(dir_name, target_dir, dir_len - 1);
-    if (strlen(target_dir) >= dir_len - 1) {
-       dir_name[dir_len - 1] = '\0';
-    } else  {
-       strcat(dir_name, "/");
-       strncat(dir_name, target_name, dir_len - strlen(dir_name) - 1);
-       if (strlen(target_name) >= dir_len - strlen(dir_name) - 1)
-           dir_name[dir_len - 1] = '\0';
-    }
-    if (target_name != lc_name)
-       Xfree(target_name);
+       snprintf(dir_name, dir_len, "%s/%s", args[0], lc_name);
+    else
+       snprintf(dir_name, dir_len, "%s/%s", target_dir, target_name);
+    Xfree(target_name);
 
     if (last_dir_name != 0)
        Xfree (last_dir_name);
@@ -731,14 +694,14 @@ _XlcLocaleDirName(char *dir_name, size_t dir_len, char *lc_name)
 }
 
 char *
-_XlcLocaleLibDirName(char *dir_name, size_t dir_len, char *lc_name)
+_XlcLocaleLibDirName(char *dir_name, size_t dir_len, const char *lc_name)
 {
-    char dir[PATH_MAX], buf[PATH_MAX], *name = NULL;
+    char dir[PATH_MAX], buf[PATH_MAX];
     int i, n;
     char *args[NUM_LOCALEDIR];
     static char locale_alias[] = LOCALE_ALIAS;
-    char *target_name = (char*)0;
-    char *target_dir = (char*)0;
+    char *target_name = NULL;
+    char *target_dir = NULL;
     char *nlc_name = NULL;
     static char*  last_dir_name = 0;
     static size_t last_dir_len = 0;
@@ -751,12 +714,15 @@ _XlcLocaleLibDirName(char *dir_name, size_t dir_len, char *lc_name)
     }
 
     xlocalelibdir (dir, PATH_MAX);
-    n = _XlcParsePath(dir, args, 256);
+    n = _XlcParsePath(dir, args, NUM_LOCALEDIR);
     for (i = 0; i < n; ++i) {
+       char *name = NULL;
 
-       if ((2 + (args[i] ? strlen(args[i]) : 0) +
-            strlen(locale_alias)) < PATH_MAX) {
-           sprintf (buf, "%s/%s", args[i], locale_alias);
+       if (args[i] == NULL)
+           continue;
+
+       if (snprintf (buf, PATH_MAX, "%s/%s", args[i], locale_alias)
+           < PATH_MAX) {
            name = resolve_name(lc_name, buf, LtoR);
            if (!name) {
                if (!nlc_name)
@@ -766,25 +732,15 @@ _XlcLocaleLibDirName(char *dir_name, size_t dir_len, char *lc_name)
            }
        }
 
-       /* If name is not an alias, use lc_name for locale.dir search */
-       if (name == NULL)
-           name = lc_name;
-
        /* look at locale.dir */
 
        target_dir = args[i];
-       if (!target_dir) {
-           /* something wrong */
-           if (name != lc_name)
-               Xfree(name);
-           continue;
-       }
-       if ((1 + strlen (target_dir) + strlen("locale.dir")) < PATH_MAX) {
-           sprintf(buf, "%s/locale.dir", target_dir);
-           target_name = resolve_name(name, buf, RtoL);
+       if (snprintf(buf, PATH_MAX, "%s/locale.dir", target_dir) < PATH_MAX) {
+           /* If name is not an alias, use lc_name for locale.dir search */
+           target_name = resolve_name(name ? name : lc_name, buf, RtoL);
        }
-       if (name != lc_name)
-           Xfree(name);
+       Xfree(name);
+       name = NULL;
        if (target_name != NULL) {
            char *p = 0;
            if ((p = strstr(target_name, "/XLC_LOCALE"))) {
@@ -794,27 +750,15 @@ _XlcLocaleLibDirName(char *dir_name, size_t dir_len, char *lc_name)
            Xfree(target_name);
            target_name = NULL;
        }
-       name = NULL;
     }
     if (nlc_name) Xfree(nlc_name);
 
-    if (target_name == NULL) {
+    if (target_name == NULL)
        /* vendor locale name == Xlocale name, no expansion of alias */
-       target_dir = args[0];
-       target_name = lc_name;
-    }
-    /* snprintf(dir_name, dir_len, "%s/%", target_dir, target_name); */
-    strncpy(dir_name, target_dir, dir_len - 1);
-    if (strlen(target_dir) >= dir_len - 1) {
-       dir_name[dir_len - 1] = '\0';
-    } else  {
-       strcat(dir_name, "/");
-       strncat(dir_name, target_name, dir_len - strlen(dir_name) - 1);
-       if (strlen(target_name) >= dir_len - strlen(dir_name) - 1)
-           dir_name[dir_len - 1] = '\0';
-    }
-    if (target_name != lc_name)
-       Xfree(target_name);
+       snprintf(dir_name, dir_len, "%s/%s", args[0], lc_name);
+    else
+       snprintf(dir_name, dir_len, "%s/%s", target_dir, target_name);
+    Xfree(target_name);
 
     if (last_dir_name != 0)
        Xfree (last_dir_name);
index 619cb47..20c455c 100644 (file)
@@ -68,7 +68,7 @@ create(
     if (lcd->core == NULL)
        goto err;
 
-    new = (XLCdPublicMethods) Xmalloc(sizeof(XLCdPublicMethodsRec));
+    new = Xmalloc(sizeof(XLCdPublicMethodsRec));
     if (new == NULL)
        goto err;
     memcpy(new,methods,sizeof(XLCdPublicMethodsRec));
@@ -156,10 +156,10 @@ add_charset(
     int num;
 
     if ((num = codeset->num_charsets))
-        new_list = (XlcCharSet *) Xrealloc(codeset->charset_list,
+        new_list = Xrealloc(codeset->charset_list,
                                         (num + 1) * sizeof(XlcCharSet));
     else
-        new_list = (XlcCharSet *) Xmalloc(sizeof(XlcCharSet));
+        new_list = Xmalloc(sizeof(XlcCharSet));
 
     if (new_list == NULL)
        return False;
@@ -183,10 +183,10 @@ add_codeset(
         return NULL;
 
     if ((num = gen->codeset_num))
-        new_list = (CodeSet *) Xrealloc(gen->codeset_list,
+        new_list = Xrealloc(gen->codeset_list,
                                         (num + 1) * sizeof(CodeSet));
     else
-        new_list = (CodeSet *) Xmalloc(sizeof(CodeSet));
+        new_list = Xmalloc(sizeof(CodeSet));
 
     if (new_list == NULL)
         goto err;
@@ -230,10 +230,10 @@ add_parse_list(
     }
 
     if ((num = gen->mb_parse_list_num))
-        new_list = (ParseInfo *) Xrealloc(gen->mb_parse_list,
+        new_list = Xrealloc(gen->mb_parse_list,
                                           (num + 2) * sizeof(ParseInfo));
     else {
-        new_list = (ParseInfo *) Xmalloc(2 * sizeof(ParseInfo));
+        new_list = Xmalloc(2 * sizeof(ParseInfo));
     }
 
     if (new_list == NULL)
@@ -351,7 +351,7 @@ _XlcParse_scopemaps(
     const char *str_sc;
 
     num = count_scopemap(str);
-    scope = (FontScope) Xmalloc(num * sizeof(FontScopeRec));
+    scope = Xmalloc(num * sizeof(FontScopeRec));
     if (scope == NULL)
        return NULL;
 
@@ -428,17 +428,17 @@ read_charset_define(
 
     for (i=0; ; i++) { /* loop start */
         charsetd = 0;
-        sprintf(csd, "csd%d", i);
+        snprintf(csd, sizeof(csd), "csd%d", i);
 
         /* charset_name  */
-        sprintf(name, "%s.%s", csd, "charset_name");
+        snprintf(name, sizeof(name), "%s.%s", csd, "charset_name");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         _XlcDbg_printValue(name,value,num);
         if (num > 0) {
            /* hackers will get truncated -- C'est la vie */
             strncpy(cset_name,value[0], sizeof cset_name - 1);
            cset_name[(sizeof cset_name) - 1] = '\0';
-            sprintf(name, "%s.%s", csd , "side");
+            snprintf(name, sizeof(name), "%s.%s", csd , "side");
             _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
             if (num > 0) {
                 _XlcDbg_printValue(name,value,num);
@@ -470,21 +470,21 @@ read_charset_define(
         /* side   */
         charsetd->side = side ;
         /* length */
-        sprintf(name, "%s.%s", csd, "length");
+        snprintf(name, sizeof(name), "%s.%s", csd, "length");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
             charsetd->char_size = atoi(value[0]);
         }
         /* gc_number */
-        sprintf(name, "%s.%s", csd, "gc_number");
+        snprintf(name, sizeof(name), "%s.%s", csd, "gc_number");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
             charsetd->set_size = atoi(value[0]);
         }
         /* string_encoding */
-        sprintf(name, "%s.%s", csd, "string_encoding");
+        snprintf(name, sizeof(name), "%s.%s", csd, "string_encoding");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
@@ -495,7 +495,7 @@ read_charset_define(
             }
         }
         /* sequence */
-        sprintf(name, "%s.%s", csd, "sequence");
+        snprintf(name, sizeof(name), "%s.%s", csd, "sequence");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
@@ -504,14 +504,14 @@ read_charset_define(
                 Xfree(charsetd->ct_sequence);
             }
 */
-            tmp = (char *)Xmalloc(strlen(value[0])+1);
+            tmp = Xmalloc(strlen(value[0])+1);
             if (tmp == NULL)
                 return;
             charsetd->ct_sequence = tmp;
             string_to_encoding(value[0],tmp);
         }
         /* encoding_name */
-        sprintf(name, "%s.%s", csd, "encoding_name");
+        snprintf(name, sizeof(name), "%s.%s", csd, "encoding_name");
         _XlcGetResource(lcd, "XLC_CHARSET_DEFINE", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
@@ -536,10 +536,10 @@ add_conversion(
     int num;
 
     if ((num = gen->segment_conv_num) > 0) {
-        new_list = (SegConv) Xrealloc(gen->segment_conv,
+        new_list = Xrealloc(gen->segment_conv,
                                         (num + 1) * sizeof(SegConvRec));
     } else {
-        new_list = (SegConv) Xmalloc(sizeof(SegConvRec));
+        new_list = Xmalloc(sizeof(SegConvRec));
     }
 
     if (new_list == NULL)
@@ -565,10 +565,10 @@ read_segmentconversion(
     SegConv conversion;
     for (i=0 ; ; i++) { /* loop start */
         conversion = 0;
-        sprintf(conv, "conv%d", i);
+        snprintf(conv, sizeof(conv), "conv%d", i);
 
         /* length                */
-        sprintf(name, "%s.%s", conv, "length");
+        snprintf(name, sizeof(name), "%s.%s", conv, "length");
         _XlcGetResource(lcd, "XLC_SEGMENTCONVERSION", name, &value, &num);
         if (num > 0) {
             if (conversion == NULL &&
@@ -585,7 +585,7 @@ read_segmentconversion(
         conversion->length = atoi(value[0]);
 
         /* source_encoding       */
-        sprintf(name, "%s.%s", conv, "source_encoding");
+        snprintf(name, sizeof(name), "%s.%s", conv, "source_encoding");
         _XlcGetResource(lcd, "XLC_SEGMENTCONVERSION", name, &value, &num);
         if (num > 0) {
             char *tmp;
@@ -597,7 +597,7 @@ read_segmentconversion(
             conversion->source = srch_charset_define(tmp,&new);
         }
         /* destination_encoding  */
-        sprintf(name, "%s.%s", conv, "destination_encoding");
+        snprintf(name, sizeof(name), "%s.%s", conv, "destination_encoding");
         _XlcGetResource(lcd, "XLC_SEGMENTCONVERSION", name, &value, &num);
         if (num > 0) {
             char *tmp;
@@ -609,7 +609,7 @@ read_segmentconversion(
             conversion->dest = srch_charset_define(tmp,&new);
         }
         /* range                 */
-        sprintf(name, "%s.%s", conv, "range");
+        snprintf(name, sizeof(name), "%s.%s", conv, "range");
         _XlcGetResource(lcd, "XLC_SEGMENTCONVERSION", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
@@ -617,7 +617,7 @@ read_segmentconversion(
                    &(conversion->range.start), &(conversion->range.end));
         }
         /* conversion            */
-        sprintf(name, "%s.%s", conv, "conversion");
+        snprintf(name, sizeof(name), "%s.%s", conv, "conversion");
         _XlcGetResource(lcd, "XLC_SEGMENTCONVERSION", name, &value, &num);
         if (num > 0) {
             _XlcDbg_printValue(name,value,num);
@@ -635,9 +635,10 @@ create_ctextseg(
     ExtdSegment ret;
     char* ptr;
     char* cset_name = NULL;
+    size_t cset_len;
     int i,new;
     FontScope scope;
-    ret = (ExtdSegment)Xmalloc(sizeof(ExtdSegmentRec));
+    ret = Xmalloc(sizeof(ExtdSegmentRec));
     if (ret == NULL)
         return NULL;
     ret->name = strdup(value[0]);
@@ -645,7 +646,8 @@ create_ctextseg(
         Xfree (ret);
         return NULL;
     }
-    cset_name = (char*) Xmalloc (strlen(ret->name) + 1);
+    cset_len = strlen(ret->name) + 1;
+    cset_name = Xmalloc (cset_len);
     if (cset_name == NULL) {
         Xfree (ret->name);
         Xfree (ret);
@@ -657,16 +659,16 @@ create_ctextseg(
         ptr++;
         if (!_XlcNCompareISOLatin1(ptr, "GL", 2)) {
             ret->side =  XlcGL;
-            sprintf(cset_name,"%s:%s",ret->name,"GL");
+            snprintf(cset_name, cset_len, "%s:%s", ret->name, "GL");
         } else {
             ret->side =  XlcGR;
-            sprintf(cset_name,"%s:%s",ret->name,"GR");
+            snprintf(cset_name, cset_len, "%s:%s", ret->name, "GR");
         }
     } else {
         ret->side =  XlcGLGR;
         strcpy(cset_name,ret->name);
     }
-    ret->area = (FontScope)Xmalloc((num - 1)*sizeof(FontScopeRec));
+    ret->area = Xmalloc((num - 1)*sizeof(FontScopeRec));
     if (ret->area == NULL) {
        Xfree (cset_name);
        Xfree (ret->name);
@@ -731,10 +733,10 @@ load_generic(
        char cs[16];
        char name[BUFSIZ];
 
-       sprintf(cs, "cs%d", i);
+       snprintf(cs, sizeof(cs), "cs%d", i);
 
        /***** codeset.side *****/
-       sprintf(name, "%s.%s", cs , "side");
+       snprintf(name, sizeof(name), "%s.%s", cs , "side");
        _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
        if (num > 0) {
            char *tmp;
@@ -761,7 +763,7 @@ load_generic(
        }
 
        /***** codeset.length *****/
-       sprintf(name, "%s.%s", cs , "length");
+       snprintf(name, sizeof(name), "%s.%s", cs , "length");
        _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
        if (num > 0) {
            if (codeset == NULL && (codeset = add_codeset(gen)) == NULL)
@@ -772,7 +774,7 @@ load_generic(
        }
 
        /***** codeset.mb_encoding *****/
-       sprintf(name, "%s.%s", cs, "mb_encoding");
+       snprintf(name, sizeof(name), "%s.%s", cs, "mb_encoding");
        _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
        if (num > 0) {
            static struct {
@@ -808,7 +810,7 @@ load_generic(
        }
 
        /***** codeset.wc_encoding *****/
-       sprintf(name, "%s.%s", cs, "wc_encoding");
+       snprintf(name, sizeof(name), "%s.%s", cs, "wc_encoding");
        _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
        if (num > 0) {
            if (codeset == NULL && (codeset = add_codeset(gen)) == NULL)
@@ -819,7 +821,7 @@ load_generic(
        }
 
        /***** codeset.ct_encoding *****/
-       sprintf(name, "%s.%s", cs, "ct_encoding");
+       snprintf(name, sizeof(name), "%s.%s", cs, "ct_encoding");
        _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
        if (num > 0) {
            char *encoding;
@@ -861,7 +863,7 @@ load_generic(
             unsigned long start,end;
             ByteInfo tmpb;
 
-            sprintf(name,"%s.%s%d",cs,"byte",M);
+            snprintf(name, sizeof(name),"%s.%s%d",cs,"byte",M);
             _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
 
             if (M == 1) {
@@ -869,8 +871,7 @@ load_generic(
                     codeset->byteM = NULL;
                     break ;
                 }
-                codeset->byteM =
-                    (ByteInfoListRec *)Xmalloc(
+                codeset->byteM = Xmalloc(
                          (codeset->length)*sizeof(ByteInfoListRec));
                 if (codeset->byteM == NULL) {
                     goto err;
@@ -882,7 +883,7 @@ load_generic(
                 (codeset->byteM)[M-1].M = M;
                 (codeset->byteM)[M-1].byteinfo_num = num;
                 (codeset->byteM)[M-1].byteinfo =
-                    (ByteInfo)Xmalloc( num * sizeof(ByteInfoRec));
+                   Xmalloc(num * sizeof(ByteInfoRec));
                 for (ii = 0 ; ii < num ; ii++) {
                     tmpb = (codeset->byteM)[M-1].byteinfo ;
                     /* default 0x00 - 0xff */
@@ -896,7 +897,7 @@ load_generic(
 
 
         /***** codeset.mb_conversion *****/
-        sprintf(name, "%s.%s", cs, "mb_conversion");
+        snprintf(name, sizeof(name), "%s.%s", cs, "mb_conversion");
         _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
         if (num > 0) {
                 _XlcDbg_printValue(name,value,num);
@@ -908,7 +909,7 @@ load_generic(
                 /* [\x%x,\x%x]->\x%x,... */
         }
         /***** codeset.ct_conversion *****/
-        sprintf(name, "%s.%s", cs, "ct_conversion");
+        snprintf(name, sizeof(name), "%s.%s", cs, "ct_conversion");
         _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
         if (num > 0) {
                 _XlcDbg_printValue(name,value,num);
@@ -920,14 +921,14 @@ load_generic(
                 /* [\x%x,\x%x]->\x%x,... */
         }
         /***** codeset.ct_conversion_file *****/
-        sprintf(name, "%s.%s", cs, "ct_conversion_file");
+        snprintf(name, sizeof(name), "%s.%s", cs, "ct_conversion_file");
         _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
         if (num > 0) {
                 _XlcDbg_printValue(name,value,num);
                 /* [\x%x,\x%x]->\x%x,... */
         }
         /***** codeset.ct_extended_segment *****/
-        sprintf(name, "%s.%s", cs, "ct_extended_segment");
+        snprintf(name, sizeof(name), "%s.%s", cs, "ct_extended_segment");
         _XlcGetResource(lcd, "XLC_XLOCALE", name, &value, &num);
         if (num > 0) {
                 _XlcDbg_printValue(name,value,num);
index 1b7627c..47d11f0 100644 (file)
@@ -40,11 +40,11 @@ alloc_list(
     if (is_wide_char) {
        wchar_t **wstr_list;
 
-       wstr_list = (wchar_t **) Xmalloc(count * sizeof(wchar_t *));
+       wstr_list = Xmalloc(count * sizeof(wchar_t *));
        if (wstr_list == NULL)
            return (XPointer *) NULL;
 
-       *wstr_list = (wchar_t *) Xmalloc(nitems * sizeof(wchar_t));
+       *wstr_list = Xmalloc(nitems * sizeof(wchar_t));
        if (*wstr_list == NULL) {
            Xfree(wstr_list);
            return (XPointer *) NULL;
@@ -54,11 +54,11 @@ alloc_list(
     } else {
        char **str_list;
 
-       str_list = (char **) Xmalloc(count * sizeof(char *));
+       str_list = Xmalloc(count * sizeof(char *));
        if (str_list == NULL)
            return (XPointer *) NULL;
 
-       *str_list = (char *) Xmalloc(nitems);
+       *str_list = Xmalloc(nitems);
        if (*str_list == NULL) {
            Xfree(str_list);
            return (XPointer *) NULL;
@@ -156,7 +156,7 @@ _XTextPropertyToTextList(
        else
            buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1;
     }
-    buf = (XPointer) Xmalloc(buf_len);
+    buf = Xmalloc(buf_len);
     if (buf == NULL)
        return XNoMemory;
     to = buf;
index 2a5ac08..d1096d5 100644 (file)
@@ -78,7 +78,7 @@ _XlcCreateLC(
        return (XLCd) NULL;
 
     if (lcd->core->name == NULL) {
-       lcd->core->name = (char*) Xmalloc(strlen(name) + 1);
+       lcd->core->name = Xmalloc(strlen(name) + 1);
        if (lcd->core->name == NULL)
            goto err;
        strcpy(lcd->core->name, name);
index 1b1fb54..39ec082 100644 (file)
@@ -88,7 +88,7 @@ create(
     if (lcd->core == NULL)
        goto err;
 
-    new = (XLCdPublicMethods) Xmalloc(sizeof(XLCdPublicMethodsRec));
+    new = Xmalloc(sizeof(XLCdPublicMethodsRec));
     if (new == NULL)
        goto err;
     memcpy(new,methods,sizeof(XLCdPublicMethodsRec));
@@ -106,7 +106,8 @@ load_public(
     XLCd lcd)
 {
     XLCdPublicPart *pub = XLC_PUBLIC_PART(lcd);
-    char **values, *str;
+    char **values;
+    const char *str;
     int num;
 
     if(_XlcCreateLocaleDataBase(lcd) == NULL)
index 9f72504..bdc20f2 100644 (file)
@@ -85,7 +85,7 @@ ub_destroy(
     XPointer state)
 {
     _XCloseLC(((UbState) state)->lcd);
-    Xfree((char *) state);
+    Xfree(state);
 }
 
 static const XrmMethodsRec ub_methods = {
@@ -177,7 +177,7 @@ mb_destroy(
 {
     _XlcCloseConverter(((MbState) state)->conv);
     _XCloseLC(((MbState) state)->lcd);
-    Xfree((char *) state);
+    Xfree(state);
 }
 
 static const XrmMethodsRec mb_methods = {
@@ -197,7 +197,7 @@ _XrmDefaultInitParseInfo(
 {
     if (XLC_PUBLIC(lcd, mb_cur_max) == 1) {
        /* Unibyte case. */
-       UbState state = (UbState) Xmalloc(sizeof(UbStateRec));
+       UbState state = Xmalloc(sizeof(UbStateRec));
        if (state == NULL)
            return (XrmMethods) NULL;
 
@@ -207,14 +207,14 @@ _XrmDefaultInitParseInfo(
        return &ub_methods;
     } else {
        /* Multibyte case. */
-       MbState state = (MbState) Xmalloc(sizeof(MbStateRec));
+       MbState state = Xmalloc(sizeof(MbStateRec));
        if (state == NULL)
            return (XrmMethods) NULL;
 
        state->lcd = lcd;
        state->conv = _XlcOpenConverter(lcd, XlcNMultiByte, lcd, XlcNWideChar);
        if (state->conv == NULL) {
-           Xfree((char *) state);
+           Xfree(state);
            return (XrmMethods) NULL;
        }
 
index 4dfafe0..05f6a1f 100644 (file)
@@ -89,7 +89,7 @@ _XTextListToTextProperty(
        is_wide_char = True;
 
     buf_len = get_buf_size(is_wide_char, list, count);
-    if ((buf = (char *) Xmalloc(buf_len)) == NULL)
+    if ((buf = Xmalloc(buf_len)) == NULL)
        return XNoMemory;
 
     switch (style) {
@@ -194,7 +194,7 @@ retry:
 done:
     if (nitems <= 0)
        nitems = 1;
-    value = (char *) Xmalloc(nitems);
+    value = Xmalloc(nitems);
     if (value == NULL) {
        Xfree(buf);
        return XNoMemory;
index 3e934b7..0f3d0d2 100644 (file)
@@ -86,7 +86,7 @@ create_conv(
 {
     XlcConv conv;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec));
+    conv = Xmalloc(sizeof(XlcConvRec));
     if (conv == (XlcConv) NULL)
        return (XlcConv) NULL;
 
@@ -100,7 +100,7 @@ static void
 close_converter(
     XlcConv conv)
 {
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 /* Replacement character for invalid multibyte sequence or wide character. */
@@ -498,7 +498,7 @@ create_tocs_conv(
     if (charset_num > all_charsets_count-1)
        charset_num = all_charsets_count-1;
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec)
+    conv = Xmalloc(sizeof(XlcConvRec)
                             + (charset_num + 1) * sizeof(Utf8Conv));
     if (conv == (XlcConv) NULL)
        return (XlcConv) NULL;
@@ -539,7 +539,7 @@ close_tocs_converter(
     XlcConv conv)
 {
     /* conv->state is allocated together with conv, free both at once.  */
-    Xfree((char *) conv);
+    Xfree(conv);
 }
 
 /*
@@ -961,7 +961,7 @@ create_ucstocs_conv(
 
        lazy_init_all_charsets();
 
-       conv = (XlcConv) Xmalloc(sizeof(XlcConvRec) + 2 * sizeof(Utf8Conv));
+       conv = Xmalloc(sizeof(XlcConvRec) + 2 * sizeof(Utf8Conv));
        if (conv == (XlcConv) NULL)
            return (XlcConv) NULL;
        preferred = (Utf8Conv *) ((char *) conv + sizeof(XlcConvRec));
@@ -1731,10 +1731,10 @@ create_tofontcs_conv(
     lazy_init_all_charsets();
 
     for (i = 0, num = 0;; i++) {
-       sprintf(buf, "fs%d.charset.name", i);
+       snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
        _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
        if (count < 1) {
-           sprintf(buf, "fs%d.charset", i);
+           snprintf(buf, sizeof(buf), "fs%d.charset", i);
            _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
            if (count < 1)
                break;
@@ -1742,17 +1742,17 @@ create_tofontcs_conv(
        num += count;
     }
 
-    conv = (XlcConv) Xmalloc(sizeof(XlcConvRec) + (num + 1) * sizeof(Utf8Conv));
+    conv = Xmalloc(sizeof(XlcConvRec) + (num + 1) * sizeof(Utf8Conv));
     if (conv == (XlcConv) NULL)
        return (XlcConv) NULL;
     preferred = (Utf8Conv *) ((char *) conv + sizeof(XlcConvRec));
 
     /* Loop through all fontsets mentioned in the locale. */
     for (i = 0, num = 0;; i++) {
-        sprintf(buf, "fs%d.charset.name", i);
+        snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
         _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
         if (count < 1) {
-            sprintf(buf, "fs%d.charset", i);
+            snprintf(buf, sizeof(buf), "fs%d.charset", i);
             _XlcGetResource(lcd, "XLC_FONTSET", buf, &value, &count);
             if (count < 1)
                 break;
index 1caa28a..993979a 100644 (file)
@@ -65,7 +65,7 @@ int main (int argc, char *argv[])
   if (argc > 3) {
     filename = argv[3];
   } else {
-    char* s = (char*) malloc(strlen(c_charsetname)+strlen(".h")+1);
+    char* s = malloc(strlen(c_charsetname)+strlen(".h")+1);
     strcpy(s,c_charsetname); strcat(s,".h");
     filename = s;
   }
@@ -361,11 +361,11 @@ int main (int argc, char *argv[])
         if (tables[t].usecount > 1) {
           char* s;
           if (p == tables[t].minline >> 5) {
-            s = (char*) malloc(5+1);
+            s = malloc(5+1);
             sprintf(s, "%02x_%d", p, ++i);
           } else {
             p = tables[t].minline >> 5;
-            s = (char*) malloc(2+1);
+            s = malloc(2+1);
             sprintf(s, "%02x", p);
           }
           tables[t].suffix = s;
index 6934789..f70fe5e 100644 (file)
@@ -70,9 +70,9 @@ static void read_table (Encoding* enc)
 {
   int row, col, i, i1, i2, c, j;
 
-  enc->charset2uni = (int**) malloc(enc->rows*sizeof(int*));
+  enc->charset2uni = malloc(enc->rows*sizeof(int*));
   for (row = 0; row < enc->rows; row++)
-    enc->charset2uni[row] = (int*) malloc(enc->cols*sizeof(int));
+    enc->charset2uni[row] = malloc(enc->cols*sizeof(int));
 
   for (row = 0; row < enc->rows; row++)
     for (col = 0; col < enc->cols; col++)
@@ -136,7 +136,7 @@ static void find_charset2uni_pages (Encoding* enc)
 {
   int row, col;
 
-  enc->charsetpage = (int*) malloc((enc->rows+1)*sizeof(int));
+  enc->charsetpage = malloc((enc->rows+1)*sizeof(int));
 
   for (row = 0; row <= enc->rows; row++)
     enc->charsetpage[row] = 0;
@@ -157,7 +157,7 @@ static void find_charset2uni_blocks (Encoding* enc)
 {
   int n, row, lastrow;
 
-  enc->charsetblocks = (Block*) malloc(enc->rows*sizeof(Block));
+  enc->charsetblocks = malloc(enc->rows*sizeof(Block));
 
   n = 0;
   for (row = 0; row < enc->rows; row++)
@@ -266,7 +266,7 @@ static void invert (Encoding* enc)
 {
   int row, col, j;
 
-  enc->uni2charset = (int*) malloc(0x10000*sizeof(int));
+  enc->uni2charset = malloc(0x10000*sizeof(int));
 
   for (j = 0; j < 0x10000; j++)
     enc->uni2charset[j] = 0;
@@ -764,9 +764,9 @@ static void read_table_ksc5601 (Encoding* enc)
 {
   int row, col, i, i1, i2, c, j;
 
-  enc->charset2uni = (int**) malloc(enc->rows*sizeof(int*));
+  enc->charset2uni = malloc(enc->rows*sizeof(int*));
   for (row = 0; row < enc->rows; row++)
-    enc->charset2uni[row] = (int*) malloc(enc->cols*sizeof(int));
+    enc->charset2uni[row] = malloc(enc->cols*sizeof(int));
 
   for (row = 0; row < enc->rows; row++)
     for (col = 0; col < enc->cols; col++)
index c3f5ca5..034bd3c 100644 (file)
@@ -77,20 +77,20 @@ XSetLocaleModifiers(
 {
     XLCd lcd = _XlcCurrentLC();
     char *user_mods;
+    char *mapped_mods;
 
     if (!lcd)
        return (char *) NULL;
     if (!modifiers)
        return lcd->core->modifiers;
     user_mods = getenv("XMODIFIERS");
-    modifiers = (*lcd->methods->map_modifiers) (lcd,
-                                               user_mods, (char *)modifiers);
-    if (modifiers) {
+    mapped_mods = (*lcd->methods->map_modifiers) (lcd, user_mods, modifiers);
+    if (mapped_mods) {
        if (lcd->core->modifiers)
            Xfree(lcd->core->modifiers);
-       lcd->core->modifiers = (char *)modifiers;
+       lcd->core->modifiers = mapped_mods;
     }
-    return (char *)modifiers;
+    return mapped_mods;
 }
 
 Bool
@@ -218,7 +218,7 @@ _XlcAddLoader(
 
     _XlcRemoveLoader(proc);            /* remove old loader, if exist */
 
-    loader = (XlcLoaderList) Xmalloc(sizeof(XlcLoaderListRec));
+    loader = Xmalloc(sizeof(XlcLoaderListRec));
     if (loader == NULL)
        return False;
 
@@ -293,7 +293,7 @@ _XOpenLC(
     for (loader = loader_list; loader; loader = loader->next) {
        lcd = (*loader->proc)(name);
        if (lcd) {
-           cur = (XLCdList) Xmalloc (sizeof(XLCdListRec));
+           cur = Xmalloc (sizeof(XLCdListRec));
            if (cur) {
                cur->lcd = lcd;
                cur->ref_count = 1;
@@ -565,7 +565,7 @@ _XlcVaToArgList(
 {
     XlcArgList args;
 
-    *args_ret = args = (XlcArgList) Xmalloc(sizeof(XlcArg) * count);
+    *args_ret = args = Xmalloc(sizeof(XlcArg) * count);
     if (args == (XlcArgList) NULL)
        return;
 
index bff7aa3..1b3dc97 100644 (file)
@@ -61,9 +61,9 @@ XmbSetWMProperties (
     XSetWMProperties(dpy, w, wprop, iprop, argv, argc,
                     sizeHints, wmHints, classHints);
     if (wprop)
-       Xfree((char *)wname.value);
+       Xfree(wname.value);
     if (iprop)
-       Xfree((char *)iname.value);
+       Xfree(iname.value);
 
     /* Note: The WM_LOCALE_NAME property is set by XSetWMProperties. */
 }
index 19f01f6..766b8da 100644 (file)
@@ -101,7 +101,7 @@ XmbDrawString(
     int                 text_len)
 {
     (void)(*font_set->methods->mb_draw_string) (dpy, d, font_set, gc, x, y,
-                                               (char *)text, text_len);
+                                               text, text_len);
 }
 
 
@@ -117,7 +117,7 @@ XmbDrawImageString(
     int                 text_len)
 {
     (*font_set->methods->mb_draw_image_string) (dpy, d, font_set, gc, x, y,
-                                               (char *)text, text_len);
+                                               text, text_len);
 }
 
 int
@@ -126,8 +126,7 @@ XmbTextEscapement(
     _Xconst char   *text,
     int             text_len)
 {
-    return (*font_set->methods->mb_escapement) (font_set,
-                                               (char *)text, text_len);
+    return (*font_set->methods->mb_escapement) (font_set, text, text_len);
 }
 
 int
@@ -138,8 +137,7 @@ XmbTextExtents(
     XRectangle     *overall_ink_extents,
     XRectangle     *overall_logical_extents)
 {
-    return (*font_set->methods->mb_extents) (font_set,
-                                            (char *)text, text_len,
+    return (*font_set->methods->mb_extents) (font_set, text, text_len,
                                             overall_ink_extents,
                                             overall_logical_extents);
 }
@@ -157,7 +155,7 @@ XmbTextPerCharExtents(
     XRectangle     *max_logical_extents)
 {
     return (*font_set->methods->mb_extents_per_char)
-            (font_set, (char *)text, text_len,
+            (font_set, text, text_len,
              ink_extents_buffer, logical_extents_buffer,
              buffer_size, num_chars, max_ink_extents, max_logical_extents);
 }
index bbfb7c0..80454e6 100644 (file)
@@ -83,9 +83,9 @@ Xutf8SetWMProperties (
     XSetWMProperties(dpy, w, wprop, iprop, argv, argc,
                     sizeHints, wmHints, classHints);
     if (wprop)
-       Xfree((char *)wname.value);
+       Xfree(wname.value);
     if (iprop)
-       Xfree((char *)iname.value);
+       Xfree(iname.value);
 
     /* Note: The WM_LOCALE_NAME property is set by XSetWMProperties. */
 }
index 82967b0..24cb449 100644 (file)
@@ -123,7 +123,7 @@ Xutf8DrawString(
     int                 text_len)
 {
     (void)(*font_set->methods->utf8_draw_string) (dpy, d, font_set, gc, x, y,
-                                                 (char *)text, text_len);
+                                                 text, text_len);
 }
 
 
@@ -139,7 +139,7 @@ Xutf8DrawImageString(
     int                 text_len)
 {
     (*font_set->methods->utf8_draw_image_string) (dpy, d, font_set, gc, x, y,
-                                                 (char *)text, text_len);
+                                                 text, text_len);
 }
 
 int
@@ -148,8 +148,7 @@ Xutf8TextEscapement(
     _Xconst char   *text,
     int             text_len)
 {
-    return (*font_set->methods->utf8_escapement) (font_set,
-                                                 (char *)text, text_len);
+    return (*font_set->methods->utf8_escapement) (font_set, text, text_len);
 }
 
 int
@@ -160,8 +159,7 @@ Xutf8TextExtents(
     XRectangle     *overall_ink_extents,
     XRectangle     *overall_logical_extents)
 {
-    return (*font_set->methods->utf8_extents) (font_set,
-                                              (char *)text, text_len,
+    return (*font_set->methods->utf8_extents) (font_set, text, text_len,
                                               overall_ink_extents,
                                               overall_logical_extents);
 }
@@ -179,7 +177,7 @@ Xutf8TextPerCharExtents(
     XRectangle     *max_logical_extents)
 {
     return (*font_set->methods->utf8_extents_per_char)
-            (font_set, (char *)text, text_len,
+            (font_set, text, text_len,
              ink_extents_buffer, logical_extents_buffer,
              buffer_size, num_chars, max_ink_extents, max_logical_extents);
 }