···11-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
11+commit e7545d949090a3b7b75e3dd562cc367b152dcbb6
22+Author: Matthieu Herrb <matthieu.herrb@laas.fr>
33+Date: Wed Apr 21 21:59:37 2010 +0200
44+55+ BSD Makefile
66+77+commit 4a4187b8ce272e96b760e1e59da980644e99aa0b
88+Author: Gaetan Nadon <memsize@videotron.ca>
99+Date: Thu Feb 11 10:08:07 2010 -0500
1010+1111+ config: move CWARNFLAGS from configure.ac to Makefile.am
1212+1313+ Compiler warning flags should be explicitly set in the makefile
1414+ rather than being merged with other packages compiler flags.
1515+1616+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1717+1818+commit 47a2b341aeb6182dc3288850c7a27f36fb436863
1919+Author: Gaetan Nadon <memsize@videotron.ca>
2020+Date: Sat Dec 19 20:48:48 2009 -0500
2121+2222+ configure.ac: use backticks rather than $() for cmd subs
2323+2424+ Use "$PKG_CONFIG" rather than hard coded "pkg-config"
2525+2626+ Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2727+2828+commit 7cf288c20a86151592d62e037cb196b190bf50be
2929+Author: Gaetan Nadon <memsize@videotron.ca>
3030+Date: Thu Nov 26 09:19:54 2009 -0500
23133- * configure.ac:
44- Update package version for X11R7 release.
3232+ Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
3333+3434+ Now that the INSTALL file is generated.
3535+ Allows running make maintainer-clean.
3636+3737+commit 561a214d1399ba661fc873e310a1ec8cfdf0fd95
3838+Author: Gaetan Nadon <memsize@videotron.ca>
3939+Date: Wed Oct 28 14:09:08 2009 -0400
4040+4141+ INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
4242+4343+ Add missing INSTALL file. Use standard GNU file on building tarball
4444+ README may have been updated
4545+ Remove AUTHORS file as it is empty and no content available yet.
4646+ Remove NEWS file as it is empty and no content available yet.
54766-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
4848+commit 1c5982f33817afbc8d004e97ca803f995f9f9473
4949+Author: Gaetan Nadon <memsize@videotron.ca>
5050+Date: Tue Oct 27 15:07:25 2009 -0400
75188- * configure.ac:
99- Update package version number for final X11R7 release candidate.
5252+ Deploy the new XORG_DEFAULT_OPTIONS #24242
5353+5454+ This macro aggregate a number of existing macros that sets commmon
5555+ X.Org components configuration options. It shields the configuration file from
5656+ future changes.
10571111-2005-12-07 Kevin E. Martin <kem-at-freedesktop-dot-org>
5858+commit 3d5641c03c3d7fe2eeb5980f8a13bdb450be947e
5959+Author: Gaetan Nadon <memsize@videotron.ca>
6060+Date: Mon Oct 26 22:08:39 2009 -0400
12611313- * Makefile.am:
1414- * configure.ac:
1515- Change to use the app-defaults default dir configured in libXt.
6262+ Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
6363+6464+ ChangeLog filename is known to Automake and requires no further
6565+ coding in the makefile.
16661717-2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
6767+commit b80c24ac28999a1d760eee75e2173ff7e8f8e885
6868+Author: Gaetan Nadon <memsize@videotron.ca>
6969+Date: Thu Oct 22 12:34:16 2009 -0400
18701919- * Makefile.am:
2020- Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
7171+ .gitignore: use common defaults with custom section # 24239
7272+7373+ Using common defaults will reduce errors and maintenance.
7474+ Only the very small or inexistent custom section need periodic maintenance
7575+ when the structure of the component changes. Do not edit defaults.
21762222-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
7777+commit 1ed0b44715c812c7d067841d68e2057944341d5f
7878+Author: Alan Coopersmith <alan.coopersmith@sun.com>
7979+Date: Thu Oct 1 14:54:28 2009 -0700
23802424- * configure.ac:
2525- Update package version number for X11R7 RC3 release.
8181+ Add README with pointers to mailing lists, bugzilla, & git
8282+8383+ Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
26842727-2005-11-19 Alan Coopersmith <alan.coopersmith@sun.com>
8585+commit ab8110b8978cb965d49e0c2e9c1cb7e7608c185e
8686+Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
8787+Date: Thu Jan 22 16:49:25 2009 -0200
28882929- * configure.ac:
3030- Add dependency on xp module when building with Xprint support.
8989+ Correct make distcheck and sparse warnings.
31903232-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
9191+commit 747f76737a8e7a7f50bd06fd111e5ada8305884d
9292+Author: Julien Cristau <jcristau@debian.org>
9393+Date: Sun Nov 16 21:49:56 2008 +0100
33943434- * configure.ac:
3535- Update package version number for RC1 release.
9595+ More xprint pruning
36963737-2005-10-05 Kevin E. Martin <kem-at-freedesktop-dot-org>
9797+commit d9b5448a77ff3ee06f6128faa69f43066cd16fe1
9898+Author: Julien Cristau <jcristau@debian.org>
9999+Date: Thu Aug 21 00:46:51 2008 +0200
381003939- * Makefile.am: Add xmore.sgml to EXTRA_DIST
101101+ Fix build outside of source dir
102102+103103+commit 7739b19df6a7eba2c35fc34688c40d64a65b79f5
104104+Author: Julien Cristau <jcristau@debian.org>
105105+Date: Thu Aug 21 00:42:51 2008 +0200
106106+107107+ Build fix: remove xprint remnants
108108+109109+commit 56ff9e213249bbdc0ecd3b5e7e4cffee60f46ef4
110110+Author: James Cloos <cloos@jhcloos.com>
111111+Date: Wed Aug 20 10:32:52 2008 -0400
112112+113113+ xaw8 is gone, use xaw7
114114+115115+commit a85334f153e05119f237ff412a2ff15dce95878d
116116+Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
117117+Date: Thu Mar 27 20:29:51 2008 -0700
118118+119119+ Added missing AM_PROG_CC_C_O
120120+121121+commit 8bd714835159aa32a64343a8dc41684d7c36ab43
122122+Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
123123+Date: Thu Mar 27 20:07:52 2008 -0700
124124+125125+ Build fix for file systems that are not case sensitive
126126+127127+commit 851f5e3eaedeb6a5bcc4d1f1b669e4b11dbf3687
128128+Author: James Cloos <cloos@jhcloos.com>
129129+Date: Thu Dec 6 16:37:25 2007 -0500
130130+131131+ Replace static ChangeLog with dist-hook to generate from git log
132132+133133+commit 8c718d9c360963defae4d056555394fc4d53c81a
134134+Author: James Cloos <cloos@jhcloos.com>
135135+Date: Mon Sep 3 05:51:38 2007 -0400
136136+137137+ Add *~ to .gitignore to skip patch/emacs droppings
138138+139139+commit 4a01239ff7c89c56f5dfd5ec5c963422b6dd7184
140140+Author: James Cloos <cloos@jhcloos.com>
141141+Date: Thu Aug 23 19:25:02 2007 -0400
142142+143143+ Rename .cvsignore to .gitignore
144144+145145+commit b9d4d0d8877d3c1c69752e0ff4215cdb3d0742d5
146146+Author: Kevin E Martin <kem@kem.org>
147147+Date: Wed Dec 21 02:29:52 2005 +0000
148148+149149+ Update package version for X11R7 release.
150150+151151+commit bdc49004296438983d568e0e1bfc3e70e6cadac4
152152+Author: Adam Jackson <ajax@nwnk.net>
153153+Date: Mon Dec 19 16:22:46 2005 +0000
154154+155155+ Stub COPYING files
156156+157157+commit 5adf875ac8a1b27b512a796a85f0ed65119385ee
158158+Author: Kevin E Martin <kem@kem.org>
159159+Date: Thu Dec 15 00:24:09 2005 +0000
160160+161161+ Update package version number for final X11R7 release candidate.
162162+163163+commit 94c9195eb246474480643c62dd4c5e9e3d610a39
164164+Author: Kevin E Martin <kem@kem.org>
165165+Date: Wed Dec 7 16:18:01 2005 +0000
166166+167167+ Change to use the app-defaults default dir configured in libXt.
168168+169169+commit f427001cd1f3efdafa06c381c38fd5a4449b76f2
170170+Author: Kevin E Martin <kem@kem.org>
171171+Date: Tue Dec 6 22:48:24 2005 +0000
172172+173173+ Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
174174+175175+commit 5c4880cca850794b05539c21a3a6dfe1531b801b
176176+Author: Kevin E Martin <kem@kem.org>
177177+Date: Sat Dec 3 05:49:26 2005 +0000
178178+179179+ Update package version number for X11R7 RC3 release.
180180+181181+commit 6805b1f303fad5c194fd76b9208a981c80b7c7fc
182182+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
183183+Date: Mon Nov 28 22:01:45 2005 +0000
184184+185185+ Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
186186+ update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
187187+188188+commit adbc0b1f5584ecbce974446419deb9f76fd486d2
189189+Author: Eric Anholt <anholt@freebsd.org>
190190+Date: Mon Nov 21 10:35:05 2005 +0000
191191+192192+ Another pass at .cvsignores for apps.
193193+194194+commit 320a3eb6449b73b2963c3e63ef1a8078b194c992
195195+Author: Eric Anholt <anholt@freebsd.org>
196196+Date: Sun Nov 20 22:08:54 2005 +0000
197197+198198+ Add/improve .cvsignore files for apps.
199199+200200+commit 508f26ba0ba5de6936cf9aec782c2f36114be43b
201201+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
202202+Date: Sun Nov 20 04:13:45 2005 +0000
203203+204204+ Add dependency on xp module when building with Xprint support.
205205+206206+commit 5789d54ef03c4dc59faff86084ba7b0eaf79cda5
207207+Author: Kevin E Martin <kem@kem.org>
208208+Date: Wed Oct 19 02:47:56 2005 +0000
209209+210210+ Update package version number for RC1 release.
211211+212212+commit b6bc1985f3241a1e8bf4896ddc0ba62cc8d52bbb
213213+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
214214+Date: Tue Oct 18 00:32:55 2005 +0000
215215+216216+ Change default install dir for app-default files from
217217+ $(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match
218218+ the monolith & allow localization
219219+220220+commit 8a0d8f1a09e3f9f81cd3a254bf129dfb194631c0
221221+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
222222+Date: Mon Oct 17 23:56:24 2005 +0000
223223+224224+ Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to
225225+ work better with BSD make
226226+227227+commit 339f76a32a41635dda213807baaf163e80305a49
228228+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
229229+Date: Fri Oct 14 00:25:47 2005 +0000
230230+231231+ Use sed to fill in variables in man page
232232+233233+commit 6b9309358a8f2901e30cf4dab5d91d405ee44ff4
234234+Author: Kevin E Martin <kem@kem.org>
235235+Date: Wed Oct 5 00:01:35 2005 +0000
236236+237237+ Add xmore.sgml to EXTRA_DIST
238238+239239+commit 634f48bc62e069913e64ded9e068a9fab03f9cb9
240240+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
241241+Date: Mon Aug 1 20:25:31 2005 +0000
242242+243243+ Install man pages to section 1 instead of section m (Patch from Donnie
244244+ Berkholz)
245245+246246+commit 9c8de9a0c760ce9d06b8593182e0fab89890d229
247247+Author: Kevin E Martin <kem@kem.org>
248248+Date: Fri Jul 29 21:22:36 2005 +0000
249249+250250+ Various changes preparing packages for RC0:
251251+ - Verify and update package version numbers as needed
252252+ - Implement versioning scheme
253253+ - Change bug address to point to bugzilla bug entry form
254254+ - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
255255+ reenable it)
256256+ - Fix makedepend to use pkgconfig and pass distcheck
257257+ - Update build script to build macros first
258258+ - Update modular Xorg version
259259+260260+commit 3aa8309ba62e1a445663c458c0132d0b70c66d66
261261+Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
262262+Date: Tue Jul 26 15:44:03 2005 +0000
263263+264264+ Replace more GNU make-ism's with more portable macros
265265+266266+commit eaae9a052fc7eec785e6fc8cf2011ea963030a5b
267267+Author: Matthieu Herrb <matthieu.herrb@laas.fr>
268268+Date: Sat Jul 23 16:56:33 2005 +0000
269269+270270+ fix GNU-make only app-defaults rule
271271+272272+commit f63f6eb288ab5b518525e31407f1be1514cf72e7
273273+Author: Matthieu Herrb <matthieu.herrb@laas.fr>
274274+Date: Sat Jul 23 16:56:07 2005 +0000
275275+276276+ fix remaining DEP_{CFLAGS,LIBS} refenences
277277+278278+commit f9a60649a815c42cd5ebd9e24dbbb12d62fd90de
279279+Author: Adam Jackson <ajax@nwnk.net>
280280+Date: Wed Jul 20 19:32:03 2005 +0000
281281+282282+ Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global
283283+ configure cache, you cache it, and the cached value is probably wrong.
284284+285285+commit bf280e7bc5d6e2c65ea0235fde208274a714d13b
286286+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
287287+Date: Tue Jul 5 22:51:11 2005 +0000
288288+289289+ Add build systems for xlogo, xlsatoms, xlsclients, xmag, xman, xmessage,
290290+ xmh, xmore. lib/Xaw/xaw.m4: Add an AM_CONDITIONAL and a shell variable
291291+ xaw_use_xprint symlink.sh: add some extra files for xgc, xinit,
292292+ xkbcomp, xlogo, xmb, and xmodmap xc/programs/xmore/xmore.c:
293293+ Conditionalize use of xprint
294294+295295+commit 8b721c45d8f8681e59ca145d1ed3839d1b312a99
296296+Author: Roland Mainz <roland.mainz@nrubsig.org>
297297+Date: Mon Apr 11 01:06:15 2005 +0000
298298+299299+ xc/programs/Xserver/Xprint/attributes.c
300300+ xc/programs/glxgears/glxgears.c
301301+ xc/programs/xdbedizzy/xdbedizzy.c
302302+ xc/programs/xedit/Imakefile
303303+ xc/programs/xedit/Xedit-xprint.ad
304304+ xc/programs/xedit/util.c
305305+ xc/programs/xedit/xedit.h
306306+ xc/programs/xlogo/print.c
307307+ xc/programs/xlogo/xlogo.c
308308+ xc/programs/xlogo/xlogo.h
309309+ xc/programs/xman/Imakefile
310310+ xc/programs/xman/print.h
311311+ xc/programs/xmore/Imakefile
312312+ xc/programs/xmore/print.c
313313+ xc/programs/xmore/print.h
314314+ xc/programs/xmore/printdialog.c
315315+ xc/programs/xphelloworld/xpawhelloworld/xpawhelloworld.c
316316+ xc/programs/xphelloworld/xphelloworld/xphelloworld.c
317317+ xc/programs/xphelloworld/xpsimplehelloworld/xpsimplehelloworld.c
318318+ xc/programs/xphelloworld/xpxmhelloworld/xpxmhelloworld.c
319319+ //bugs.freedesktop.org/show_bug.cgi?id=790) attachment #2379
320320+ (https://bugs.freedesktop.org/attachment.cgi?id=2379) Implement support
321321+ client+Xserver support for passing output (stdout+stderr) of the
322322+ spooler command started by the Xprint server back to the application
323323+ using the "xp-spooler-command-results" XPJobAttr attribute
324324+ (applications can fetch the attribute value after the XPEndJobNotify
325325+ event was received; more details can be found in
326326+ http://xprint.mozdev.org/docs/dtprint_fspec.ps).
327327+328328+commit 3d9fdcb47537e924e7426d64d838c00414ec58ff
329329+Author: Roland Mainz <roland.mainz@nrubsig.org>
330330+Date: Tue Feb 1 23:00:50 2005 +0000
331331+332332+ xc/programs/xmore/xmore.man
333333+ //bugs.freedesktop.org/show_bug.cgi?id=2410) attachment #1786
334334+ (https://bugs.freedesktop.org/attachment.cgi?id=1786): Fix formatting
335335+ problem in the xmore(1x) manual page. Patch by Matthieu Herrb
336336+ <matthieu.herrb@laas.fr> and Roland Mainz <roland.mainz@nrubsig.org>.
337337+ Approved in the 2005-01-31 Xorg release-wranglers phone call (the
338338+ xmore.man diff is an automatic update from the DocBook--->man
339339+ conversion).
340340+341341+commit 550802b584f89279d8af35ee8a9221dc24ea1f27
342342+Author: Roland Mainz <roland.mainz@nrubsig.org>
343343+Date: Mon Jan 3 01:06:36 2005 +0000
344344+345345+ xc/lib/XprintAppUtil/xpapputil.c
346346+ xc/lib/XprintAppUtil/xpapputil.h
347347+ xc/lib/XprintUtil/xprintutil.c
348348+ xc/lib/XprintUtil/xprintutil.h
349349+ xc/programs/glxgears/glxgears.c
350350+ xc/programs/xdbedizzy/xdbedizzy.c
351351+ xc/programs/xedit/Xedit-xprint.ad
352352+ xc/programs/xedit/commands.c
353353+ xc/programs/xlogo/print.c
354354+ xc/programs/xlsfonts/xlsfonts.c
355355+ xc/programs/xlsfonts/xlsfonts.man
356356+ xc/programs/xlsfonts/xlsfonts.sgml
357357+ xc/programs/xman/Xman-xprint.ad
358358+ xc/programs/xman/handler.c
359359+ xc/programs/xman/print.c
360360+ xc/programs/xman/print.h
361361+ xc/programs/xmore/XMore.ad
362362+ xc/programs/xmore/print.c
363363+ xc/programs/xmore/print.h
364364+ xc/programs/xmore/printdialog.c
365365+ xc/programs/xmore/printdialog.h
366366+ xc/programs/xmore/printdialogprivates.h
367367+ xc/programs/xmore/xmore.c
368368+ xc/programs/xphelloworld/xpawhelloworld/xpawhelloworld.c
369369+ xc/programs/xphelloworld/xphelloworld/xphelloworld.c
370370+ xc/programs/xphelloworld/xpsimplehelloworld/xpsimplehelloworld.c
371371+ xc/programs/xphelloworld/xpxmhelloworld/xpxmhelloworld.c
372372+ xc/programs/xphelloworld/xpxthelloworld/xpxthelloworld.c
373373+ xc/programs/xplsprinters/xplsprinters.c
374374+ //bugs.freedesktop.org/show_bug.cgi?id=1706) attachment #1615
375375+ (https://bugs.freedesktop.org/attachment.cgi?id=1615): XprintUtils
376376+ 2004/Q3 update. This adds various new features to the XprintUtils
377377+ library including support for page resolutions where
378378+ X_resolution!=Y_resolution, listfonts-mode control and initial
379379+ framework for the COLORSPACE extension. Patch by Roland Mainz
380380+ <roland.mainz@nrubsig.org> and Julien Lafon <julien.lafon@gmail.com>.
381381+382382+commit 11d508e4bfec3ecd749123e043768ea3fb21ce12
383383+Author: Roland Mainz <roland.mainz@nrubsig.org>
384384+Date: Tue Oct 12 22:46:40 2004 +0000
385385+386386+ Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1601 - Fix
387387+ problems with wrong page counts in xedit&co. when a global "*geometry"
388388+ resource was overriding the internal geometry management used by
389389+ XawPrintShell(=usually adjust to current page size, the resource was
390390+ turning this into a static value). (Original patch by Felix Schulte
391391+ <felix.schulte@gmail.com>)
392392+393393+commit 71eb560c323df9e78e1381eff41002f1df9cb44b
394394+Author: Roland Mainz <roland.mainz@nrubsig.org>
395395+Date: Thu Jul 29 00:40:35 2004 +0000
396396+397397+ Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=938 - Update
398398+ XawPrintShell per feedback and review comments.
399399+400400+commit a5c5bd828d0a89ab979ad122c40073e8985e5e6e
401401+Author: Roland Mainz <roland.mainz@nrubsig.org>
402402+Date: Tue Jun 8 02:44:35 2004 +0000
403403+404404+ Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=668 - Add print
405405+ support to xman
406406+407407+commit b041343bcf05fdf5ce4234655c869251b3f8fafa
408408+Author: Roland Mainz <roland.mainz@nrubsig.org>
409409+Date: Sun May 30 22:44:01 2004 +0000
410410+411411+ Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add print
412412+ support to Xedit
413413+414414+commit 7b5bbd9057eba74e53ec0ed9a306e78a15bd96a8
415415+Author: Roland Mainz <roland.mainz@nrubsig.org>
416416+Date: Sun May 30 00:52:30 2004 +0000
417417+418418+ Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=693 - XMore and
419419+ XawPrintDialog work-in-progress, fixing various problems and adding
420420+ framework for i18n.
421421+422422+commit 62ad6298a589dd16820c7d0bbfcd2b5381a2589e
423423+Author: Roland Mainz <roland.mainz@nrubsig.org>
424424+Date: Mon May 24 03:17:44 2004 +0000
425425+426426+ Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=611 -
427427+ Adding simple text viewer (xmore)
+291
app/xmore/INSTALL
···11+Installation Instructions
22+*************************
33+44+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
55+2006, 2007, 2008 Free Software Foundation, Inc.
66+77+ This file is free documentation; the Free Software Foundation gives
88+unlimited permission to copy, distribute and modify it.
99+1010+Basic Installation
1111+==================
1212+1313+ Briefly, the shell commands `./configure; make; make install' should
1414+configure, build, and install this package. The following
1515+more-detailed instructions are generic; see the `README' file for
1616+instructions specific to this package.
1717+1818+ The `configure' shell script attempts to guess correct values for
1919+various system-dependent variables used during compilation. It uses
2020+those values to create a `Makefile' in each directory of the package.
2121+It may also create one or more `.h' files containing system-dependent
2222+definitions. Finally, it creates a shell script `config.status' that
2323+you can run in the future to recreate the current configuration, and a
2424+file `config.log' containing compiler output (useful mainly for
2525+debugging `configure').
2626+2727+ It can also use an optional file (typically called `config.cache'
2828+and enabled with `--cache-file=config.cache' or simply `-C') that saves
2929+the results of its tests to speed up reconfiguring. Caching is
3030+disabled by default to prevent problems with accidental use of stale
3131+cache files.
3232+3333+ If you need to do unusual things to compile the package, please try
3434+to figure out how `configure' could check whether to do them, and mail
3535+diffs or instructions to the address given in the `README' so they can
3636+be considered for the next release. If you are using the cache, and at
3737+some point `config.cache' contains results you don't want to keep, you
3838+may remove or edit it.
3939+4040+ The file `configure.ac' (or `configure.in') is used to create
4141+`configure' by a program called `autoconf'. You need `configure.ac' if
4242+you want to change it or regenerate `configure' using a newer version
4343+of `autoconf'.
4444+4545+The simplest way to compile this package is:
4646+4747+ 1. `cd' to the directory containing the package's source code and type
4848+ `./configure' to configure the package for your system.
4949+5050+ Running `configure' might take a while. While running, it prints
5151+ some messages telling which features it is checking for.
5252+5353+ 2. Type `make' to compile the package.
5454+5555+ 3. Optionally, type `make check' to run any self-tests that come with
5656+ the package.
5757+5858+ 4. Type `make install' to install the programs and any data files and
5959+ documentation.
6060+6161+ 5. You can remove the program binaries and object files from the
6262+ source code directory by typing `make clean'. To also remove the
6363+ files that `configure' created (so you can compile the package for
6464+ a different kind of computer), type `make distclean'. There is
6565+ also a `make maintainer-clean' target, but that is intended mainly
6666+ for the package's developers. If you use it, you may have to get
6767+ all sorts of other programs in order to regenerate files that came
6868+ with the distribution.
6969+7070+ 6. Often, you can also type `make uninstall' to remove the installed
7171+ files again.
7272+7373+Compilers and Options
7474+=====================
7575+7676+ Some systems require unusual options for compilation or linking that
7777+the `configure' script does not know about. Run `./configure --help'
7878+for details on some of the pertinent environment variables.
7979+8080+ You can give `configure' initial values for configuration parameters
8181+by setting variables in the command line or in the environment. Here
8282+is an example:
8383+8484+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
8585+8686+ *Note Defining Variables::, for more details.
8787+8888+Compiling For Multiple Architectures
8989+====================================
9090+9191+ You can compile the package for more than one kind of computer at the
9292+same time, by placing the object files for each architecture in their
9393+own directory. To do this, you can use GNU `make'. `cd' to the
9494+directory where you want the object files and executables to go and run
9595+the `configure' script. `configure' automatically checks for the
9696+source code in the directory that `configure' is in and in `..'.
9797+9898+ With a non-GNU `make', it is safer to compile the package for one
9999+architecture at a time in the source code directory. After you have
100100+installed the package for one architecture, use `make distclean' before
101101+reconfiguring for another architecture.
102102+103103+ On MacOS X 10.5 and later systems, you can create libraries and
104104+executables that work on multiple system types--known as "fat" or
105105+"universal" binaries--by specifying multiple `-arch' options to the
106106+compiler but only a single `-arch' option to the preprocessor. Like
107107+this:
108108+109109+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
110110+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
111111+ CPP="gcc -E" CXXCPP="g++ -E"
112112+113113+ This is not guaranteed to produce working output in all cases, you
114114+may have to build one architecture at a time and combine the results
115115+using the `lipo' tool if you have problems.
116116+117117+Installation Names
118118+==================
119119+120120+ By default, `make install' installs the package's commands under
121121+`/usr/local/bin', include files under `/usr/local/include', etc. You
122122+can specify an installation prefix other than `/usr/local' by giving
123123+`configure' the option `--prefix=PREFIX'.
124124+125125+ You can specify separate installation prefixes for
126126+architecture-specific files and architecture-independent files. If you
127127+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
128128+PREFIX as the prefix for installing programs and libraries.
129129+Documentation and other data files still use the regular prefix.
130130+131131+ In addition, if you use an unusual directory layout you can give
132132+options like `--bindir=DIR' to specify different values for particular
133133+kinds of files. Run `configure --help' for a list of the directories
134134+you can set and what kinds of files go in them.
135135+136136+ If the package supports it, you can cause programs to be installed
137137+with an extra prefix or suffix on their names by giving `configure' the
138138+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
139139+140140+Optional Features
141141+=================
142142+143143+ Some packages pay attention to `--enable-FEATURE' options to
144144+`configure', where FEATURE indicates an optional part of the package.
145145+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
146146+is something like `gnu-as' or `x' (for the X Window System). The
147147+`README' should mention any `--enable-' and `--with-' options that the
148148+package recognizes.
149149+150150+ For packages that use the X Window System, `configure' can usually
151151+find the X include and library files automatically, but if it doesn't,
152152+you can use the `configure' options `--x-includes=DIR' and
153153+`--x-libraries=DIR' to specify their locations.
154154+155155+Particular systems
156156+==================
157157+158158+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
159159+CC is not installed, it is recommended to use the following options in
160160+order to use an ANSI C compiler:
161161+162162+ ./configure CC="cc -Ae"
163163+164164+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
165165+166166+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
167167+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
168168+a workaround. If GNU CC is not installed, it is therefore recommended
169169+to try
170170+171171+ ./configure CC="cc"
172172+173173+and if that doesn't work, try
174174+175175+ ./configure CC="cc -nodtk"
176176+177177+Specifying the System Type
178178+==========================
179179+180180+ There may be some features `configure' cannot figure out
181181+automatically, but needs to determine by the type of machine the package
182182+will run on. Usually, assuming the package is built to be run on the
183183+_same_ architectures, `configure' can figure that out, but if it prints
184184+a message saying it cannot guess the machine type, give it the
185185+`--build=TYPE' option. TYPE can either be a short name for the system
186186+type, such as `sun4', or a canonical name which has the form:
187187+188188+ CPU-COMPANY-SYSTEM
189189+190190+where SYSTEM can have one of these forms:
191191+192192+ OS KERNEL-OS
193193+194194+ See the file `config.sub' for the possible values of each field. If
195195+`config.sub' isn't included in this package, then this package doesn't
196196+need to know the machine type.
197197+198198+ If you are _building_ compiler tools for cross-compiling, you should
199199+use the option `--target=TYPE' to select the type of system they will
200200+produce code for.
201201+202202+ If you want to _use_ a cross compiler, that generates code for a
203203+platform different from the build platform, you should specify the
204204+"host" platform (i.e., that on which the generated programs will
205205+eventually be run) with `--host=TYPE'.
206206+207207+Sharing Defaults
208208+================
209209+210210+ If you want to set default values for `configure' scripts to share,
211211+you can create a site shell script called `config.site' that gives
212212+default values for variables like `CC', `cache_file', and `prefix'.
213213+`configure' looks for `PREFIX/share/config.site' if it exists, then
214214+`PREFIX/etc/config.site' if it exists. Or, you can set the
215215+`CONFIG_SITE' environment variable to the location of the site script.
216216+A warning: not all `configure' scripts look for a site script.
217217+218218+Defining Variables
219219+==================
220220+221221+ Variables not defined in a site shell script can be set in the
222222+environment passed to `configure'. However, some packages may run
223223+configure again during the build, and the customized values of these
224224+variables may be lost. In order to avoid this problem, you should set
225225+them in the `configure' command line, using `VAR=value'. For example:
226226+227227+ ./configure CC=/usr/local2/bin/gcc
228228+229229+causes the specified `gcc' to be used as the C compiler (unless it is
230230+overridden in the site shell script).
231231+232232+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
233233+an Autoconf bug. Until the bug is fixed you can use this workaround:
234234+235235+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
236236+237237+`configure' Invocation
238238+======================
239239+240240+ `configure' recognizes the following options to control how it
241241+operates.
242242+243243+`--help'
244244+`-h'
245245+ Print a summary of all of the options to `configure', and exit.
246246+247247+`--help=short'
248248+`--help=recursive'
249249+ Print a summary of the options unique to this package's
250250+ `configure', and exit. The `short' variant lists options used
251251+ only in the top level, while the `recursive' variant lists options
252252+ also present in any nested packages.
253253+254254+`--version'
255255+`-V'
256256+ Print the version of Autoconf used to generate the `configure'
257257+ script, and exit.
258258+259259+`--cache-file=FILE'
260260+ Enable the cache: use and save the results of the tests in FILE,
261261+ traditionally `config.cache'. FILE defaults to `/dev/null' to
262262+ disable caching.
263263+264264+`--config-cache'
265265+`-C'
266266+ Alias for `--cache-file=config.cache'.
267267+268268+`--quiet'
269269+`--silent'
270270+`-q'
271271+ Do not print messages saying which checks are being made. To
272272+ suppress all normal output, redirect it to `/dev/null' (any error
273273+ messages will still be shown).
274274+275275+`--srcdir=DIR'
276276+ Look for the package's source code in directory DIR. Usually
277277+ `configure' can determine that directory automatically.
278278+279279+`--prefix=DIR'
280280+ Use DIR as the installation prefix. *Note Installation Names::
281281+ for more details, including other options available for fine-tuning
282282+ the installation locations.
283283+284284+`--no-create'
285285+`-n'
286286+ Run the configure checks, but stop before creating any output
287287+ files.
288288+289289+`configure' also accepts some other, not widely useful, options. Run
290290+`configure --help' for more details.
291291+1292Installation Instructions
2293*************************
3294
···11+xmore - plain text display program for the X Window System
22+33+All questions regarding this software should be directed at the
44+Xorg mailing list:
55+66+ http://lists.freedesktop.org/mailman/listinfo/xorg
77+88+Please submit bug reports to the Xorg bugzilla:
99+1010+ https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
1111+1212+The master development code repository can be found at:
1313+1414+ git://anongit.freedesktop.org/git/xorg/app/xmore
1515+1616+ http://cgit.freedesktop.org/xorg/app/xmore
1717+1818+For patch submission instructions, see:
1919+2020+ http://www.x.org/wiki/Development/Documentation/SubmittingPatches
2121+2222+For more information on the git code manager, see:
2323+2424+ http://wiki.x.org/wiki/GitPage
2525+
-130
app/xmore/XMore.ad
···11-! XMore.ad
22-33-! keyboard translations
44-*text.Translations: #override\n\
55- Ctrl<Key>S: no-op(RingBell)\n\
66- Ctrl<Key>R: no-op(RingBell)\n\
77- <Key>space: next-page()\n\
88- <Key>F: next-page()\n\
99- Ctrl<Key>B: previous-page()\n\
1010- <Key>B: previous-page()\n\
1111- <Key>K: scroll-one-line-down()\n\
1212- <Key>Y: scroll-one-line-down()\n\
1313- <Key>Return: scroll-one-line-up()\n\
1414- <Key>J: scroll-one-line-up()\n\
1515- <Key>E: scroll-one-line-up()\n\
1616- <Key>p: print()\n\
1717- <Key>q: quit()\n
1818-*text.baseTranslations: #override\n\
1919- <Key>space: next-page()\n\
2020- <Key>F: next-page()\n\
2121- Ctrl<Key>B: previous-page()\n\
2222- <Key>K: scroll-one-line-down()\n\
2323- <Key>Y: scroll-one-line-down()\n\
2424- <Key>Return: scroll-one-line-up()\n\
2525- <Key>J: scroll-one-line-up()\n\
2626- <Key>E: scroll-one-line-up()\n\
2727- <Key>p: print()\n\
2828- <Key>q: quit()\n
2929-3030-! tip messages
3131-*quit.tip: Quit application
3232-*print.tip: Print file
3333-3434-! Use "white" as background for printing
3535-*printshell*background: white
3636-3737-! Print dialog
3838-*printdialogshell*geometry: 600x120
3939-*printdialogshell*title: Print
4040-*printdialogshell*main*ok.fromVert: innerform
4141-*printdialogshell*main*ok.label: Print
4242-*printdialogshell*main*ok.tip: Print
4343-*printdialogshell*main*setup.fromHoriz: ok
4444-*printdialogshell*main*setup.fromVert: innerform
4545-*printdialogshell*main*setup.label: Setup...
4646-*printdialogshell*main*setup.tip: Configure print job options (page size, orientation, etc.)
4747-*printdialogshell*main*cancel.fromHoriz: setup
4848-*printdialogshell*main*cancel.fromVert: innerform
4949-*printdialogshell*main*cancel.label: Cancel
5050-*printdialogshell*main*cancel.tip: Cancel printing
5151-*printdialogshell*main*desclabel.label: Printer Description:
5252-*printdialogshell*main*desclabel.tip: Short description of printer
5353-*printdialogshell*main*desc.fromHoriz: desclabel
5454-*printdialogshell*main*desc.tip: Short description of printer
5555-*printdialogshell*main*info.fromHoriz: desc
5656-*printdialogshell*main*info.label: Printer info...
5757-*printdialogshell*main*info.tip: Display additional information about this printer
5858-*printdialogshell*main*namelabel.fromVert: desclabel
5959-*printdialogshell*main*namelabel.label: Printer Name:
6060-*printdialogshell*main*namelabel.tip: Name of selected printer
6161-*printdialogshell*main*name.fromHoriz: namelabel
6262-*printdialogshell*main*name.fromVert: desclabel
6363-*printdialogshell*main*name.tip: Name of selected printer
6464-*printdialogshell*main*selectprinter.fromHoriz: name
6565-*printdialogshell*main*selectprinter.fromVert: desclabel
6666-*printdialogshell*main*selectprinter.label: Select Printer...
6767-*printdialogshell*main*selectprinter.label: Select Printer...
6868-*printdialogshell*main*selectprinter.tip: Select a different printer
6969-*printdialogshell*main*filenamelabel.fromVert: namelabel
7070-*printdialogshell*main*filenamelabel.label: File Name:
7171-*printdialogshell*main*filenamelabel.tip: File where the output should be stored
7272-*printdialogshell*main*filename.fromHoriz: filenamelabel
7373-*printdialogshell*main*filename.fromVert: namelabel
7474-*printdialogshell*main*filename.tip: File where the output should be stored
7575-*printdialogshell*main*selectfile.fromHoriz: filename
7676-*printdialogshell*main*selectfile.fromVert: namelabel
7777-*printdialogshell*main*selectfile.label: Select File...
7878-*printdialogshell*main*selectfile.tip: Select file where the output should be stored
7979-*printdialogshell*main*printtoprinter.fromVert: filenamelabel
8080-*printdialogshell*main*printtoprinter.label: Print to Printer
8181-*printdialogshell*main*printtoprinter.tip: Send print job to printer
8282-*printdialogshell*main*printtofile.fromVert: filenamelabel
8383-*printdialogshell*main*printtofile.fromHoriz: printtoprinter
8484-*printdialogshell*main*printtofile.label: Print to File
8585-*printdialogshell*main*printtofile.tip: Save print job in a file
8686-8787-! Print job options dialog
8888-*printdialogshell*setup*geometry: 600x400
8989-*printdialogshell*setup*title: Print: Print job options
9090-*printdialogshell*setup*ok.fromVert: list
9191-*printdialogshell*setup*ok.label: OK
9292-*printdialogshell*setup*ok.tip: Commit changes
9393-*printdialogshell*setup*cancel.fromHoriz: ok
9494-*printdialogshell*setup*cancel.fromVert: list
9595-*printdialogshell*setup*cancel.label: Cancel
9696-*printdialogshell*setup*cancel.tip: Cancel and reset to defaults
9797-*printdialogshell*setup*paperlist.tip: Select paper size
9898-*printdialogshell*setup*resolutionlist.fromHoriz: paperlist
9999-*printdialogshell*setup*resolutionlist.tip: Select page resolution
100100-*printdialogshell*setup*orientationlist.fromHoriz: resolutionlist
101101-*printdialogshell*setup*orientationlist.tip: Select page orientation
102102-*printdialogshell*setup*plexlist.fromHoriz: orientationlist
103103-*printdialogshell*setup*plexlist.tip: Select page plex mode (simplex, duplex, etc.)
104104-*printdialogshell*setup*colorspacelist.fromHoriz: plexlist
105105-*printdialogshell*setup*colorspacelist.tip: Select color space (color, grayscale, CYMK, etc.)
106106-*printdialogshell*setup*jobcopieslabel.fromVert: paperlist
107107-*printdialogshell*setup*jobcopieslabel.tip: Set number of job copies
108108-*printdialogshell*setup*jobcopieslabel.label: Job Copies:
109109-*printdialogshell*setup*jobcopies.fromHoriz: jobcopieslabel
110110-*printdialogshell*setup*jobcopies.fromVert: paperlist
111111-*printdialogshell*setup*jobcopies.tip: Set number of job copies
112112-113113-! Printer selection
114114-*printdialogshell*printerselection*geometry: 400x150
115115-*printdialogshell*printerselection*title: Print: Select printer
116116-*printdialogshell*printerselection*ok.fromVert: list
117117-*printdialogshell*printerselection*ok.label: OK
118118-*printdialogshell*printerselection*ok.tip: Switch printer
119119-*printdialogshell*printerselection*cancel.fromHoriz: ok
120120-*printdialogshell*printerselection*cancel.fromVert: list
121121-*printdialogshell*printerselection*cancel.label: Cancel
122122-*printdialogshell*printerselection*cancel.tip: Cancel printer selection
123123-*printdialogshell*printerselection*list.tip: Select printer name from list
124124-125125-! Select job file
126126-*printdialogshell*selectfile*geometry: 400x80
127127-*printdialogshell*selectfile*title: Print: Select job file
128128-*printdialogshell*selectfile*dialog.label: Select Filename:
129129-130130-! EOF.
+675-120
app/xmore/aclocal.m4
···740740rm -f confinc confmf
741741])
742742743743+# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
744744+#
745745+# This file is free software; the Free Software Foundation
746746+# gives unlimited permission to copy and/or distribute it,
747747+# with or without modifications, as long as this notice is preserved.
748748+749749+# serial 3
750750+751751+# AM_PROG_CC_C_O
752752+# --------------
753753+# Like AC_PROG_CC_C_O, but changed for automake.
754754+AC_DEFUN([AM_PROG_CC_C_O],
755755+[AC_REQUIRE([AC_PROG_CC_C_O])dnl
756756+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
757757+# FIXME: we rely on the cache variable name because
758758+# there is no other way.
759759+set dummy $CC
760760+ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
761761+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
762762+ # Losing compiler, so override with the script.
763763+ # FIXME: It is wrong to rewrite CC.
764764+ # But if we don't then we get into trouble of one sort or another.
765765+ # A longer-term fix would be to have automake use am__CC in this case,
766766+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
767767+ CC="$am_aux_dir/compile $CC"
768768+fi
769769+])
770770+743771# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
744772745773# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
···9951023AC_SUBST([am__untar])
9961024]) # _AM_PROG_TAR
9971025998998-dnl Copyright 2005 Red Hat, Inc
999999-dnl
10001000-dnl Permission to use, copy, modify, distribute, and sell this software and its
10011001-dnl documentation for any purpose is hereby granted without fee, provided that
10021002-dnl the above copyright notice appear in all copies and that both that
10031003-dnl copyright notice and this permission notice appear in supporting
10041004-dnl documentation.
10051005-dnl
10061006-dnl The above copyright notice and this permission notice shall be included
10071007-dnl in all copies or substantial portions of the Software.
10081008-dnl
10091009-dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
10101010-dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10111011-dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
10121012-dnl IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
10131013-dnl OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
10141014-dnl ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
10151015-dnl OTHER DEALINGS IN THE SOFTWARE.
10161016-dnl
10171017-dnl Except as contained in this notice, the name of the copyright holders shall
10181018-dnl not be used in advertising or otherwise to promote the sale, use or
10191019-dnl other dealings in this Software without prior written authorization
10201020-dnl from the copyright holders.
10211021-dnl
10221022-10231023-# XAW_CHECK_XPRINT_SUPPORT()
10241024-# --------------------------
10251025-# Adds --enable/disable-xprint and selects the appropriate version of the Xaw
10261026-# library. If neither --enable-xprint nor --disable-xprint are given,
10271027-# the presence of an Xaw with Xprint support will be auto detected
10281028-10291029-AC_DEFUN([XAW_CHECK_XPRINT_SUPPORT],[
10301030- AC_ARG_ENABLE(xprint, AC_HELP_STRING([--enable-xprint], [Enable XPrint support]),
10311031- [use_xprint=$enableval],[use_xprint=auto])
10321032- if test "x$use_xprint" = "xyes"; then
10331033- TMP_CHECK1=xaw8
10341034- TMP_CHECK2=
10351035- xaw_use_xprint=yes
10361036- elif test "x$use_xprint" = "xno"; then
10371037- TMP_CHECK1=xaw7
10381038- TMP_CHECK2=
10391039- xaw_use_xprint=no
10401040- else
10411041- TMP_CHECK1=xaw8
10421042- TMP_CHECK2=xaw7
10431043- xaw_use_xprint=yes
10441044- fi
10451045-10461046- PKG_CHECK_MODULES(TMP_XAW, $TMP_CHECK1, success=yes, success=no)
10471047- if [[ ! -z $TMP_CHECK2 ]] ; then
10481048- if test $success = no ; then
10491049- PKG_CHECK_MODULES(TMP_XAW, $TMP_CHECK2, success=yes, success=no)
10501050- xaw_use_xprint=no
10511051- fi
10521052- fi
10531053-10541054- if test "x$success" = "xyes"; then
10551055- $1_CFLAGS=$TMP_XAW_CFLAGS
10561056- $1_LIBS=$TMP_XAW_LIBS
10571057-10581058- AM_CONDITIONAL([XAW_USE_XPRINT], [test "x$xaw_use_xprint" = "xyes"])
10591059- else
10601060- AC_MSG_ERROR([No suitable version of Xaw found])
10611061- fi
10621062-])
10631063-10261026+dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure.
10641027dnl
10651028dnl Copyright 2005-2006 Sun Microsystems, Inc. All rights reserved.
10661029dnl
10671030dnl Permission is hereby granted, free of charge, to any person obtaining a
10681068-dnl copy of this software and associated documentation files (the
10691069-dnl "Software"), to deal in the Software without restriction, including
10701070-dnl without limitation the rights to use, copy, modify, merge, publish,
10711071-dnl distribute, and/or sell copies of the Software, and to permit persons
10721072-dnl to whom the Software is furnished to do so, provided that the above
10731073-dnl copyright notice(s) and this permission notice appear in all copies of
10741074-dnl the Software and that both the above copyright notice(s) and this
10751075-dnl permission notice appear in supporting documentation.
10311031+dnl copy of this software and associated documentation files (the "Software"),
10321032+dnl to deal in the Software without restriction, including without limitation
10331033+dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
10341034+dnl and/or sell copies of the Software, and to permit persons to whom the
10351035+dnl Software is furnished to do so, subject to the following conditions:
10761036dnl
10771077-dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
10781078-dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10791079-dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
10801080-dnl OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
10811081-dnl HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
10821082-dnl INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
10831083-dnl FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
10841084-dnl NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
10851085-dnl WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
10371037+dnl The above copyright notice and this permission notice (including the next
10381038+dnl paragraph) shall be included in all copies or substantial portions of the
10391039+dnl Software.
10861040dnl
10871087-dnl Except as contained in this notice, the name of a copyright holder
10881088-dnl shall not be used in advertising or otherwise to promote the sale, use
10891089-dnl or other dealings in this Software without prior written authorization
10901090-dnl of the copyright holder.
10411041+dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10421042+dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10431043+dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
10441044+dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10451045+dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
10461046+dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
10471047+dnl DEALINGS IN THE SOFTWARE.
1091104810921049# XORG_MACROS_VERSION(required-version)
10931050# -------------------------------------
···10971054# your configure.ac with the minimum required version, such as:
10981055# XORG_MACROS_VERSION(1.1)
10991056#
11001100-# To force at least a version with this macro defined, also add:
11011101-# m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
10571057+# To ensure that this macro is defined, also add:
10581058+# m4_ifndef([XORG_MACROS_VERSION],
10591059+# [m4_fatal([must install xorg-macros 1.1 or later before running autoconf/autogen])])
11021060#
11031061#
11041062# See the "minimum version" comment for each macro you use to see what
11051063# version you require.
11061106-AC_DEFUN([XORG_MACROS_VERSION],[
11071107- [XORG_MACROS_needed_version=$1
11081108- XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
11091109- XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
11101110- AC_MSG_CHECKING([if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}])
11111111- [XORG_MACROS_version=1.1.5
11121112- XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
11131113- XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
11141114- if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
11151115- AC_MSG_ERROR([configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x])
11161116- fi
11171117- if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
11181118- AC_MSG_ERROR([configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer])
11191119- fi
11201120- AC_MSG_RESULT([yes, $XORG_MACROS_version])
10641064+m4_defun([XORG_MACROS_VERSION],[
10651065+m4_define([vers_have], [1.6.1])
10661066+m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
10671067+m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
10681068+m4_if(m4_cmp(maj_have, maj_needed), 0,,
10691069+ [m4_fatal([xorg-macros major version ]maj_needed[ is required but ]vers_have[ found])])
10701070+m4_if(m4_version_compare(vers_have, [$1]), -1,
10711071+ [m4_fatal([xorg-macros version $1 or higher is required but ]vers_have[ found])])
10721072+m4_undefine([vers_have])
10731073+m4_undefine([maj_have])
10741074+m4_undefine([maj_needed])
11211075]) # XORG_MACROS_VERSION
1122107611231077# XORG_PROG_RAWCPP()
···11421096 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
11431097 RAWCPPFLAGS=-undef
11441098 AC_MSG_RESULT([yes])
10991099+ # under Cygwin unix is still defined even with -undef
11001100+ elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
11011101+ RAWCPPFLAGS="-undef -ansi"
11021102+ AC_MSG_RESULT([yes, with -ansi])
11451103 else
11461104 AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.])
11471105 fi
···12541212# Whether or not the necessary tools and files are found can be checked
12551213# with the AM_CONDITIONAL "BUILD_LINUXDOC"
12561214AC_DEFUN([XORG_CHECK_LINUXDOC],[
12571257-XORG_SGML_PATH=$prefix/share/sgml
12151215+if test x$XORG_SGML_PATH = x ; then
12161216+ XORG_SGML_PATH=$prefix/share/sgml
12171217+fi
12581218HAVE_DEFS_ENT=
1259121912601260-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
12201220+if test x"$cross_compiling" = x"yes" ; then
12211221+ HAVE_DEFS_ENT=no
12221222+else
12231223+ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
12241224+fi
1261122512621226AC_PATH_PROG(LINUXDOC, linuxdoc)
12631227AC_PATH_PROG(PS2PDF, ps2pdf)
1264122812651265-AC_MSG_CHECKING([Whether to build documentation])
12291229+AC_MSG_CHECKING([whether to build documentation])
1266123012671231if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
12681232 BUILDDOC=yes
···1274123812751239AC_MSG_RESULT([$BUILDDOC])
1276124012771277-AC_MSG_CHECKING([Whether to build pdf documentation])
12411241+AC_MSG_CHECKING([whether to build pdf documentation])
1278124212791243if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
12801244 BUILDPDFDOC=yes
···13061270# indicates whether the necessary tools and files are found and, if set,
13071271# $(MAKE_XXX) blah.sgml will produce blah.xxx.
13081272AC_DEFUN([XORG_CHECK_DOCBOOK],[
13091309-XORG_SGML_PATH=$prefix/share/sgml
12731273+if test x$XORG_SGML_PATH = x ; then
12741274+ XORG_SGML_PATH=$prefix/share/sgml
12751275+fi
13101276HAVE_DEFS_ENT=
13111277BUILDTXTDOC=no
13121278BUILDPDFDOC=no
···13201286AC_PATH_PROG(DOCBOOKHTML, docbook2html)
13211287AC_PATH_PROG(DOCBOOKTXT, docbook2txt)
1322128813231323-AC_MSG_CHECKING([Whether to build text documentation])
12891289+AC_MSG_CHECKING([whether to build text documentation])
13241290if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKTXT != x &&
13251291 test x$BUILD_TXTDOC != xno; then
13261292 BUILDTXTDOC=yes
···13281294AM_CONDITIONAL(BUILD_TXTDOC, [test x$BUILDTXTDOC = xyes])
13291295AC_MSG_RESULT([$BUILDTXTDOC])
1330129613311331-AC_MSG_CHECKING([Whether to build PDF documentation])
12971297+AC_MSG_CHECKING([whether to build PDF documentation])
13321298if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKPDF != x &&
13331299 test x$BUILD_PDFDOC != xno; then
13341300 BUILDPDFDOC=yes
···13361302AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes])
13371303AC_MSG_RESULT([$BUILDPDFDOC])
1338130413391339-AC_MSG_CHECKING([Whether to build PostScript documentation])
13051305+AC_MSG_CHECKING([whether to build PostScript documentation])
13401306if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKPS != x &&
13411307 test x$BUILD_PSDOC != xno; then
13421308 BUILDPSDOC=yes
···13441310AM_CONDITIONAL(BUILD_PSDOC, [test x$BUILDPSDOC = xyes])
13451311AC_MSG_RESULT([$BUILDPSDOC])
1346131213471347-AC_MSG_CHECKING([Whether to build HTML documentation])
13131313+AC_MSG_CHECKING([whether to build HTML documentation])
13481314if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKHTML != x &&
13491315 test x$BUILD_HTMLDOC != xno; then
13501316 BUILDHTMLDOC=yes
···13631329AC_SUBST(MAKE_HTML)
13641330]) # XORG_CHECK_DOCBOOK
1365133113321332+# XORG_WITH_XMLTO([MIN-VERSION])
13331333+# ----------------
13341334+# Minimum version: 1.5.0
13351335+#
13361336+# Documentation tools are not always available on all platforms and sometimes
13371337+# not at the appropriate level. This macro enables a module to test for the
13381338+# presence of the tool and obtain it's path in separate variables. Coupled with
13391339+# the --with-xmlto option, it allows maximum flexibilty in making decisions
13401340+# as whether or not to use the xmlto package.
13411341+#
13421342+# Interface to module:
13431343+# HAVE_XMLTO: used in makefiles to conditionally generate documentation
13441344+# XMLTO: returns the path of the xmlto program found
13451345+# returns the path set by the user in the environment
13461346+# --with-xmlto: 'yes' user instructs the module to use xmlto
13471347+# 'no' user instructs the module not to use xmlto
13481348+#
13491349+# If the user sets the value of XMLTO, AC_PATH_PROG skips testing the path.
13501350+#
13511351+AC_DEFUN([XORG_WITH_XMLTO],[
13521352+AC_ARG_VAR([XMLTO], [Path to xmlto command])
13531353+AC_ARG_WITH(xmlto,
13541354+ AS_HELP_STRING([--with-xmlto],
13551355+ [Use xmlto to regenerate documentation (default: yes, if installed)]),
13561356+ [use_xmlto=$withval], [use_xmlto=auto])
13571357+13581358+if test "x$use_xmlto" = x"auto"; then
13591359+ AC_PATH_PROG([XMLTO], [xmlto])
13601360+ if test "x$XMLTO" = "x"; then
13611361+ AC_MSG_WARN([xmlto not found - documentation targets will be skipped])
13621362+ have_xmlto=no
13631363+ else
13641364+ have_xmlto=yes
13651365+ fi
13661366+elif test "x$use_xmlto" = x"yes" ; then
13671367+ AC_PATH_PROG([XMLTO], [xmlto])
13681368+ if test "x$XMLTO" = "x"; then
13691369+ AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH])
13701370+ fi
13711371+ have_xmlto=yes
13721372+elif test "x$use_xmlto" = x"no" ; then
13731373+ if test "x$XMLTO" != "x"; then
13741374+ AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified])
13751375+ fi
13761376+ have_xmlto=no
13771377+else
13781378+ AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
13791379+fi
13801380+m4_ifval([$1],
13811381+[if test "$have_xmlto" = yes; then
13821382+ # scrape the xmlto version
13831383+ AC_MSG_CHECKING([the xmlto version])
13841384+ xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
13851385+ AC_MSG_RESULT([$xmlto_version])
13861386+ AS_VERSION_COMPARE([$xmlto_version], [$1],
13871387+ [if test "x$use_xmlto" = xauto; then
13881388+ AC_MSG_WARN([xmlto version $xmlto_version found, but $1 needed])
13891389+ have_xmlto=no
13901390+ else
13911391+ AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed])
13921392+ fi])
13931393+fi])
13941394+AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes])
13951395+]) # XORG_WITH_XMLTO
13961396+13971397+# XORG_WITH_ASCIIDOC([MIN-VERSION])
13981398+# ----------------
13991399+# Minimum version: 1.5.0
14001400+#
14011401+# Documentation tools are not always available on all platforms and sometimes
14021402+# not at the appropriate level. This macro enables a module to test for the
14031403+# presence of the tool and obtain it's path in separate variables. Coupled with
14041404+# the --with-asciidoc option, it allows maximum flexibilty in making decisions
14051405+# as whether or not to use the asciidoc package.
14061406+#
14071407+# Interface to module:
14081408+# HAVE_ASCIIDOC: used in makefiles to conditionally generate documentation
14091409+# ASCIIDOC: returns the path of the asciidoc program found
14101410+# returns the path set by the user in the environment
14111411+# --with-asciidoc: 'yes' user instructs the module to use asciidoc
14121412+# 'no' user instructs the module not to use asciidoc
14131413+#
14141414+# If the user sets the value of ASCIIDOC, AC_PATH_PROG skips testing the path.
14151415+#
14161416+AC_DEFUN([XORG_WITH_ASCIIDOC],[
14171417+AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
14181418+AC_ARG_WITH(asciidoc,
14191419+ AS_HELP_STRING([--with-asciidoc],
14201420+ [Use asciidoc to regenerate documentation (default: yes, if installed)]),
14211421+ [use_asciidoc=$withval], [use_asciidoc=auto])
14221422+14231423+if test "x$use_asciidoc" = x"auto"; then
14241424+ AC_PATH_PROG([ASCIIDOC], [asciidoc])
14251425+ if test "x$ASCIIDOC" = "x"; then
14261426+ AC_MSG_WARN([asciidoc not found - documentation targets will be skipped])
14271427+ have_asciidoc=no
14281428+ else
14291429+ have_asciidoc=yes
14301430+ fi
14311431+elif test "x$use_asciidoc" = x"yes" ; then
14321432+ AC_PATH_PROG([ASCIIDOC], [asciidoc])
14331433+ if test "x$ASCIIDOC" = "x"; then
14341434+ AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH])
14351435+ fi
14361436+ have_asciidoc=yes
14371437+elif test "x$use_asciidoc" = x"no" ; then
14381438+ if test "x$ASCIIDOC" != "x"; then
14391439+ AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified])
14401440+ fi
14411441+ have_asciidoc=no
14421442+else
14431443+ AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no'])
14441444+fi
14451445+m4_ifval([$1],
14461446+[if test "$have_asciidoc" = yes; then
14471447+ # scrape the asciidoc version
14481448+ AC_MSG_CHECKING([the asciidoc version])
14491449+ asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
14501450+ AC_MSG_RESULT([$asciidoc_version])
14511451+ AS_VERSION_COMPARE([$asciidoc_version], [$1],
14521452+ [if test "x$use_asciidoc" = xauto; then
14531453+ AC_MSG_WARN([asciidoc version $asciidoc_version found, but $1 needed])
14541454+ have_asciidoc=no
14551455+ else
14561456+ AC_MSG_ERROR([asciidoc version $asciidoc_version found, but $1 needed])
14571457+ fi])
14581458+fi])
14591459+AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes])
14601460+]) # XORG_WITH_ASCIIDOC
14611461+14621462+# XORG_WITH_DOXYGEN([MIN-VERSION])
14631463+# --------------------------------
14641464+# Minimum version: 1.5.0
14651465+#
14661466+# Documentation tools are not always available on all platforms and sometimes
14671467+# not at the appropriate level. This macro enables a module to test for the
14681468+# presence of the tool and obtain it's path in separate variables. Coupled with
14691469+# the --with-doxygen option, it allows maximum flexibilty in making decisions
14701470+# as whether or not to use the doxygen package.
14711471+#
14721472+# Interface to module:
14731473+# HAVE_DOXYGEN: used in makefiles to conditionally generate documentation
14741474+# DOXYGEN: returns the path of the doxygen program found
14751475+# returns the path set by the user in the environment
14761476+# --with-doxygen: 'yes' user instructs the module to use doxygen
14771477+# 'no' user instructs the module not to use doxygen
14781478+#
14791479+# If the user sets the value of DOXYGEN, AC_PATH_PROG skips testing the path.
14801480+#
14811481+AC_DEFUN([XORG_WITH_DOXYGEN],[
14821482+AC_ARG_VAR([DOXYGEN], [Path to doxygen command])
14831483+AC_ARG_WITH(doxygen,
14841484+ AS_HELP_STRING([--with-doxygen],
14851485+ [Use doxygen to regenerate documentation (default: yes, if installed)]),
14861486+ [use_doxygen=$withval], [use_doxygen=auto])
14871487+14881488+if test "x$use_doxygen" = x"auto"; then
14891489+ AC_PATH_PROG([DOXYGEN], [doxygen])
14901490+ if test "x$DOXYGEN" = "x"; then
14911491+ AC_MSG_WARN([doxygen not found - documentation targets will be skipped])
14921492+ have_doxygen=no
14931493+ else
14941494+ have_doxygen=yes
14951495+ fi
14961496+elif test "x$use_doxygen" = x"yes" ; then
14971497+ AC_PATH_PROG([DOXYGEN], [doxygen])
14981498+ if test "x$DOXYGEN" = "x"; then
14991499+ AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH])
15001500+ fi
15011501+ have_doxygen=yes
15021502+elif test "x$use_doxygen" = x"no" ; then
15031503+ if test "x$DOXYGEN" != "x"; then
15041504+ AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified])
15051505+ fi
15061506+ have_doxygen=no
15071507+else
15081508+ AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no'])
15091509+fi
15101510+m4_ifval([$1],
15111511+[if test "$have_doxygen" = yes; then
15121512+ # scrape the doxygen version
15131513+ AC_MSG_CHECKING([the doxygen version])
15141514+ doxygen_version=`$DOXYGEN --version 2>/dev/null`
15151515+ AC_MSG_RESULT([$doxygen_version])
15161516+ AS_VERSION_COMPARE([$doxygen_version], [$1],
15171517+ [if test "x$use_doxygen" = xauto; then
15181518+ AC_MSG_WARN([doxygen version $doxygen_version found, but $1 needed])
15191519+ have_doxygen=no
15201520+ else
15211521+ AC_MSG_ERROR([doxygen version $doxygen_version found, but $1 needed])
15221522+ fi])
15231523+fi])
15241524+AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes])
15251525+]) # XORG_WITH_DOXYGEN
15261526+15271527+# XORG_WITH_GROFF
15281528+# ----------------
15291529+# Minimum version: 1.6.0
15301530+#
15311531+# Documentation tools are not always available on all platforms and sometimes
15321532+# not at the appropriate level. This macro enables a module to test for the
15331533+# presence of the tool and obtain it's path in separate variables. Coupled with
15341534+# the --with-groff option, it allows maximum flexibilty in making decisions
15351535+# as whether or not to use the groff package.
15361536+#
15371537+# Interface to module:
15381538+# HAVE_GROFF: used in makefiles to conditionally generate documentation
15391539+# HAVE_GROFF_MM: the memorandum macros (-mm) package
15401540+# HAVE_GROFF_MS: the -ms macros package
15411541+# GROFF: returns the path of the groff program found
15421542+# returns the path set by the user in the environment
15431543+# --with-groff: 'yes' user instructs the module to use groff
15441544+# 'no' user instructs the module not to use groff
15451545+#
15461546+# If the user sets the value of GROFF, AC_PATH_PROG skips testing the path.
15471547+#
15481548+# OS and distros often splits groff in a basic and full package, the former
15491549+# having the groff program and the later having devices, fonts and macros
15501550+# Checking for the groff executable is not enough.
15511551+#
15521552+# If macros are missing, we cannot assume that groff is useless, so we don't
15531553+# unset HAVE_GROFF or GROFF env variables.
15541554+# HAVE_GROFF_?? can never be true while HAVE_GROFF is false.
15551555+#
15561556+AC_DEFUN([XORG_WITH_GROFF],[
15571557+AC_ARG_VAR([GROFF], [Path to groff command])
15581558+AC_ARG_WITH(groff,
15591559+ AS_HELP_STRING([--with-groff],
15601560+ [Use groff to regenerate documentation (default: yes, if installed)]),
15611561+ [use_groff=$withval], [use_groff=auto])
15621562+15631563+if test "x$use_groff" = x"auto"; then
15641564+ AC_PATH_PROG([GROFF], [groff])
15651565+ if test "x$GROFF" = "x"; then
15661566+ AC_MSG_WARN([groff not found - documentation targets will be skipped])
15671567+ have_groff=no
15681568+ else
15691569+ have_groff=yes
15701570+ fi
15711571+elif test "x$use_groff" = x"yes" ; then
15721572+ AC_PATH_PROG([GROFF], [groff])
15731573+ if test "x$GROFF" = "x"; then
15741574+ AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH])
15751575+ fi
15761576+ have_groff=yes
15771577+elif test "x$use_groff" = x"no" ; then
15781578+ if test "x$GROFF" != "x"; then
15791579+ AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified])
15801580+ fi
15811581+ have_groff=no
15821582+else
15831583+ AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
15841584+fi
15851585+# We have groff, test for the presence of the macro packages
15861586+if test "x$have_groff" = x"yes"; then
15871587+ AC_MSG_CHECKING([for ${GROFF} -ms macros])
15881588+ if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then
15891589+ groff_ms_works=yes
15901590+ else
15911591+ groff_ms_works=no
15921592+ fi
15931593+ AC_MSG_RESULT([$groff_ms_works])
15941594+ AC_MSG_CHECKING([for ${GROFF} -mm macros])
15951595+ if ${GROFF} -mm -I. /dev/null >/dev/null 2>&1 ; then
15961596+ groff_mm_works=yes
15971597+ else
15981598+ groff_mm_works=no
15991599+ fi
16001600+ AC_MSG_RESULT([$groff_mm_works])
16011601+fi
16021602+AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes])
16031603+AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes])
16041604+AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes])
16051605+]) # XORG_WITH_GROFF
16061606+16071607+# XORG_WITH_FOP
16081608+# ----------------
16091609+# Minimum version: 1.6.0
16101610+#
16111611+# Documentation tools are not always available on all platforms and sometimes
16121612+# not at the appropriate level. This macro enables a module to test for the
16131613+# presence of the tool and obtain it's path in separate variables. Coupled with
16141614+# the --with-fop option, it allows maximum flexibilty in making decisions
16151615+# as whether or not to use the fop package.
16161616+#
16171617+# Interface to module:
16181618+# HAVE_FOP: used in makefiles to conditionally generate documentation
16191619+# FOP: returns the path of the fop program found
16201620+# returns the path set by the user in the environment
16211621+# --with-fop: 'yes' user instructs the module to use fop
16221622+# 'no' user instructs the module not to use fop
16231623+#
16241624+# If the user sets the value of FOP, AC_PATH_PROG skips testing the path.
16251625+#
16261626+AC_DEFUN([XORG_WITH_FOP],[
16271627+AC_ARG_VAR([FOP], [Path to fop command])
16281628+AC_ARG_WITH(fop,
16291629+ AS_HELP_STRING([--with-fop],
16301630+ [Use fop to regenerate documentation (default: yes, if installed)]),
16311631+ [use_fop=$withval], [use_fop=auto])
16321632+16331633+if test "x$use_fop" = x"auto"; then
16341634+ AC_PATH_PROG([FOP], [fop])
16351635+ if test "x$FOP" = "x"; then
16361636+ AC_MSG_WARN([fop not found - documentation targets will be skipped])
16371637+ have_fop=no
16381638+ else
16391639+ have_fop=yes
16401640+ fi
16411641+elif test "x$use_fop" = x"yes" ; then
16421642+ AC_PATH_PROG([FOP], [fop])
16431643+ if test "x$FOP" = "x"; then
16441644+ AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH])
16451645+ fi
16461646+ have_fop=yes
16471647+elif test "x$use_fop" = x"no" ; then
16481648+ if test "x$FOP" != "x"; then
16491649+ AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified])
16501650+ fi
16511651+ have_fop=no
16521652+else
16531653+ AC_MSG_ERROR([--with-fop expects 'yes' or 'no'])
16541654+fi
16551655+AM_CONDITIONAL([HAVE_FOP], [test "$have_fop" = yes])
16561656+]) # XORG_WITH_FOP
16571657+16581658+# XORG_WITH_PS2PDF
16591659+# ----------------
16601660+# Minimum version: 1.6.0
16611661+#
16621662+# Documentation tools are not always available on all platforms and sometimes
16631663+# not at the appropriate level. This macro enables a module to test for the
16641664+# presence of the tool and obtain it's path in separate variables. Coupled with
16651665+# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
16661666+# as whether or not to use the ps2pdf package.
16671667+#
16681668+# Interface to module:
16691669+# HAVE_PS2PDF: used in makefiles to conditionally generate documentation
16701670+# PS2PDF: returns the path of the ps2pdf program found
16711671+# returns the path set by the user in the environment
16721672+# --with-ps2pdf: 'yes' user instructs the module to use ps2pdf
16731673+# 'no' user instructs the module not to use ps2pdf
16741674+#
16751675+# If the user sets the value of PS2PDF, AC_PATH_PROG skips testing the path.
16761676+#
16771677+AC_DEFUN([XORG_WITH_PS2PDF],[
16781678+AC_ARG_VAR([PS2PDF], [Path to ps2pdf command])
16791679+AC_ARG_WITH(ps2pdf,
16801680+ AS_HELP_STRING([--with-ps2pdf],
16811681+ [Use ps2pdf to regenerate documentation (default: yes, if installed)]),
16821682+ [use_ps2pdf=$withval], [use_ps2pdf=auto])
16831683+16841684+if test "x$use_ps2pdf" = x"auto"; then
16851685+ AC_PATH_PROG([PS2PDF], [ps2pdf])
16861686+ if test "x$PS2PDF" = "x"; then
16871687+ AC_MSG_WARN([ps2pdf not found - documentation targets will be skipped])
16881688+ have_ps2pdf=no
16891689+ else
16901690+ have_ps2pdf=yes
16911691+ fi
16921692+elif test "x$use_ps2pdf" = x"yes" ; then
16931693+ AC_PATH_PROG([PS2PDF], [ps2pdf])
16941694+ if test "x$PS2PDF" = "x"; then
16951695+ AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH])
16961696+ fi
16971697+ have_ps2pdf=yes
16981698+elif test "x$use_ps2pdf" = x"no" ; then
16991699+ if test "x$PS2PDF" != "x"; then
17001700+ AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified])
17011701+ fi
17021702+ have_ps2pdf=no
17031703+else
17041704+ AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no'])
17051705+fi
17061706+AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes])
17071707+]) # XORG_WITH_PS2PDF
17081708+17091709+# XORG_ENABLE_DOCS (enable_docs=yes)
17101710+# ----------------
17111711+# Minimum version: 1.6.0
17121712+#
17131713+# Documentation tools are not always available on all platforms and sometimes
17141714+# not at the appropriate level. This macro enables a builder to skip all
17151715+# documentation targets except traditional man pages.
17161716+# Combined with the specific tool checking macros XORG_WITH_*, it provides
17171717+# maximum flexibilty in controlling documentation building.
17181718+# Refer to:
17191719+# XORG_WITH_XMLTO --with-xmlto
17201720+# XORG_WITH_ASCIIDOC --with-asciidoc
17211721+# XORG_WITH_DOXYGEN --with-doxygen
17221722+# XORG_WITH_FOP --with-fop
17231723+# XORG_WITH_GROFF --with-groff
17241724+# XORG_WITH_PS2PDF --with-ps2pdf
17251725+#
17261726+# Interface to module:
17271727+# ENABLE_DOCS: used in makefiles to conditionally generate documentation
17281728+# --enable-docs: 'yes' user instructs the module to generate docs
17291729+# 'no' user instructs the module not to generate docs
17301730+# parm1: specify the default value, yes or no.
17311731+#
17321732+AC_DEFUN([XORG_ENABLE_DOCS],[
17331733+default=$1
17341734+if test "x$default" = x ; then
17351735+ default="yes"
17361736+fi
17371737+AC_ARG_ENABLE(docs,
17381738+ AS_HELP_STRING([--enable-docs],
17391739+ [Enable building the documentation (default: yes)]),
17401740+ [build_docs=$enableval], [build_docs=$default])
17411741+AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes])
17421742+AC_MSG_CHECKING([whether to build documentation])
17431743+AC_MSG_RESULT([$build_docs])
17441744+]) # XORG_ENABLE_DOCS
17451745+17461746+# XORG_ENABLE_DEVEL_DOCS (enable_devel_docs=yes)
17471747+# ----------------
17481748+# Minimum version: 1.6.0
17491749+#
17501750+# This macro enables a builder to skip all developer documentation.
17511751+# Combined with the specific tool checking macros XORG_WITH_*, it provides
17521752+# maximum flexibilty in controlling documentation building.
17531753+# Refer to:
17541754+# XORG_WITH_XMLTO --with-xmlto
17551755+# XORG_WITH_ASCIIDOC --with-asciidoc
17561756+# XORG_WITH_DOXYGEN --with-doxygen
17571757+# XORG_WITH_FOP --with-fop
17581758+# XORG_WITH_GROFF --with-groff
17591759+# XORG_WITH_PS2PDF --with-ps2pdf
17601760+#
17611761+# Interface to module:
17621762+# ENABLE_DEVEL_DOCS: used in makefiles to conditionally generate developer docs
17631763+# --enable-devel-docs: 'yes' user instructs the module to generate developer docs
17641764+# 'no' user instructs the module not to generate developer docs
17651765+# parm1: specify the default value, yes or no.
17661766+#
17671767+AC_DEFUN([XORG_ENABLE_DEVEL_DOCS],[
17681768+devel_default=$1
17691769+if test "x$devel_default" = x ; then
17701770+ devel_default="yes"
17711771+fi
17721772+AC_ARG_ENABLE(devel-docs,
17731773+ AS_HELP_STRING([--enable-devel-docs],
17741774+ [Enable building the developer documentation (default: yes)]),
17751775+ [build_devel_docs=$enableval], [build_devel_docs=$devel_default])
17761776+AM_CONDITIONAL(ENABLE_DEVEL_DOCS, [test x$build_devel_docs = xyes])
17771777+AC_MSG_CHECKING([whether to build developer documentation])
17781778+AC_MSG_RESULT([$build_devel_docs])
17791779+]) # XORG_ENABLE_DEVEL_DOCS
17801780+17811781+# XORG_ENABLE_SPECS (enable_specs=yes)
17821782+# ----------------
17831783+# Minimum version: 1.6.0
17841784+#
17851785+# This macro enables a builder to skip all functional specification targets.
17861786+# Combined with the specific tool checking macros XORG_WITH_*, it provides
17871787+# maximum flexibilty in controlling documentation building.
17881788+# Refer to:
17891789+# XORG_WITH_XMLTO --with-xmlto
17901790+# XORG_WITH_ASCIIDOC --with-asciidoc
17911791+# XORG_WITH_DOXYGEN --with-doxygen
17921792+# XORG_WITH_FOP --with-fop
17931793+# XORG_WITH_GROFF --with-groff
17941794+# XORG_WITH_PS2PDF --with-ps2pdf
17951795+#
17961796+# Interface to module:
17971797+# ENABLE_SPECS: used in makefiles to conditionally generate specs
17981798+# --enable-specs: 'yes' user instructs the module to generate specs
17991799+# 'no' user instructs the module not to generate specs
18001800+# parm1: specify the default value, yes or no.
18011801+#
18021802+AC_DEFUN([XORG_ENABLE_SPECS],[
18031803+spec_default=$1
18041804+if test "x$spec_default" = x ; then
18051805+ spec_default="yes"
18061806+fi
18071807+AC_ARG_ENABLE(specs,
18081808+ AS_HELP_STRING([--enable-specs],
18091809+ [Enable building the specs (default: yes)]),
18101810+ [build_specs=$enableval], [build_specs=$spec_default])
18111811+AM_CONDITIONAL(ENABLE_SPECS, [test x$build_specs = xyes])
18121812+AC_MSG_CHECKING([whether to build functional specifications])
18131813+AC_MSG_RESULT([$build_specs])
18141814+]) # XORG_ENABLE_SPECS
18151815+13661816# XORG_CHECK_MALLOC_ZERO
13671817# ----------------------
13681818# Minimum version: 1.0.0
···13721822# their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
13731823AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[
13741824AC_ARG_ENABLE(malloc0returnsnull,
13751375- AC_HELP_STRING([--enable-malloc0returnsnull],
18251825+ AS_HELP_STRING([--enable-malloc0returnsnull],
13761826 [malloc(0) returns NULL (default: auto)]),
13771827 [MALLOC_ZERO_RETURNS_NULL=$enableval],
13781828 [MALLOC_ZERO_RETURNS_NULL=auto])
···13921842 exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
13931843}],
13941844 [MALLOC_ZERO_RETURNS_NULL=yes],
13951395- [MALLOC_ZERO_RETURNS_NULL=no])
18451845+ [MALLOC_ZERO_RETURNS_NULL=no],
18461846+ [MALLOC_ZERO_RETURNS_NULL=yes])
13961847fi
13971848AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL])
13981849···14241875AC_DEFUN([XORG_WITH_LINT],[
1425187614261877# Allow checking code with lint, sparse, etc.
14271427-AC_ARG_WITH(lint, [AC_HELP_STRING([--with-lint],
18781878+AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
14281879 [Use a lint-style source code checker (default: disabled)])],
14291880 [use_lint=$withval], [use_lint=no])
14301881if test "x$use_lint" = "xyes" ; then
···14651916AC_DEFUN([XORG_LINT_LIBRARY],[
14661917AC_REQUIRE([XORG_WITH_LINT])
14671918# Build lint "library" for more indepth checks of programs calling this library
14681468-AC_ARG_ENABLE(lint-library, [AC_HELP_STRING([--enable-lint-library],
19191919+AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
14691920 [Create lint library (default: disabled)])],
14701921 [make_lint_lib=$enableval], [make_lint_lib=no])
14711922if test "x$make_lint_lib" != "xno" ; then
···1483193414841935]) # XORG_LINT_LIBRARY
1485193619371937+# XORG_CWARNFLAGS
19381938+# ---------------
19391939+# Minimum version: 1.2.0
19401940+#
19411941+# Defines CWARNFLAGS to enable C compiler warnings.
19421942+#
19431943+AC_DEFUN([XORG_CWARNFLAGS], [
19441944+AC_REQUIRE([AC_PROG_CC])
19451945+if test "x$GCC" = xyes ; then
19461946+ CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
19471947+-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
19481948+-Wbad-function-cast -Wformat=2"
19491949+ case `$CC -dumpversion` in
19501950+ 3.4.* | 4.*)
19511951+ CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
19521952+ ;;
19531953+ esac
19541954+else
19551955+ AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
19561956+ if test "x$SUNCC" = "xyes"; then
19571957+ CWARNFLAGS="-v"
19581958+ fi
19591959+fi
19601960+AC_SUBST(CWARNFLAGS)
19611961+]) # XORG_CWARNFLAGS
19621962+19631963+# XORG_STRICT_OPTION
19641964+# -----------------------
19651965+# Minimum version: 1.3.0
19661966+#
19671967+# Add configure option to enable strict compilation
19681968+AC_DEFUN([XORG_STRICT_OPTION], [
19691969+AC_REQUIRE([AC_PROG_CC])
19701970+AC_REQUIRE([AC_PROG_CC_C99])
19711971+AC_REQUIRE([XORG_CWARNFLAGS])
19721972+19731973+AC_ARG_ENABLE(strict-compilation,
19741974+ AS_HELP_STRING([--enable-strict-compilation],
19751975+ [Enable all warnings from compiler and make them errors (default: disabled)]),
19761976+ [STRICT_COMPILE=$enableval], [STRICT_COMPILE=no])
19771977+if test "x$STRICT_COMPILE" = "xyes"; then
19781978+ AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
19791979+ AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"])
19801980+ if test "x$GCC" = xyes ; then
19811981+ STRICT_CFLAGS="-pedantic -Werror"
19821982+ elif test "x$SUNCC" = "xyes"; then
19831983+ STRICT_CFLAGS="-errwarn"
19841984+ elif test "x$INTELCC" = "xyes"; then
19851985+ STRICT_CFLAGS="-Werror"
19861986+ fi
19871987+fi
19881988+CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
19891989+AC_SUBST([CWARNFLAGS])
19901990+]) # XORG_STRICT_OPTION
19911991+19921992+# XORG_DEFAULT_OPTIONS
19931993+# --------------------
19941994+# Minimum version: 1.3.0
19951995+#
19961996+# Defines default options for X.Org modules.
19971997+#
19981998+AC_DEFUN([XORG_DEFAULT_OPTIONS], [
19991999+XORG_CWARNFLAGS
20002000+XORG_STRICT_OPTION
20012001+XORG_RELEASE_VERSION
20022002+XORG_CHANGELOG
20032003+XORG_INSTALL
20042004+XORG_MANPAGE_SECTIONS
20052005+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
20062006+ [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
20072007+]) # XORG_DEFAULT_OPTIONS
20082008+20092009+# XORG_INSTALL()
20102010+# ----------------
20112011+# Minimum version: 1.4.0
20122012+#
20132013+# Defines the variable INSTALL_CMD as the command to copy
20142014+# INSTALL from $prefix/share/util-macros.
20152015+#
20162016+AC_DEFUN([XORG_INSTALL], [
20172017+AC_REQUIRE([PKG_PROG_PKG_CONFIG])
20182018+macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
20192019+INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
20202020+mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
20212021+|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
20222022+echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
20232023+AC_SUBST([INSTALL_CMD])
20242024+]) # XORG_INSTALL
14862025dnl Copyright 2005 Red Hat, Inc
14872026dnl
14882027dnl Permission to use, copy, modify, distribute, and sell this software and its
···1517205615182057AC_DEFUN([XORG_RELEASE_VERSION],[
15192058 AC_ARG_WITH(release-version,
15201520- AC_HELP_STRING([--with-release-version=STRING],
20592059+ AS_HELP_STRING([--with-release-version=STRING],
15212060 [Use release version string in package name]),
15222061 [RELEASE_VERSION="$withval"],
15232062 [RELEASE_VERSION=""])
···15292068 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
15302069 [`echo $PACKAGE_VERSION | cut -d . -f 1`],
15312070 [Major version of this package])
15321532- PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
20712071+ PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
15332072 if test "x$PVM" = "x"; then
15342073 PVM="0"
15352074 fi
15362075 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],
15372076 [$PVM],
15382077 [Minor version of this package])
15391539- PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
20782078+ PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
15402079 if test "x$PVP" = "x"; then
15412080 PVP="0"
15422081 fi
···15452084 [Patch version of this package])
15462085])
1547208620872087+# XORG_CHANGELOG()
20882088+# ----------------
20892089+# Minimum version: 1.2.0
20902090+#
20912091+# Defines the variable CHANGELOG_CMD as the command to generate
20922092+# ChangeLog from git.
20932093+#
20942094+#
20952095+AC_DEFUN([XORG_CHANGELOG], [
20962096+CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
20972097+mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
20982098+|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
20992099+echo 'git directory not found: installing possibly empty changelog.' >&2)"
21002100+AC_SUBST([CHANGELOG_CMD])
21012101+]) # XORG_CHANGELOG
21022102+
···11-#! /bin/sh
22-# Wrapper for compilers which do not understand `-c -o'.
33-44-scriptversion=2005-05-14.22
55-66-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
77-# Written by Tom Tromey <tromey@cygnus.com>.
88-#
99-# This program is free software; you can redistribute it and/or modify
1010-# it under the terms of the GNU General Public License as published by
1111-# the Free Software Foundation; either version 2, or (at your option)
1212-# any later version.
1313-#
1414-# This program is distributed in the hope that it will be useful,
1515-# but WITHOUT ANY WARRANTY; without even the implied warranty of
1616-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1717-# GNU General Public License for more details.
1818-#
1919-# You should have received a copy of the GNU General Public License
2020-# along with this program; if not, write to the Free Software
2121-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2222-2323-# As a special exception to the GNU General Public License, if you
2424-# distribute this file as part of a program that contains a
2525-# configuration script generated by Autoconf, you may include it under
2626-# the same distribution terms that you use for the rest of that program.
2727-2828-# This file is maintained in Automake, please report
2929-# bugs to <bug-automake@gnu.org> or send patches to
3030-# <automake-patches@gnu.org>.
3131-3232-case $1 in
3333- '')
3434- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
3535- exit 1;
3636- ;;
3737- -h | --h*)
3838- cat <<\EOF
3939-Usage: compile [--help] [--version] PROGRAM [ARGS]
4040-4141-Wrapper for compilers which do not understand `-c -o'.
4242-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
4343-arguments, and rename the output as expected.
4444-4545-If you are trying to build a whole package this is not the
4646-right script to run: please start by reading the file `INSTALL'.
4747-4848-Report bugs to <bug-automake@gnu.org>.
4949-EOF
5050- exit $?
5151- ;;
5252- -v | --v*)
5353- echo "compile $scriptversion"
5454- exit $?
5555- ;;
5656-esac
5757-5858-ofile=
5959-cfile=
6060-eat=
6161-6262-for arg
6363-do
6464- if test -n "$eat"; then
6565- eat=
6666- else
6767- case $1 in
6868- -o)
6969- # configure might choose to run compile as `compile cc -o foo foo.c'.
7070- # So we strip `-o arg' only if arg is an object.
7171- eat=1
7272- case $2 in
7373- *.o | *.obj)
7474- ofile=$2
7575- ;;
7676- *)
7777- set x "$@" -o "$2"
7878- shift
7979- ;;
8080- esac
8181- ;;
8282- *.c)
8383- cfile=$1
8484- set x "$@" "$1"
8585- shift
8686- ;;
8787- *)
8888- set x "$@" "$1"
8989- shift
9090- ;;
9191- esac
9292- fi
9393- shift
9494-done
9595-9696-if test -z "$ofile" || test -z "$cfile"; then
9797- # If no `-o' option was seen then we might have been invoked from a
9898- # pattern rule where we don't need one. That is ok -- this is a
9999- # normal compilation that the losing compiler can handle. If no
100100- # `.c' file was seen then we are probably linking. That is also
101101- # ok.
102102- exec "$@"
103103-fi
104104-105105-# Name of file we expect compiler to create.
106106-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
107107-108108-# Create the lock directory.
109109-# Note: use `[/.-]' here to ensure that we don't use the same name
110110-# that we are using for the .o file. Also, base the name on the expected
111111-# object file name, since that is what matters with a parallel build.
112112-lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
113113-while true; do
114114- if mkdir "$lockdir" >/dev/null 2>&1; then
115115- break
116116- fi
117117- sleep 1
118118-done
119119-# FIXME: race condition here if user kills between mkdir and trap.
120120-trap "rmdir '$lockdir'; exit 1" 1 2 15
121121-122122-# Run the compile.
123123-"$@"
124124-ret=$?
125125-126126-if test -f "$cofile"; then
127127- mv "$cofile" "$ofile"
128128-elif test -f "${cofile}bj"; then
129129- mv "${cofile}bj" "$ofile"
130130-fi
131131-132132-rmdir "$lockdir"
133133-exit $ret
134134-135135-# Local Variables:
136136-# mode: shell-script
137137-# sh-indentation: 2
138138-# eval: (add-hook 'write-file-hooks 'time-stamp)
139139-# time-stamp-start: "scriptversion="
140140-# time-stamp-format: "%:y-%02m-%02d.%02H"
141141-# time-stamp-end: "$"
142142-# End:
+33
app/xmore/config.h.in
···11/* config.h.in. Generated from configure.ac by autoheader. */
2233+/* Define to 1 if you have the <inttypes.h> header file. */
44+#undef HAVE_INTTYPES_H
55+66+/* Define to 1 if you have the <memory.h> header file. */
77+#undef HAVE_MEMORY_H
88+99+/* Define to 1 if you have the <stdint.h> header file. */
1010+#undef HAVE_STDINT_H
1111+1212+/* Define to 1 if you have the <stdlib.h> header file. */
1313+#undef HAVE_STDLIB_H
1414+1515+/* Define to 1 if you have the <strings.h> header file. */
1616+#undef HAVE_STRINGS_H
1717+1818+/* Define to 1 if you have the <string.h> header file. */
1919+#undef HAVE_STRING_H
2020+2121+/* Define to 1 if you have the <sys/stat.h> header file. */
2222+#undef HAVE_SYS_STAT_H
2323+2424+/* Define to 1 if you have the <sys/types.h> header file. */
2525+#undef HAVE_SYS_TYPES_H
2626+2727+/* Define to 1 if you have the <unistd.h> header file. */
2828+#undef HAVE_UNISTD_H
2929+3030+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
3131+#undef NO_MINUS_C_MINUS_O
3232+333/* Name of package */
434#undef PACKAGE
535···26562757/* Patch version of this package */
2858#undef PACKAGE_VERSION_PATCHLEVEL
5959+6060+/* Define to 1 if you have the ANSI C header files. */
6161+#undef STDC_HEADERS
29623063/* Version number of package */
3164#undef VERSION
+4945-2479
app/xmore/configure
···11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
33-# Generated by GNU Autoconf 2.59 for xmore 1.0.1.
33+# Generated by GNU Autoconf 2.62 for xmore 1.0.1.
44#
55# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
66#
77-# Copyright (C) 2003 Free Software Foundation, Inc.
77+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
88+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
89# This configure script is free software; the Free Software Foundation
910# gives unlimited permission to copy, distribute and modify it.
1011## --------------------- ##
1112## M4sh Initialization. ##
1213## --------------------- ##
13141414-# Be Bourne compatible
1515+# Be more Bourne compatible
1616+DUALCASE=1; export DUALCASE # for MKS sh
1517if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1618 emulate sh
1719 NULLCMD=:
1818- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2020+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1921 # is contrary to our usage. Disable this feature.
2022 alias -g '${1+"$@"}'='"$@"'
2121-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2222- set -o posix
2323+ setopt NO_GLOB_SUBST
2424+else
2525+ case `(set -o) 2>/dev/null` in
2626+ *posix*) set -o posix ;;
2727+esac
2828+2329fi
2424-DUALCASE=1; export DUALCASE # for MKS sh
3030+3131+3232+3333+3434+# PATH needs CR
3535+# Avoid depending upon Character Ranges.
3636+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3737+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3838+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3939+as_cr_digits='0123456789'
4040+as_cr_alnum=$as_cr_Letters$as_cr_digits
4141+4242+as_nl='
4343+'
4444+export as_nl
4545+# Printing a long string crashes Solaris 7 /usr/bin/printf.
4646+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4747+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4848+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4949+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5050+ as_echo='printf %s\n'
5151+ as_echo_n='printf %s'
5252+else
5353+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5454+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5555+ as_echo_n='/usr/ucb/echo -n'
5656+ else
5757+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5858+ as_echo_n_body='eval
5959+ arg=$1;
6060+ case $arg in
6161+ *"$as_nl"*)
6262+ expr "X$arg" : "X\\(.*\\)$as_nl";
6363+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6464+ esac;
6565+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6666+ '
6767+ export as_echo_n_body
6868+ as_echo_n='sh -c $as_echo_n_body as_echo'
6969+ fi
7070+ export as_echo_body
7171+ as_echo='sh -c $as_echo_body as_echo'
7272+fi
7373+7474+# The user is always right.
7575+if test "${PATH_SEPARATOR+set}" != set; then
7676+ PATH_SEPARATOR=:
7777+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7878+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7979+ PATH_SEPARATOR=';'
8080+ }
8181+fi
25822683# Support unset when possible.
2784if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
···3188fi
328933909191+# IFS
9292+# We need space, tab and new line, in precisely that order. Quoting is
9393+# there to prevent editors from complaining about space-tab.
9494+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9595+# splitting by setting IFS to empty value.)
9696+IFS=" "" $as_nl"
9797+9898+# Find who we are. Look in the path if we contain no directory separator.
9999+case $0 in
100100+ *[\\/]* ) as_myself=$0 ;;
101101+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102102+for as_dir in $PATH
103103+do
104104+ IFS=$as_save_IFS
105105+ test -z "$as_dir" && as_dir=.
106106+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107107+done
108108+IFS=$as_save_IFS
109109+110110+ ;;
111111+esac
112112+# We did not find ourselves, most probably we were run as `sh COMMAND'
113113+# in which case we are not to be found in the path.
114114+if test "x$as_myself" = x; then
115115+ as_myself=$0
116116+fi
117117+if test ! -f "$as_myself"; then
118118+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119119+ { (exit 1); exit 1; }
120120+fi
121121+34122# Work around bugs in pre-3.0 UWIN ksh.
3535-$as_unset ENV MAIL MAILPATH
123123+for as_var in ENV MAIL MAILPATH
124124+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125125+done
36126PS1='$ '
37127PS2='> '
38128PS4='+ '
3912940130# NLS nuisances.
4141-for as_var in \
4242- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4343- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4444- LC_TELEPHONE LC_TIME
4545-do
4646- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4747- eval $as_var=C; export $as_var
4848- else
4949- $as_unset $as_var
5050- fi
5151-done
131131+LC_ALL=C
132132+export LC_ALL
133133+LANGUAGE=C
134134+export LANGUAGE
5213553136# Required to use basename.
5454-if expr a : '\(a\)' >/dev/null 2>&1; then
137137+if expr a : '\(a\)' >/dev/null 2>&1 &&
138138+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
55139 as_expr=expr
56140else
57141 as_expr=false
58142fi
591436060-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
144144+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61145 as_basename=basename
62146else
63147 as_basename=false
···651496615067151# Name of the executable.
6868-as_me=`$as_basename "$0" ||
152152+as_me=`$as_basename -- "$0" ||
69153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70154 X"$0" : 'X\(//\)$' \| \
7171- X"$0" : 'X\(/\)$' \| \
7272- . : '\(.\)' 2>/dev/null ||
7373-echo X/"$0" |
7474- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7575- /^X\/\(\/\/\)$/{ s//\1/; q; }
7676- /^X\/\(\/\).*/{ s//\1/; q; }
7777- s/.*/./; q'`
155155+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156156+$as_echo X/"$0" |
157157+ sed '/^.*\/\([^/][^/]*\)\/*$/{
158158+ s//\1/
159159+ q
160160+ }
161161+ /^X\/\(\/\/\)$/{
162162+ s//\1/
163163+ q
164164+ }
165165+ /^X\/\(\/\).*/{
166166+ s//\1/
167167+ q
168168+ }
169169+ s/.*/./; q'`
78170171171+# CDPATH.
172172+$as_unset CDPATH
791738080-# PATH needs CR, and LINENO needs CR and PATH.
8181-# Avoid depending upon Character Ranges.
8282-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8383-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8484-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8585-as_cr_digits='0123456789'
8686-as_cr_alnum=$as_cr_Letters$as_cr_digits
871748888-# The user is always right.
8989-if test "${PATH_SEPARATOR+set}" != set; then
9090- echo "#! /bin/sh" >conf$$.sh
9191- echo "exit 0" >>conf$$.sh
9292- chmod +x conf$$.sh
9393- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9494- PATH_SEPARATOR=';'
9595- else
9696- PATH_SEPARATOR=:
9797- fi
9898- rm -f conf$$.sh
175175+if test "x$CONFIG_SHELL" = x; then
176176+ if (eval ":") 2>/dev/null; then
177177+ as_have_required=yes
178178+else
179179+ as_have_required=no
99180fi
100181182182+ if test $as_have_required = yes && (eval ":
183183+(as_func_return () {
184184+ (exit \$1)
185185+}
186186+as_func_success () {
187187+ as_func_return 0
188188+}
189189+as_func_failure () {
190190+ as_func_return 1
191191+}
192192+as_func_ret_success () {
193193+ return 0
194194+}
195195+as_func_ret_failure () {
196196+ return 1
197197+}
101198102102- as_lineno_1=$LINENO
103103- as_lineno_2=$LINENO
104104- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105105- test "x$as_lineno_1" != "x$as_lineno_2" &&
106106- test "x$as_lineno_3" = "x$as_lineno_2" || {
107107- # Find who we are. Look in the path if we contain no path at all
108108- # relative or not.
109109- case $0 in
110110- *[\\/]* ) as_myself=$0 ;;
111111- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112112-for as_dir in $PATH
113113-do
114114- IFS=$as_save_IFS
115115- test -z "$as_dir" && as_dir=.
116116- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117117-done
199199+exitcode=0
200200+if as_func_success; then
201201+ :
202202+else
203203+ exitcode=1
204204+ echo as_func_success failed.
205205+fi
206206+207207+if as_func_failure; then
208208+ exitcode=1
209209+ echo as_func_failure succeeded.
210210+fi
118211119119- ;;
120120- esac
121121- # We did not find ourselves, most probably we were run as `sh COMMAND'
122122- # in which case we are not to be found in the path.
123123- if test "x$as_myself" = x; then
124124- as_myself=$0
125125- fi
126126- if test ! -f "$as_myself"; then
127127- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128128- { (exit 1); exit 1; }; }
129129- fi
130130- case $CONFIG_SHELL in
131131- '')
212212+if as_func_ret_success; then
213213+ :
214214+else
215215+ exitcode=1
216216+ echo as_func_ret_success failed.
217217+fi
218218+219219+if as_func_ret_failure; then
220220+ exitcode=1
221221+ echo as_func_ret_failure succeeded.
222222+fi
223223+224224+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225225+ :
226226+else
227227+ exitcode=1
228228+ echo positional parameters were not saved.
229229+fi
230230+231231+test \$exitcode = 0) || { (exit 1); exit 1; }
232232+233233+(
234234+ as_lineno_1=\$LINENO
235235+ as_lineno_2=\$LINENO
236236+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237237+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238238+") 2> /dev/null; then
239239+ :
240240+else
241241+ as_candidate_shells=
132242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134244do
135245 IFS=$as_save_IFS
136246 test -z "$as_dir" && as_dir=.
137137- for as_base in sh bash ksh sh5; do
138138- case $as_dir in
247247+ case $as_dir in
139248 /*)
140140- if ("$as_dir/$as_base" -c '
249249+ for as_base in sh bash ksh sh5; do
250250+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251251+ done;;
252252+ esac
253253+done
254254+IFS=$as_save_IFS
255255+256256+257257+ for as_shell in $as_candidate_shells $SHELL; do
258258+ # Try only shells that exist, to save several forks.
259259+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260260+ { ("$as_shell") 2> /dev/null <<\_ASEOF
261261+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262262+ emulate sh
263263+ NULLCMD=:
264264+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265265+ # is contrary to our usage. Disable this feature.
266266+ alias -g '${1+"$@"}'='"$@"'
267267+ setopt NO_GLOB_SUBST
268268+else
269269+ case `(set -o) 2>/dev/null` in
270270+ *posix*) set -o posix ;;
271271+esac
272272+273273+fi
274274+275275+276276+:
277277+_ASEOF
278278+}; then
279279+ CONFIG_SHELL=$as_shell
280280+ as_have_required=yes
281281+ if { "$as_shell" 2> /dev/null <<\_ASEOF
282282+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283283+ emulate sh
284284+ NULLCMD=:
285285+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286286+ # is contrary to our usage. Disable this feature.
287287+ alias -g '${1+"$@"}'='"$@"'
288288+ setopt NO_GLOB_SUBST
289289+else
290290+ case `(set -o) 2>/dev/null` in
291291+ *posix*) set -o posix ;;
292292+esac
293293+294294+fi
295295+296296+297297+:
298298+(as_func_return () {
299299+ (exit $1)
300300+}
301301+as_func_success () {
302302+ as_func_return 0
303303+}
304304+as_func_failure () {
305305+ as_func_return 1
306306+}
307307+as_func_ret_success () {
308308+ return 0
309309+}
310310+as_func_ret_failure () {
311311+ return 1
312312+}
313313+314314+exitcode=0
315315+if as_func_success; then
316316+ :
317317+else
318318+ exitcode=1
319319+ echo as_func_success failed.
320320+fi
321321+322322+if as_func_failure; then
323323+ exitcode=1
324324+ echo as_func_failure succeeded.
325325+fi
326326+327327+if as_func_ret_success; then
328328+ :
329329+else
330330+ exitcode=1
331331+ echo as_func_ret_success failed.
332332+fi
333333+334334+if as_func_ret_failure; then
335335+ exitcode=1
336336+ echo as_func_ret_failure succeeded.
337337+fi
338338+339339+if ( set x; as_func_ret_success y && test x = "$1" ); then
340340+ :
341341+else
342342+ exitcode=1
343343+ echo positional parameters were not saved.
344344+fi
345345+346346+test $exitcode = 0) || { (exit 1); exit 1; }
347347+348348+(
141349 as_lineno_1=$LINENO
142350 as_lineno_2=$LINENO
143143- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144351 test "x$as_lineno_1" != "x$as_lineno_2" &&
145145- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146146- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147147- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148148- CONFIG_SHELL=$as_dir/$as_base
149149- export CONFIG_SHELL
150150- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151151- fi;;
152152- esac
153153- done
154154-done
155155-;;
156156- esac
352352+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353353+354354+_ASEOF
355355+}; then
356356+ break
357357+fi
358358+359359+fi
360360+361361+ done
362362+363363+ if test "x$CONFIG_SHELL" != x; then
364364+ for as_var in BASH_ENV ENV
365365+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366366+ done
367367+ export CONFIG_SHELL
368368+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369369+fi
370370+371371+372372+ if test $as_have_required = no; then
373373+ echo This script requires a shell more modern than all the
374374+ echo shells that I found on your system. Please install a
375375+ echo modern shell, or manually run the script under such a
376376+ echo shell if you do have one.
377377+ { (exit 1); exit 1; }
378378+fi
379379+380380+381381+fi
382382+383383+fi
384384+385385+386386+387387+(eval "as_func_return () {
388388+ (exit \$1)
389389+}
390390+as_func_success () {
391391+ as_func_return 0
392392+}
393393+as_func_failure () {
394394+ as_func_return 1
395395+}
396396+as_func_ret_success () {
397397+ return 0
398398+}
399399+as_func_ret_failure () {
400400+ return 1
401401+}
402402+403403+exitcode=0
404404+if as_func_success; then
405405+ :
406406+else
407407+ exitcode=1
408408+ echo as_func_success failed.
409409+fi
410410+411411+if as_func_failure; then
412412+ exitcode=1
413413+ echo as_func_failure succeeded.
414414+fi
415415+416416+if as_func_ret_success; then
417417+ :
418418+else
419419+ exitcode=1
420420+ echo as_func_ret_success failed.
421421+fi
422422+423423+if as_func_ret_failure; then
424424+ exitcode=1
425425+ echo as_func_ret_failure succeeded.
426426+fi
427427+428428+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429429+ :
430430+else
431431+ exitcode=1
432432+ echo positional parameters were not saved.
433433+fi
434434+435435+test \$exitcode = 0") || {
436436+ echo No shell found that supports shell functions.
437437+ echo Please tell bug-autoconf@gnu.org about your system,
438438+ echo including any error possibly output before this message.
439439+ echo This can help us improve future autoconf versions.
440440+ echo Configuration will now proceed without shell functions.
441441+}
442442+443443+444444+445445+ as_lineno_1=$LINENO
446446+ as_lineno_2=$LINENO
447447+ test "x$as_lineno_1" != "x$as_lineno_2" &&
448448+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157449158450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159451 # uniformly replaced by the line number. The first 'sed' inserts a
160160- # line-number line before each line; the second 'sed' does the real
161161- # work. The second script uses 'N' to pair each line-number line
162162- # with the numbered line, and appends trailing '-' during
163163- # substitution so that $LINENO is not a special case at line end.
452452+ # line-number line after each line using $LINENO; the second 'sed'
453453+ # does the real work. The second script uses 'N' to pair each
454454+ # line-number line with the line containing $LINENO, and appends
455455+ # trailing '-' during substitution so that $LINENO is not a special
456456+ # case at line end.
164457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165165- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166166- sed '=' <$as_myself |
458458+ # scripts with optimization help from Paolo Bonzini. Blame Lee
459459+ # E. McMahon (1931-1989) for sed's syntax. :-)
460460+ sed -n '
461461+ p
462462+ /[$]LINENO/=
463463+ ' <$as_myself |
167464 sed '
465465+ s/[$]LINENO.*/&-/
466466+ t lineno
467467+ b
468468+ :lineno
168469 N
169169- s,$,-,
170170- : loop
171171- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
470470+ :loop
471471+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172472 t loop
173173- s,-$,,
174174- s,^['$as_cr_digits']*\n,,
473473+ s/-\n.*//
175474 ' >$as_me.lineno &&
176176- chmod +x $as_me.lineno ||
177177- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475475+ chmod +x "$as_me.lineno" ||
476476+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178477 { (exit 1); exit 1; }; }
179478180479 # Don't try to exec as it changes $[0], causing all sort of problems
181480 # (the dirname of $[0] is not the place where we might find the
182182- # original and so on. Autoconf is especially sensible to this).
183183- . ./$as_me.lineno
481481+ # original and so on. Autoconf is especially sensitive to this).
482482+ . "./$as_me.lineno"
184483 # Exit status is that of the last command.
185484 exit
186485}
187486188487189189-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190190- *c*,-n*) ECHO_N= ECHO_C='
191191-' ECHO_T=' ' ;;
192192- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193193- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194194-esac
488488+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489489+ as_dirname=dirname
490490+else
491491+ as_dirname=false
492492+fi
195493196196-if expr a : '\(a\)' >/dev/null 2>&1; then
494494+ECHO_C= ECHO_N= ECHO_T=
495495+case `echo -n x` in
496496+-n*)
497497+ case `echo 'x\c'` in
498498+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499499+ *) ECHO_C='\c';;
500500+ esac;;
501501+*)
502502+ ECHO_N='-n';;
503503+esac
504504+if expr a : '\(a\)' >/dev/null 2>&1 &&
505505+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
197506 as_expr=expr
198507else
199508 as_expr=false
200509fi
201510202511rm -f conf$$ conf$$.exe conf$$.file
203203-echo >conf$$.file
204204-if ln -s conf$$.file conf$$ 2>/dev/null; then
205205- # We could just check for DJGPP; but this test a) works b) is more generic
206206- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207207- if test -f conf$$.exe; then
208208- # Don't use ln at all; we don't have any links
209209- as_ln_s='cp -p'
210210- else
512512+if test -d conf$$.dir; then
513513+ rm -f conf$$.dir/conf$$.file
514514+else
515515+ rm -f conf$$.dir
516516+ mkdir conf$$.dir 2>/dev/null
517517+fi
518518+if (echo >conf$$.file) 2>/dev/null; then
519519+ if ln -s conf$$.file conf$$ 2>/dev/null; then
211520 as_ln_s='ln -s'
521521+ # ... but there are two gotchas:
522522+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523523+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524524+ # In both cases, we have to default to `cp -p'.
525525+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526526+ as_ln_s='cp -p'
527527+ elif ln conf$$.file conf$$ 2>/dev/null; then
528528+ as_ln_s=ln
529529+ else
530530+ as_ln_s='cp -p'
212531 fi
213213-elif ln conf$$.file conf$$ 2>/dev/null; then
214214- as_ln_s=ln
215532else
216533 as_ln_s='cp -p'
217534fi
218218-rm -f conf$$ conf$$.exe conf$$.file
535535+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536536+rmdir conf$$.dir 2>/dev/null
219537220538if mkdir -p . 2>/dev/null; then
221539 as_mkdir_p=:
···224542 as_mkdir_p=false
225543fi
226544227227-as_executable_p="test -f"
545545+if test -x / >/dev/null 2>&1; then
546546+ as_test_x='test -x'
547547+else
548548+ if ls -dL / >/dev/null 2>&1; then
549549+ as_ls_L_option=L
550550+ else
551551+ as_ls_L_option=
552552+ fi
553553+ as_test_x='
554554+ eval sh -c '\''
555555+ if test -d "$1"; then
556556+ test -d "$1/.";
557557+ else
558558+ case $1 in
559559+ -*)set "./$1";;
560560+ esac;
561561+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562562+ ???[sx]*):;;*)false;;esac;fi
563563+ '\'' sh
564564+ '
565565+fi
566566+as_executable_p=$as_test_x
228567229568# Sed expression to map a string onto a valid CPP name.
230569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
···233572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234573235574236236-# IFS
237237-# We need space, tab and new line, in precisely that order.
238238-as_nl='
239239-'
240240-IFS=" $as_nl"
241575242242-# CDPATH.
243243-$as_unset CDPATH
244244-576576+exec 7<&0 </dev/null 6>&1
245577246578# Name of the host.
247579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248580# so uname gets run too.
249581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250250-251251-exec 6>&1
252582253583#
254584# Initializations.
255585#
256586ac_default_prefix=/usr/local
587587+ac_clean_files=
257588ac_config_libobj_dir=.
589589+LIBOBJS=
258590cross_compiling=no
259591subdirs=
260592MFLAGS=
261593MAKEFLAGS=
262594SHELL=${CONFIG_SHELL-/bin/sh}
263263-264264-# Maximum number of lines to put in a shell here document.
265265-# This variable seems obsolete. It should probably be removed, and
266266-# only ac_max_sed_lines should be used.
267267-: ${ac_max_here_lines=38}
268595269596# Identity of this package.
270597PACKAGE_NAME='xmore'
···273600PACKAGE_STRING='xmore 1.0.1'
274601PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275602276276-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XPRINT_UTIL_CFLAGS XPRINT_UTIL_LIBS XMORE_CFLAGS XMORE_LIBS APPDEFS_CFLAGS APPDEFS_LIBS appdefaultdir build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
603603+# Factoring default headers for most tests.
604604+ac_includes_default="\
605605+#include <stdio.h>
606606+#ifdef HAVE_SYS_TYPES_H
607607+# include <sys/types.h>
608608+#endif
609609+#ifdef HAVE_SYS_STAT_H
610610+# include <sys/stat.h>
611611+#endif
612612+#ifdef STDC_HEADERS
613613+# include <stdlib.h>
614614+# include <stddef.h>
615615+#else
616616+# ifdef HAVE_STDLIB_H
617617+# include <stdlib.h>
618618+# endif
619619+#endif
620620+#ifdef HAVE_STRING_H
621621+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622622+# include <memory.h>
623623+# endif
624624+# include <string.h>
625625+#endif
626626+#ifdef HAVE_STRINGS_H
627627+# include <strings.h>
628628+#endif
629629+#ifdef HAVE_INTTYPES_H
630630+# include <inttypes.h>
631631+#endif
632632+#ifdef HAVE_STDINT_H
633633+# include <stdint.h>
634634+#endif
635635+#ifdef HAVE_UNISTD_H
636636+# include <unistd.h>
637637+#endif"
638638+639639+ac_subst_vars='SHELL
640640+PATH_SEPARATOR
641641+PACKAGE_NAME
642642+PACKAGE_TARNAME
643643+PACKAGE_VERSION
644644+PACKAGE_STRING
645645+PACKAGE_BUGREPORT
646646+exec_prefix
647647+prefix
648648+program_transform_name
649649+bindir
650650+sbindir
651651+libexecdir
652652+datarootdir
653653+datadir
654654+sysconfdir
655655+sharedstatedir
656656+localstatedir
657657+includedir
658658+oldincludedir
659659+docdir
660660+infodir
661661+htmldir
662662+dvidir
663663+pdfdir
664664+psdir
665665+libdir
666666+localedir
667667+mandir
668668+DEFS
669669+ECHO_C
670670+ECHO_N
671671+ECHO_T
672672+LIBS
673673+build_alias
674674+host_alias
675675+target_alias
676676+INSTALL_PROGRAM
677677+INSTALL_SCRIPT
678678+INSTALL_DATA
679679+CYGPATH_W
680680+PACKAGE
681681+VERSION
682682+ACLOCAL
683683+AUTOCONF
684684+AUTOMAKE
685685+AUTOHEADER
686686+MAKEINFO
687687+install_sh
688688+STRIP
689689+INSTALL_STRIP_PROGRAM
690690+mkdir_p
691691+AWK
692692+SET_MAKE
693693+am__leading_dot
694694+AMTAR
695695+am__tar
696696+am__untar
697697+MAINTAINER_MODE_TRUE
698698+MAINTAINER_MODE_FALSE
699699+MAINT
700700+CC
701701+CFLAGS
702702+LDFLAGS
703703+CPPFLAGS
704704+ac_ct_CC
705705+EXEEXT
706706+OBJEXT
707707+DEPDIR
708708+am__include
709709+am__quote
710710+AMDEP_TRUE
711711+AMDEP_FALSE
712712+AMDEPBACKSLASH
713713+CCDEPMODE
714714+am__fastdepCC_TRUE
715715+am__fastdepCC_FALSE
716716+CPP
717717+GREP
718718+EGREP
719719+CWARNFLAGS
720720+CHANGELOG_CMD
721721+PKG_CONFIG
722722+INSTALL_CMD
723723+build
724724+build_cpu
725725+build_vendor
726726+build_os
727727+host
728728+host_cpu
729729+host_vendor
730730+host_os
731731+APP_MAN_SUFFIX
732732+LIB_MAN_SUFFIX
733733+FILE_MAN_SUFFIX
734734+MISC_MAN_SUFFIX
735735+DRIVER_MAN_SUFFIX
736736+ADMIN_MAN_SUFFIX
737737+APP_MAN_DIR
738738+LIB_MAN_DIR
739739+FILE_MAN_DIR
740740+MISC_MAN_DIR
741741+DRIVER_MAN_DIR
742742+ADMIN_MAN_DIR
743743+AM_DEFAULT_VERBOSITY
744744+XMORE_CFLAGS
745745+XMORE_LIBS
746746+APPDEFS_CFLAGS
747747+APPDEFS_LIBS
748748+appdefaultdir
749749+LIBOBJS
750750+LTLIBOBJS'
277751ac_subst_files=''
752752+ac_user_opts='
753753+enable_option_checking
754754+enable_maintainer_mode
755755+enable_dependency_tracking
756756+enable_strict_compilation
757757+with_release_version
758758+with_appdefaultdir
759759+'
760760+ ac_precious_vars='build_alias
761761+host_alias
762762+target_alias
763763+CC
764764+CFLAGS
765765+LDFLAGS
766766+LIBS
767767+CPPFLAGS
768768+CPP
769769+PKG_CONFIG
770770+XMORE_CFLAGS
771771+XMORE_LIBS
772772+APPDEFS_CFLAGS
773773+APPDEFS_LIBS'
774774+278775279776# Initialize some variables set by options.
280777ac_init_help=
281778ac_init_version=false
779779+ac_unrecognized_opts=
780780+ac_unrecognized_sep=
282781# The variables have the same names as the options, with
283782# dashes changed to underlines.
284783cache_file=/dev/null
···301800# and all the variables that are supposed to be based on exec_prefix
302801# by default will actually change.
303802# Use braces instead of parens because sh, perl, etc. also accept them.
803803+# (The list follows the same order as the GNU Coding Standards.)
304804bindir='${exec_prefix}/bin'
305805sbindir='${exec_prefix}/sbin'
306806libexecdir='${exec_prefix}/libexec'
307307-datadir='${prefix}/share'
807807+datarootdir='${prefix}/share'
808808+datadir='${datarootdir}'
308809sysconfdir='${prefix}/etc'
309810sharedstatedir='${prefix}/com'
310811localstatedir='${prefix}/var'
311311-libdir='${exec_prefix}/lib'
312812includedir='${prefix}/include'
313813oldincludedir='/usr/include'
314314-infodir='${prefix}/info'
315315-mandir='${prefix}/man'
814814+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
815815+infodir='${datarootdir}/info'
816816+htmldir='${docdir}'
817817+dvidir='${docdir}'
818818+pdfdir='${docdir}'
819819+psdir='${docdir}'
820820+libdir='${exec_prefix}/lib'
821821+localedir='${datarootdir}/locale'
822822+mandir='${datarootdir}/man'
316823317824ac_prev=
825825+ac_dashdash=
318826for ac_option
319827do
320828 # If the previous option needs an argument, assign it.
321829 if test -n "$ac_prev"; then
322322- eval "$ac_prev=\$ac_option"
830830+ eval $ac_prev=\$ac_option
323831 ac_prev=
324832 continue
325833 fi
326834327327- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
835835+ case $ac_option in
836836+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837837+ *) ac_optarg=yes ;;
838838+ esac
328839329840 # Accept the important Cygnus configure options, so we can diagnose typos.
330841331331- case $ac_option in
842842+ case $ac_dashdash$ac_option in
843843+ --)
844844+ ac_dashdash=yes ;;
332845333846 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334847 ac_prev=bindir ;;
···350863 --config-cache | -C)
351864 cache_file=config.cache ;;
352865353353- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
866866+ -datadir | --datadir | --datadi | --datad)
354867 ac_prev=datadir ;;
355355- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356356- | --da=*)
868868+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
357869 datadir=$ac_optarg ;;
358870871871+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872872+ | --dataroo | --dataro | --datar)
873873+ ac_prev=datarootdir ;;
874874+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875875+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876876+ datarootdir=$ac_optarg ;;
877877+359878 -disable-* | --disable-*)
360360- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879879+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361880 # Reject names that are not valid shell variable names.
362362- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363363- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
881881+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882882+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
364883 { (exit 1); exit 1; }; }
365365- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366366- eval "enable_$ac_feature=no" ;;
884884+ ac_useropt_orig=$ac_useropt
885885+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886886+ case $ac_user_opts in
887887+ *"
888888+"enable_$ac_useropt"
889889+"*) ;;
890890+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891891+ ac_unrecognized_sep=', ';;
892892+ esac
893893+ eval enable_$ac_useropt=no ;;
894894+895895+ -docdir | --docdir | --docdi | --doc | --do)
896896+ ac_prev=docdir ;;
897897+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
898898+ docdir=$ac_optarg ;;
899899+900900+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901901+ ac_prev=dvidir ;;
902902+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
903903+ dvidir=$ac_optarg ;;
367904368905 -enable-* | --enable-*)
369369- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906906+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370907 # Reject names that are not valid shell variable names.
371371- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372372- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
908908+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909909+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
373910 { (exit 1); exit 1; }; }
374374- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375375- case $ac_option in
376376- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377377- *) ac_optarg=yes ;;
911911+ ac_useropt_orig=$ac_useropt
912912+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913913+ case $ac_user_opts in
914914+ *"
915915+"enable_$ac_useropt"
916916+"*) ;;
917917+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918918+ ac_unrecognized_sep=', ';;
378919 esac
379379- eval "enable_$ac_feature='$ac_optarg'" ;;
920920+ eval enable_$ac_useropt=\$ac_optarg ;;
380921381922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
···403944 -host=* | --host=* | --hos=* | --ho=*)
404945 host_alias=$ac_optarg ;;
405946947947+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948948+ ac_prev=htmldir ;;
949949+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950950+ | --ht=*)
951951+ htmldir=$ac_optarg ;;
952952+406953 -includedir | --includedir | --includedi | --included | --include \
407954 | --includ | --inclu | --incl | --inc)
408955 ac_prev=includedir ;;
···427974 | --libexe=* | --libex=* | --libe=*)
428975 libexecdir=$ac_optarg ;;
429976977977+ -localedir | --localedir | --localedi | --localed | --locale)
978978+ ac_prev=localedir ;;
979979+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980980+ localedir=$ac_optarg ;;
981981+430982 -localstatedir | --localstatedir | --localstatedi | --localstated \
431431- | --localstate | --localstat | --localsta | --localst \
432432- | --locals | --local | --loca | --loc | --lo)
983983+ | --localstate | --localstat | --localsta | --localst | --locals)
433984 ac_prev=localstatedir ;;
434985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435435- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436436- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
986986+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437987 localstatedir=$ac_optarg ;;
438988439989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
···4981048 | --progr-tra=* | --program-tr=* | --program-t=*)
4991049 program_transform_name=$ac_optarg ;;
500105010511051+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10521052+ ac_prev=pdfdir ;;
10531053+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10541054+ pdfdir=$ac_optarg ;;
10551055+10561056+ -psdir | --psdir | --psdi | --psd | --ps)
10571057+ ac_prev=psdir ;;
10581058+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10591059+ psdir=$ac_optarg ;;
10601060+5011061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5021062 | -silent | --silent | --silen | --sile | --sil)
5031063 silent=yes ;;
···5481108 ac_init_version=: ;;
54911095501110 -with-* | --with-*)
551551- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11111111+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5521112 # Reject names that are not valid shell variable names.
553553- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554554- { echo "$as_me: error: invalid package name: $ac_package" >&2
11131113+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11141114+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5551115 { (exit 1); exit 1; }; }
556556- ac_package=`echo $ac_package| sed 's/-/_/g'`
557557- case $ac_option in
558558- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559559- *) ac_optarg=yes ;;
11161116+ ac_useropt_orig=$ac_useropt
11171117+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11181118+ case $ac_user_opts in
11191119+ *"
11201120+"with_$ac_useropt"
11211121+"*) ;;
11221122+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11231123+ ac_unrecognized_sep=', ';;
5601124 esac
561561- eval "with_$ac_package='$ac_optarg'" ;;
11251125+ eval with_$ac_useropt=\$ac_optarg ;;
56211265631127 -without-* | --without-*)
564564- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11281128+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5651129 # Reject names that are not valid shell variable names.
566566- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567567- { echo "$as_me: error: invalid package name: $ac_package" >&2
11301130+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11311131+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5681132 { (exit 1); exit 1; }; }
569569- ac_package=`echo $ac_package | sed 's/-/_/g'`
570570- eval "with_$ac_package=no" ;;
11331133+ ac_useropt_orig=$ac_useropt
11341134+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11351135+ case $ac_user_opts in
11361136+ *"
11371137+"with_$ac_useropt"
11381138+"*) ;;
11391139+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11401140+ ac_unrecognized_sep=', ';;
11411141+ esac
11421142+ eval with_$ac_useropt=no ;;
57111435721144 --x)
5731145 # Obsolete; use --with-x.
···5871159 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5881160 x_libraries=$ac_optarg ;;
5891161590590- -*) { echo "$as_me: error: unrecognized option: $ac_option
11621162+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
5911163Try \`$0 --help' for more information." >&2
5921164 { (exit 1); exit 1; }; }
5931165 ;;
···5961168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
5971169 # Reject names that are not valid shell variable names.
5981170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599599- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11711171+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6001172 { (exit 1); exit 1; }; }
601601- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602602- eval "$ac_envvar='$ac_optarg'"
11731173+ eval $ac_envvar=\$ac_optarg
6031174 export $ac_envvar ;;
60411756051176 *)
6061177 # FIXME: should be removed in autoconf 3.0.
607607- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11781178+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6081179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609609- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11801180+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6101181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6111182 ;;
6121183···61511866161187if test -n "$ac_prev"; then
6171188 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618618- { echo "$as_me: error: missing argument to $ac_option" >&2
11891189+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2
6191190 { (exit 1); exit 1; }; }
6201191fi
6211192622622-# Be sure to have absolute paths.
623623-for ac_var in exec_prefix prefix
624624-do
625625- eval ac_val=$`echo $ac_var`
626626- case $ac_val in
627627- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628628- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629629- { (exit 1); exit 1; }; };;
11931193+if test -n "$ac_unrecognized_opts"; then
11941194+ case $enable_option_checking in
11951195+ no) ;;
11961196+ fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
11971197+ { (exit 1); exit 1; }; } ;;
11981198+ *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
6301199 esac
631631-done
12001200+fi
6321201633633-# Be sure to have absolute paths.
634634-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635635- localstatedir libdir includedir oldincludedir infodir mandir
12021202+# Check all directory arguments for consistency.
12031203+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12041204+ datadir sysconfdir sharedstatedir localstatedir includedir \
12051205+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12061206+ libdir localedir mandir
6361207do
637637- eval ac_val=$`echo $ac_var`
12081208+ eval ac_val=\$$ac_var
12091209+ # Remove trailing slashes.
6381210 case $ac_val in
639639- [\\/$]* | ?:[\\/]* ) ;;
640640- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641641- { (exit 1); exit 1; }; };;
12111211+ */ )
12121212+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12131213+ eval $ac_var=\$ac_val;;
6421214 esac
12151215+ # Be sure to have absolute directory names.
12161216+ case $ac_val in
12171217+ [\\/$]* | ?:[\\/]* ) continue;;
12181218+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12191219+ esac
12201220+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12211221+ { (exit 1); exit 1; }; }
6431222done
64412236451224# There might be people who depend on the old broken behavior: `$host'
···6531232if test "x$host_alias" != x; then
6541233 if test "x$build_alias" = x; then
6551234 cross_compiling=maybe
656656- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
12351235+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6571236 If a cross compiler is detected then cross compile mode will be used." >&2
6581237 elif test "x$build_alias" != "x$host_alias"; then
6591238 cross_compiling=yes
···6641243test -n "$host_alias" && ac_tool_prefix=$host_alias-
66512446661245test "$silent" = yes && exec 6>/dev/null
12461246+12471247+12481248+ac_pwd=`pwd` && test -n "$ac_pwd" &&
12491249+ac_ls_di=`ls -di .` &&
12501250+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12511251+ { $as_echo "$as_me: error: Working directory cannot be determined" >&2
12521252+ { (exit 1); exit 1; }; }
12531253+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12541254+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
12551255+ { (exit 1); exit 1; }; }
667125666812576691258# Find the source files, if location was not specified.
6701259if test -z "$srcdir"; then
6711260 ac_srcdir_defaulted=yes
672672- # Try the directory containing this script, then its parent.
673673- ac_confdir=`(dirname "$0") 2>/dev/null ||
674674-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675675- X"$0" : 'X\(//\)[^/]' \| \
676676- X"$0" : 'X\(//\)$' \| \
677677- X"$0" : 'X\(/\)' \| \
678678- . : '\(.\)' 2>/dev/null ||
679679-echo X"$0" |
680680- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681681- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682682- /^X\(\/\/\)$/{ s//\1/; q; }
683683- /^X\(\/\).*/{ s//\1/; q; }
684684- s/.*/./; q'`
12611261+ # Try the directory containing this script, then the parent directory.
12621262+ ac_confdir=`$as_dirname -- "$as_myself" ||
12631263+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12641264+ X"$as_myself" : 'X\(//\)[^/]' \| \
12651265+ X"$as_myself" : 'X\(//\)$' \| \
12661266+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12671267+$as_echo X"$as_myself" |
12681268+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12691269+ s//\1/
12701270+ q
12711271+ }
12721272+ /^X\(\/\/\)[^/].*/{
12731273+ s//\1/
12741274+ q
12751275+ }
12761276+ /^X\(\/\/\)$/{
12771277+ s//\1/
12781278+ q
12791279+ }
12801280+ /^X\(\/\).*/{
12811281+ s//\1/
12821282+ q
12831283+ }
12841284+ s/.*/./; q'`
6851285 srcdir=$ac_confdir
686686- if test ! -r $srcdir/$ac_unique_file; then
12861286+ if test ! -r "$srcdir/$ac_unique_file"; then
6871287 srcdir=..
6881288 fi
6891289else
6901290 ac_srcdir_defaulted=no
6911291fi
692692-if test ! -r $srcdir/$ac_unique_file; then
693693- if test "$ac_srcdir_defaulted" = yes; then
694694- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695695- { (exit 1); exit 1; }; }
696696- else
697697- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12921292+if test ! -r "$srcdir/$ac_unique_file"; then
12931293+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12941294+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6981295 { (exit 1); exit 1; }; }
699699- fi
7001296fi
701701-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702702- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
12971297+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12981298+ac_abs_confdir=`(
12991299+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
7031300 { (exit 1); exit 1; }; }
704704-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705705-ac_env_build_alias_set=${build_alias+set}
706706-ac_env_build_alias_value=$build_alias
707707-ac_cv_env_build_alias_set=${build_alias+set}
708708-ac_cv_env_build_alias_value=$build_alias
709709-ac_env_host_alias_set=${host_alias+set}
710710-ac_env_host_alias_value=$host_alias
711711-ac_cv_env_host_alias_set=${host_alias+set}
712712-ac_cv_env_host_alias_value=$host_alias
713713-ac_env_target_alias_set=${target_alias+set}
714714-ac_env_target_alias_value=$target_alias
715715-ac_cv_env_target_alias_set=${target_alias+set}
716716-ac_cv_env_target_alias_value=$target_alias
717717-ac_env_CC_set=${CC+set}
718718-ac_env_CC_value=$CC
719719-ac_cv_env_CC_set=${CC+set}
720720-ac_cv_env_CC_value=$CC
721721-ac_env_CFLAGS_set=${CFLAGS+set}
722722-ac_env_CFLAGS_value=$CFLAGS
723723-ac_cv_env_CFLAGS_set=${CFLAGS+set}
724724-ac_cv_env_CFLAGS_value=$CFLAGS
725725-ac_env_LDFLAGS_set=${LDFLAGS+set}
726726-ac_env_LDFLAGS_value=$LDFLAGS
727727-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728728-ac_cv_env_LDFLAGS_value=$LDFLAGS
729729-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730730-ac_env_CPPFLAGS_value=$CPPFLAGS
731731-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732732-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733733-ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734734-ac_env_PKG_CONFIG_value=$PKG_CONFIG
735735-ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736736-ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737737-ac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
738738-ac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
739739-ac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
740740-ac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
741741-ac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
742742-ac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
743743-ac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
744744-ac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
745745-ac_env_XPRINT_UTIL_CFLAGS_set=${XPRINT_UTIL_CFLAGS+set}
746746-ac_env_XPRINT_UTIL_CFLAGS_value=$XPRINT_UTIL_CFLAGS
747747-ac_cv_env_XPRINT_UTIL_CFLAGS_set=${XPRINT_UTIL_CFLAGS+set}
748748-ac_cv_env_XPRINT_UTIL_CFLAGS_value=$XPRINT_UTIL_CFLAGS
749749-ac_env_XPRINT_UTIL_LIBS_set=${XPRINT_UTIL_LIBS+set}
750750-ac_env_XPRINT_UTIL_LIBS_value=$XPRINT_UTIL_LIBS
751751-ac_cv_env_XPRINT_UTIL_LIBS_set=${XPRINT_UTIL_LIBS+set}
752752-ac_cv_env_XPRINT_UTIL_LIBS_value=$XPRINT_UTIL_LIBS
753753-ac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
754754-ac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
755755-ac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
756756-ac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
757757-ac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
758758-ac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
759759-ac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
760760-ac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
13011301+ pwd)`
13021302+# When building in place, set srcdir=.
13031303+if test "$ac_abs_confdir" = "$ac_pwd"; then
13041304+ srcdir=.
13051305+fi
13061306+# Remove unnecessary trailing slashes from srcdir.
13071307+# Double slashes in file names in object file debugging info
13081308+# mess up M-x gdb in Emacs.
13091309+case $srcdir in
13101310+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
13111311+esac
13121312+for ac_var in $ac_precious_vars; do
13131313+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
13141314+ eval ac_env_${ac_var}_value=\$${ac_var}
13151315+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
13161316+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
13171317+done
76113187621319#
7631320# Report the --help message.
···7861343 -n, --no-create do not create output files
7871344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
7881345789789-_ACEOF
790790-791791- cat <<_ACEOF
7921346Installation directories:
7931347 --prefix=PREFIX install architecture-independent files in PREFIX
794794- [$ac_default_prefix]
13481348+ [$ac_default_prefix]
7951349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
796796- [PREFIX]
13501350+ [PREFIX]
79713517981352By default, \`make install' will install all the files in
7991353\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
···8031357For better control, use the options below.
80413588051359Fine tuning of the installation directories:
806806- --bindir=DIR user executables [EPREFIX/bin]
807807- --sbindir=DIR system admin executables [EPREFIX/sbin]
808808- --libexecdir=DIR program executables [EPREFIX/libexec]
809809- --datadir=DIR read-only architecture-independent data [PREFIX/share]
810810- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
811811- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
812812- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
813813- --libdir=DIR object code libraries [EPREFIX/lib]
814814- --includedir=DIR C header files [PREFIX/include]
815815- --oldincludedir=DIR C header files for non-gcc [/usr/include]
816816- --infodir=DIR info documentation [PREFIX/info]
817817- --mandir=DIR man documentation [PREFIX/man]
13601360+ --bindir=DIR user executables [EPREFIX/bin]
13611361+ --sbindir=DIR system admin executables [EPREFIX/sbin]
13621362+ --libexecdir=DIR program executables [EPREFIX/libexec]
13631363+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13641364+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13651365+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
13661366+ --libdir=DIR object code libraries [EPREFIX/lib]
13671367+ --includedir=DIR C header files [PREFIX/include]
13681368+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
13691369+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
13701370+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
13711371+ --infodir=DIR info documentation [DATAROOTDIR/info]
13721372+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
13731373+ --mandir=DIR man documentation [DATAROOTDIR/man]
13741374+ --docdir=DIR documentation root [DATAROOTDIR/doc/xmore]
13751375+ --htmldir=DIR html documentation [DOCDIR]
13761376+ --dvidir=DIR dvi documentation [DOCDIR]
13771377+ --pdfdir=DIR pdf documentation [DOCDIR]
13781378+ --psdir=DIR ps documentation [DOCDIR]
8181379_ACEOF
81913808201381 cat <<\_ACEOF
···8371398 cat <<\_ACEOF
83813998391400Optional Features:
14011401+ --disable-option-checking ignore unrecognized --enable/--with options
8401402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8411403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
8421404 --enable-maintainer-mode enable make rules and dependencies not useful
8431405 (and sometimes confusing) to the casual installer
8441406 --disable-dependency-tracking speeds up one-time build
8451407 --enable-dependency-tracking do not reject slow dependency extractors
846846- --enable-xprint Enable XPrint support
14081408+ --enable-strict-compilation
14091409+ Enable all warnings from compiler and make them
14101410+ errors (default: disabled)
84714118481412Optional Packages:
8491413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
8501414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
8511415 --with-release-version=STRING
8521416 Use release version string in package name
14171417+ --with-appdefaultdir=<pathname>
14181418+ specify directory for app-defaults files (default is
14191419+ autodetected)
85314208541421Some influential environment variables:
8551422 CC C compiler command
8561423 CFLAGS C compiler flags
8571424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8581425 nonstandard directory <lib dir>
859859- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
860860- headers in a nonstandard directory <include dir>
14261426+ LIBS libraries to pass to the linker, e.g. -l<library>
14271427+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
14281428+ you have headers in a nonstandard directory <include dir>
14291429+ CPP C preprocessor
8611430 PKG_CONFIG path to pkg-config utility
862862- TMP_XAW_CFLAGS
863863- C compiler flags for TMP_XAW, overriding pkg-config
864864- TMP_XAW_LIBS
865865- linker flags for TMP_XAW, overriding pkg-config
866866- XPRINT_UTIL_CFLAGS
867867- C compiler flags for XPRINT_UTIL, overriding pkg-config
868868- XPRINT_UTIL_LIBS
869869- linker flags for XPRINT_UTIL, overriding pkg-config
14311431+ XMORE_CFLAGS
14321432+ C compiler flags for XMORE, overriding pkg-config
14331433+ XMORE_LIBS linker flags for XMORE, overriding pkg-config
8701434 APPDEFS_CFLAGS
8711435 C compiler flags for APPDEFS, overriding pkg-config
8721436 APPDEFS_LIBS
···87714418781442Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8791443_ACEOF
14441444+ac_status=$?
8801445fi
88114468821447if test "$ac_init_help" = "recursive"; then
8831448 # If there are subdirs, report their specific --help.
884884- ac_popdir=`pwd`
8851449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886886- test -d $ac_dir || continue
14501450+ test -d "$ac_dir" ||
14511451+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14521452+ continue
8871453 ac_builddir=.
8881454889889-if test "$ac_dir" != .; then
890890- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891891- # A "../" for each directory in $ac_dir_suffix.
892892- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893893-else
894894- ac_dir_suffix= ac_top_builddir=
895895-fi
14551455+case "$ac_dir" in
14561456+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14571457+*)
14581458+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14591459+ # A ".." for each directory in $ac_dir_suffix.
14601460+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14611461+ case $ac_top_builddir_sub in
14621462+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14631463+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14641464+ esac ;;
14651465+esac
14661466+ac_abs_top_builddir=$ac_pwd
14671467+ac_abs_builddir=$ac_pwd$ac_dir_suffix
14681468+# for backward compatibility:
14691469+ac_top_builddir=$ac_top_build_prefix
89614708971471case $srcdir in
898898- .) # No --srcdir option. We are building in place.
14721472+ .) # We are building in place.
8991473 ac_srcdir=.
900900- if test -z "$ac_top_builddir"; then
901901- ac_top_srcdir=.
902902- else
903903- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904904- fi ;;
905905- [\\/]* | ?:[\\/]* ) # Absolute path.
14741474+ ac_top_srcdir=$ac_top_builddir_sub
14751475+ ac_abs_top_srcdir=$ac_pwd ;;
14761476+ [\\/]* | ?:[\\/]* ) # Absolute name.
9061477 ac_srcdir=$srcdir$ac_dir_suffix;
907907- ac_top_srcdir=$srcdir ;;
908908- *) # Relative path.
909909- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910910- ac_top_srcdir=$ac_top_builddir$srcdir ;;
911911-esac
912912-913913-# Do not use `cd foo && pwd` to compute absolute paths, because
914914-# the directories may not exist.
915915-case `pwd` in
916916-.) ac_abs_builddir="$ac_dir";;
917917-*)
918918- case "$ac_dir" in
919919- .) ac_abs_builddir=`pwd`;;
920920- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921921- *) ac_abs_builddir=`pwd`/"$ac_dir";;
922922- esac;;
923923-esac
924924-case $ac_abs_builddir in
925925-.) ac_abs_top_builddir=${ac_top_builddir}.;;
926926-*)
927927- case ${ac_top_builddir}. in
928928- .) ac_abs_top_builddir=$ac_abs_builddir;;
929929- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930930- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931931- esac;;
932932-esac
933933-case $ac_abs_builddir in
934934-.) ac_abs_srcdir=$ac_srcdir;;
935935-*)
936936- case $ac_srcdir in
937937- .) ac_abs_srcdir=$ac_abs_builddir;;
938938- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939939- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940940- esac;;
941941-esac
942942-case $ac_abs_builddir in
943943-.) ac_abs_top_srcdir=$ac_top_srcdir;;
944944-*)
945945- case $ac_top_srcdir in
946946- .) ac_abs_top_srcdir=$ac_abs_builddir;;
947947- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948948- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
949949- esac;;
14781478+ ac_top_srcdir=$srcdir
14791479+ ac_abs_top_srcdir=$srcdir ;;
14801480+ *) # Relative name.
14811481+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14821482+ ac_top_srcdir=$ac_top_build_prefix$srcdir
14831483+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9501484esac
14851485+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9511486952952- cd $ac_dir
953953- # Check for guested configure; otherwise get Cygnus style configure.
954954- if test -f $ac_srcdir/configure.gnu; then
955955- echo
956956- $SHELL $ac_srcdir/configure.gnu --help=recursive
957957- elif test -f $ac_srcdir/configure; then
958958- echo
959959- $SHELL $ac_srcdir/configure --help=recursive
960960- elif test -f $ac_srcdir/configure.ac ||
961961- test -f $ac_srcdir/configure.in; then
962962- echo
963963- $ac_configure --help
14871487+ cd "$ac_dir" || { ac_status=$?; continue; }
14881488+ # Check for guested configure.
14891489+ if test -f "$ac_srcdir/configure.gnu"; then
14901490+ echo &&
14911491+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14921492+ elif test -f "$ac_srcdir/configure"; then
14931493+ echo &&
14941494+ $SHELL "$ac_srcdir/configure" --help=recursive
9641495 else
965965- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
966966- fi
967967- cd $ac_popdir
14961496+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14971497+ fi || ac_status=$?
14981498+ cd "$ac_pwd" || { ac_status=$?; break; }
9681499 done
9691500fi
9701501971971-test -n "$ac_init_help" && exit 0
15021502+test -n "$ac_init_help" && exit $ac_status
9721503if $ac_init_version; then
9731504 cat <<\_ACEOF
9741505xmore configure 1.0.1
975975-generated by GNU Autoconf 2.59
15061506+generated by GNU Autoconf 2.62
9761507977977-Copyright (C) 2003 Free Software Foundation, Inc.
15081508+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15091509+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9781510This configure script is free software; the Free Software Foundation
9791511gives unlimited permission to copy, distribute and modify it.
9801512_ACEOF
981981- exit 0
15131513+ exit
9821514fi
983983-exec 5>config.log
984984-cat >&5 <<_ACEOF
15151515+cat >config.log <<_ACEOF
9851516This file contains any messages produced by compilers while
9861517running configure, to aid debugging if configure makes a mistake.
98715189881519It was created by xmore $as_me 1.0.1, which was
989989-generated by GNU Autoconf 2.59. Invocation command line was
15201520+generated by GNU Autoconf 2.62. Invocation command line was
99015219911522 $ $0 $@
99215239931524_ACEOF
15251525+exec 5>>config.log
9941526{
9951527cat <<_ASUNAME
9961528## --------- ##
···10091541/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10101542/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10111543/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
10121012-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
15441544+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10131545/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10141546/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10151547/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
···10211553do
10221554 IFS=$as_save_IFS
10231555 test -z "$as_dir" && as_dir=.
10241024- echo "PATH: $as_dir"
15561556+ $as_echo "PATH: $as_dir"
10251557done
15581558+IFS=$as_save_IFS
1026155910271560} >&5
10281561···10441577ac_configure_args=
10451578ac_configure_args0=
10461579ac_configure_args1=
10471047-ac_sep=
10481580ac_must_keep_next=false
10491581for ac_pass in 1 2
10501582do
···10551587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10561588 | -silent | --silent | --silen | --sile | --sil)
10571589 continue ;;
10581058- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10591059- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15901590+ *\'*)
15911591+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10601592 esac
10611593 case $ac_pass in
10621594 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
···10771609 -* ) ac_must_keep_next=true ;;
10781610 esac
10791611 fi
10801080- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10811081- # Get rid of the leading space.
10821082- ac_sep=" "
16121612+ ac_configure_args="$ac_configure_args '$ac_arg'"
10831613 ;;
10841614 esac
10851615 done
···10901620# When interrupted or exit'd, cleanup temporary files, and complete
10911621# config.log. We remove comments because anyway the quotes in there
10921622# would cause problems or look ugly.
10931093-# WARNING: Be sure not to use single quotes in there, as some shells,
10941094-# such as our DU 5.0 friend, will then `close' the trap.
16231623+# WARNING: Use '\'' to represent an apostrophe within the trap.
16241624+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10951625trap 'exit_status=$?
10961626 # Save into config.log some information that might help in debugging.
10971627 {
···11041634_ASBOX
11051635 echo
11061636 # The following way of writing the cache mishandles newlines in values,
11071107-{
16371637+(
16381638+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16391639+ eval ac_val=\$$ac_var
16401640+ case $ac_val in #(
16411641+ *${as_nl}*)
16421642+ case $ac_var in #(
16431643+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16441644+$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16451645+ esac
16461646+ case $ac_var in #(
16471647+ _ | IFS | as_nl) ;; #(
16481648+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16491649+ *) $as_unset $ac_var ;;
16501650+ esac ;;
16511651+ esac
16521652+ done
11081653 (set) 2>&1 |
11091109- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
11101110- *ac_space=\ *)
16541654+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16551655+ *${as_nl}ac_space=\ *)
11111656 sed -n \
11121112- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
11131113- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
11141114- ;;
16571657+ "s/'\''/'\''\\\\'\'''\''/g;
16581658+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16591659+ ;; #(
11151660 *)
11161116- sed -n \
11171117- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16611661+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11181662 ;;
11191119- esac;
11201120-}
16631663+ esac |
16641664+ sort
16651665+)
11211666 echo
1122166711231668 cat <<\_ASBOX
···11281673 echo
11291674 for ac_var in $ac_subst_vars
11301675 do
11311131- eval ac_val=$`echo $ac_var`
11321132- echo "$ac_var='"'"'$ac_val'"'"'"
16761676+ eval ac_val=\$$ac_var
16771677+ case $ac_val in
16781678+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16791679+ esac
16801680+ $as_echo "$ac_var='\''$ac_val'\''"
11331681 done | sort
11341682 echo
1135168311361684 if test -n "$ac_subst_files"; then
11371685 cat <<\_ASBOX
11381138-## ------------- ##
11391139-## Output files. ##
11401140-## ------------- ##
16861686+## ------------------- ##
16871687+## File substitutions. ##
16881688+## ------------------- ##
11411689_ASBOX
11421690 echo
11431691 for ac_var in $ac_subst_files
11441692 do
11451145- eval ac_val=$`echo $ac_var`
11461146- echo "$ac_var='"'"'$ac_val'"'"'"
16931693+ eval ac_val=\$$ac_var
16941694+ case $ac_val in
16951695+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16961696+ esac
16971697+ $as_echo "$ac_var='\''$ac_val'\''"
11471698 done | sort
11481699 echo
11491700 fi
···11551706## ----------- ##
11561707_ASBOX
11571708 echo
11581158- sed "/^$/d" confdefs.h | sort
17091709+ cat confdefs.h
11591710 echo
11601711 fi
11611712 test "$ac_signal" != 0 &&
11621162- echo "$as_me: caught signal $ac_signal"
11631163- echo "$as_me: exit $exit_status"
17131713+ $as_echo "$as_me: caught signal $ac_signal"
17141714+ $as_echo "$as_me: exit $exit_status"
11641715 } >&5
11651165- rm -f core *.core &&
11661166- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
17161716+ rm -f core *.core core.conftest.* &&
17171717+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11671718 exit $exit_status
11681168- ' 0
17191719+' 0
11691720for ac_signal in 1 2 13 15; do
11701721 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11711722done
11721723ac_signal=0
1173172411741725# confdefs.h avoids OS command line length limits that DEFS can exceed.
11751175-rm -rf conftest* confdefs.h
11761176-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11771177-echo >confdefs.h
17261726+rm -f -r conftest* confdefs.h
1178172711791728# Predefined preprocessor variables.
11801729···120417531205175412061755# Let the site file select an alternate cache file if it wants to.
12071207-# Prefer explicitly selected file to automatically selected ones.
12081208-if test -z "$CONFIG_SITE"; then
12091209- if test "x$prefix" != xNONE; then
12101210- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
12111211- else
12121212- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
12131213- fi
17561756+# Prefer an explicitly selected file to automatically selected ones.
17571757+ac_site_file1=NONE
17581758+ac_site_file2=NONE
17591759+if test -n "$CONFIG_SITE"; then
17601760+ ac_site_file1=$CONFIG_SITE
17611761+elif test "x$prefix" != xNONE; then
17621762+ ac_site_file1=$prefix/share/config.site
17631763+ ac_site_file2=$prefix/etc/config.site
17641764+else
17651765+ ac_site_file1=$ac_default_prefix/share/config.site
17661766+ ac_site_file2=$ac_default_prefix/etc/config.site
12141767fi
12151215-for ac_site_file in $CONFIG_SITE; do
17681768+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
17691769+do
17701770+ test "x$ac_site_file" = xNONE && continue
12161771 if test -r "$ac_site_file"; then
12171217- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
12181218-echo "$as_me: loading site script $ac_site_file" >&6;}
17721772+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
17731773+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
12191774 sed 's/^/| /' "$ac_site_file" >&5
12201775 . "$ac_site_file"
12211776 fi
···12251780 # Some versions of bash will fail to source /dev/null (special
12261781 # files actually), so we avoid doing that.
12271782 if test -f "$cache_file"; then
12281228- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12291229-echo "$as_me: loading cache $cache_file" >&6;}
17831783+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
17841784+$as_echo "$as_me: loading cache $cache_file" >&6;}
12301785 case $cache_file in
12311231- [\\/]* | ?:[\\/]* ) . $cache_file;;
12321232- *) . ./$cache_file;;
17861786+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
17871787+ *) . "./$cache_file";;
12331788 esac
12341789 fi
12351790else
12361236- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
12371237-echo "$as_me: creating cache $cache_file" >&6;}
17911791+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
17921792+$as_echo "$as_me: creating cache $cache_file" >&6;}
12381793 >$cache_file
12391794fi
1240179512411796# Check that the precious variables saved in the cache have kept the same
12421797# value.
12431798ac_cache_corrupted=false
12441244-for ac_var in `(set) 2>&1 |
12451245- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
17991799+for ac_var in $ac_precious_vars; do
12461800 eval ac_old_set=\$ac_cv_env_${ac_var}_set
12471801 eval ac_new_set=\$ac_env_${ac_var}_set
12481248- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
12491249- eval ac_new_val="\$ac_env_${ac_var}_value"
18021802+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
18031803+ eval ac_new_val=\$ac_env_${ac_var}_value
12501804 case $ac_old_set,$ac_new_set in
12511805 set,)
12521252- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12531253-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
18061806+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18071807+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12541808 ac_cache_corrupted=: ;;
12551809 ,set)
12561256- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12571257-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
18101810+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
18111811+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12581812 ac_cache_corrupted=: ;;
12591813 ,);;
12601814 *)
12611815 if test "x$ac_old_val" != "x$ac_new_val"; then
12621262- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12631263-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12641264- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
12651265-echo "$as_me: former value: $ac_old_val" >&2;}
12661266- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
12671267-echo "$as_me: current value: $ac_new_val" >&2;}
12681268- ac_cache_corrupted=:
18161816+ # differences in whitespace do not lead to failure.
18171817+ ac_old_val_w=`echo x $ac_old_val`
18181818+ ac_new_val_w=`echo x $ac_new_val`
18191819+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
18201820+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
18211821+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18221822+ ac_cache_corrupted=:
18231823+ else
18241824+ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18251825+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18261826+ eval $ac_var=\$ac_old_val
18271827+ fi
18281828+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
18291829+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
18301830+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
18311831+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
12691832 fi;;
12701833 esac
12711834 # Pass precious variables to config.status.
12721835 if test "$ac_new_set" = set; then
12731836 case $ac_new_val in
12741274- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
12751275- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
18371837+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12761838 *) ac_arg=$ac_var=$ac_new_val ;;
12771839 esac
12781840 case " $ac_configure_args " in
···12821844 fi
12831845done
12841846if $ac_cache_corrupted; then
12851285- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12861286-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
12871287- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12881288-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
18471847+ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
18481848+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
18491849+ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
18501850+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12891851 { (exit 1); exit 1; }; }
12901852fi
12911291-12921292-ac_ext=c
12931293-ac_cpp='$CPP $CPPFLAGS'
12941294-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951295-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12961296-ac_compiler_gnu=$ac_cv_c_compiler_gnu
129718531298185412991855···13191875132018761321187718781878+ac_ext=c
18791879+ac_cpp='$CPP $CPPFLAGS'
18801880+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18811881+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821882+ac_compiler_gnu=$ac_cv_c_compiler_gnu
132218831323188413241885am__api_version="1.9"
13251886ac_aux_dir=
13261326-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
13271327- if test -f $ac_dir/install-sh; then
18871887+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
18881888+ if test -f "$ac_dir/install-sh"; then
13281889 ac_aux_dir=$ac_dir
13291890 ac_install_sh="$ac_aux_dir/install-sh -c"
13301891 break
13311331- elif test -f $ac_dir/install.sh; then
18921892+ elif test -f "$ac_dir/install.sh"; then
13321893 ac_aux_dir=$ac_dir
13331894 ac_install_sh="$ac_aux_dir/install.sh -c"
13341895 break
13351335- elif test -f $ac_dir/shtool; then
18961896+ elif test -f "$ac_dir/shtool"; then
13361897 ac_aux_dir=$ac_dir
13371898 ac_install_sh="$ac_aux_dir/shtool install -c"
13381899 break
13391900 fi
13401901done
13411902if test -z "$ac_aux_dir"; then
13421342- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
13431343-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
19031903+ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
19041904+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
13441905 { (exit 1); exit 1; }; }
13451906fi
13461346-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
13471347-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
13481348-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
19071907+19081908+# These three variables are undocumented and unsupported,
19091909+# and are intended to be withdrawn in a future Autoconf release.
19101910+# They can cause serious problems if a builder's source tree is in a directory
19111911+# whose full name contains unusual characters.
19121912+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
19131913+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
19141914+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
19151915+1349191613501917# Find a good install program. We prefer a C program (faster),
13511918# so one script is as good as another. But avoid the broken or
···13601927# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13611928# OS/2's system install, which has a completely different semantic
13621929# ./install, which can be erroneously created by make from ./install.sh.
13631363-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13641364-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
19301930+# Reject install programs that cannot install multiple files.
19311931+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19321932+$as_echo_n "checking for a BSD-compatible install... " >&6; }
13651933if test -z "$INSTALL"; then
13661934if test "${ac_cv_path_install+set}" = set; then
13671367- echo $ECHO_N "(cached) $ECHO_C" >&6
19351935+ $as_echo_n "(cached) " >&6
13681936else
13691937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13701938for as_dir in $PATH
···13831951 # by default.
13841952 for ac_prog in ginstall scoinst install; do
13851953 for ac_exec_ext in '' $ac_executable_extensions; do
13861386- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
19541954+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
13871955 if test $ac_prog = install &&
13881956 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13891957 # AIX install. It has an incompatible calling convention.
···13931961 # program-specific install script used by HP pwplus--don't use.
13941962 :
13951963 else
13961396- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13971397- break 3
19641964+ rm -rf conftest.one conftest.two conftest.dir
19651965+ echo one > conftest.one
19661966+ echo two > conftest.two
19671967+ mkdir conftest.dir
19681968+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19691969+ test -s conftest.one && test -s conftest.two &&
19701970+ test -s conftest.dir/conftest.one &&
19711971+ test -s conftest.dir/conftest.two
19721972+ then
19731973+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19741974+ break 3
19751975+ fi
13981976 fi
13991977 fi
14001978 done
14011979 done
14021980 ;;
14031981esac
19821982+14041983done
19841984+IFS=$as_save_IFS
1405198519861986+rm -rf conftest.one conftest.two conftest.dir
1406198714071988fi
14081989 if test "${ac_cv_path_install+set}" = set; then
14091990 INSTALL=$ac_cv_path_install
14101991 else
14111411- # As a last resort, use the slow shell script. We don't cache a
14121412- # path for INSTALL within a source directory, because that will
19921992+ # As a last resort, use the slow shell script. Don't cache a
19931993+ # value for INSTALL within a source directory, because that will
14131994 # break other packages using the cache if that directory is
14141414- # removed, or if the path is relative.
19951995+ # removed, or if the value is a relative name.
14151996 INSTALL=$ac_install_sh
14161997 fi
14171998fi
14181418-echo "$as_me:$LINENO: result: $INSTALL" >&5
14191419-echo "${ECHO_T}$INSTALL" >&6
19991999+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
20002000+$as_echo "$INSTALL" >&6; }
1420200114212002# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14222003# It thinks the first close brace ends the variable substitution.
···14272008test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1428200914292010test "$program_prefix" != NONE &&
14301430- program_transform_name="s,^,$program_prefix,;$program_transform_name"
20112011+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
14312012# Use a double $ so make ignores it.
14322013test "$program_suffix" != NONE &&
14331433- program_transform_name="s,\$,$program_suffix,;$program_transform_name"
14341434-# Double any \ or $. echo might interpret backslashes.
20142014+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
20152015+# Double any \ or $.
14352016# By default was `s,x,x', remove it if useless.
14361436-cat <<\_ACEOF >conftest.sed
14371437-s/[\\$]/&&/g;s/;s,x,x,$//
14381438-_ACEOF
14391439-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
14401440-rm conftest.sed
20172017+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20182018+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1441201914422020# expand $ac_aux_dir to an absolute path
14432021am_aux_dir=`cd $ac_aux_dir && pwd`
···14482026 am_missing_run="$MISSING --run "
14492027else
14502028 am_missing_run=
14511451- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
14521452-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
20292029+ { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
20302030+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
14532031fi
1454203214552033if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
···14892067do
14902068 # Extract the first word of "$ac_prog", so it can be a program name with args.
14912069set dummy $ac_prog; ac_word=$2
14921492-echo "$as_me:$LINENO: checking for $ac_word" >&5
14931493-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20702070+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20712071+$as_echo_n "checking for $ac_word... " >&6; }
14942072if test "${ac_cv_prog_AWK+set}" = set; then
14951495- echo $ECHO_N "(cached) $ECHO_C" >&6
20732073+ $as_echo_n "(cached) " >&6
14962074else
14972075 if test -n "$AWK"; then
14982076 ac_cv_prog_AWK="$AWK" # Let the user override the test.
···15032081 IFS=$as_save_IFS
15042082 test -z "$as_dir" && as_dir=.
15052083 for ac_exec_ext in '' $ac_executable_extensions; do
15061506- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20842084+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15072085 ac_cv_prog_AWK="$ac_prog"
15081508- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20862086+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15092087 break 2
15102088 fi
15112089done
15122090done
20912091+IFS=$as_save_IFS
1513209215142093fi
15152094fi
15162095AWK=$ac_cv_prog_AWK
15172096if test -n "$AWK"; then
15181518- echo "$as_me:$LINENO: result: $AWK" >&5
15191519-echo "${ECHO_T}$AWK" >&6
20972097+ { $as_echo "$as_me:$LINENO: result: $AWK" >&5
20982098+$as_echo "$AWK" >&6; }
15202099else
15211521- echo "$as_me:$LINENO: result: no" >&5
15221522-echo "${ECHO_T}no" >&6
21002100+ { $as_echo "$as_me:$LINENO: result: no" >&5
21012101+$as_echo "no" >&6; }
15232102fi
21032103+1524210415252105 test -n "$AWK" && break
15262106done
1527210715281528-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15291529-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
15301530-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
15311531-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
15321532- echo $ECHO_N "(cached) $ECHO_C" >&6
21082108+{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21092109+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21102110+set x ${MAKE-make}
21112111+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
21122112+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
21132113+ $as_echo_n "(cached) " >&6
15332114else
15342115 cat >conftest.make <<\_ACEOF
21162116+SHELL = /bin/sh
15352117all:
15361536- @echo 'ac_maketemp="$(MAKE)"'
21182118+ @echo '@@@%%%=$(MAKE)=@@@%%%'
15372119_ACEOF
15382120# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15391539-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
15401540-if test -n "$ac_maketemp"; then
15411541- eval ac_cv_prog_make_${ac_make}_set=yes
15421542-else
15431543- eval ac_cv_prog_make_${ac_make}_set=no
15441544-fi
21212121+case `${MAKE-make} -f conftest.make 2>/dev/null` in
21222122+ *@@@%%%=?*=@@@%%%*)
21232123+ eval ac_cv_prog_make_${ac_make}_set=yes;;
21242124+ *)
21252125+ eval ac_cv_prog_make_${ac_make}_set=no;;
21262126+esac
15452127rm -f conftest.make
15462128fi
15471547-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15481548- echo "$as_me:$LINENO: result: yes" >&5
15491549-echo "${ECHO_T}yes" >&6
21292129+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
21302130+ { $as_echo "$as_me:$LINENO: result: yes" >&5
21312131+$as_echo "yes" >&6; }
15502132 SET_MAKE=
15512133else
15521552- echo "$as_me:$LINENO: result: no" >&5
15531553-echo "${ECHO_T}no" >&6
21342134+ { $as_echo "$as_me:$LINENO: result: no" >&5
21352135+$as_echo "no" >&6; }
15542136 SET_MAKE="MAKE=${MAKE-make}"
15552137fi
15562138···15662148# test to see if srcdir already configured
15672149if test "`cd $srcdir && pwd`" != "`pwd`" &&
15682150 test -f $srcdir/config.status; then
15691569- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15701570-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
21512151+ { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
21522152+$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15712153 { (exit 1); exit 1; }; }
15722154fi
15732155···16212203 if test -n "$ac_tool_prefix"; then
16222204 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16232205set dummy ${ac_tool_prefix}strip; ac_word=$2
16241624-echo "$as_me:$LINENO: checking for $ac_word" >&5
16251625-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22062206+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22072207+$as_echo_n "checking for $ac_word... " >&6; }
16262208if test "${ac_cv_prog_STRIP+set}" = set; then
16271627- echo $ECHO_N "(cached) $ECHO_C" >&6
22092209+ $as_echo_n "(cached) " >&6
16282210else
16292211 if test -n "$STRIP"; then
16302212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
···16352217 IFS=$as_save_IFS
16362218 test -z "$as_dir" && as_dir=.
16372219 for ac_exec_ext in '' $ac_executable_extensions; do
16381638- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22202220+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16392221 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16401640- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22222222+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16412223 break 2
16422224 fi
16432225done
16442226done
22272227+IFS=$as_save_IFS
1645222816462229fi
16472230fi
16482231STRIP=$ac_cv_prog_STRIP
16492232if test -n "$STRIP"; then
16501650- echo "$as_me:$LINENO: result: $STRIP" >&5
16511651-echo "${ECHO_T}$STRIP" >&6
22332233+ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
22342234+$as_echo "$STRIP" >&6; }
16522235else
16531653- echo "$as_me:$LINENO: result: no" >&5
16541654-echo "${ECHO_T}no" >&6
22362236+ { $as_echo "$as_me:$LINENO: result: no" >&5
22372237+$as_echo "no" >&6; }
16552238fi
22392239+1656224016572241fi
16582242if test -z "$ac_cv_prog_STRIP"; then
16592243 ac_ct_STRIP=$STRIP
16602244 # Extract the first word of "strip", so it can be a program name with args.
16612245set dummy strip; ac_word=$2
16621662-echo "$as_me:$LINENO: checking for $ac_word" >&5
16631663-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22462246+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22472247+$as_echo_n "checking for $ac_word... " >&6; }
16642248if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16651665- echo $ECHO_N "(cached) $ECHO_C" >&6
22492249+ $as_echo_n "(cached) " >&6
16662250else
16672251 if test -n "$ac_ct_STRIP"; then
16682252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
···16732257 IFS=$as_save_IFS
16742258 test -z "$as_dir" && as_dir=.
16752259 for ac_exec_ext in '' $ac_executable_extensions; do
16761676- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22602260+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16772261 ac_cv_prog_ac_ct_STRIP="strip"
16781678- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22622262+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16792263 break 2
16802264 fi
16812265done
16822266done
22672267+IFS=$as_save_IFS
1683226816841684- test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16852269fi
16862270fi
16872271ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16882272if test -n "$ac_ct_STRIP"; then
16891689- echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16901690-echo "${ECHO_T}$ac_ct_STRIP" >&6
22732273+ { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
22742274+$as_echo "$ac_ct_STRIP" >&6; }
16912275else
16921692- echo "$as_me:$LINENO: result: no" >&5
16931693-echo "${ECHO_T}no" >&6
22762276+ { $as_echo "$as_me:$LINENO: result: no" >&5
22772277+$as_echo "no" >&6; }
16942278fi
1695227916961696- STRIP=$ac_ct_STRIP
22802280+ if test "x$ac_ct_STRIP" = x; then
22812281+ STRIP=":"
22822282+ else
22832283+ case $cross_compiling:$ac_tool_warned in
22842284+yes:)
22852285+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22862286+whose name does not start with the host triplet. If you think this
22872287+configuration is useful to you, please write to autoconf@gnu.org." >&5
22882288+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22892289+whose name does not start with the host triplet. If you think this
22902290+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22912291+ac_tool_warned=yes ;;
22922292+esac
22932293+ STRIP=$ac_ct_STRIP
22942294+ fi
16972295else
16982296 STRIP="$ac_cv_prog_STRIP"
16992297fi
···17132311171423121715231317161716-echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
17171717-echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
17181718- # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
23142314+{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
23152315+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
23162316+ # Check whether --enable-maintainer-mode was given.
17192317if test "${enable_maintainer_mode+set}" = set; then
17201720- enableval="$enable_maintainer_mode"
17211721- USE_MAINTAINER_MODE=$enableval
23182318+ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
17222319else
17232320 USE_MAINTAINER_MODE=no
17241724-fi;
17251725- echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
17261726-echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
23212321+fi
23222322+23232323+ { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
23242324+$as_echo "$USE_MAINTAINER_MODE" >&6; }
172723251728232617292327if test $USE_MAINTAINER_MODE = yes; then
···17382336173923371740233817411741- ac_config_headers="$ac_config_headers config.h"
23392339+# Require xorg-macros: XORG_DEFAULT_OPTIONS
23402340+23412341+23422342+23432343+23442344+23452345+23462346+23472347+23482348+23492349+23502350+23512351+DEPDIR="${am__leading_dot}deps"
23522352+23532353+ac_config_commands="$ac_config_commands depfiles"
23542354+23552355+23562356+am_make=${MAKE-make}
23572357+cat > confinc << 'END'
23582358+am__doit:
23592359+ @echo done
23602360+.PHONY: am__doit
23612361+END
23622362+# If we don't find an include directive, just comment out the code.
23632363+{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
23642364+$as_echo_n "checking for style of include used by $am_make... " >&6; }
23652365+am__include="#"
23662366+am__quote=
23672367+_am_result=none
23682368+# First try GNU make style include.
23692369+echo "include confinc" > confmf
23702370+# We grep out `Entering directory' and `Leaving directory'
23712371+# messages which can occur if `w' ends up in MAKEFLAGS.
23722372+# In particular we don't look at `^make:' because GNU make might
23732373+# be invoked under some other name (usually "gmake"), in which
23742374+# case it prints its new name instead of `make'.
23752375+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
23762376+ am__include=include
23772377+ am__quote=
23782378+ _am_result=GNU
23792379+fi
23802380+# Now try BSD make style include.
23812381+if test "$am__include" = "#"; then
23822382+ echo '.include "confinc"' > confmf
23832383+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
23842384+ am__include=.include
23852385+ am__quote="\""
23862386+ _am_result=BSD
23872387+ fi
23882388+fi
23892389+23902390+23912391+{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
23922392+$as_echo "$_am_result" >&6; }
23932393+rm -f confinc confmf
23942394+23952395+# Check whether --enable-dependency-tracking was given.
23962396+if test "${enable_dependency_tracking+set}" = set; then
23972397+ enableval=$enable_dependency_tracking;
23982398+fi
23992399+24002400+if test "x$enable_dependency_tracking" != xno; then
24012401+ am_depcomp="$ac_aux_dir/depcomp"
24022402+ AMDEPBACKSLASH='\'
24032403+fi
24042404+24052405+24062406+if test "x$enable_dependency_tracking" != xno; then
24072407+ AMDEP_TRUE=
24082408+ AMDEP_FALSE='#'
24092409+else
24102410+ AMDEP_TRUE='#'
24112411+ AMDEP_FALSE=
24122412+fi
24132413+174224141743241517442416ac_ext=c
···17492421if test -n "$ac_tool_prefix"; then
17502422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17512423set dummy ${ac_tool_prefix}gcc; ac_word=$2
17521752-echo "$as_me:$LINENO: checking for $ac_word" >&5
17531753-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24242424+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24252425+$as_echo_n "checking for $ac_word... " >&6; }
17542426if test "${ac_cv_prog_CC+set}" = set; then
17551755- echo $ECHO_N "(cached) $ECHO_C" >&6
24272427+ $as_echo_n "(cached) " >&6
17562428else
17572429 if test -n "$CC"; then
17582430 ac_cv_prog_CC="$CC" # Let the user override the test.
···17632435 IFS=$as_save_IFS
17642436 test -z "$as_dir" && as_dir=.
17652437 for ac_exec_ext in '' $ac_executable_extensions; do
17661766- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24382438+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17672439 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17681768- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24402440+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17692441 break 2
17702442 fi
17712443done
17722444done
24452445+IFS=$as_save_IFS
1773244617742447fi
17752448fi
17762449CC=$ac_cv_prog_CC
17772450if test -n "$CC"; then
17781778- echo "$as_me:$LINENO: result: $CC" >&5
17791779-echo "${ECHO_T}$CC" >&6
24512451+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
24522452+$as_echo "$CC" >&6; }
17802453else
17811781- echo "$as_me:$LINENO: result: no" >&5
17821782-echo "${ECHO_T}no" >&6
24542454+ { $as_echo "$as_me:$LINENO: result: no" >&5
24552455+$as_echo "no" >&6; }
17832456fi
1784245724582458+17852459fi
17862460if test -z "$ac_cv_prog_CC"; then
17872461 ac_ct_CC=$CC
17882462 # Extract the first word of "gcc", so it can be a program name with args.
17892463set dummy gcc; ac_word=$2
17901790-echo "$as_me:$LINENO: checking for $ac_word" >&5
17911791-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24642464+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24652465+$as_echo_n "checking for $ac_word... " >&6; }
17922466if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17931793- echo $ECHO_N "(cached) $ECHO_C" >&6
24672467+ $as_echo_n "(cached) " >&6
17942468else
17952469 if test -n "$ac_ct_CC"; then
17962470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
···18012475 IFS=$as_save_IFS
18022476 test -z "$as_dir" && as_dir=.
18032477 for ac_exec_ext in '' $ac_executable_extensions; do
18041804- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24782478+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18052479 ac_cv_prog_ac_ct_CC="gcc"
18061806- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24802480+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18072481 break 2
18082482 fi
18092483done
18102484done
24852485+IFS=$as_save_IFS
1811248618122487fi
18132488fi
18142489ac_ct_CC=$ac_cv_prog_ac_ct_CC
18152490if test -n "$ac_ct_CC"; then
18161816- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18171817-echo "${ECHO_T}$ac_ct_CC" >&6
24912491+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
24922492+$as_echo "$ac_ct_CC" >&6; }
18182493else
18191819- echo "$as_me:$LINENO: result: no" >&5
18201820-echo "${ECHO_T}no" >&6
24942494+ { $as_echo "$as_me:$LINENO: result: no" >&5
24952495+$as_echo "no" >&6; }
18212496fi
1822249718231823- CC=$ac_ct_CC
24982498+ if test "x$ac_ct_CC" = x; then
24992499+ CC=""
25002500+ else
25012501+ case $cross_compiling:$ac_tool_warned in
25022502+yes:)
25032503+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25042504+whose name does not start with the host triplet. If you think this
25052505+configuration is useful to you, please write to autoconf@gnu.org." >&5
25062506+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25072507+whose name does not start with the host triplet. If you think this
25082508+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25092509+ac_tool_warned=yes ;;
25102510+esac
25112511+ CC=$ac_ct_CC
25122512+ fi
18242513else
18252514 CC="$ac_cv_prog_CC"
18262515fi
1827251618282517if test -z "$CC"; then
18291829- if test -n "$ac_tool_prefix"; then
18301830- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
25182518+ if test -n "$ac_tool_prefix"; then
25192519+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18312520set dummy ${ac_tool_prefix}cc; ac_word=$2
18321832-echo "$as_me:$LINENO: checking for $ac_word" >&5
18331833-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25212521+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25222522+$as_echo_n "checking for $ac_word... " >&6; }
18342523if test "${ac_cv_prog_CC+set}" = set; then
18351835- echo $ECHO_N "(cached) $ECHO_C" >&6
25242524+ $as_echo_n "(cached) " >&6
18362525else
18372526 if test -n "$CC"; then
18382527 ac_cv_prog_CC="$CC" # Let the user override the test.
···18432532 IFS=$as_save_IFS
18442533 test -z "$as_dir" && as_dir=.
18452534 for ac_exec_ext in '' $ac_executable_extensions; do
18461846- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25352535+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18472536 ac_cv_prog_CC="${ac_tool_prefix}cc"
18481848- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25372537+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18492538 break 2
18502539 fi
18512540done
18522541done
25422542+IFS=$as_save_IFS
1853254318542544fi
18552545fi
18562546CC=$ac_cv_prog_CC
18572547if test -n "$CC"; then
18581858- echo "$as_me:$LINENO: result: $CC" >&5
18591859-echo "${ECHO_T}$CC" >&6
18601860-else
18611861- echo "$as_me:$LINENO: result: no" >&5
18621862-echo "${ECHO_T}no" >&6
18631863-fi
18641864-18651865-fi
18661866-if test -z "$ac_cv_prog_CC"; then
18671867- ac_ct_CC=$CC
18681868- # Extract the first word of "cc", so it can be a program name with args.
18691869-set dummy cc; ac_word=$2
18701870-echo "$as_me:$LINENO: checking for $ac_word" >&5
18711871-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18721872-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18731873- echo $ECHO_N "(cached) $ECHO_C" >&6
18741874-else
18751875- if test -n "$ac_ct_CC"; then
18761876- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18771877-else
18781878-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18791879-for as_dir in $PATH
18801880-do
18811881- IFS=$as_save_IFS
18821882- test -z "$as_dir" && as_dir=.
18831883- for ac_exec_ext in '' $ac_executable_extensions; do
18841884- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18851885- ac_cv_prog_ac_ct_CC="cc"
18861886- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18871887- break 2
18881888- fi
18891889-done
18901890-done
18911891-18921892-fi
18931893-fi
18941894-ac_ct_CC=$ac_cv_prog_ac_ct_CC
18951895-if test -n "$ac_ct_CC"; then
18961896- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18971897-echo "${ECHO_T}$ac_ct_CC" >&6
25482548+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
25492549+$as_echo "$CC" >&6; }
18982550else
18991899- echo "$as_me:$LINENO: result: no" >&5
19001900-echo "${ECHO_T}no" >&6
25512551+ { $as_echo "$as_me:$LINENO: result: no" >&5
25522552+$as_echo "no" >&6; }
19012553fi
1902255419031903- CC=$ac_ct_CC
19041904-else
19051905- CC="$ac_cv_prog_CC"
19061906-fi
1907255525562556+ fi
19082557fi
19092558if test -z "$CC"; then
19102559 # Extract the first word of "cc", so it can be a program name with args.
19112560set dummy cc; ac_word=$2
19121912-echo "$as_me:$LINENO: checking for $ac_word" >&5
19131913-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25612561+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25622562+$as_echo_n "checking for $ac_word... " >&6; }
19142563if test "${ac_cv_prog_CC+set}" = set; then
19151915- echo $ECHO_N "(cached) $ECHO_C" >&6
25642564+ $as_echo_n "(cached) " >&6
19162565else
19172566 if test -n "$CC"; then
19182567 ac_cv_prog_CC="$CC" # Let the user override the test.
···19242573 IFS=$as_save_IFS
19252574 test -z "$as_dir" && as_dir=.
19262575 for ac_exec_ext in '' $ac_executable_extensions; do
19271927- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25762576+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19282577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19292578 ac_prog_rejected=yes
19302579 continue
19312580 fi
19322581 ac_cv_prog_CC="cc"
19331933- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25822582+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19342583 break 2
19352584 fi
19362585done
19372586done
25872587+IFS=$as_save_IFS
1938258819392589if test $ac_prog_rejected = yes; then
19402590 # We found a bogon in the path, so make sure we never use it.
···19522602fi
19532603CC=$ac_cv_prog_CC
19542604if test -n "$CC"; then
19551955- echo "$as_me:$LINENO: result: $CC" >&5
19561956-echo "${ECHO_T}$CC" >&6
26052605+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
26062606+$as_echo "$CC" >&6; }
19572607else
19581958- echo "$as_me:$LINENO: result: no" >&5
19591959-echo "${ECHO_T}no" >&6
26082608+ { $as_echo "$as_me:$LINENO: result: no" >&5
26092609+$as_echo "no" >&6; }
19602610fi
26112611+1961261219622613fi
19632614if test -z "$CC"; then
19642615 if test -n "$ac_tool_prefix"; then
19651965- for ac_prog in cl
26162616+ for ac_prog in cl.exe
19662617 do
19672618 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19682619set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19691969-echo "$as_me:$LINENO: checking for $ac_word" >&5
19701970-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26202620+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26212621+$as_echo_n "checking for $ac_word... " >&6; }
19712622if test "${ac_cv_prog_CC+set}" = set; then
19721972- echo $ECHO_N "(cached) $ECHO_C" >&6
26232623+ $as_echo_n "(cached) " >&6
19732624else
19742625 if test -n "$CC"; then
19752626 ac_cv_prog_CC="$CC" # Let the user override the test.
···19802631 IFS=$as_save_IFS
19812632 test -z "$as_dir" && as_dir=.
19822633 for ac_exec_ext in '' $ac_executable_extensions; do
19831983- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26342634+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19842635 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19851985- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26362636+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19862637 break 2
19872638 fi
19882639done
19892640done
26412641+IFS=$as_save_IFS
1990264219912643fi
19922644fi
19932645CC=$ac_cv_prog_CC
19942646if test -n "$CC"; then
19951995- echo "$as_me:$LINENO: result: $CC" >&5
19961996-echo "${ECHO_T}$CC" >&6
26472647+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
26482648+$as_echo "$CC" >&6; }
19972649else
19981998- echo "$as_me:$LINENO: result: no" >&5
19991999-echo "${ECHO_T}no" >&6
26502650+ { $as_echo "$as_me:$LINENO: result: no" >&5
26512651+$as_echo "no" >&6; }
20002652fi
26532653+2001265420022655 test -n "$CC" && break
20032656 done
20042657fi
20052658if test -z "$CC"; then
20062659 ac_ct_CC=$CC
20072007- for ac_prog in cl
26602660+ for ac_prog in cl.exe
20082661do
20092662 # Extract the first word of "$ac_prog", so it can be a program name with args.
20102663set dummy $ac_prog; ac_word=$2
20112011-echo "$as_me:$LINENO: checking for $ac_word" >&5
20122012-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26642664+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26652665+$as_echo_n "checking for $ac_word... " >&6; }
20132666if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20142014- echo $ECHO_N "(cached) $ECHO_C" >&6
26672667+ $as_echo_n "(cached) " >&6
20152668else
20162669 if test -n "$ac_ct_CC"; then
20172670 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
···20222675 IFS=$as_save_IFS
20232676 test -z "$as_dir" && as_dir=.
20242677 for ac_exec_ext in '' $ac_executable_extensions; do
20252025- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26782678+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20262679 ac_cv_prog_ac_ct_CC="$ac_prog"
20272027- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26802680+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20282681 break 2
20292682 fi
20302683done
20312684done
26852685+IFS=$as_save_IFS
2032268620332687fi
20342688fi
20352689ac_ct_CC=$ac_cv_prog_ac_ct_CC
20362690if test -n "$ac_ct_CC"; then
20372037- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20382038-echo "${ECHO_T}$ac_ct_CC" >&6
26912691+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
26922692+$as_echo "$ac_ct_CC" >&6; }
20392693else
20402040- echo "$as_me:$LINENO: result: no" >&5
20412041-echo "${ECHO_T}no" >&6
26942694+ { $as_echo "$as_me:$LINENO: result: no" >&5
26952695+$as_echo "no" >&6; }
20422696fi
2043269726982698+20442699 test -n "$ac_ct_CC" && break
20452700done
2046270120472047- CC=$ac_ct_CC
27022702+ if test "x$ac_ct_CC" = x; then
27032703+ CC=""
27042704+ else
27052705+ case $cross_compiling:$ac_tool_warned in
27062706+yes:)
27072707+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27082708+whose name does not start with the host triplet. If you think this
27092709+configuration is useful to you, please write to autoconf@gnu.org." >&5
27102710+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27112711+whose name does not start with the host triplet. If you think this
27122712+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27132713+ac_tool_warned=yes ;;
27142714+esac
27152715+ CC=$ac_ct_CC
27162716+ fi
20482717fi
2049271820502719fi
205127202052272120532053-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
27222722+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20542723See \`config.log' for more details." >&5
20552055-echo "$as_me: error: no acceptable C compiler found in \$PATH
27242724+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
20562725See \`config.log' for more details." >&2;}
20572726 { (exit 1); exit 1; }; }
2058272720592728# Provide some information about the compiler.
20602060-echo "$as_me:$LINENO:" \
20612061- "checking for C compiler version" >&5
20622062-ac_compiler=`set X $ac_compile; echo $2`
20632063-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
20642064- (eval $ac_compiler --version </dev/null >&5) 2>&5
27292729+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
27302730+set X $ac_compile
27312731+ac_compiler=$2
27322732+{ (ac_try="$ac_compiler --version >&5"
27332733+case "(($ac_try" in
27342734+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27352735+ *) ac_try_echo=$ac_try;;
27362736+esac
27372737+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27382738+$as_echo "$ac_try_echo") >&5
27392739+ (eval "$ac_compiler --version >&5") 2>&5
20652740 ac_status=$?
20662066- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412741+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672742 (exit $ac_status); }
20682068-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
20692069- (eval $ac_compiler -v </dev/null >&5) 2>&5
27432743+{ (ac_try="$ac_compiler -v >&5"
27442744+case "(($ac_try" in
27452745+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27462746+ *) ac_try_echo=$ac_try;;
27472747+esac
27482748+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27492749+$as_echo "$ac_try_echo") >&5
27502750+ (eval "$ac_compiler -v >&5") 2>&5
20702751 ac_status=$?
20712071- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522752+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722753 (exit $ac_status); }
20732073-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
20742074- (eval $ac_compiler -V </dev/null >&5) 2>&5
27542754+{ (ac_try="$ac_compiler -V >&5"
27552755+case "(($ac_try" in
27562756+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27572757+ *) ac_try_echo=$ac_try;;
27582758+esac
27592759+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27602760+$as_echo "$ac_try_echo") >&5
27612761+ (eval "$ac_compiler -V >&5") 2>&5
20752762 ac_status=$?
20762076- echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632763+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772764 (exit $ac_status); }
2078276520792766cat >conftest.$ac_ext <<_ACEOF
···20922779}
20932780_ACEOF
20942781ac_clean_files_save=$ac_clean_files
20952095-ac_clean_files="$ac_clean_files a.out a.exe b.out"
27822782+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
20962783# Try to create an executable without -o first, disregard a.out.
20972784# It will help us diagnose broken compilers, and finding out an intuition
20982785# of exeext.
20992099-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
21002100-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
21012101-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
21022102-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
21032103- (eval $ac_link_default) 2>&5
27862786+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
27872787+$as_echo_n "checking for C compiler default output file name... " >&6; }
27882788+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
27892789+27902790+# The possible output files:
27912791+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
27922792+27932793+ac_rmfiles=
27942794+for ac_file in $ac_files
27952795+do
27962796+ case $ac_file in
27972797+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
27982798+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
27992799+ esac
28002800+done
28012801+rm -f $ac_rmfiles
28022802+28032803+if { (ac_try="$ac_link_default"
28042804+case "(($ac_try" in
28052805+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28062806+ *) ac_try_echo=$ac_try;;
28072807+esac
28082808+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28092809+$as_echo "$ac_try_echo") >&5
28102810+ (eval "$ac_link_default") 2>&5
21042811 ac_status=$?
21052105- echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122812+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062813 (exit $ac_status); }; then
21072107- # Find the output, starting from the most likely. This scheme is
21082108-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
21092109-# resort.
21102110-21112111-# Be careful to initialize this variable, since it used to be cached.
21122112-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
21132113-ac_cv_exeext=
21142114-# b.out is created by i960 compilers.
21152115-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
28142814+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
28152815+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
28162816+# in a Makefile. We should not override ac_cv_exeext if it was cached,
28172817+# so that the user can short-circuit this test for compilers unknown to
28182818+# Autoconf.
28192819+for ac_file in $ac_files ''
21162820do
21172821 test -f "$ac_file" || continue
21182822 case $ac_file in
21192119- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
21202120- ;;
21212121- conftest.$ac_ext )
21222122- # This is the source file.
28232823+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
21232824 ;;
21242825 [ab].out )
21252826 # We found the default executable, but exeext='' is most
21262827 # certainly right.
21272828 break;;
21282829 *.* )
21292129- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
21302130- # FIXME: I believe we export ac_cv_exeext for Libtool,
21312131- # but it would be cool to find out if it's true. Does anybody
21322132- # maintain Libtool? --akim.
21332133- export ac_cv_exeext
28302830+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
28312831+ then :; else
28322832+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28332833+ fi
28342834+ # We set ac_cv_exeext here because the later test for it is not
28352835+ # safe: cross compilers may not add the suffix if given an `-o'
28362836+ # argument, so we may need to know it at that point already.
28372837+ # Even if this section looks crufty: it has the advantage of
28382838+ # actually working.
21342839 break;;
21352840 * )
21362841 break;;
21372842 esac
21382843done
28442844+test "$ac_cv_exeext" = no && ac_cv_exeext=
28452845+21392846else
21402140- echo "$as_me: failed program was:" >&5
28472847+ ac_file=''
28482848+fi
28492849+28502850+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
28512851+$as_echo "$ac_file" >&6; }
28522852+if test -z "$ac_file"; then
28532853+ $as_echo "$as_me: failed program was:" >&5
21412854sed 's/^/| /' conftest.$ac_ext >&5
2142285521432143-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
28562856+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
21442857See \`config.log' for more details." >&5
21452145-echo "$as_me: error: C compiler cannot create executables
28582858+$as_echo "$as_me: error: C compiler cannot create executables
21462859See \`config.log' for more details." >&2;}
21472860 { (exit 77); exit 77; }; }
21482861fi
2149286221502863ac_exeext=$ac_cv_exeext
21512151-echo "$as_me:$LINENO: result: $ac_file" >&5
21522152-echo "${ECHO_T}$ac_file" >&6
2153286421542154-# Check the compiler produces executables we can run. If not, either
28652865+# Check that the compiler produces executables we can run. If not, either
21552866# the compiler is broken, or we cross compile.
21562156-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
21572157-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
28672867+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
28682868+$as_echo_n "checking whether the C compiler works... " >&6; }
21582869# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
21592870# If not cross compiling, check that we can run a simple program.
21602871if test "$cross_compiling" != yes; then
21612872 if { ac_try='./$ac_file'
21622162- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632163- (eval $ac_try) 2>&5
28732873+ { (case "(($ac_try" in
28742874+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28752875+ *) ac_try_echo=$ac_try;;
28762876+esac
28772877+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28782878+$as_echo "$ac_try_echo") >&5
28792879+ (eval "$ac_try") 2>&5
21642880 ac_status=$?
21652165- echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812881+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662882 (exit $ac_status); }; }; then
21672883 cross_compiling=no
21682884 else
21692885 if test "$cross_compiling" = maybe; then
21702886 cross_compiling=yes
21712887 else
21722172- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
28882888+ { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
21732889If you meant to cross compile, use \`--host'.
21742890See \`config.log' for more details." >&5
21752175-echo "$as_me: error: cannot run C compiled programs.
28912891+$as_echo "$as_me: error: cannot run C compiled programs.
21762892If you meant to cross compile, use \`--host'.
21772893See \`config.log' for more details." >&2;}
21782894 { (exit 1); exit 1; }; }
21792895 fi
21802896 fi
21812897fi
21822182-echo "$as_me:$LINENO: result: yes" >&5
21832183-echo "${ECHO_T}yes" >&6
28982898+{ $as_echo "$as_me:$LINENO: result: yes" >&5
28992899+$as_echo "yes" >&6; }
2184290021852185-rm -f a.out a.exe conftest$ac_cv_exeext b.out
29012901+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
21862902ac_clean_files=$ac_clean_files_save
21872187-# Check the compiler produces executables we can run. If not, either
29032903+# Check that the compiler produces executables we can run. If not, either
21882904# the compiler is broken, or we cross compile.
21892189-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
21902190-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
21912191-echo "$as_me:$LINENO: result: $cross_compiling" >&5
21922192-echo "${ECHO_T}$cross_compiling" >&6
29052905+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
29062906+$as_echo_n "checking whether we are cross compiling... " >&6; }
29072907+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
29082908+$as_echo "$cross_compiling" >&6; }
2193290921942194-echo "$as_me:$LINENO: checking for suffix of executables" >&5
21952195-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
21962196-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21972197- (eval $ac_link) 2>&5
29102910+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
29112911+$as_echo_n "checking for suffix of executables... " >&6; }
29122912+if { (ac_try="$ac_link"
29132913+case "(($ac_try" in
29142914+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152915+ *) ac_try_echo=$ac_try;;
29162916+esac
29172917+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29182918+$as_echo "$ac_try_echo") >&5
29192919+ (eval "$ac_link") 2>&5
21982920 ac_status=$?
21992199- echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212921+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002922 (exit $ac_status); }; then
22012923 # If both `conftest.exe' and `conftest' are `present' (well, observable)
22022924# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
···22052927for ac_file in conftest.exe conftest conftest.*; do
22062928 test -f "$ac_file" || continue
22072929 case $ac_file in
22082208- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
29302930+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
22092931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
22102210- export ac_cv_exeext
22112932 break;;
22122933 * ) break;;
22132934 esac
22142935done
22152936else
22162216- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
29372937+ { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
22172938See \`config.log' for more details." >&5
22182218-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
29392939+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
22192940See \`config.log' for more details." >&2;}
22202941 { (exit 1); exit 1; }; }
22212942fi
2222294322232944rm -f conftest$ac_cv_exeext
22242224-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
22252225-echo "${ECHO_T}$ac_cv_exeext" >&6
29452945+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
29462946+$as_echo "$ac_cv_exeext" >&6; }
2226294722272948rm -f conftest.$ac_ext
22282949EXEEXT=$ac_cv_exeext
22292950ac_exeext=$EXEEXT
22302230-echo "$as_me:$LINENO: checking for suffix of object files" >&5
22312231-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
29512951+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
29522952+$as_echo_n "checking for suffix of object files... " >&6; }
22322953if test "${ac_cv_objext+set}" = set; then
22332233- echo $ECHO_N "(cached) $ECHO_C" >&6
29542954+ $as_echo_n "(cached) " >&6
22342955else
22352956 cat >conftest.$ac_ext <<_ACEOF
22362957/* confdefs.h. */
···22482969}
22492970_ACEOF
22502971rm -f conftest.o conftest.obj
22512251-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522252- (eval $ac_compile) 2>&5
29722972+if { (ac_try="$ac_compile"
29732973+case "(($ac_try" in
29742974+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29752975+ *) ac_try_echo=$ac_try;;
29762976+esac
29772977+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29782978+$as_echo "$ac_try_echo") >&5
29792979+ (eval "$ac_compile") 2>&5
22532980 ac_status=$?
22542254- echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812981+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552982 (exit $ac_status); }; then
22562256- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
29832983+ for ac_file in conftest.o conftest.obj conftest.*; do
29842984+ test -f "$ac_file" || continue;
22572985 case $ac_file in
22582258- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
29862986+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
22592987 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
22602988 break;;
22612989 esac
22622990done
22632991else
22642264- echo "$as_me: failed program was:" >&5
29922992+ $as_echo "$as_me: failed program was:" >&5
22652993sed 's/^/| /' conftest.$ac_ext >&5
2266299422672267-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
29952995+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
22682996See \`config.log' for more details." >&5
22692269-echo "$as_me: error: cannot compute suffix of object files: cannot compile
29972997+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
22702998See \`config.log' for more details." >&2;}
22712999 { (exit 1); exit 1; }; }
22723000fi
2273300122743002rm -f conftest.$ac_cv_objext conftest.$ac_ext
22753003fi
22762276-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
22772277-echo "${ECHO_T}$ac_cv_objext" >&6
30043004+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
30053005+$as_echo "$ac_cv_objext" >&6; }
22783006OBJEXT=$ac_cv_objext
22793007ac_objext=$OBJEXT
22802280-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
22812281-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
30083008+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30093009+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
22823010if test "${ac_cv_c_compiler_gnu+set}" = set; then
22832283- echo $ECHO_N "(cached) $ECHO_C" >&6
30113011+ $as_echo_n "(cached) " >&6
22843012else
22853013 cat >conftest.$ac_ext <<_ACEOF
22863014/* confdefs.h. */
···23013029}
23023030_ACEOF
23033031rm -f conftest.$ac_objext
23042304-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23052305- (eval $ac_compile) 2>conftest.er1
30323032+if { (ac_try="$ac_compile"
30333033+case "(($ac_try" in
30343034+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30353035+ *) ac_try_echo=$ac_try;;
30363036+esac
30373037+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30383038+$as_echo "$ac_try_echo") >&5
30393039+ (eval "$ac_compile") 2>conftest.er1
23063040 ac_status=$?
23073041 grep -v '^ *+' conftest.er1 >conftest.err
23083042 rm -f conftest.er1
23093043 cat conftest.err >&5
23102310- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112311- (exit $ac_status); } &&
23122312- { ac_try='test -z "$ac_c_werror_flag"
23132313- || test ! -s conftest.err'
23142314- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152315- (eval $ac_try) 2>&5
23162316- ac_status=$?
23172317- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182318- (exit $ac_status); }; } &&
23192319- { ac_try='test -s conftest.$ac_objext'
23202320- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212321- (eval $ac_try) 2>&5
23222322- ac_status=$?
23232323- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242324- (exit $ac_status); }; }; then
30443044+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453045+ (exit $ac_status); } && {
30463046+ test -z "$ac_c_werror_flag" ||
30473047+ test ! -s conftest.err
30483048+ } && test -s conftest.$ac_objext; then
23253049 ac_compiler_gnu=yes
23263050else
23272327- echo "$as_me: failed program was:" >&5
30513051+ $as_echo "$as_me: failed program was:" >&5
23283052sed 's/^/| /' conftest.$ac_ext >&5
2329305323302330-ac_compiler_gnu=no
30543054+ ac_compiler_gnu=no
23313055fi
23322332-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30563056+30573057+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23333058ac_cv_c_compiler_gnu=$ac_compiler_gnu
2334305923353060fi
23362336-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
23372337-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
23382338-GCC=`test $ac_compiler_gnu = yes && echo yes`
30613061+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
30623062+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
30633063+if test $ac_compiler_gnu = yes; then
30643064+ GCC=yes
30653065+else
30663066+ GCC=
30673067+fi
23393068ac_test_CFLAGS=${CFLAGS+set}
23403069ac_save_CFLAGS=$CFLAGS
23412341-CFLAGS="-g"
23422342-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
23432343-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
30703070+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
30713071+$as_echo_n "checking whether $CC accepts -g... " >&6; }
23443072if test "${ac_cv_prog_cc_g+set}" = set; then
23452345- echo $ECHO_N "(cached) $ECHO_C" >&6
30733073+ $as_echo_n "(cached) " >&6
23463074else
23472347- cat >conftest.$ac_ext <<_ACEOF
30753075+ ac_save_c_werror_flag=$ac_c_werror_flag
30763076+ ac_c_werror_flag=yes
30773077+ ac_cv_prog_cc_g=no
30783078+ CFLAGS="-g"
30793079+ cat >conftest.$ac_ext <<_ACEOF
23483080/* confdefs.h. */
23493081_ACEOF
23503082cat confdefs.h >>conftest.$ac_ext
···23603092}
23613093_ACEOF
23623094rm -f conftest.$ac_objext
23632363-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23642364- (eval $ac_compile) 2>conftest.er1
30953095+if { (ac_try="$ac_compile"
30963096+case "(($ac_try" in
30973097+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30983098+ *) ac_try_echo=$ac_try;;
30993099+esac
31003100+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31013101+$as_echo "$ac_try_echo") >&5
31023102+ (eval "$ac_compile") 2>conftest.er1
23653103 ac_status=$?
23663104 grep -v '^ *+' conftest.er1 >conftest.err
23673105 rm -f conftest.er1
23683106 cat conftest.err >&5
23692369- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702370- (exit $ac_status); } &&
23712371- { ac_try='test -z "$ac_c_werror_flag"
23722372- || test ! -s conftest.err'
23732373- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742374- (eval $ac_try) 2>&5
31073107+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083108+ (exit $ac_status); } && {
31093109+ test -z "$ac_c_werror_flag" ||
31103110+ test ! -s conftest.err
31113111+ } && test -s conftest.$ac_objext; then
31123112+ ac_cv_prog_cc_g=yes
31133113+else
31143114+ $as_echo "$as_me: failed program was:" >&5
31153115+sed 's/^/| /' conftest.$ac_ext >&5
31163116+31173117+ CFLAGS=""
31183118+ cat >conftest.$ac_ext <<_ACEOF
31193119+/* confdefs.h. */
31203120+_ACEOF
31213121+cat confdefs.h >>conftest.$ac_ext
31223122+cat >>conftest.$ac_ext <<_ACEOF
31233123+/* end confdefs.h. */
31243124+31253125+int
31263126+main ()
31273127+{
31283128+31293129+ ;
31303130+ return 0;
31313131+}
31323132+_ACEOF
31333133+rm -f conftest.$ac_objext
31343134+if { (ac_try="$ac_compile"
31353135+case "(($ac_try" in
31363136+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31373137+ *) ac_try_echo=$ac_try;;
31383138+esac
31393139+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31403140+$as_echo "$ac_try_echo") >&5
31413141+ (eval "$ac_compile") 2>conftest.er1
23753142 ac_status=$?
23762376- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772377- (exit $ac_status); }; } &&
23782378- { ac_try='test -s conftest.$ac_objext'
23792379- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802380- (eval $ac_try) 2>&5
31433143+ grep -v '^ *+' conftest.er1 >conftest.err
31443144+ rm -f conftest.er1
31453145+ cat conftest.err >&5
31463146+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473147+ (exit $ac_status); } && {
31483148+ test -z "$ac_c_werror_flag" ||
31493149+ test ! -s conftest.err
31503150+ } && test -s conftest.$ac_objext; then
31513151+ :
31523152+else
31533153+ $as_echo "$as_me: failed program was:" >&5
31543154+sed 's/^/| /' conftest.$ac_ext >&5
31553155+31563156+ ac_c_werror_flag=$ac_save_c_werror_flag
31573157+ CFLAGS="-g"
31583158+ cat >conftest.$ac_ext <<_ACEOF
31593159+/* confdefs.h. */
31603160+_ACEOF
31613161+cat confdefs.h >>conftest.$ac_ext
31623162+cat >>conftest.$ac_ext <<_ACEOF
31633163+/* end confdefs.h. */
31643164+31653165+int
31663166+main ()
31673167+{
31683168+31693169+ ;
31703170+ return 0;
31713171+}
31723172+_ACEOF
31733173+rm -f conftest.$ac_objext
31743174+if { (ac_try="$ac_compile"
31753175+case "(($ac_try" in
31763176+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31773177+ *) ac_try_echo=$ac_try;;
31783178+esac
31793179+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31803180+$as_echo "$ac_try_echo") >&5
31813181+ (eval "$ac_compile") 2>conftest.er1
23813182 ac_status=$?
23822382- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832383- (exit $ac_status); }; }; then
31833183+ grep -v '^ *+' conftest.er1 >conftest.err
31843184+ rm -f conftest.er1
31853185+ cat conftest.err >&5
31863186+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873187+ (exit $ac_status); } && {
31883188+ test -z "$ac_c_werror_flag" ||
31893189+ test ! -s conftest.err
31903190+ } && test -s conftest.$ac_objext; then
23843191 ac_cv_prog_cc_g=yes
23853192else
23862386- echo "$as_me: failed program was:" >&5
31933193+ $as_echo "$as_me: failed program was:" >&5
23873194sed 's/^/| /' conftest.$ac_ext >&5
2388319523892389-ac_cv_prog_cc_g=no
31963196+23903197fi
23912391-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31983198+31993199+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23923200fi
23932393-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
23942394-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
32013201+32023202+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033203+fi
32043204+32053205+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32063206+ ac_c_werror_flag=$ac_save_c_werror_flag
32073207+fi
32083208+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
32093209+$as_echo "$ac_cv_prog_cc_g" >&6; }
23953210if test "$ac_test_CFLAGS" = set; then
23963211 CFLAGS=$ac_save_CFLAGS
23973212elif test $ac_cv_prog_cc_g = yes; then
···24073222 CFLAGS=
24083223 fi
24093224fi
24102410-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
24112411-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
24122412-if test "${ac_cv_prog_cc_stdc+set}" = set; then
24132413- echo $ECHO_N "(cached) $ECHO_C" >&6
32253225+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
32263226+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
32273227+if test "${ac_cv_prog_cc_c89+set}" = set; then
32283228+ $as_echo_n "(cached) " >&6
24143229else
24152415- ac_cv_prog_cc_stdc=no
32303230+ ac_cv_prog_cc_c89=no
24163231ac_save_CC=$CC
24173232cat >conftest.$ac_ext <<_ACEOF
24183233/* confdefs.h. */
···24463261/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24473262 function prototypes and stuff, but not '\xHH' hex character constants.
24483263 These don't provoke an error unfortunately, instead are silently treated
24492449- as 'x'. The following induces an error, until -std1 is added to get
32643264+ as 'x'. The following induces an error, until -std is added to get
24503265 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24513266 array size at least. It's necessary to write '\x00'==0 to get something
24522452- that's true only with -std1. */
32673267+ that's true only with -std. */
24533268int osf4_cc_array ['\x00' == 0 ? 1 : -1];
32693269+32703270+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
32713271+ inside strings and character constants. */
32723272+#define FOO(x) 'x'
32733273+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2454327424553275int test (int i, double x);
24563276struct s1 {int (*f) (int a);};
···24663286 return 0;
24673287}
24683288_ACEOF
24692469-# Don't try gcc -ansi; that turns off useful extensions and
24702470-# breaks some systems' header files.
24712471-# AIX -qlanglvl=ansi
24722472-# Ultrix and OSF/1 -std1
24732473-# HP-UX 10.20 and later -Ae
24742474-# HP-UX older versions -Aa -D_HPUX_SOURCE
24752475-# SVR4 -Xc -D__EXTENSIONS__
24762476-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
32893289+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
32903290+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24773291do
24783292 CC="$ac_save_CC $ac_arg"
24793293 rm -f conftest.$ac_objext
24802480-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24812481- (eval $ac_compile) 2>conftest.er1
32943294+if { (ac_try="$ac_compile"
32953295+case "(($ac_try" in
32963296+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32973297+ *) ac_try_echo=$ac_try;;
32983298+esac
32993299+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33003300+$as_echo "$ac_try_echo") >&5
33013301+ (eval "$ac_compile") 2>conftest.er1
24823302 ac_status=$?
24833303 grep -v '^ *+' conftest.er1 >conftest.err
24843304 rm -f conftest.er1
24853305 cat conftest.err >&5
24862486- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872487- (exit $ac_status); } &&
24882488- { ac_try='test -z "$ac_c_werror_flag"
24892489- || test ! -s conftest.err'
24902490- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912491- (eval $ac_try) 2>&5
24922492- ac_status=$?
24932493- echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942494- (exit $ac_status); }; } &&
24952495- { ac_try='test -s conftest.$ac_objext'
24962496- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972497- (eval $ac_try) 2>&5
24982498- ac_status=$?
24992499- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002500- (exit $ac_status); }; }; then
25012501- ac_cv_prog_cc_stdc=$ac_arg
25022502-break
33063306+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073307+ (exit $ac_status); } && {
33083308+ test -z "$ac_c_werror_flag" ||
33093309+ test ! -s conftest.err
33103310+ } && test -s conftest.$ac_objext; then
33113311+ ac_cv_prog_cc_c89=$ac_arg
25033312else
25042504- echo "$as_me: failed program was:" >&5
33133313+ $as_echo "$as_me: failed program was:" >&5
25053314sed 's/^/| /' conftest.$ac_ext >&5
2506331533163316+25073317fi
25082508-rm -f conftest.err conftest.$ac_objext
33183318+33193319+rm -f core conftest.err conftest.$ac_objext
33203320+ test "x$ac_cv_prog_cc_c89" != "xno" && break
25093321done
25102510-rm -f conftest.$ac_ext conftest.$ac_objext
33223322+rm -f conftest.$ac_ext
25113323CC=$ac_save_CC
2512332425133325fi
25142514-25152515-case "x$ac_cv_prog_cc_stdc" in
25162516- x|xno)
25172517- echo "$as_me:$LINENO: result: none needed" >&5
25182518-echo "${ECHO_T}none needed" >&6 ;;
33263326+# AC_CACHE_VAL
33273327+case "x$ac_cv_prog_cc_c89" in
33283328+ x)
33293329+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
33303330+$as_echo "none needed" >&6; } ;;
33313331+ xno)
33323332+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
33333333+$as_echo "unsupported" >&6; } ;;
25193334 *)
25202520- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
25212521-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
25222522- CC="$CC $ac_cv_prog_cc_stdc" ;;
33353335+ CC="$CC $ac_cv_prog_cc_c89"
33363336+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
33373337+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
25233338esac
2524333925252525-# Some people use a C++ compiler to compile C. Since we use `exit',
25262526-# in C++ we need to declare it. In case someone uses the same compiler
25272527-# for both compiling C and C++ we need to have the C++ compiler decide
25282528-# the declaration of exit, since it's the most demanding environment.
25292529-cat >conftest.$ac_ext <<_ACEOF
25302530-#ifndef __cplusplus
25312531- choke me
33403340+33413341+ac_ext=c
33423342+ac_cpp='$CPP $CPPFLAGS'
33433343+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443344+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453345+ac_compiler_gnu=$ac_cv_c_compiler_gnu
33463346+33473347+depcc="$CC" am_compiler_list=
33483348+33493349+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
33503350+$as_echo_n "checking dependency style of $depcc... " >&6; }
33513351+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
33523352+ $as_echo_n "(cached) " >&6
33533353+else
33543354+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
33553355+ # We make a subdir and do the tests there. Otherwise we can end up
33563356+ # making bogus files that we don't know about and never remove. For
33573357+ # instance it was reported that on HP-UX the gcc test will end up
33583358+ # making a dummy file named `D' -- because `-MD' means `put the output
33593359+ # in D'.
33603360+ mkdir conftest.dir
33613361+ # Copy depcomp to subdir because otherwise we won't find it if we're
33623362+ # using a relative directory.
33633363+ cp "$am_depcomp" conftest.dir
33643364+ cd conftest.dir
33653365+ # We will build objects and dependencies in a subdirectory because
33663366+ # it helps to detect inapplicable dependency modes. For instance
33673367+ # both Tru64's cc and ICC support -MD to output dependencies as a
33683368+ # side effect of compilation, but ICC will put the dependencies in
33693369+ # the current directory while Tru64 will put them in the object
33703370+ # directory.
33713371+ mkdir sub
33723372+33733373+ am_cv_CC_dependencies_compiler_type=none
33743374+ if test "$am_compiler_list" = ""; then
33753375+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
33763376+ fi
33773377+ for depmode in $am_compiler_list; do
33783378+ # Setup a source with many dependencies, because some compilers
33793379+ # like to wrap large dependency lists on column 80 (with \), and
33803380+ # we should not choose a depcomp mode which is confused by this.
33813381+ #
33823382+ # We need to recreate these files for each test, as the compiler may
33833383+ # overwrite some of them when testing with obscure command lines.
33843384+ # This happens at least with the AIX C compiler.
33853385+ : > sub/conftest.c
33863386+ for i in 1 2 3 4 5 6; do
33873387+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
33883388+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
33893389+ # Solaris 8's {/usr,}/bin/sh.
33903390+ touch sub/conftst$i.h
33913391+ done
33923392+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
33933393+33943394+ case $depmode in
33953395+ nosideeffect)
33963396+ # after this tag, mechanisms are not by side-effect, so they'll
33973397+ # only be used when explicitly requested
33983398+ if test "x$enable_dependency_tracking" = xyes; then
33993399+ continue
34003400+ else
34013401+ break
34023402+ fi
34033403+ ;;
34043404+ none) break ;;
34053405+ esac
34063406+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
34073407+ # mode. It turns out that the SunPro C++ compiler does not properly
34083408+ # handle `-M -o', and we need to detect this.
34093409+ if depmode=$depmode \
34103410+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
34113411+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
34123412+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
34133413+ >/dev/null 2>conftest.err &&
34143414+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
34153415+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
34163416+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
34173417+ # icc doesn't choke on unknown options, it will just issue warnings
34183418+ # or remarks (even with -Werror). So we grep stderr for any message
34193419+ # that says an option was ignored or not supported.
34203420+ # When given -MP, icc 7.0 and 7.1 complain thusly:
34213421+ # icc: Command line warning: ignoring option '-M'; no argument required
34223422+ # The diagnosis changed in icc 8.0:
34233423+ # icc: Command line remark: option '-MP' not supported
34243424+ if (grep 'ignoring option' conftest.err ||
34253425+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
34263426+ am_cv_CC_dependencies_compiler_type=$depmode
34273427+ break
34283428+ fi
34293429+ fi
34303430+ done
34313431+34323432+ cd ..
34333433+ rm -rf conftest.dir
34343434+else
34353435+ am_cv_CC_dependencies_compiler_type=none
34363436+fi
34373437+34383438+fi
34393439+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
34403440+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
34413441+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
34423442+34433443+34443444+34453445+if
34463446+ test "x$enable_dependency_tracking" != xno \
34473447+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
34483448+ am__fastdepCC_TRUE=
34493449+ am__fastdepCC_FALSE='#'
34503450+else
34513451+ am__fastdepCC_TRUE='#'
34523452+ am__fastdepCC_FALSE=
34533453+fi
34543454+34553455+34563456+34573457+ac_ext=c
34583458+ac_cpp='$CPP $CPPFLAGS'
34593459+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603460+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613461+ac_compiler_gnu=$ac_cv_c_compiler_gnu
34623462+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
34633463+$as_echo_n "checking how to run the C preprocessor... " >&6; }
34643464+# On Suns, sometimes $CPP names a directory.
34653465+if test -n "$CPP" && test -d "$CPP"; then
34663466+ CPP=
34673467+fi
34683468+if test -z "$CPP"; then
34693469+ if test "${ac_cv_prog_CPP+set}" = set; then
34703470+ $as_echo_n "(cached) " >&6
34713471+else
34723472+ # Double quotes because CPP needs to be expanded
34733473+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
34743474+ do
34753475+ ac_preproc_ok=false
34763476+for ac_c_preproc_warn_flag in '' yes
34773477+do
34783478+ # Use a header file that comes with gcc, so configuring glibc
34793479+ # with a fresh cross-compiler works.
34803480+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34813481+ # <limits.h> exists even on freestanding compilers.
34823482+ # On the NeXT, cc -E runs the code through the compiler's parser,
34833483+ # not just through cpp. "Syntax error" is here to catch this case.
34843484+ cat >conftest.$ac_ext <<_ACEOF
34853485+/* confdefs.h. */
34863486+_ACEOF
34873487+cat confdefs.h >>conftest.$ac_ext
34883488+cat >>conftest.$ac_ext <<_ACEOF
34893489+/* end confdefs.h. */
34903490+#ifdef __STDC__
34913491+# include <limits.h>
34923492+#else
34933493+# include <assert.h>
25323494#endif
34953495+ Syntax error
25333496_ACEOF
25342534-rm -f conftest.$ac_objext
25352535-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25362536- (eval $ac_compile) 2>conftest.er1
34973497+if { (ac_try="$ac_cpp conftest.$ac_ext"
34983498+case "(($ac_try" in
34993499+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35003500+ *) ac_try_echo=$ac_try;;
35013501+esac
35023502+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35033503+$as_echo "$ac_try_echo") >&5
35043504+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25373505 ac_status=$?
25383506 grep -v '^ *+' conftest.er1 >conftest.err
25393507 rm -f conftest.er1
25403508 cat conftest.err >&5
25412541- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422542- (exit $ac_status); } &&
25432543- { ac_try='test -z "$ac_c_werror_flag"
25442544- || test ! -s conftest.err'
25452545- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462546- (eval $ac_try) 2>&5
35093509+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103510+ (exit $ac_status); } >/dev/null && {
35113511+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35123512+ test ! -s conftest.err
35133513+ }; then
35143514+ :
35153515+else
35163516+ $as_echo "$as_me: failed program was:" >&5
35173517+sed 's/^/| /' conftest.$ac_ext >&5
35183518+35193519+ # Broken: fails on valid input.
35203520+continue
35213521+fi
35223522+35233523+rm -f conftest.err conftest.$ac_ext
35243524+35253525+ # OK, works on sane cases. Now check whether nonexistent headers
35263526+ # can be detected and how.
35273527+ cat >conftest.$ac_ext <<_ACEOF
35283528+/* confdefs.h. */
35293529+_ACEOF
35303530+cat confdefs.h >>conftest.$ac_ext
35313531+cat >>conftest.$ac_ext <<_ACEOF
35323532+/* end confdefs.h. */
35333533+#include <ac_nonexistent.h>
35343534+_ACEOF
35353535+if { (ac_try="$ac_cpp conftest.$ac_ext"
35363536+case "(($ac_try" in
35373537+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35383538+ *) ac_try_echo=$ac_try;;
35393539+esac
35403540+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35413541+$as_echo "$ac_try_echo") >&5
35423542+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25473543 ac_status=$?
25482548- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492549- (exit $ac_status); }; } &&
25502550- { ac_try='test -s conftest.$ac_objext'
25512551- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25522552- (eval $ac_try) 2>&5
35443544+ grep -v '^ *+' conftest.er1 >conftest.err
35453545+ rm -f conftest.er1
35463546+ cat conftest.err >&5
35473547+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483548+ (exit $ac_status); } >/dev/null && {
35493549+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35503550+ test ! -s conftest.err
35513551+ }; then
35523552+ # Broken: success on invalid input.
35533553+continue
35543554+else
35553555+ $as_echo "$as_me: failed program was:" >&5
35563556+sed 's/^/| /' conftest.$ac_ext >&5
35573557+35583558+ # Passes both tests.
35593559+ac_preproc_ok=:
35603560+break
35613561+fi
35623562+35633563+rm -f conftest.err conftest.$ac_ext
35643564+35653565+done
35663566+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
35673567+rm -f conftest.err conftest.$ac_ext
35683568+if $ac_preproc_ok; then
35693569+ break
35703570+fi
35713571+35723572+ done
35733573+ ac_cv_prog_CPP=$CPP
35743574+35753575+fi
35763576+ CPP=$ac_cv_prog_CPP
35773577+else
35783578+ ac_cv_prog_CPP=$CPP
35793579+fi
35803580+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
35813581+$as_echo "$CPP" >&6; }
35823582+ac_preproc_ok=false
35833583+for ac_c_preproc_warn_flag in '' yes
35843584+do
35853585+ # Use a header file that comes with gcc, so configuring glibc
35863586+ # with a fresh cross-compiler works.
35873587+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35883588+ # <limits.h> exists even on freestanding compilers.
35893589+ # On the NeXT, cc -E runs the code through the compiler's parser,
35903590+ # not just through cpp. "Syntax error" is here to catch this case.
35913591+ cat >conftest.$ac_ext <<_ACEOF
35923592+/* confdefs.h. */
35933593+_ACEOF
35943594+cat confdefs.h >>conftest.$ac_ext
35953595+cat >>conftest.$ac_ext <<_ACEOF
35963596+/* end confdefs.h. */
35973597+#ifdef __STDC__
35983598+# include <limits.h>
35993599+#else
36003600+# include <assert.h>
36013601+#endif
36023602+ Syntax error
36033603+_ACEOF
36043604+if { (ac_try="$ac_cpp conftest.$ac_ext"
36053605+case "(($ac_try" in
36063606+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36073607+ *) ac_try_echo=$ac_try;;
36083608+esac
36093609+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36103610+$as_echo "$ac_try_echo") >&5
36113611+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25533612 ac_status=$?
25542554- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552555- (exit $ac_status); }; }; then
25562556- for ac_declaration in \
25572557- '' \
25582558- 'extern "C" void std::exit (int) throw (); using std::exit;' \
25592559- 'extern "C" void std::exit (int); using std::exit;' \
25602560- 'extern "C" void exit (int) throw ();' \
25612561- 'extern "C" void exit (int);' \
25622562- 'void exit (int);'
36133613+ grep -v '^ *+' conftest.er1 >conftest.err
36143614+ rm -f conftest.er1
36153615+ cat conftest.err >&5
36163616+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173617+ (exit $ac_status); } >/dev/null && {
36183618+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36193619+ test ! -s conftest.err
36203620+ }; then
36213621+ :
36223622+else
36233623+ $as_echo "$as_me: failed program was:" >&5
36243624+sed 's/^/| /' conftest.$ac_ext >&5
36253625+36263626+ # Broken: fails on valid input.
36273627+continue
36283628+fi
36293629+36303630+rm -f conftest.err conftest.$ac_ext
36313631+36323632+ # OK, works on sane cases. Now check whether nonexistent headers
36333633+ # can be detected and how.
36343634+ cat >conftest.$ac_ext <<_ACEOF
36353635+/* confdefs.h. */
36363636+_ACEOF
36373637+cat confdefs.h >>conftest.$ac_ext
36383638+cat >>conftest.$ac_ext <<_ACEOF
36393639+/* end confdefs.h. */
36403640+#include <ac_nonexistent.h>
36413641+_ACEOF
36423642+if { (ac_try="$ac_cpp conftest.$ac_ext"
36433643+case "(($ac_try" in
36443644+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36453645+ *) ac_try_echo=$ac_try;;
36463646+esac
36473647+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36483648+$as_echo "$ac_try_echo") >&5
36493649+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36503650+ ac_status=$?
36513651+ grep -v '^ *+' conftest.er1 >conftest.err
36523652+ rm -f conftest.er1
36533653+ cat conftest.err >&5
36543654+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553655+ (exit $ac_status); } >/dev/null && {
36563656+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36573657+ test ! -s conftest.err
36583658+ }; then
36593659+ # Broken: success on invalid input.
36603660+continue
36613661+else
36623662+ $as_echo "$as_me: failed program was:" >&5
36633663+sed 's/^/| /' conftest.$ac_ext >&5
36643664+36653665+ # Passes both tests.
36663666+ac_preproc_ok=:
36673667+break
36683668+fi
36693669+36703670+rm -f conftest.err conftest.$ac_ext
36713671+36723672+done
36733673+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36743674+rm -f conftest.err conftest.$ac_ext
36753675+if $ac_preproc_ok; then
36763676+ :
36773677+else
36783678+ { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
36793679+See \`config.log' for more details." >&5
36803680+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
36813681+See \`config.log' for more details." >&2;}
36823682+ { (exit 1); exit 1; }; }
36833683+fi
36843684+36853685+ac_ext=c
36863686+ac_cpp='$CPP $CPPFLAGS'
36873687+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883688+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893689+ac_compiler_gnu=$ac_cv_c_compiler_gnu
36903690+36913691+36923692+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
36933693+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
36943694+if test "${ac_cv_path_GREP+set}" = set; then
36953695+ $as_echo_n "(cached) " >&6
36963696+else
36973697+ if test -z "$GREP"; then
36983698+ ac_path_GREP_found=false
36993699+ # Loop through the user's path and test for each of PROGNAME-LIST
37003700+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37013701+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
25633702do
37033703+ IFS=$as_save_IFS
37043704+ test -z "$as_dir" && as_dir=.
37053705+ for ac_prog in grep ggrep; do
37063706+ for ac_exec_ext in '' $ac_executable_extensions; do
37073707+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
37083708+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
37093709+# Check for GNU ac_path_GREP and select it if it is found.
37103710+ # Check for GNU $ac_path_GREP
37113711+case `"$ac_path_GREP" --version 2>&1` in
37123712+*GNU*)
37133713+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
37143714+*)
37153715+ ac_count=0
37163716+ $as_echo_n 0123456789 >"conftest.in"
37173717+ while :
37183718+ do
37193719+ cat "conftest.in" "conftest.in" >"conftest.tmp"
37203720+ mv "conftest.tmp" "conftest.in"
37213721+ cp "conftest.in" "conftest.nl"
37223722+ $as_echo 'GREP' >> "conftest.nl"
37233723+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
37243724+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
37253725+ ac_count=`expr $ac_count + 1`
37263726+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
37273727+ # Best one so far, save it but keep looking for a better one
37283728+ ac_cv_path_GREP="$ac_path_GREP"
37293729+ ac_path_GREP_max=$ac_count
37303730+ fi
37313731+ # 10*(2^10) chars as input seems more than enough
37323732+ test $ac_count -gt 10 && break
37333733+ done
37343734+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
37353735+esac
37363736+37373737+ $ac_path_GREP_found && break 3
37383738+ done
37393739+ done
37403740+done
37413741+IFS=$as_save_IFS
37423742+ if test -z "$ac_cv_path_GREP"; then
37433743+ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
37443744+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
37453745+ { (exit 1); exit 1; }; }
37463746+ fi
37473747+else
37483748+ ac_cv_path_GREP=$GREP
37493749+fi
37503750+37513751+fi
37523752+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
37533753+$as_echo "$ac_cv_path_GREP" >&6; }
37543754+ GREP="$ac_cv_path_GREP"
37553755+37563756+37573757+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
37583758+$as_echo_n "checking for egrep... " >&6; }
37593759+if test "${ac_cv_path_EGREP+set}" = set; then
37603760+ $as_echo_n "(cached) " >&6
37613761+else
37623762+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
37633763+ then ac_cv_path_EGREP="$GREP -E"
37643764+ else
37653765+ if test -z "$EGREP"; then
37663766+ ac_path_EGREP_found=false
37673767+ # Loop through the user's path and test for each of PROGNAME-LIST
37683768+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37693769+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
37703770+do
37713771+ IFS=$as_save_IFS
37723772+ test -z "$as_dir" && as_dir=.
37733773+ for ac_prog in egrep; do
37743774+ for ac_exec_ext in '' $ac_executable_extensions; do
37753775+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
37763776+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
37773777+# Check for GNU ac_path_EGREP and select it if it is found.
37783778+ # Check for GNU $ac_path_EGREP
37793779+case `"$ac_path_EGREP" --version 2>&1` in
37803780+*GNU*)
37813781+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
37823782+*)
37833783+ ac_count=0
37843784+ $as_echo_n 0123456789 >"conftest.in"
37853785+ while :
37863786+ do
37873787+ cat "conftest.in" "conftest.in" >"conftest.tmp"
37883788+ mv "conftest.tmp" "conftest.in"
37893789+ cp "conftest.in" "conftest.nl"
37903790+ $as_echo 'EGREP' >> "conftest.nl"
37913791+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
37923792+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
37933793+ ac_count=`expr $ac_count + 1`
37943794+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
37953795+ # Best one so far, save it but keep looking for a better one
37963796+ ac_cv_path_EGREP="$ac_path_EGREP"
37973797+ ac_path_EGREP_max=$ac_count
37983798+ fi
37993799+ # 10*(2^10) chars as input seems more than enough
38003800+ test $ac_count -gt 10 && break
38013801+ done
38023802+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
38033803+esac
38043804+38053805+ $ac_path_EGREP_found && break 3
38063806+ done
38073807+ done
38083808+done
38093809+IFS=$as_save_IFS
38103810+ if test -z "$ac_cv_path_EGREP"; then
38113811+ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
38123812+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
38133813+ { (exit 1); exit 1; }; }
38143814+ fi
38153815+else
38163816+ ac_cv_path_EGREP=$EGREP
38173817+fi
38183818+38193819+ fi
38203820+fi
38213821+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
38223822+$as_echo "$ac_cv_path_EGREP" >&6; }
38233823+ EGREP="$ac_cv_path_EGREP"
38243824+38253825+38263826+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
38273827+$as_echo_n "checking for ANSI C header files... " >&6; }
38283828+if test "${ac_cv_header_stdc+set}" = set; then
38293829+ $as_echo_n "(cached) " >&6
38303830+else
25643831 cat >conftest.$ac_ext <<_ACEOF
25653832/* confdefs.h. */
25663833_ACEOF
25673834cat confdefs.h >>conftest.$ac_ext
25683835cat >>conftest.$ac_ext <<_ACEOF
25693836/* end confdefs.h. */
25702570-$ac_declaration
25713837#include <stdlib.h>
38383838+#include <stdarg.h>
38393839+#include <string.h>
38403840+#include <float.h>
38413841+25723842int
25733843main ()
25743844{
25752575-exit (42);
38453845+25763846 ;
25773847 return 0;
25783848}
25793849_ACEOF
25803850rm -f conftest.$ac_objext
25812581-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25822582- (eval $ac_compile) 2>conftest.er1
38513851+if { (ac_try="$ac_compile"
38523852+case "(($ac_try" in
38533853+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38543854+ *) ac_try_echo=$ac_try;;
38553855+esac
38563856+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38573857+$as_echo "$ac_try_echo") >&5
38583858+ (eval "$ac_compile") 2>conftest.er1
25833859 ac_status=$?
25843860 grep -v '^ *+' conftest.er1 >conftest.err
25853861 rm -f conftest.er1
25863862 cat conftest.err >&5
25872587- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882588- (exit $ac_status); } &&
25892589- { ac_try='test -z "$ac_c_werror_flag"
25902590- || test ! -s conftest.err'
25912591- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922592- (eval $ac_try) 2>&5
38633863+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643864+ (exit $ac_status); } && {
38653865+ test -z "$ac_c_werror_flag" ||
38663866+ test ! -s conftest.err
38673867+ } && test -s conftest.$ac_objext; then
38683868+ ac_cv_header_stdc=yes
38693869+else
38703870+ $as_echo "$as_me: failed program was:" >&5
38713871+sed 's/^/| /' conftest.$ac_ext >&5
38723872+38733873+ ac_cv_header_stdc=no
38743874+fi
38753875+38763876+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773877+38783878+if test $ac_cv_header_stdc = yes; then
38793879+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
38803880+ cat >conftest.$ac_ext <<_ACEOF
38813881+/* confdefs.h. */
38823882+_ACEOF
38833883+cat confdefs.h >>conftest.$ac_ext
38843884+cat >>conftest.$ac_ext <<_ACEOF
38853885+/* end confdefs.h. */
38863886+#include <string.h>
38873887+38883888+_ACEOF
38893889+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
38903890+ $EGREP "memchr" >/dev/null 2>&1; then
38913891+ :
38923892+else
38933893+ ac_cv_header_stdc=no
38943894+fi
38953895+rm -f conftest*
38963896+38973897+fi
38983898+38993899+if test $ac_cv_header_stdc = yes; then
39003900+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
39013901+ cat >conftest.$ac_ext <<_ACEOF
39023902+/* confdefs.h. */
39033903+_ACEOF
39043904+cat confdefs.h >>conftest.$ac_ext
39053905+cat >>conftest.$ac_ext <<_ACEOF
39063906+/* end confdefs.h. */
39073907+#include <stdlib.h>
39083908+39093909+_ACEOF
39103910+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39113911+ $EGREP "free" >/dev/null 2>&1; then
39123912+ :
39133913+else
39143914+ ac_cv_header_stdc=no
39153915+fi
39163916+rm -f conftest*
39173917+39183918+fi
39193919+39203920+if test $ac_cv_header_stdc = yes; then
39213921+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
39223922+ if test "$cross_compiling" = yes; then
39233923+ :
39243924+else
39253925+ cat >conftest.$ac_ext <<_ACEOF
39263926+/* confdefs.h. */
39273927+_ACEOF
39283928+cat confdefs.h >>conftest.$ac_ext
39293929+cat >>conftest.$ac_ext <<_ACEOF
39303930+/* end confdefs.h. */
39313931+#include <ctype.h>
39323932+#include <stdlib.h>
39333933+#if ((' ' & 0x0FF) == 0x020)
39343934+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
39353935+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
39363936+#else
39373937+# define ISLOWER(c) \
39383938+ (('a' <= (c) && (c) <= 'i') \
39393939+ || ('j' <= (c) && (c) <= 'r') \
39403940+ || ('s' <= (c) && (c) <= 'z'))
39413941+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
39423942+#endif
39433943+39443944+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
39453945+int
39463946+main ()
39473947+{
39483948+ int i;
39493949+ for (i = 0; i < 256; i++)
39503950+ if (XOR (islower (i), ISLOWER (i))
39513951+ || toupper (i) != TOUPPER (i))
39523952+ return 2;
39533953+ return 0;
39543954+}
39553955+_ACEOF
39563956+rm -f conftest$ac_exeext
39573957+if { (ac_try="$ac_link"
39583958+case "(($ac_try" in
39593959+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603960+ *) ac_try_echo=$ac_try;;
39613961+esac
39623962+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39633963+$as_echo "$ac_try_echo") >&5
39643964+ (eval "$ac_link") 2>&5
25933965 ac_status=$?
25942594- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952595- (exit $ac_status); }; } &&
25962596- { ac_try='test -s conftest.$ac_objext'
25972597- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982598- (eval $ac_try) 2>&5
39663966+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673967+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39683968+ { (case "(($ac_try" in
39693969+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39703970+ *) ac_try_echo=$ac_try;;
39713971+esac
39723972+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39733973+$as_echo "$ac_try_echo") >&5
39743974+ (eval "$ac_try") 2>&5
25993975 ac_status=$?
26002600- echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763976+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013977 (exit $ac_status); }; }; then
26023978 :
26033979else
26042604- echo "$as_me: failed program was:" >&5
39803980+ $as_echo "$as_me: program exited with status $ac_status" >&5
39813981+$as_echo "$as_me: failed program was:" >&5
26053982sed 's/^/| /' conftest.$ac_ext >&5
2606398326072607-continue
39843984+( exit $ac_status )
39853985+ac_cv_header_stdc=no
26083986fi
26092609-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39873987+rm -rf conftest.dSYM
39883988+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39893989+fi
39903990+39913991+39923992+fi
39933993+fi
39943994+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
39953995+$as_echo "$ac_cv_header_stdc" >&6; }
39963996+if test $ac_cv_header_stdc = yes; then
39973997+39983998+cat >>confdefs.h <<\_ACEOF
39993999+#define STDC_HEADERS 1
40004000+_ACEOF
40014001+40024002+fi
40034003+40044004+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
40054005+40064006+40074007+40084008+40094009+40104010+40114011+40124012+40134013+40144014+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
40154015+ inttypes.h stdint.h unistd.h
40164016+do
40174017+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
40184018+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
40194019+$as_echo_n "checking for $ac_header... " >&6; }
40204020+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40214021+ $as_echo_n "(cached) " >&6
40224022+else
26104023 cat >conftest.$ac_ext <<_ACEOF
26114024/* confdefs.h. */
26124025_ACEOF
26134026cat confdefs.h >>conftest.$ac_ext
26144027cat >>conftest.$ac_ext <<_ACEOF
26154028/* end confdefs.h. */
26162616-$ac_declaration
40294029+$ac_includes_default
40304030+40314031+#include <$ac_header>
40324032+_ACEOF
40334033+rm -f conftest.$ac_objext
40344034+if { (ac_try="$ac_compile"
40354035+case "(($ac_try" in
40364036+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40374037+ *) ac_try_echo=$ac_try;;
40384038+esac
40394039+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40404040+$as_echo "$ac_try_echo") >&5
40414041+ (eval "$ac_compile") 2>conftest.er1
40424042+ ac_status=$?
40434043+ grep -v '^ *+' conftest.er1 >conftest.err
40444044+ rm -f conftest.er1
40454045+ cat conftest.err >&5
40464046+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474047+ (exit $ac_status); } && {
40484048+ test -z "$ac_c_werror_flag" ||
40494049+ test ! -s conftest.err
40504050+ } && test -s conftest.$ac_objext; then
40514051+ eval "$as_ac_Header=yes"
40524052+else
40534053+ $as_echo "$as_me: failed program was:" >&5
40544054+sed 's/^/| /' conftest.$ac_ext >&5
40554055+40564056+ eval "$as_ac_Header=no"
40574057+fi
40584058+40594059+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40604060+fi
40614061+ac_res=`eval 'as_val=${'$as_ac_Header'}
40624062+ $as_echo "$as_val"'`
40634063+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
40644064+$as_echo "$ac_res" >&6; }
40654065+if test `eval 'as_val=${'$as_ac_Header'}
40664066+ $as_echo "$as_val"'` = yes; then
40674067+ cat >>confdefs.h <<_ACEOF
40684068+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
40694069+_ACEOF
40704070+40714071+fi
40724072+40734073+done
40744074+40754075+40764076+ { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
40774077+$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
40784078+if test "${ac_cv_prog_cc_c99+set}" = set; then
40794079+ $as_echo_n "(cached) " >&6
40804080+else
40814081+ ac_cv_prog_cc_c99=no
40824082+ac_save_CC=$CC
40834083+cat >conftest.$ac_ext <<_ACEOF
40844084+/* confdefs.h. */
40854085+_ACEOF
40864086+cat confdefs.h >>conftest.$ac_ext
40874087+cat >>conftest.$ac_ext <<_ACEOF
40884088+/* end confdefs.h. */
40894089+#include <stdarg.h>
40904090+#include <stdbool.h>
40914091+#include <stdlib.h>
40924092+#include <wchar.h>
40934093+#include <stdio.h>
40944094+40954095+// Check varargs macros. These examples are taken from C99 6.10.3.5.
40964096+#define debug(...) fprintf (stderr, __VA_ARGS__)
40974097+#define showlist(...) puts (#__VA_ARGS__)
40984098+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
40994099+static void
41004100+test_varargs_macros (void)
41014101+{
41024102+ int x = 1234;
41034103+ int y = 5678;
41044104+ debug ("Flag");
41054105+ debug ("X = %d\n", x);
41064106+ showlist (The first, second, and third items.);
41074107+ report (x>y, "x is %d but y is %d", x, y);
41084108+}
41094109+41104110+// Check long long types.
41114111+#define BIG64 18446744073709551615ull
41124112+#define BIG32 4294967295ul
41134113+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
41144114+#if !BIG_OK
41154115+ your preprocessor is broken;
41164116+#endif
41174117+#if BIG_OK
41184118+#else
41194119+ your preprocessor is broken;
41204120+#endif
41214121+static long long int bignum = -9223372036854775807LL;
41224122+static unsigned long long int ubignum = BIG64;
41234123+41244124+struct incomplete_array
41254125+{
41264126+ int datasize;
41274127+ double data[];
41284128+};
41294129+41304130+struct named_init {
41314131+ int number;
41324132+ const wchar_t *name;
41334133+ double average;
41344134+};
41354135+41364136+typedef const char *ccp;
41374137+41384138+static inline int
41394139+test_restrict (ccp restrict text)
41404140+{
41414141+ // See if C++-style comments work.
41424142+ // Iterate through items via the restricted pointer.
41434143+ // Also check for declarations in for loops.
41444144+ for (unsigned int i = 0; *(text+i) != '\0'; ++i)
41454145+ continue;
41464146+ return 0;
41474147+}
41484148+41494149+// Check varargs and va_copy.
41504150+static void
41514151+test_varargs (const char *format, ...)
41524152+{
41534153+ va_list args;
41544154+ va_start (args, format);
41554155+ va_list args_copy;
41564156+ va_copy (args_copy, args);
41574157+41584158+ const char *str;
41594159+ int number;
41604160+ float fnumber;
41614161+41624162+ while (*format)
41634163+ {
41644164+ switch (*format++)
41654165+ {
41664166+ case 's': // string
41674167+ str = va_arg (args_copy, const char *);
41684168+ break;
41694169+ case 'd': // int
41704170+ number = va_arg (args_copy, int);
41714171+ break;
41724172+ case 'f': // float
41734173+ fnumber = va_arg (args_copy, double);
41744174+ break;
41754175+ default:
41764176+ break;
41774177+ }
41784178+ }
41794179+ va_end (args_copy);
41804180+ va_end (args);
41814181+}
41824182+26174183int
26184184main ()
26194185{
26202620-exit (42);
41864186+41874187+ // Check bool.
41884188+ _Bool success = false;
41894189+41904190+ // Check restrict.
41914191+ if (test_restrict ("String literal") == 0)
41924192+ success = true;
41934193+ char *restrict newvar = "Another string";
41944194+41954195+ // Check varargs.
41964196+ test_varargs ("s, d' f .", "string", 65, 34.234);
41974197+ test_varargs_macros ();
41984198+41994199+ // Check flexible array members.
42004200+ struct incomplete_array *ia =
42014201+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
42024202+ ia->datasize = 10;
42034203+ for (int i = 0; i < ia->datasize; ++i)
42044204+ ia->data[i] = i * 1.234;
42054205+42064206+ // Check named initializers.
42074207+ struct named_init ni = {
42084208+ .number = 34,
42094209+ .name = L"Test wide string",
42104210+ .average = 543.34343,
42114211+ };
42124212+42134213+ ni.number = 58;
42144214+42154215+ int dynamic_array[ni.number];
42164216+ dynamic_array[ni.number - 1] = 543;
42174217+42184218+ // work around unused variable warnings
42194219+ return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
42204220+ || dynamic_array[ni.number - 1] != 543);
42214221+26214222 ;
26224223 return 0;
26234224}
26244225_ACEOF
26252625-rm -f conftest.$ac_objext
26262626-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26272627- (eval $ac_compile) 2>conftest.er1
42264226+for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
42274227+do
42284228+ CC="$ac_save_CC $ac_arg"
42294229+ rm -f conftest.$ac_objext
42304230+if { (ac_try="$ac_compile"
42314231+case "(($ac_try" in
42324232+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42334233+ *) ac_try_echo=$ac_try;;
42344234+esac
42354235+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42364236+$as_echo "$ac_try_echo") >&5
42374237+ (eval "$ac_compile") 2>conftest.er1
26284238 ac_status=$?
26294239 grep -v '^ *+' conftest.er1 >conftest.err
26304240 rm -f conftest.er1
26314241 cat conftest.err >&5
26322632- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332633- (exit $ac_status); } &&
26342634- { ac_try='test -z "$ac_c_werror_flag"
26352635- || test ! -s conftest.err'
26362636- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372637- (eval $ac_try) 2>&5
42424242+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434243+ (exit $ac_status); } && {
42444244+ test -z "$ac_c_werror_flag" ||
42454245+ test ! -s conftest.err
42464246+ } && test -s conftest.$ac_objext; then
42474247+ ac_cv_prog_cc_c99=$ac_arg
42484248+else
42494249+ $as_echo "$as_me: failed program was:" >&5
42504250+sed 's/^/| /' conftest.$ac_ext >&5
42514251+42524252+42534253+fi
42544254+42554255+rm -f core conftest.err conftest.$ac_objext
42564256+ test "x$ac_cv_prog_cc_c99" != "xno" && break
42574257+done
42584258+rm -f conftest.$ac_ext
42594259+CC=$ac_save_CC
42604260+42614261+fi
42624262+# AC_CACHE_VAL
42634263+case "x$ac_cv_prog_cc_c99" in
42644264+ x)
42654265+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
42664266+$as_echo "none needed" >&6; } ;;
42674267+ xno)
42684268+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
42694269+$as_echo "unsupported" >&6; } ;;
42704270+ *)
42714271+ CC="$CC $ac_cv_prog_cc_c99"
42724272+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
42734273+$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
42744274+esac
42754275+42764276+42774277+42784278+42794279+42804280+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42814281+ if test -n "$ac_tool_prefix"; then
42824282+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42834283+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42844284+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
42854285+$as_echo_n "checking for $ac_word... " >&6; }
42864286+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42874287+ $as_echo_n "(cached) " >&6
42884288+else
42894289+ case $PKG_CONFIG in
42904290+ [\\/]* | ?:[\\/]*)
42914291+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42924292+ ;;
42934293+ *)
42944294+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42954295+for as_dir in $PATH
42964296+do
42974297+ IFS=$as_save_IFS
42984298+ test -z "$as_dir" && as_dir=.
42994299+ for ac_exec_ext in '' $ac_executable_extensions; do
43004300+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43014301+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43024302+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43034303+ break 2
43044304+ fi
43054305+done
43064306+done
43074307+IFS=$as_save_IFS
43084308+43094309+ ;;
43104310+esac
43114311+fi
43124312+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43134313+if test -n "$PKG_CONFIG"; then
43144314+ { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43154315+$as_echo "$PKG_CONFIG" >&6; }
43164316+else
43174317+ { $as_echo "$as_me:$LINENO: result: no" >&5
43184318+$as_echo "no" >&6; }
43194319+fi
43204320+43214321+43224322+fi
43234323+if test -z "$ac_cv_path_PKG_CONFIG"; then
43244324+ ac_pt_PKG_CONFIG=$PKG_CONFIG
43254325+ # Extract the first word of "pkg-config", so it can be a program name with args.
43264326+set dummy pkg-config; ac_word=$2
43274327+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
43284328+$as_echo_n "checking for $ac_word... " >&6; }
43294329+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43304330+ $as_echo_n "(cached) " >&6
43314331+else
43324332+ case $ac_pt_PKG_CONFIG in
43334333+ [\\/]* | ?:[\\/]*)
43344334+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43354335+ ;;
43364336+ *)
43374337+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43384338+for as_dir in $PATH
43394339+do
43404340+ IFS=$as_save_IFS
43414341+ test -z "$as_dir" && as_dir=.
43424342+ for ac_exec_ext in '' $ac_executable_extensions; do
43434343+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43444344+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43454345+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43464346+ break 2
43474347+ fi
43484348+done
43494349+done
43504350+IFS=$as_save_IFS
43514351+43524352+ ;;
43534353+esac
43544354+fi
43554355+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43564356+if test -n "$ac_pt_PKG_CONFIG"; then
43574357+ { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43584358+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
43594359+else
43604360+ { $as_echo "$as_me:$LINENO: result: no" >&5
43614361+$as_echo "no" >&6; }
43624362+fi
43634363+43644364+ if test "x$ac_pt_PKG_CONFIG" = x; then
43654365+ PKG_CONFIG=""
43664366+ else
43674367+ case $cross_compiling:$ac_tool_warned in
43684368+yes:)
43694369+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43704370+whose name does not start with the host triplet. If you think this
43714371+configuration is useful to you, please write to autoconf@gnu.org." >&5
43724372+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43734373+whose name does not start with the host triplet. If you think this
43744374+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43754375+ac_tool_warned=yes ;;
43764376+esac
43774377+ PKG_CONFIG=$ac_pt_PKG_CONFIG
43784378+ fi
43794379+else
43804380+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43814381+fi
43824382+43834383+fi
43844384+if test -n "$PKG_CONFIG"; then
43854385+ _pkg_min_version=0.9.0
43864386+ { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43874387+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
43884388+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43894389+ { $as_echo "$as_me:$LINENO: result: yes" >&5
43904390+$as_echo "yes" >&6; }
43914391+ else
43924392+ { $as_echo "$as_me:$LINENO: result: no" >&5
43934393+$as_echo "no" >&6; }
43944394+ PKG_CONFIG=""
43954395+ fi
43964396+43974397+fi
43984398+# Make sure we can run config.sub.
43994399+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
44004400+ { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
44014401+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
44024402+ { (exit 1); exit 1; }; }
44034403+44044404+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
44054405+$as_echo_n "checking build system type... " >&6; }
44064406+if test "${ac_cv_build+set}" = set; then
44074407+ $as_echo_n "(cached) " >&6
44084408+else
44094409+ ac_build_alias=$build_alias
44104410+test "x$ac_build_alias" = x &&
44114411+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
44124412+test "x$ac_build_alias" = x &&
44134413+ { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
44144414+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
44154415+ { (exit 1); exit 1; }; }
44164416+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44174417+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
44184418+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
44194419+ { (exit 1); exit 1; }; }
44204420+44214421+fi
44224422+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
44234423+$as_echo "$ac_cv_build" >&6; }
44244424+case $ac_cv_build in
44254425+*-*-*) ;;
44264426+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
44274427+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
44284428+ { (exit 1); exit 1; }; };;
44294429+esac
44304430+build=$ac_cv_build
44314431+ac_save_IFS=$IFS; IFS='-'
44324432+set x $ac_cv_build
44334433+shift
44344434+build_cpu=$1
44354435+build_vendor=$2
44364436+shift; shift
44374437+# Remember, the first character of IFS is used to create $*,
44384438+# except with old shells:
44394439+build_os=$*
44404440+IFS=$ac_save_IFS
44414441+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
44424442+44434443+44444444+{ $as_echo "$as_me:$LINENO: checking host system type" >&5
44454445+$as_echo_n "checking host system type... " >&6; }
44464446+if test "${ac_cv_host+set}" = set; then
44474447+ $as_echo_n "(cached) " >&6
44484448+else
44494449+ if test "x$host_alias" = x; then
44504450+ ac_cv_host=$ac_cv_build
44514451+else
44524452+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44534453+ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
44544454+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
44554455+ { (exit 1); exit 1; }; }
44564456+fi
44574457+44584458+fi
44594459+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
44604460+$as_echo "$ac_cv_host" >&6; }
44614461+case $ac_cv_host in
44624462+*-*-*) ;;
44634463+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
44644464+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
44654465+ { (exit 1); exit 1; }; };;
44664466+esac
44674467+host=$ac_cv_host
44684468+ac_save_IFS=$IFS; IFS='-'
44694469+set x $ac_cv_host
44704470+shift
44714471+host_cpu=$1
44724472+host_vendor=$2
44734473+shift; shift
44744474+# Remember, the first character of IFS is used to create $*,
44754475+# except with old shells:
44764476+host_os=$*
44774477+IFS=$ac_save_IFS
44784478+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
44794479+44804480+44814481+44824482+44834483+44844484+if test "x$GCC" = xyes ; then
44854485+ CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
44864486+-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
44874487+-Wbad-function-cast -Wformat=2"
44884488+ case `$CC -dumpversion` in
44894489+ 3.4.* | 4.*)
44904490+ CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
44914491+ ;;
44924492+ esac
44934493+else
44944494+ { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
44954495+$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
44964496+if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
44974497+ $as_echo_n "(cached) " >&6
44984498+else
44994499+ cat >conftest.$ac_ext <<_ACEOF
45004500+/* confdefs.h. */
45014501+_ACEOF
45024502+cat confdefs.h >>conftest.$ac_ext
45034503+cat >>conftest.$ac_ext <<_ACEOF
45044504+/* end confdefs.h. */
45054505+$ac_includes_default
45064506+int
45074507+main ()
45084508+{
45094509+#ifndef __SUNPRO_C
45104510+ (void) __SUNPRO_C;
45114511+#endif
45124512+45134513+ ;
45144514+ return 0;
45154515+}
45164516+_ACEOF
45174517+rm -f conftest.$ac_objext
45184518+if { (ac_try="$ac_compile"
45194519+case "(($ac_try" in
45204520+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45214521+ *) ac_try_echo=$ac_try;;
45224522+esac
45234523+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45244524+$as_echo "$ac_try_echo") >&5
45254525+ (eval "$ac_compile") 2>conftest.er1
26384526 ac_status=$?
26392639- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402640- (exit $ac_status); }; } &&
26412641- { ac_try='test -s conftest.$ac_objext'
26422642- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432643- (eval $ac_try) 2>&5
45274527+ grep -v '^ *+' conftest.er1 >conftest.err
45284528+ rm -f conftest.er1
45294529+ cat conftest.err >&5
45304530+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45314531+ (exit $ac_status); } && {
45324532+ test -z "$ac_c_werror_flag" ||
45334533+ test ! -s conftest.err
45344534+ } && test -s conftest.$ac_objext; then
45354535+ ac_cv_have_decl___SUNPRO_C=yes
45364536+else
45374537+ $as_echo "$as_me: failed program was:" >&5
45384538+sed 's/^/| /' conftest.$ac_ext >&5
45394539+45404540+ ac_cv_have_decl___SUNPRO_C=no
45414541+fi
45424542+45434543+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45444544+fi
45454545+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
45464546+$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
45474547+if test $ac_cv_have_decl___SUNPRO_C = yes; then
45484548+ SUNCC="yes"
45494549+else
45504550+ SUNCC="no"
45514551+fi
45524552+45534553+ if test "x$SUNCC" = "xyes"; then
45544554+ CWARNFLAGS="-v"
45554555+ fi
45564556+fi
45574557+45584558+45594559+45604560+45614561+45624562+45634563+45644564+# Check whether --enable-strict-compilation was given.
45654565+if test "${enable_strict_compilation+set}" = set; then
45664566+ enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
45674567+else
45684568+ STRICT_COMPILE=no
45694569+fi
45704570+45714571+if test "x$STRICT_COMPILE" = "xyes"; then
45724572+ { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
45734573+$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
45744574+if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
45754575+ $as_echo_n "(cached) " >&6
45764576+else
45774577+ cat >conftest.$ac_ext <<_ACEOF
45784578+/* confdefs.h. */
45794579+_ACEOF
45804580+cat confdefs.h >>conftest.$ac_ext
45814581+cat >>conftest.$ac_ext <<_ACEOF
45824582+/* end confdefs.h. */
45834583+$ac_includes_default
45844584+int
45854585+main ()
45864586+{
45874587+#ifndef __SUNPRO_C
45884588+ (void) __SUNPRO_C;
45894589+#endif
45904590+45914591+ ;
45924592+ return 0;
45934593+}
45944594+_ACEOF
45954595+rm -f conftest.$ac_objext
45964596+if { (ac_try="$ac_compile"
45974597+case "(($ac_try" in
45984598+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45994599+ *) ac_try_echo=$ac_try;;
46004600+esac
46014601+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46024602+$as_echo "$ac_try_echo") >&5
46034603+ (eval "$ac_compile") 2>conftest.er1
26444604 ac_status=$?
26452645- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462646- (exit $ac_status); }; }; then
26472647- break
46054605+ grep -v '^ *+' conftest.er1 >conftest.err
46064606+ rm -f conftest.er1
46074607+ cat conftest.err >&5
46084608+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46094609+ (exit $ac_status); } && {
46104610+ test -z "$ac_c_werror_flag" ||
46114611+ test ! -s conftest.err
46124612+ } && test -s conftest.$ac_objext; then
46134613+ ac_cv_have_decl___SUNPRO_C=yes
26484614else
26492649- echo "$as_me: failed program was:" >&5
46154615+ $as_echo "$as_me: failed program was:" >&5
26504616sed 's/^/| /' conftest.$ac_ext >&5
2651461746184618+ ac_cv_have_decl___SUNPRO_C=no
26524619fi
26532653-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26542654-done
26552655-rm -f conftest*
26562656-if test -n "$ac_declaration"; then
26572657- echo '#ifdef __cplusplus' >>confdefs.h
26582658- echo $ac_declaration >>confdefs.h
26592659- echo '#endif' >>confdefs.h
46204620+46214621+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224622+fi
46234623+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
46244624+$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
46254625+if test $ac_cv_have_decl___SUNPRO_C = yes; then
46264626+ SUNCC="yes"
46274627+else
46284628+ SUNCC="no"
26604629fi
2661463046314631+ { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
46324632+$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
46334633+if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
46344634+ $as_echo_n "(cached) " >&6
26624635else
26632663- echo "$as_me: failed program was:" >&5
46364636+ cat >conftest.$ac_ext <<_ACEOF
46374637+/* confdefs.h. */
46384638+_ACEOF
46394639+cat confdefs.h >>conftest.$ac_ext
46404640+cat >>conftest.$ac_ext <<_ACEOF
46414641+/* end confdefs.h. */
46424642+$ac_includes_default
46434643+int
46444644+main ()
46454645+{
46464646+#ifndef __INTEL_COMPILER
46474647+ (void) __INTEL_COMPILER;
46484648+#endif
46494649+46504650+ ;
46514651+ return 0;
46524652+}
46534653+_ACEOF
46544654+rm -f conftest.$ac_objext
46554655+if { (ac_try="$ac_compile"
46564656+case "(($ac_try" in
46574657+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46584658+ *) ac_try_echo=$ac_try;;
46594659+esac
46604660+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46614661+$as_echo "$ac_try_echo") >&5
46624662+ (eval "$ac_compile") 2>conftest.er1
46634663+ ac_status=$?
46644664+ grep -v '^ *+' conftest.er1 >conftest.err
46654665+ rm -f conftest.er1
46664666+ cat conftest.err >&5
46674667+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684668+ (exit $ac_status); } && {
46694669+ test -z "$ac_c_werror_flag" ||
46704670+ test ! -s conftest.err
46714671+ } && test -s conftest.$ac_objext; then
46724672+ ac_cv_have_decl___INTEL_COMPILER=yes
46734673+else
46744674+ $as_echo "$as_me: failed program was:" >&5
26644675sed 's/^/| /' conftest.$ac_ext >&5
2665467646774677+ ac_cv_have_decl___INTEL_COMPILER=no
26664678fi
26672667-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46794679+46804680+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46814681+fi
46824682+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
46834683+$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
46844684+if test $ac_cv_have_decl___INTEL_COMPILER = yes; then
46854685+ INTELCC="yes"
46864686+else
46874687+ INTELCC="no"
46884688+fi
46894689+46904690+ if test "x$GCC" = xyes ; then
46914691+ STRICT_CFLAGS="-pedantic -Werror"
46924692+ elif test "x$SUNCC" = "xyes"; then
46934693+ STRICT_CFLAGS="-errwarn"
46944694+ elif test "x$INTELCC" = "xyes"; then
46954695+ STRICT_CFLAGS="-Werror"
46964696+ fi
46974697+fi
46984698+CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
46994699+47004700+47014701+47024702+47034703+# Check whether --with-release-version was given.
47044704+if test "${with_release_version+set}" = set; then
47054705+ withval=$with_release_version; RELEASE_VERSION="$withval"
47064706+else
47074707+ RELEASE_VERSION=""
47084708+fi
47094709+47104710+ if test "x$RELEASE_VERSION" != "x"; then
47114711+ PACKAGE="$PACKAGE-$RELEASE_VERSION"
47124712+ PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47134713+ { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47144714+$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
47154715+ fi
47164716+47174717+cat >>confdefs.h <<_ACEOF
47184718+#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47194719+_ACEOF
47204720+47214721+ PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
47224722+ if test "x$PVM" = "x"; then
47234723+ PVM="0"
47244724+ fi
47254725+47264726+cat >>confdefs.h <<_ACEOF
47274727+#define PACKAGE_VERSION_MINOR $PVM
47284728+_ACEOF
47294729+47304730+ PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
47314731+ if test "x$PVP" = "x"; then
47324732+ PVP="0"
47334733+ fi
47344734+47354735+cat >>confdefs.h <<_ACEOF
47364736+#define PACKAGE_VERSION_PATCHLEVEL $PVP
47374737+_ACEOF
47384738+47394739+47404740+47414741+CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
47424742+mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
47434743+|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
47444744+echo 'git directory not found: installing possibly empty changelog.' >&2)"
47454745+47464746+47474747+47484748+47494749+macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
47504750+INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
47514751+mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
47524752+|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
47534753+echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
47544754+47554755+47564756+47574757+47584758+47594759+if test x$APP_MAN_SUFFIX = x ; then
47604760+ APP_MAN_SUFFIX=1
47614761+fi
47624762+if test x$APP_MAN_DIR = x ; then
47634763+ APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
47644764+fi
47654765+47664766+if test x$LIB_MAN_SUFFIX = x ; then
47674767+ LIB_MAN_SUFFIX=3
47684768+fi
47694769+if test x$LIB_MAN_DIR = x ; then
47704770+ LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
47714771+fi
47724772+47734773+if test x$FILE_MAN_SUFFIX = x ; then
47744774+ case $host_os in
47754775+ solaris*) FILE_MAN_SUFFIX=4 ;;
47764776+ *) FILE_MAN_SUFFIX=5 ;;
47774777+ esac
47784778+fi
47794779+if test x$FILE_MAN_DIR = x ; then
47804780+ FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
47814781+fi
47824782+47834783+if test x$MISC_MAN_SUFFIX = x ; then
47844784+ case $host_os in
47854785+ solaris*) MISC_MAN_SUFFIX=5 ;;
47864786+ *) MISC_MAN_SUFFIX=7 ;;
47874787+ esac
47884788+fi
47894789+if test x$MISC_MAN_DIR = x ; then
47904790+ MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47914791+fi
47924792+47934793+if test x$DRIVER_MAN_SUFFIX = x ; then
47944794+ case $host_os in
47954795+ solaris*) DRIVER_MAN_SUFFIX=7 ;;
47964796+ *) DRIVER_MAN_SUFFIX=4 ;;
47974797+ esac
47984798+fi
47994799+if test x$DRIVER_MAN_DIR = x ; then
48004800+ DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
48014801+fi
48024802+48034803+if test x$ADMIN_MAN_SUFFIX = x ; then
48044804+ case $host_os in
48054805+ solaris*) ADMIN_MAN_SUFFIX=1m ;;
48064806+ *) ADMIN_MAN_SUFFIX=8 ;;
48074807+ esac
48084808+fi
48094809+if test x$ADMIN_MAN_DIR = x ; then
48104810+ ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
48114811+fi
48124812+48134813+48144814+48154815+48164816+48174817+48184818+48194819+48204820+48214821+48224822+48234823+48244824+48254825+48264826+48274827+AM_DEFAULT_VERBOSITY=1
48284828+48294829+48304830+48314831+ac_config_headers="$ac_config_headers config.h"
48324832+48334833+26684834ac_ext=c
26694835ac_cpp='$CPP $CPPFLAGS'
26704836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26724838ac_compiler_gnu=$ac_cv_c_compiler_gnu
26732673-DEPDIR="${am__leading_dot}deps"
48394839+if test -n "$ac_tool_prefix"; then
48404840+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
48414841+set dummy ${ac_tool_prefix}gcc; ac_word=$2
48424842+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48434843+$as_echo_n "checking for $ac_word... " >&6; }
48444844+if test "${ac_cv_prog_CC+set}" = set; then
48454845+ $as_echo_n "(cached) " >&6
48464846+else
48474847+ if test -n "$CC"; then
48484848+ ac_cv_prog_CC="$CC" # Let the user override the test.
48494849+else
48504850+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48514851+for as_dir in $PATH
48524852+do
48534853+ IFS=$as_save_IFS
48544854+ test -z "$as_dir" && as_dir=.
48554855+ for ac_exec_ext in '' $ac_executable_extensions; do
48564856+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48574857+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
48584858+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48594859+ break 2
48604860+ fi
48614861+done
48624862+done
48634863+IFS=$as_save_IFS
2674486426752675- ac_config_commands="$ac_config_commands depfiles"
48654865+fi
48664866+fi
48674867+CC=$ac_cv_prog_CC
48684868+if test -n "$CC"; then
48694869+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
48704870+$as_echo "$CC" >&6; }
48714871+else
48724872+ { $as_echo "$as_me:$LINENO: result: no" >&5
48734873+$as_echo "no" >&6; }
48744874+fi
267648752677487626782678-am_make=${MAKE-make}
26792679-cat > confinc << 'END'
26802680-am__doit:
26812681- @echo done
26822682-.PHONY: am__doit
26832683-END
26842684-# If we don't find an include directive, just comment out the code.
26852685-echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
26862686-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
26872687-am__include="#"
26882688-am__quote=
26892689-_am_result=none
26902690-# First try GNU make style include.
26912691-echo "include confinc" > confmf
26922692-# We grep out `Entering directory' and `Leaving directory'
26932693-# messages which can occur if `w' ends up in MAKEFLAGS.
26942694-# In particular we don't look at `^make:' because GNU make might
26952695-# be invoked under some other name (usually "gmake"), in which
26962696-# case it prints its new name instead of `make'.
26972697-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
26982698- am__include=include
26992699- am__quote=
27002700- _am_result=GNU
27014877fi
27022702-# Now try BSD make style include.
27032703-if test "$am__include" = "#"; then
27042704- echo '.include "confinc"' > confmf
27052705- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
27062706- am__include=.include
27072707- am__quote="\""
27082708- _am_result=BSD
27092709- fi
48784878+if test -z "$ac_cv_prog_CC"; then
48794879+ ac_ct_CC=$CC
48804880+ # Extract the first word of "gcc", so it can be a program name with args.
48814881+set dummy gcc; ac_word=$2
48824882+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48834883+$as_echo_n "checking for $ac_word... " >&6; }
48844884+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
48854885+ $as_echo_n "(cached) " >&6
48864886+else
48874887+ if test -n "$ac_ct_CC"; then
48884888+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48894889+else
48904890+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48914891+for as_dir in $PATH
48924892+do
48934893+ IFS=$as_save_IFS
48944894+ test -z "$as_dir" && as_dir=.
48954895+ for ac_exec_ext in '' $ac_executable_extensions; do
48964896+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48974897+ ac_cv_prog_ac_ct_CC="gcc"
48984898+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48994899+ break 2
49004900+ fi
49014901+done
49024902+done
49034903+IFS=$as_save_IFS
49044904+49054905+fi
49064906+fi
49074907+ac_ct_CC=$ac_cv_prog_ac_ct_CC
49084908+if test -n "$ac_ct_CC"; then
49094909+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
49104910+$as_echo "$ac_ct_CC" >&6; }
49114911+else
49124912+ { $as_echo "$as_me:$LINENO: result: no" >&5
49134913+$as_echo "no" >&6; }
27104914fi
2711491549164916+ if test "x$ac_ct_CC" = x; then
49174917+ CC=""
49184918+ else
49194919+ case $cross_compiling:$ac_tool_warned in
49204920+yes:)
49214921+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49224922+whose name does not start with the host triplet. If you think this
49234923+configuration is useful to you, please write to autoconf@gnu.org." >&5
49244924+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49254925+whose name does not start with the host triplet. If you think this
49264926+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49274927+ac_tool_warned=yes ;;
49284928+esac
49294929+ CC=$ac_ct_CC
49304930+ fi
49314931+else
49324932+ CC="$ac_cv_prog_CC"
49334933+fi
2712493427132713-echo "$as_me:$LINENO: result: $_am_result" >&5
27142714-echo "${ECHO_T}$_am_result" >&6
27152715-rm -f confinc confmf
49354935+if test -z "$CC"; then
49364936+ if test -n "$ac_tool_prefix"; then
49374937+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
49384938+set dummy ${ac_tool_prefix}cc; ac_word=$2
49394939+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49404940+$as_echo_n "checking for $ac_word... " >&6; }
49414941+if test "${ac_cv_prog_CC+set}" = set; then
49424942+ $as_echo_n "(cached) " >&6
49434943+else
49444944+ if test -n "$CC"; then
49454945+ ac_cv_prog_CC="$CC" # Let the user override the test.
49464946+else
49474947+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49484948+for as_dir in $PATH
49494949+do
49504950+ IFS=$as_save_IFS
49514951+ test -z "$as_dir" && as_dir=.
49524952+ for ac_exec_ext in '' $ac_executable_extensions; do
49534953+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49544954+ ac_cv_prog_CC="${ac_tool_prefix}cc"
49554955+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49564956+ break 2
49574957+ fi
49584958+done
49594959+done
49604960+IFS=$as_save_IFS
2716496127172717-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
27182718-if test "${enable_dependency_tracking+set}" = set; then
27192719- enableval="$enable_dependency_tracking"
49624962+fi
49634963+fi
49644964+CC=$ac_cv_prog_CC
49654965+if test -n "$CC"; then
49664966+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
49674967+$as_echo "$CC" >&6; }
49684968+else
49694969+ { $as_echo "$as_me:$LINENO: result: no" >&5
49704970+$as_echo "no" >&6; }
49714971+fi
2720497227212721-fi;
27222722-if test "x$enable_dependency_tracking" != xno; then
27232723- am_depcomp="$ac_aux_dir/depcomp"
27242724- AMDEPBACKSLASH='\'
49734973+49744974+ fi
49754975+fi
49764976+if test -z "$CC"; then
49774977+ # Extract the first word of "cc", so it can be a program name with args.
49784978+set dummy cc; ac_word=$2
49794979+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49804980+$as_echo_n "checking for $ac_word... " >&6; }
49814981+if test "${ac_cv_prog_CC+set}" = set; then
49824982+ $as_echo_n "(cached) " >&6
49834983+else
49844984+ if test -n "$CC"; then
49854985+ ac_cv_prog_CC="$CC" # Let the user override the test.
49864986+else
49874987+ ac_prog_rejected=no
49884988+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49894989+for as_dir in $PATH
49904990+do
49914991+ IFS=$as_save_IFS
49924992+ test -z "$as_dir" && as_dir=.
49934993+ for ac_exec_ext in '' $ac_executable_extensions; do
49944994+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49954995+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
49964996+ ac_prog_rejected=yes
49974997+ continue
49984998+ fi
49994999+ ac_cv_prog_CC="cc"
50005000+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50015001+ break 2
50025002+ fi
50035003+done
50045004+done
50055005+IFS=$as_save_IFS
50065006+50075007+if test $ac_prog_rejected = yes; then
50085008+ # We found a bogon in the path, so make sure we never use it.
50095009+ set dummy $ac_cv_prog_CC
50105010+ shift
50115011+ if test $# != 0; then
50125012+ # We chose a different compiler from the bogus one.
50135013+ # However, it has the same basename, so the bogon will be chosen
50145014+ # first if we set CC to just the basename; use the full file name.
50155015+ shift
50165016+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
50175017+ fi
50185018+fi
50195019+fi
50205020+fi
50215021+CC=$ac_cv_prog_CC
50225022+if test -n "$CC"; then
50235023+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
50245024+$as_echo "$CC" >&6; }
50255025+else
50265026+ { $as_echo "$as_me:$LINENO: result: no" >&5
50275027+$as_echo "no" >&6; }
27255028fi
272650292727503027282728-if test "x$enable_dependency_tracking" != xno; then
27292729- AMDEP_TRUE=
27302730- AMDEP_FALSE='#'
50315031+fi
50325032+if test -z "$CC"; then
50335033+ if test -n "$ac_tool_prefix"; then
50345034+ for ac_prog in cl.exe
50355035+ do
50365036+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
50375037+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
50385038+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50395039+$as_echo_n "checking for $ac_word... " >&6; }
50405040+if test "${ac_cv_prog_CC+set}" = set; then
50415041+ $as_echo_n "(cached) " >&6
27315042else
27322732- AMDEP_TRUE='#'
27332733- AMDEP_FALSE=
50435043+ if test -n "$CC"; then
50445044+ ac_cv_prog_CC="$CC" # Let the user override the test.
50455045+else
50465046+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50475047+for as_dir in $PATH
50485048+do
50495049+ IFS=$as_save_IFS
50505050+ test -z "$as_dir" && as_dir=.
50515051+ for ac_exec_ext in '' $ac_executable_extensions; do
50525052+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50535053+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
50545054+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50555055+ break 2
50565056+ fi
50575057+done
50585058+done
50595059+IFS=$as_save_IFS
50605060+50615061+fi
50625062+fi
50635063+CC=$ac_cv_prog_CC
50645064+if test -n "$CC"; then
50655065+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
50665066+$as_echo "$CC" >&6; }
50675067+else
50685068+ { $as_echo "$as_me:$LINENO: result: no" >&5
50695069+$as_echo "no" >&6; }
27345070fi
273550712736507250735073+ test -n "$CC" && break
50745074+ done
50755075+fi
50765076+if test -z "$CC"; then
50775077+ ac_ct_CC=$CC
50785078+ for ac_prog in cl.exe
50795079+do
50805080+ # Extract the first word of "$ac_prog", so it can be a program name with args.
50815081+set dummy $ac_prog; ac_word=$2
50825082+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50835083+$as_echo_n "checking for $ac_word... " >&6; }
50845084+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
50855085+ $as_echo_n "(cached) " >&6
50865086+else
50875087+ if test -n "$ac_ct_CC"; then
50885088+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
50895089+else
50905090+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50915091+for as_dir in $PATH
50925092+do
50935093+ IFS=$as_save_IFS
50945094+ test -z "$as_dir" && as_dir=.
50955095+ for ac_exec_ext in '' $ac_executable_extensions; do
50965096+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50975097+ ac_cv_prog_ac_ct_CC="$ac_prog"
50985098+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50995099+ break 2
51005100+ fi
51015101+done
51025102+done
51035103+IFS=$as_save_IFS
51045104+51055105+fi
51065106+fi
51075107+ac_ct_CC=$ac_cv_prog_ac_ct_CC
51085108+if test -n "$ac_ct_CC"; then
51095109+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
51105110+$as_echo "$ac_ct_CC" >&6; }
51115111+else
51125112+ { $as_echo "$as_me:$LINENO: result: no" >&5
51135113+$as_echo "no" >&6; }
51145114+fi
273751152738511651175117+ test -n "$ac_ct_CC" && break
51185118+done
51195119+51205120+ if test "x$ac_ct_CC" = x; then
51215121+ CC=""
51225122+ else
51235123+ case $cross_compiling:$ac_tool_warned in
51245124+yes:)
51255125+{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51265126+whose name does not start with the host triplet. If you think this
51275127+configuration is useful to you, please write to autoconf@gnu.org." >&5
51285128+$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51295129+whose name does not start with the host triplet. If you think this
51305130+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51315131+ac_tool_warned=yes ;;
51325132+esac
51335133+ CC=$ac_ct_CC
51345134+ fi
51355135+fi
51365136+51375137+fi
51385138+51395139+51405140+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
51415141+See \`config.log' for more details." >&5
51425142+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
51435143+See \`config.log' for more details." >&2;}
51445144+ { (exit 1); exit 1; }; }
51455145+51465146+# Provide some information about the compiler.
51475147+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
51485148+set X $ac_compile
51495149+ac_compiler=$2
51505150+{ (ac_try="$ac_compiler --version >&5"
51515151+case "(($ac_try" in
51525152+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51535153+ *) ac_try_echo=$ac_try;;
51545154+esac
51555155+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
51565156+$as_echo "$ac_try_echo") >&5
51575157+ (eval "$ac_compiler --version >&5") 2>&5
51585158+ ac_status=$?
51595159+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51605160+ (exit $ac_status); }
51615161+{ (ac_try="$ac_compiler -v >&5"
51625162+case "(($ac_try" in
51635163+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51645164+ *) ac_try_echo=$ac_try;;
51655165+esac
51665166+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
51675167+$as_echo "$ac_try_echo") >&5
51685168+ (eval "$ac_compiler -v >&5") 2>&5
51695169+ ac_status=$?
51705170+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715171+ (exit $ac_status); }
51725172+{ (ac_try="$ac_compiler -V >&5"
51735173+case "(($ac_try" in
51745174+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51755175+ *) ac_try_echo=$ac_try;;
51765176+esac
51775177+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
51785178+$as_echo "$ac_try_echo") >&5
51795179+ (eval "$ac_compiler -V >&5") 2>&5
51805180+ ac_status=$?
51815181+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51825182+ (exit $ac_status); }
51835183+51845184+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
51855185+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
51865186+if test "${ac_cv_c_compiler_gnu+set}" = set; then
51875187+ $as_echo_n "(cached) " >&6
51885188+else
51895189+ cat >conftest.$ac_ext <<_ACEOF
51905190+/* confdefs.h. */
51915191+_ACEOF
51925192+cat confdefs.h >>conftest.$ac_ext
51935193+cat >>conftest.$ac_ext <<_ACEOF
51945194+/* end confdefs.h. */
51955195+51965196+int
51975197+main ()
51985198+{
51995199+#ifndef __GNUC__
52005200+ choke me
52015201+#endif
52025202+52035203+ ;
52045204+ return 0;
52055205+}
52065206+_ACEOF
52075207+rm -f conftest.$ac_objext
52085208+if { (ac_try="$ac_compile"
52095209+case "(($ac_try" in
52105210+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52115211+ *) ac_try_echo=$ac_try;;
52125212+esac
52135213+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
52145214+$as_echo "$ac_try_echo") >&5
52155215+ (eval "$ac_compile") 2>conftest.er1
52165216+ ac_status=$?
52175217+ grep -v '^ *+' conftest.er1 >conftest.err
52185218+ rm -f conftest.er1
52195219+ cat conftest.err >&5
52205220+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52215221+ (exit $ac_status); } && {
52225222+ test -z "$ac_c_werror_flag" ||
52235223+ test ! -s conftest.err
52245224+ } && test -s conftest.$ac_objext; then
52255225+ ac_compiler_gnu=yes
52265226+else
52275227+ $as_echo "$as_me: failed program was:" >&5
52285228+sed 's/^/| /' conftest.$ac_ext >&5
52295229+52305230+ ac_compiler_gnu=no
52315231+fi
52325232+52335233+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345234+ac_cv_c_compiler_gnu=$ac_compiler_gnu
52355235+52365236+fi
52375237+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
52385238+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
52395239+if test $ac_compiler_gnu = yes; then
52405240+ GCC=yes
52415241+else
52425242+ GCC=
52435243+fi
52445244+ac_test_CFLAGS=${CFLAGS+set}
52455245+ac_save_CFLAGS=$CFLAGS
52465246+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
52475247+$as_echo_n "checking whether $CC accepts -g... " >&6; }
52485248+if test "${ac_cv_prog_cc_g+set}" = set; then
52495249+ $as_echo_n "(cached) " >&6
52505250+else
52515251+ ac_save_c_werror_flag=$ac_c_werror_flag
52525252+ ac_c_werror_flag=yes
52535253+ ac_cv_prog_cc_g=no
52545254+ CFLAGS="-g"
52555255+ cat >conftest.$ac_ext <<_ACEOF
52565256+/* confdefs.h. */
52575257+_ACEOF
52585258+cat confdefs.h >>conftest.$ac_ext
52595259+cat >>conftest.$ac_ext <<_ACEOF
52605260+/* end confdefs.h. */
52615261+52625262+int
52635263+main ()
52645264+{
52655265+52665266+ ;
52675267+ return 0;
52685268+}
52695269+_ACEOF
52705270+rm -f conftest.$ac_objext
52715271+if { (ac_try="$ac_compile"
52725272+case "(($ac_try" in
52735273+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52745274+ *) ac_try_echo=$ac_try;;
52755275+esac
52765276+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
52775277+$as_echo "$ac_try_echo") >&5
52785278+ (eval "$ac_compile") 2>conftest.er1
52795279+ ac_status=$?
52805280+ grep -v '^ *+' conftest.er1 >conftest.err
52815281+ rm -f conftest.er1
52825282+ cat conftest.err >&5
52835283+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52845284+ (exit $ac_status); } && {
52855285+ test -z "$ac_c_werror_flag" ||
52865286+ test ! -s conftest.err
52875287+ } && test -s conftest.$ac_objext; then
52885288+ ac_cv_prog_cc_g=yes
52895289+else
52905290+ $as_echo "$as_me: failed program was:" >&5
52915291+sed 's/^/| /' conftest.$ac_ext >&5
52925292+52935293+ CFLAGS=""
52945294+ cat >conftest.$ac_ext <<_ACEOF
52955295+/* confdefs.h. */
52965296+_ACEOF
52975297+cat confdefs.h >>conftest.$ac_ext
52985298+cat >>conftest.$ac_ext <<_ACEOF
52995299+/* end confdefs.h. */
53005300+53015301+int
53025302+main ()
53035303+{
53045304+53055305+ ;
53065306+ return 0;
53075307+}
53085308+_ACEOF
53095309+rm -f conftest.$ac_objext
53105310+if { (ac_try="$ac_compile"
53115311+case "(($ac_try" in
53125312+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53135313+ *) ac_try_echo=$ac_try;;
53145314+esac
53155315+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
53165316+$as_echo "$ac_try_echo") >&5
53175317+ (eval "$ac_compile") 2>conftest.er1
53185318+ ac_status=$?
53195319+ grep -v '^ *+' conftest.er1 >conftest.err
53205320+ rm -f conftest.er1
53215321+ cat conftest.err >&5
53225322+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53235323+ (exit $ac_status); } && {
53245324+ test -z "$ac_c_werror_flag" ||
53255325+ test ! -s conftest.err
53265326+ } && test -s conftest.$ac_objext; then
53275327+ :
53285328+else
53295329+ $as_echo "$as_me: failed program was:" >&5
53305330+sed 's/^/| /' conftest.$ac_ext >&5
53315331+53325332+ ac_c_werror_flag=$ac_save_c_werror_flag
53335333+ CFLAGS="-g"
53345334+ cat >conftest.$ac_ext <<_ACEOF
53355335+/* confdefs.h. */
53365336+_ACEOF
53375337+cat confdefs.h >>conftest.$ac_ext
53385338+cat >>conftest.$ac_ext <<_ACEOF
53395339+/* end confdefs.h. */
53405340+53415341+int
53425342+main ()
53435343+{
53445344+53455345+ ;
53465346+ return 0;
53475347+}
53485348+_ACEOF
53495349+rm -f conftest.$ac_objext
53505350+if { (ac_try="$ac_compile"
53515351+case "(($ac_try" in
53525352+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53535353+ *) ac_try_echo=$ac_try;;
53545354+esac
53555355+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
53565356+$as_echo "$ac_try_echo") >&5
53575357+ (eval "$ac_compile") 2>conftest.er1
53585358+ ac_status=$?
53595359+ grep -v '^ *+' conftest.er1 >conftest.err
53605360+ rm -f conftest.er1
53615361+ cat conftest.err >&5
53625362+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53635363+ (exit $ac_status); } && {
53645364+ test -z "$ac_c_werror_flag" ||
53655365+ test ! -s conftest.err
53665366+ } && test -s conftest.$ac_objext; then
53675367+ ac_cv_prog_cc_g=yes
53685368+else
53695369+ $as_echo "$as_me: failed program was:" >&5
53705370+sed 's/^/| /' conftest.$ac_ext >&5
53715371+53725372+53735373+fi
53745374+53755375+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53765376+fi
53775377+53785378+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53795379+fi
53805380+53815381+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53825382+ ac_c_werror_flag=$ac_save_c_werror_flag
53835383+fi
53845384+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
53855385+$as_echo "$ac_cv_prog_cc_g" >&6; }
53865386+if test "$ac_test_CFLAGS" = set; then
53875387+ CFLAGS=$ac_save_CFLAGS
53885388+elif test $ac_cv_prog_cc_g = yes; then
53895389+ if test "$GCC" = yes; then
53905390+ CFLAGS="-g -O2"
53915391+ else
53925392+ CFLAGS="-g"
53935393+ fi
53945394+else
53955395+ if test "$GCC" = yes; then
53965396+ CFLAGS="-O2"
53975397+ else
53985398+ CFLAGS=
53995399+ fi
54005400+fi
54015401+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
54025402+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
54035403+if test "${ac_cv_prog_cc_c89+set}" = set; then
54045404+ $as_echo_n "(cached) " >&6
54055405+else
54065406+ ac_cv_prog_cc_c89=no
54075407+ac_save_CC=$CC
54085408+cat >conftest.$ac_ext <<_ACEOF
54095409+/* confdefs.h. */
54105410+_ACEOF
54115411+cat confdefs.h >>conftest.$ac_ext
54125412+cat >>conftest.$ac_ext <<_ACEOF
54135413+/* end confdefs.h. */
54145414+#include <stdarg.h>
54155415+#include <stdio.h>
54165416+#include <sys/types.h>
54175417+#include <sys/stat.h>
54185418+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
54195419+struct buf { int x; };
54205420+FILE * (*rcsopen) (struct buf *, struct stat *, int);
54215421+static char *e (p, i)
54225422+ char **p;
54235423+ int i;
54245424+{
54255425+ return p[i];
54265426+}
54275427+static char *f (char * (*g) (char **, int), char **p, ...)
54285428+{
54295429+ char *s;
54305430+ va_list v;
54315431+ va_start (v,p);
54325432+ s = g (p, va_arg (v,int));
54335433+ va_end (v);
54345434+ return s;
54355435+}
54365436+54375437+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
54385438+ function prototypes and stuff, but not '\xHH' hex character constants.
54395439+ These don't provoke an error unfortunately, instead are silently treated
54405440+ as 'x'. The following induces an error, until -std is added to get
54415441+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
54425442+ array size at least. It's necessary to write '\x00'==0 to get something
54435443+ that's true only with -std. */
54445444+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
54455445+54465446+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
54475447+ inside strings and character constants. */
54485448+#define FOO(x) 'x'
54495449+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
54505450+54515451+int test (int i, double x);
54525452+struct s1 {int (*f) (int a);};
54535453+struct s2 {int (*f) (double a);};
54545454+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
54555455+int argc;
54565456+char **argv;
54575457+int
54585458+main ()
54595459+{
54605460+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
54615461+ ;
54625462+ return 0;
54635463+}
54645464+_ACEOF
54655465+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
54665466+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
54675467+do
54685468+ CC="$ac_save_CC $ac_arg"
54695469+ rm -f conftest.$ac_objext
54705470+if { (ac_try="$ac_compile"
54715471+case "(($ac_try" in
54725472+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54735473+ *) ac_try_echo=$ac_try;;
54745474+esac
54755475+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
54765476+$as_echo "$ac_try_echo") >&5
54775477+ (eval "$ac_compile") 2>conftest.er1
54785478+ ac_status=$?
54795479+ grep -v '^ *+' conftest.er1 >conftest.err
54805480+ rm -f conftest.er1
54815481+ cat conftest.err >&5
54825482+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
54835483+ (exit $ac_status); } && {
54845484+ test -z "$ac_c_werror_flag" ||
54855485+ test ! -s conftest.err
54865486+ } && test -s conftest.$ac_objext; then
54875487+ ac_cv_prog_cc_c89=$ac_arg
54885488+else
54895489+ $as_echo "$as_me: failed program was:" >&5
54905490+sed 's/^/| /' conftest.$ac_ext >&5
54915491+54925492+54935493+fi
54945494+54955495+rm -f core conftest.err conftest.$ac_objext
54965496+ test "x$ac_cv_prog_cc_c89" != "xno" && break
54975497+done
54985498+rm -f conftest.$ac_ext
54995499+CC=$ac_save_CC
55005500+55015501+fi
55025502+# AC_CACHE_VAL
55035503+case "x$ac_cv_prog_cc_c89" in
55045504+ x)
55055505+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
55065506+$as_echo "none needed" >&6; } ;;
55075507+ xno)
55085508+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
55095509+$as_echo "unsupported" >&6; } ;;
55105510+ *)
55115511+ CC="$CC $ac_cv_prog_cc_c89"
55125512+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
55135513+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
55145514+esac
55155515+55165516+55175517+ac_ext=c
55185518+ac_cpp='$CPP $CPPFLAGS'
55195519+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55205520+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215521+ac_compiler_gnu=$ac_cv_c_compiler_gnu
55225522+27395523depcc="$CC" am_compiler_list=
2740552427412741-echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
27422742-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
55255525+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
55265526+$as_echo_n "checking dependency style of $depcc... " >&6; }
27435527if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
27442744- echo $ECHO_N "(cached) $ECHO_C" >&6
55285528+ $as_echo_n "(cached) " >&6
27455529else
27465530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
27475531 # We make a subdir and do the tests there. Otherwise we can end up
···28285612fi
2829561328305614fi
28312831-echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
28322832-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
56155615+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
56165616+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
28335617CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2834561828355619···28455629fi
284656302847563156325632+if test "x$CC" != xcc; then
56335633+ { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
56345634+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
56355635+else
56365636+ { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
56375637+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
56385638+fi
56395639+set dummy $CC; ac_cc=`$as_echo "$2" |
56405640+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
56415641+if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
56425642+ $as_echo_n "(cached) " >&6
56435643+else
56445644+ cat >conftest.$ac_ext <<_ACEOF
56455645+/* confdefs.h. */
56465646+_ACEOF
56475647+cat confdefs.h >>conftest.$ac_ext
56485648+cat >>conftest.$ac_ext <<_ACEOF
56495649+/* end confdefs.h. */
56505650+56515651+int
56525652+main ()
56535653+{
56545654+56555655+ ;
56565656+ return 0;
56575657+}
56585658+_ACEOF
56595659+# Make sure it works both with $CC and with simple cc.
56605660+# We do the test twice because some compilers refuse to overwrite an
56615661+# existing .o file with -o, though they will create one.
56625662+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
56635663+rm -f conftest2.*
56645664+if { (case "(($ac_try" in
56655665+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56665666+ *) ac_try_echo=$ac_try;;
56675667+esac
56685668+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
56695669+$as_echo "$ac_try_echo") >&5
56705670+ (eval "$ac_try") 2>&5
56715671+ ac_status=$?
56725672+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735673+ (exit $ac_status); } &&
56745674+ test -f conftest2.$ac_objext && { (case "(($ac_try" in
56755675+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56765676+ *) ac_try_echo=$ac_try;;
56775677+esac
56785678+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
56795679+$as_echo "$ac_try_echo") >&5
56805680+ (eval "$ac_try") 2>&5
56815681+ ac_status=$?
56825682+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
56835683+ (exit $ac_status); };
56845684+then
56855685+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes
56865686+ if test "x$CC" != xcc; then
56875687+ # Test first that cc exists at all.
56885688+ if { ac_try='cc -c conftest.$ac_ext >&5'
56895689+ { (case "(($ac_try" in
56905690+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56915691+ *) ac_try_echo=$ac_try;;
56925692+esac
56935693+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
56945694+$as_echo "$ac_try_echo") >&5
56955695+ (eval "$ac_try") 2>&5
56965696+ ac_status=$?
56975697+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
56985698+ (exit $ac_status); }; }; then
56995699+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
57005700+ rm -f conftest2.*
57015701+ if { (case "(($ac_try" in
57025702+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57035703+ *) ac_try_echo=$ac_try;;
57045704+esac
57055705+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
57065706+$as_echo "$ac_try_echo") >&5
57075707+ (eval "$ac_try") 2>&5
57085708+ ac_status=$?
57095709+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
57105710+ (exit $ac_status); } &&
57115711+ test -f conftest2.$ac_objext && { (case "(($ac_try" in
57125712+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57135713+ *) ac_try_echo=$ac_try;;
57145714+esac
57155715+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
57165716+$as_echo "$ac_try_echo") >&5
57175717+ (eval "$ac_try") 2>&5
57185718+ ac_status=$?
57195719+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
57205720+ (exit $ac_status); };
57215721+ then
57225722+ # cc works too.
57235723+ :
57245724+ else
57255725+ # cc exists but doesn't like -o.
57265726+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
57275727+ fi
57285728+ fi
57295729+ fi
57305730+else
57315731+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
57325732+fi
57335733+rm -f core conftest*
57345734+57355735+fi
57365736+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
57375737+ { $as_echo "$as_me:$LINENO: result: yes" >&5
57385738+$as_echo "yes" >&6; }
57395739+else
57405740+ { $as_echo "$as_me:$LINENO: result: no" >&5
57415741+$as_echo "no" >&6; }
57425742+57435743+cat >>confdefs.h <<\_ACEOF
57445744+#define NO_MINUS_C_MINUS_O 1
57455745+_ACEOF
57465746+57475747+fi
57485748+57495749+# FIXME: we rely on the cache variable name because
57505750+# there is no other way.
57515751+set dummy $CC
57525752+ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
57535753+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
57545754+ # Losing compiler, so override with the script.
57555755+ # FIXME: It is wrong to rewrite CC.
57565756+ # But if we don't then we get into trouble of one sort or another.
57575757+ # A longer-term fix would be to have automake use am__CC in this case,
57585758+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
57595759+ CC="$am_aux_dir/compile $CC"
57605760+fi
57615761+28485762# Find a good install program. We prefer a C program (faster),
28495763# so one script is as good as another. But avoid the broken or
28505764# incompatible versions:
···28585772# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
28595773# OS/2's system install, which has a completely different semantic
28605774# ./install, which can be erroneously created by make from ./install.sh.
28612861-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
28622862-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
57755775+# Reject install programs that cannot install multiple files.
57765776+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
57775777+$as_echo_n "checking for a BSD-compatible install... " >&6; }
28635778if test -z "$INSTALL"; then
28645779if test "${ac_cv_path_install+set}" = set; then
28652865- echo $ECHO_N "(cached) $ECHO_C" >&6
57805780+ $as_echo_n "(cached) " >&6
28665781else
28675782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28685783for as_dir in $PATH
···28815796 # by default.
28825797 for ac_prog in ginstall scoinst install; do
28835798 for ac_exec_ext in '' $ac_executable_extensions; do
28842884- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
57995799+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
28855800 if test $ac_prog = install &&
28865801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
28875802 # AIX install. It has an incompatible calling convention.
···28915806 # program-specific install script used by HP pwplus--don't use.
28925807 :
28935808 else
28942894- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
28952895- break 3
58095809+ rm -rf conftest.one conftest.two conftest.dir
58105810+ echo one > conftest.one
58115811+ echo two > conftest.two
58125812+ mkdir conftest.dir
58135813+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
58145814+ test -s conftest.one && test -s conftest.two &&
58155815+ test -s conftest.dir/conftest.one &&
58165816+ test -s conftest.dir/conftest.two
58175817+ then
58185818+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
58195819+ break 3
58205820+ fi
28965821 fi
28975822 fi
28985823 done
28995824 done
29005825 ;;
29015826esac
58275827+29025828done
58295829+IFS=$as_save_IFS
2903583058315831+rm -rf conftest.one conftest.two conftest.dir
2904583229055833fi
29065834 if test "${ac_cv_path_install+set}" = set; then
29075835 INSTALL=$ac_cv_path_install
29085836 else
29092909- # As a last resort, use the slow shell script. We don't cache a
29102910- # path for INSTALL within a source directory, because that will
58375837+ # As a last resort, use the slow shell script. Don't cache a
58385838+ # value for INSTALL within a source directory, because that will
29115839 # break other packages using the cache if that directory is
29122912- # removed, or if the path is relative.
58405840+ # removed, or if the value is a relative name.
29135841 INSTALL=$ac_install_sh
29145842 fi
29155843fi
29162916-echo "$as_me:$LINENO: result: $INSTALL" >&5
29172917-echo "${ECHO_T}$INSTALL" >&6
58445844+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
58455845+$as_echo "$INSTALL" >&6; }
2918584629195847# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
29205848# It thinks the first close brace ends the variable substitution.
···29255853test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
292658542927585529282928-# Checks for pkg-config packages
29292929-29302930-29312931-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29322932- if test -n "$ac_tool_prefix"; then
29332933- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29342934-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29352935-echo "$as_me:$LINENO: checking for $ac_word" >&5
29362936-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29372937-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29382938- echo $ECHO_N "(cached) $ECHO_C" >&6
29392939-else
29402940- case $PKG_CONFIG in
29412941- [\\/]* | ?:[\\/]*)
29422942- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29432943- ;;
29442944- *)
29452945- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29462946-for as_dir in $PATH
29472947-do
29482948- IFS=$as_save_IFS
29492949- test -z "$as_dir" && as_dir=.
29502950- for ac_exec_ext in '' $ac_executable_extensions; do
29512951- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29522952- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29532953- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29542954- break 2
29552955- fi
29562956-done
29572957-done
29582958-29592959- ;;
29602960-esac
29612961-fi
29622962-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29632963-29642964-if test -n "$PKG_CONFIG"; then
29652965- echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29662966-echo "${ECHO_T}$PKG_CONFIG" >&6
29672967-else
29682968- echo "$as_me:$LINENO: result: no" >&5
29692969-echo "${ECHO_T}no" >&6
29702970-fi
29712971-29722972-fi
29732973-if test -z "$ac_cv_path_PKG_CONFIG"; then
29742974- ac_pt_PKG_CONFIG=$PKG_CONFIG
29752975- # Extract the first word of "pkg-config", so it can be a program name with args.
29762976-set dummy pkg-config; ac_word=$2
29772977-echo "$as_me:$LINENO: checking for $ac_word" >&5
29782978-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29792979-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29802980- echo $ECHO_N "(cached) $ECHO_C" >&6
29812981-else
29822982- case $ac_pt_PKG_CONFIG in
29832983- [\\/]* | ?:[\\/]*)
29842984- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29852985- ;;
29862986- *)
29872987- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29882988-for as_dir in $PATH
29892989-do
29902990- IFS=$as_save_IFS
29912991- test -z "$as_dir" && as_dir=.
29922992- for ac_exec_ext in '' $ac_executable_extensions; do
29932993- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29942994- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29952995- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29962996- break 2
29972997- fi
29982998-done
29992999-done
30003000-30013001- ;;
30023002-esac
30033003-fi
30043004-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30053005-30063006-if test -n "$ac_pt_PKG_CONFIG"; then
30073007- echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30083008-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30093009-else
30103010- echo "$as_me:$LINENO: result: no" >&5
30113011-echo "${ECHO_T}no" >&6
30123012-fi
30133013-30143014- PKG_CONFIG=$ac_pt_PKG_CONFIG
30153015-else
30163016- PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30173017-fi
3018585630193019-fi
30203020-if test -n "$PKG_CONFIG"; then
30213021- _pkg_min_version=0.9.0
30223022- echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30233023-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30243024- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30253025- echo "$as_me:$LINENO: result: yes" >&5
30263026-echo "${ECHO_T}yes" >&6
30273027- else
30283028- echo "$as_me:$LINENO: result: no" >&5
30293029-echo "${ECHO_T}no" >&6
30303030- PKG_CONFIG=""
30313031- fi
30323032-30333033-fi
30343034-30353035- # Check whether --enable-xprint or --disable-xprint was given.
30363036-if test "${enable_xprint+set}" = set; then
30373037- enableval="$enable_xprint"
30383038- use_xprint=$enableval
30393039-else
30403040- use_xprint=auto
30413041-fi;
30423042- if test "x$use_xprint" = "xyes"; then
30433043- TMP_CHECK1=xaw8
30443044- TMP_CHECK2=
30453045- xaw_use_xprint=yes
30463046- elif test "x$use_xprint" = "xno"; then
30473047- TMP_CHECK1=xaw7
30483048- TMP_CHECK2=
30493049- xaw_use_xprint=no
30503050- else
30513051- TMP_CHECK1=xaw8
30523052- TMP_CHECK2=xaw7
30533053- xaw_use_xprint=yes
30543054- fi
30553055-30563056-30573057-pkg_failed=no
30583058-echo "$as_me:$LINENO: checking for TMP_XAW" >&5
30593059-echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
30603060-30613061-if test -n "$PKG_CONFIG"; then
30623062- if test -n "$TMP_XAW_CFLAGS"; then
30633063- pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
30643064- else
30653065- if test -n "$PKG_CONFIG" && \
30663066- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
30673067- ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
30683068- ac_status=$?
30693069- echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703070- (exit $ac_status); }; then
30713071- pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
30723072-else
30733073- pkg_failed=yes
30743074-fi
30753075- fi
30763076-else
30773077- pkg_failed=untried
30783078-fi
30793079-if test -n "$PKG_CONFIG"; then
30803080- if test -n "$TMP_XAW_LIBS"; then
30813081- pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
30823082- else
30833083- if test -n "$PKG_CONFIG" && \
30843084- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
30853085- ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
30863086- ac_status=$?
30873087- echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883088- (exit $ac_status); }; then
30893089- pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
30903090-else
30913091- pkg_failed=yes
30923092-fi
30933093- fi
30943094-else
30953095- pkg_failed=untried
30963096-fi
30973097-30983098-30993099-31003100-if test $pkg_failed = yes; then
31013101-31023102-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31033103- _pkg_short_errors_supported=yes
31043104-else
31053105- _pkg_short_errors_supported=no
31063106-fi
31073107- if test $_pkg_short_errors_supported = yes; then
31083108- TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"`
31093109- else
31103110- TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
31113111- fi
31123112- # Put the nasty error message in config.log where it belongs
31133113- echo "$TMP_XAW_PKG_ERRORS" >&5
31143114-31153115- echo "$as_me:$LINENO: result: no" >&5
31163116-echo "${ECHO_T}no" >&6
31173117- success=no
31183118-elif test $pkg_failed = untried; then
31193119- success=no
31203120-else
31213121- TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
31223122- TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
31233123- echo "$as_me:$LINENO: result: yes" >&5
31243124-echo "${ECHO_T}yes" >&6
31253125- success=yes
31263126-fi
31273127- if [ ! -z $TMP_CHECK2 ] ; then
31283128- if test $success = no ; then
31293129-31303130-pkg_failed=no
31313131-echo "$as_me:$LINENO: checking for TMP_XAW" >&5
31323132-echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
31333133-31343134-if test -n "$PKG_CONFIG"; then
31353135- if test -n "$TMP_XAW_CFLAGS"; then
31363136- pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
31373137- else
31383138- if test -n "$PKG_CONFIG" && \
31393139- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
31403140- ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
31413141- ac_status=$?
31423142- echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433143- (exit $ac_status); }; then
31443144- pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
31453145-else
31463146- pkg_failed=yes
31473147-fi
31483148- fi
31493149-else
31503150- pkg_failed=untried
31513151-fi
31523152-if test -n "$PKG_CONFIG"; then
31533153- if test -n "$TMP_XAW_LIBS"; then
31543154- pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
31553155- else
31563156- if test -n "$PKG_CONFIG" && \
31573157- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
31583158- ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
31593159- ac_status=$?
31603160- echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613161- (exit $ac_status); }; then
31623162- pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
31633163-else
31643164- pkg_failed=yes
31653165-fi
31663166- fi
31673167-else
31683168- pkg_failed=untried
31693169-fi
31703170-31713171-31723172-31733173-if test $pkg_failed = yes; then
31743174-31753175-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31763176- _pkg_short_errors_supported=yes
31773177-else
31783178- _pkg_short_errors_supported=no
31793179-fi
31803180- if test $_pkg_short_errors_supported = yes; then
31813181- TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"`
31823182- else
31833183- TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
31843184- fi
31853185- # Put the nasty error message in config.log where it belongs
31863186- echo "$TMP_XAW_PKG_ERRORS" >&5
31873187-31883188- echo "$as_me:$LINENO: result: no" >&5
31893189-echo "${ECHO_T}no" >&6
31903190- success=no
31913191-elif test $pkg_failed = untried; then
31923192- success=no
31933193-else
31943194- TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
31953195- TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
31963196- echo "$as_me:$LINENO: result: yes" >&5
31973197-echo "${ECHO_T}yes" >&6
31983198- success=yes
31993199-fi
32003200- xaw_use_xprint=no
32013201- fi
32023202- fi
32033203-32043204- if test "x$success" = "xyes"; then
32053205- XMORE_CFLAGS=$TMP_XAW_CFLAGS
32063206- XMORE_LIBS=$TMP_XAW_LIBS
32073207-32083208-32093209-32103210-if test "x$xaw_use_xprint" = "xyes"; then
32113211- XAW_USE_XPRINT_TRUE=
32123212- XAW_USE_XPRINT_FALSE='#'
32133213-else
32143214- XAW_USE_XPRINT_TRUE='#'
32153215- XAW_USE_XPRINT_FALSE=
32163216-fi
32173217-32183218- else
32193219- { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
32203220-echo "$as_me: error: No suitable version of Xaw found" >&2;}
32213221- { (exit 1); exit 1; }; }
32223222- fi
32233223-32243224-if test "x$xaw_use_xprint" = "xyes" ; then
58575857+# Checks for pkg-config packages
3225585832265859pkg_failed=no
32273227-echo "$as_me:$LINENO: checking for XPRINT_UTIL" >&5
32283228-echo $ECHO_N "checking for XPRINT_UTIL... $ECHO_C" >&6
58605860+{ $as_echo "$as_me:$LINENO: checking for XMORE" >&5
58615861+$as_echo_n "checking for XMORE... " >&6; }
3229586232305863if test -n "$PKG_CONFIG"; then
32313231- if test -n "$XPRINT_UTIL_CFLAGS"; then
32323232- pkg_cv_XPRINT_UTIL_CFLAGS="$XPRINT_UTIL_CFLAGS"
58645864+ if test -n "$XMORE_CFLAGS"; then
58655865+ pkg_cv_XMORE_CFLAGS="$XMORE_CFLAGS"
32335866 else
32345867 if test -n "$PKG_CONFIG" && \
32353235- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
32363236- ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
58685868+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
58695869+ ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
32375870 ac_status=$?
32383238- echo "$as_me:$LINENO: \$? = $ac_status" >&5
58715871+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395872 (exit $ac_status); }; then
32403240- pkg_cv_XPRINT_UTIL_CFLAGS=`$PKG_CONFIG --cflags "xprintutil xp" 2>/dev/null`
58735873+ pkg_cv_XMORE_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
32415874else
32425875 pkg_failed=yes
32435876fi
···32465879 pkg_failed=untried
32475880fi
32485881if test -n "$PKG_CONFIG"; then
32493249- if test -n "$XPRINT_UTIL_LIBS"; then
32503250- pkg_cv_XPRINT_UTIL_LIBS="$XPRINT_UTIL_LIBS"
58825882+ if test -n "$XMORE_LIBS"; then
58835883+ pkg_cv_XMORE_LIBS="$XMORE_LIBS"
32515884 else
32525885 if test -n "$PKG_CONFIG" && \
32533253- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
32543254- ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
58865886+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
58875887+ ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
32555888 ac_status=$?
32563256- echo "$as_me:$LINENO: \$? = $ac_status" >&5
58895889+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575890 (exit $ac_status); }; then
32583258- pkg_cv_XPRINT_UTIL_LIBS=`$PKG_CONFIG --libs "xprintutil xp" 2>/dev/null`
58915891+ pkg_cv_XMORE_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
32595892else
32605893 pkg_failed=yes
32615894fi
···32745907 _pkg_short_errors_supported=no
32755908fi
32765909 if test $_pkg_short_errors_supported = yes; then
32773277- XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xprintutil xp"`
59105910+ XMORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xaw7"`
32785911 else
32793279- XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xprintutil xp"`
59125912+ XMORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7"`
32805913 fi
32815914 # Put the nasty error message in config.log where it belongs
32823282- echo "$XPRINT_UTIL_PKG_ERRORS" >&5
59155915+ echo "$XMORE_PKG_ERRORS" >&5
3283591632843284- { { echo "$as_me:$LINENO: error: Package requirements (xprintutil xp) were not met:
59175917+ { { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met:
3285591832863286-$XPRINT_UTIL_PKG_ERRORS
59195919+$XMORE_PKG_ERRORS
3287592032885921Consider adjusting the PKG_CONFIG_PATH environment variable if you
32895922installed software in a non-standard prefix.
3290592332913291-Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
32923292-and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
59245924+Alternatively, you may set the environment variables XMORE_CFLAGS
59255925+and XMORE_LIBS to avoid the need to call pkg-config.
32935926See the pkg-config man page for more details.
32945927" >&5
32953295-echo "$as_me: error: Package requirements (xprintutil xp) were not met:
59285928+$as_echo "$as_me: error: Package requirements (xaw7) were not met:
3296592932973297-$XPRINT_UTIL_PKG_ERRORS
59305930+$XMORE_PKG_ERRORS
3298593132995932Consider adjusting the PKG_CONFIG_PATH environment variable if you
33005933installed software in a non-standard prefix.
3301593433023302-Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
33033303-and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
59355935+Alternatively, you may set the environment variables XMORE_CFLAGS
59365936+and XMORE_LIBS to avoid the need to call pkg-config.
33045937See the pkg-config man page for more details.
33055938" >&2;}
33065939 { (exit 1); exit 1; }; }
33075940elif test $pkg_failed = untried; then
33083308- { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
59415941+ { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
33095942is in your PATH or set the PKG_CONFIG environment variable to the full
33105943path to pkg-config.
3311594433123312-Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
33133313-and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
59455945+Alternatively, you may set the environment variables XMORE_CFLAGS
59465946+and XMORE_LIBS to avoid the need to call pkg-config.
33145947See the pkg-config man page for more details.
3315594833165949To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33175950See \`config.log' for more details." >&5
33183318-echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
59515951+$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33195952is in your PATH or set the PKG_CONFIG environment variable to the full
33205953path to pkg-config.
3321595433223322-Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
33233323-and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
59555955+Alternatively, you may set the environment variables XMORE_CFLAGS
59565956+and XMORE_LIBS to avoid the need to call pkg-config.
33245957See the pkg-config man page for more details.
3325595833265959To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33275960See \`config.log' for more details." >&2;}
33285961 { (exit 1); exit 1; }; }
33295962else
33303330- XPRINT_UTIL_CFLAGS=$pkg_cv_XPRINT_UTIL_CFLAGS
33313331- XPRINT_UTIL_LIBS=$pkg_cv_XPRINT_UTIL_LIBS
33323332- echo "$as_me:$LINENO: result: yes" >&5
33333333-echo "${ECHO_T}yes" >&6
59635963+ XMORE_CFLAGS=$pkg_cv_XMORE_CFLAGS
59645964+ XMORE_LIBS=$pkg_cv_XMORE_LIBS
59655965+ { $as_echo "$as_me:$LINENO: result: yes" >&5
59665966+$as_echo "yes" >&6; }
33345967 :
33355968fi
3336596933373337- XMORE_CFLAGS="$XMORE_CFLAGS $XPRINT_UTIL_CFLAGS"
33383338- XMORE_LIBS="$XMORE_LIBS $XPRINT_UTIL_LIBS"
33393339-fi
33405970334159713342597233433343-33443344-33455973pkg_failed=no
33463346-echo "$as_me:$LINENO: checking for APPDEFS" >&5
33473347-echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6
59745974+{ $as_echo "$as_me:$LINENO: checking for APPDEFS" >&5
59755975+$as_echo_n "checking for APPDEFS... " >&6; }
3348597633495977if test -n "$PKG_CONFIG"; then
33505978 if test -n "$APPDEFS_CFLAGS"; then
33515979 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
33525980 else
33535981 if test -n "$PKG_CONFIG" && \
33543354- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
59825982+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
33555983 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
33565984 ac_status=$?
33573357- echo "$as_me:$LINENO: \$? = $ac_status" >&5
59855985+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585986 (exit $ac_status); }; then
33595987 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
33605988else
···33695997 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
33705998 else
33715999 if test -n "$PKG_CONFIG" && \
33723372- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
60006000+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
33736001 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
33746002 ac_status=$?
33753375- echo "$as_me:$LINENO: \$? = $ac_status" >&5
60036003+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766004 (exit $ac_status); }; then
33776005 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
33786006else
···34006028 # Put the nasty error message in config.log where it belongs
34016029 echo "$APPDEFS_PKG_ERRORS" >&5
3402603034033403- { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
60316031+ { { $as_echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
3404603234056033$APPDEFS_PKG_ERRORS
34066034···34116039and APPDEFS_LIBS to avoid the need to call pkg-config.
34126040See the pkg-config man page for more details.
34136041" >&5
34143414-echo "$as_me: error: Package requirements (xt) were not met:
60426042+$as_echo "$as_me: error: Package requirements (xt) were not met:
3415604334166044$APPDEFS_PKG_ERRORS
34176045···34246052" >&2;}
34256053 { (exit 1); exit 1; }; }
34266054elif test $pkg_failed = untried; then
34273427- { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
60556055+ { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
34286056is in your PATH or set the PKG_CONFIG environment variable to the full
34296057path to pkg-config.
34306058···3434606234356063To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34366064See \`config.log' for more details." >&5
34373437-echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
60656065+$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
34386066is in your PATH or set the PKG_CONFIG environment variable to the full
34396067path to pkg-config.
34406068···34486076else
34496077 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
34506078 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
34513451- echo "$as_me:$LINENO: result: yes" >&5
34523452-echo "${ECHO_T}yes" >&6
60796079+ { $as_echo "$as_me:$LINENO: result: yes" >&5
60806080+$as_echo "yes" >&6; }
34536081 :
34546082fi
34553455-appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
34563456-34573457-34583458-# Make sure we can run config.sub.
34593459-$ac_config_sub sun4 >/dev/null 2>&1 ||
34603460- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
34613461-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
34623462- { (exit 1); exit 1; }; }
34633463-34643464-echo "$as_me:$LINENO: checking build system type" >&5
34653465-echo $ECHO_N "checking build system type... $ECHO_C" >&6
34663466-if test "${ac_cv_build+set}" = set; then
34673467- echo $ECHO_N "(cached) $ECHO_C" >&6
34683468-else
34693469- ac_cv_build_alias=$build_alias
34703470-test -z "$ac_cv_build_alias" &&
34713471- ac_cv_build_alias=`$ac_config_guess`
34723472-test -z "$ac_cv_build_alias" &&
34733473- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
34743474-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
34753475- { (exit 1); exit 1; }; }
34763476-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
34773477- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
34783478-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
34793479- { (exit 1); exit 1; }; }
60836083+xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
3480608434813481-fi
34823482-echo "$as_me:$LINENO: result: $ac_cv_build" >&5
34833483-echo "${ECHO_T}$ac_cv_build" >&6
34843484-build=$ac_cv_build
34853485-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
34863486-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
34873487-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
34883488-34893489-34903490-echo "$as_me:$LINENO: checking host system type" >&5
34913491-echo $ECHO_N "checking host system type... $ECHO_C" >&6
34923492-if test "${ac_cv_host+set}" = set; then
34933493- echo $ECHO_N "(cached) $ECHO_C" >&6
60856085+# Check whether --with-appdefaultdir was given.
60866086+if test "${with_appdefaultdir+set}" = set; then
60876087+ withval=$with_appdefaultdir; appdefaultdir="$withval"
34946088else
34953495- ac_cv_host_alias=$host_alias
34963496-test -z "$ac_cv_host_alias" &&
34973497- ac_cv_host_alias=$ac_cv_build_alias
34983498-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
34993499- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
35003500-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
35013501- { (exit 1); exit 1; }; }
35023502-35033503-fi
35043504-echo "$as_me:$LINENO: result: $ac_cv_host" >&5
35053505-echo "${ECHO_T}$ac_cv_host" >&6
35063506-host=$ac_cv_host
35073507-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
35083508-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
35093509-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
35103510-35113511-35123512-35133513-35143514-35153515-if test x$APP_MAN_SUFFIX = x ; then
35163516- APP_MAN_SUFFIX=1
35173517-fi
35183518-if test x$APP_MAN_DIR = x ; then
35193519- APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
35203520-fi
35213521-35223522-if test x$LIB_MAN_SUFFIX = x ; then
35233523- LIB_MAN_SUFFIX=3
35243524-fi
35253525-if test x$LIB_MAN_DIR = x ; then
35263526- LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
35273527-fi
35283528-35293529-if test x$FILE_MAN_SUFFIX = x ; then
35303530- case $host_os in
35313531- solaris*) FILE_MAN_SUFFIX=4 ;;
35323532- *) FILE_MAN_SUFFIX=5 ;;
35333533- esac
35343534-fi
35353535-if test x$FILE_MAN_DIR = x ; then
35363536- FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
35373537-fi
35383538-35393539-if test x$MISC_MAN_SUFFIX = x ; then
35403540- case $host_os in
35413541- solaris*) MISC_MAN_SUFFIX=5 ;;
35423542- *) MISC_MAN_SUFFIX=7 ;;
35433543- esac
35443544-fi
35453545-if test x$MISC_MAN_DIR = x ; then
35463546- MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
35473547-fi
35483548-35493549-if test x$DRIVER_MAN_SUFFIX = x ; then
35503550- case $host_os in
35513551- solaris*) DRIVER_MAN_SUFFIX=7 ;;
35523552- *) DRIVER_MAN_SUFFIX=4 ;;
35533553- esac
35543554-fi
35553555-if test x$DRIVER_MAN_DIR = x ; then
35563556- DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
35573557-fi
35583558-35593559-if test x$ADMIN_MAN_SUFFIX = x ; then
35603560- case $host_os in
35613561- solaris*) ADMIN_MAN_SUFFIX=1m ;;
35623562- *) ADMIN_MAN_SUFFIX=8 ;;
35633563- esac
35643564-fi
35653565-if test x$ADMIN_MAN_DIR = x ; then
35663566- ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
60896089+ appdefaultdir="${xt_appdefaultdir}"
35676090fi
3568609135696092357060933571609435723572-35733573-35743574-35753575-35763576-35773577-35783578-35793579-35803580-35813581-35823582-35833583-35843584-35853585-# Check whether --with-release-version or --without-release-version was given.
35863586-if test "${with_release_version+set}" = set; then
35873587- withval="$with_release_version"
35883588- RELEASE_VERSION="$withval"
35893589-else
35903590- RELEASE_VERSION=""
35913591-fi;
35923592- if test "x$RELEASE_VERSION" != "x"; then
35933593- PACKAGE="$PACKAGE-$RELEASE_VERSION"
35943594- PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
35953595- { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
35963596-echo "$as_me: Building with package name set to $PACKAGE" >&6;}
35973597- fi
35983598-35993599-cat >>confdefs.h <<_ACEOF
36003600-#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
36013601-_ACEOF
36023602-36033603- PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
36043604- if test "x$PVM" = "x"; then
36053605- PVM="0"
36063606- fi
36073607-36083608-cat >>confdefs.h <<_ACEOF
36093609-#define PACKAGE_VERSION_MINOR $PVM
36103610-_ACEOF
36113611-36123612- PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
36133613- if test "x$PVP" = "x"; then
36143614- PVP="0"
36153615- fi
60956095+ac_config_files="$ac_config_files Makefile"
3616609636173617-cat >>confdefs.h <<_ACEOF
36183618-#define PACKAGE_VERSION_PATCHLEVEL $PVP
36193619-_ACEOF
36203620-36213621-36223622-36233623- ac_config_files="$ac_config_files Makefile"
36246097cat >confcache <<\_ACEOF
36256098# This file is a shell script that caches the results of configure
36266099# tests run on this system so they can be shared between configure
···3639611236406113# The following way of writing the cache mishandles newlines in values,
36416114# but we know of no workaround that is simple, portable, and efficient.
36423642-# So, don't put newlines in cache variables' values.
61156115+# So, we kill variables containing newlines.
36436116# Ultrix sh set writes to stderr and can't be redirected directly,
36446117# and sets the high bit in the cache file unless we assign to the vars.
36453645-{
61186118+(
61196119+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
61206120+ eval ac_val=\$$ac_var
61216121+ case $ac_val in #(
61226122+ *${as_nl}*)
61236123+ case $ac_var in #(
61246124+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
61256125+$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
61266126+ esac
61276127+ case $ac_var in #(
61286128+ _ | IFS | as_nl) ;; #(
61296129+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
61306130+ *) $as_unset $ac_var ;;
61316131+ esac ;;
61326132+ esac
61336133+ done
61346134+36466135 (set) 2>&1 |
36473647- case `(ac_space=' '; set | grep ac_space) 2>&1` in
36483648- *ac_space=\ *)
61366136+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
61376137+ *${as_nl}ac_space=\ *)
36496138 # `set' does not quote correctly, so add quotes (double-quote
36506139 # substitution turns \\\\ into \\, and sed turns \\ into \).
36516140 sed -n \
36526141 "s/'/'\\\\''/g;
36536142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36543654- ;;
61436143+ ;; #(
36556144 *)
36566145 # `set' quotes correctly as required by POSIX, so do not add quotes.
36573657- sed -n \
36583658- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
61466146+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
36596147 ;;
36603660- esac;
36613661-} |
61486148+ esac |
61496149+ sort
61506150+) |
36626151 sed '
61526152+ /^ac_cv_env_/b end
36636153 t clear
36643664- : clear
61546154+ :clear
36656155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36666156 t end
36673667- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36683668- : end' >>confcache
36693669-if diff $cache_file confcache >/dev/null 2>&1; then :; else
36703670- if test -w $cache_file; then
36713671- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
61576157+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
61586158+ :end' >>confcache
61596159+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
61606160+ if test -w "$cache_file"; then
61616161+ test "x$cache_file" != "x/dev/null" &&
61626162+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
61636163+$as_echo "$as_me: updating cache $cache_file" >&6;}
36726164 cat confcache >$cache_file
36736165 else
36743674- echo "not updating unwritable cache $cache_file"
61666166+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
61676167+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36756168 fi
36766169fi
36776170rm -f confcache
···36806173# Let make expand exec_prefix.
36816174test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3682617536833683-# VPATH may cause trouble with some makes, so we remove $(srcdir),
36843684-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36853685-# trailing colons and then remove the whole line if VPATH becomes empty
36863686-# (actually we leave an empty line to preserve line numbers).
36873687-if test "x$srcdir" = x.; then
36883688- ac_vpsub='/^[ ]*VPATH[ ]*=/{
36893689-s/:*\$(srcdir):*/:/;
36903690-s/:*\${srcdir}:*/:/;
36913691-s/:*@srcdir@:*/:/;
36923692-s/^\([^=]*=[ ]*\):*/\1/;
36933693-s/:*$//;
36943694-s/^[^=]*=[ ]*$//;
36953695-}'
36963696-fi
36973697-36986176DEFS=-DHAVE_CONFIG_H
3699617737006178ac_libobjs=
37016179ac_ltlibobjs=
37026180for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37036181 # 1. Remove the extension, and $U if already installed.
37043704- ac_i=`echo "$ac_i" |
37053705- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37063706- # 2. Add them.
37073707- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
37083708- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
61826182+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
61836183+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
61846184+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
61856185+ # will be set to the directory where LIBOBJS objects are built.
61866186+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
61876187+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
37096188done
37106189LIBOBJS=$ac_libobjs
37116190···371361923714619337156194if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
37163716- { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
61956195+ { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
37176196Usually this means the macro was only invoked conditionally." >&5
37183718-echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
61976197+$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
37196198Usually this means the macro was only invoked conditionally." >&2;}
37206199 { (exit 1); exit 1; }; }
37216200fi
37226201if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
37233723- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
62026202+ { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
37246203Usually this means the macro was only invoked conditionally." >&5
37253725-echo "$as_me: error: conditional \"AMDEP\" was never defined.
62046204+$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
37266205Usually this means the macro was only invoked conditionally." >&2;}
37276206 { (exit 1); exit 1; }; }
37286207fi
37296208if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
37303730- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
62096209+ { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
37316210Usually this means the macro was only invoked conditionally." >&5
37323732-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
62116211+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
37336212Usually this means the macro was only invoked conditionally." >&2;}
37346213 { (exit 1); exit 1; }; }
37356214fi
37363736-if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
37373737- { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
62156215+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
62166216+ { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
37386217Usually this means the macro was only invoked conditionally." >&5
37393739-echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
62186218+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
37406219Usually this means the macro was only invoked conditionally." >&2;}
37416220 { (exit 1); exit 1; }; }
37426221fi
3743622237446223: ${CONFIG_STATUS=./config.status}
62246224+ac_write_fail=0
37456225ac_clean_files_save=$ac_clean_files
37466226ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37473747-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37483748-echo "$as_me: creating $CONFIG_STATUS" >&6;}
37493749-cat >$CONFIG_STATUS <<_ACEOF
62276227+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62286228+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
62296229+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37506230#! $SHELL
37516231# Generated by $as_me.
37526232# Run this file to recreate the current configuration.
···37596239SHELL=\${CONFIG_SHELL-$SHELL}
37606240_ACEOF
3761624137623762-cat >>$CONFIG_STATUS <<\_ACEOF
62426242+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37636243## --------------------- ##
37646244## M4sh Initialization. ##
37656245## --------------------- ##
3766624637673767-# Be Bourne compatible
62476247+# Be more Bourne compatible
62486248+DUALCASE=1; export DUALCASE # for MKS sh
37686249if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37696250 emulate sh
37706251 NULLCMD=:
37713771- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62526252+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
37726253 # is contrary to our usage. Disable this feature.
37736254 alias -g '${1+"$@"}'='"$@"'
37743774-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
37753775- set -o posix
62556255+ setopt NO_GLOB_SUBST
62566256+else
62576257+ case `(set -o) 2>/dev/null` in
62586258+ *posix*) set -o posix ;;
62596259+esac
62606260+37766261fi
37773777-DUALCASE=1; export DUALCASE # for MKS sh
62626262+62636263+62646264+62656265+62666266+# PATH needs CR
62676267+# Avoid depending upon Character Ranges.
62686268+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62696269+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62706270+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62716271+as_cr_digits='0123456789'
62726272+as_cr_alnum=$as_cr_Letters$as_cr_digits
62736273+62746274+as_nl='
62756275+'
62766276+export as_nl
62776277+# Printing a long string crashes Solaris 7 /usr/bin/printf.
62786278+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
62796279+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
62806280+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
62816281+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
62826282+ as_echo='printf %s\n'
62836283+ as_echo_n='printf %s'
62846284+else
62856285+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
62866286+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
62876287+ as_echo_n='/usr/ucb/echo -n'
62886288+ else
62896289+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62906290+ as_echo_n_body='eval
62916291+ arg=$1;
62926292+ case $arg in
62936293+ *"$as_nl"*)
62946294+ expr "X$arg" : "X\\(.*\\)$as_nl";
62956295+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62966296+ esac;
62976297+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
62986298+ '
62996299+ export as_echo_n_body
63006300+ as_echo_n='sh -c $as_echo_n_body as_echo'
63016301+ fi
63026302+ export as_echo_body
63036303+ as_echo='sh -c $as_echo_body as_echo'
63046304+fi
63056305+63066306+# The user is always right.
63076307+if test "${PATH_SEPARATOR+set}" != set; then
63086308+ PATH_SEPARATOR=:
63096309+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
63106310+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
63116311+ PATH_SEPARATOR=';'
63126312+ }
63136313+fi
3778631437796315# Support unset when possible.
37806316if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
···37846320fi
378563213786632263236323+# IFS
63246324+# We need space, tab and new line, in precisely that order. Quoting is
63256325+# there to prevent editors from complaining about space-tab.
63266326+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
63276327+# splitting by setting IFS to empty value.)
63286328+IFS=" "" $as_nl"
63296329+63306330+# Find who we are. Look in the path if we contain no directory separator.
63316331+case $0 in
63326332+ *[\\/]* ) as_myself=$0 ;;
63336333+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
63346334+for as_dir in $PATH
63356335+do
63366336+ IFS=$as_save_IFS
63376337+ test -z "$as_dir" && as_dir=.
63386338+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
63396339+done
63406340+IFS=$as_save_IFS
63416341+63426342+ ;;
63436343+esac
63446344+# We did not find ourselves, most probably we were run as `sh COMMAND'
63456345+# in which case we are not to be found in the path.
63466346+if test "x$as_myself" = x; then
63476347+ as_myself=$0
63486348+fi
63496349+if test ! -f "$as_myself"; then
63506350+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
63516351+ { (exit 1); exit 1; }
63526352+fi
63536353+37876354# Work around bugs in pre-3.0 UWIN ksh.
37883788-$as_unset ENV MAIL MAILPATH
63556355+for as_var in ENV MAIL MAILPATH
63566356+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
63576357+done
37896358PS1='$ '
37906359PS2='> '
37916360PS4='+ '
3792636137936362# NLS nuisances.
37943794-for as_var in \
37953795- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37963796- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37973797- LC_TELEPHONE LC_TIME
37983798-do
37993799- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
38003800- eval $as_var=C; export $as_var
38013801- else
38023802- $as_unset $as_var
38033803- fi
38043804-done
63636363+LC_ALL=C
63646364+export LC_ALL
63656365+LANGUAGE=C
63666366+export LANGUAGE
3805636738066368# Required to use basename.
38073807-if expr a : '\(a\)' >/dev/null 2>&1; then
63696369+if expr a : '\(a\)' >/dev/null 2>&1 &&
63706370+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
38086371 as_expr=expr
38096372else
38106373 as_expr=false
38116374fi
3812637538133813-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
63766376+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
38146377 as_basename=basename
38156378else
38166379 as_basename=false
···381863813819638238206383# Name of the executable.
38213821-as_me=`$as_basename "$0" ||
63846384+as_me=`$as_basename -- "$0" ||
38226385$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
38236386 X"$0" : 'X\(//\)$' \| \
38243824- X"$0" : 'X\(/\)$' \| \
38253825- . : '\(.\)' 2>/dev/null ||
38263826-echo X/"$0" |
38273827- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
38283828- /^X\/\(\/\/\)$/{ s//\1/; q; }
38293829- /^X\/\(\/\).*/{ s//\1/; q; }
38303830- s/.*/./; q'`
38313831-63876387+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
63886388+$as_echo X/"$0" |
63896389+ sed '/^.*\/\([^/][^/]*\)\/*$/{
63906390+ s//\1/
63916391+ q
63926392+ }
63936393+ /^X\/\(\/\/\)$/{
63946394+ s//\1/
63956395+ q
63966396+ }
63976397+ /^X\/\(\/\).*/{
63986398+ s//\1/
63996399+ q
64006400+ }
64016401+ s/.*/./; q'`
3832640238333833-# PATH needs CR, and LINENO needs CR and PATH.
38343834-# Avoid depending upon Character Ranges.
38353835-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38363836-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38373837-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38383838-as_cr_digits='0123456789'
38393839-as_cr_alnum=$as_cr_Letters$as_cr_digits
64036403+# CDPATH.
64046404+$as_unset CDPATH
3840640538413841-# The user is always right.
38423842-if test "${PATH_SEPARATOR+set}" != set; then
38433843- echo "#! /bin/sh" >conf$$.sh
38443844- echo "exit 0" >>conf$$.sh
38453845- chmod +x conf$$.sh
38463846- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
38473847- PATH_SEPARATOR=';'
38483848- else
38493849- PATH_SEPARATOR=:
38503850- fi
38513851- rm -f conf$$.sh
38523852-fi
385364063854640738556408 as_lineno_1=$LINENO
38566409 as_lineno_2=$LINENO
38573857- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38586410 test "x$as_lineno_1" != "x$as_lineno_2" &&
38593859- test "x$as_lineno_3" = "x$as_lineno_2" || {
38603860- # Find who we are. Look in the path if we contain no path at all
38613861- # relative or not.
38623862- case $0 in
38633863- *[\\/]* ) as_myself=$0 ;;
38643864- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38653865-for as_dir in $PATH
38663866-do
38673867- IFS=$as_save_IFS
38683868- test -z "$as_dir" && as_dir=.
38693869- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
38703870-done
38713871-38723872- ;;
38733873- esac
38743874- # We did not find ourselves, most probably we were run as `sh COMMAND'
38753875- # in which case we are not to be found in the path.
38763876- if test "x$as_myself" = x; then
38773877- as_myself=$0
38783878- fi
38793879- if test ! -f "$as_myself"; then
38803880- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
38813881-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
38823882- { (exit 1); exit 1; }; }
38833883- fi
38843884- case $CONFIG_SHELL in
38853885- '')
38863886- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38873887-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
38883888-do
38893889- IFS=$as_save_IFS
38903890- test -z "$as_dir" && as_dir=.
38913891- for as_base in sh bash ksh sh5; do
38923892- case $as_dir in
38933893- /*)
38943894- if ("$as_dir/$as_base" -c '
38953895- as_lineno_1=$LINENO
38963896- as_lineno_2=$LINENO
38973897- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38983898- test "x$as_lineno_1" != "x$as_lineno_2" &&
38993899- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39003900- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39013901- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39023902- CONFIG_SHELL=$as_dir/$as_base
39033903- export CONFIG_SHELL
39043904- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39053905- fi;;
39063906- esac
39073907- done
39083908-done
39093909-;;
39103910- esac
64116411+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3911641239126413 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39136414 # uniformly replaced by the line number. The first 'sed' inserts a
39143914- # line-number line before each line; the second 'sed' does the real
39153915- # work. The second script uses 'N' to pair each line-number line
39163916- # with the numbered line, and appends trailing '-' during
39173917- # substitution so that $LINENO is not a special case at line end.
64156415+ # line-number line after each line using $LINENO; the second 'sed'
64166416+ # does the real work. The second script uses 'N' to pair each
64176417+ # line-number line with the line containing $LINENO, and appends
64186418+ # trailing '-' during substitution so that $LINENO is not a special
64196419+ # case at line end.
39186420 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39193919- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39203920- sed '=' <$as_myself |
64216421+ # scripts with optimization help from Paolo Bonzini. Blame Lee
64226422+ # E. McMahon (1931-1989) for sed's syntax. :-)
64236423+ sed -n '
64246424+ p
64256425+ /[$]LINENO/=
64266426+ ' <$as_myself |
39216427 sed '
64286428+ s/[$]LINENO.*/&-/
64296429+ t lineno
64306430+ b
64316431+ :lineno
39226432 N
39233923- s,$,-,
39243924- : loop
39253925- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
64336433+ :loop
64346434+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
39266435 t loop
39273927- s,-$,,
39283928- s,^['$as_cr_digits']*\n,,
64366436+ s/-\n.*//
39296437 ' >$as_me.lineno &&
39303930- chmod +x $as_me.lineno ||
39313931- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39323932-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
64386438+ chmod +x "$as_me.lineno" ||
64396439+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
39336440 { (exit 1); exit 1; }; }
3934644139356442 # Don't try to exec as it changes $[0], causing all sort of problems
39366443 # (the dirname of $[0] is not the place where we might find the
39373937- # original and so on. Autoconf is especially sensible to this).
39383938- . ./$as_me.lineno
64446444+ # original and so on. Autoconf is especially sensitive to this).
64456445+ . "./$as_me.lineno"
39396446 # Exit status is that of the last command.
39406447 exit
39416448}
394264493943645039443944-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39453945- *c*,-n*) ECHO_N= ECHO_C='
39463946-' ECHO_T=' ' ;;
39473947- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39483948- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
64516451+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
64526452+ as_dirname=dirname
64536453+else
64546454+ as_dirname=false
64556455+fi
64566456+64576457+ECHO_C= ECHO_N= ECHO_T=
64586458+case `echo -n x` in
64596459+-n*)
64606460+ case `echo 'x\c'` in
64616461+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
64626462+ *) ECHO_C='\c';;
64636463+ esac;;
64646464+*)
64656465+ ECHO_N='-n';;
39496466esac
39503950-39513951-if expr a : '\(a\)' >/dev/null 2>&1; then
64676467+if expr a : '\(a\)' >/dev/null 2>&1 &&
64686468+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
39526469 as_expr=expr
39536470else
39546471 as_expr=false
39556472fi
3956647339576474rm -f conf$$ conf$$.exe conf$$.file
39583958-echo >conf$$.file
39593959-if ln -s conf$$.file conf$$ 2>/dev/null; then
39603960- # We could just check for DJGPP; but this test a) works b) is more generic
39613961- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39623962- if test -f conf$$.exe; then
39633963- # Don't use ln at all; we don't have any links
39643964- as_ln_s='cp -p'
39653965- else
64756475+if test -d conf$$.dir; then
64766476+ rm -f conf$$.dir/conf$$.file
64776477+else
64786478+ rm -f conf$$.dir
64796479+ mkdir conf$$.dir 2>/dev/null
64806480+fi
64816481+if (echo >conf$$.file) 2>/dev/null; then
64826482+ if ln -s conf$$.file conf$$ 2>/dev/null; then
39666483 as_ln_s='ln -s'
64846484+ # ... but there are two gotchas:
64856485+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
64866486+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
64876487+ # In both cases, we have to default to `cp -p'.
64886488+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
64896489+ as_ln_s='cp -p'
64906490+ elif ln conf$$.file conf$$ 2>/dev/null; then
64916491+ as_ln_s=ln
64926492+ else
64936493+ as_ln_s='cp -p'
39676494 fi
39683968-elif ln conf$$.file conf$$ 2>/dev/null; then
39693969- as_ln_s=ln
39706495else
39716496 as_ln_s='cp -p'
39726497fi
39733973-rm -f conf$$ conf$$.exe conf$$.file
64986498+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
64996499+rmdir conf$$.dir 2>/dev/null
3974650039756501if mkdir -p . 2>/dev/null; then
39766502 as_mkdir_p=:
···39796505 as_mkdir_p=false
39806506fi
3981650739823982-as_executable_p="test -f"
65086508+if test -x / >/dev/null 2>&1; then
65096509+ as_test_x='test -x'
65106510+else
65116511+ if ls -dL / >/dev/null 2>&1; then
65126512+ as_ls_L_option=L
65136513+ else
65146514+ as_ls_L_option=
65156515+ fi
65166516+ as_test_x='
65176517+ eval sh -c '\''
65186518+ if test -d "$1"; then
65196519+ test -d "$1/.";
65206520+ else
65216521+ case $1 in
65226522+ -*)set "./$1";;
65236523+ esac;
65246524+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
65256525+ ???[sx]*):;;*)false;;esac;fi
65266526+ '\'' sh
65276527+ '
65286528+fi
65296529+as_executable_p=$as_test_x
3983653039846531# Sed expression to map a string onto a valid CPP name.
39856532as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
···39886535as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
398965363990653739913991-# IFS
39923992-# We need space, tab and new line, in precisely that order.
39933993-as_nl='
39943994-'
39953995-IFS=" $as_nl"
39963996-39973997-# CDPATH.
39983998-$as_unset CDPATH
39993999-40006538exec 6>&1
4001653940024002-# Open the log real soon, to keep \$[0] and so on meaningful, and to
65406540+# Save the log message, to keep $[0] and so on meaningful, and to
40036541# report actual input values of CONFIG_FILES etc. instead of their
40044004-# values after options handling. Logging --version etc. is OK.
40054005-exec 5>>config.log
40064006-{
40074007- echo
40084008- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40094009-## Running $as_me. ##
40104010-_ASBOX
40114011-} >&5
40124012-cat >&5 <<_CSEOF
40134013-65426542+# values after options handling.
65436543+ac_log="
40146544This file was extended by xmore $as_me 1.0.1, which was
40154015-generated by GNU Autoconf 2.59. Invocation command line was
65456545+generated by GNU Autoconf 2.62. Invocation command line was
4016654640176547 CONFIG_FILES = $CONFIG_FILES
40186548 CONFIG_HEADERS = $CONFIG_HEADERS
···40206550 CONFIG_COMMANDS = $CONFIG_COMMANDS
40216551 $ $0 $@
4022655240234023-_CSEOF
40244024-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40254025-echo >&5
65536553+on `(hostname || uname -n) 2>/dev/null | sed 1q`
65546554+"
65556555+40266556_ACEOF
4027655765586558+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40286559# Files that config.status was made for.
40294029-if test -n "$ac_config_files"; then
40304030- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40314031-fi
40324032-40334033-if test -n "$ac_config_headers"; then
40344034- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40354035-fi
40364036-40374037-if test -n "$ac_config_links"; then
40384038- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40394039-fi
65606560+config_files="$ac_config_files"
65616561+config_headers="$ac_config_headers"
65626562+config_commands="$ac_config_commands"
4040656340414041-if test -n "$ac_config_commands"; then
40424042- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40434043-fi
65646564+_ACEOF
4044656540454045-cat >>$CONFIG_STATUS <<\_ACEOF
40464046-65666566+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40476567ac_cs_usage="\
40486568\`$as_me' instantiates files from templates according to the
40496569current configuration.
···40516571Usage: $0 [OPTIONS] [FILE]...
4052657240536573 -h, --help print this help, then exit
40544054- -V, --version print version number, then exit
65746574+ -V, --version print version number and configuration settings, then exit
40556575 -q, --quiet do not print progress messages
40566576 -d, --debug don't remove temporary files
40576577 --recheck update $as_me by reconfiguring in the same conditions
40586578 --file=FILE[:TEMPLATE]
40594059- instantiate the configuration file FILE
65796579+ instantiate the configuration file FILE
40606580 --header=FILE[:TEMPLATE]
40614061- instantiate the configuration header FILE
65816581+ instantiate the configuration header FILE
4062658240636583Configuration files:
40646584$config_files
···40706590$config_commands
4071659140726592Report bugs to <bug-autoconf@gnu.org>."
65936593+40736594_ACEOF
40744074-40754075-cat >>$CONFIG_STATUS <<_ACEOF
65956595+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40766596ac_cs_version="\\
40776597xmore config.status 1.0.1
40784078-configured by $0, generated by GNU Autoconf 2.59,
40794079- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
65986598+configured by $0, generated by GNU Autoconf 2.62,
65996599+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4080660040814081-Copyright (C) 2003 Free Software Foundation, Inc.
66016601+Copyright (C) 2008 Free Software Foundation, Inc.
40826602This config.status script is free software; the Free Software Foundation
40836603gives unlimited permission to copy, distribute and modify it."
40844084-srcdir=$srcdir
40854085-INSTALL="$INSTALL"
66046604+66056605+ac_pwd='$ac_pwd'
66066606+srcdir='$srcdir'
66076607+INSTALL='$INSTALL'
66086608+AWK='$AWK'
66096609+test -n "\$AWK" || AWK=awk
40866610_ACEOF
4087661140884088-cat >>$CONFIG_STATUS <<\_ACEOF
40894089-# If no file are specified by the user, then we need to provide default
40904090-# value. By we need to know if files were specified by the user.
66126612+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66136613+# The default lists apply if the user does not specify any file.
40916614ac_need_defaults=:
40926615while test $# != 0
40936616do
40946617 case $1 in
40956618 --*=*)
40964096- ac_option=`expr "x$1" : 'x\([^=]*\)='`
40974097- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
66196619+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
66206620+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
40986621 ac_shift=:
40996622 ;;
41004100- -*)
66236623+ *)
41016624 ac_option=$1
41026625 ac_optarg=$2
41036626 ac_shift=shift
41046627 ;;
41054105- *) # This is not an option, so the user has probably given explicit
41064106- # arguments.
41074107- ac_option=$1
41084108- ac_need_defaults=false;;
41096628 esac
4110662941116630 case $ac_option in
41126631 # Handling of the options.
41134113-_ACEOF
41144114-cat >>$CONFIG_STATUS <<\_ACEOF
41156632 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41166633 ac_cs_recheck=: ;;
41174117- --version | --vers* | -V )
41184118- echo "$ac_cs_version"; exit 0 ;;
41194119- --he | --h)
41204120- # Conflict between --help and --header
41214121- { { echo "$as_me:$LINENO: error: ambiguous option: $1
41224122-Try \`$0 --help' for more information." >&5
41234123-echo "$as_me: error: ambiguous option: $1
41244124-Try \`$0 --help' for more information." >&2;}
41254125- { (exit 1); exit 1; }; };;
41264126- --help | --hel | -h )
41274127- echo "$ac_cs_usage"; exit 0 ;;
41284128- --debug | --d* | -d )
66346634+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66356635+ $as_echo "$ac_cs_version"; exit ;;
66366636+ --debug | --debu | --deb | --de | --d | -d )
41296637 debug=: ;;
41306638 --file | --fil | --fi | --f )
41316639 $ac_shift
41324132- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
66406640+ case $ac_optarg in
66416641+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66426642+ esac
66436643+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
41336644 ac_need_defaults=false;;
41346645 --header | --heade | --head | --hea )
41356646 $ac_shift
41364136- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
66476647+ case $ac_optarg in
66486648+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66496649+ esac
66506650+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
41376651 ac_need_defaults=false;;
66526652+ --he | --h)
66536653+ # Conflict between --help and --header
66546654+ { $as_echo "$as_me: error: ambiguous option: $1
66556655+Try \`$0 --help' for more information." >&2
66566656+ { (exit 1); exit 1; }; };;
66576657+ --help | --hel | -h )
66586658+ $as_echo "$ac_cs_usage"; exit ;;
41386659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41396660 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41406661 ac_cs_silent=: ;;
4141666241426663 # This is an error.
41434143- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41444144-Try \`$0 --help' for more information." >&5
41454145-echo "$as_me: error: unrecognized option: $1
41464146-Try \`$0 --help' for more information." >&2;}
66646664+ -*) { $as_echo "$as_me: error: unrecognized option: $1
66656665+Try \`$0 --help' for more information." >&2
41476666 { (exit 1); exit 1; }; } ;;
4148666741494149- *) ac_config_targets="$ac_config_targets $1" ;;
66686668+ *) ac_config_targets="$ac_config_targets $1"
66696669+ ac_need_defaults=false ;;
4150667041516671 esac
41526672 shift
···41606680fi
4161668141626682_ACEOF
41634163-cat >>$CONFIG_STATUS <<_ACEOF
66836683+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41646684if \$ac_cs_recheck; then
41654165- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41664166- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66856685+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66866686+ shift
66876687+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66886688+ CONFIG_SHELL='$SHELL'
66896689+ export CONFIG_SHELL
66906690+ exec "\$@"
41676691fi
4168669241696693_ACEOF
66946694+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66956695+exec 5>>config.log
66966696+{
66976697+ echo
66986698+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66996699+## Running $as_me. ##
67006700+_ASBOX
67016701+ $as_echo "$ac_log"
67026702+} >&5
4170670341714171-cat >>$CONFIG_STATUS <<_ACEOF
67046704+_ACEOF
67056705+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41726706#
41734173-# INIT-COMMANDS section.
67076707+# INIT-COMMANDS
41746708#
41754175-41766709AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4177671041786711_ACEOF
4179671241804180-67136713+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4181671441824182-cat >>$CONFIG_STATUS <<\_ACEOF
67156715+# Handling of arguments.
41836716for ac_config_target in $ac_config_targets
41846717do
41854185- case "$ac_config_target" in
41864186- # Handling of arguments.
41874187- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41884188- "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
41894189- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
41904190- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41914191-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
67186718+ case $ac_config_target in
67196719+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
67206720+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67216721+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67226722+67236723+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
67246724+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41926725 { (exit 1); exit 1; }; };;
41936726 esac
41946727done
67286728+4195672941966730# If the user did not use the arguments to specify the items to instantiate,
41976731# then the envvar interface is used. Set only those that are not.
···42046738fi
4205673942066740# Have a temporary directory for convenience. Make it in the build tree
42074207-# simply because there is no reason to put it here, and in addition,
67416741+# simply because there is no reason against having it here, and in addition,
42086742# creating and moving files from /tmp can sometimes cause problems.
42094209-# Create a temporary directory, and hook for its removal unless debugging.
67436743+# Hook for its removal unless debugging.
67446744+# Note that there is a small window in which the directory will not be cleaned:
67456745+# after its creation but before its name has been assigned to `$tmp'.
42106746$debug ||
42116747{
42124212- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
67486748+ tmp=
67496749+ trap 'exit_status=$?
67506750+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67516751+' 0
42136752 trap '{ (exit 1); exit 1; }' 1 2 13 15
42146753}
42154215-42166754# Create a (secure) tmp directory for tmp files.
4217675542186756{
42194219- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
67576757+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42206758 test -n "$tmp" && test -d "$tmp"
42216759} ||
42226760{
42234223- tmp=./confstat$$-$RANDOM
42244224- (umask 077 && mkdir $tmp)
67616761+ tmp=./conf$$-$RANDOM
67626762+ (umask 077 && mkdir "$tmp")
42256763} ||
42266764{
42274227- echo "$me: cannot create a temporary directory in ." >&2
67656765+ $as_echo "$as_me: cannot create a temporary directory in ." >&2
42286766 { (exit 1); exit 1; }
42296767}
4230676867696769+# Set up the scripts for CONFIG_FILES section.
67706770+# No need to generate them if there are no CONFIG_FILES.
67716771+# This happens for instance with `./config.status config.h'.
67726772+if test -n "$CONFIG_FILES"; then
67736773+67746774+67756775+ac_cr='
'
67766776+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67776777+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67786778+ ac_cs_awk_cr='\\r'
67796779+else
67806780+ ac_cs_awk_cr=$ac_cr
67816781+fi
67826782+67836783+echo 'BEGIN {' >"$tmp/subs1.awk" &&
42316784_ACEOF
4232678542334233-cat >>$CONFIG_STATUS <<_ACEOF
4234678642354235-#
42364236-# CONFIG_FILES section.
42374237-#
67876787+{
67886788+ echo "cat >conf$$subs.awk <<_ACEOF" &&
67896789+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67906790+ echo "_ACEOF"
67916791+} >conf$$subs.sh ||
67926792+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
67936793+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
67946794+ { (exit 1); exit 1; }; }
67956795+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67966796+ac_delim='%!_!# '
67976797+for ac_last_try in false false false false false :; do
67986798+ . ./conf$$subs.sh ||
67996799+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
68006800+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
68016801+ { (exit 1); exit 1; }; }
4238680242394239-# No need to generate the scripts if there are no CONFIG_FILES.
42404240-# This happens for instance when ./config.status config.h
42414241-if test -n "\$CONFIG_FILES"; then
42424242- # Protect against being on the right side of a sed subst in config.status.
42434243- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42444244- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42454245-s,@SHELL@,$SHELL,;t t
42464246-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42474247-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42484248-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42494249-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42504250-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42514251-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42524252-s,@exec_prefix@,$exec_prefix,;t t
42534253-s,@prefix@,$prefix,;t t
42544254-s,@program_transform_name@,$program_transform_name,;t t
42554255-s,@bindir@,$bindir,;t t
42564256-s,@sbindir@,$sbindir,;t t
42574257-s,@libexecdir@,$libexecdir,;t t
42584258-s,@datadir@,$datadir,;t t
42594259-s,@sysconfdir@,$sysconfdir,;t t
42604260-s,@sharedstatedir@,$sharedstatedir,;t t
42614261-s,@localstatedir@,$localstatedir,;t t
42624262-s,@libdir@,$libdir,;t t
42634263-s,@includedir@,$includedir,;t t
42644264-s,@oldincludedir@,$oldincludedir,;t t
42654265-s,@infodir@,$infodir,;t t
42664266-s,@mandir@,$mandir,;t t
42674267-s,@build_alias@,$build_alias,;t t
42684268-s,@host_alias@,$host_alias,;t t
42694269-s,@target_alias@,$target_alias,;t t
42704270-s,@DEFS@,$DEFS,;t t
42714271-s,@ECHO_C@,$ECHO_C,;t t
42724272-s,@ECHO_N@,$ECHO_N,;t t
42734273-s,@ECHO_T@,$ECHO_T,;t t
42744274-s,@LIBS@,$LIBS,;t t
42754275-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42764276-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42774277-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42784278-s,@CYGPATH_W@,$CYGPATH_W,;t t
42794279-s,@PACKAGE@,$PACKAGE,;t t
42804280-s,@VERSION@,$VERSION,;t t
42814281-s,@ACLOCAL@,$ACLOCAL,;t t
42824282-s,@AUTOCONF@,$AUTOCONF,;t t
42834283-s,@AUTOMAKE@,$AUTOMAKE,;t t
42844284-s,@AUTOHEADER@,$AUTOHEADER,;t t
42854285-s,@MAKEINFO@,$MAKEINFO,;t t
42864286-s,@install_sh@,$install_sh,;t t
42874287-s,@STRIP@,$STRIP,;t t
42884288-s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42894289-s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
42904290-s,@mkdir_p@,$mkdir_p,;t t
42914291-s,@AWK@,$AWK,;t t
42924292-s,@SET_MAKE@,$SET_MAKE,;t t
42934293-s,@am__leading_dot@,$am__leading_dot,;t t
42944294-s,@AMTAR@,$AMTAR,;t t
42954295-s,@am__tar@,$am__tar,;t t
42964296-s,@am__untar@,$am__untar,;t t
42974297-s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
42984298-s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
42994299-s,@MAINT@,$MAINT,;t t
43004300-s,@CC@,$CC,;t t
43014301-s,@CFLAGS@,$CFLAGS,;t t
43024302-s,@LDFLAGS@,$LDFLAGS,;t t
43034303-s,@CPPFLAGS@,$CPPFLAGS,;t t
43044304-s,@ac_ct_CC@,$ac_ct_CC,;t t
43054305-s,@EXEEXT@,$EXEEXT,;t t
43064306-s,@OBJEXT@,$OBJEXT,;t t
43074307-s,@DEPDIR@,$DEPDIR,;t t
43084308-s,@am__include@,$am__include,;t t
43094309-s,@am__quote@,$am__quote,;t t
43104310-s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
43114311-s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
43124312-s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
43134313-s,@CCDEPMODE@,$CCDEPMODE,;t t
43144314-s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
43154315-s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
43164316-s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43174317-s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
43184318-s,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t
43194319-s,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t
43204320-s,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t
43214321-s,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t
43224322-s,@XPRINT_UTIL_CFLAGS@,$XPRINT_UTIL_CFLAGS,;t t
43234323-s,@XPRINT_UTIL_LIBS@,$XPRINT_UTIL_LIBS,;t t
43244324-s,@XMORE_CFLAGS@,$XMORE_CFLAGS,;t t
43254325-s,@XMORE_LIBS@,$XMORE_LIBS,;t t
43264326-s,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t
43274327-s,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t
43284328-s,@appdefaultdir@,$appdefaultdir,;t t
43294329-s,@build@,$build,;t t
43304330-s,@build_cpu@,$build_cpu,;t t
43314331-s,@build_vendor@,$build_vendor,;t t
43324332-s,@build_os@,$build_os,;t t
43334333-s,@host@,$host,;t t
43344334-s,@host_cpu@,$host_cpu,;t t
43354335-s,@host_vendor@,$host_vendor,;t t
43364336-s,@host_os@,$host_os,;t t
43374337-s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
43384338-s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
43394339-s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
43404340-s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
43414341-s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
43424342-s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
43434343-s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
43444344-s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
43454345-s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
43464346-s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
43474347-s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
43484348-s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
43494349-s,@LIBOBJS@,$LIBOBJS,;t t
43504350-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43514351-CEOF
68036803+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
68046804+ break
68056805+ elif $ac_last_try; then
68066806+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
68076807+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
68086808+ { (exit 1); exit 1; }; }
68096809+ else
68106810+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
68116811+ fi
68126812+done
68136813+rm -f conf$$subs.sh
4352681468156815+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68166816+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
43536817_ACEOF
68186818+sed -n '
68196819+h
68206820+s/^/S["/; s/!.*/"]=/
68216821+p
68226822+g
68236823+s/^[^!]*!//
68246824+:repl
68256825+t repl
68266826+s/'"$ac_delim"'$//
68276827+t delim
68286828+:nl
68296829+h
68306830+s/\(.\{148\}\).*/\1/
68316831+t more1
68326832+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
68336833+p
68346834+n
68356835+b repl
68366836+:more1
68376837+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
68386838+p
68396839+g
68406840+s/.\{148\}//
68416841+t nl
68426842+:delim
68436843+h
68446844+s/\(.\{148\}\).*/\1/
68456845+t more2
68466846+s/["\\]/\\&/g; s/^/"/; s/$/"/
68476847+p
68486848+b
68496849+:more2
68506850+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
68516851+p
68526852+g
68536853+s/.\{148\}//
68546854+t delim
68556855+' <conf$$subs.awk | sed '
68566856+/^[^""]/{
68576857+ N
68586858+ s/\n//
68596859+}
68606860+' >>$CONFIG_STATUS || ac_write_fail=1
68616861+rm -f conf$$subs.awk
68626862+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68636863+_ACAWK
68646864+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
68656865+ for (key in S) S_is_set[key] = 1
68666866+ FS = ""
4354686743554355- cat >>$CONFIG_STATUS <<\_ACEOF
43564356- # Split the substitutions into bite-sized pieces for seds with
43574357- # small command number limits, like on Digital OSF/1 and HP-UX.
43584358- ac_max_sed_lines=48
43594359- ac_sed_frag=1 # Number of current file.
43604360- ac_beg=1 # First line for current file.
43614361- ac_end=$ac_max_sed_lines # Line after last line for current file.
43624362- ac_more_lines=:
43634363- ac_sed_cmds=
43644364- while $ac_more_lines; do
43654365- if test $ac_beg -gt 1; then
43664366- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43674367- else
43684368- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43694369- fi
43704370- if test ! -s $tmp/subs.frag; then
43714371- ac_more_lines=false
43724372- else
43734373- # The purpose of the label and of the branching condition is to
43744374- # speed up the sed processing (if there are no `@' at all, there
43754375- # is no need to browse any of the substitutions).
43764376- # These are the two extra sed commands mentioned above.
43774377- (echo ':t
43784378- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43794379- if test -z "$ac_sed_cmds"; then
43804380- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43814381- else
43824382- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43834383- fi
43844384- ac_sed_frag=`expr $ac_sed_frag + 1`
43854385- ac_beg=$ac_end
43864386- ac_end=`expr $ac_end + $ac_max_sed_lines`
43874387- fi
43884388- done
43894389- if test -z "$ac_sed_cmds"; then
43904390- ac_sed_cmds=cat
43914391- fi
68686868+}
68696869+{
68706870+ line = $ 0
68716871+ nfields = split(line, field, "@")
68726872+ substed = 0
68736873+ len = length(field[1])
68746874+ for (i = 2; i < nfields; i++) {
68756875+ key = field[i]
68766876+ keylen = length(key)
68776877+ if (S_is_set[key]) {
68786878+ value = S[key]
68796879+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
68806880+ len += length(value) + length(field[++i])
68816881+ substed = 1
68826882+ } else
68836883+ len += 1 + keylen
68846884+ }
68856885+68866886+ print line
68876887+}
68886888+68896889+_ACAWK
68906890+_ACEOF
68916891+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68926892+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
68936893+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
68946894+else
68956895+ cat
68966896+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
68976897+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
68986898+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
68996899+ { (exit 1); exit 1; }; }
69006900+_ACEOF
69016901+69026902+# VPATH may cause trouble with some makes, so we remove $(srcdir),
69036903+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
69046904+# trailing colons and then remove the whole line if VPATH becomes empty
69056905+# (actually we leave an empty line to preserve line numbers).
69066906+if test "x$srcdir" = x.; then
69076907+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
69086908+s/:*\$(srcdir):*/:/
69096909+s/:*\${srcdir}:*/:/
69106910+s/:*@srcdir@:*/:/
69116911+s/^\([^=]*=[ ]*\):*/\1/
69126912+s/:*$//
69136913+s/^[^=]*=[ ]*$//
69146914+}'
69156915+fi
69166916+69176917+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43926918fi # test -n "$CONFIG_FILES"
4393691969206920+# Set up the scripts for CONFIG_HEADERS section.
69216921+# No need to generate them if there are no CONFIG_HEADERS.
69226922+# This happens for instance with `./config.status Makefile'.
69236923+if test -n "$CONFIG_HEADERS"; then
69246924+cat >"$tmp/defines.awk" <<\_ACAWK ||
69256925+BEGIN {
43946926_ACEOF
43954395-cat >>$CONFIG_STATUS <<\_ACEOF
43964396-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43974397- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43984398- case $ac_file in
43994399- - | *:- | *:-:* ) # input from stdin
44004400- cat >$tmp/stdin
44014401- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44024402- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44034403- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44044404- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44054405- * ) ac_file_in=$ac_file.in ;;
69276927+69286928+# Transform confdefs.h into an awk script `defines.awk', embedded as
69296929+# here-document in config.status, that substitutes the proper values into
69306930+# config.h.in to produce config.h.
69316931+69326932+# Create a delimiter string that does not exist in confdefs.h, to ease
69336933+# handling of long lines.
69346934+ac_delim='%!_!# '
69356935+for ac_last_try in false false :; do
69366936+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
69376937+ if test -z "$ac_t"; then
69386938+ break
69396939+ elif $ac_last_try; then
69406940+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
69416941+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
69426942+ { (exit 1); exit 1; }; }
69436943+ else
69446944+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
69456945+ fi
69466946+done
69476947+69486948+# For the awk script, D is an array of macro values keyed by name,
69496949+# likewise P contains macro parameters if any. Preserve backslash
69506950+# newline sequences.
69516951+69526952+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
69536953+sed -n '
69546954+s/.\{148\}/&'"$ac_delim"'/g
69556955+t rset
69566956+:rset
69576957+s/^[ ]*#[ ]*define[ ][ ]*/ /
69586958+t def
69596959+d
69606960+:def
69616961+s/\\$//
69626962+t bsnl
69636963+s/["\\]/\\&/g
69646964+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
69656965+D["\1"]=" \3"/p
69666966+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
69676967+d
69686968+:bsnl
69696969+s/["\\]/\\&/g
69706970+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
69716971+D["\1"]=" \3\\\\\\n"\\/p
69726972+t cont
69736973+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
69746974+t cont
69756975+d
69766976+:cont
69776977+n
69786978+s/.\{148\}/&'"$ac_delim"'/g
69796979+t clear
69806980+:clear
69816981+s/\\$//
69826982+t bsnlc
69836983+s/["\\]/\\&/g; s/^/"/; s/$/"/p
69846984+d
69856985+:bsnlc
69866986+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
69876987+b cont
69886988+' <confdefs.h | sed '
69896989+s/'"$ac_delim"'/"\\\
69906990+"/g' >>$CONFIG_STATUS || ac_write_fail=1
69916991+69926992+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
69936993+ for (key in D) D_is_set[key] = 1
69946994+ FS = ""
69956995+}
69966996+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
69976997+ line = \$ 0
69986998+ split(line, arg, " ")
69996999+ if (arg[1] == "#") {
70007000+ defundef = arg[2]
70017001+ mac1 = arg[3]
70027002+ } else {
70037003+ defundef = substr(arg[1], 2)
70047004+ mac1 = arg[2]
70057005+ }
70067006+ split(mac1, mac2, "(") #)
70077007+ macro = mac2[1]
70087008+ if (D_is_set[macro]) {
70097009+ # Preserve the white space surrounding the "#".
70107010+ prefix = substr(line, 1, index(line, defundef) - 1)
70117011+ print prefix "define", macro P[macro] D[macro]
70127012+ next
70137013+ } else {
70147014+ # Replace #undef with comments. This is necessary, for example,
70157015+ # in the case of _POSIX_SOURCE, which is predefined and required
70167016+ # on some systems where configure will not decide to define it.
70177017+ if (defundef == "undef") {
70187018+ print "/*", line, "*/"
70197019+ next
70207020+ }
70217021+ }
70227022+}
70237023+{ print }
70247024+_ACAWK
70257025+_ACEOF
70267026+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
70277027+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
70287028+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
70297029+ { (exit 1); exit 1; }; }
70307030+fi # test -n "$CONFIG_HEADERS"
70317031+70327032+70337033+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
70347034+shift
70357035+for ac_tag
70367036+do
70377037+ case $ac_tag in
70387038+ :[FHLC]) ac_mode=$ac_tag; continue;;
44067039 esac
70407040+ case $ac_mode$ac_tag in
70417041+ :[FHL]*:*);;
70427042+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
70437043+$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
70447044+ { (exit 1); exit 1; }; };;
70457045+ :[FH]-) ac_tag=-:-;;
70467046+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
70477047+ esac
70487048+ ac_save_IFS=$IFS
70497049+ IFS=:
70507050+ set x $ac_tag
70517051+ IFS=$ac_save_IFS
70527052+ shift
70537053+ ac_file=$1
70547054+ shift
4407705544084408- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44094409- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
70567056+ case $ac_mode in
70577057+ :L) ac_source=$1;;
70587058+ :[FH])
70597059+ ac_file_inputs=
70607060+ for ac_f
70617061+ do
70627062+ case $ac_f in
70637063+ -) ac_f="$tmp/stdin";;
70647064+ *) # Look for the file first in the build tree, then in the source tree
70657065+ # (if the path is not absolute). The absolute path cannot be DOS-style,
70667066+ # because $ac_f cannot contain `:'.
70677067+ test -f "$ac_f" ||
70687068+ case $ac_f in
70697069+ [\\/$]*) false;;
70707070+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
70717071+ esac ||
70727072+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
70737073+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
70747074+ { (exit 1); exit 1; }; };;
70757075+ esac
70767076+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
70777077+ ac_file_inputs="$ac_file_inputs '$ac_f'"
70787078+ done
70797079+70807080+ # Let's still pretend it is `configure' which instantiates (i.e., don't
70817081+ # use $as_me), people would be surprised to read:
70827082+ # /* config.h. Generated by config.status. */
70837083+ configure_input='Generated from '`
70847084+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
70857085+ `' by configure.'
70867086+ if test x"$ac_file" != x-; then
70877087+ configure_input="$ac_file. $configure_input"
70887088+ { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
70897089+$as_echo "$as_me: creating $ac_file" >&6;}
70907090+ fi
70917091+ # Neutralize special characters interpreted by sed in replacement strings.
70927092+ case $configure_input in #(
70937093+ *\&* | *\|* | *\\* )
70947094+ ac_sed_conf_input=`$as_echo "$configure_input" |
70957095+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
70967096+ *) ac_sed_conf_input=$configure_input;;
70977097+ esac
70987098+70997099+ case $ac_tag in
71007100+ *:-:* | *:-) cat >"$tmp/stdin" \
71017101+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
71027102+$as_echo "$as_me: error: could not create $ac_file" >&2;}
71037103+ { (exit 1); exit 1; }; } ;;
71047104+ esac
71057105+ ;;
71067106+ esac
71077107+71087108+ ac_dir=`$as_dirname -- "$ac_file" ||
44107109$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44117110 X"$ac_file" : 'X\(//\)[^/]' \| \
44127111 X"$ac_file" : 'X\(//\)$' \| \
44134413- X"$ac_file" : 'X\(/\)' \| \
44144414- . : '\(.\)' 2>/dev/null ||
44154415-echo X"$ac_file" |
44164416- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44174417- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44184418- /^X\(\/\/\)$/{ s//\1/; q; }
44194419- /^X\(\/\).*/{ s//\1/; q; }
44204420- s/.*/./; q'`
44214421- { if $as_mkdir_p; then
44224422- mkdir -p "$ac_dir"
44234423- else
44244424- as_dir="$ac_dir"
71127112+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
71137113+$as_echo X"$ac_file" |
71147114+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
71157115+ s//\1/
71167116+ q
71177117+ }
71187118+ /^X\(\/\/\)[^/].*/{
71197119+ s//\1/
71207120+ q
71217121+ }
71227122+ /^X\(\/\/\)$/{
71237123+ s//\1/
71247124+ q
71257125+ }
71267126+ /^X\(\/\).*/{
71277127+ s//\1/
71287128+ q
71297129+ }
71307130+ s/.*/./; q'`
71317131+ { as_dir="$ac_dir"
71327132+ case $as_dir in #(
71337133+ -*) as_dir=./$as_dir;;
71347134+ esac
71357135+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
44257136 as_dirs=
44264426- while test ! -d "$as_dir"; do
44274427- as_dirs="$as_dir $as_dirs"
44284428- as_dir=`(dirname "$as_dir") 2>/dev/null ||
71377137+ while :; do
71387138+ case $as_dir in #(
71397139+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
71407140+ *) as_qdir=$as_dir;;
71417141+ esac
71427142+ as_dirs="'$as_qdir' $as_dirs"
71437143+ as_dir=`$as_dirname -- "$as_dir" ||
44297144$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44307145 X"$as_dir" : 'X\(//\)[^/]' \| \
44317146 X"$as_dir" : 'X\(//\)$' \| \
44324432- X"$as_dir" : 'X\(/\)' \| \
44334433- . : '\(.\)' 2>/dev/null ||
44344434-echo X"$as_dir" |
44354435- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44364436- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44374437- /^X\(\/\/\)$/{ s//\1/; q; }
44384438- /^X\(\/\).*/{ s//\1/; q; }
44394439- s/.*/./; q'`
71477147+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
71487148+$as_echo X"$as_dir" |
71497149+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
71507150+ s//\1/
71517151+ q
71527152+ }
71537153+ /^X\(\/\/\)[^/].*/{
71547154+ s//\1/
71557155+ q
71567156+ }
71577157+ /^X\(\/\/\)$/{
71587158+ s//\1/
71597159+ q
71607160+ }
71617161+ /^X\(\/\).*/{
71627162+ s//\1/
71637163+ q
71647164+ }
71657165+ s/.*/./; q'`
71667166+ test -d "$as_dir" && break
44407167 done
44414441- test ! -n "$as_dirs" || mkdir $as_dirs
44424442- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44434443-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
71687168+ test -z "$as_dirs" || eval "mkdir $as_dirs"
71697169+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
71707170+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
44447171 { (exit 1); exit 1; }; }; }
44454445-44467172 ac_builddir=.
4447717344484448-if test "$ac_dir" != .; then
44494449- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44504450- # A "../" for each directory in $ac_dir_suffix.
44514451- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44524452-else
44534453- ac_dir_suffix= ac_top_builddir=
44544454-fi
71747174+case "$ac_dir" in
71757175+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
71767176+*)
71777177+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
71787178+ # A ".." for each directory in $ac_dir_suffix.
71797179+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
71807180+ case $ac_top_builddir_sub in
71817181+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
71827182+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
71837183+ esac ;;
71847184+esac
71857185+ac_abs_top_builddir=$ac_pwd
71867186+ac_abs_builddir=$ac_pwd$ac_dir_suffix
71877187+# for backward compatibility:
71887188+ac_top_builddir=$ac_top_build_prefix
4455718944567190case $srcdir in
44574457- .) # No --srcdir option. We are building in place.
71917191+ .) # We are building in place.
44587192 ac_srcdir=.
44594459- if test -z "$ac_top_builddir"; then
44604460- ac_top_srcdir=.
44614461- else
44624462- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44634463- fi ;;
44644464- [\\/]* | ?:[\\/]* ) # Absolute path.
71937193+ ac_top_srcdir=$ac_top_builddir_sub
71947194+ ac_abs_top_srcdir=$ac_pwd ;;
71957195+ [\\/]* | ?:[\\/]* ) # Absolute name.
44657196 ac_srcdir=$srcdir$ac_dir_suffix;
44664466- ac_top_srcdir=$srcdir ;;
44674467- *) # Relative path.
44684468- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44694469- ac_top_srcdir=$ac_top_builddir$srcdir ;;
71977197+ ac_top_srcdir=$srcdir
71987198+ ac_abs_top_srcdir=$srcdir ;;
71997199+ *) # Relative name.
72007200+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
72017201+ ac_top_srcdir=$ac_top_build_prefix$srcdir
72027202+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
44707203esac
72047204+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4471720544724472-# Do not use `cd foo && pwd` to compute absolute paths, because
44734473-# the directories may not exist.
44744474-case `pwd` in
44754475-.) ac_abs_builddir="$ac_dir";;
44764476-*)
44774477- case "$ac_dir" in
44784478- .) ac_abs_builddir=`pwd`;;
44794479- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44804480- *) ac_abs_builddir=`pwd`/"$ac_dir";;
44814481- esac;;
44824482-esac
44834483-case $ac_abs_builddir in
44844484-.) ac_abs_top_builddir=${ac_top_builddir}.;;
44854485-*)
44864486- case ${ac_top_builddir}. in
44874487- .) ac_abs_top_builddir=$ac_abs_builddir;;
44884488- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44894489- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44904490- esac;;
44914491-esac
44924492-case $ac_abs_builddir in
44934493-.) ac_abs_srcdir=$ac_srcdir;;
44944494-*)
44954495- case $ac_srcdir in
44964496- .) ac_abs_srcdir=$ac_abs_builddir;;
44974497- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44984498- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44994499- esac;;
45004500-esac
45014501-case $ac_abs_builddir in
45024502-.) ac_abs_top_srcdir=$ac_top_srcdir;;
45034503-*)
45044504- case $ac_top_srcdir in
45054505- .) ac_abs_top_srcdir=$ac_abs_builddir;;
45064506- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45074507- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45084508- esac;;
45094509-esac
4510720672077207+ case $ac_mode in
72087208+ :F)
72097209+ #
72107210+ # CONFIG_FILE
72117211+ #
4511721245127213 case $INSTALL in
45137214 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45144514- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
72157215+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
45157216 esac
72177217+_ACEOF
4516721845174517- if test x"$ac_file" != x-; then
45184518- { echo "$as_me:$LINENO: creating $ac_file" >&5
45194519-echo "$as_me: creating $ac_file" >&6;}
45204520- rm -f "$ac_file"
45214521- fi
45224522- # Let's still pretend it is `configure' which instantiates (i.e., don't
45234523- # use $as_me), people would be surprised to read:
45244524- # /* config.h. Generated by config.status. */
45254525- if test x"$ac_file" = x-; then
45264526- configure_input=
45274527- else
45284528- configure_input="$ac_file. "
45294529- fi
45304530- configure_input=$configure_input"Generated from `echo $ac_file_in |
45314531- sed 's,.*/,,'` by configure."
72197219+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72207220+# If the template does not know about datarootdir, expand it.
72217221+# FIXME: This hack should be removed a few years after 2.60.
72227222+ac_datarootdir_hack=; ac_datarootdir_seen=
4532722345334533- # First look for the input files in the build tree, otherwise in the
45344534- # src tree.
45354535- ac_file_inputs=`IFS=:
45364536- for f in $ac_file_in; do
45374537- case $f in
45384538- -) echo $tmp/stdin ;;
45394539- [\\/$]*)
45404540- # Absolute (can't be DOS-style, as IFS=:)
45414541- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45424542-echo "$as_me: error: cannot find input file: $f" >&2;}
45434543- { (exit 1); exit 1; }; }
45444544- echo "$f";;
45454545- *) # Relative
45464546- if test -f "$f"; then
45474547- # Build tree
45484548- echo "$f"
45494549- elif test -f "$srcdir/$f"; then
45504550- # Source tree
45514551- echo "$srcdir/$f"
45524552- else
45534553- # /dev/null tree
45544554- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45554555-echo "$as_me: error: cannot find input file: $f" >&2;}
45564556- { (exit 1); exit 1; }; }
45574557- fi;;
45584558- esac
45594559- done` || { (exit 1); exit 1; }
72247224+ac_sed_dataroot='
72257225+/datarootdir/ {
72267226+ p
72277227+ q
72287228+}
72297229+/@datadir@/p
72307230+/@docdir@/p
72317231+/@infodir@/p
72327232+/@localedir@/p
72337233+/@mandir@/p
72347234+'
72357235+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
72367236+*datarootdir*) ac_datarootdir_seen=yes;;
72377237+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
72387238+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
72397239+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
45607240_ACEOF
45614561-cat >>$CONFIG_STATUS <<_ACEOF
45624562- sed "$ac_vpsub
72417241+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72427242+ ac_datarootdir_hack='
72437243+ s&@datadir@&$datadir&g
72447244+ s&@docdir@&$docdir&g
72457245+ s&@infodir@&$infodir&g
72467246+ s&@localedir@&$localedir&g
72477247+ s&@mandir@&$mandir&g
72487248+ s&\\\${datarootdir}&$datarootdir&g' ;;
72497249+esac
72507250+_ACEOF
72517251+72527252+# Neutralize VPATH when `$srcdir' = `.'.
72537253+# Shell code in configure.ac might set extrasub.
72547254+# FIXME: do we really want to maintain this feature?
72557255+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72567256+ac_sed_extra="$ac_vpsub
45637257$extrasub
45647258_ACEOF
45654565-cat >>$CONFIG_STATUS <<\_ACEOF
72597259+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45667260:t
45677261/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45684568-s,@configure_input@,$configure_input,;t t
45694569-s,@srcdir@,$ac_srcdir,;t t
45704570-s,@abs_srcdir@,$ac_abs_srcdir,;t t
45714571-s,@top_srcdir@,$ac_top_srcdir,;t t
45724572-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45734573-s,@builddir@,$ac_builddir,;t t
45744574-s,@abs_builddir@,$ac_abs_builddir,;t t
45754575-s,@top_builddir@,$ac_top_builddir,;t t
45764576-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45774577-s,@INSTALL@,$ac_INSTALL,;t t
45784578-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45794579- rm -f $tmp/stdin
45804580- if test x"$ac_file" != x-; then
45814581- mv $tmp/out $ac_file
45824582- else
45834583- cat $tmp/out
45844584- rm -f $tmp/out
45854585- fi
45864586-45874587-done
45884588-_ACEOF
45894589-cat >>$CONFIG_STATUS <<\_ACEOF
45904590-45914591-#
45924592-# CONFIG_HEADER section.
45934593-#
72627262+s|@configure_input@|$ac_sed_conf_input|;t t
72637263+s&@top_builddir@&$ac_top_builddir_sub&;t t
72647264+s&@top_build_prefix@&$ac_top_build_prefix&;t t
72657265+s&@srcdir@&$ac_srcdir&;t t
72667266+s&@abs_srcdir@&$ac_abs_srcdir&;t t
72677267+s&@top_srcdir@&$ac_top_srcdir&;t t
72687268+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
72697269+s&@builddir@&$ac_builddir&;t t
72707270+s&@abs_builddir@&$ac_abs_builddir&;t t
72717271+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
72727272+s&@INSTALL@&$ac_INSTALL&;t t
72737273+$ac_datarootdir_hack
72747274+"
72757275+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
72767276+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
72777277+$as_echo "$as_me: error: could not create $ac_file" >&2;}
72787278+ { (exit 1); exit 1; }; }
4594727945954595-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45964596-# NAME is the cpp macro being defined and VALUE is the value it is being given.
45974597-#
45984598-# ac_d sets the value in "#define NAME VALUE" lines.
45994599-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46004600-ac_dB='[ ].*$,\1#\2'
46014601-ac_dC=' '
46024602-ac_dD=',;t'
46034603-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46044604-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46054605-ac_uB='$,\1#\2define\3'
46064606-ac_uC=' '
46074607-ac_uD=',;t'
72807280+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
72817281+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
72827282+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
72837283+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
72847284+which seems to be undefined. Please make sure it is defined." >&5
72857285+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
72867286+which seems to be undefined. Please make sure it is defined." >&2;}
4608728746094609-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
46104610- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
72887288+ rm -f "$tmp/stdin"
46117289 case $ac_file in
46124612- - | *:- | *:-:* ) # input from stdin
46134613- cat >$tmp/stdin
46144614- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46154615- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46164616- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46174617- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46184618- * ) ac_file_in=$ac_file.in ;;
46194619- esac
46204620-46214621- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46224622-echo "$as_me: creating $ac_file" >&6;}
46234623-46244624- # First look for the input files in the build tree, otherwise in the
46254625- # src tree.
46264626- ac_file_inputs=`IFS=:
46274627- for f in $ac_file_in; do
46284628- case $f in
46294629- -) echo $tmp/stdin ;;
46304630- [\\/$]*)
46314631- # Absolute (can't be DOS-style, as IFS=:)
46324632- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46334633-echo "$as_me: error: cannot find input file: $f" >&2;}
72907290+ -) cat "$tmp/out" && rm -f "$tmp/out";;
72917291+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
72927292+ esac \
72937293+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
72947294+$as_echo "$as_me: error: could not create $ac_file" >&2;}
46347295 { (exit 1); exit 1; }; }
46354635- # Do quote $f, to prevent DOS paths from being IFS'd.
46364636- echo "$f";;
46374637- *) # Relative
46384638- if test -f "$f"; then
46394639- # Build tree
46404640- echo "$f"
46414641- elif test -f "$srcdir/$f"; then
46424642- # Source tree
46434643- echo "$srcdir/$f"
46444644- else
46454645- # /dev/null tree
46464646- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46474647-echo "$as_me: error: cannot find input file: $f" >&2;}
46484648- { (exit 1); exit 1; }; }
46494649- fi;;
46504650- esac
46514651- done` || { (exit 1); exit 1; }
46524652- # Remove the trailing spaces.
46534653- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46544654-46554655-_ACEOF
46564656-46574657-# Transform confdefs.h into two sed scripts, `conftest.defines' and
46584658-# `conftest.undefs', that substitutes the proper values into
46594659-# config.h.in to produce config.h. The first handles `#define'
46604660-# templates, and the second `#undef' templates.
46614661-# And first: Protect against being on the right side of a sed subst in
46624662-# config.status. Protect against being in an unquoted here document
46634663-# in config.status.
46644664-rm -f conftest.defines conftest.undefs
46654665-# Using a here document instead of a string reduces the quoting nightmare.
46664666-# Putting comments in sed scripts is not portable.
46674667-#
46684668-# `end' is used to avoid that the second main sed command (meant for
46694669-# 0-ary CPP macros) applies to n-ary macro definitions.
46704670-# See the Autoconf documentation for `clear'.
46714671-cat >confdef2sed.sed <<\_ACEOF
46724672-s/[\\&,]/\\&/g
46734673-s,[\\$`],\\&,g
46744674-t clear
46754675-: clear
46764676-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46774677-t end
46784678-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46794679-: end
46804680-_ACEOF
46814681-# If some macros were called several times there might be several times
46824682-# the same #defines, which is useless. Nevertheless, we may not want to
46834683-# sort them, since we want the *last* AC-DEFINE to be honored.
46844684-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46854685-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46864686-rm -f confdef2sed.sed
46874687-46884688-# This sed command replaces #undef with comments. This is necessary, for
46894689-# example, in the case of _POSIX_SOURCE, which is predefined and required
46904690-# on some systems where configure will not decide to define it.
46914691-cat >>conftest.undefs <<\_ACEOF
46924692-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46934693-_ACEOF
46944694-46954695-# Break up conftest.defines because some shells have a limit on the size
46964696-# of here documents, and old seds have small limits too (100 cmds).
46974697-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46984698-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46994699-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47004700-echo ' :' >>$CONFIG_STATUS
47014701-rm -f conftest.tail
47024702-while grep . conftest.defines >/dev/null
47034703-do
47044704- # Write a limited-size here document to $tmp/defines.sed.
47054705- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47064706- # Speed up: don't consider the non `#define' lines.
47074707- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47084708- # Work around the forget-to-reset-the-flag bug.
47094709- echo 't clr' >>$CONFIG_STATUS
47104710- echo ': clr' >>$CONFIG_STATUS
47114711- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
47124712- echo 'CEOF
47134713- sed -f $tmp/defines.sed $tmp/in >$tmp/out
47144714- rm -f $tmp/in
47154715- mv $tmp/out $tmp/in
47164716-' >>$CONFIG_STATUS
47174717- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
47184718- rm -f conftest.defines
47194719- mv conftest.tail conftest.defines
47204720-done
47214721-rm -f conftest.defines
47224722-echo ' fi # grep' >>$CONFIG_STATUS
47234723-echo >>$CONFIG_STATUS
47244724-47254725-# Break up conftest.undefs because some shells have a limit on the size
47264726-# of here documents, and old seds have small limits too (100 cmds).
47274727-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47284728-rm -f conftest.tail
47294729-while grep . conftest.undefs >/dev/null
47304730-do
47314731- # Write a limited-size here document to $tmp/undefs.sed.
47324732- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47334733- # Speed up: don't consider the non `#undef'
47344734- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47354735- # Work around the forget-to-reset-the-flag bug.
47364736- echo 't clr' >>$CONFIG_STATUS
47374737- echo ': clr' >>$CONFIG_STATUS
47384738- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47394739- echo 'CEOF
47404740- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47414741- rm -f $tmp/in
47424742- mv $tmp/out $tmp/in
47434743-' >>$CONFIG_STATUS
47444744- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47454745- rm -f conftest.undefs
47464746- mv conftest.tail conftest.undefs
47474747-done
47484748-rm -f conftest.undefs
47494749-47504750-cat >>$CONFIG_STATUS <<\_ACEOF
47514751- # Let's still pretend it is `configure' which instantiates (i.e., don't
47524752- # use $as_me), people would be surprised to read:
47534753- # /* config.h. Generated by config.status. */
47544754- if test x"$ac_file" = x-; then
47554755- echo "/* Generated by configure. */" >$tmp/config.h
47564756- else
47574757- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47584758- fi
47594759- cat $tmp/in >>$tmp/config.h
47604760- rm -f $tmp/in
72967296+ ;;
72977297+ :H)
72987298+ #
72997299+ # CONFIG_HEADER
73007300+ #
47617301 if test x"$ac_file" != x-; then
47624762- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
47634763- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47644764-echo "$as_me: $ac_file is unchanged" >&6;}
73027302+ {
73037303+ $as_echo "/* $configure_input */" \
73047304+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73057305+ } >"$tmp/config.h" \
73067306+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
73077307+$as_echo "$as_me: error: could not create $ac_file" >&2;}
73087308+ { (exit 1); exit 1; }; }
73097309+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73107310+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
73117311+$as_echo "$as_me: $ac_file is unchanged" >&6;}
47657312 else
47664766- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47674767-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47684768- X"$ac_file" : 'X\(//\)[^/]' \| \
47694769- X"$ac_file" : 'X\(//\)$' \| \
47704770- X"$ac_file" : 'X\(/\)' \| \
47714771- . : '\(.\)' 2>/dev/null ||
47724772-echo X"$ac_file" |
47734773- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47744774- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47754775- /^X\(\/\/\)$/{ s//\1/; q; }
47764776- /^X\(\/\).*/{ s//\1/; q; }
47774777- s/.*/./; q'`
47784778- { if $as_mkdir_p; then
47794779- mkdir -p "$ac_dir"
47804780- else
47814781- as_dir="$ac_dir"
47824782- as_dirs=
47834783- while test ! -d "$as_dir"; do
47844784- as_dirs="$as_dir $as_dirs"
47854785- as_dir=`(dirname "$as_dir") 2>/dev/null ||
47864786-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47874787- X"$as_dir" : 'X\(//\)[^/]' \| \
47884788- X"$as_dir" : 'X\(//\)$' \| \
47894789- X"$as_dir" : 'X\(/\)' \| \
47904790- . : '\(.\)' 2>/dev/null ||
47914791-echo X"$as_dir" |
47924792- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47934793- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47944794- /^X\(\/\/\)$/{ s//\1/; q; }
47954795- /^X\(\/\).*/{ s//\1/; q; }
47964796- s/.*/./; q'`
47974797- done
47984798- test ! -n "$as_dirs" || mkdir $as_dirs
47994799- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48004800-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48014801- { (exit 1); exit 1; }; }; }
48024802-48034803- rm -f $ac_file
48044804- mv $tmp/config.h $ac_file
73137313+ rm -f "$ac_file"
73147314+ mv "$tmp/config.h" "$ac_file" \
73157315+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
73167316+$as_echo "$as_me: error: could not create $ac_file" >&2;}
73177317+ { (exit 1); exit 1; }; }
48057318 fi
48067319 else
48074807- cat $tmp/config.h
48084808- rm -f $tmp/config.h
73207320+ $as_echo "/* $configure_input */" \
73217321+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73227322+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
73237323+$as_echo "$as_me: error: could not create -" >&2;}
73247324+ { (exit 1); exit 1; }; }
48097325 fi
48104810-# Compute $ac_file's index in $config_headers.
73267326+# Compute "$ac_file"'s index in $config_headers.
48117327_am_stamp_count=1
48127328for _am_header in $config_headers :; do
48137329 case $_am_header in
48144814- $ac_file | $ac_file:* )
73307330+ "$ac_file" | "$ac_file":* )
48157331 break ;;
48167332 * )
48177333 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
48187334 esac
48197335done
48204820-echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
48214821-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48224822- X$ac_file : 'X\(//\)[^/]' \| \
48234823- X$ac_file : 'X\(//\)$' \| \
48244824- X$ac_file : 'X\(/\)' \| \
48254825- . : '\(.\)' 2>/dev/null ||
48264826-echo X$ac_file |
48274827- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48284828- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48294829- /^X\(\/\/\)$/{ s//\1/; q; }
48304830- /^X\(\/\).*/{ s//\1/; q; }
48314831- s/.*/./; q'`/stamp-h$_am_stamp_count
48324832-done
48334833-_ACEOF
48344834-cat >>$CONFIG_STATUS <<\_ACEOF
48354835-48364836-#
48374837-# CONFIG_COMMANDS section.
48384838-#
48394839-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
48404840- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
48414841- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
48424842- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
48434843-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48444844- X"$ac_dest" : 'X\(//\)[^/]' \| \
48454845- X"$ac_dest" : 'X\(//\)$' \| \
48464846- X"$ac_dest" : 'X\(/\)' \| \
48474847- . : '\(.\)' 2>/dev/null ||
48484848-echo X"$ac_dest" |
48494849- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48504850- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48514851- /^X\(\/\/\)$/{ s//\1/; q; }
48524852- /^X\(\/\).*/{ s//\1/; q; }
48534853- s/.*/./; q'`
48544854- { if $as_mkdir_p; then
48554855- mkdir -p "$ac_dir"
48564856- else
48574857- as_dir="$ac_dir"
48584858- as_dirs=
48594859- while test ! -d "$as_dir"; do
48604860- as_dirs="$as_dir $as_dirs"
48614861- as_dir=`(dirname "$as_dir") 2>/dev/null ||
48624862-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48634863- X"$as_dir" : 'X\(//\)[^/]' \| \
48644864- X"$as_dir" : 'X\(//\)$' \| \
48654865- X"$as_dir" : 'X\(/\)' \| \
48664866- . : '\(.\)' 2>/dev/null ||
48674867-echo X"$as_dir" |
48684868- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48694869- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48704870- /^X\(\/\/\)$/{ s//\1/; q; }
48714871- /^X\(\/\).*/{ s//\1/; q; }
48724872- s/.*/./; q'`
48734873- done
48744874- test ! -n "$as_dirs" || mkdir $as_dirs
48754875- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48764876-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48774877- { (exit 1); exit 1; }; }; }
48784878-48794879- ac_builddir=.
48804880-48814881-if test "$ac_dir" != .; then
48824882- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48834883- # A "../" for each directory in $ac_dir_suffix.
48844884- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48854885-else
48864886- ac_dir_suffix= ac_top_builddir=
48874887-fi
48884888-48894889-case $srcdir in
48904890- .) # No --srcdir option. We are building in place.
48914891- ac_srcdir=.
48924892- if test -z "$ac_top_builddir"; then
48934893- ac_top_srcdir=.
48944894- else
48954895- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48964896- fi ;;
48974897- [\\/]* | ?:[\\/]* ) # Absolute path.
48984898- ac_srcdir=$srcdir$ac_dir_suffix;
48994899- ac_top_srcdir=$srcdir ;;
49004900- *) # Relative path.
49014901- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49024902- ac_top_srcdir=$ac_top_builddir$srcdir ;;
49034903-esac
73367336+echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
73377337+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73387338+ X"$ac_file" : 'X\(//\)[^/]' \| \
73397339+ X"$ac_file" : 'X\(//\)$' \| \
73407340+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73417341+$as_echo X"$ac_file" |
73427342+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73437343+ s//\1/
73447344+ q
73457345+ }
73467346+ /^X\(\/\/\)[^/].*/{
73477347+ s//\1/
73487348+ q
73497349+ }
73507350+ /^X\(\/\/\)$/{
73517351+ s//\1/
73527352+ q
73537353+ }
73547354+ /^X\(\/\).*/{
73557355+ s//\1/
73567356+ q
73577357+ }
73587358+ s/.*/./; q'`/stamp-h$_am_stamp_count
73597359+ ;;
4904736049054905-# Do not use `cd foo && pwd` to compute absolute paths, because
49064906-# the directories may not exist.
49074907-case `pwd` in
49084908-.) ac_abs_builddir="$ac_dir";;
49094909-*)
49104910- case "$ac_dir" in
49114911- .) ac_abs_builddir=`pwd`;;
49124912- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49134913- *) ac_abs_builddir=`pwd`/"$ac_dir";;
49144914- esac;;
49154915-esac
49164916-case $ac_abs_builddir in
49174917-.) ac_abs_top_builddir=${ac_top_builddir}.;;
49184918-*)
49194919- case ${ac_top_builddir}. in
49204920- .) ac_abs_top_builddir=$ac_abs_builddir;;
49214921- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49224922- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49234923- esac;;
49244924-esac
49254925-case $ac_abs_builddir in
49264926-.) ac_abs_srcdir=$ac_srcdir;;
49274927-*)
49284928- case $ac_srcdir in
49294929- .) ac_abs_srcdir=$ac_abs_builddir;;
49304930- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49314931- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49324932- esac;;
49334933-esac
49344934-case $ac_abs_builddir in
49354935-.) ac_abs_top_srcdir=$ac_top_srcdir;;
49364936-*)
49374937- case $ac_top_srcdir in
49384938- .) ac_abs_top_srcdir=$ac_abs_builddir;;
49394939- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49404940- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49414941- esac;;
49424942-esac
73617361+ :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
73627362+$as_echo "$as_me: executing $ac_file commands" >&6;}
73637363+ ;;
73647364+ esac
494373654944736649454945- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49464946-echo "$as_me: executing $ac_dest commands" >&6;}
49474947- case $ac_dest in
49484948- depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
73677367+ case $ac_file$ac_mode in
73687368+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
49497369 # Strip MF so we end up with the name of the file.
49507370 mf=`echo "$mf" | sed -e 's/:.*$//'`
49517371 # Check whether this is an Automake generated Makefile or not.
···49557375 # each Makefile.in and add a new line on top of each file to say so.
49567376 # So let's grep whole file.
49577377 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
49584958- dirpart=`(dirname "$mf") 2>/dev/null ||
73787378+ dirpart=`$as_dirname -- "$mf" ||
49597379$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49607380 X"$mf" : 'X\(//\)[^/]' \| \
49617381 X"$mf" : 'X\(//\)$' \| \
49624962- X"$mf" : 'X\(/\)' \| \
49634963- . : '\(.\)' 2>/dev/null ||
49644964-echo X"$mf" |
49654965- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49664966- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49674967- /^X\(\/\/\)$/{ s//\1/; q; }
49684968- /^X\(\/\).*/{ s//\1/; q; }
49694969- s/.*/./; q'`
73827382+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
73837383+$as_echo X"$mf" |
73847384+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73857385+ s//\1/
73867386+ q
73877387+ }
73887388+ /^X\(\/\/\)[^/].*/{
73897389+ s//\1/
73907390+ q
73917391+ }
73927392+ /^X\(\/\/\)$/{
73937393+ s//\1/
73947394+ q
73957395+ }
73967396+ /^X\(\/\).*/{
73977397+ s//\1/
73987398+ q
73997399+ }
74007400+ s/.*/./; q'`
49707401 else
49717402 continue
49727403 fi
···49887419 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
49897420 # Make sure the directory exists.
49907421 test -f "$dirpart/$file" && continue
49914991- fdir=`(dirname "$file") 2>/dev/null ||
74227422+ fdir=`$as_dirname -- "$file" ||
49927423$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49937424 X"$file" : 'X\(//\)[^/]' \| \
49947425 X"$file" : 'X\(//\)$' \| \
49954995- X"$file" : 'X\(/\)' \| \
49964996- . : '\(.\)' 2>/dev/null ||
49974997-echo X"$file" |
49984998- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49994999- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50005000- /^X\(\/\/\)$/{ s//\1/; q; }
50015001- /^X\(\/\).*/{ s//\1/; q; }
50025002- s/.*/./; q'`
50035003- { if $as_mkdir_p; then
50045004- mkdir -p $dirpart/$fdir
50055005- else
50065006- as_dir=$dirpart/$fdir
74267426+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
74277427+$as_echo X"$file" |
74287428+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74297429+ s//\1/
74307430+ q
74317431+ }
74327432+ /^X\(\/\/\)[^/].*/{
74337433+ s//\1/
74347434+ q
74357435+ }
74367436+ /^X\(\/\/\)$/{
74377437+ s//\1/
74387438+ q
74397439+ }
74407440+ /^X\(\/\).*/{
74417441+ s//\1/
74427442+ q
74437443+ }
74447444+ s/.*/./; q'`
74457445+ { as_dir=$dirpart/$fdir
74467446+ case $as_dir in #(
74477447+ -*) as_dir=./$as_dir;;
74487448+ esac
74497449+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50077450 as_dirs=
50085008- while test ! -d "$as_dir"; do
50095009- as_dirs="$as_dir $as_dirs"
50105010- as_dir=`(dirname "$as_dir") 2>/dev/null ||
74517451+ while :; do
74527452+ case $as_dir in #(
74537453+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
74547454+ *) as_qdir=$as_dir;;
74557455+ esac
74567456+ as_dirs="'$as_qdir' $as_dirs"
74577457+ as_dir=`$as_dirname -- "$as_dir" ||
50117458$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50127459 X"$as_dir" : 'X\(//\)[^/]' \| \
50137460 X"$as_dir" : 'X\(//\)$' \| \
50145014- X"$as_dir" : 'X\(/\)' \| \
50155015- . : '\(.\)' 2>/dev/null ||
50165016-echo X"$as_dir" |
50175017- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50185018- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50195019- /^X\(\/\/\)$/{ s//\1/; q; }
50205020- /^X\(\/\).*/{ s//\1/; q; }
50215021- s/.*/./; q'`
74617461+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
74627462+$as_echo X"$as_dir" |
74637463+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74647464+ s//\1/
74657465+ q
74667466+ }
74677467+ /^X\(\/\/\)[^/].*/{
74687468+ s//\1/
74697469+ q
74707470+ }
74717471+ /^X\(\/\/\)$/{
74727472+ s//\1/
74737473+ q
74747474+ }
74757475+ /^X\(\/\).*/{
74767476+ s//\1/
74777477+ q
74787478+ }
74797479+ s/.*/./; q'`
74807480+ test -d "$as_dir" && break
50227481 done
50235023- test ! -n "$as_dirs" || mkdir $as_dirs
50245024- fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
50255025-echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
74827482+ test -z "$as_dirs" || eval "mkdir $as_dirs"
74837483+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
74847484+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
50267485 { (exit 1); exit 1; }; }; }
50275027-50287486 # echo "creating $dirpart/$file"
50297487 echo '# dummy' > "$dirpart/$file"
50307488 done
50317489done
50327490 ;;
74917491+50337492 esac
50345034-done
50355035-_ACEOF
74937493+done # for ac_tag
5036749450375037-cat >>$CONFIG_STATUS <<\_ACEOF
5038749550397496{ (exit 0); exit 0; }
50407497_ACEOF
50417498chmod +x $CONFIG_STATUS
50427499ac_clean_files=$ac_clean_files_save
75007500+75017501+test $ac_write_fail = 0 ||
75027502+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
75037503+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
75047504+ { (exit 1); exit 1; }; }
504375055044750650457507# configure is writing to config.log, and then calls config.status.
···50617523 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50627524 # would make configure fail if this is the last instruction.
50637525 $ac_cs_success || { (exit 1); exit 1; }
75267526+fi
75277527+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75287528+ { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
75297529+$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
50647530fi
50657531
···11-#! /bin/sh
22-# mkinstalldirs --- make directory hierarchy
33-44-scriptversion=2005-06-29.22
55-66-# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
77-# Created: 1993-05-16
88-# Public domain.
99-#
1010-# This file is maintained in Automake, please report
1111-# bugs to <bug-automake@gnu.org> or send patches to
1212-# <automake-patches@gnu.org>.
1313-1414-errstatus=0
1515-dirmode=
1616-1717-usage="\
1818-Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
1919-2020-Create each directory DIR (with mode MODE, if specified), including all
2121-leading file name components.
2222-2323-Report bugs to <bug-automake@gnu.org>."
2424-2525-# process command line arguments
2626-while test $# -gt 0 ; do
2727- case $1 in
2828- -h | --help | --h*) # -h for help
2929- echo "$usage"
3030- exit $?
3131- ;;
3232- -m) # -m PERM arg
3333- shift
3434- test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
3535- dirmode=$1
3636- shift
3737- ;;
3838- --version)
3939- echo "$0 $scriptversion"
4040- exit $?
4141- ;;
4242- --) # stop option processing
4343- shift
4444- break
4545- ;;
4646- -*) # unknown option
4747- echo "$usage" 1>&2
4848- exit 1
4949- ;;
5050- *) # first non-opt arg
5151- break
5252- ;;
5353- esac
5454-done
5555-5656-for file
5757-do
5858- if test -d "$file"; then
5959- shift
6060- else
6161- break
6262- fi
6363-done
6464-6565-case $# in
6666- 0) exit 0 ;;
6767-esac
6868-6969-# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
7070-# mkdir -p a/c at the same time, both will detect that a is missing,
7171-# one will create a, then the other will try to create a and die with
7272-# a "File exists" error. This is a problem when calling mkinstalldirs
7373-# from a parallel make. We use --version in the probe to restrict
7474-# ourselves to GNU mkdir, which is thread-safe.
7575-case $dirmode in
7676- '')
7777- if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7878- echo "mkdir -p -- $*"
7979- exec mkdir -p -- "$@"
8080- else
8181- # On NextStep and OpenStep, the `mkdir' command does not
8282- # recognize any option. It will interpret all options as
8383- # directories to create, and then abort because `.' already
8484- # exists.
8585- test -d ./-p && rmdir ./-p
8686- test -d ./--version && rmdir ./--version
8787- fi
8888- ;;
8989- *)
9090- if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
9191- test ! -d ./--version; then
9292- echo "mkdir -m $dirmode -p -- $*"
9393- exec mkdir -m "$dirmode" -p -- "$@"
9494- else
9595- # Clean up after NextStep and OpenStep mkdir.
9696- for d in ./-m ./-p ./--version "./$dirmode";
9797- do
9898- test -d $d && rmdir $d
9999- done
100100- fi
101101- ;;
102102-esac
103103-104104-for file
105105-do
106106- case $file in
107107- /*) pathcomp=/ ;;
108108- *) pathcomp= ;;
109109- esac
110110- oIFS=$IFS
111111- IFS=/
112112- set fnord $file
113113- shift
114114- IFS=$oIFS
115115-116116- for d
117117- do
118118- test "x$d" = x && continue
119119-120120- pathcomp=$pathcomp$d
121121- case $pathcomp in
122122- -*) pathcomp=./$pathcomp ;;
123123- esac
124124-125125- if test ! -d "$pathcomp"; then
126126- echo "mkdir $pathcomp"
127127-128128- mkdir "$pathcomp" || lasterr=$?
129129-130130- if test ! -d "$pathcomp"; then
131131- errstatus=$lasterr
132132- else
133133- if test ! -z "$dirmode"; then
134134- echo "chmod $dirmode $pathcomp"
135135- lasterr=
136136- chmod "$dirmode" "$pathcomp" || lasterr=$?
137137-138138- if test ! -z "$lasterr"; then
139139- errstatus=$lasterr
140140- fi
141141- fi
142142- fi
143143- fi
144144-145145- pathcomp=$pathcomp/
146146- done
147147-done
148148-149149-exit $errstatus
150150-151151-# Local Variables:
152152-# mode: shell-script
153153-# sh-indentation: 2
154154-# eval: (add-hook 'write-file-hooks 'time-stamp)
155155-# time-stamp-start: "scriptversion="
156156-# time-stamp-format: "%:y-%02m-%02d.%02H"
157157-# time-stamp-end: "$"
158158-# End:
-435
app/xmore/print.c
···11-/*
22- * $Xorg: print.c,v 1.1 2004/04/30 02:05:54 gisburn Exp $
33- *
44-Copyright 2004 Roland Mainz <roland.mainz@nrubsig.org>
55-66-Permission to use, copy, modify, distribute, and sell this software and its
77-documentation for any purpose is hereby granted without fee, provided that
88-the above copyright notice appear in all copies and that both that
99-copyright notice and this permission notice appear in supporting
1010-documentation.
1111-1212-The above copyright notice and this permission notice shall be included in
1313-all copies or substantial portions of the Software.
1414-1515-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1919-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2020-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121-2222-Except as contained in this notice, the name of The Open Group shall not be
2323-used in advertising or otherwise to promote the sale, use or other dealings
2424-in this Software without prior written authorization from The Open Group.
2525- *
2626- */
2727-2828-/* Turn a NULL pointer string into an empty string */
2929-#define NULLSTR(x) (((x)!=NULL)?(x):(""))
3030-3131-#define Error(x) { printf x ; exit(EXIT_FAILURE); }
3232-#define Assertion(expr, msg) { if (!(expr)) { Error msg } }
3333-#define Log(x) { if(True) printf x; }
3434-3535-#ifdef XEDIT
3636-#include "xedit.h"
3737-#endif /* XEDIT */
3838-#include "print.h"
3939-#include <X11/Xaw/Form.h>
4040-#include <X11/Xaw/Label.h>
4141-#include <X11/Xaw/AsciiText.h>
4242-#include <stdio.h>
4343-#include <stdlib.h>
4444-4545-static Widget
4646-CreatePrintShell(Widget videoshell,
4747- Screen *pscreen,
4848- Visual *pvisual,
4949- String printshell_name,
5050- ArgList args,
5151- Cardinal numargs)
5252-{
5353- String videoname,
5454- videoclass;
5555- Widget pappshell,
5656- printshell;
5757- Display *pdpy = XDisplayOfScreen(pscreen);
5858- int dummyc = 0;
5959- String dummys = "";
6060- Cardinal shell_n;
6161- Arg shell_args[5];
6262-6363- XtGetApplicationNameAndClass(XtDisplay(videoshell),
6464- &videoname, &videoclass);
6565-6666- /* XXX: Why is the |dummyc|&&|dummys| stuff needed here ? */
6767- XtDisplayInitialize(XtWidgetToApplicationContext(videoshell), pdpy,
6868- videoname, videoclass,
6969- NULL, 0,
7070- &dummyc, &dummys);
7171-7272- shell_n = 0;
7373- XtSetArg(shell_args[shell_n], XtNscreen, pscreen); shell_n++;
7474- if (pvisual) {
7575- XtSetArg(shell_args[shell_n], XtNvisual, pvisual); shell_n++;
7676- }
7777- pappshell = XtAppCreateShell(videoname, videoclass,
7878- applicationShellWidgetClass,
7979- pdpy,
8080- shell_args, shell_n);
8181- printshell = XtCreatePopupShell(printshell_name,
8282- xawPrintShellWidgetClass,
8383- pappshell, args, numargs);
8484-8585-8686- /* we're mapping/unmapping at start/end page time */
8787- XtSetMappedWhenManaged(printshell, False);
8888-8989- /* We realise the widget when we're done with building the widget tree... */
9090-9191- return printshell;
9292-}
9393-9494-typedef struct
9595-{
9696- const char *programname;
9797- Widget toplevel;
9898- Bool isPrinting;
9999- Widget printshell;
100100- struct
101101- {
102102- Widget form;
103103- Widget pageheaderlabel;
104104- Widget text;
105105- } content; /* content to print */
106106- int numpages;
107107- Display *pdpy;
108108- Screen *pscreen;
109109- XPContext pcontext;
110110- XtCallbackProc pdpyDestroyCallback;
111111- void *printtofile_handle;
112112- const char *jobtitle;
113113-} AppPrintData;
114114-115115-static AppPrintData apdx;
116116-static AppPrintData *apd = &apdx;
117117-118118-/* Count pages in a text widget
119119- * WARNING: This will reset the current position of the text widget
120120- * back to the beginning */
121121-static
122122-long CountPages(Widget textWidget)
123123-{
124124- long numpages = 0;
125125-126126- XawTextPosition prevpagepos = -1,
127127- currpos = 0;
128128-129129- /* Move to the top of the file... */
130130- XtCallActionProc(textWidget, "beginning-of-file", NULL, NULL, 0);
131131-132132- /* ... count pages ...*/
133133- do
134134- {
135135- prevpagepos = XawTextTopPosition(textWidget);
136136- XtCallActionProc(textWidget, "next-page", NULL, NULL, 0);
137137- currpos = XawTextTopPosition(textWidget);
138138- numpages++;
139139- } while(prevpagepos != currpos);
140140-141141- /* ... and move to the top of the file... */
142142- XtCallActionProc(textWidget, "beginning-of-file", NULL, NULL, 0);
143143-144144- Log(("CountPages() found %ld pages.\n", numpages))
145145-146146- return numpages;
147147-}
148148-149149-static void
150150-PageSetupCB(Widget widget, XtPointer client_data, XtPointer call_data)
151151-{
152152- Widget pshell = widget;
153153- XawPrintShellCallbackStruct *psp = (XawPrintShellCallbackStruct *)call_data;
154154- AppPrintData *p = (AppPrintData *)client_data;
155155-156156- Log(("--> PageSetupCB\n"));
157157-158158- if (!psp->last_page_in_job) {
159159- int currpage;
160160- char buffer[256];
161161-162162- XtVaGetValues(pshell, XawNcurrPageNumInJob, &currpage, NULL);
163163-164164- sprintf(buffer, "Title: %s / Page: %d/%d", p->jobtitle, currpage, p->numpages);
165165- XtVaSetValues(apd->content.pageheaderlabel, XtNlabel, buffer, NULL);
166166-167167- /* Note: XawPrintShell's pagecount starts with '1'
168168- * (=first page is page no. '1') */
169169- if (currpage > 1) {
170170- Log(("pagedown %d\n", currpage));
171171- XtCallActionProc(p->content.text, "next-page", NULL, NULL, 0);
172172- }
173173- else
174174- {
175175- Log(("first page\n"));
176176- }
177177-178178- if (currpage >= p->numpages) {
179179- psp->last_page_in_job = True;
180180- }
181181- }
182182-}
183183-184184-static
185185-void FinishPrinting(AppPrintData *p)
186186-{
187187- char *scr;
188188-189189- if (p->printtofile_handle) {
190190- if (XpuWaitForPrintFileChild(p->printtofile_handle) != XPGetDocFinished) {
191191- PrintMsg(("Error while printing to file.\n"));
192192- }
193193- p->printtofile_handle = NULL;
194194- }
195195-196196- /* Job completed, check if there are any messages from the spooler command */
197197- scr = XpGetOneAttribute(p->pdpy, p->pcontext, XPJobAttr, "xp-spooler-command-results");
198198- if( scr )
199199- {
200200- if( strlen(scr) > 0 )
201201- {
202202- const char *msg = XpuCompoundTextToXmb(p->pdpy, scr);
203203- if( msg )
204204- {
205205- PrintMsg(("Spooler command returned:\n%s", msg));
206206- XpuFreeXmbString(msg);
207207- }
208208- else
209209- {
210210- PrintMsg(("Spooler command returned (unconverted):\n%s", scr));
211211- }
212212- }
213213-214214- XFree((void *)scr);
215215- }
216216-217217- if (p->printshell) {
218218- XtDestroyWidget(p->printshell);
219219- p->printshell = NULL;
220220- }
221221-222222- /* Two issues here:
223223- * 1. The print display connection is owned by the print dialog
224224- * To avoid any problems with that use a callback back to the main
225225- * application which calls
226226- * |XawPrintDialogClosePrinterConnection(w, False)| to ask the
227227- * print dialog widget to close all print display resources and
228228- * disown the object.
229229- * 2. We have to use XpDestroyContext() and XtCloseDisplay()
230230- * instead of XpuClosePrinterDisplay() to make libXt happy...
231231- *
232232- * Call callback... */
233233- (*apd->pdpyDestroyCallback)(NULL, NULL, NULL); /* HACK! */
234234-235235- /* ... and then get rid of the display */
236236- if (p->pcontext != None) {
237237- XpDestroyContext(p->pdpy, p->pcontext);
238238- }
239239- XtCloseDisplay(p->pdpy);
240240-241241- p->toplevel = NULL;
242242- p->isPrinting = False;
243243- p->pdpy = NULL;
244244- p->pscreen = NULL;
245245- p->pcontext = None;
246246-}
247247-248248-static
249249-void PrintEndJobCB(Widget pshell, XtPointer client_data, XtPointer call_data)
250250-{
251251- AppPrintData *p = (AppPrintData *)client_data;
252252-253253- Log(("--> PrintEndJobCB\n"));
254254-255255- /* Finish printing and destroy print shell (it's legal to destroy Xt
256256- * widgets from within it's own callbacks) */
257257- FinishPrinting(p);
258258-}
259259-260260-static
261261-XFontSet GetPrintTextFontSet(const char *appname, Display *pdpy, long dpi_x, long dpi_y)
262262-{
263263- XFontSet fontset;
264264- char fontname[1024];
265265- char **missing_charset_list_return;
266266- int missing_charset_count_return;
267267- char *def_string_return;
268268- int i;
269269-270270- sprintf(fontname, /* Default font for CDE */
271271- "-dt-interface user-medium-r-normal-s*-*-120-%ld-%ld-*-*,"
272272- /* Default font */
273273- "-adobe-courier-medium-r-normal--*-120-%ld-%ld-*-*,"
274274- /* Default font for Linux/Japanese locales (ja_JP.SJIS) */
275275- "-watanabe-mincho-medium-r-normal--*-120-%ld-%ld-*-*,"
276276- "-wadalab-gothic-medium-r-normal--*-120-%ld-%ld-*-*,"
277277- /* Fallback */
278278- "-*-*-*-*-*--*-120-%ld-%ld-*-*",
279279- dpi_x, dpi_y,
280280- dpi_x, dpi_y,
281281- dpi_x, dpi_y,
282282- dpi_x, dpi_y,
283283- dpi_x, dpi_y);
284284- fontset = XCreateFontSet(pdpy, fontname,
285285- &missing_charset_list_return,
286286- &missing_charset_count_return,
287287- &def_string_return);
288288-289289- for( i=0 ; i < missing_charset_count_return ; i++ ) {
290290- fprintf(stderr, "%s: warning: font for charset %s is lacking.\n",
291291- appname, missing_charset_list_return[i]);
292292- }
293293-294294- if (!fontset)
295295- Error(("GetPrintTextFontSet: XCreateFontSet() failure.\n"));
296296- return fontset;
297297-}
298298-299299-void DoPrintTextSource(const char *programname,
300300- Widget textsource, Widget toplevel,
301301- Display *pdpy, XPContext pcontext,
302302- XpuColorspaceRec *colorspace,
303303- XtCallbackProc pdpyDestroyCB,
304304- const char *jobtitle, const char *toFile)
305305-{
306306- long dpi_x = 0L,
307307- dpi_y = 0L;
308308- int n;
309309- Arg args[20];
310310- XFontSet textfontset = NULL;
311311- XFontSetExtents *font_extents;
312312-313313- apd->programname = programname;
314314- apd->pdpyDestroyCallback = pdpyDestroyCB;
315315-316316- if (apd->isPrinting) {
317317- PrintMsg(("Already busy with printing.\n"));
318318- return;
319319- }
320320-321321- /* Configure the print context (paper size, title etc.)
322322- * We must do this before creating any Xt widgets - otherwise they will
323323- * make wrong assuptions about fonts, resultions etc. ...
324324- */
325325- XpuSetJobTitle(pdpy, pcontext, jobtitle);
326326-327327- /* Configuration done, set the context */
328328- XpSetContext(pdpy, pcontext);
329329-330330- /* Get default printer resolution */
331331- if (XpuGetResolution(pdpy, pcontext, &dpi_x, &dpi_y) != 1) {
332332- PrintMsg(("No default resolution for printer.\n"));
333333- XpuClosePrinterDisplay(pdpy, pcontext);
334334- return;
335335- }
336336-337337- apd->toplevel = toplevel;
338338- apd->pdpy = pdpy;
339339- apd->pcontext = pcontext;
340340- apd->pscreen = XpGetScreenOfContext(pdpy, pcontext);
341341- apd->jobtitle = jobtitle;
342342-343343- n = 0;
344344- /* Override any geometry resource settings as XawPrintShell adjusts it's size
345345- * to the current page siue when |XawPrintLAYOUTMODE_DRAWABLEAREA| or
346346- * |XawPrintLAYOUTMODE_PAGESIZE| are used. */
347347- XtSetArg(args[n], XtNgeometry, "+0+0"); n++;
348348- XtSetArg(args[n], XawNlayoutMode, XawPrintLAYOUTMODE_DRAWABLEAREA); n++;
349349- if (colorspace) {
350350- printf("Setting visual to id=0x%lx.\n", colorspace->visualinfo.visualid);
351351- }
352352- apd->printshell = CreatePrintShell(toplevel, apd->pscreen,
353353- (colorspace?(colorspace->visualinfo.visual):(NULL)),
354354- "printshell", args, n);
355355- n = 0;
356356- XtSetArg(args[n], XtNresizable, True); n++;
357357- XtSetArg(args[n], XtNright, XtChainRight); n++;
358358- apd->content.form = XtCreateManagedWidget("form", formWidgetClass, apd->printshell, args, n);
359359-360360- textfontset = GetPrintTextFontSet(apd->programname, pdpy, dpi_x, dpi_y);
361361-362362- n = 0;
363363- XtSetArg(args[n], XtNinternational, True); n++;
364364- XtSetArg(args[n], XtNfromHoriz, NULL); n++;
365365- XtSetArg(args[n], XtNfromVert, NULL); n++;
366366- XtSetArg(args[n], XtNtop, XtChainTop); n++;
367367- XtSetArg(args[n], XtNright, XtChainRight); n++;
368368- XtSetArg(args[n], XtNresizable, True); n++;
369369- XtSetArg(args[n], XtNfontSet, textfontset); n++;
370370- XtSetArg(args[n], XtNlabel, "Page: n/n"); n++;
371371- XtSetArg(args[n], XtNjustify, XtJustifyRight); n++;
372372- apd->content.pageheaderlabel = XtCreateManagedWidget("pageinfo", labelWidgetClass, apd->content.form, args, n);
373373-374374- font_extents = XExtentsOfFontSet(textfontset);
375375-376376- n = 0;
377377- XtSetArg(args[n], XtNinternational, True); n++;
378378- XtSetArg(args[n], XtNtextSource, textsource); n++;
379379- XtSetArg(args[n], XtNscrollHorizontal, XawtextScrollNever); n++;
380380- XtSetArg(args[n], XtNscrollVertical, XawtextScrollNever); n++;
381381-382382-/* Usually I would expect that using |XtNfromVert, apd->content.pageheaderlabel|
383383- * would be the correct way to place the text widget with the main content below
384384- * the page header widget - but for an unknown reason this doesn not work: The
385385- * text widget squishes itself into the bottom half of the page and only occupies
386386- * 1/2 of the page's with... ;-(( */
387387-#define WORKAROUND_FOR_SOMETHING_IS_WRONG 1
388388-#ifdef WORKAROUND_FOR_SOMETHING_IS_WRONG
389389- XtSetArg(args[n], XtNtop, XtChainTop); n++;
390390- XtSetArg(args[n], XtNright, XtChainRight); n++;
391391- XtSetArg(args[n], XtNvertDistance, (font_extents->max_logical_extent.height+2)*2); n++;
392392-#else
393393- XtSetArg(args[n], XtNfromHoriz, NULL); n++;
394394- XtSetArg(args[n], XtNfromVert, apd->content.pageheaderlabel); n++;
395395-#endif
396396- XtSetArg(args[n], XtNfontSet, textfontset); n++;
397397- apd->content.text = XtCreateManagedWidget("text", asciiTextWidgetClass, apd->content.form, args, n);
398398-399399- /* Disable the caret - that is not needed for printing */
400400- XawTextDisplayCaret(apd->content.text, False);
401401-402402- XtAddCallback(apd->printshell, XawNpageSetupCallback, PageSetupCB, (XtPointer)apd);
403403- XtAddCallback(apd->printshell, XawNendJobCallback, PrintEndJobCB, (XtPointer)apd);
404404-405405- /* Realise print shell (which will set position+size of the child
406406- * widgets based on the current page size) */
407407- XtRealizeWidget(apd->printshell);
408408-409409- /* Count number of pages in the text widget */
410410- apd->numpages = CountPages(apd->content.text);
411411-412412- /* Make sure that the Xt machinery is really using the right screen (assertion) */
413413- if (XpGetScreenOfContext(XtDisplay(apd->printshell), apd->pcontext) != XtScreen(apd->printshell))
414414- Error(("Widget's screen != print screen. BAD.\n"));
415415-416416- apd->isPrinting = True;
417417-418418- if (toFile) {
419419- PrintMsg(("Printing to file '%s'...\n", toFile));
420420- apd->printtofile_handle = XpuStartJobToFile(pdpy, pcontext, toFile);
421421- if (!apd->printtofile_handle) {
422422- perror("XpuStartJobToFile failure");
423423- PrintMsg(("Printing failed: XpuStartJobToFile\n"));
424424- apd->isPrinting = False;
425425- return;
426426- }
427427- }
428428- else
429429- {
430430- PrintMsg(("Printing to printer...\n"));
431431- XpuStartJobToSpooler(pdpy);
432432- }
433433-}
434434-435435-
-56
app/xmore/print.h
···11-/*
22- * $Xorg: print.h,v 1.1 2004/04/30 02:05:54 gisburn Exp $
33- *
44-Copyright 2004 Roland Mainz <roland.mainz@nrubsig.org>
55-66-Permission to use, copy, modify, distribute, and sell this software and its
77-documentation for any purpose is hereby granted without fee, provided that
88-the above copyright notice appear in all copies and that both that
99-copyright notice and this permission notice appear in supporting
1010-documentation.
1111-1212-The above copyright notice and this permission notice shall be included in
1313-all copies or substantial portions of the Software.
1414-1515-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1919-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2020-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121-2222-Except as contained in this notice, the name of The Open Group shall not be
2323-used in advertising or otherwise to promote the sale, use or other dealings
2424-in this Software without prior written authorization from The Open Group.
2525- *
2626- */
2727-2828-#ifndef XMORE_PRINT_H
2929-#define XMORE_PRINT_H 1
3030-3131-#include <X11/Intrinsic.h>
3232-#include <X11/StringDefs.h>
3333-#include <X11/Shell.h>
3434-#include <X11/Xaw/Print.h>
3535-#include <X11/Xaw/Cardinals.h>
3636-#include <X11/XprintUtil/xprintutil.h>
3737-3838-#if defined(XMORE)
3939-#define PrintMsg(x) { printf("xmore: "); printf x ; }
4040-#elif defined(XEDIT)
4141-#define PrintMsg(x) { XeditPrintf x ; }
4242-#else
4343-#error unknown application
4444-#endif
4545-4646-/* Prototypes */
4747-void DoPrintTextSource(const char *programname,
4848- Widget textsource,
4949- Widget toplevel,
5050- Display *pdpy, XPContext pcontext,
5151- XpuColorspaceRec *colorspace,
5252- XtCallbackProc printDisplayDestroyCallback,
5353- const char *jobTitle,
5454- const char *toFile);
5555-5656-#endif /* !XMORE_PRINT_H */
···11-/*
22- * $Xorg: printdialog.h,v 1.1 2004/04/30 02:05:54 gisburn Exp $
33- *
44-Copyright 2004 Roland Mainz <roland.mainz@nrubsig.org>
55-66-Permission to use, copy, modify, distribute, and sell this software and its
77-documentation for any purpose is hereby granted without fee, provided that
88-the above copyright notice appear in all copies and that both that
99-copyright notice and this permission notice appear in supporting
1010-documentation.
1111-1212-The above copyright notice and this permission notice shall be included in
1313-all copies or substantial portions of the Software.
1414-1515-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
1919-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2020-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121-2222-Except as contained in this notice, the name of The Open Group shall not be
2323-used in advertising or otherwise to promote the sale, use or other dealings
2424-in this Software without prior written authorization from The Open Group.
2525- *
2626- */
2727-2828-#ifndef XMORE_PRINTDIALOG_H
2929-#define XMORE_PRINTDIALOG_H 1
3030-3131-#include <X11/Intrinsic.h>
3232-#include <X11/StringDefs.h>
3333-#include <X11/Shell.h>
3434-#include <X11/Xaw/Print.h>
3535-#include <X11/Xaw/Cardinals.h>
3636-#include <X11/Xaw/Form.h>
3737-#include <X11/XprintUtil/xprintutil.h>
3838-3939-/* Resources:
4040- NOT WRITTEN YET
4141-*/
4242-4343-#define XtCIcon "Icon"
4444-#define XtNicon "icon"
4545-4646-#define XawNOkCallback "okCallback"
4747-#define XawNCancelCallback "cancelCallback"
4848-4949-typedef struct
5050-{
5151- Display *pdpy;
5252- XPContext pcontext;
5353- const char *printToFileName;
5454- Boolean printToFile;
5555- XpuColorspaceRec *colorspace;
5656-} XawPrintDialogCallbackStruct;
5757-5858-typedef struct _PrintDialogClassRec *PrintDialogWidgetClass;
5959-typedef struct _PrintDialogRec *PrintDialogWidget;
6060-6161-extern WidgetClass printDialogWidgetClass;
6262-6363-_XFUNCPROTOBEGIN
6464-6565-/* Prototypes */
6666-void XawPrintDialogClosePrinterConnection(Widget w, Bool closeDisplay);
6767-6868-_XFUNCPROTOEND
6969-7070-#endif /* !XMORE_PRINTDIALOG_H */
···1212.ad b
1313.SH DESCRIPTION
1414xmore is a plain text browser.
1515-.SH ENVIRONMENT
1616-.TP
1717-\fBXPSERVERLIST\fR
1818-\fB${XPSERVERLIST}\fR must be set,
1919-identifying the available Xprint servers.
2020-See \fBXprint\fR(__miscmansuffix__)
2121-for more details.
2215.SH "SEE ALSO"
2316\fBX11\fR(__miscmansuffix__), \fBxman\fR(__appmansuffix__)
-19
app/xmore/xmore.sgml
···38383939 </refsect1>
40404141- <refsect1>
4242- <title>ENVIRONMENT</title>
4343- <variablelist>
4444- <varlistentry>
4545- <term><envar>XPSERVERLIST</envar>
4646- </term>
4747- <listitem>
4848- <para>
4949- <envar>${XPSERVERLIST}</envar> must be set,
5050- identifying the available Xprint servers.
5151- See <citerefentry><refentrytitle>Xprint</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry>
5252- for more details.
5353- </para>
5454- </listitem>
5555- </varlistentry>
5656- </variablelist>
5757- </refsect1>
5858-5941<!-- not yet
6042 <refsect1>
6143 <title>KNOWN BUGS</title>
···7153 <!-- specific references -->
7254 <!-- none -->
73557474- <!-- Xprint general references -->
7556 <member><citerefentry><refentrytitle>X11</refentrytitle><manvolnum>__miscmansuffix__</manvolnum></citerefentry></member>
7657 <member><citerefentry><refentrytitle>xman</refentrytitle><manvolnum>__appmansuffix__</manvolnum></citerefentry></member>
7758 </simplelist>