mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5862 lines
183 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/tsa/hesiod/hesiod_3.0.2-15.1.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- hesiod-3.0.2.orig/hesiod_getservbyname.3
  20. +++ hesiod-3.0.2/hesiod_getservbyname.3
  21. @@ -25,7 +25,7 @@
  22. .B const char *\fIname\fP, const char *\fIproto\fP)
  23. .B void hesiod_free_servent(void *\fIcontext\fP, struct servent *\fIserv\fP)
  24. .PP
  25. -.B cc file.c -lhesiod
  26. +.B cc file.c \-lhesiod
  27. .fi
  28. .SH DESCRIPTION
  29. This family of functions allows you to retrieve service to port
  30. --- hesiod-3.0.2.orig/config.h.in
  31. +++ hesiod-3.0.2/config.h.in
  32. @@ -1,5 +1,4 @@
  33. -/* config.h.in. Generated automatically from configure.in by autoheader. */
  34. -
  35. +/* config.h.in. Generated from configure.in by autoheader. */
  36. /* Define if struct passwd has a field pw_quota. */
  37. #undef HAVE_PW_QUOTA
  38. @@ -15,8 +14,20 @@
  39. /* Define if struct passwd has a field pw_expire. */
  40. #undef HAVE_PW_EXPIRE
  41. -/* Define if you have the strerror_r function. */
  42. +/* Define to 1 if you have the `strerror_r' function. */
  43. #undef HAVE_STRERROR_R
  44. -/* Define if you have the resolv library (-lresolv). */
  45. -#undef HAVE_LIBRESOLV
  46. +/* Define to the address where bug reports for this package should be sent. */
  47. +#undef PACKAGE_BUGREPORT
  48. +
  49. +/* Define to the full name of this package. */
  50. +#undef PACKAGE_NAME
  51. +
  52. +/* Define to the full name and version of this package. */
  53. +#undef PACKAGE_STRING
  54. +
  55. +/* Define to the one symbol short name of this package. */
  56. +#undef PACKAGE_TARNAME
  57. +
  58. +/* Define to the version of this package. */
  59. +#undef PACKAGE_VERSION
  60. --- hesiod-3.0.2.orig/hesiod_getmailhost.3
  61. +++ hesiod-3.0.2/hesiod_getmailhost.3
  62. @@ -26,7 +26,7 @@
  63. .B void hesiod_free_postoffice(void *\fIcontext\fP,
  64. .B struct hesiod_postoffice *\fIpo\fP)
  65. .PP
  66. -.B cc file.c -lhesiod
  67. +.B cc file.c \-lhesiod
  68. .fi
  69. .SH DESCRIPTION
  70. This family of functions allows you to retrieve user to postoffice
  71. --- hesiod-3.0.2.orig/hesinfo.1
  72. +++ hesiod-3.0.2/hesinfo.1
  73. @@ -19,7 +19,7 @@
  74. hesinfo \- find out what is stored in the Hesiod database
  75. .SH SYNOPSIS
  76. .nf
  77. -hesinfo \fI[-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR
  78. +hesinfo \fI[\-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR
  79. .SH DESCRIPTION
  80. .I hesinfo
  81. takes two arguments, a name to be resolved and a string, known
  82. @@ -34,10 +34,10 @@
  83. .I hesinfo
  84. understands the following options:
  85. .TP
  86. -.B -l
  87. +.B \-l
  88. Selects long format.
  89. .TP
  90. -.B -b
  91. +.B \-b
  92. Prints the fully-qualified string passed to the nameserver.
  93. .PP
  94. @@ -176,7 +176,7 @@
  95. for the following valid
  96. .I HesiodNames
  97. (see above)
  98. -.B - <file system name>, <username>, <rvd server>:<pack>,
  99. +.B \- <file system name>, <username>, <rvd server>:<pack>,
  100. .B and <nfs server>:<partition>
  101. .TP
  102. @@ -213,7 +213,7 @@
  103. .B <printer-cluster-name>.
  104. .SH FILES
  105. -/etc/athena/hesiod.conf
  106. +/etc/hesiod.conf
  107. .SH "SEE ALSO"
  108. `Hesiod - Project Athena Technical Plan -- Name Service', named(8), hesiod(3)
  109. .SH AUTHOR
  110. --- hesiod-3.0.2.orig/debian/libhesiod0.docs
  111. +++ hesiod-3.0.2/debian/libhesiod0.docs
  112. @@ -0,0 +1 @@
  113. +README NEWS debian/README.debian
  114. --- hesiod-3.0.2.orig/debian/libhesiod0.files
  115. +++ hesiod-3.0.2/debian/libhesiod0.files
  116. @@ -0,0 +1,2 @@
  117. +usr/lib/*.so.*
  118. +usr/share/man/man5/*.5
  119. --- hesiod-3.0.2.orig/debian/hesiod.dirs
  120. +++ hesiod-3.0.2/debian/hesiod.dirs
  121. @@ -0,0 +1,5 @@
  122. +etc
  123. +usr/lib
  124. +usr/include
  125. +usr/share/man/man1
  126. +usr/share/man/man5
  127. --- hesiod-3.0.2.orig/debian/libhesiod-dev.links
  128. +++ hesiod-3.0.2/debian/libhesiod-dev.links
  129. @@ -0,0 +1 @@
  130. +usr/share/doc/libhesiod0 usr/share/doc/libhesiod-dev
  131. --- hesiod-3.0.2.orig/debian/libhesiod0.templates
  132. +++ hesiod-3.0.2/debian/libhesiod0.templates
  133. @@ -0,0 +1,27 @@
  134. +Template: hesiod/rhs
  135. +Type: string
  136. +Default: .athena.mit.edu
  137. +_Description: Hesiod domain for searches
  138. + Hesiod looks up keys using the standard Domain Name System. Enter the
  139. + right-hand side of the domain name to do searches in. This name should
  140. + begin with a ".".
  141. +
  142. +Template: hesiod/lhs
  143. +Type: string
  144. +Default: .ns
  145. +_Description: Hesiod prefix for searches
  146. + Hesiod lookups generally happen in a subdomain of the main domain. Enter
  147. + the name of the subdomain here. This name should begin with a ".". At
  148. + most sites, this entry should be ".ns".
  149. +
  150. +Template: hesiod/classes
  151. +Type: string
  152. +Default: IN,HS
  153. +_Description: DNS class search order
  154. + Hesiod looks up names using DNS TXT records. In addition to using the
  155. + standard IN DNS class for Internet names, it also uses by default the
  156. + special HS class. You can change the class search order here, or leave
  157. + out IN or HS if you want to. Don't insert extra spaces in the value. The
  158. + default search path is "IN,HS" to search both classes. At some sites where
  159. + older hesiod installations are still in use, you may need to specify
  160. + "HS,IN" instead.
  161. --- hesiod-3.0.2.orig/debian/README.debian
  162. +++ hesiod-3.0.2/debian/README.debian
  163. @@ -0,0 +1,10 @@
  164. +hesiod for Debian
  165. +----------------------
  166. +
  167. +This is the hesiod name service library, available from
  168. +ftp://athena-dist.mit.edu/pub/ATHENA/hesiod. Hesiod is derived from BIND,
  169. +the Berkeley Internet Name Daemon, and can leverage the existing DNS
  170. +infrastructure of a network to provide name service for a variety of
  171. +applications.
  172. +
  173. +Steve Langasek <vorlon@debian.org>, Tue, 31 Oct 2000 23:27:22 -0600
  174. --- hesiod-3.0.2.orig/debian/hesiod.links
  175. +++ hesiod-3.0.2/debian/hesiod.links
  176. @@ -0,0 +1 @@
  177. +usr/share/doc/libhesiod0 usr/share/doc/hesiod
  178. --- hesiod-3.0.2.orig/debian/libhesiod-dev.files
  179. +++ hesiod-3.0.2/debian/libhesiod-dev.files
  180. @@ -0,0 +1,4 @@
  181. +usr/include/*
  182. +usr/lib/*.a
  183. +usr/lib/*.so
  184. +usr/share/man/man3/*.3
  185. --- hesiod-3.0.2.orig/debian/changelog
  186. +++ hesiod-3.0.2/debian/changelog
  187. @@ -0,0 +1,127 @@
  188. +hesiod (3.0.2-15.1) unstable; urgency=low
  189. +
  190. + * Non-maintainer upload with maintainer permission.
  191. + * Fix configure not detecting correctly libresolv on some systems where
  192. + the symbols it tries to link to are macros.
  193. + Bug #200160 is now a wishlist.
  194. + * Fix manpages using hyphen as a minus sign.
  195. +
  196. + -- Guillem Jover <guillem@debian.org> Fri, 14 May 2004 05:24:52 +0200
  197. +
  198. +hesiod (3.0.2-15) unstable; urgency=low
  199. +
  200. + * Maintenance release: incorporate pt_BR and fr debconf translations;
  201. + thanks to André Luís Lopes <andrelop@debian.org> and Christian
  202. + Perrier <bubulle@debian.org>. (Closes: #206179, #207074.)
  203. +
  204. + -- Steve Langasek <vorlon@debian.org> Sun, 24 Aug 2003 21:54:39 -0500
  205. +
  206. +hesiod (3.0.2-14) unstable; urgency=low
  207. +
  208. + * Adjust debconf handling to derive sane defaults from
  209. + /etc/resolv.conf, so the question priorities can be lowered
  210. + (closes: #202585).
  211. + * Migrate debconf templates to po-debconf for l10n and integrate
  212. + the translations that were hiding on the DDTP site.
  213. + * Link libhesiod against -lresolv (closes: #194462).
  214. +
  215. + -- Steve Langasek <vorlon@debian.org> Sat, 26 Jul 2003 14:52:38 -0500
  216. +
  217. +hesiod (3.0.2-13) unstable; urgency=low
  218. +
  219. + * Correct the hesiod.conf path listed in the hesinfo manpages. Thanks
  220. + to John T. Rose <rose@iastate.edu> for reporting.
  221. +
  222. + -- Steve Langasek <vorlon@debian.org> Sun, 8 Dec 2002 21:35:20 -0600
  223. +
  224. +hesiod (3.0.2-12) unstable; urgency=medium
  225. +
  226. + * Significant bug in dpkg-reconfigure: the one thing in the config
  227. + users are really going to want to change doesn't get updated
  228. + properly. (closes: #144401)
  229. + * Remove /etc/hesiod.conf on purge (closes: #144400)
  230. +
  231. + -- Steve Langasek <vorlon@debian.org> Mon, 22 Apr 2002 16:14:21 -0500
  232. +
  233. +hesiod (3.0.2-11) unstable; urgency=low
  234. +
  235. + * fix package priorities to match the archive.
  236. + * fix /usr/share/doc symlinks.
  237. +
  238. + -- Steve Langasek <vorlon@debian.org> Wed, 20 Mar 2002 22:39:39 -0600
  239. +
  240. +hesiod (3.0.2-10) unstable; urgency=medium
  241. +
  242. + * The "just because no one uses it doesn't mean I should let it
  243. + release like this" release.
  244. + * Add proper dependency on debconf.
  245. + * Fix unsafe ldconfig handling in maintainer scripts. I guess that
  246. + could accidentally destroy someone's print job during an upgrade, if
  247. + you timed it just right.
  248. +
  249. + -- Steve Langasek <vorlon@debian.org> Wed, 20 Mar 2002 22:03:11 -0600
  250. +
  251. +hesiod (3.0.2-9) unstable; urgency=low
  252. +
  253. + * Nor should /etc/hesiod.conf belong to our package.
  254. +
  255. + -- Steve Langasek <vorlon@debian.org> Mon, 22 Jan 2001 19:15:22 -0600
  256. +
  257. +hesiod (3.0.2-8) unstable; urgency=low
  258. +
  259. + * If we're going to edit /etc/hesiod.conf, it should *not* be a conffile.
  260. +
  261. + -- Steve Langasek <vorlon@debian.org> Tue, 16 Jan 2001 00:31:20 -0600
  262. +
  263. +hesiod (3.0.2-7) unstable; urgency=low
  264. +
  265. + * Incorporated debconf support from David Maze's package <dmaze@mit.edu>
  266. + * Fixed configure args to use the correct sysconfdir setting
  267. +
  268. + -- Steve Langasek <vorlon@dodds.net> Tue, 02 Jan 2001 11:24:14 -0600
  269. +
  270. +hesiod (3.0.2-6) unstable; urgency=low
  271. +
  272. + * use dh_links to create symlinks between doc directories.
  273. +
  274. + -- Steve Langasek <vorlon@dodds.net> Tue, 26 Dec 2000 19:15:23 -0600
  275. +
  276. +hesiod (3.0.2-5) unstable; urgency=low
  277. +
  278. + * Removed debian/shlibs.local again, using LD_LIBRARY_PATH to let
  279. + dpkg-shlibdeps detect dependencies (per conversation with Ben Collins)
  280. + * Switched to using DH_COMPAT=2 during build.
  281. + * Use dh_makeshlibs for auto-generation of shlibs file
  282. +
  283. + -- Steve Langasek <vorlon@dodds.net> Tue, 19 Dec 2000 00:14:50 -0600
  284. +
  285. +hesiod (3.0.2-4) unstable; urgency=low
  286. +
  287. + * Added debian/shlibs.local to ensure proper dependencies; fixes warning
  288. + from dpkg-shlibdeps
  289. +
  290. + -- Steve Langasek <vorlon@dodds.net> Tue, 19 Dec 2000 00:14:50 -0600
  291. +
  292. +hesiod (3.0.2-3) unstable; urgency=low
  293. +
  294. + * Fixed sharedlib to properly link as PIC code.
  295. + * Moved .so symlink to the dev package. Now builds lintian-clean.
  296. +
  297. + -- Steve Langasek <vorlon@dodds.net> Wed, 29 Nov 2000 12:48:24 -0600
  298. +
  299. +hesiod (3.0.2-2) unstable; urgency=low
  300. +
  301. + * Fixed to include a proper libhesiod package (addition of soname,
  302. + ldconfig called on install, .shlibs file created)
  303. +
  304. + -- Steve Langasek <vorlon@dodds.net> Mon, 06 Nov 2000 00:55:13 -0600
  305. +
  306. +hesiod (3.0.2-1) unstable; urgency=low
  307. +
  308. + * Initial release.
  309. +
  310. + -- Steve Langasek <vorlon@dodds.net> Tue, 31 Oct 2000 23:27:22 -0600
  311. +
  312. +Local variables:
  313. +mode: debian-changelog
  314. +End:
  315. --- hesiod-3.0.2.orig/debian/libhesiod0.postinst
  316. +++ hesiod-3.0.2/debian/libhesiod0.postinst
  317. @@ -0,0 +1,41 @@
  318. +#!/bin/sh -e
  319. +
  320. +# Source debconf library.
  321. +. /usr/share/debconf/confmodule
  322. +
  323. +db_version 2.0
  324. +db_get hesiod/rhs
  325. +rhs="$RET"
  326. +db_get hesiod/lhs
  327. +lhs="$RET"
  328. +db_get hesiod/classes
  329. +classes="$RET"
  330. +
  331. +hesconf=/etc/hesiod.conf
  332. +
  333. +# If we don't have a hesiod.conf file yet, go ahead and populate it.
  334. +if [ ! -f $hesconf ]; then
  335. + echo "# This file determines the behavior of the Hesiod library." > $hesconf
  336. + echo >> $hesconf
  337. + echo "# This line should pretty much always be the same, unless you have a" >> $hesconf
  338. + echo "# funny environment." >> $hesconf
  339. + echo "lhs=$lhs" >> $hesconf
  340. + echo >> $hesconf
  341. + echo "# This determines the Hesiod domain. You must specify an rhs line." >> $hesconf
  342. + echo "rhs=$rhs" >> $hesconf
  343. + echo >> $hesconf
  344. + echo "# This line specifies the class search order. You can reverse the" >> $hesconf
  345. + echo "# order or leave out IN or HS if you want. Don't add spaces after the" >> $hesconf
  346. + echo "# beginning of the value." >> $hesconf
  347. + echo "classes=$classes" >> $hesconf
  348. +else
  349. + sed -e "s/^lhs=.*/lhs=$lhs/" \
  350. + -e "s/^rhs=.*/rhs=$rhs/" \
  351. + -e "s/^classes=.*/classes=$classes/" \
  352. + < $hesconf > $hesconf.new
  353. + mv -f $hesconf.new $hesconf
  354. +fi
  355. +
  356. +#DEBHELPER#
  357. +
  358. +exit 0
  359. --- hesiod-3.0.2.orig/debian/libhesiod0.postrm
  360. +++ hesiod-3.0.2/debian/libhesiod0.postrm
  361. @@ -0,0 +1,7 @@
  362. +#!/bin/sh -e
  363. +
  364. +if [ "$1" = "purge" ]; then
  365. + rm -f /etc/hesiod.conf
  366. +fi
  367. +
  368. +#DEBHELPER#
  369. --- hesiod-3.0.2.orig/debian/watch
  370. +++ hesiod-3.0.2/debian/watch
  371. @@ -0,0 +1,5 @@
  372. +# Example watch control file for uscan
  373. +# Rename this file to "watch" and then you can run the "uscan" command
  374. +# to check for upstream updates and more.
  375. +# Site Directory Pattern Version Script
  376. +athena-dist.mit.edu /pub/ATHENA/hesiod hesiod-*.tar.gz uupdate
  377. --- hesiod-3.0.2.orig/debian/control
  378. +++ hesiod-3.0.2/debian/control
  379. @@ -0,0 +1,38 @@
  380. +Source: hesiod
  381. +Section: libs
  382. +Priority: extra
  383. +Maintainer: Steve Langasek <vorlon@debian.org>
  384. +Standards-Version: 3.2.1
  385. +Build-Depends: debhelper (>= 4.1.13)
  386. +
  387. +Package: hesiod
  388. +Architecture: any
  389. +Section: utils
  390. +Depends: ${shlibs:Depends}
  391. +Description: Utilities for Project Athena's service name resolution protocol
  392. + Hesiod is a name service library that can provide general name service
  393. + for a variety of applications. It is derived from BIND, the Berkeley
  394. + Internet Name Daemon, and leverages the existing DNS infrastructure of a
  395. + network. It is used on a number of university networks, including MIT
  396. + and Iowa State University.
  397. + .
  398. + If you will not be using this system on a network that already uses
  399. + Hesiod, you probably do not need this package.
  400. +
  401. +Package: libhesiod0
  402. +Architecture: any
  403. +Section: libs
  404. +Depends: ${shlibs:Depends}, debconf
  405. +Description: Libraries for hesiod, a service name resolution protocol
  406. + This package contains the shared library for hesiod,
  407. + the Project Athena service name resolution protocol used at MIT and
  408. + elsewhere.
  409. +
  410. +Package: libhesiod-dev
  411. +Architecture: any
  412. +Section: devel
  413. +Depends: libhesiod0
  414. +Description: Dev libraries for hesiod, a service name resolution protocol
  415. + This package contains the include files and static library for hesiod,
  416. + the Project Athena service name resolution protocol used at MIT and
  417. + elsewhere.
  418. --- hesiod-3.0.2.orig/debian/libhesiod0.config
  419. +++ hesiod-3.0.2/debian/libhesiod0.config
  420. @@ -0,0 +1,26 @@
  421. +#!/bin/sh -e
  422. +
  423. +# Source debconf library.
  424. +. /usr/share/debconf/confmodule
  425. +if [ -f /etc/hesiod.conf ]; then
  426. + . /etc/hesiod.conf || true
  427. + if [ "$lhs" ]; then
  428. + db_set hesiod/lhs $lhs
  429. + fi
  430. + if [ "$rhs" ]; then
  431. + db_set hesiod/rhs $rhs
  432. + fi
  433. + if [ "$classes" ]; then
  434. + db_set hesiod/classes $classes
  435. + fi
  436. +elif [ -f /etc/resolv.conf ]; then
  437. + rhs=`sed -n -e's/^[[:space:]]*search[[:space:]]\+\([^[:space:]]\+\)\([[:space:]]\+.*$\)*/\1/p' \
  438. + < /etc/resolv.conf | head -n 1`
  439. + if [ "$rhs" ]; then
  440. + db_set hesiod/rhs ".$rhs"
  441. + fi
  442. +fi
  443. +db_input medium hesiod/rhs || true
  444. +db_input low hesiod/lhs || true
  445. +db_input low hesiod/classes || true
  446. +db_go || true
  447. --- hesiod-3.0.2.orig/debian/copyright
  448. +++ hesiod-3.0.2/debian/copyright
  449. @@ -0,0 +1,26 @@
  450. +This package was debianized by Steve Langasek vorlon@debian.org on
  451. +Tue, 31 Oct 2000 23:27:22 -0600.
  452. +
  453. +It was downloaded from ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
  454. +
  455. +Copyright:
  456. +
  457. +Copyright (C) 1996 by Internet Software Consortium.
  458. +
  459. +Permission to use, copy, modify, and distribute this software for any
  460. +purpose with or without fee is hereby granted, provided that the above
  461. +copyright notice and this permission notice appear in all copies.
  462. +
  463. +Copyright 1996 by the Massachusetts Institute of Technology.
  464. +
  465. +Permission to use, copy, modify, and distribute this
  466. +software and its documentation for any purpose and without
  467. +fee is hereby granted, provided that the above copyright
  468. +notice appear in all copies and that both that copyright
  469. +notice and this permission notice appear in supporting
  470. +documentation, and that the name of M.I.T. not be used in
  471. +advertising or publicity pertaining to distribution of the
  472. +software without specific, written prior permission.
  473. +M.I.T. makes no representations about the suitability of
  474. +this software for any purpose. It is provided "as is"
  475. +without express or implied warranty.
  476. --- hesiod-3.0.2.orig/debian/po/pt_BR.po
  477. +++ hesiod-3.0.2/debian/po/pt_BR.po
  478. @@ -0,0 +1,89 @@
  479. +#
  480. +# Translators, if you are not familiar with the PO format, gettext
  481. +# documentation is worth reading, especially sections dedicated to
  482. +# this format, e.g. by running:
  483. +# info -n '(gettext)PO Files'
  484. +# info -n '(gettext)Header Entry'
  485. +#
  486. +# Some information specific to po-debconf are available at
  487. +# /usr/share/doc/po-debconf/README-trans
  488. +# or http://www.debian.org/intl/l10n/po-debconf/README-trans
  489. +#
  490. +# Developers do not need to manually edit POT or PO files.
  491. +#
  492. +msgid ""
  493. +msgstr ""
  494. +"Project-Id-Version: hesiod_3.0.2-14\n"
  495. +"Report-Msgid-Bugs-To: \n"
  496. +"POT-Creation-Date: 2003-09-07 11:22-0500\n"
  497. +"PO-Revision-Date: 2003-08-24 21:13-0300\n"
  498. +"Last-Translator: Andr� Lu�s Lopes <andrelop@debian.org>\n"
  499. +"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
  500. +"MIME-Version: 1.0\n"
  501. +"Content-Type: text/plain; charset=ISO-8859-1\n"
  502. +"Content-Transfer-Encoding: 8bit\n"
  503. +
  504. +#. Description
  505. +#: ../libhesiod0.templates:4
  506. +msgid "Hesiod domain for searches"
  507. +msgstr "Dom�nio hesiod para buscas"
  508. +
  509. +#. Description
  510. +#: ../libhesiod0.templates:4
  511. +msgid ""
  512. +"Hesiod looks up keys using the standard Domain Name System. Enter the right-"
  513. +"hand side of the domain name to do searches in. This name should begin with "
  514. +"a \".\"."
  515. +msgstr ""
  516. +"O hesiod procura chaves usando o Sistema de Nomes de Dom�nios (DNS) padr�o. "
  517. +"Informe a por��o a direita do nome do dom�nio no qual fazer buscas. Esse "
  518. +"nome dever� iniciar com um \".\"."
  519. +
  520. +#. Description
  521. +#: ../libhesiod0.templates:12
  522. +msgid "Hesiod prefix for searches"
  523. +msgstr "Prefixo hesiod para buscas"
  524. +
  525. +#. Description
  526. +#: ../libhesiod0.templates:12
  527. +msgid ""
  528. +"Hesiod lookups generally happen in a subdomain of the main domain. Enter the "
  529. +"name of the subdomain here. This name should begin with a \".\". At most "
  530. +"sites, this entry should be \".ns\"."
  531. +msgstr ""
  532. +"As buscas do hesiod geralmente acontecem em um subdom�nio do dom�nio "
  533. +"principal. Informe o nome do subdom�nio aqui. Esse nome dever� iniciar com "
  534. +"um \".\". Na maioria dos sites, essa entrada dever� ser \".ns\"."
  535. +
  536. +#. Description
  537. +#: ../libhesiod0.templates:20
  538. +msgid "DNS class search order"
  539. +msgstr "Ordem de busca de classe DNS"
  540. +
  541. +#. Description
  542. +#: ../libhesiod0.templates:20
  543. +msgid ""
  544. +"Hesiod looks up names using DNS TXT records. In addition to using the "
  545. +"standard IN DNS class for Internet names, it also uses by default the "
  546. +"special HS class. You can change the class search order here, or leave out "
  547. +"IN or HS if you want to. Don't insert extra spaces in the value. The "
  548. +"default search path is \"IN,HS\" to search both classes. At some sites where "
  549. +"older hesiod installations are still in use, you may need to specify \"HS,IN"
  550. +"\" instead."
  551. +msgstr ""
  552. +"O hesiod busca nomes usando registros TXT do DNS. Al�m de usar a classe DNS "
  553. +"IN padr�o para nomes Internet, o hesiod tamb�m usa por padr�o a classe "
  554. +"especial HS. Voc� pode mudar a ordem de busca de classes aqui ou manter IN "
  555. +"ou HS caso voc� deseje. N�o insira espa�os extras no valor informado. O "
  556. +"caminho de busca padr�o � \"IN,HS\" para buscas em ambas as classes. Em "
  557. +"alguns sites onde instala��es mais antigas do hesiod ainda est�o em uso voc� "
  558. +"pode precisar especificar \"HS,IN\" ao inv�s da ordem de busca padr�o."
  559. +
  560. +#~ msgid ".athena.mit.edu"
  561. +#~ msgstr ".athena.mit.edu"
  562. +
  563. +#~ msgid ".ns"
  564. +#~ msgstr ".ns"
  565. +
  566. +#~ msgid "IN,HS"
  567. +#~ msgstr "IN,HS"
  568. --- hesiod-3.0.2.orig/debian/po/fr.po
  569. +++ hesiod-3.0.2/debian/po/fr.po
  570. @@ -0,0 +1,90 @@
  571. +#
  572. +# Translators, if you are not familiar with the PO format, gettext
  573. +# documentation is worth reading, especially sections dedicated to
  574. +# this format, e.g. by running:
  575. +# info -n '(gettext)PO Files'
  576. +# info -n '(gettext)Header Entry'
  577. +#
  578. +# Some information specific to po-debconf are available at
  579. +# /usr/share/doc/po-debconf/README-trans
  580. +# or http://www.debian.org/intl/l10n/po-debconf/README-trans
  581. +#
  582. +# Developers do not need to manually edit POT or PO files.
  583. +#
  584. +msgid ""
  585. +msgstr ""
  586. +"Project-Id-Version: hesiod 3.0.2-14\n"
  587. +"Report-Msgid-Bugs-To: \n"
  588. +"POT-Creation-Date: 2003-09-07 11:22-0500\n"
  589. +"PO-Revision-Date: 2003-08-01 09:29+0100\n"
  590. +"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
  591. +"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
  592. +"MIME-Version: 1.0\n"
  593. +"Content-Type: text/plain; charset=iso-8859-15\n"
  594. +"Content-Transfer-Encoding: 8bit\n"
  595. +
  596. +#. Description
  597. +#: ../libhesiod0.templates:4
  598. +msgid "Hesiod domain for searches"
  599. +msgstr "Domaine pour les recherches de Hesiod"
  600. +
  601. +#. Description
  602. +#: ../libhesiod0.templates:4
  603. +msgid ""
  604. +"Hesiod looks up keys using the standard Domain Name System. Enter the right-"
  605. +"hand side of the domain name to do searches in. This name should begin with "
  606. +"a \".\"."
  607. +msgstr ""
  608. +"Hesiod effectue ses recherches avec le service de noms de domaine (DNS) "
  609. +"standard. Veuillez indiquer la partie finale du domaine sur lequel "
  610. +"s'effectueront les recherches. Ce nom doit commencer par un point."
  611. +
  612. +#. Description
  613. +#: ../libhesiod0.templates:12
  614. +msgid "Hesiod prefix for searches"
  615. +msgstr "Pr�fixe pour les recherches de Hesiod"
  616. +
  617. +#. Description
  618. +#: ../libhesiod0.templates:12
  619. +msgid ""
  620. +"Hesiod lookups generally happen in a subdomain of the main domain. Enter the "
  621. +"name of the subdomain here. This name should begin with a \".\". At most "
  622. +"sites, this entry should be \".ns\"."
  623. +msgstr ""
  624. +"Hesiod effectue g�n�ralement ses recherches dans un sous-domaine du domaine "
  625. +"principal. Veuillez indiquer le sous-domaine ici. Ce nom doit commencer par "
  626. +"un point. La valeur usuelle est ��.ns��."
  627. +
  628. +#. Description
  629. +#: ../libhesiod0.templates:20
  630. +msgid "DNS class search order"
  631. +msgstr "Ordre de recherche dans les classes DNS"
  632. +
  633. +#. Description
  634. +#: ../libhesiod0.templates:20
  635. +msgid ""
  636. +"Hesiod looks up names using DNS TXT records. In addition to using the "
  637. +"standard IN DNS class for Internet names, it also uses by default the "
  638. +"special HS class. You can change the class search order here, or leave out "
  639. +"IN or HS if you want to. Don't insert extra spaces in the value. The "
  640. +"default search path is \"IN,HS\" to search both classes. At some sites where "
  641. +"older hesiod installations are still in use, you may need to specify \"HS,IN"
  642. +"\" instead."
  643. +msgstr ""
  644. +"Hesiod effectue ses recherches en utilisant les enregistrements TXT du "
  645. +"service de noms de domaine (DNS). En plus d'utiliser la classe standard IN "
  646. +"du DNS pour rechercher les noms Internet, il utilise �galement par d�faut la "
  647. +"classe sp�ciale HS. Vous pouvez modifier l'ordre de recherche dans les "
  648. +"classes ici. N'ajoutez pas d'espace dans vos choix. Le chemin de recherche "
  649. +"par d�faut est ��IN,HS��, ce qui correspond � des recherches dans les deux "
  650. +"classes. Sur certains sites o� des installations anciennes de Hesiod sont "
  651. +"encore utilis�es, il pourrait �tre n�cessaire d'indiquer plut�t ��HS,IN��."
  652. +
  653. +#~ msgid ".athena.mit.edu"
  654. +#~ msgstr ".renux.freenix.fr"
  655. +
  656. +#~ msgid ".ns"
  657. +#~ msgstr ".ns"
  658. +
  659. +#~ msgid "IN,HS"
  660. +#~ msgstr "IN,HS"
  661. --- hesiod-3.0.2.orig/debian/po/POTFILES.in
  662. +++ hesiod-3.0.2/debian/po/POTFILES.in
  663. @@ -0,0 +1 @@
  664. +[type: gettext/rfc822deb] libhesiod0.templates
  665. --- hesiod-3.0.2.orig/debian/po/de.po
  666. +++ hesiod-3.0.2/debian/po/de.po
  667. @@ -0,0 +1,81 @@
  668. +#
  669. +# Translators, if you are not familiar with the PO format, gettext
  670. +# documentation is worth reading, especially sections dedicated to
  671. +# this format, e.g. by running:
  672. +# info -n '(gettext)PO Files'
  673. +# info -n '(gettext)Header Entry'
  674. +#
  675. +# Some information specific to po-debconf are available at
  676. +# /usr/share/doc/po-debconf/README-trans
  677. +# or http://www.debian.org/intl/l10n/po-debconf/README-trans
  678. +#
  679. +# Developers do not need to manually edit POT or PO files.
  680. +#
  681. +#, fuzzy
  682. +msgid ""
  683. +msgstr ""
  684. +"Project-Id-Version: hesiod for debian 3.0.2\n"
  685. +"Report-Msgid-Bugs-To: \n"
  686. +"POT-Creation-Date: 2003-09-07 11:22-0500\n"
  687. +"PO-Revision-Date: 2003-07-26 16:44-0500\n"
  688. +"Last-Translator: unknown <EMAIL@ADDRESS>\n"
  689. +"Language-Team: LANGUAGE <LL@li.org>\n"
  690. +"MIME-Version: 1.0\n"
  691. +"Content-Type: text/plain; charset=UTF-8\n"
  692. +"Content-Transfer-Encoding: 8bit\n"
  693. +
  694. +#. Description
  695. +#: ../libhesiod0.templates:4
  696. +msgid "Hesiod domain for searches"
  697. +msgstr "Hesiod Domain, in der gesucht werden soll"
  698. +
  699. +#. Description
  700. +#: ../libhesiod0.templates:4
  701. +msgid ""
  702. +"Hesiod looks up keys using the standard Domain Name System. Enter the right-"
  703. +"hand side of the domain name to do searches in. This name should begin with "
  704. +"a \".\"."
  705. +msgstr ""
  706. +"Hesiod sucht Schlüssel mit Hilfe des normalen Domain Name Systems. Geben "
  707. +"Sie hier die rechte Seite des Domainnamens ein, in dem gesucht werden soll. "
  708. +"Dieser Name sollte mit einem Punkt (\".\") beginnen."
  709. +
  710. +#. Description
  711. +#: ../libhesiod0.templates:12
  712. +msgid "Hesiod prefix for searches"
  713. +msgstr "Hesiod-Präfix für Recherchen"
  714. +
  715. +#. Description
  716. +#: ../libhesiod0.templates:12
  717. +msgid ""
  718. +"Hesiod lookups generally happen in a subdomain of the main domain. Enter the "
  719. +"name of the subdomain here. This name should begin with a \".\". At most "
  720. +"sites, this entry should be \".ns\"."
  721. +msgstr ""
  722. +"Hesiod-Recherchen finden generell in einer Subdomäne der Hauptdomäne statt. "
  723. +"Geben Sie den Namen der Subdomäne ein. Der Name sollte mit einem ».« "
  724. +"beginnen. Auf den meisten Sites sollte dieser Eintrag ».ns« lauten."
  725. +
  726. +#. Description
  727. +#: ../libhesiod0.templates:20
  728. +msgid "DNS class search order"
  729. +msgstr "Such-Reihenfolge der DNS-Klassen"
  730. +
  731. +#. Description
  732. +#: ../libhesiod0.templates:20
  733. +msgid ""
  734. +"Hesiod looks up names using DNS TXT records. In addition to using the "
  735. +"standard IN DNS class for Internet names, it also uses by default the "
  736. +"special HS class. You can change the class search order here, or leave out "
  737. +"IN or HS if you want to. Don't insert extra spaces in the value. The "
  738. +"default search path is \"IN,HS\" to search both classes. At some sites where "
  739. +"older hesiod installations are still in use, you may need to specify \"HS,IN"
  740. +"\" instead."
  741. +msgstr ""
  742. +"Hesiod löst die Namen anhand von DNS-TXT-Einträgen auf. Zusätzlich zu der "
  743. +"Standard-IN-DNS-Klasse für Internet-Namen kann auch der Gebrauch der "
  744. +"speziellen HS-Klasse voreingestellt werden. Sie können Sie Klassen-Such-"
  745. +"Reihenfolge hier verändern oder auch IN bzw. HS herrausnehmen. Bitte fügen "
  746. +"Sie keine Leerzeichen ein. Der Standard-Suchpfad ist »IN,HS« für die Suche "
  747. +"in beiden Klassen. Auf einigen Sites mit älteren Hesiod-Installationen "
  748. +"brauchen Sie vielleicht stattdessen »HS,IN«."
  749. --- hesiod-3.0.2.orig/debian/po/templates.pot
  750. +++ hesiod-3.0.2/debian/po/templates.pot
  751. @@ -0,0 +1,68 @@
  752. +#
  753. +# Translators, if you are not familiar with the PO format, gettext
  754. +# documentation is worth reading, especially sections dedicated to
  755. +# this format, e.g. by running:
  756. +# info -n '(gettext)PO Files'
  757. +# info -n '(gettext)Header Entry'
  758. +#
  759. +# Some information specific to po-debconf are available at
  760. +# /usr/share/doc/po-debconf/README-trans
  761. +# or http://www.debian.org/intl/l10n/po-debconf/README-trans
  762. +#
  763. +# Developers do not need to manually edit POT or PO files.
  764. +#
  765. +#, fuzzy
  766. +msgid ""
  767. +msgstr ""
  768. +"Project-Id-Version: PACKAGE VERSION\n"
  769. +"Report-Msgid-Bugs-To: \n"
  770. +"POT-Creation-Date: 2003-09-07 11:22-0500\n"
  771. +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  772. +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  773. +"Language-Team: LANGUAGE <LL@li.org>\n"
  774. +"MIME-Version: 1.0\n"
  775. +"Content-Type: text/plain; charset=CHARSET\n"
  776. +"Content-Transfer-Encoding: 8bit\n"
  777. +
  778. +#. Description
  779. +#: ../libhesiod0.templates:4
  780. +msgid "Hesiod domain for searches"
  781. +msgstr ""
  782. +
  783. +#. Description
  784. +#: ../libhesiod0.templates:4
  785. +msgid ""
  786. +"Hesiod looks up keys using the standard Domain Name System. Enter the right-"
  787. +"hand side of the domain name to do searches in. This name should begin with "
  788. +"a \".\"."
  789. +msgstr ""
  790. +
  791. +#. Description
  792. +#: ../libhesiod0.templates:12
  793. +msgid "Hesiod prefix for searches"
  794. +msgstr ""
  795. +
  796. +#. Description
  797. +#: ../libhesiod0.templates:12
  798. +msgid ""
  799. +"Hesiod lookups generally happen in a subdomain of the main domain. Enter the "
  800. +"name of the subdomain here. This name should begin with a \".\". At most "
  801. +"sites, this entry should be \".ns\"."
  802. +msgstr ""
  803. +
  804. +#. Description
  805. +#: ../libhesiod0.templates:20
  806. +msgid "DNS class search order"
  807. +msgstr ""
  808. +
  809. +#. Description
  810. +#: ../libhesiod0.templates:20
  811. +msgid ""
  812. +"Hesiod looks up names using DNS TXT records. In addition to using the "
  813. +"standard IN DNS class for Internet names, it also uses by default the "
  814. +"special HS class. You can change the class search order here, or leave out "
  815. +"IN or HS if you want to. Don't insert extra spaces in the value. The "
  816. +"default search path is \"IN,HS\" to search both classes. At some sites where "
  817. +"older hesiod installations are still in use, you may need to specify \"HS,IN"
  818. +"\" instead."
  819. +msgstr ""
  820. --- hesiod-3.0.2.orig/debian/rules
  821. +++ hesiod-3.0.2/debian/rules
  822. @@ -0,0 +1,81 @@
  823. +#!/usr/bin/make -f
  824. +# Made with the aid of debmake, by Christoph Lameter,
  825. +# based on the sample debian/rules file for GNU hello by Ian Jackson.
  826. +
  827. +#export DH_VERBOSE=1
  828. +DH_COMPAT=3
  829. +
  830. +export DH_COMPAT
  831. +
  832. +CFLAGS = -O2 -Wall
  833. +INSTALL = install
  834. +
  835. +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
  836. + CFLAGS += -g
  837. +endif
  838. +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
  839. + INSTALL += -s
  840. +endif
  841. +
  842. +package=hesiod
  843. +
  844. +version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
  845. +version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
  846. +
  847. +build: build-stamp
  848. +build-stamp:
  849. + dh_testdir
  850. + CPPFLAGS=-D_REENTRANT ./configure --prefix=/usr --sysconfdir=/etc
  851. +
  852. + $(MAKE) CFLAGS=${CFLAGS}
  853. + touch build-stamp
  854. +
  855. +clean:
  856. + dh_testdir
  857. + dh_testroot
  858. + -rm -f build-stamp
  859. + -$(MAKE) distclean
  860. + dh_clean
  861. +
  862. +binary-indep:
  863. + @echo Nothing to do
  864. +
  865. +binary-arch: build install
  866. + dh_testdir -a
  867. + dh_testroot -a
  868. + dh_installdocs -plibhesiod0
  869. + dh_installdebconf -a
  870. + dh_undocumented
  871. + dh_installexamples -plibhesiod0
  872. + dh_installchangelogs -plibhesiod0
  873. + dh_strip -a
  874. + dh_link -a
  875. + dh_compress -a
  876. + dh_fixperms -a
  877. + dh_makeshlibs -a
  878. + dh_shlibdeps -a -l./debian/libhesiod0/usr/lib
  879. + dh_installdeb -a
  880. + dh_gencontrol -a
  881. + dh_md5sums -a
  882. + dh_builddeb -a
  883. +
  884. +install: build
  885. + dh_testdir
  886. + dh_testroot
  887. + dh_clean -k
  888. + dh_installdirs
  889. +
  890. + $(MAKE) prefix=`pwd`/debian/hesiod/usr sysconfdir=`pwd`/debian/tmp/etc \
  891. + mandir=`pwd`/debian/hesiod/usr/share/man install
  892. + install -m 644 hesiod.conf.sample debian/hesiod/etc/hesiod.conf
  893. + dh_movefiles --sourcedir=debian/hesiod
  894. + rm -rf debian/hesiod/usr/include debian/hesiod/usr/lib \
  895. + debian/hesiod/usr/share/man/man3 debian/hesiod/etc \
  896. + debian/hesiod/usr/share/man/man5
  897. +
  898. +#get-orig-source:
  899. +# wget ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-3.0.2.tar.gz
  900. +
  901. +binary: binary-indep binary-arch
  902. +
  903. +.PHONY: build binary binary-arch binary-indep clean install
  904. --- hesiod-3.0.2.orig/hesiod_getpwnam.3
  905. +++ hesiod-3.0.2/hesiod_getpwnam.3
  906. @@ -25,7 +25,7 @@
  907. .B struct passwd *hesiod_getpwuid(void *\fIcontext\fP, uid_t \fIuid\fP)
  908. .B void hesiod_free_passwd(void *\fIcontext\fP, struct passwd *\fIpw\fP)
  909. .PP
  910. -.B cc file.c -lhesiod
  911. +.B cc file.c \-lhesiod
  912. .fi
  913. .SH DESCRIPTION
  914. This family of functions allows you to retrieve passwd database
  915. --- hesiod-3.0.2.orig/configure.in
  916. +++ hesiod-3.0.2/configure.in
  917. @@ -1,21 +1,35 @@
  918. dnl Process this file with autoconf to produce a configure script.
  919. -AC_INIT(hesiod.c)
  920. +AC_INIT([hesiod], [3.0.2])
  921. +AC_PREREQ(2.53)
  922. +AC_CONFIG_SRCDIR([hesiod.c])
  923. test -z "$lbindir" && lbindir='${bindir}'
  924. -AC_SUBST(lbindir)
  925. +AC_SUBST([lbindir])
  926. AC_PROG_CC
  927. AC_PROG_INSTALL
  928. AC_PROG_RANLIB
  929. -AC_EGREP_HEADER(pw_quota, pwd.h, AC_DEFINE(HAVE_PW_QUOTA))
  930. -AC_EGREP_HEADER(pw_comment, pwd.h, AC_DEFINE(HAVE_PW_COMMENT))
  931. -AC_EGREP_HEADER(pw_class, pwd.h, AC_DEFINE(HAVE_PW_CLASS))
  932. -AC_EGREP_HEADER(pw_change, pwd.h, AC_DEFINE(HAVE_PW_CHANGE))
  933. -AC_EGREP_HEADER(pw_expire, pwd.h, AC_DEFINE(HAVE_PW_EXPIRE))
  934. +AC_EGREP_HEADER([pw_quota], [pwd.h], [AC_DEFINE(HAVE_PW_QUOTA)])
  935. +AC_EGREP_HEADER([pw_comment], [pwd.h], [AC_DEFINE(HAVE_PW_COMMENT)])
  936. +AC_EGREP_HEADER([pw_class], [pwd.h], [AC_DEFINE(HAVE_PW_CLASS)])
  937. +AC_EGREP_HEADER([pw_change], [pwd.h], [AC_DEFINE(HAVE_PW_CHANGE)])
  938. +AC_EGREP_HEADER([pw_expire], [pwd.h], [AC_DEFINE(HAVE_PW_EXPIRE)])
  939. -AC_CHECK_FUNC(res_mkquery, :, [AC_CHECK_LIB(resolv, res_mkquery)])
  940. -AC_CHECK_FUNCS(strerror_r)
  941. +AC_CHECK_FUNC([res_ninit], [:],
  942. + [AC_MSG_CHECKING([for standalone resolver library existence])
  943. + old_LIBS="$LIBS"
  944. + LIBS="$LIBS -lresolv"
  945. + AC_LINK_IFELSE([AC_LANG_PROGRAM(
  946. + [[#include <resolv.h>]],
  947. + [[res_ninit((void *)0);]])],
  948. + [AC_MSG_RESULT([found])],
  949. + [LIBS="$old_LIBS"
  950. + AC_MSG_FAILURE([not found])])])
  951. +
  952. +AC_CHECK_FUNCS([strerror_r])
  953. +
  954. +AC_CONFIG_HEADER([config.h])
  955. +AC_CONFIG_FILES([Makefile])
  956. +AC_OUTPUT
  957. -AC_CONFIG_HEADER(config.h)
  958. -AC_OUTPUT(Makefile)
  959. --- hesiod-3.0.2.orig/hesiod.3
  960. +++ hesiod-3.0.2/hesiod.3
  961. @@ -29,7 +29,7 @@
  962. .B const char *\fItype\fP)
  963. .B void hesiod_end(void *\fIcontext\fP)
  964. .PP
  965. -.B cc file.c -lhesiod
  966. +.B cc file.c \-lhesiod
  967. .fi
  968. .SH DESCRIPTION
  969. This family of functions allows you to perform lookups of Hesiod
  970. --- hesiod-3.0.2.orig/configure
  971. +++ hesiod-3.0.2/configure
  972. @@ -1,26 +1,288 @@
  973. #! /bin/sh
  974. -
  975. # Guess values for system-dependent variables and create Makefiles.
  976. -# Generated automatically using autoconf version 2.10
  977. -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  978. +# Generated by GNU Autoconf 2.59 for hesiod 3.0.2.
  979. #
  980. +# Copyright (C) 2003 Free Software Foundation, Inc.
  981. # This configure script is free software; the Free Software Foundation
  982. # gives unlimited permission to copy, distribute and modify it.
  983. +## --------------------- ##
  984. +## M4sh Initialization. ##
  985. +## --------------------- ##
  986. +
  987. +# Be Bourne compatible
  988. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  989. + emulate sh
  990. + NULLCMD=:
  991. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  992. + # is contrary to our usage. Disable this feature.
  993. + alias -g '${1+"$@"}'='"$@"'
  994. +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  995. + set -o posix
  996. +fi
  997. +DUALCASE=1; export DUALCASE # for MKS sh
  998. +
  999. +# Support unset when possible.
  1000. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1001. + as_unset=unset
  1002. +else
  1003. + as_unset=false
  1004. +fi
  1005. +
  1006. +
  1007. +# Work around bugs in pre-3.0 UWIN ksh.
  1008. +$as_unset ENV MAIL MAILPATH
  1009. +PS1='$ '
  1010. +PS2='> '
  1011. +PS4='+ '
  1012. +
  1013. +# NLS nuisances.
  1014. +for as_var in \
  1015. + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  1016. + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  1017. + LC_TELEPHONE LC_TIME
  1018. +do
  1019. + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1020. + eval $as_var=C; export $as_var
  1021. + else
  1022. + $as_unset $as_var
  1023. + fi
  1024. +done
  1025. +
  1026. +# Required to use basename.
  1027. +if expr a : '\(a\)' >/dev/null 2>&1; then
  1028. + as_expr=expr
  1029. +else
  1030. + as_expr=false
  1031. +fi
  1032. +
  1033. +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  1034. + as_basename=basename
  1035. +else
  1036. + as_basename=false
  1037. +fi
  1038. +
  1039. +
  1040. +# Name of the executable.
  1041. +as_me=`$as_basename "$0" ||
  1042. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1043. + X"$0" : 'X\(//\)$' \| \
  1044. + X"$0" : 'X\(/\)$' \| \
  1045. + . : '\(.\)' 2>/dev/null ||
  1046. +echo X/"$0" |
  1047. + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  1048. + /^X\/\(\/\/\)$/{ s//\1/; q; }
  1049. + /^X\/\(\/\).*/{ s//\1/; q; }
  1050. + s/.*/./; q'`
  1051. +
  1052. +
  1053. +# PATH needs CR, and LINENO needs CR and PATH.
  1054. +# Avoid depending upon Character Ranges.
  1055. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1056. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1057. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1058. +as_cr_digits='0123456789'
  1059. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  1060. +
  1061. +# The user is always right.
  1062. +if test "${PATH_SEPARATOR+set}" != set; then
  1063. + echo "#! /bin/sh" >conf$$.sh
  1064. + echo "exit 0" >>conf$$.sh
  1065. + chmod +x conf$$.sh
  1066. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  1067. + PATH_SEPARATOR=';'
  1068. + else
  1069. + PATH_SEPARATOR=:
  1070. + fi
  1071. + rm -f conf$$.sh
  1072. +fi
  1073. +
  1074. +
  1075. + as_lineno_1=$LINENO
  1076. + as_lineno_2=$LINENO
  1077. + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1078. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  1079. + test "x$as_lineno_3" = "x$as_lineno_2" || {
  1080. + # Find who we are. Look in the path if we contain no path at all
  1081. + # relative or not.
  1082. + case $0 in
  1083. + *[\\/]* ) as_myself=$0 ;;
  1084. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1085. +for as_dir in $PATH
  1086. +do
  1087. + IFS=$as_save_IFS
  1088. + test -z "$as_dir" && as_dir=.
  1089. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1090. +done
  1091. +
  1092. + ;;
  1093. + esac
  1094. + # We did not find ourselves, most probably we were run as `sh COMMAND'
  1095. + # in which case we are not to be found in the path.
  1096. + if test "x$as_myself" = x; then
  1097. + as_myself=$0
  1098. + fi
  1099. + if test ! -f "$as_myself"; then
  1100. + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  1101. + { (exit 1); exit 1; }; }
  1102. + fi
  1103. + case $CONFIG_SHELL in
  1104. + '')
  1105. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1106. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1107. +do
  1108. + IFS=$as_save_IFS
  1109. + test -z "$as_dir" && as_dir=.
  1110. + for as_base in sh bash ksh sh5; do
  1111. + case $as_dir in
  1112. + /*)
  1113. + if ("$as_dir/$as_base" -c '
  1114. + as_lineno_1=$LINENO
  1115. + as_lineno_2=$LINENO
  1116. + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1117. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  1118. + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  1119. + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  1120. + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  1121. + CONFIG_SHELL=$as_dir/$as_base
  1122. + export CONFIG_SHELL
  1123. + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  1124. + fi;;
  1125. + esac
  1126. + done
  1127. +done
  1128. +;;
  1129. + esac
  1130. +
  1131. + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1132. + # uniformly replaced by the line number. The first 'sed' inserts a
  1133. + # line-number line before each line; the second 'sed' does the real
  1134. + # work. The second script uses 'N' to pair each line-number line
  1135. + # with the numbered line, and appends trailing '-' during
  1136. + # substitution so that $LINENO is not a special case at line end.
  1137. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1138. + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  1139. + sed '=' <$as_myself |
  1140. + sed '
  1141. + N
  1142. + s,$,-,
  1143. + : loop
  1144. + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  1145. + t loop
  1146. + s,-$,,
  1147. + s,^['$as_cr_digits']*\n,,
  1148. + ' >$as_me.lineno &&
  1149. + chmod +x $as_me.lineno ||
  1150. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  1151. + { (exit 1); exit 1; }; }
  1152. +
  1153. + # Don't try to exec as it changes $[0], causing all sort of problems
  1154. + # (the dirname of $[0] is not the place where we might find the
  1155. + # original and so on. Autoconf is especially sensible to this).
  1156. + . ./$as_me.lineno
  1157. + # Exit status is that of the last command.
  1158. + exit
  1159. +}
  1160. +
  1161. +
  1162. +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  1163. + *c*,-n*) ECHO_N= ECHO_C='
  1164. +' ECHO_T=' ' ;;
  1165. + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  1166. + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  1167. +esac
  1168. +
  1169. +if expr a : '\(a\)' >/dev/null 2>&1; then
  1170. + as_expr=expr
  1171. +else
  1172. + as_expr=false
  1173. +fi
  1174. +
  1175. +rm -f conf$$ conf$$.exe conf$$.file
  1176. +echo >conf$$.file
  1177. +if ln -s conf$$.file conf$$ 2>/dev/null; then
  1178. + # We could just check for DJGPP; but this test a) works b) is more generic
  1179. + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  1180. + if test -f conf$$.exe; then
  1181. + # Don't use ln at all; we don't have any links
  1182. + as_ln_s='cp -p'
  1183. + else
  1184. + as_ln_s='ln -s'
  1185. + fi
  1186. +elif ln conf$$.file conf$$ 2>/dev/null; then
  1187. + as_ln_s=ln
  1188. +else
  1189. + as_ln_s='cp -p'
  1190. +fi
  1191. +rm -f conf$$ conf$$.exe conf$$.file
  1192. +
  1193. +if mkdir -p . 2>/dev/null; then
  1194. + as_mkdir_p=:
  1195. +else
  1196. + test -d ./-p && rmdir ./-p
  1197. + as_mkdir_p=false
  1198. +fi
  1199. +
  1200. +as_executable_p="test -f"
  1201. +
  1202. +# Sed expression to map a string onto a valid CPP name.
  1203. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1204. +
  1205. +# Sed expression to map a string onto a valid variable name.
  1206. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1207. +
  1208. -# Defaults:
  1209. -ac_help=
  1210. +# IFS
  1211. +# We need space, tab and new line, in precisely that order.
  1212. +as_nl='
  1213. +'
  1214. +IFS=" $as_nl"
  1215. +
  1216. +# CDPATH.
  1217. +$as_unset CDPATH
  1218. +
  1219. +
  1220. +# Name of the host.
  1221. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  1222. +# so uname gets run too.
  1223. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  1224. +
  1225. +exec 6>&1
  1226. +
  1227. +#
  1228. +# Initializations.
  1229. +#
  1230. ac_default_prefix=/usr/local
  1231. -# Any additions from configure.in:
  1232. +ac_config_libobj_dir=.
  1233. +cross_compiling=no
  1234. +subdirs=
  1235. +MFLAGS=
  1236. +MAKEFLAGS=
  1237. +SHELL=${CONFIG_SHELL-/bin/sh}
  1238. +
  1239. +# Maximum number of lines to put in a shell here document.
  1240. +# This variable seems obsolete. It should probably be removed, and
  1241. +# only ac_max_sed_lines should be used.
  1242. +: ${ac_max_here_lines=38}
  1243. +
  1244. +# Identity of this package.
  1245. +PACKAGE_NAME='hesiod'
  1246. +PACKAGE_TARNAME='hesiod'
  1247. +PACKAGE_VERSION='3.0.2'
  1248. +PACKAGE_STRING='hesiod 3.0.2'
  1249. +PACKAGE_BUGREPORT=''
  1250. +
  1251. +ac_unique_file="hesiod.c"
  1252. +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 lbindir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
  1253. +ac_subst_files=''
  1254. # Initialize some variables set by options.
  1255. +ac_init_help=
  1256. +ac_init_version=false
  1257. # The variables have the same names as the options, with
  1258. # dashes changed to underlines.
  1259. -build=NONE
  1260. -cache_file=./config.cache
  1261. +cache_file=/dev/null
  1262. exec_prefix=NONE
  1263. -host=NONE
  1264. no_create=
  1265. -nonopt=NONE
  1266. no_recursion=
  1267. prefix=NONE
  1268. program_prefix=NONE
  1269. @@ -29,10 +291,15 @@
  1270. silent=
  1271. site=
  1272. srcdir=
  1273. -target=NONE
  1274. verbose=
  1275. x_includes=NONE
  1276. x_libraries=NONE
  1277. +
  1278. +# Installation directory options.
  1279. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  1280. +# and all the variables that are supposed to be based on exec_prefix
  1281. +# by default will actually change.
  1282. +# Use braces instead of parens because sh, perl, etc. also accept them.
  1283. bindir='${exec_prefix}/bin'
  1284. sbindir='${exec_prefix}/sbin'
  1285. libexecdir='${exec_prefix}/libexec'
  1286. @@ -46,14 +313,9 @@
  1287. infodir='${prefix}/info'
  1288. mandir='${prefix}/man'
  1289. -# Initialize some other variables.
  1290. -subdirs=
  1291. -MFLAGS= MAKEFLAGS=
  1292. -
  1293. ac_prev=
  1294. for ac_option
  1295. do
  1296. -
  1297. # If the previous option needs an argument, assign it.
  1298. if test -n "$ac_prev"; then
  1299. eval "$ac_prev=\$ac_option"
  1300. @@ -61,59 +323,59 @@
  1301. continue
  1302. fi
  1303. - case "$ac_option" in
  1304. - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1305. - *) ac_optarg= ;;
  1306. - esac
  1307. + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  1308. # Accept the important Cygnus configure options, so we can diagnose typos.
  1309. - case "$ac_option" in
  1310. + case $ac_option in
  1311. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1312. ac_prev=bindir ;;
  1313. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1314. - bindir="$ac_optarg" ;;
  1315. + bindir=$ac_optarg ;;
  1316. -build | --build | --buil | --bui | --bu)
  1317. - ac_prev=build ;;
  1318. + ac_prev=build_alias ;;
  1319. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1320. - build="$ac_optarg" ;;
  1321. + build_alias=$ac_optarg ;;
  1322. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1323. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1324. ac_prev=cache_file ;;
  1325. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1326. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1327. - cache_file="$ac_optarg" ;;
  1328. + cache_file=$ac_optarg ;;
  1329. +
  1330. + --config-cache | -C)
  1331. + cache_file=config.cache ;;
  1332. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  1333. ac_prev=datadir ;;
  1334. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  1335. | --da=*)
  1336. - datadir="$ac_optarg" ;;
  1337. + datadir=$ac_optarg ;;
  1338. -disable-* | --disable-*)
  1339. - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  1340. + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1341. # Reject names that are not valid shell variable names.
  1342. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1343. - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1344. - fi
  1345. - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1346. - eval "enable_${ac_feature}=no" ;;
  1347. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1348. + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1349. + { (exit 1); exit 1; }; }
  1350. + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  1351. + eval "enable_$ac_feature=no" ;;
  1352. -enable-* | --enable-*)
  1353. - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1354. + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1355. # Reject names that are not valid shell variable names.
  1356. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1357. - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1358. - fi
  1359. - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1360. - case "$ac_option" in
  1361. - *=*) ;;
  1362. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1363. + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1364. + { (exit 1); exit 1; }; }
  1365. + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  1366. + case $ac_option in
  1367. + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  1368. *) ac_optarg=yes ;;
  1369. esac
  1370. - eval "enable_${ac_feature}='$ac_optarg'" ;;
  1371. + eval "enable_$ac_feature='$ac_optarg'" ;;
  1372. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1373. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1374. @@ -122,95 +384,47 @@
  1375. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1376. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1377. | --exec=* | --exe=* | --ex=*)
  1378. - exec_prefix="$ac_optarg" ;;
  1379. + exec_prefix=$ac_optarg ;;
  1380. -gas | --gas | --ga | --g)
  1381. # Obsolete; use --with-gas.
  1382. with_gas=yes ;;
  1383. - -help | --help | --hel | --he)
  1384. - # Omit some internal or obsolete options to make the list less imposing.
  1385. - # This message is too long to be a string in the A/UX 3.1 sh.
  1386. - cat << EOF
  1387. -Usage: configure [options] [host]
  1388. -Options: [defaults in brackets after descriptions]
  1389. -Configuration:
  1390. - --cache-file=FILE cache test results in FILE
  1391. - --help print this message
  1392. - --no-create do not create output files
  1393. - --quiet, --silent do not print \`checking...' messages
  1394. - --version print the version of autoconf that created configure
  1395. -Directory and file names:
  1396. - --prefix=PREFIX install architecture-independent files in PREFIX
  1397. - [$ac_default_prefix]
  1398. - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1399. - [same as prefix]
  1400. - --bindir=DIR user executables in DIR [EPREFIX/bin]
  1401. - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  1402. - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  1403. - --datadir=DIR read-only architecture-independent data in DIR
  1404. - [PREFIX/share]
  1405. - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  1406. - --sharedstatedir=DIR modifiable architecture-independent data in DIR
  1407. - [PREFIX/com]
  1408. - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  1409. - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  1410. - --includedir=DIR C header files in DIR [PREFIX/include]
  1411. - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  1412. - --infodir=DIR info documentation in DIR [PREFIX/info]
  1413. - --mandir=DIR man documentation in DIR [PREFIX/man]
  1414. - --srcdir=DIR find the sources in DIR [configure dir or ..]
  1415. - --program-prefix=PREFIX prepend PREFIX to installed program names
  1416. - --program-suffix=SUFFIX append SUFFIX to installed program names
  1417. - --program-transform-name=PROGRAM
  1418. - run sed PROGRAM on installed program names
  1419. -EOF
  1420. - cat << EOF
  1421. -Host type:
  1422. - --build=BUILD configure for building on BUILD [BUILD=HOST]
  1423. - --host=HOST configure for HOST [guessed]
  1424. - --target=TARGET configure for TARGET [TARGET=HOST]
  1425. -Features and packages:
  1426. - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1427. - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1428. - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1429. - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1430. - --x-includes=DIR X include files are in DIR
  1431. - --x-libraries=DIR X library files are in DIR
  1432. -EOF
  1433. - if test -n "$ac_help"; then
  1434. - echo "--enable and --with options recognized:$ac_help"
  1435. - fi
  1436. - exit 0 ;;
  1437. + -help | --help | --hel | --he | -h)
  1438. + ac_init_help=long ;;
  1439. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1440. + ac_init_help=recursive ;;
  1441. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1442. + ac_init_help=short ;;
  1443. -host | --host | --hos | --ho)
  1444. - ac_prev=host ;;
  1445. + ac_prev=host_alias ;;
  1446. -host=* | --host=* | --hos=* | --ho=*)
  1447. - host="$ac_optarg" ;;
  1448. + host_alias=$ac_optarg ;;
  1449. -includedir | --includedir | --includedi | --included | --include \
  1450. | --includ | --inclu | --incl | --inc)
  1451. ac_prev=includedir ;;
  1452. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1453. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1454. - includedir="$ac_optarg" ;;
  1455. + includedir=$ac_optarg ;;
  1456. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1457. ac_prev=infodir ;;
  1458. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1459. - infodir="$ac_optarg" ;;
  1460. + infodir=$ac_optarg ;;
  1461. -libdir | --libdir | --libdi | --libd)
  1462. ac_prev=libdir ;;
  1463. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1464. - libdir="$ac_optarg" ;;
  1465. + libdir=$ac_optarg ;;
  1466. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1467. | --libexe | --libex | --libe)
  1468. ac_prev=libexecdir ;;
  1469. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1470. | --libexe=* | --libex=* | --libe=*)
  1471. - libexecdir="$ac_optarg" ;;
  1472. + libexecdir=$ac_optarg ;;
  1473. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1474. | --localstate | --localstat | --localsta | --localst \
  1475. @@ -219,19 +433,19 @@
  1476. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1477. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  1478. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  1479. - localstatedir="$ac_optarg" ;;
  1480. + localstatedir=$ac_optarg ;;
  1481. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1482. ac_prev=mandir ;;
  1483. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1484. - mandir="$ac_optarg" ;;
  1485. + mandir=$ac_optarg ;;
  1486. -nfp | --nfp | --nf)
  1487. # Obsolete; use --without-fp.
  1488. with_fp=no ;;
  1489. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1490. - | --no-cr | --no-c)
  1491. + | --no-cr | --no-c | -n)
  1492. no_create=yes ;;
  1493. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1494. @@ -245,26 +459,26 @@
  1495. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1496. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1497. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1498. - oldincludedir="$ac_optarg" ;;
  1499. + oldincludedir=$ac_optarg ;;
  1500. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1501. ac_prev=prefix ;;
  1502. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1503. - prefix="$ac_optarg" ;;
  1504. + prefix=$ac_optarg ;;
  1505. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1506. | --program-pre | --program-pr | --program-p)
  1507. ac_prev=program_prefix ;;
  1508. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1509. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1510. - program_prefix="$ac_optarg" ;;
  1511. + program_prefix=$ac_optarg ;;
  1512. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1513. | --program-suf | --program-su | --program-s)
  1514. ac_prev=program_suffix ;;
  1515. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1516. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1517. - program_suffix="$ac_optarg" ;;
  1518. + program_suffix=$ac_optarg ;;
  1519. -program-transform-name | --program-transform-name \
  1520. | --program-transform-nam | --program-transform-na \
  1521. @@ -281,7 +495,7 @@
  1522. | --program-transfo=* | --program-transf=* \
  1523. | --program-trans=* | --program-tran=* \
  1524. | --progr-tra=* | --program-tr=* | --program-t=*)
  1525. - program_transform_name="$ac_optarg" ;;
  1526. + program_transform_name=$ac_optarg ;;
  1527. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1528. | -silent | --silent | --silen | --sile | --sil)
  1529. @@ -291,7 +505,7 @@
  1530. ac_prev=sbindir ;;
  1531. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1532. | --sbi=* | --sb=*)
  1533. - sbindir="$ac_optarg" ;;
  1534. + sbindir=$ac_optarg ;;
  1535. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1536. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1537. @@ -302,58 +516,57 @@
  1538. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1539. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1540. | --sha=* | --sh=*)
  1541. - sharedstatedir="$ac_optarg" ;;
  1542. + sharedstatedir=$ac_optarg ;;
  1543. -site | --site | --sit)
  1544. ac_prev=site ;;
  1545. -site=* | --site=* | --sit=*)
  1546. - site="$ac_optarg" ;;
  1547. + site=$ac_optarg ;;
  1548. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1549. ac_prev=srcdir ;;
  1550. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1551. - srcdir="$ac_optarg" ;;
  1552. + srcdir=$ac_optarg ;;
  1553. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1554. | --syscon | --sysco | --sysc | --sys | --sy)
  1555. ac_prev=sysconfdir ;;
  1556. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1557. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1558. - sysconfdir="$ac_optarg" ;;
  1559. + sysconfdir=$ac_optarg ;;
  1560. -target | --target | --targe | --targ | --tar | --ta | --t)
  1561. - ac_prev=target ;;
  1562. + ac_prev=target_alias ;;
  1563. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1564. - target="$ac_optarg" ;;
  1565. + target_alias=$ac_optarg ;;
  1566. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1567. verbose=yes ;;
  1568. - -version | --version | --versio | --versi | --vers)
  1569. - echo "configure generated by autoconf version 2.10"
  1570. - exit 0 ;;
  1571. + -version | --version | --versio | --versi | --vers | -V)
  1572. + ac_init_version=: ;;
  1573. -with-* | --with-*)
  1574. - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1575. + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1576. # Reject names that are not valid shell variable names.
  1577. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1578. - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1579. - fi
  1580. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1581. + { echo "$as_me: error: invalid package name: $ac_package" >&2
  1582. + { (exit 1); exit 1; }; }
  1583. ac_package=`echo $ac_package| sed 's/-/_/g'`
  1584. - case "$ac_option" in
  1585. - *=*) ;;
  1586. + case $ac_option in
  1587. + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  1588. *) ac_optarg=yes ;;
  1589. esac
  1590. - eval "with_${ac_package}='$ac_optarg'" ;;
  1591. + eval "with_$ac_package='$ac_optarg'" ;;
  1592. -without-* | --without-*)
  1593. - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  1594. + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1595. # Reject names that are not valid shell variable names.
  1596. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1597. - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1598. - fi
  1599. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  1600. - eval "with_${ac_package}=no" ;;
  1601. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1602. + { echo "$as_me: error: invalid package name: $ac_package" >&2
  1603. + { (exit 1); exit 1; }; }
  1604. + ac_package=`echo $ac_package | sed 's/-/_/g'`
  1605. + eval "with_$ac_package=no" ;;
  1606. --x)
  1607. # Obsolete; use --with-x.
  1608. @@ -364,96 +577,110 @@
  1609. ac_prev=x_includes ;;
  1610. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1611. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1612. - x_includes="$ac_optarg" ;;
  1613. + x_includes=$ac_optarg ;;
  1614. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1615. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1616. ac_prev=x_libraries ;;
  1617. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1618. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1619. - x_libraries="$ac_optarg" ;;
  1620. + x_libraries=$ac_optarg ;;
  1621. - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  1622. + -*) { echo "$as_me: error: unrecognized option: $ac_option
  1623. +Try \`$0 --help' for more information." >&2
  1624. + { (exit 1); exit 1; }; }
  1625. ;;
  1626. + *=*)
  1627. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1628. + # Reject names that are not valid shell variable names.
  1629. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1630. + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1631. + { (exit 1); exit 1; }; }
  1632. + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1633. + eval "$ac_envvar='$ac_optarg'"
  1634. + export $ac_envvar ;;
  1635. +
  1636. *)
  1637. - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1638. - echo "configure: warning: $ac_option: invalid host type" 1>&2
  1639. - fi
  1640. - if test "x$nonopt" != xNONE; then
  1641. - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  1642. - fi
  1643. - nonopt="$ac_option"
  1644. + # FIXME: should be removed in autoconf 3.0.
  1645. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1646. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1647. + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1648. + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1649. ;;
  1650. esac
  1651. done
  1652. if test -n "$ac_prev"; then
  1653. - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  1654. -fi
  1655. -
  1656. -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1657. -
  1658. -# File descriptor usage:
  1659. -# 0 standard input
  1660. -# 1 file creation
  1661. -# 2 errors and warnings
  1662. -# 3 some systems may open it to /dev/tty
  1663. -# 4 used on the Kubota Titan
  1664. -# 6 checking for... messages and results
  1665. -# 5 compiler messages saved in config.log
  1666. -if test "$silent" = yes; then
  1667. - exec 6>/dev/null
  1668. -else
  1669. - exec 6>&1
  1670. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1671. + { echo "$as_me: error: missing argument to $ac_option" >&2
  1672. + { (exit 1); exit 1; }; }
  1673. fi
  1674. -exec 5>./config.log
  1675. -echo "\
  1676. -This file contains any messages produced by compilers while
  1677. -running configure, to aid debugging if configure makes a mistake.
  1678. -" 1>&5
  1679. +# Be sure to have absolute paths.
  1680. +for ac_var in exec_prefix prefix
  1681. +do
  1682. + eval ac_val=$`echo $ac_var`
  1683. + case $ac_val in
  1684. + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1685. + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1686. + { (exit 1); exit 1; }; };;
  1687. + esac
  1688. +done
  1689. -# Strip out --no-create and --no-recursion so they do not pile up.
  1690. -# Also quote any args containing shell metacharacters.
  1691. -ac_configure_args=
  1692. -for ac_arg
  1693. +# Be sure to have absolute paths.
  1694. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1695. + localstatedir libdir includedir oldincludedir infodir mandir
  1696. do
  1697. - case "$ac_arg" in
  1698. - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1699. - | --no-cr | --no-c) ;;
  1700. - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1701. - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  1702. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  1703. - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1704. - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  1705. + eval ac_val=$`echo $ac_var`
  1706. + case $ac_val in
  1707. + [\\/$]* | ?:[\\/]* ) ;;
  1708. + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1709. + { (exit 1); exit 1; }; };;
  1710. esac
  1711. done
  1712. -# NLS nuisances.
  1713. -# Only set LANG and LC_ALL to C if already set.
  1714. -# These must not be set unconditionally because not all systems understand
  1715. -# e.g. LANG=C (notably SCO).
  1716. -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  1717. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  1718. +# There might be people who depend on the old broken behavior: `$host'
  1719. +# used to hold the argument of --host etc.
  1720. +# FIXME: To remove some day.
  1721. +build=$build_alias
  1722. +host=$host_alias
  1723. +target=$target_alias
  1724. +
  1725. +# FIXME: To remove some day.
  1726. +if test "x$host_alias" != x; then
  1727. + if test "x$build_alias" = x; then
  1728. + cross_compiling=maybe
  1729. + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1730. + If a cross compiler is detected then cross compile mode will be used." >&2
  1731. + elif test "x$build_alias" != "x$host_alias"; then
  1732. + cross_compiling=yes
  1733. + fi
  1734. +fi
  1735. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1736. -rm -rf conftest* confdefs.h
  1737. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1738. -echo > confdefs.h
  1739. +ac_tool_prefix=
  1740. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1741. +
  1742. +test "$silent" = yes && exec 6>/dev/null
  1743. -# A filename unique to this package, relative to the directory that
  1744. -# configure is in, which we can look for to find out if srcdir is correct.
  1745. -ac_unique_file=hesiod.c
  1746. # Find the source files, if location was not specified.
  1747. if test -z "$srcdir"; then
  1748. ac_srcdir_defaulted=yes
  1749. # Try the directory containing this script, then its parent.
  1750. - ac_prog=$0
  1751. - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  1752. - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  1753. + ac_confdir=`(dirname "$0") 2>/dev/null ||
  1754. +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1755. + X"$0" : 'X\(//\)[^/]' \| \
  1756. + X"$0" : 'X\(//\)$' \| \
  1757. + X"$0" : 'X\(/\)' \| \
  1758. + . : '\(.\)' 2>/dev/null ||
  1759. +echo X"$0" |
  1760. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1761. + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1762. + /^X\(\/\/\)$/{ s//\1/; q; }
  1763. + /^X\(\/\).*/{ s//\1/; q; }
  1764. + s/.*/./; q'`
  1765. srcdir=$ac_confdir
  1766. if test ! -r $srcdir/$ac_unique_file; then
  1767. srcdir=..
  1768. @@ -463,13 +690,458 @@
  1769. fi
  1770. if test ! -r $srcdir/$ac_unique_file; then
  1771. if test "$ac_srcdir_defaulted" = yes; then
  1772. - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  1773. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1774. + { (exit 1); exit 1; }; }
  1775. else
  1776. - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  1777. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1778. + { (exit 1); exit 1; }; }
  1779. fi
  1780. fi
  1781. -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  1782. +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  1783. + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1784. + { (exit 1); exit 1; }; }
  1785. +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1786. +ac_env_build_alias_set=${build_alias+set}
  1787. +ac_env_build_alias_value=$build_alias
  1788. +ac_cv_env_build_alias_set=${build_alias+set}
  1789. +ac_cv_env_build_alias_value=$build_alias
  1790. +ac_env_host_alias_set=${host_alias+set}
  1791. +ac_env_host_alias_value=$host_alias
  1792. +ac_cv_env_host_alias_set=${host_alias+set}
  1793. +ac_cv_env_host_alias_value=$host_alias
  1794. +ac_env_target_alias_set=${target_alias+set}
  1795. +ac_env_target_alias_value=$target_alias
  1796. +ac_cv_env_target_alias_set=${target_alias+set}
  1797. +ac_cv_env_target_alias_value=$target_alias
  1798. +ac_env_CC_set=${CC+set}
  1799. +ac_env_CC_value=$CC
  1800. +ac_cv_env_CC_set=${CC+set}
  1801. +ac_cv_env_CC_value=$CC
  1802. +ac_env_CFLAGS_set=${CFLAGS+set}
  1803. +ac_env_CFLAGS_value=$CFLAGS
  1804. +ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1805. +ac_cv_env_CFLAGS_value=$CFLAGS
  1806. +ac_env_LDFLAGS_set=${LDFLAGS+set}
  1807. +ac_env_LDFLAGS_value=$LDFLAGS
  1808. +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1809. +ac_cv_env_LDFLAGS_value=$LDFLAGS
  1810. +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1811. +ac_env_CPPFLAGS_value=$CPPFLAGS
  1812. +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1813. +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1814. +ac_env_CPP_set=${CPP+set}
  1815. +ac_env_CPP_value=$CPP
  1816. +ac_cv_env_CPP_set=${CPP+set}
  1817. +ac_cv_env_CPP_value=$CPP
  1818. +
  1819. +#
  1820. +# Report the --help message.
  1821. +#
  1822. +if test "$ac_init_help" = "long"; then
  1823. + # Omit some internal or obsolete options to make the list less imposing.
  1824. + # This message is too long to be a string in the A/UX 3.1 sh.
  1825. + cat <<_ACEOF
  1826. +\`configure' configures hesiod 3.0.2 to adapt to many kinds of systems.
  1827. +
  1828. +Usage: $0 [OPTION]... [VAR=VALUE]...
  1829. +
  1830. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1831. +VAR=VALUE. See below for descriptions of some of the useful variables.
  1832. +
  1833. +Defaults for the options are specified in brackets.
  1834. +
  1835. +Configuration:
  1836. + -h, --help display this help and exit
  1837. + --help=short display options specific to this package
  1838. + --help=recursive display the short help of all the included packages
  1839. + -V, --version display version information and exit
  1840. + -q, --quiet, --silent do not print \`checking...' messages
  1841. + --cache-file=FILE cache test results in FILE [disabled]
  1842. + -C, --config-cache alias for \`--cache-file=config.cache'
  1843. + -n, --no-create do not create output files
  1844. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1845. +
  1846. +_ACEOF
  1847. +
  1848. + cat <<_ACEOF
  1849. +Installation directories:
  1850. + --prefix=PREFIX install architecture-independent files in PREFIX
  1851. + [$ac_default_prefix]
  1852. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1853. + [PREFIX]
  1854. +
  1855. +By default, \`make install' will install all the files in
  1856. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1857. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1858. +for instance \`--prefix=\$HOME'.
  1859. +
  1860. +For better control, use the options below.
  1861. +
  1862. +Fine tuning of the installation directories:
  1863. + --bindir=DIR user executables [EPREFIX/bin]
  1864. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  1865. + --libexecdir=DIR program executables [EPREFIX/libexec]
  1866. + --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1867. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1868. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1869. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1870. + --libdir=DIR object code libraries [EPREFIX/lib]
  1871. + --includedir=DIR C header files [PREFIX/include]
  1872. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1873. + --infodir=DIR info documentation [PREFIX/info]
  1874. + --mandir=DIR man documentation [PREFIX/man]
  1875. +_ACEOF
  1876. +
  1877. + cat <<\_ACEOF
  1878. +_ACEOF
  1879. +fi
  1880. +
  1881. +if test -n "$ac_init_help"; then
  1882. + case $ac_init_help in
  1883. + short | recursive ) echo "Configuration of hesiod 3.0.2:";;
  1884. + esac
  1885. + cat <<\_ACEOF
  1886. +
  1887. +Some influential environment variables:
  1888. + CC C compiler command
  1889. + CFLAGS C compiler flags
  1890. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1891. + nonstandard directory <lib dir>
  1892. + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1893. + headers in a nonstandard directory <include dir>
  1894. + CPP C preprocessor
  1895. +
  1896. +Use these variables to override the choices made by `configure' or to help
  1897. +it to find libraries and programs with nonstandard names/locations.
  1898. +
  1899. +_ACEOF
  1900. +fi
  1901. +
  1902. +if test "$ac_init_help" = "recursive"; then
  1903. + # If there are subdirs, report their specific --help.
  1904. + ac_popdir=`pwd`
  1905. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1906. + test -d $ac_dir || continue
  1907. + ac_builddir=.
  1908. +
  1909. +if test "$ac_dir" != .; then
  1910. + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1911. + # A "../" for each directory in $ac_dir_suffix.
  1912. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1913. +else
  1914. + ac_dir_suffix= ac_top_builddir=
  1915. +fi
  1916. +
  1917. +case $srcdir in
  1918. + .) # No --srcdir option. We are building in place.
  1919. + ac_srcdir=.
  1920. + if test -z "$ac_top_builddir"; then
  1921. + ac_top_srcdir=.
  1922. + else
  1923. + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1924. + fi ;;
  1925. + [\\/]* | ?:[\\/]* ) # Absolute path.
  1926. + ac_srcdir=$srcdir$ac_dir_suffix;
  1927. + ac_top_srcdir=$srcdir ;;
  1928. + *) # Relative path.
  1929. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1930. + ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1931. +esac
  1932. +
  1933. +# Do not use `cd foo && pwd` to compute absolute paths, because
  1934. +# the directories may not exist.
  1935. +case `pwd` in
  1936. +.) ac_abs_builddir="$ac_dir";;
  1937. +*)
  1938. + case "$ac_dir" in
  1939. + .) ac_abs_builddir=`pwd`;;
  1940. + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1941. + *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1942. + esac;;
  1943. +esac
  1944. +case $ac_abs_builddir in
  1945. +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1946. +*)
  1947. + case ${ac_top_builddir}. in
  1948. + .) ac_abs_top_builddir=$ac_abs_builddir;;
  1949. + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1950. + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1951. + esac;;
  1952. +esac
  1953. +case $ac_abs_builddir in
  1954. +.) ac_abs_srcdir=$ac_srcdir;;
  1955. +*)
  1956. + case $ac_srcdir in
  1957. + .) ac_abs_srcdir=$ac_abs_builddir;;
  1958. + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1959. + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1960. + esac;;
  1961. +esac
  1962. +case $ac_abs_builddir in
  1963. +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1964. +*)
  1965. + case $ac_top_srcdir in
  1966. + .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1967. + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1968. + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1969. + esac;;
  1970. +esac
  1971. +
  1972. + cd $ac_dir
  1973. + # Check for guested configure; otherwise get Cygnus style configure.
  1974. + if test -f $ac_srcdir/configure.gnu; then
  1975. + echo
  1976. + $SHELL $ac_srcdir/configure.gnu --help=recursive
  1977. + elif test -f $ac_srcdir/configure; then
  1978. + echo
  1979. + $SHELL $ac_srcdir/configure --help=recursive
  1980. + elif test -f $ac_srcdir/configure.ac ||
  1981. + test -f $ac_srcdir/configure.in; then
  1982. + echo
  1983. + $ac_configure --help
  1984. + else
  1985. + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1986. + fi
  1987. + cd "$ac_popdir"
  1988. + done
  1989. +fi
  1990. +
  1991. +test -n "$ac_init_help" && exit 0
  1992. +if $ac_init_version; then
  1993. + cat <<\_ACEOF
  1994. +hesiod configure 3.0.2
  1995. +generated by GNU Autoconf 2.59
  1996. +
  1997. +Copyright (C) 2003 Free Software Foundation, Inc.
  1998. +This configure script is free software; the Free Software Foundation
  1999. +gives unlimited permission to copy, distribute and modify it.
  2000. +_ACEOF
  2001. + exit 0
  2002. +fi
  2003. +exec 5>config.log
  2004. +cat >&5 <<_ACEOF
  2005. +This file contains any messages produced by compilers while
  2006. +running configure, to aid debugging if configure makes a mistake.
  2007. +
  2008. +It was created by hesiod $as_me 3.0.2, which was
  2009. +generated by GNU Autoconf 2.59. Invocation command line was
  2010. +
  2011. + $ $0 $@
  2012. +
  2013. +_ACEOF
  2014. +{
  2015. +cat <<_ASUNAME
  2016. +## --------- ##
  2017. +## Platform. ##
  2018. +## --------- ##
  2019. +
  2020. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2021. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2022. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2023. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2024. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2025. +
  2026. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2027. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2028. +
  2029. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2030. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2031. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2032. +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  2033. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2034. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2035. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2036. +
  2037. +_ASUNAME
  2038. +
  2039. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2040. +for as_dir in $PATH
  2041. +do
  2042. + IFS=$as_save_IFS
  2043. + test -z "$as_dir" && as_dir=.
  2044. + echo "PATH: $as_dir"
  2045. +done
  2046. +
  2047. +} >&5
  2048. +
  2049. +cat >&5 <<_ACEOF
  2050. +
  2051. +
  2052. +## ----------- ##
  2053. +## Core tests. ##
  2054. +## ----------- ##
  2055. +
  2056. +_ACEOF
  2057. +
  2058. +
  2059. +# Keep a trace of the command line.
  2060. +# Strip out --no-create and --no-recursion so they do not pile up.
  2061. +# Strip out --silent because we don't want to record it for future runs.
  2062. +# Also quote any args containing shell meta-characters.
  2063. +# Make two passes to allow for proper duplicate-argument suppression.
  2064. +ac_configure_args=
  2065. +ac_configure_args0=
  2066. +ac_configure_args1=
  2067. +ac_sep=
  2068. +ac_must_keep_next=false
  2069. +for ac_pass in 1 2
  2070. +do
  2071. + for ac_arg
  2072. + do
  2073. + case $ac_arg in
  2074. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2075. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2076. + | -silent | --silent | --silen | --sile | --sil)
  2077. + continue ;;
  2078. + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  2079. + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2080. + esac
  2081. + case $ac_pass in
  2082. + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  2083. + 2)
  2084. + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  2085. + if test $ac_must_keep_next = true; then
  2086. + ac_must_keep_next=false # Got value, back to normal.
  2087. + else
  2088. + case $ac_arg in
  2089. + *=* | --config-cache | -C | -disable-* | --disable-* \
  2090. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2091. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2092. + | -with-* | --with-* | -without-* | --without-* | --x)
  2093. + case "$ac_configure_args0 " in
  2094. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2095. + esac
  2096. + ;;
  2097. + -* ) ac_must_keep_next=true ;;
  2098. + esac
  2099. + fi
  2100. + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  2101. + # Get rid of the leading space.
  2102. + ac_sep=" "
  2103. + ;;
  2104. + esac
  2105. + done
  2106. +done
  2107. +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  2108. +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  2109. +
  2110. +# When interrupted or exit'd, cleanup temporary files, and complete
  2111. +# config.log. We remove comments because anyway the quotes in there
  2112. +# would cause problems or look ugly.
  2113. +# WARNING: Be sure not to use single quotes in there, as some shells,
  2114. +# such as our DU 5.0 friend, will then `close' the trap.
  2115. +trap 'exit_status=$?
  2116. + # Save into config.log some information that might help in debugging.
  2117. + {
  2118. + echo
  2119. +
  2120. + cat <<\_ASBOX
  2121. +## ---------------- ##
  2122. +## Cache variables. ##
  2123. +## ---------------- ##
  2124. +_ASBOX
  2125. + echo
  2126. + # The following way of writing the cache mishandles newlines in values,
  2127. +{
  2128. + (set) 2>&1 |
  2129. + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  2130. + *ac_space=\ *)
  2131. + sed -n \
  2132. + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  2133. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  2134. + ;;
  2135. + *)
  2136. + sed -n \
  2137. + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  2138. + ;;
  2139. + esac;
  2140. +}
  2141. + echo
  2142. +
  2143. + cat <<\_ASBOX
  2144. +## ----------------- ##
  2145. +## Output variables. ##
  2146. +## ----------------- ##
  2147. +_ASBOX
  2148. + echo
  2149. + for ac_var in $ac_subst_vars
  2150. + do
  2151. + eval ac_val=$`echo $ac_var`
  2152. + echo "$ac_var='"'"'$ac_val'"'"'"
  2153. + done | sort
  2154. + echo
  2155. +
  2156. + if test -n "$ac_subst_files"; then
  2157. + cat <<\_ASBOX
  2158. +## ------------- ##
  2159. +## Output files. ##
  2160. +## ------------- ##
  2161. +_ASBOX
  2162. + echo
  2163. + for ac_var in $ac_subst_files
  2164. + do
  2165. + eval ac_val=$`echo $ac_var`
  2166. + echo "$ac_var='"'"'$ac_val'"'"'"
  2167. + done | sort
  2168. + echo
  2169. + fi
  2170. +
  2171. + if test -s confdefs.h; then
  2172. + cat <<\_ASBOX
  2173. +## ----------- ##
  2174. +## confdefs.h. ##
  2175. +## ----------- ##
  2176. +_ASBOX
  2177. + echo
  2178. + sed "/^$/d" confdefs.h | sort
  2179. + echo
  2180. + fi
  2181. + test "$ac_signal" != 0 &&
  2182. + echo "$as_me: caught signal $ac_signal"
  2183. + echo "$as_me: exit $exit_status"
  2184. + } >&5
  2185. + rm -f core *.core &&
  2186. + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  2187. + exit $exit_status
  2188. + ' 0
  2189. +for ac_signal in 1 2 13 15; do
  2190. + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  2191. +done
  2192. +ac_signal=0
  2193. +
  2194. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  2195. +rm -rf conftest* confdefs.h
  2196. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  2197. +echo >confdefs.h
  2198. +
  2199. +# Predefined preprocessor variables.
  2200. +
  2201. +cat >>confdefs.h <<_ACEOF
  2202. +#define PACKAGE_NAME "$PACKAGE_NAME"
  2203. +_ACEOF
  2204. +
  2205. +
  2206. +cat >>confdefs.h <<_ACEOF
  2207. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2208. +_ACEOF
  2209. +
  2210. +
  2211. +cat >>confdefs.h <<_ACEOF
  2212. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  2213. +_ACEOF
  2214. +
  2215. +cat >>confdefs.h <<_ACEOF
  2216. +#define PACKAGE_STRING "$PACKAGE_STRING"
  2217. +_ACEOF
  2218. +
  2219. +
  2220. +cat >>confdefs.h <<_ACEOF
  2221. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2222. +_ACEOF
  2223. +
  2224. +
  2225. +# Let the site file select an alternate cache file if it wants to.
  2226. # Prefer explicitly selected file to automatically selected ones.
  2227. if test -z "$CONFIG_SITE"; then
  2228. if test "x$prefix" != xNONE; then
  2229. @@ -480,164 +1152,1042 @@
  2230. fi
  2231. for ac_site_file in $CONFIG_SITE; do
  2232. if test -r "$ac_site_file"; then
  2233. - echo "loading site script $ac_site_file"
  2234. + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  2235. +echo "$as_me: loading site script $ac_site_file" >&6;}
  2236. + sed 's/^/| /' "$ac_site_file" >&5
  2237. . "$ac_site_file"
  2238. fi
  2239. done
  2240. if test -r "$cache_file"; then
  2241. - echo "loading cache $cache_file"
  2242. - . $cache_file
  2243. + # Some versions of bash will fail to source /dev/null (special
  2244. + # files actually), so we avoid doing that.
  2245. + if test -f "$cache_file"; then
  2246. + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  2247. +echo "$as_me: loading cache $cache_file" >&6;}
  2248. + case $cache_file in
  2249. + [\\/]* | ?:[\\/]* ) . $cache_file;;
  2250. + *) . ./$cache_file;;
  2251. + esac
  2252. + fi
  2253. else
  2254. - echo "creating cache $cache_file"
  2255. - > $cache_file
  2256. + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  2257. +echo "$as_me: creating cache $cache_file" >&6;}
  2258. + >$cache_file
  2259. +fi
  2260. +
  2261. +# Check that the precious variables saved in the cache have kept the same
  2262. +# value.
  2263. +ac_cache_corrupted=false
  2264. +for ac_var in `(set) 2>&1 |
  2265. + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  2266. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2267. + eval ac_new_set=\$ac_env_${ac_var}_set
  2268. + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  2269. + eval ac_new_val="\$ac_env_${ac_var}_value"
  2270. + case $ac_old_set,$ac_new_set in
  2271. + set,)
  2272. + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2273. +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2274. + ac_cache_corrupted=: ;;
  2275. + ,set)
  2276. + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  2277. +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2278. + ac_cache_corrupted=: ;;
  2279. + ,);;
  2280. + *)
  2281. + if test "x$ac_old_val" != "x$ac_new_val"; then
  2282. + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  2283. +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2284. + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  2285. +echo "$as_me: former value: $ac_old_val" >&2;}
  2286. + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  2287. +echo "$as_me: current value: $ac_new_val" >&2;}
  2288. + ac_cache_corrupted=:
  2289. + fi;;
  2290. + esac
  2291. + # Pass precious variables to config.status.
  2292. + if test "$ac_new_set" = set; then
  2293. + case $ac_new_val in
  2294. + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  2295. + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2296. + *) ac_arg=$ac_var=$ac_new_val ;;
  2297. + esac
  2298. + case " $ac_configure_args " in
  2299. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2300. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  2301. + esac
  2302. + fi
  2303. +done
  2304. +if $ac_cache_corrupted; then
  2305. + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  2306. +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2307. + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2308. +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2309. + { (exit 1); exit 1; }; }
  2310. fi
  2311. ac_ext=c
  2312. -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  2313. ac_cpp='$CPP $CPPFLAGS'
  2314. -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  2315. -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  2316. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2317. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2318. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2319. +
  2320. +
  2321. +
  2322. +
  2323. +
  2324. +
  2325. +
  2326. +
  2327. +
  2328. +
  2329. +
  2330. +
  2331. +
  2332. +
  2333. +
  2334. +
  2335. +
  2336. +
  2337. +
  2338. +
  2339. +
  2340. +
  2341. +
  2342. +
  2343. +
  2344. +
  2345. -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  2346. - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  2347. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  2348. - ac_n= ac_c='
  2349. -' ac_t=' '
  2350. - else
  2351. - ac_n=-n ac_c= ac_t=
  2352. - fi
  2353. -else
  2354. - ac_n= ac_c='\c' ac_t=
  2355. -fi
  2356. test -z "$lbindir" && lbindir='${bindir}'
  2357. -# Extract the first word of "gcc", so it can be a program name with args.
  2358. -set dummy gcc; ac_word=$2
  2359. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2360. -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  2361. - echo $ac_n "(cached) $ac_c" 1>&6
  2362. +ac_ext=c
  2363. +ac_cpp='$CPP $CPPFLAGS'
  2364. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2365. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2366. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2367. +if test -n "$ac_tool_prefix"; then
  2368. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2369. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2370. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2371. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2372. +if test "${ac_cv_prog_CC+set}" = set; then
  2373. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2374. else
  2375. if test -n "$CC"; then
  2376. ac_cv_prog_CC="$CC" # Let the user override the test.
  2377. else
  2378. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2379. - for ac_dir in $PATH; do
  2380. - test -z "$ac_dir" && ac_dir=.
  2381. - if test -f $ac_dir/$ac_word; then
  2382. - ac_cv_prog_CC="gcc"
  2383. - break
  2384. - fi
  2385. - done
  2386. - IFS="$ac_save_ifs"
  2387. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2388. +for as_dir in $PATH
  2389. +do
  2390. + IFS=$as_save_IFS
  2391. + test -z "$as_dir" && as_dir=.
  2392. + for ac_exec_ext in '' $ac_executable_extensions; do
  2393. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2394. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2395. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2396. + break 2
  2397. + fi
  2398. +done
  2399. +done
  2400. +
  2401. fi
  2402. fi
  2403. -CC="$ac_cv_prog_CC"
  2404. +CC=$ac_cv_prog_CC
  2405. if test -n "$CC"; then
  2406. - echo "$ac_t""$CC" 1>&6
  2407. + echo "$as_me:$LINENO: result: $CC" >&5
  2408. +echo "${ECHO_T}$CC" >&6
  2409. +else
  2410. + echo "$as_me:$LINENO: result: no" >&5
  2411. +echo "${ECHO_T}no" >&6
  2412. +fi
  2413. +
  2414. +fi
  2415. +if test -z "$ac_cv_prog_CC"; then
  2416. + ac_ct_CC=$CC
  2417. + # Extract the first word of "gcc", so it can be a program name with args.
  2418. +set dummy gcc; ac_word=$2
  2419. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2420. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2421. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2422. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2423. +else
  2424. + if test -n "$ac_ct_CC"; then
  2425. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2426. +else
  2427. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2428. +for as_dir in $PATH
  2429. +do
  2430. + IFS=$as_save_IFS
  2431. + test -z "$as_dir" && as_dir=.
  2432. + for ac_exec_ext in '' $ac_executable_extensions; do
  2433. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2434. + ac_cv_prog_ac_ct_CC="gcc"
  2435. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2436. + break 2
  2437. + fi
  2438. +done
  2439. +done
  2440. +
  2441. +fi
  2442. +fi
  2443. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2444. +if test -n "$ac_ct_CC"; then
  2445. + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2446. +echo "${ECHO_T}$ac_ct_CC" >&6
  2447. +else
  2448. + echo "$as_me:$LINENO: result: no" >&5
  2449. +echo "${ECHO_T}no" >&6
  2450. +fi
  2451. +
  2452. + CC=$ac_ct_CC
  2453. else
  2454. - echo "$ac_t""no" 1>&6
  2455. + CC="$ac_cv_prog_CC"
  2456. fi
  2457. if test -z "$CC"; then
  2458. - # Extract the first word of "cc", so it can be a program name with args.
  2459. -set dummy cc; ac_word=$2
  2460. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2461. -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  2462. - echo $ac_n "(cached) $ac_c" 1>&6
  2463. + if test -n "$ac_tool_prefix"; then
  2464. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2465. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  2466. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2467. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2468. +if test "${ac_cv_prog_CC+set}" = set; then
  2469. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2470. else
  2471. if test -n "$CC"; then
  2472. ac_cv_prog_CC="$CC" # Let the user override the test.
  2473. else
  2474. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2475. - ac_prog_rejected=no
  2476. - for ac_dir in $PATH; do
  2477. - test -z "$ac_dir" && ac_dir=.
  2478. - if test -f $ac_dir/$ac_word; then
  2479. - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  2480. - ac_prog_rejected=yes
  2481. - continue
  2482. - fi
  2483. - ac_cv_prog_CC="cc"
  2484. - break
  2485. - fi
  2486. - done
  2487. - IFS="$ac_save_ifs"
  2488. -if test $ac_prog_rejected = yes; then
  2489. - # We found a bogon in the path, so make sure we never use it.
  2490. - set dummy $ac_cv_prog_CC
  2491. - shift
  2492. - if test $# -gt 0; then
  2493. - # We chose a different compiler from the bogus one.
  2494. - # However, it has the same basename, so the bogon will be chosen
  2495. - # first if we set CC to just the basename; use the full file name.
  2496. - shift
  2497. - set dummy "$ac_dir/$ac_word" "$@"
  2498. - shift
  2499. - ac_cv_prog_CC="$@"
  2500. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2501. +for as_dir in $PATH
  2502. +do
  2503. + IFS=$as_save_IFS
  2504. + test -z "$as_dir" && as_dir=.
  2505. + for ac_exec_ext in '' $ac_executable_extensions; do
  2506. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2507. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  2508. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2509. + break 2
  2510. fi
  2511. +done
  2512. +done
  2513. +
  2514. fi
  2515. fi
  2516. -fi
  2517. -CC="$ac_cv_prog_CC"
  2518. +CC=$ac_cv_prog_CC
  2519. if test -n "$CC"; then
  2520. - echo "$ac_t""$CC" 1>&6
  2521. + echo "$as_me:$LINENO: result: $CC" >&5
  2522. +echo "${ECHO_T}$CC" >&6
  2523. else
  2524. - echo "$ac_t""no" 1>&6
  2525. + echo "$as_me:$LINENO: result: no" >&5
  2526. +echo "${ECHO_T}no" >&6
  2527. fi
  2528. - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  2529. fi
  2530. -
  2531. -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  2532. -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  2533. - echo $ac_n "(cached) $ac_c" 1>&6
  2534. +if test -z "$ac_cv_prog_CC"; then
  2535. + ac_ct_CC=$CC
  2536. + # Extract the first word of "cc", so it can be a program name with args.
  2537. +set dummy cc; ac_word=$2
  2538. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2539. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2540. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2541. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2542. else
  2543. - cat > conftest.c <<EOF
  2544. -#ifdef __GNUC__
  2545. - yes;
  2546. -#endif
  2547. -EOF
  2548. -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  2549. - ac_cv_prog_gcc=yes
  2550. + if test -n "$ac_ct_CC"; then
  2551. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2552. else
  2553. - ac_cv_prog_gcc=no
  2554. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2555. +for as_dir in $PATH
  2556. +do
  2557. + IFS=$as_save_IFS
  2558. + test -z "$as_dir" && as_dir=.
  2559. + for ac_exec_ext in '' $ac_executable_extensions; do
  2560. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2561. + ac_cv_prog_ac_ct_CC="cc"
  2562. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2563. + break 2
  2564. + fi
  2565. +done
  2566. +done
  2567. +
  2568. fi
  2569. fi
  2570. -
  2571. -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  2572. -if test $ac_cv_prog_gcc = yes; then
  2573. - GCC=yes
  2574. - if test "${CFLAGS+set}" != set; then
  2575. - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  2576. -if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  2577. - echo $ac_n "(cached) $ac_c" 1>&6
  2578. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2579. +if test -n "$ac_ct_CC"; then
  2580. + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2581. +echo "${ECHO_T}$ac_ct_CC" >&6
  2582. else
  2583. - echo 'void f(){}' > conftest.c
  2584. -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  2585. - ac_cv_prog_gcc_g=yes
  2586. -else
  2587. - ac_cv_prog_gcc_g=no
  2588. + echo "$as_me:$LINENO: result: no" >&5
  2589. +echo "${ECHO_T}no" >&6
  2590. fi
  2591. -rm -f conftest*
  2592. + CC=$ac_ct_CC
  2593. +else
  2594. + CC="$ac_cv_prog_CC"
  2595. fi
  2596. -echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  2597. - if test $ac_cv_prog_gcc_g = yes; then
  2598. - CFLAGS="-g -O"
  2599. - else
  2600. - CFLAGS="-O"
  2601. +fi
  2602. +if test -z "$CC"; then
  2603. + # Extract the first word of "cc", so it can be a program name with args.
  2604. +set dummy cc; ac_word=$2
  2605. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2606. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2607. +if test "${ac_cv_prog_CC+set}" = set; then
  2608. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2609. +else
  2610. + if test -n "$CC"; then
  2611. + ac_cv_prog_CC="$CC" # Let the user override the test.
  2612. +else
  2613. + ac_prog_rejected=no
  2614. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2615. +for as_dir in $PATH
  2616. +do
  2617. + IFS=$as_save_IFS
  2618. + test -z "$as_dir" && as_dir=.
  2619. + for ac_exec_ext in '' $ac_executable_extensions; do
  2620. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2621. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2622. + ac_prog_rejected=yes
  2623. + continue
  2624. + fi
  2625. + ac_cv_prog_CC="cc"
  2626. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2627. + break 2
  2628. + fi
  2629. +done
  2630. +done
  2631. +
  2632. +if test $ac_prog_rejected = yes; then
  2633. + # We found a bogon in the path, so make sure we never use it.
  2634. + set dummy $ac_cv_prog_CC
  2635. + shift
  2636. + if test $# != 0; then
  2637. + # We chose a different compiler from the bogus one.
  2638. + # However, it has the same basename, so the bogon will be chosen
  2639. + # first if we set CC to just the basename; use the full file name.
  2640. + shift
  2641. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2642. + fi
  2643. +fi
  2644. +fi
  2645. +fi
  2646. +CC=$ac_cv_prog_CC
  2647. +if test -n "$CC"; then
  2648. + echo "$as_me:$LINENO: result: $CC" >&5
  2649. +echo "${ECHO_T}$CC" >&6
  2650. +else
  2651. + echo "$as_me:$LINENO: result: no" >&5
  2652. +echo "${ECHO_T}no" >&6
  2653. +fi
  2654. +
  2655. +fi
  2656. +if test -z "$CC"; then
  2657. + if test -n "$ac_tool_prefix"; then
  2658. + for ac_prog in cl
  2659. + do
  2660. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2661. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2662. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2663. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2664. +if test "${ac_cv_prog_CC+set}" = set; then
  2665. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2666. +else
  2667. + if test -n "$CC"; then
  2668. + ac_cv_prog_CC="$CC" # Let the user override the test.
  2669. +else
  2670. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2671. +for as_dir in $PATH
  2672. +do
  2673. + IFS=$as_save_IFS
  2674. + test -z "$as_dir" && as_dir=.
  2675. + for ac_exec_ext in '' $ac_executable_extensions; do
  2676. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2677. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2678. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2679. + break 2
  2680. + fi
  2681. +done
  2682. +done
  2683. +
  2684. +fi
  2685. +fi
  2686. +CC=$ac_cv_prog_CC
  2687. +if test -n "$CC"; then
  2688. + echo "$as_me:$LINENO: result: $CC" >&5
  2689. +echo "${ECHO_T}$CC" >&6
  2690. +else
  2691. + echo "$as_me:$LINENO: result: no" >&5
  2692. +echo "${ECHO_T}no" >&6
  2693. +fi
  2694. +
  2695. + test -n "$CC" && break
  2696. + done
  2697. +fi
  2698. +if test -z "$CC"; then
  2699. + ac_ct_CC=$CC
  2700. + for ac_prog in cl
  2701. +do
  2702. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  2703. +set dummy $ac_prog; ac_word=$2
  2704. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  2705. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2706. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2707. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2708. +else
  2709. + if test -n "$ac_ct_CC"; then
  2710. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2711. +else
  2712. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2713. +for as_dir in $PATH
  2714. +do
  2715. + IFS=$as_save_IFS
  2716. + test -z "$as_dir" && as_dir=.
  2717. + for ac_exec_ext in '' $ac_executable_extensions; do
  2718. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2719. + ac_cv_prog_ac_ct_CC="$ac_prog"
  2720. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2721. + break 2
  2722. + fi
  2723. +done
  2724. +done
  2725. +
  2726. +fi
  2727. +fi
  2728. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2729. +if test -n "$ac_ct_CC"; then
  2730. + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2731. +echo "${ECHO_T}$ac_ct_CC" >&6
  2732. +else
  2733. + echo "$as_me:$LINENO: result: no" >&5
  2734. +echo "${ECHO_T}no" >&6
  2735. +fi
  2736. +
  2737. + test -n "$ac_ct_CC" && break
  2738. +done
  2739. +
  2740. + CC=$ac_ct_CC
  2741. +fi
  2742. +
  2743. +fi
  2744. +
  2745. +
  2746. +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2747. +See \`config.log' for more details." >&5
  2748. +echo "$as_me: error: no acceptable C compiler found in \$PATH
  2749. +See \`config.log' for more details." >&2;}
  2750. + { (exit 1); exit 1; }; }
  2751. +
  2752. +# Provide some information about the compiler.
  2753. +echo "$as_me:$LINENO:" \
  2754. + "checking for C compiler version" >&5
  2755. +ac_compiler=`set X $ac_compile; echo $2`
  2756. +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2757. + (eval $ac_compiler --version </dev/null >&5) 2>&5
  2758. + ac_status=$?
  2759. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2760. + (exit $ac_status); }
  2761. +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2762. + (eval $ac_compiler -v </dev/null >&5) 2>&5
  2763. + ac_status=$?
  2764. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2765. + (exit $ac_status); }
  2766. +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2767. + (eval $ac_compiler -V </dev/null >&5) 2>&5
  2768. + ac_status=$?
  2769. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2770. + (exit $ac_status); }
  2771. +
  2772. +cat >conftest.$ac_ext <<_ACEOF
  2773. +/* confdefs.h. */
  2774. +_ACEOF
  2775. +cat confdefs.h >>conftest.$ac_ext
  2776. +cat >>conftest.$ac_ext <<_ACEOF
  2777. +/* end confdefs.h. */
  2778. +
  2779. +int
  2780. +main ()
  2781. +{
  2782. +
  2783. + ;
  2784. + return 0;
  2785. +}
  2786. +_ACEOF
  2787. +ac_clean_files_save=$ac_clean_files
  2788. +ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2789. +# Try to create an executable without -o first, disregard a.out.
  2790. +# It will help us diagnose broken compilers, and finding out an intuition
  2791. +# of exeext.
  2792. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2793. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2794. +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2795. +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2796. + (eval $ac_link_default) 2>&5
  2797. + ac_status=$?
  2798. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2799. + (exit $ac_status); }; then
  2800. + # Find the output, starting from the most likely. This scheme is
  2801. +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2802. +# resort.
  2803. +
  2804. +# Be careful to initialize this variable, since it used to be cached.
  2805. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2806. +ac_cv_exeext=
  2807. +# b.out is created by i960 compilers.
  2808. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2809. +do
  2810. + test -f "$ac_file" || continue
  2811. + case $ac_file in
  2812. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2813. + ;;
  2814. + conftest.$ac_ext )
  2815. + # This is the source file.
  2816. + ;;
  2817. + [ab].out )
  2818. + # We found the default executable, but exeext='' is most
  2819. + # certainly right.
  2820. + break;;
  2821. + *.* )
  2822. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2823. + # FIXME: I believe we export ac_cv_exeext for Libtool,
  2824. + # but it would be cool to find out if it's true. Does anybody
  2825. + # maintain Libtool? --akim.
  2826. + export ac_cv_exeext
  2827. + break;;
  2828. + * )
  2829. + break;;
  2830. + esac
  2831. +done
  2832. +else
  2833. + echo "$as_me: failed program was:" >&5
  2834. +sed 's/^/| /' conftest.$ac_ext >&5
  2835. +
  2836. +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2837. +See \`config.log' for more details." >&5
  2838. +echo "$as_me: error: C compiler cannot create executables
  2839. +See \`config.log' for more details." >&2;}
  2840. + { (exit 77); exit 77; }; }
  2841. +fi
  2842. +
  2843. +ac_exeext=$ac_cv_exeext
  2844. +echo "$as_me:$LINENO: result: $ac_file" >&5
  2845. +echo "${ECHO_T}$ac_file" >&6
  2846. +
  2847. +# Check the compiler produces executables we can run. If not, either
  2848. +# the compiler is broken, or we cross compile.
  2849. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2850. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2851. +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2852. +# If not cross compiling, check that we can run a simple program.
  2853. +if test "$cross_compiling" != yes; then
  2854. + if { ac_try='./$ac_file'
  2855. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2856. + (eval $ac_try) 2>&5
  2857. + ac_status=$?
  2858. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2859. + (exit $ac_status); }; }; then
  2860. + cross_compiling=no
  2861. + else
  2862. + if test "$cross_compiling" = maybe; then
  2863. + cross_compiling=yes
  2864. + else
  2865. + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2866. +If you meant to cross compile, use \`--host'.
  2867. +See \`config.log' for more details." >&5
  2868. +echo "$as_me: error: cannot run C compiled programs.
  2869. +If you meant to cross compile, use \`--host'.
  2870. +See \`config.log' for more details." >&2;}
  2871. + { (exit 1); exit 1; }; }
  2872. fi
  2873. fi
  2874. +fi
  2875. +echo "$as_me:$LINENO: result: yes" >&5
  2876. +echo "${ECHO_T}yes" >&6
  2877. +
  2878. +rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2879. +ac_clean_files=$ac_clean_files_save
  2880. +# Check the compiler produces executables we can run. If not, either
  2881. +# the compiler is broken, or we cross compile.
  2882. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2883. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2884. +echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2885. +echo "${ECHO_T}$cross_compiling" >&6
  2886. +
  2887. +echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2888. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2889. +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2890. + (eval $ac_link) 2>&5
  2891. + ac_status=$?
  2892. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2893. + (exit $ac_status); }; then
  2894. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2895. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2896. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  2897. +# `rm'.
  2898. +for ac_file in conftest.exe conftest conftest.*; do
  2899. + test -f "$ac_file" || continue
  2900. + case $ac_file in
  2901. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2902. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2903. + export ac_cv_exeext
  2904. + break;;
  2905. + * ) break;;
  2906. + esac
  2907. +done
  2908. +else
  2909. + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2910. +See \`config.log' for more details." >&5
  2911. +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2912. +See \`config.log' for more details." >&2;}
  2913. + { (exit 1); exit 1; }; }
  2914. +fi
  2915. +
  2916. +rm -f conftest$ac_cv_exeext
  2917. +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2918. +echo "${ECHO_T}$ac_cv_exeext" >&6
  2919. +
  2920. +rm -f conftest.$ac_ext
  2921. +EXEEXT=$ac_cv_exeext
  2922. +ac_exeext=$EXEEXT
  2923. +echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2924. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2925. +if test "${ac_cv_objext+set}" = set; then
  2926. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2927. +else
  2928. + cat >conftest.$ac_ext <<_ACEOF
  2929. +/* confdefs.h. */
  2930. +_ACEOF
  2931. +cat confdefs.h >>conftest.$ac_ext
  2932. +cat >>conftest.$ac_ext <<_ACEOF
  2933. +/* end confdefs.h. */
  2934. +
  2935. +int
  2936. +main ()
  2937. +{
  2938. +
  2939. + ;
  2940. + return 0;
  2941. +}
  2942. +_ACEOF
  2943. +rm -f conftest.o conftest.obj
  2944. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2945. + (eval $ac_compile) 2>&5
  2946. + ac_status=$?
  2947. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2948. + (exit $ac_status); }; then
  2949. + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2950. + case $ac_file in
  2951. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2952. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2953. + break;;
  2954. + esac
  2955. +done
  2956. +else
  2957. + echo "$as_me: failed program was:" >&5
  2958. +sed 's/^/| /' conftest.$ac_ext >&5
  2959. +
  2960. +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2961. +See \`config.log' for more details." >&5
  2962. +echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2963. +See \`config.log' for more details." >&2;}
  2964. + { (exit 1); exit 1; }; }
  2965. +fi
  2966. +
  2967. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2968. +fi
  2969. +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2970. +echo "${ECHO_T}$ac_cv_objext" >&6
  2971. +OBJEXT=$ac_cv_objext
  2972. +ac_objext=$OBJEXT
  2973. +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2974. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2975. +if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2976. + echo $ECHO_N "(cached) $ECHO_C" >&6
  2977. +else
  2978. + cat >conftest.$ac_ext <<_ACEOF
  2979. +/* confdefs.h. */
  2980. +_ACEOF
  2981. +cat confdefs.h >>conftest.$ac_ext
  2982. +cat >>conftest.$ac_ext <<_ACEOF
  2983. +/* end confdefs.h. */
  2984. +
  2985. +int
  2986. +main ()
  2987. +{
  2988. +#ifndef __GNUC__
  2989. + choke me
  2990. +#endif
  2991. +
  2992. + ;
  2993. + return 0;
  2994. +}
  2995. +_ACEOF
  2996. +rm -f conftest.$ac_objext
  2997. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2998. + (eval $ac_compile) 2>conftest.er1
  2999. + ac_status=$?
  3000. + grep -v '^ *+' conftest.er1 >conftest.err
  3001. + rm -f conftest.er1
  3002. + cat conftest.err >&5
  3003. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3004. + (exit $ac_status); } &&
  3005. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3006. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3007. + (eval $ac_try) 2>&5
  3008. + ac_status=$?
  3009. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3010. + (exit $ac_status); }; } &&
  3011. + { ac_try='test -s conftest.$ac_objext'
  3012. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3013. + (eval $ac_try) 2>&5
  3014. + ac_status=$?
  3015. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3016. + (exit $ac_status); }; }; then
  3017. + ac_compiler_gnu=yes
  3018. +else
  3019. + echo "$as_me: failed program was:" >&5
  3020. +sed 's/^/| /' conftest.$ac_ext >&5
  3021. +
  3022. +ac_compiler_gnu=no
  3023. +fi
  3024. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3025. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3026. +
  3027. +fi
  3028. +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3029. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  3030. +GCC=`test $ac_compiler_gnu = yes && echo yes`
  3031. +ac_test_CFLAGS=${CFLAGS+set}
  3032. +ac_save_CFLAGS=$CFLAGS
  3033. +CFLAGS="-g"
  3034. +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3035. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  3036. +if test "${ac_cv_prog_cc_g+set}" = set; then
  3037. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3038. +else
  3039. + cat >conftest.$ac_ext <<_ACEOF
  3040. +/* confdefs.h. */
  3041. +_ACEOF
  3042. +cat confdefs.h >>conftest.$ac_ext
  3043. +cat >>conftest.$ac_ext <<_ACEOF
  3044. +/* end confdefs.h. */
  3045. +
  3046. +int
  3047. +main ()
  3048. +{
  3049. +
  3050. + ;
  3051. + return 0;
  3052. +}
  3053. +_ACEOF
  3054. +rm -f conftest.$ac_objext
  3055. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3056. + (eval $ac_compile) 2>conftest.er1
  3057. + ac_status=$?
  3058. + grep -v '^ *+' conftest.er1 >conftest.err
  3059. + rm -f conftest.er1
  3060. + cat conftest.err >&5
  3061. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3062. + (exit $ac_status); } &&
  3063. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3064. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3065. + (eval $ac_try) 2>&5
  3066. + ac_status=$?
  3067. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3068. + (exit $ac_status); }; } &&
  3069. + { ac_try='test -s conftest.$ac_objext'
  3070. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3071. + (eval $ac_try) 2>&5
  3072. + ac_status=$?
  3073. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3074. + (exit $ac_status); }; }; then
  3075. + ac_cv_prog_cc_g=yes
  3076. +else
  3077. + echo "$as_me: failed program was:" >&5
  3078. +sed 's/^/| /' conftest.$ac_ext >&5
  3079. +
  3080. +ac_cv_prog_cc_g=no
  3081. +fi
  3082. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3083. +fi
  3084. +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3085. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  3086. +if test "$ac_test_CFLAGS" = set; then
  3087. + CFLAGS=$ac_save_CFLAGS
  3088. +elif test $ac_cv_prog_cc_g = yes; then
  3089. + if test "$GCC" = yes; then
  3090. + CFLAGS="-g -O2"
  3091. + else
  3092. + CFLAGS="-g"
  3093. + fi
  3094. +else
  3095. + if test "$GCC" = yes; then
  3096. + CFLAGS="-O2"
  3097. + else
  3098. + CFLAGS=
  3099. + fi
  3100. +fi
  3101. +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  3102. +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  3103. +if test "${ac_cv_prog_cc_stdc+set}" = set; then
  3104. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3105. +else
  3106. + ac_cv_prog_cc_stdc=no
  3107. +ac_save_CC=$CC
  3108. +cat >conftest.$ac_ext <<_ACEOF
  3109. +/* confdefs.h. */
  3110. +_ACEOF
  3111. +cat confdefs.h >>conftest.$ac_ext
  3112. +cat >>conftest.$ac_ext <<_ACEOF
  3113. +/* end confdefs.h. */
  3114. +#include <stdarg.h>
  3115. +#include <stdio.h>
  3116. +#include <sys/types.h>
  3117. +#include <sys/stat.h>
  3118. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3119. +struct buf { int x; };
  3120. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3121. +static char *e (p, i)
  3122. + char **p;
  3123. + int i;
  3124. +{
  3125. + return p[i];
  3126. +}
  3127. +static char *f (char * (*g) (char **, int), char **p, ...)
  3128. +{
  3129. + char *s;
  3130. + va_list v;
  3131. + va_start (v,p);
  3132. + s = g (p, va_arg (v,int));
  3133. + va_end (v);
  3134. + return s;
  3135. +}
  3136. +
  3137. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3138. + function prototypes and stuff, but not '\xHH' hex character constants.
  3139. + These don't provoke an error unfortunately, instead are silently treated
  3140. + as 'x'. The following induces an error, until -std1 is added to get
  3141. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3142. + array size at least. It's necessary to write '\x00'==0 to get something
  3143. + that's true only with -std1. */
  3144. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3145. +
  3146. +int test (int i, double x);
  3147. +struct s1 {int (*f) (int a);};
  3148. +struct s2 {int (*f) (double a);};
  3149. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3150. +int argc;
  3151. +char **argv;
  3152. +int
  3153. +main ()
  3154. +{
  3155. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3156. + ;
  3157. + return 0;
  3158. +}
  3159. +_ACEOF
  3160. +# Don't try gcc -ansi; that turns off useful extensions and
  3161. +# breaks some systems' header files.
  3162. +# AIX -qlanglvl=ansi
  3163. +# Ultrix and OSF/1 -std1
  3164. +# HP-UX 10.20 and later -Ae
  3165. +# HP-UX older versions -Aa -D_HPUX_SOURCE
  3166. +# SVR4 -Xc -D__EXTENSIONS__
  3167. +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3168. +do
  3169. + CC="$ac_save_CC $ac_arg"
  3170. + rm -f conftest.$ac_objext
  3171. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3172. + (eval $ac_compile) 2>conftest.er1
  3173. + ac_status=$?
  3174. + grep -v '^ *+' conftest.er1 >conftest.err
  3175. + rm -f conftest.er1
  3176. + cat conftest.err >&5
  3177. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3178. + (exit $ac_status); } &&
  3179. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3180. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3181. + (eval $ac_try) 2>&5
  3182. + ac_status=$?
  3183. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3184. + (exit $ac_status); }; } &&
  3185. + { ac_try='test -s conftest.$ac_objext'
  3186. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3187. + (eval $ac_try) 2>&5
  3188. + ac_status=$?
  3189. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3190. + (exit $ac_status); }; }; then
  3191. + ac_cv_prog_cc_stdc=$ac_arg
  3192. +break
  3193. +else
  3194. + echo "$as_me: failed program was:" >&5
  3195. +sed 's/^/| /' conftest.$ac_ext >&5
  3196. +
  3197. +fi
  3198. +rm -f conftest.err conftest.$ac_objext
  3199. +done
  3200. +rm -f conftest.$ac_ext conftest.$ac_objext
  3201. +CC=$ac_save_CC
  3202. +
  3203. +fi
  3204. +
  3205. +case "x$ac_cv_prog_cc_stdc" in
  3206. + x|xno)
  3207. + echo "$as_me:$LINENO: result: none needed" >&5
  3208. +echo "${ECHO_T}none needed" >&6 ;;
  3209. + *)
  3210. + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  3211. +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  3212. + CC="$CC $ac_cv_prog_cc_stdc" ;;
  3213. +esac
  3214. +
  3215. +# Some people use a C++ compiler to compile C. Since we use `exit',
  3216. +# in C++ we need to declare it. In case someone uses the same compiler
  3217. +# for both compiling C and C++ we need to have the C++ compiler decide
  3218. +# the declaration of exit, since it's the most demanding environment.
  3219. +cat >conftest.$ac_ext <<_ACEOF
  3220. +#ifndef __cplusplus
  3221. + choke me
  3222. +#endif
  3223. +_ACEOF
  3224. +rm -f conftest.$ac_objext
  3225. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3226. + (eval $ac_compile) 2>conftest.er1
  3227. + ac_status=$?
  3228. + grep -v '^ *+' conftest.er1 >conftest.err
  3229. + rm -f conftest.er1
  3230. + cat conftest.err >&5
  3231. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3232. + (exit $ac_status); } &&
  3233. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3234. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3235. + (eval $ac_try) 2>&5
  3236. + ac_status=$?
  3237. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3238. + (exit $ac_status); }; } &&
  3239. + { ac_try='test -s conftest.$ac_objext'
  3240. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3241. + (eval $ac_try) 2>&5
  3242. + ac_status=$?
  3243. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3244. + (exit $ac_status); }; }; then
  3245. + for ac_declaration in \
  3246. + '' \
  3247. + 'extern "C" void std::exit (int) throw (); using std::exit;' \
  3248. + 'extern "C" void std::exit (int); using std::exit;' \
  3249. + 'extern "C" void exit (int) throw ();' \
  3250. + 'extern "C" void exit (int);' \
  3251. + 'void exit (int);'
  3252. +do
  3253. + cat >conftest.$ac_ext <<_ACEOF
  3254. +/* confdefs.h. */
  3255. +_ACEOF
  3256. +cat confdefs.h >>conftest.$ac_ext
  3257. +cat >>conftest.$ac_ext <<_ACEOF
  3258. +/* end confdefs.h. */
  3259. +$ac_declaration
  3260. +#include <stdlib.h>
  3261. +int
  3262. +main ()
  3263. +{
  3264. +exit (42);
  3265. + ;
  3266. + return 0;
  3267. +}
  3268. +_ACEOF
  3269. +rm -f conftest.$ac_objext
  3270. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3271. + (eval $ac_compile) 2>conftest.er1
  3272. + ac_status=$?
  3273. + grep -v '^ *+' conftest.er1 >conftest.err
  3274. + rm -f conftest.er1
  3275. + cat conftest.err >&5
  3276. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3277. + (exit $ac_status); } &&
  3278. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3279. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3280. + (eval $ac_try) 2>&5
  3281. + ac_status=$?
  3282. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3283. + (exit $ac_status); }; } &&
  3284. + { ac_try='test -s conftest.$ac_objext'
  3285. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3286. + (eval $ac_try) 2>&5
  3287. + ac_status=$?
  3288. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3289. + (exit $ac_status); }; }; then
  3290. + :
  3291. +else
  3292. + echo "$as_me: failed program was:" >&5
  3293. +sed 's/^/| /' conftest.$ac_ext >&5
  3294. +
  3295. +continue
  3296. +fi
  3297. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3298. + cat >conftest.$ac_ext <<_ACEOF
  3299. +/* confdefs.h. */
  3300. +_ACEOF
  3301. +cat confdefs.h >>conftest.$ac_ext
  3302. +cat >>conftest.$ac_ext <<_ACEOF
  3303. +/* end confdefs.h. */
  3304. +$ac_declaration
  3305. +int
  3306. +main ()
  3307. +{
  3308. +exit (42);
  3309. + ;
  3310. + return 0;
  3311. +}
  3312. +_ACEOF
  3313. +rm -f conftest.$ac_objext
  3314. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3315. + (eval $ac_compile) 2>conftest.er1
  3316. + ac_status=$?
  3317. + grep -v '^ *+' conftest.er1 >conftest.err
  3318. + rm -f conftest.er1
  3319. + cat conftest.err >&5
  3320. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3321. + (exit $ac_status); } &&
  3322. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3323. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3324. + (eval $ac_try) 2>&5
  3325. + ac_status=$?
  3326. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3327. + (exit $ac_status); }; } &&
  3328. + { ac_try='test -s conftest.$ac_objext'
  3329. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3330. + (eval $ac_try) 2>&5
  3331. + ac_status=$?
  3332. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3333. + (exit $ac_status); }; }; then
  3334. + break
  3335. +else
  3336. + echo "$as_me: failed program was:" >&5
  3337. +sed 's/^/| /' conftest.$ac_ext >&5
  3338. +
  3339. +fi
  3340. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3341. +done
  3342. +rm -f conftest*
  3343. +if test -n "$ac_declaration"; then
  3344. + echo '#ifdef __cplusplus' >>confdefs.h
  3345. + echo $ac_declaration >>confdefs.h
  3346. + echo '#endif' >>confdefs.h
  3347. +fi
  3348. +
  3349. else
  3350. - GCC=
  3351. - test "${CFLAGS+set}" = set || CFLAGS="-g"
  3352. + echo "$as_me: failed program was:" >&5
  3353. +sed 's/^/| /' conftest.$ac_ext >&5
  3354. +
  3355. fi
  3356. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3357. +ac_ext=c
  3358. +ac_cpp='$CPP $CPPFLAGS'
  3359. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3360. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3361. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3362. ac_aux_dir=
  3363. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  3364. @@ -649,14 +2199,20 @@
  3365. ac_aux_dir=$ac_dir
  3366. ac_install_sh="$ac_aux_dir/install.sh -c"
  3367. break
  3368. + elif test -f $ac_dir/shtool; then
  3369. + ac_aux_dir=$ac_dir
  3370. + ac_install_sh="$ac_aux_dir/shtool install -c"
  3371. + break
  3372. fi
  3373. done
  3374. if test -z "$ac_aux_dir"; then
  3375. - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  3376. -fi
  3377. -ac_config_guess=$ac_aux_dir/config.guess
  3378. -ac_config_sub=$ac_aux_dir/config.sub
  3379. -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  3380. + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  3381. +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  3382. + { (exit 1); exit 1; }; }
  3383. +fi
  3384. +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  3385. +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  3386. +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  3387. # Find a good install program. We prefer a C program (faster),
  3388. # so one script is as good as another. But avoid the broken or
  3389. @@ -665,655 +2221,1875 @@
  3390. # SunOS /usr/etc/install
  3391. # IRIX /sbin/install
  3392. # AIX /bin/install
  3393. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  3394. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  3395. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3396. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3397. +# OS/2's system install, which has a completely different semantic
  3398. # ./install, which can be erroneously created by make from ./install.sh.
  3399. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  3400. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3401. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  3402. if test -z "$INSTALL"; then
  3403. -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  3404. - echo $ac_n "(cached) $ac_c" 1>&6
  3405. +if test "${ac_cv_path_install+set}" = set; then
  3406. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3407. else
  3408. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  3409. - for ac_dir in $PATH; do
  3410. - # Account for people who put trailing slashes in PATH elements.
  3411. - case "$ac_dir/" in
  3412. - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  3413. - *)
  3414. - # OSF1 and SCO ODT 3.0 have their own names for install.
  3415. - for ac_prog in ginstall installbsd scoinst install; do
  3416. - if test -f $ac_dir/$ac_prog; then
  3417. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3418. +for as_dir in $PATH
  3419. +do
  3420. + IFS=$as_save_IFS
  3421. + test -z "$as_dir" && as_dir=.
  3422. + # Account for people who put trailing slashes in PATH elements.
  3423. +case $as_dir/ in
  3424. + ./ | .// | /cC/* | \
  3425. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3426. + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  3427. + /usr/ucb/* ) ;;
  3428. + *)
  3429. + # OSF1 and SCO ODT 3.0 have their own names for install.
  3430. + # Don't use installbsd from OSF since it installs stuff as root
  3431. + # by default.
  3432. + for ac_prog in ginstall scoinst install; do
  3433. + for ac_exec_ext in '' $ac_executable_extensions; do
  3434. + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3435. if test $ac_prog = install &&
  3436. - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  3437. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3438. # AIX install. It has an incompatible calling convention.
  3439. - # OSF/1 installbsd also uses dspmsg, but is usable.
  3440. + :
  3441. + elif test $ac_prog = install &&
  3442. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3443. + # program-specific install script used by HP pwplus--don't use.
  3444. :
  3445. else
  3446. - ac_cv_path_install="$ac_dir/$ac_prog -c"
  3447. - break 2
  3448. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  3449. + break 3
  3450. fi
  3451. fi
  3452. done
  3453. - ;;
  3454. - esac
  3455. - done
  3456. - IFS="$ac_save_ifs"
  3457. + done
  3458. + ;;
  3459. +esac
  3460. +done
  3461. +
  3462. fi
  3463. if test "${ac_cv_path_install+set}" = set; then
  3464. - INSTALL="$ac_cv_path_install"
  3465. + INSTALL=$ac_cv_path_install
  3466. else
  3467. # As a last resort, use the slow shell script. We don't cache a
  3468. # path for INSTALL within a source directory, because that will
  3469. # break other packages using the cache if that directory is
  3470. # removed, or if the path is relative.
  3471. - INSTALL="$ac_install_sh"
  3472. + INSTALL=$ac_install_sh
  3473. fi
  3474. fi
  3475. -echo "$ac_t""$INSTALL" 1>&6
  3476. +echo "$as_me:$LINENO: result: $INSTALL" >&5
  3477. +echo "${ECHO_T}$INSTALL" >&6
  3478. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3479. # It thinks the first close brace ends the variable substitution.
  3480. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  3481. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  3482. +
  3483. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3484. -# Extract the first word of "ranlib", so it can be a program name with args.
  3485. -set dummy ranlib; ac_word=$2
  3486. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  3487. -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  3488. - echo $ac_n "(cached) $ac_c" 1>&6
  3489. +if test -n "$ac_tool_prefix"; then
  3490. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  3491. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  3492. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  3493. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3494. +if test "${ac_cv_prog_RANLIB+set}" = set; then
  3495. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3496. else
  3497. if test -n "$RANLIB"; then
  3498. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3499. else
  3500. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  3501. - for ac_dir in $PATH; do
  3502. - test -z "$ac_dir" && ac_dir=.
  3503. - if test -f $ac_dir/$ac_word; then
  3504. - ac_cv_prog_RANLIB="ranlib"
  3505. - break
  3506. - fi
  3507. - done
  3508. - IFS="$ac_save_ifs"
  3509. - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  3510. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3511. +for as_dir in $PATH
  3512. +do
  3513. + IFS=$as_save_IFS
  3514. + test -z "$as_dir" && as_dir=.
  3515. + for ac_exec_ext in '' $ac_executable_extensions; do
  3516. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3517. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  3518. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3519. + break 2
  3520. + fi
  3521. +done
  3522. +done
  3523. +
  3524. fi
  3525. fi
  3526. -RANLIB="$ac_cv_prog_RANLIB"
  3527. +RANLIB=$ac_cv_prog_RANLIB
  3528. if test -n "$RANLIB"; then
  3529. - echo "$ac_t""$RANLIB" 1>&6
  3530. + echo "$as_me:$LINENO: result: $RANLIB" >&5
  3531. +echo "${ECHO_T}$RANLIB" >&6
  3532. +else
  3533. + echo "$as_me:$LINENO: result: no" >&5
  3534. +echo "${ECHO_T}no" >&6
  3535. +fi
  3536. +
  3537. +fi
  3538. +if test -z "$ac_cv_prog_RANLIB"; then
  3539. + ac_ct_RANLIB=$RANLIB
  3540. + # Extract the first word of "ranlib", so it can be a program name with args.
  3541. +set dummy ranlib; ac_word=$2
  3542. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  3543. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  3544. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  3545. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3546. +else
  3547. + if test -n "$ac_ct_RANLIB"; then
  3548. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  3549. +else
  3550. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3551. +for as_dir in $PATH
  3552. +do
  3553. + IFS=$as_save_IFS
  3554. + test -z "$as_dir" && as_dir=.
  3555. + for ac_exec_ext in '' $ac_executable_extensions; do
  3556. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3557. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  3558. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3559. + break 2
  3560. + fi
  3561. +done
  3562. +done
  3563. +
  3564. + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
  3565. +fi
  3566. +fi
  3567. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  3568. +if test -n "$ac_ct_RANLIB"; then
  3569. + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  3570. +echo "${ECHO_T}$ac_ct_RANLIB" >&6
  3571. +else
  3572. + echo "$as_me:$LINENO: result: no" >&5
  3573. +echo "${ECHO_T}no" >&6
  3574. +fi
  3575. +
  3576. + RANLIB=$ac_ct_RANLIB
  3577. else
  3578. - echo "$ac_t""no" 1>&6
  3579. + RANLIB="$ac_cv_prog_RANLIB"
  3580. fi
  3581. -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  3582. +
  3583. +ac_ext=c
  3584. +ac_cpp='$CPP $CPPFLAGS'
  3585. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3586. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3587. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3588. +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3589. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3590. # On Suns, sometimes $CPP names a directory.
  3591. if test -n "$CPP" && test -d "$CPP"; then
  3592. CPP=
  3593. fi
  3594. if test -z "$CPP"; then
  3595. -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  3596. - echo $ac_n "(cached) $ac_c" 1>&6
  3597. + if test "${ac_cv_prog_CPP+set}" = set; then
  3598. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3599. else
  3600. - # This must be in double quotes, not single quotes, because CPP may get
  3601. - # substituted into the Makefile and "${CC-cc}" will confuse make.
  3602. - CPP="${CC-cc} -E"
  3603. + # Double quotes because CPP needs to be expanded
  3604. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3605. + do
  3606. + ac_preproc_ok=false
  3607. +for ac_c_preproc_warn_flag in '' yes
  3608. +do
  3609. + # Use a header file that comes with gcc, so configuring glibc
  3610. + # with a fresh cross-compiler works.
  3611. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3612. + # <limits.h> exists even on freestanding compilers.
  3613. # On the NeXT, cc -E runs the code through the compiler's parser,
  3614. - # not just through cpp.
  3615. - cat > conftest.$ac_ext <<EOF
  3616. -#line 765 "configure"
  3617. -#include "confdefs.h"
  3618. -#include <assert.h>
  3619. -Syntax Error
  3620. -EOF
  3621. -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3622. -{ (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3623. -ac_err=`grep -v '^ *+' conftest.out`
  3624. -if test -z "$ac_err"; then
  3625. + # not just through cpp. "Syntax error" is here to catch this case.
  3626. + cat >conftest.$ac_ext <<_ACEOF
  3627. +/* confdefs.h. */
  3628. +_ACEOF
  3629. +cat confdefs.h >>conftest.$ac_ext
  3630. +cat >>conftest.$ac_ext <<_ACEOF
  3631. +/* end confdefs.h. */
  3632. +#ifdef __STDC__
  3633. +# include <limits.h>
  3634. +#else
  3635. +# include <assert.h>
  3636. +#endif
  3637. + Syntax error
  3638. +_ACEOF
  3639. +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3640. + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3641. + ac_status=$?
  3642. + grep -v '^ *+' conftest.er1 >conftest.err
  3643. + rm -f conftest.er1
  3644. + cat conftest.err >&5
  3645. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3646. + (exit $ac_status); } >/dev/null; then
  3647. + if test -s conftest.err; then
  3648. + ac_cpp_err=$ac_c_preproc_warn_flag
  3649. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3650. + else
  3651. + ac_cpp_err=
  3652. + fi
  3653. +else
  3654. + ac_cpp_err=yes
  3655. +fi
  3656. +if test -z "$ac_cpp_err"; then
  3657. :
  3658. else
  3659. - echo "$ac_err" >&5
  3660. - rm -rf conftest*
  3661. - CPP="${CC-cc} -E -traditional-cpp"
  3662. - cat > conftest.$ac_ext <<EOF
  3663. -#line 780 "configure"
  3664. -#include "confdefs.h"
  3665. -#include <assert.h>
  3666. -Syntax Error
  3667. -EOF
  3668. -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3669. -{ (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3670. -ac_err=`grep -v '^ *+' conftest.out`
  3671. -if test -z "$ac_err"; then
  3672. + echo "$as_me: failed program was:" >&5
  3673. +sed 's/^/| /' conftest.$ac_ext >&5
  3674. +
  3675. + # Broken: fails on valid input.
  3676. +continue
  3677. +fi
  3678. +rm -f conftest.err conftest.$ac_ext
  3679. +
  3680. + # OK, works on sane cases. Now check whether non-existent headers
  3681. + # can be detected and how.
  3682. + cat >conftest.$ac_ext <<_ACEOF
  3683. +/* confdefs.h. */
  3684. +_ACEOF
  3685. +cat confdefs.h >>conftest.$ac_ext
  3686. +cat >>conftest.$ac_ext <<_ACEOF
  3687. +/* end confdefs.h. */
  3688. +#include <ac_nonexistent.h>
  3689. +_ACEOF
  3690. +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3691. + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3692. + ac_status=$?
  3693. + grep -v '^ *+' conftest.er1 >conftest.err
  3694. + rm -f conftest.er1
  3695. + cat conftest.err >&5
  3696. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3697. + (exit $ac_status); } >/dev/null; then
  3698. + if test -s conftest.err; then
  3699. + ac_cpp_err=$ac_c_preproc_warn_flag
  3700. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3701. + else
  3702. + ac_cpp_err=
  3703. + fi
  3704. +else
  3705. + ac_cpp_err=yes
  3706. +fi
  3707. +if test -z "$ac_cpp_err"; then
  3708. + # Broken: success on invalid input.
  3709. +continue
  3710. +else
  3711. + echo "$as_me: failed program was:" >&5
  3712. +sed 's/^/| /' conftest.$ac_ext >&5
  3713. +
  3714. + # Passes both tests.
  3715. +ac_preproc_ok=:
  3716. +break
  3717. +fi
  3718. +rm -f conftest.err conftest.$ac_ext
  3719. +
  3720. +done
  3721. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3722. +rm -f conftest.err conftest.$ac_ext
  3723. +if $ac_preproc_ok; then
  3724. + break
  3725. +fi
  3726. +
  3727. + done
  3728. + ac_cv_prog_CPP=$CPP
  3729. +
  3730. +fi
  3731. + CPP=$ac_cv_prog_CPP
  3732. +else
  3733. + ac_cv_prog_CPP=$CPP
  3734. +fi
  3735. +echo "$as_me:$LINENO: result: $CPP" >&5
  3736. +echo "${ECHO_T}$CPP" >&6
  3737. +ac_preproc_ok=false
  3738. +for ac_c_preproc_warn_flag in '' yes
  3739. +do
  3740. + # Use a header file that comes with gcc, so configuring glibc
  3741. + # with a fresh cross-compiler works.
  3742. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3743. + # <limits.h> exists even on freestanding compilers.
  3744. + # On the NeXT, cc -E runs the code through the compiler's parser,
  3745. + # not just through cpp. "Syntax error" is here to catch this case.
  3746. + cat >conftest.$ac_ext <<_ACEOF
  3747. +/* confdefs.h. */
  3748. +_ACEOF
  3749. +cat confdefs.h >>conftest.$ac_ext
  3750. +cat >>conftest.$ac_ext <<_ACEOF
  3751. +/* end confdefs.h. */
  3752. +#ifdef __STDC__
  3753. +# include <limits.h>
  3754. +#else
  3755. +# include <assert.h>
  3756. +#endif
  3757. + Syntax error
  3758. +_ACEOF
  3759. +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3760. + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3761. + ac_status=$?
  3762. + grep -v '^ *+' conftest.er1 >conftest.err
  3763. + rm -f conftest.er1
  3764. + cat conftest.err >&5
  3765. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3766. + (exit $ac_status); } >/dev/null; then
  3767. + if test -s conftest.err; then
  3768. + ac_cpp_err=$ac_c_preproc_warn_flag
  3769. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3770. + else
  3771. + ac_cpp_err=
  3772. + fi
  3773. +else
  3774. + ac_cpp_err=yes
  3775. +fi
  3776. +if test -z "$ac_cpp_err"; then
  3777. :
  3778. else
  3779. - echo "$ac_err" >&5
  3780. - rm -rf conftest*
  3781. - CPP=/lib/cpp
  3782. + echo "$as_me: failed program was:" >&5
  3783. +sed 's/^/| /' conftest.$ac_ext >&5
  3784. +
  3785. + # Broken: fails on valid input.
  3786. +continue
  3787. fi
  3788. -rm -f conftest*
  3789. +rm -f conftest.err conftest.$ac_ext
  3790. +
  3791. + # OK, works on sane cases. Now check whether non-existent headers
  3792. + # can be detected and how.
  3793. + cat >conftest.$ac_ext <<_ACEOF
  3794. +/* confdefs.h. */
  3795. +_ACEOF
  3796. +cat confdefs.h >>conftest.$ac_ext
  3797. +cat >>conftest.$ac_ext <<_ACEOF
  3798. +/* end confdefs.h. */
  3799. +#include <ac_nonexistent.h>
  3800. +_ACEOF
  3801. +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3802. + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3803. + ac_status=$?
  3804. + grep -v '^ *+' conftest.er1 >conftest.err
  3805. + rm -f conftest.er1
  3806. + cat conftest.err >&5
  3807. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3808. + (exit $ac_status); } >/dev/null; then
  3809. + if test -s conftest.err; then
  3810. + ac_cpp_err=$ac_c_preproc_warn_flag
  3811. + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3812. + else
  3813. + ac_cpp_err=
  3814. + fi
  3815. +else
  3816. + ac_cpp_err=yes
  3817. fi
  3818. -rm -f conftest*
  3819. - ac_cv_prog_CPP="$CPP"
  3820. +if test -z "$ac_cpp_err"; then
  3821. + # Broken: success on invalid input.
  3822. +continue
  3823. +else
  3824. + echo "$as_me: failed program was:" >&5
  3825. +sed 's/^/| /' conftest.$ac_ext >&5
  3826. +
  3827. + # Passes both tests.
  3828. +ac_preproc_ok=:
  3829. +break
  3830. fi
  3831. - CPP="$ac_cv_prog_CPP"
  3832. +rm -f conftest.err conftest.$ac_ext
  3833. +
  3834. +done
  3835. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3836. +rm -f conftest.err conftest.$ac_ext
  3837. +if $ac_preproc_ok; then
  3838. + :
  3839. else
  3840. - ac_cv_prog_CPP="$CPP"
  3841. + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  3842. +See \`config.log' for more details." >&5
  3843. +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  3844. +See \`config.log' for more details." >&2;}
  3845. + { (exit 1); exit 1; }; }
  3846. fi
  3847. -echo "$ac_t""$CPP" 1>&6
  3848. -cat > conftest.$ac_ext <<EOF
  3849. -#line 807 "configure"
  3850. -#include "confdefs.h"
  3851. +ac_ext=c
  3852. +ac_cpp='$CPP $CPPFLAGS'
  3853. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3854. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3855. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3856. +
  3857. +
  3858. +echo "$as_me:$LINENO: checking for egrep" >&5
  3859. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3860. +if test "${ac_cv_prog_egrep+set}" = set; then
  3861. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3862. +else
  3863. + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3864. + then ac_cv_prog_egrep='grep -E'
  3865. + else ac_cv_prog_egrep='egrep'
  3866. + fi
  3867. +fi
  3868. +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3869. +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3870. + EGREP=$ac_cv_prog_egrep
  3871. +
  3872. +
  3873. +cat >conftest.$ac_ext <<_ACEOF
  3874. +/* confdefs.h. */
  3875. +_ACEOF
  3876. +cat confdefs.h >>conftest.$ac_ext
  3877. +cat >>conftest.$ac_ext <<_ACEOF
  3878. +/* end confdefs.h. */
  3879. #include <pwd.h>
  3880. -EOF
  3881. +
  3882. +_ACEOF
  3883. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3884. - egrep "pw_quota" >/dev/null 2>&1; then
  3885. - rm -rf conftest*
  3886. - cat >> confdefs.h <<\EOF
  3887. + $EGREP "pw_quota" >/dev/null 2>&1; then
  3888. + cat >>confdefs.h <<\_ACEOF
  3889. #define HAVE_PW_QUOTA 1
  3890. -EOF
  3891. +_ACEOF
  3892. fi
  3893. rm -f conftest*
  3894. -cat > conftest.$ac_ext <<EOF
  3895. -#line 822 "configure"
  3896. -#include "confdefs.h"
  3897. +cat >conftest.$ac_ext <<_ACEOF
  3898. +/* confdefs.h. */
  3899. +_ACEOF
  3900. +cat confdefs.h >>conftest.$ac_ext
  3901. +cat >>conftest.$ac_ext <<_ACEOF
  3902. +/* end confdefs.h. */
  3903. #include <pwd.h>
  3904. -EOF
  3905. +
  3906. +_ACEOF
  3907. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3908. - egrep "pw_comment" >/dev/null 2>&1; then
  3909. - rm -rf conftest*
  3910. - cat >> confdefs.h <<\EOF
  3911. + $EGREP "pw_comment" >/dev/null 2>&1; then
  3912. + cat >>confdefs.h <<\_ACEOF
  3913. #define HAVE_PW_COMMENT 1
  3914. -EOF
  3915. +_ACEOF
  3916. fi
  3917. rm -f conftest*
  3918. -cat > conftest.$ac_ext <<EOF
  3919. -#line 837 "configure"
  3920. -#include "confdefs.h"
  3921. +cat >conftest.$ac_ext <<_ACEOF
  3922. +/* confdefs.h. */
  3923. +_ACEOF
  3924. +cat confdefs.h >>conftest.$ac_ext
  3925. +cat >>conftest.$ac_ext <<_ACEOF
  3926. +/* end confdefs.h. */
  3927. #include <pwd.h>
  3928. -EOF
  3929. +
  3930. +_ACEOF
  3931. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3932. - egrep "pw_class" >/dev/null 2>&1; then
  3933. - rm -rf conftest*
  3934. - cat >> confdefs.h <<\EOF
  3935. + $EGREP "pw_class" >/dev/null 2>&1; then
  3936. + cat >>confdefs.h <<\_ACEOF
  3937. #define HAVE_PW_CLASS 1
  3938. -EOF
  3939. +_ACEOF
  3940. fi
  3941. rm -f conftest*
  3942. -cat > conftest.$ac_ext <<EOF
  3943. -#line 852 "configure"
  3944. -#include "confdefs.h"
  3945. +cat >conftest.$ac_ext <<_ACEOF
  3946. +/* confdefs.h. */
  3947. +_ACEOF
  3948. +cat confdefs.h >>conftest.$ac_ext
  3949. +cat >>conftest.$ac_ext <<_ACEOF
  3950. +/* end confdefs.h. */
  3951. #include <pwd.h>
  3952. -EOF
  3953. +
  3954. +_ACEOF
  3955. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3956. - egrep "pw_change" >/dev/null 2>&1; then
  3957. - rm -rf conftest*
  3958. - cat >> confdefs.h <<\EOF
  3959. + $EGREP "pw_change" >/dev/null 2>&1; then
  3960. + cat >>confdefs.h <<\_ACEOF
  3961. #define HAVE_PW_CHANGE 1
  3962. -EOF
  3963. +_ACEOF
  3964. fi
  3965. rm -f conftest*
  3966. -cat > conftest.$ac_ext <<EOF
  3967. -#line 867 "configure"
  3968. -#include "confdefs.h"
  3969. +cat >conftest.$ac_ext <<_ACEOF
  3970. +/* confdefs.h. */
  3971. +_ACEOF
  3972. +cat confdefs.h >>conftest.$ac_ext
  3973. +cat >>conftest.$ac_ext <<_ACEOF
  3974. +/* end confdefs.h. */
  3975. #include <pwd.h>
  3976. -EOF
  3977. +
  3978. +_ACEOF
  3979. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3980. - egrep "pw_expire" >/dev/null 2>&1; then
  3981. - rm -rf conftest*
  3982. - cat >> confdefs.h <<\EOF
  3983. + $EGREP "pw_expire" >/dev/null 2>&1; then
  3984. + cat >>confdefs.h <<\_ACEOF
  3985. #define HAVE_PW_EXPIRE 1
  3986. -EOF
  3987. +_ACEOF
  3988. fi
  3989. rm -f conftest*
  3990. -echo $ac_n "checking for res_mkquery""... $ac_c" 1>&6
  3991. -if eval "test \"`echo '$''{'ac_cv_func_res_mkquery'+set}'`\" = set"; then
  3992. - echo $ac_n "(cached) $ac_c" 1>&6
  3993. -else
  3994. - cat > conftest.$ac_ext <<EOF
  3995. -#line 887 "configure"
  3996. -#include "confdefs.h"
  3997. +echo "$as_me:$LINENO: checking for res_ninit" >&5
  3998. +echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6
  3999. +if test "${ac_cv_func_res_ninit+set}" = set; then
  4000. + echo $ECHO_N "(cached) $ECHO_C" >&6
  4001. +else
  4002. + cat >conftest.$ac_ext <<_ACEOF
  4003. +/* confdefs.h. */
  4004. +_ACEOF
  4005. +cat confdefs.h >>conftest.$ac_ext
  4006. +cat >>conftest.$ac_ext <<_ACEOF
  4007. +/* end confdefs.h. */
  4008. +/* Define res_ninit to an innocuous variant, in case <limits.h> declares res_ninit.
  4009. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4010. +#define res_ninit innocuous_res_ninit
  4011. +
  4012. /* System header to define __stub macros and hopefully few prototypes,
  4013. - which can conflict with char res_mkquery(); below. */
  4014. -#include <assert.h>
  4015. -/* Override any gcc2 internal prototype to avoid an error. */
  4016. -/* We use char because int might match the return type of a gcc2
  4017. - builtin and then its argument prototype would still apply. */
  4018. -char res_mkquery();
  4019. + which can conflict with char res_ninit (); below.
  4020. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4021. + <limits.h> exists even on freestanding compilers. */
  4022. -int main() { return 0; }
  4023. -int t() {
  4024. +#ifdef __STDC__
  4025. +# include <limits.h>
  4026. +#else
  4027. +# include <assert.h>
  4028. +#endif
  4029. +#undef res_ninit
  4030. +
  4031. +/* Override any gcc2 internal prototype to avoid an error. */
  4032. +#ifdef __cplusplus
  4033. +extern "C"
  4034. +{
  4035. +#endif
  4036. +/* We use char because int might match the return type of a gcc2
  4037. + builtin and then its argument prototype would still apply. */
  4038. +char res_ninit ();
  4039. /* The GNU C library defines this for functions which it implements
  4040. to always fail with ENOSYS. Some functions are actually named
  4041. something starting with __ and the normal name is an alias. */
  4042. -#if defined (__stub_res_mkquery) || defined (__stub___res_mkquery)
  4043. +#if defined (__stub_res_ninit) || defined (__stub___res_ninit)
  4044. choke me
  4045. #else
  4046. -res_mkquery();
  4047. +char (*f) () = res_ninit;
  4048. +#endif
  4049. +#ifdef __cplusplus
  4050. +}
  4051. #endif
  4052. -; return 0; }
  4053. -EOF
  4054. -if { (eval echo configure:911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4055. - rm -rf conftest*
  4056. - eval "ac_cv_func_res_mkquery=yes"
  4057. -else
  4058. - rm -rf conftest*
  4059. - eval "ac_cv_func_res_mkquery=no"
  4060. -fi
  4061. -rm -f conftest*
  4062. -
  4063. -fi
  4064. -if eval "test \"`echo '$ac_cv_func_'res_mkquery`\" = yes"; then
  4065. - echo "$ac_t""yes" 1>&6
  4066. +int
  4067. +main ()
  4068. +{
  4069. +return f != res_ninit;
  4070. + ;
  4071. + return 0;
  4072. +}
  4073. +_ACEOF
  4074. +rm -f conftest.$ac_objext conftest$ac_exeext
  4075. +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4076. + (eval $ac_link) 2>conftest.er1
  4077. + ac_status=$?
  4078. + grep -v '^ *+' conftest.er1 >conftest.err
  4079. + rm -f conftest.er1
  4080. + cat conftest.err >&5
  4081. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4082. + (exit $ac_status); } &&
  4083. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4084. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4085. + (eval $ac_try) 2>&5
  4086. + ac_status=$?
  4087. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4088. + (exit $ac_status); }; } &&
  4089. + { ac_try='test -s conftest$ac_exeext'
  4090. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4091. + (eval $ac_try) 2>&5
  4092. + ac_status=$?
  4093. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4094. + (exit $ac_status); }; }; then
  4095. + ac_cv_func_res_ninit=yes
  4096. +else
  4097. + echo "$as_me: failed program was:" >&5
  4098. +sed 's/^/| /' conftest.$ac_ext >&5
  4099. +
  4100. +ac_cv_func_res_ninit=no
  4101. +fi
  4102. +rm -f conftest.err conftest.$ac_objext \
  4103. + conftest$ac_exeext conftest.$ac_ext
  4104. +fi
  4105. +echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5
  4106. +echo "${ECHO_T}$ac_cv_func_res_ninit" >&6
  4107. +if test $ac_cv_func_res_ninit = yes; then
  4108. :
  4109. else
  4110. - echo "$ac_t""no" 1>&6
  4111. -echo $ac_n "checking for -lresolv""... $ac_c" 1>&6
  4112. -ac_lib_var=`echo resolv'_'res_mkquery | tr './+\055' '__p_'`
  4113. -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  4114. - echo $ac_n "(cached) $ac_c" 1>&6
  4115. -else
  4116. - ac_save_LIBS="$LIBS"
  4117. -LIBS="-lresolv $LIBS"
  4118. -cat > conftest.$ac_ext <<EOF
  4119. -#line 934 "configure"
  4120. -#include "confdefs.h"
  4121. -/* Override any gcc2 internal prototype to avoid an error. */
  4122. -/* We use char because int might match the return type of a gcc2
  4123. - builtin and then its argument prototype would still apply. */
  4124. -char res_mkquery();
  4125. -
  4126. -int main() { return 0; }
  4127. -int t() {
  4128. -res_mkquery()
  4129. -; return 0; }
  4130. -EOF
  4131. -if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4132. - rm -rf conftest*
  4133. - eval "ac_cv_lib_$ac_lib_var=yes"
  4134. -else
  4135. - rm -rf conftest*
  4136. - eval "ac_cv_lib_$ac_lib_var=no"
  4137. + echo "$as_me:$LINENO: checking for standalone resolver library existence" >&5
  4138. +echo $ECHO_N "checking for standalone resolver library existence... $ECHO_C" >&6
  4139. + old_LIBS="$LIBS"
  4140. + LIBS="$LIBS -lresolv"
  4141. + cat >conftest.$ac_ext <<_ACEOF
  4142. +/* confdefs.h. */
  4143. +_ACEOF
  4144. +cat confdefs.h >>conftest.$ac_ext
  4145. +cat >>conftest.$ac_ext <<_ACEOF
  4146. +/* end confdefs.h. */
  4147. +#include <resolv.h>
  4148. +int
  4149. +main ()
  4150. +{
  4151. +res_ninit((void *)0);
  4152. + ;
  4153. + return 0;
  4154. +}
  4155. +_ACEOF
  4156. +rm -f conftest.$ac_objext conftest$ac_exeext
  4157. +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4158. + (eval $ac_link) 2>conftest.er1
  4159. + ac_status=$?
  4160. + grep -v '^ *+' conftest.er1 >conftest.err
  4161. + rm -f conftest.er1
  4162. + cat conftest.err >&5
  4163. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4164. + (exit $ac_status); } &&
  4165. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4166. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4167. + (eval $ac_try) 2>&5
  4168. + ac_status=$?
  4169. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4170. + (exit $ac_status); }; } &&
  4171. + { ac_try='test -s conftest$ac_exeext'
  4172. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4173. + (eval $ac_try) 2>&5
  4174. + ac_status=$?
  4175. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4176. + (exit $ac_status); }; }; then
  4177. + echo "$as_me:$LINENO: result: found" >&5
  4178. +echo "${ECHO_T}found" >&6
  4179. +else
  4180. + echo "$as_me: failed program was:" >&5
  4181. +sed 's/^/| /' conftest.$ac_ext >&5
  4182. +
  4183. +LIBS="$old_LIBS"
  4184. + { { echo "$as_me:$LINENO: error: not found
  4185. +See \`config.log' for more details." >&5
  4186. +echo "$as_me: error: not found
  4187. +See \`config.log' for more details." >&2;}
  4188. + { (exit 1); exit 1; }; }
  4189. fi
  4190. -rm -f conftest*
  4191. -LIBS="$ac_save_LIBS"
  4192. -
  4193. +rm -f conftest.err conftest.$ac_objext \
  4194. + conftest$ac_exeext conftest.$ac_ext
  4195. fi
  4196. -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  4197. - echo "$ac_t""yes" 1>&6
  4198. - ac_tr_lib=HAVE_LIB`echo resolv | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  4199. - cat >> confdefs.h <<EOF
  4200. -#define $ac_tr_lib 1
  4201. -EOF
  4202. - LIBS="-lresolv $LIBS"
  4203. -else
  4204. - echo "$ac_t""no" 1>&6
  4205. -fi
  4206. -
  4207. -fi
  4208. for ac_func in strerror_r
  4209. do
  4210. -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  4211. -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  4212. - echo $ac_n "(cached) $ac_c" 1>&6
  4213. -else
  4214. - cat > conftest.$ac_ext <<EOF
  4215. -#line 979 "configure"
  4216. -#include "confdefs.h"
  4217. +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4218. +echo "$as_me:$LINENO: checking for $ac_func" >&5
  4219. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  4220. +if eval "test \"\${$as_ac_var+set}\" = set"; then
  4221. + echo $ECHO_N "(cached) $ECHO_C" >&6
  4222. +else
  4223. + cat >conftest.$ac_ext <<_ACEOF
  4224. +/* confdefs.h. */
  4225. +_ACEOF
  4226. +cat confdefs.h >>conftest.$ac_ext
  4227. +cat >>conftest.$ac_ext <<_ACEOF
  4228. +/* end confdefs.h. */
  4229. +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  4230. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4231. +#define $ac_func innocuous_$ac_func
  4232. +
  4233. /* System header to define __stub macros and hopefully few prototypes,
  4234. - which can conflict with char $ac_func(); below. */
  4235. -#include <assert.h>
  4236. -/* Override any gcc2 internal prototype to avoid an error. */
  4237. -/* We use char because int might match the return type of a gcc2
  4238. - builtin and then its argument prototype would still apply. */
  4239. -char $ac_func();
  4240. + which can conflict with char $ac_func (); below.
  4241. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4242. + <limits.h> exists even on freestanding compilers. */
  4243. +
  4244. +#ifdef __STDC__
  4245. +# include <limits.h>
  4246. +#else
  4247. +# include <assert.h>
  4248. +#endif
  4249. -int main() { return 0; }
  4250. -int t() {
  4251. +#undef $ac_func
  4252. +/* Override any gcc2 internal prototype to avoid an error. */
  4253. +#ifdef __cplusplus
  4254. +extern "C"
  4255. +{
  4256. +#endif
  4257. +/* We use char because int might match the return type of a gcc2
  4258. + builtin and then its argument prototype would still apply. */
  4259. +char $ac_func ();
  4260. /* The GNU C library defines this for functions which it implements
  4261. to always fail with ENOSYS. Some functions are actually named
  4262. something starting with __ and the normal name is an alias. */
  4263. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  4264. choke me
  4265. #else
  4266. -$ac_func();
  4267. +char (*f) () = $ac_func;
  4268. +#endif
  4269. +#ifdef __cplusplus
  4270. +}
  4271. #endif
  4272. -; return 0; }
  4273. -EOF
  4274. -if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4275. - rm -rf conftest*
  4276. - eval "ac_cv_func_$ac_func=yes"
  4277. -else
  4278. - rm -rf conftest*
  4279. - eval "ac_cv_func_$ac_func=no"
  4280. -fi
  4281. -rm -f conftest*
  4282. +int
  4283. +main ()
  4284. +{
  4285. +return f != $ac_func;
  4286. + ;
  4287. + return 0;
  4288. +}
  4289. +_ACEOF
  4290. +rm -f conftest.$ac_objext conftest$ac_exeext
  4291. +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4292. + (eval $ac_link) 2>conftest.er1
  4293. + ac_status=$?
  4294. + grep -v '^ *+' conftest.er1 >conftest.err
  4295. + rm -f conftest.er1
  4296. + cat conftest.err >&5
  4297. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4298. + (exit $ac_status); } &&
  4299. + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4300. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4301. + (eval $ac_try) 2>&5
  4302. + ac_status=$?
  4303. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4304. + (exit $ac_status); }; } &&
  4305. + { ac_try='test -s conftest$ac_exeext'
  4306. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4307. + (eval $ac_try) 2>&5
  4308. + ac_status=$?
  4309. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4310. + (exit $ac_status); }; }; then
  4311. + eval "$as_ac_var=yes"
  4312. +else
  4313. + echo "$as_me: failed program was:" >&5
  4314. +sed 's/^/| /' conftest.$ac_ext >&5
  4315. +
  4316. +eval "$as_ac_var=no"
  4317. +fi
  4318. +rm -f conftest.err conftest.$ac_objext \
  4319. + conftest$ac_exeext conftest.$ac_ext
  4320. +fi
  4321. +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  4322. +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  4323. +if test `eval echo '${'$as_ac_var'}'` = yes; then
  4324. + cat >>confdefs.h <<_ACEOF
  4325. +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4326. +_ACEOF
  4327. fi
  4328. -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  4329. - echo "$ac_t""yes" 1>&6
  4330. - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  4331. - cat >> confdefs.h <<EOF
  4332. -#define $ac_tr_func 1
  4333. -EOF
  4334. -
  4335. -else
  4336. - echo "$ac_t""no" 1>&6
  4337. -fi
  4338. done
  4339. + ac_config_headers="$ac_config_headers config.h"
  4340. +
  4341. + ac_config_files="$ac_config_files Makefile"
  4342. -trap '' 1 2 15
  4343. -cat > confcache <<\EOF
  4344. +cat >confcache <<\_ACEOF
  4345. # This file is a shell script that caches the results of configure
  4346. # tests run on this system so they can be shared between configure
  4347. -# scripts and configure runs. It is not useful on other systems.
  4348. -# If it contains results you don't want to keep, you may remove or edit it.
  4349. +# scripts and configure runs, see configure's option --config-cache.
  4350. +# It is not useful on other systems. If it contains results you don't
  4351. +# want to keep, you may remove or edit it.
  4352. #
  4353. -# By default, configure uses ./config.cache as the cache file,
  4354. -# creating it if it does not exist already. You can give configure
  4355. -# the --cache-file=FILE option to use a different cache file; that is
  4356. -# what configure does when it calls configure scripts in
  4357. -# subdirectories, so they share the cache.
  4358. -# Giving --cache-file=/dev/null disables caching, for debugging configure.
  4359. -# config.status only pays attention to the cache file if you give it the
  4360. -# --recheck option to rerun configure.
  4361. +# config.status only pays attention to the cache file if you give it
  4362. +# the --recheck option to rerun configure.
  4363. #
  4364. -EOF
  4365. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  4366. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  4367. +# following values.
  4368. +
  4369. +_ACEOF
  4370. +
  4371. +# The following way of writing the cache mishandles newlines in values,
  4372. +# but we know of no workaround that is simple, portable, and efficient.
  4373. +# So, don't put newlines in cache variables' values.
  4374. # Ultrix sh set writes to stderr and can't be redirected directly,
  4375. # and sets the high bit in the cache file unless we assign to the vars.
  4376. -(set) 2>&1 |
  4377. - sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  4378. - >> confcache
  4379. -if cmp -s $cache_file confcache; then
  4380. - :
  4381. -else
  4382. +{
  4383. + (set) 2>&1 |
  4384. + case `(ac_space=' '; set | grep ac_space) 2>&1` in
  4385. + *ac_space=\ *)
  4386. + # `set' does not quote correctly, so add quotes (double-quote
  4387. + # substitution turns \\\\ into \\, and sed turns \\ into \).
  4388. + sed -n \
  4389. + "s/'/'\\\\''/g;
  4390. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4391. + ;;
  4392. + *)
  4393. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  4394. + sed -n \
  4395. + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  4396. + ;;
  4397. + esac;
  4398. +} |
  4399. + sed '
  4400. + t clear
  4401. + : clear
  4402. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4403. + t end
  4404. + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4405. + : end' >>confcache
  4406. +if diff $cache_file confcache >/dev/null 2>&1; then :; else
  4407. if test -w $cache_file; then
  4408. - echo "updating cache $cache_file"
  4409. - cat confcache > $cache_file
  4410. + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  4411. + cat confcache >$cache_file
  4412. else
  4413. echo "not updating unwritable cache $cache_file"
  4414. fi
  4415. fi
  4416. rm -f confcache
  4417. -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  4418. -
  4419. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4420. # Let make expand exec_prefix.
  4421. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4422. -# Any assignment to VPATH causes Sun make to only execute
  4423. -# the first set of double-colon rules, so remove it if not needed.
  4424. -# If there is a colon in the path, we need to keep it.
  4425. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  4426. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4427. +# trailing colons and then remove the whole line if VPATH becomes empty
  4428. +# (actually we leave an empty line to preserve line numbers).
  4429. if test "x$srcdir" = x.; then
  4430. - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
  4431. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  4432. +s/:*\$(srcdir):*/:/;
  4433. +s/:*\${srcdir}:*/:/;
  4434. +s/:*@srcdir@:*/:/;
  4435. +s/^\([^=]*=[ ]*\):*/\1/;
  4436. +s/:*$//;
  4437. +s/^[^=]*=[ ]*$//;
  4438. +}'
  4439. fi
  4440. -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  4441. -
  4442. DEFS=-DHAVE_CONFIG_H
  4443. -# Without the "./", some shells look in PATH for config.status.
  4444. -: ${CONFIG_STATUS=./config.status}
  4445. +ac_libobjs=
  4446. +ac_ltlibobjs=
  4447. +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4448. + # 1. Remove the extension, and $U if already installed.
  4449. + ac_i=`echo "$ac_i" |
  4450. + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  4451. + # 2. Add them.
  4452. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  4453. + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  4454. +done
  4455. +LIBOBJS=$ac_libobjs
  4456. -echo creating $CONFIG_STATUS
  4457. -rm -f $CONFIG_STATUS
  4458. -cat > $CONFIG_STATUS <<EOF
  4459. -#! /bin/sh
  4460. -# Generated automatically by configure.
  4461. +LTLIBOBJS=$ac_ltlibobjs
  4462. +
  4463. +
  4464. +
  4465. +: ${CONFIG_STATUS=./config.status}
  4466. +ac_clean_files_save=$ac_clean_files
  4467. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4468. +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  4469. +echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4470. +cat >$CONFIG_STATUS <<_ACEOF
  4471. +#! $SHELL
  4472. +# Generated by $as_me.
  4473. # Run this file to recreate the current configuration.
  4474. -# This directory was configured as follows,
  4475. -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  4476. -#
  4477. -# $0 $ac_configure_args
  4478. -#
  4479. # Compiler output produced by configure, useful for debugging
  4480. -# configure, is in ./config.log if it exists.
  4481. +# configure, is in config.log if it exists.
  4482. -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  4483. -for ac_option
  4484. +debug=false
  4485. +ac_cs_recheck=false
  4486. +ac_cs_silent=false
  4487. +SHELL=\${CONFIG_SHELL-$SHELL}
  4488. +_ACEOF
  4489. +
  4490. +cat >>$CONFIG_STATUS <<\_ACEOF
  4491. +## --------------------- ##
  4492. +## M4sh Initialization. ##
  4493. +## --------------------- ##
  4494. +
  4495. +# Be Bourne compatible
  4496. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  4497. + emulate sh
  4498. + NULLCMD=:
  4499. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  4500. + # is contrary to our usage. Disable this feature.
  4501. + alias -g '${1+"$@"}'='"$@"'
  4502. +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  4503. + set -o posix
  4504. +fi
  4505. +DUALCASE=1; export DUALCASE # for MKS sh
  4506. +
  4507. +# Support unset when possible.
  4508. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4509. + as_unset=unset
  4510. +else
  4511. + as_unset=false
  4512. +fi
  4513. +
  4514. +
  4515. +# Work around bugs in pre-3.0 UWIN ksh.
  4516. +$as_unset ENV MAIL MAILPATH
  4517. +PS1='$ '
  4518. +PS2='> '
  4519. +PS4='+ '
  4520. +
  4521. +# NLS nuisances.
  4522. +for as_var in \
  4523. + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  4524. + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  4525. + LC_TELEPHONE LC_TIME
  4526. do
  4527. - case "\$ac_option" in
  4528. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4529. - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  4530. - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  4531. - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  4532. - echo "$CONFIG_STATUS generated by autoconf version 2.10"
  4533. - exit 0 ;;
  4534. - -help | --help | --hel | --he | --h)
  4535. - echo "\$ac_cs_usage"; exit 0 ;;
  4536. - *) echo "\$ac_cs_usage"; exit 1 ;;
  4537. + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  4538. + eval $as_var=C; export $as_var
  4539. + else
  4540. + $as_unset $as_var
  4541. + fi
  4542. +done
  4543. +
  4544. +# Required to use basename.
  4545. +if expr a : '\(a\)' >/dev/null 2>&1; then
  4546. + as_expr=expr
  4547. +else
  4548. + as_expr=false
  4549. +fi
  4550. +
  4551. +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  4552. + as_basename=basename
  4553. +else
  4554. + as_basename=false
  4555. +fi
  4556. +
  4557. +
  4558. +# Name of the executable.
  4559. +as_me=`$as_basename "$0" ||
  4560. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4561. + X"$0" : 'X\(//\)$' \| \
  4562. + X"$0" : 'X\(/\)$' \| \
  4563. + . : '\(.\)' 2>/dev/null ||
  4564. +echo X/"$0" |
  4565. + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  4566. + /^X\/\(\/\/\)$/{ s//\1/; q; }
  4567. + /^X\/\(\/\).*/{ s//\1/; q; }
  4568. + s/.*/./; q'`
  4569. +
  4570. +
  4571. +# PATH needs CR, and LINENO needs CR and PATH.
  4572. +# Avoid depending upon Character Ranges.
  4573. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4574. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4575. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4576. +as_cr_digits='0123456789'
  4577. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  4578. +
  4579. +# The user is always right.
  4580. +if test "${PATH_SEPARATOR+set}" != set; then
  4581. + echo "#! /bin/sh" >conf$$.sh
  4582. + echo "exit 0" >>conf$$.sh
  4583. + chmod +x conf$$.sh
  4584. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  4585. + PATH_SEPARATOR=';'
  4586. + else
  4587. + PATH_SEPARATOR=:
  4588. + fi
  4589. + rm -f conf$$.sh
  4590. +fi
  4591. +
  4592. +
  4593. + as_lineno_1=$LINENO
  4594. + as_lineno_2=$LINENO
  4595. + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  4596. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  4597. + test "x$as_lineno_3" = "x$as_lineno_2" || {
  4598. + # Find who we are. Look in the path if we contain no path at all
  4599. + # relative or not.
  4600. + case $0 in
  4601. + *[\\/]* ) as_myself=$0 ;;
  4602. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4603. +for as_dir in $PATH
  4604. +do
  4605. + IFS=$as_save_IFS
  4606. + test -z "$as_dir" && as_dir=.
  4607. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4608. +done
  4609. +
  4610. + ;;
  4611. esac
  4612. + # We did not find ourselves, most probably we were run as `sh COMMAND'
  4613. + # in which case we are not to be found in the path.
  4614. + if test "x$as_myself" = x; then
  4615. + as_myself=$0
  4616. + fi
  4617. + if test ! -f "$as_myself"; then
  4618. + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  4619. +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  4620. + { (exit 1); exit 1; }; }
  4621. + fi
  4622. + case $CONFIG_SHELL in
  4623. + '')
  4624. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4625. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  4626. +do
  4627. + IFS=$as_save_IFS
  4628. + test -z "$as_dir" && as_dir=.
  4629. + for as_base in sh bash ksh sh5; do
  4630. + case $as_dir in
  4631. + /*)
  4632. + if ("$as_dir/$as_base" -c '
  4633. + as_lineno_1=$LINENO
  4634. + as_lineno_2=$LINENO
  4635. + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  4636. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  4637. + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  4638. + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  4639. + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  4640. + CONFIG_SHELL=$as_dir/$as_base
  4641. + export CONFIG_SHELL
  4642. + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  4643. + fi;;
  4644. + esac
  4645. + done
  4646. done
  4647. +;;
  4648. + esac
  4649. -ac_given_srcdir=$srcdir
  4650. -ac_given_INSTALL="$INSTALL"
  4651. + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  4652. + # uniformly replaced by the line number. The first 'sed' inserts a
  4653. + # line-number line before each line; the second 'sed' does the real
  4654. + # work. The second script uses 'N' to pair each line-number line
  4655. + # with the numbered line, and appends trailing '-' during
  4656. + # substitution so that $LINENO is not a special case at line end.
  4657. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  4658. + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  4659. + sed '=' <$as_myself |
  4660. + sed '
  4661. + N
  4662. + s,$,-,
  4663. + : loop
  4664. + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  4665. + t loop
  4666. + s,-$,,
  4667. + s,^['$as_cr_digits']*\n,,
  4668. + ' >$as_me.lineno &&
  4669. + chmod +x $as_me.lineno ||
  4670. + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  4671. +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  4672. + { (exit 1); exit 1; }; }
  4673. +
  4674. + # Don't try to exec as it changes $[0], causing all sort of problems
  4675. + # (the dirname of $[0] is not the place where we might find the
  4676. + # original and so on. Autoconf is especially sensible to this).
  4677. + . ./$as_me.lineno
  4678. + # Exit status is that of the last command.
  4679. + exit
  4680. +}
  4681. +
  4682. +
  4683. +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  4684. + *c*,-n*) ECHO_N= ECHO_C='
  4685. +' ECHO_T=' ' ;;
  4686. + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  4687. + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  4688. +esac
  4689. +
  4690. +if expr a : '\(a\)' >/dev/null 2>&1; then
  4691. + as_expr=expr
  4692. +else
  4693. + as_expr=false
  4694. +fi
  4695. +
  4696. +rm -f conf$$ conf$$.exe conf$$.file
  4697. +echo >conf$$.file
  4698. +if ln -s conf$$.file conf$$ 2>/dev/null; then
  4699. + # We could just check for DJGPP; but this test a) works b) is more generic
  4700. + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  4701. + if test -f conf$$.exe; then
  4702. + # Don't use ln at all; we don't have any links
  4703. + as_ln_s='cp -p'
  4704. + else
  4705. + as_ln_s='ln -s'
  4706. + fi
  4707. +elif ln conf$$.file conf$$ 2>/dev/null; then
  4708. + as_ln_s=ln
  4709. +else
  4710. + as_ln_s='cp -p'
  4711. +fi
  4712. +rm -f conf$$ conf$$.exe conf$$.file
  4713. -trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  4714. -EOF
  4715. -cat >> $CONFIG_STATUS <<EOF
  4716. -
  4717. -# Protect against being on the right side of a sed subst in config.status.
  4718. -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  4719. - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  4720. -$ac_vpsub
  4721. -$extrasub
  4722. -s%@CFLAGS@%$CFLAGS%g
  4723. -s%@CPPFLAGS@%$CPPFLAGS%g
  4724. -s%@CXXFLAGS@%$CXXFLAGS%g
  4725. -s%@DEFS@%$DEFS%g
  4726. -s%@LDFLAGS@%$LDFLAGS%g
  4727. -s%@LIBS@%$LIBS%g
  4728. -s%@exec_prefix@%$exec_prefix%g
  4729. -s%@prefix@%$prefix%g
  4730. -s%@program_transform_name@%$program_transform_name%g
  4731. -s%@bindir@%$bindir%g
  4732. -s%@sbindir@%$sbindir%g
  4733. -s%@libexecdir@%$libexecdir%g
  4734. -s%@datadir@%$datadir%g
  4735. -s%@sysconfdir@%$sysconfdir%g
  4736. -s%@sharedstatedir@%$sharedstatedir%g
  4737. -s%@localstatedir@%$localstatedir%g
  4738. -s%@libdir@%$libdir%g
  4739. -s%@includedir@%$includedir%g
  4740. -s%@oldincludedir@%$oldincludedir%g
  4741. -s%@infodir@%$infodir%g
  4742. -s%@mandir@%$mandir%g
  4743. -s%@lbindir@%$lbindir%g
  4744. -s%@CC@%$CC%g
  4745. -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  4746. -s%@INSTALL_DATA@%$INSTALL_DATA%g
  4747. -s%@RANLIB@%$RANLIB%g
  4748. -s%@CPP@%$CPP%g
  4749. +if mkdir -p . 2>/dev/null; then
  4750. + as_mkdir_p=:
  4751. +else
  4752. + test -d ./-p && rmdir ./-p
  4753. + as_mkdir_p=false
  4754. +fi
  4755. -CEOF
  4756. -EOF
  4757. -cat >> $CONFIG_STATUS <<EOF
  4758. +as_executable_p="test -f"
  4759. +
  4760. +# Sed expression to map a string onto a valid CPP name.
  4761. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4762. +
  4763. +# Sed expression to map a string onto a valid variable name.
  4764. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4765. +
  4766. +
  4767. +# IFS
  4768. +# We need space, tab and new line, in precisely that order.
  4769. +as_nl='
  4770. +'
  4771. +IFS=" $as_nl"
  4772. +
  4773. +# CDPATH.
  4774. +$as_unset CDPATH
  4775. +
  4776. +exec 6>&1
  4777. +
  4778. +# Open the log real soon, to keep \$[0] and so on meaningful, and to
  4779. +# report actual input values of CONFIG_FILES etc. instead of their
  4780. +# values after options handling. Logging --version etc. is OK.
  4781. +exec 5>>config.log
  4782. +{
  4783. + echo
  4784. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4785. +## Running $as_me. ##
  4786. +_ASBOX
  4787. +} >&5
  4788. +cat >&5 <<_CSEOF
  4789. +
  4790. +This file was extended by hesiod $as_me 3.0.2, which was
  4791. +generated by GNU Autoconf 2.59. Invocation command line was
  4792. +
  4793. + CONFIG_FILES = $CONFIG_FILES
  4794. + CONFIG_HEADERS = $CONFIG_HEADERS
  4795. + CONFIG_LINKS = $CONFIG_LINKS
  4796. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  4797. + $ $0 $@
  4798. +
  4799. +_CSEOF
  4800. +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  4801. +echo >&5
  4802. +_ACEOF
  4803. +
  4804. +# Files that config.status was made for.
  4805. +if test -n "$ac_config_files"; then
  4806. + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  4807. +fi
  4808. +
  4809. +if test -n "$ac_config_headers"; then
  4810. + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  4811. +fi
  4812. +
  4813. +if test -n "$ac_config_links"; then
  4814. + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  4815. +fi
  4816. +
  4817. +if test -n "$ac_config_commands"; then
  4818. + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  4819. +fi
  4820. +
  4821. +cat >>$CONFIG_STATUS <<\_ACEOF
  4822. +
  4823. +ac_cs_usage="\
  4824. +\`$as_me' instantiates files from templates according to the
  4825. +current configuration.
  4826. +
  4827. +Usage: $0 [OPTIONS] [FILE]...
  4828. +
  4829. + -h, --help print this help, then exit
  4830. + -V, --version print version number, then exit
  4831. + -q, --quiet do not print progress messages
  4832. + -d, --debug don't remove temporary files
  4833. + --recheck update $as_me by reconfiguring in the same conditions
  4834. + --file=FILE[:TEMPLATE]
  4835. + instantiate the configuration file FILE
  4836. + --header=FILE[:TEMPLATE]
  4837. + instantiate the configuration header FILE
  4838. +
  4839. +Configuration files:
  4840. +$config_files
  4841. +
  4842. +Configuration headers:
  4843. +$config_headers
  4844. +
  4845. +Report bugs to <bug-autoconf@gnu.org>."
  4846. +_ACEOF
  4847. +
  4848. +cat >>$CONFIG_STATUS <<_ACEOF
  4849. +ac_cs_version="\\
  4850. +hesiod config.status 3.0.2
  4851. +configured by $0, generated by GNU Autoconf 2.59,
  4852. + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  4853. +
  4854. +Copyright (C) 2003 Free Software Foundation, Inc.
  4855. +This config.status script is free software; the Free Software Foundation
  4856. +gives unlimited permission to copy, distribute and modify it."
  4857. +srcdir=$srcdir
  4858. +INSTALL="$INSTALL"
  4859. +_ACEOF
  4860. +
  4861. +cat >>$CONFIG_STATUS <<\_ACEOF
  4862. +# If no file are specified by the user, then we need to provide default
  4863. +# value. By we need to know if files were specified by the user.
  4864. +ac_need_defaults=:
  4865. +while test $# != 0
  4866. +do
  4867. + case $1 in
  4868. + --*=*)
  4869. + ac_option=`expr "x$1" : 'x\([^=]*\)='`
  4870. + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  4871. + ac_shift=:
  4872. + ;;
  4873. + -*)
  4874. + ac_option=$1
  4875. + ac_optarg=$2
  4876. + ac_shift=shift
  4877. + ;;
  4878. + *) # This is not an option, so the user has probably given explicit
  4879. + # arguments.
  4880. + ac_option=$1
  4881. + ac_need_defaults=false;;
  4882. + esac
  4883. +
  4884. + case $ac_option in
  4885. + # Handling of the options.
  4886. +_ACEOF
  4887. +cat >>$CONFIG_STATUS <<\_ACEOF
  4888. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4889. + ac_cs_recheck=: ;;
  4890. + --version | --vers* | -V )
  4891. + echo "$ac_cs_version"; exit 0 ;;
  4892. + --he | --h)
  4893. + # Conflict between --help and --header
  4894. + { { echo "$as_me:$LINENO: error: ambiguous option: $1
  4895. +Try \`$0 --help' for more information." >&5
  4896. +echo "$as_me: error: ambiguous option: $1
  4897. +Try \`$0 --help' for more information." >&2;}
  4898. + { (exit 1); exit 1; }; };;
  4899. + --help | --hel | -h )
  4900. + echo "$ac_cs_usage"; exit 0 ;;
  4901. + --debug | --d* | -d )
  4902. + debug=: ;;
  4903. + --file | --fil | --fi | --f )
  4904. + $ac_shift
  4905. + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  4906. + ac_need_defaults=false;;
  4907. + --header | --heade | --head | --hea )
  4908. + $ac_shift
  4909. + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  4910. + ac_need_defaults=false;;
  4911. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4912. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4913. + ac_cs_silent=: ;;
  4914. +
  4915. + # This is an error.
  4916. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  4917. +Try \`$0 --help' for more information." >&5
  4918. +echo "$as_me: error: unrecognized option: $1
  4919. +Try \`$0 --help' for more information." >&2;}
  4920. + { (exit 1); exit 1; }; } ;;
  4921. +
  4922. + *) ac_config_targets="$ac_config_targets $1" ;;
  4923. -CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  4924. -EOF
  4925. -cat >> $CONFIG_STATUS <<\EOF
  4926. -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  4927. - # Support "outfile[:infile]", defaulting infile="outfile.in".
  4928. - case "$ac_file" in
  4929. - *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  4930. - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  4931. - *) ac_file_in="${ac_file}.in" ;;
  4932. esac
  4933. + shift
  4934. +done
  4935. - # Adjust relative srcdir, etc. for subdirectories.
  4936. +ac_configure_extra_args=
  4937. - # Remove last slash and all that follows it. Not all systems have dirname.
  4938. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  4939. - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  4940. - # The file is in a subdirectory.
  4941. - test ! -d "$ac_dir" && mkdir "$ac_dir"
  4942. - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  4943. - # A "../" for each directory in $ac_dir_suffix.
  4944. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  4945. - else
  4946. - ac_dir_suffix= ac_dots=
  4947. - fi
  4948. -
  4949. - case "$ac_given_srcdir" in
  4950. - .) srcdir=.
  4951. - if test -z "$ac_dots"; then top_srcdir=.
  4952. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  4953. - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  4954. - *) # Relative path.
  4955. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  4956. - top_srcdir="$ac_dots$ac_given_srcdir" ;;
  4957. +if $ac_cs_silent; then
  4958. + exec 6>/dev/null
  4959. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  4960. +fi
  4961. +
  4962. +_ACEOF
  4963. +cat >>$CONFIG_STATUS <<_ACEOF
  4964. +if \$ac_cs_recheck; then
  4965. + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  4966. + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4967. +fi
  4968. +
  4969. +_ACEOF
  4970. +
  4971. +
  4972. +
  4973. +
  4974. +
  4975. +cat >>$CONFIG_STATUS <<\_ACEOF
  4976. +for ac_config_target in $ac_config_targets
  4977. +do
  4978. + case "$ac_config_target" in
  4979. + # Handling of arguments.
  4980. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4981. + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  4982. + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  4983. +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  4984. + { (exit 1); exit 1; }; };;
  4985. esac
  4986. +done
  4987. +
  4988. +# If the user did not use the arguments to specify the items to instantiate,
  4989. +# then the envvar interface is used. Set only those that are not.
  4990. +# We use the long form for the default assignment because of an extremely
  4991. +# bizarre bug on SunOS 4.1.3.
  4992. +if $ac_need_defaults; then
  4993. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4994. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  4995. +fi
  4996. +
  4997. +# Have a temporary directory for convenience. Make it in the build tree
  4998. +# simply because there is no reason to put it here, and in addition,
  4999. +# creating and moving files from /tmp can sometimes cause problems.
  5000. +# Create a temporary directory, and hook for its removal unless debugging.
  5001. +$debug ||
  5002. +{
  5003. + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  5004. + trap '{ (exit 1); exit 1; }' 1 2 13 15
  5005. +}
  5006. +
  5007. +# Create a (secure) tmp directory for tmp files.
  5008. +
  5009. +{
  5010. + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  5011. + test -n "$tmp" && test -d "$tmp"
  5012. +} ||
  5013. +{
  5014. + tmp=./confstat$$-$RANDOM
  5015. + (umask 077 && mkdir $tmp)
  5016. +} ||
  5017. +{
  5018. + echo "$me: cannot create a temporary directory in ." >&2
  5019. + { (exit 1); exit 1; }
  5020. +}
  5021. +
  5022. +_ACEOF
  5023. +
  5024. +cat >>$CONFIG_STATUS <<_ACEOF
  5025. +
  5026. +#
  5027. +# CONFIG_FILES section.
  5028. +#
  5029. +
  5030. +# No need to generate the scripts if there are no CONFIG_FILES.
  5031. +# This happens for instance when ./config.status config.h
  5032. +if test -n "\$CONFIG_FILES"; then
  5033. + # Protect against being on the right side of a sed subst in config.status.
  5034. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  5035. + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  5036. +s,@SHELL@,$SHELL,;t t
  5037. +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  5038. +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  5039. +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  5040. +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  5041. +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  5042. +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  5043. +s,@exec_prefix@,$exec_prefix,;t t
  5044. +s,@prefix@,$prefix,;t t
  5045. +s,@program_transform_name@,$program_transform_name,;t t
  5046. +s,@bindir@,$bindir,;t t
  5047. +s,@sbindir@,$sbindir,;t t
  5048. +s,@libexecdir@,$libexecdir,;t t
  5049. +s,@datadir@,$datadir,;t t
  5050. +s,@sysconfdir@,$sysconfdir,;t t
  5051. +s,@sharedstatedir@,$sharedstatedir,;t t
  5052. +s,@localstatedir@,$localstatedir,;t t
  5053. +s,@libdir@,$libdir,;t t
  5054. +s,@includedir@,$includedir,;t t
  5055. +s,@oldincludedir@,$oldincludedir,;t t
  5056. +s,@infodir@,$infodir,;t t
  5057. +s,@mandir@,$mandir,;t t
  5058. +s,@build_alias@,$build_alias,;t t
  5059. +s,@host_alias@,$host_alias,;t t
  5060. +s,@target_alias@,$target_alias,;t t
  5061. +s,@DEFS@,$DEFS,;t t
  5062. +s,@ECHO_C@,$ECHO_C,;t t
  5063. +s,@ECHO_N@,$ECHO_N,;t t
  5064. +s,@ECHO_T@,$ECHO_T,;t t
  5065. +s,@LIBS@,$LIBS,;t t
  5066. +s,@lbindir@,$lbindir,;t t
  5067. +s,@CC@,$CC,;t t
  5068. +s,@CFLAGS@,$CFLAGS,;t t
  5069. +s,@LDFLAGS@,$LDFLAGS,;t t
  5070. +s,@CPPFLAGS@,$CPPFLAGS,;t t
  5071. +s,@ac_ct_CC@,$ac_ct_CC,;t t
  5072. +s,@EXEEXT@,$EXEEXT,;t t
  5073. +s,@OBJEXT@,$OBJEXT,;t t
  5074. +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  5075. +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  5076. +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  5077. +s,@RANLIB@,$RANLIB,;t t
  5078. +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
  5079. +s,@CPP@,$CPP,;t t
  5080. +s,@EGREP@,$EGREP,;t t
  5081. +s,@LIBOBJS@,$LIBOBJS,;t t
  5082. +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  5083. +CEOF
  5084. +
  5085. +_ACEOF
  5086. - case "$ac_given_INSTALL" in
  5087. - [/$]*) INSTALL="$ac_given_INSTALL" ;;
  5088. - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  5089. + cat >>$CONFIG_STATUS <<\_ACEOF
  5090. + # Split the substitutions into bite-sized pieces for seds with
  5091. + # small command number limits, like on Digital OSF/1 and HP-UX.
  5092. + ac_max_sed_lines=48
  5093. + ac_sed_frag=1 # Number of current file.
  5094. + ac_beg=1 # First line for current file.
  5095. + ac_end=$ac_max_sed_lines # Line after last line for current file.
  5096. + ac_more_lines=:
  5097. + ac_sed_cmds=
  5098. + while $ac_more_lines; do
  5099. + if test $ac_beg -gt 1; then
  5100. + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  5101. + else
  5102. + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  5103. + fi
  5104. + if test ! -s $tmp/subs.frag; then
  5105. + ac_more_lines=false
  5106. + else
  5107. + # The purpose of the label and of the branching condition is to
  5108. + # speed up the sed processing (if there are no `@' at all, there
  5109. + # is no need to browse any of the substitutions).
  5110. + # These are the two extra sed commands mentioned above.
  5111. + (echo ':t
  5112. + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  5113. + if test -z "$ac_sed_cmds"; then
  5114. + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  5115. + else
  5116. + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  5117. + fi
  5118. + ac_sed_frag=`expr $ac_sed_frag + 1`
  5119. + ac_beg=$ac_end
  5120. + ac_end=`expr $ac_end + $ac_max_sed_lines`
  5121. + fi
  5122. + done
  5123. + if test -z "$ac_sed_cmds"; then
  5124. + ac_sed_cmds=cat
  5125. + fi
  5126. +fi # test -n "$CONFIG_FILES"
  5127. +
  5128. +_ACEOF
  5129. +cat >>$CONFIG_STATUS <<\_ACEOF
  5130. +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  5131. + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  5132. + case $ac_file in
  5133. + - | *:- | *:-:* ) # input from stdin
  5134. + cat >$tmp/stdin
  5135. + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5136. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5137. + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5138. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5139. + * ) ac_file_in=$ac_file.in ;;
  5140. esac
  5141. - echo creating "$ac_file"
  5142. - rm -f "$ac_file"
  5143. - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  5144. - case "$ac_file" in
  5145. - *Makefile*) ac_comsub="1i\\
  5146. -# $configure_input" ;;
  5147. - *) ac_comsub= ;;
  5148. +
  5149. + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  5150. + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  5151. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5152. + X"$ac_file" : 'X\(//\)[^/]' \| \
  5153. + X"$ac_file" : 'X\(//\)$' \| \
  5154. + X"$ac_file" : 'X\(/\)' \| \
  5155. + . : '\(.\)' 2>/dev/null ||
  5156. +echo X"$ac_file" |
  5157. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5158. + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5159. + /^X\(\/\/\)$/{ s//\1/; q; }
  5160. + /^X\(\/\).*/{ s//\1/; q; }
  5161. + s/.*/./; q'`
  5162. + { if $as_mkdir_p; then
  5163. + mkdir -p "$ac_dir"
  5164. + else
  5165. + as_dir="$ac_dir"
  5166. + as_dirs=
  5167. + while test ! -d "$as_dir"; do
  5168. + as_dirs="$as_dir $as_dirs"
  5169. + as_dir=`(dirname "$as_dir") 2>/dev/null ||
  5170. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5171. + X"$as_dir" : 'X\(//\)[^/]' \| \
  5172. + X"$as_dir" : 'X\(//\)$' \| \
  5173. + X"$as_dir" : 'X\(/\)' \| \
  5174. + . : '\(.\)' 2>/dev/null ||
  5175. +echo X"$as_dir" |
  5176. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5177. + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5178. + /^X\(\/\/\)$/{ s//\1/; q; }
  5179. + /^X\(\/\).*/{ s//\1/; q; }
  5180. + s/.*/./; q'`
  5181. + done
  5182. + test ! -n "$as_dirs" || mkdir $as_dirs
  5183. + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  5184. +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  5185. + { (exit 1); exit 1; }; }; }
  5186. +
  5187. + ac_builddir=.
  5188. +
  5189. +if test "$ac_dir" != .; then
  5190. + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  5191. + # A "../" for each directory in $ac_dir_suffix.
  5192. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  5193. +else
  5194. + ac_dir_suffix= ac_top_builddir=
  5195. +fi
  5196. +
  5197. +case $srcdir in
  5198. + .) # No --srcdir option. We are building in place.
  5199. + ac_srcdir=.
  5200. + if test -z "$ac_top_builddir"; then
  5201. + ac_top_srcdir=.
  5202. + else
  5203. + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  5204. + fi ;;
  5205. + [\\/]* | ?:[\\/]* ) # Absolute path.
  5206. + ac_srcdir=$srcdir$ac_dir_suffix;
  5207. + ac_top_srcdir=$srcdir ;;
  5208. + *) # Relative path.
  5209. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  5210. + ac_top_srcdir=$ac_top_builddir$srcdir ;;
  5211. +esac
  5212. +
  5213. +# Do not use `cd foo && pwd` to compute absolute paths, because
  5214. +# the directories may not exist.
  5215. +case `pwd` in
  5216. +.) ac_abs_builddir="$ac_dir";;
  5217. +*)
  5218. + case "$ac_dir" in
  5219. + .) ac_abs_builddir=`pwd`;;
  5220. + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  5221. + *) ac_abs_builddir=`pwd`/"$ac_dir";;
  5222. + esac;;
  5223. +esac
  5224. +case $ac_abs_builddir in
  5225. +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  5226. +*)
  5227. + case ${ac_top_builddir}. in
  5228. + .) ac_abs_top_builddir=$ac_abs_builddir;;
  5229. + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  5230. + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  5231. + esac;;
  5232. +esac
  5233. +case $ac_abs_builddir in
  5234. +.) ac_abs_srcdir=$ac_srcdir;;
  5235. +*)
  5236. + case $ac_srcdir in
  5237. + .) ac_abs_srcdir=$ac_abs_builddir;;
  5238. + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  5239. + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  5240. + esac;;
  5241. +esac
  5242. +case $ac_abs_builddir in
  5243. +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  5244. +*)
  5245. + case $ac_top_srcdir in
  5246. + .) ac_abs_top_srcdir=$ac_abs_builddir;;
  5247. + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  5248. + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  5249. + esac;;
  5250. +esac
  5251. +
  5252. +
  5253. + case $INSTALL in
  5254. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5255. + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  5256. esac
  5257. - sed -e "$ac_comsub
  5258. -s%@configure_input@%$configure_input%g
  5259. -s%@srcdir@%$srcdir%g
  5260. -s%@top_srcdir@%$top_srcdir%g
  5261. -s%@INSTALL@%$INSTALL%g
  5262. -" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  5263. -fi; done
  5264. -rm -f conftest.subs
  5265. +
  5266. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  5267. + # use $as_me), people would be surprised to read:
  5268. + # /* config.h. Generated by config.status. */
  5269. + if test x"$ac_file" = x-; then
  5270. + configure_input=
  5271. + else
  5272. + configure_input="$ac_file. "
  5273. + fi
  5274. + configure_input=$configure_input"Generated from `echo $ac_file_in |
  5275. + sed 's,.*/,,'` by configure."
  5276. +
  5277. + # First look for the input files in the build tree, otherwise in the
  5278. + # src tree.
  5279. + ac_file_inputs=`IFS=:
  5280. + for f in $ac_file_in; do
  5281. + case $f in
  5282. + -) echo $tmp/stdin ;;
  5283. + [\\/$]*)
  5284. + # Absolute (can't be DOS-style, as IFS=:)
  5285. + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5286. +echo "$as_me: error: cannot find input file: $f" >&2;}
  5287. + { (exit 1); exit 1; }; }
  5288. + echo "$f";;
  5289. + *) # Relative
  5290. + if test -f "$f"; then
  5291. + # Build tree
  5292. + echo "$f"
  5293. + elif test -f "$srcdir/$f"; then
  5294. + # Source tree
  5295. + echo "$srcdir/$f"
  5296. + else
  5297. + # /dev/null tree
  5298. + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5299. +echo "$as_me: error: cannot find input file: $f" >&2;}
  5300. + { (exit 1); exit 1; }; }
  5301. + fi;;
  5302. + esac
  5303. + done` || { (exit 1); exit 1; }
  5304. +
  5305. + if test x"$ac_file" != x-; then
  5306. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  5307. +echo "$as_me: creating $ac_file" >&6;}
  5308. + rm -f "$ac_file"
  5309. + fi
  5310. +_ACEOF
  5311. +cat >>$CONFIG_STATUS <<_ACEOF
  5312. + sed "$ac_vpsub
  5313. +$extrasub
  5314. +_ACEOF
  5315. +cat >>$CONFIG_STATUS <<\_ACEOF
  5316. +:t
  5317. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5318. +s,@configure_input@,$configure_input,;t t
  5319. +s,@srcdir@,$ac_srcdir,;t t
  5320. +s,@abs_srcdir@,$ac_abs_srcdir,;t t
  5321. +s,@top_srcdir@,$ac_top_srcdir,;t t
  5322. +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  5323. +s,@builddir@,$ac_builddir,;t t
  5324. +s,@abs_builddir@,$ac_abs_builddir,;t t
  5325. +s,@top_builddir@,$ac_top_builddir,;t t
  5326. +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  5327. +s,@INSTALL@,$ac_INSTALL,;t t
  5328. +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  5329. + rm -f $tmp/stdin
  5330. + if test x"$ac_file" != x-; then
  5331. + mv $tmp/out $ac_file
  5332. + else
  5333. + cat $tmp/out
  5334. + rm -f $tmp/out
  5335. + fi
  5336. +
  5337. +done
  5338. +_ACEOF
  5339. +cat >>$CONFIG_STATUS <<\_ACEOF
  5340. +
  5341. +#
  5342. +# CONFIG_HEADER section.
  5343. +#
  5344. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  5345. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  5346. #
  5347. # ac_d sets the value in "#define NAME VALUE" lines.
  5348. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  5349. -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
  5350. -ac_dC='\3'
  5351. -ac_dD='%g'
  5352. -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  5353. -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  5354. -ac_uB='\([ ]\)%\1#\2define\3'
  5355. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  5356. +ac_dB='[ ].*$,\1#\2'
  5357. +ac_dC=' '
  5358. +ac_dD=',;t'
  5359. +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  5360. +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  5361. +ac_uB='$,\1#\2define\3'
  5362. ac_uC=' '
  5363. -ac_uD='\4%g'
  5364. -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  5365. -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  5366. -ac_eB='$%\1#\2define\3'
  5367. -ac_eC=' '
  5368. -ac_eD='%g'
  5369. -
  5370. -CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
  5371. -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  5372. - # Support "outfile[:infile]", defaulting infile="outfile.in".
  5373. - case "$ac_file" in
  5374. - *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  5375. - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  5376. - *) ac_file_in="${ac_file}.in" ;;
  5377. - esac
  5378. +ac_uD=',;t'
  5379. - echo creating $ac_file
  5380. -
  5381. - rm -f conftest.frag conftest.in conftest.out
  5382. - cp $ac_given_srcdir/$ac_file_in conftest.in
  5383. +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  5384. + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  5385. + case $ac_file in
  5386. + - | *:- | *:-:* ) # input from stdin
  5387. + cat >$tmp/stdin
  5388. + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5389. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5390. + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  5391. + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  5392. + * ) ac_file_in=$ac_file.in ;;
  5393. + esac
  5394. -EOF
  5395. + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  5396. +echo "$as_me: creating $ac_file" >&6;}
  5397. -# Transform confdefs.h into a sed script conftest.vals that substitutes
  5398. -# the proper values into config.h.in to produce config.h. And first:
  5399. -# Protect against being on the right side of a sed subst in config.status.
  5400. -# Protect against being in an unquoted here document in config.status.
  5401. -rm -f conftest.vals
  5402. -cat > conftest.hdr <<\EOF
  5403. -s/[\\&%]/\\&/g
  5404. -s%[\\$`]%\\&%g
  5405. -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  5406. -s%ac_d%ac_u%gp
  5407. -s%ac_u%ac_e%gp
  5408. -EOF
  5409. -sed -n -f conftest.hdr confdefs.h > conftest.vals
  5410. -rm -f conftest.hdr
  5411. + # First look for the input files in the build tree, otherwise in the
  5412. + # src tree.
  5413. + ac_file_inputs=`IFS=:
  5414. + for f in $ac_file_in; do
  5415. + case $f in
  5416. + -) echo $tmp/stdin ;;
  5417. + [\\/$]*)
  5418. + # Absolute (can't be DOS-style, as IFS=:)
  5419. + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5420. +echo "$as_me: error: cannot find input file: $f" >&2;}
  5421. + { (exit 1); exit 1; }; }
  5422. + # Do quote $f, to prevent DOS paths from being IFS'd.
  5423. + echo "$f";;
  5424. + *) # Relative
  5425. + if test -f "$f"; then
  5426. + # Build tree
  5427. + echo "$f"
  5428. + elif test -f "$srcdir/$f"; then
  5429. + # Source tree
  5430. + echo "$srcdir/$f"
  5431. + else
  5432. + # /dev/null tree
  5433. + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  5434. +echo "$as_me: error: cannot find input file: $f" >&2;}
  5435. + { (exit 1); exit 1; }; }
  5436. + fi;;
  5437. + esac
  5438. + done` || { (exit 1); exit 1; }
  5439. + # Remove the trailing spaces.
  5440. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  5441. +
  5442. +_ACEOF
  5443. +
  5444. +# Transform confdefs.h into two sed scripts, `conftest.defines' and
  5445. +# `conftest.undefs', that substitutes the proper values into
  5446. +# config.h.in to produce config.h. The first handles `#define'
  5447. +# templates, and the second `#undef' templates.
  5448. +# And first: Protect against being on the right side of a sed subst in
  5449. +# config.status. Protect against being in an unquoted here document
  5450. +# in config.status.
  5451. +rm -f conftest.defines conftest.undefs
  5452. +# Using a here document instead of a string reduces the quoting nightmare.
  5453. +# Putting comments in sed scripts is not portable.
  5454. +#
  5455. +# `end' is used to avoid that the second main sed command (meant for
  5456. +# 0-ary CPP macros) applies to n-ary macro definitions.
  5457. +# See the Autoconf documentation for `clear'.
  5458. +cat >confdef2sed.sed <<\_ACEOF
  5459. +s/[\\&,]/\\&/g
  5460. +s,[\\$`],\\&,g
  5461. +t clear
  5462. +: clear
  5463. +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  5464. +t end
  5465. +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  5466. +: end
  5467. +_ACEOF
  5468. +# If some macros were called several times there might be several times
  5469. +# the same #defines, which is useless. Nevertheless, we may not want to
  5470. +# sort them, since we want the *last* AC-DEFINE to be honored.
  5471. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  5472. +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  5473. +rm -f confdef2sed.sed
  5474. # This sed command replaces #undef with comments. This is necessary, for
  5475. # example, in the case of _POSIX_SOURCE, which is predefined and required
  5476. # on some systems where configure will not decide to define it.
  5477. -cat >> conftest.vals <<\EOF
  5478. -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  5479. -EOF
  5480. -
  5481. -# Break up conftest.vals because some shells have a limit on
  5482. -# the size of here documents, and old seds have small limits too.
  5483. -# Maximum number of lines to put in a single here document.
  5484. -ac_max_here_lines=12
  5485. -
  5486. +cat >>conftest.undefs <<\_ACEOF
  5487. +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  5488. +_ACEOF
  5489. +
  5490. +# Break up conftest.defines because some shells have a limit on the size
  5491. +# of here documents, and old seds have small limits too (100 cmds).
  5492. +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  5493. +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  5494. +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  5495. +echo ' :' >>$CONFIG_STATUS
  5496. rm -f conftest.tail
  5497. -while :
  5498. +while grep . conftest.defines >/dev/null
  5499. do
  5500. - ac_lines=`grep -c . conftest.vals`
  5501. - # grep -c gives empty output for an empty file on some AIX systems.
  5502. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  5503. - # Write a limited-size here document to conftest.frag.
  5504. - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  5505. - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  5506. + # Write a limited-size here document to $tmp/defines.sed.
  5507. + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  5508. + # Speed up: don't consider the non `#define' lines.
  5509. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  5510. + # Work around the forget-to-reset-the-flag bug.
  5511. + echo 't clr' >>$CONFIG_STATUS
  5512. + echo ': clr' >>$CONFIG_STATUS
  5513. + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  5514. echo 'CEOF
  5515. - sed -f conftest.frag conftest.in > conftest.out
  5516. - rm -f conftest.in
  5517. - mv conftest.out conftest.in
  5518. -' >> $CONFIG_STATUS
  5519. - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  5520. - rm -f conftest.vals
  5521. - mv conftest.tail conftest.vals
  5522. -done
  5523. -rm -f conftest.vals
  5524. -
  5525. -cat >> $CONFIG_STATUS <<\EOF
  5526. - rm -f conftest.frag conftest.h
  5527. - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
  5528. - cat conftest.in >> conftest.h
  5529. - rm -f conftest.in
  5530. - if cmp -s $ac_file conftest.h 2>/dev/null; then
  5531. - echo "$ac_file is unchanged"
  5532. - rm -f conftest.h
  5533. - else
  5534. - # Remove last slash and all that follows it. Not all systems have dirname.
  5535. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  5536. - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  5537. - # The file is in a subdirectory.
  5538. - test ! -d "$ac_dir" && mkdir "$ac_dir"
  5539. - fi
  5540. - rm -f $ac_file
  5541. - mv conftest.h $ac_file
  5542. + sed -f $tmp/defines.sed $tmp/in >$tmp/out
  5543. + rm -f $tmp/in
  5544. + mv $tmp/out $tmp/in
  5545. +' >>$CONFIG_STATUS
  5546. + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  5547. + rm -f conftest.defines
  5548. + mv conftest.tail conftest.defines
  5549. +done
  5550. +rm -f conftest.defines
  5551. +echo ' fi # grep' >>$CONFIG_STATUS
  5552. +echo >>$CONFIG_STATUS
  5553. +
  5554. +# Break up conftest.undefs because some shells have a limit on the size
  5555. +# of here documents, and old seds have small limits too (100 cmds).
  5556. +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  5557. +rm -f conftest.tail
  5558. +while grep . conftest.undefs >/dev/null
  5559. +do
  5560. + # Write a limited-size here document to $tmp/undefs.sed.
  5561. + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  5562. + # Speed up: don't consider the non `#undef'
  5563. + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  5564. + # Work around the forget-to-reset-the-flag bug.
  5565. + echo 't clr' >>$CONFIG_STATUS
  5566. + echo ': clr' >>$CONFIG_STATUS
  5567. + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  5568. + echo 'CEOF
  5569. + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  5570. + rm -f $tmp/in
  5571. + mv $tmp/out $tmp/in
  5572. +' >>$CONFIG_STATUS
  5573. + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  5574. + rm -f conftest.undefs
  5575. + mv conftest.tail conftest.undefs
  5576. +done
  5577. +rm -f conftest.undefs
  5578. +
  5579. +cat >>$CONFIG_STATUS <<\_ACEOF
  5580. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  5581. + # use $as_me), people would be surprised to read:
  5582. + # /* config.h. Generated by config.status. */
  5583. + if test x"$ac_file" = x-; then
  5584. + echo "/* Generated by configure. */" >$tmp/config.h
  5585. + else
  5586. + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  5587. fi
  5588. -fi; done
  5589. + cat $tmp/in >>$tmp/config.h
  5590. + rm -f $tmp/in
  5591. + if test x"$ac_file" != x-; then
  5592. + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  5593. + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  5594. +echo "$as_me: $ac_file is unchanged" >&6;}
  5595. + else
  5596. + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  5597. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5598. + X"$ac_file" : 'X\(//\)[^/]' \| \
  5599. + X"$ac_file" : 'X\(//\)$' \| \
  5600. + X"$ac_file" : 'X\(/\)' \| \
  5601. + . : '\(.\)' 2>/dev/null ||
  5602. +echo X"$ac_file" |
  5603. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5604. + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5605. + /^X\(\/\/\)$/{ s//\1/; q; }
  5606. + /^X\(\/\).*/{ s//\1/; q; }
  5607. + s/.*/./; q'`
  5608. + { if $as_mkdir_p; then
  5609. + mkdir -p "$ac_dir"
  5610. + else
  5611. + as_dir="$ac_dir"
  5612. + as_dirs=
  5613. + while test ! -d "$as_dir"; do
  5614. + as_dirs="$as_dir $as_dirs"
  5615. + as_dir=`(dirname "$as_dir") 2>/dev/null ||
  5616. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5617. + X"$as_dir" : 'X\(//\)[^/]' \| \
  5618. + X"$as_dir" : 'X\(//\)$' \| \
  5619. + X"$as_dir" : 'X\(/\)' \| \
  5620. + . : '\(.\)' 2>/dev/null ||
  5621. +echo X"$as_dir" |
  5622. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  5623. + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  5624. + /^X\(\/\/\)$/{ s//\1/; q; }
  5625. + /^X\(\/\).*/{ s//\1/; q; }
  5626. + s/.*/./; q'`
  5627. + done
  5628. + test ! -n "$as_dirs" || mkdir $as_dirs
  5629. + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  5630. +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  5631. + { (exit 1); exit 1; }; }; }
  5632. + rm -f $ac_file
  5633. + mv $tmp/config.h $ac_file
  5634. + fi
  5635. + else
  5636. + cat $tmp/config.h
  5637. + rm -f $tmp/config.h
  5638. + fi
  5639. +done
  5640. +_ACEOF
  5641. +cat >>$CONFIG_STATUS <<\_ACEOF
  5642. -exit 0
  5643. -EOF
  5644. +{ (exit 0); exit 0; }
  5645. +_ACEOF
  5646. chmod +x $CONFIG_STATUS
  5647. -rm -fr confdefs* $ac_clean_files
  5648. -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  5649. +ac_clean_files=$ac_clean_files_save
  5650. +
  5651. +
  5652. +# configure is writing to config.log, and then calls config.status.
  5653. +# config.status does its own redirection, appending to config.log.
  5654. +# Unfortunately, on DOS this fails, as config.log is still kept open
  5655. +# by configure, so config.status won't be able to write to it; its
  5656. +# output is simply discarded. So we exec the FD to /dev/null,
  5657. +# effectively closing config.log, so it can be properly (re)opened and
  5658. +# appended to by config.status. When coming back to configure, we
  5659. +# need to make the FD available again.
  5660. +if test "$no_create" != yes; then
  5661. + ac_cs_success=:
  5662. + ac_config_status_args=
  5663. + test "$silent" = yes &&
  5664. + ac_config_status_args="$ac_config_status_args --quiet"
  5665. + exec 5>/dev/null
  5666. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  5667. + exec 5>>config.log
  5668. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5669. + # would make configure fail if this is the last instruction.
  5670. + $ac_cs_success || { (exit 1); exit 1; }
  5671. +fi
  5672. +
  5673. --- hesiod-3.0.2.orig/Makefile.in
  5674. +++ hesiod-3.0.2/Makefile.in
  5675. @@ -23,24 +23,33 @@
  5676. LIBS=@LIBS@
  5677. ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS}
  5678. OBJS=hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o
  5679. +PICOBJS=$(OBJS:.o=.po)
  5680. -all: libhesiod.a hesinfo hestest
  5681. +all: libhesiod.so libhesiod.a hesinfo hestest
  5682. libhesiod.a: ${OBJS}
  5683. ar cru $@ ${OBJS}
  5684. ${RANLIB} $@
  5685. -hesinfo: hesinfo.o libhesiod.a
  5686. - ${CC} ${LDFLAGS} -o $@ hesinfo.o libhesiod.a ${LIBS}
  5687. +libhesiod.so: ${PICOBJS}
  5688. + ${CC} -shared -Wl,-soname,libhesiod.so.0 $(LIBS) -o $@ ${PICOBJS}
  5689. +
  5690. +hesinfo: hesinfo.o libhesiod.so
  5691. + ${CC} ${LDFLAGS} -o $@ hesinfo.o -L. -lhesiod ${LIBS}
  5692. hestest: hestest.o libhesiod.a
  5693. - ${CC} ${LDFLAGS} -o $@ hestest.o libhesiod.a ${LIBS}
  5694. + ${CC} ${LDFLAGS} -o $@ hestest.o -L. -lhesiod ${LIBS}
  5695. +
  5696. +${OBJS} ${PICOBJS}: hesiod.h resscan.h
  5697. -${OBJS}: hesiod.h resscan.h
  5698. +.SUFFIXES: .c .o .po
  5699. .c.o:
  5700. ${CC} -c ${ALL_CFLAGS} $<
  5701. +.c.po:
  5702. + ${CC} -c -o $@ -fPIC ${ALL_CFLAGS} $<
  5703. +
  5704. check:
  5705. HESIOD_CONFIG=${srcdir}/hesiod.config.sample \
  5706. ./hestest ${srcdir}/hestest.conf
  5707. @@ -55,6 +64,8 @@
  5708. ${INSTALL} -c -m 644 libhesiod.a ${DESTDIR}${libdir}
  5709. ${RANLIB} ${DESTDIR}${libdir}/libhesiod.a
  5710. chmod u-w ${DESTDIR}${libdir}/libhesiod.a
  5711. + ${INSTALL} -c -m 644 libhesiod.so ${DESTDIR}${libdir}/libhesiod.so.0
  5712. + ln -s libhesiod.so.0 ${DESTDIR}${libdir}/libhesiod.so
  5713. ${INSTALL_PROGRAM} -c -m 555 hesinfo ${DESTDIR}${lbindir}
  5714. ${INSTALL} -c -m 444 ${srcdir}/hesiod.h ${DESTDIR}${includedir}
  5715. ${INSTALL} -c -m 444 ${srcdir}/hesinfo.1 ${DESTDIR}${mandir}/man1
  5716. @@ -85,7 +96,7 @@
  5717. ${INSTALL} -c -m 444 ${srcdir}/hesiod.conf.5 ${DESTDIR}${mandir}/man5
  5718. clean:
  5719. - rm -f ${OBJS} libhesiod.a hesinfo.o hesinfo hestest.o hestest
  5720. + rm -f ${OBJS} ${PICOBJS} libhesiod.so libhesiod.a hesinfo.o hesinfo hestest.o hestest
  5721. distclean: clean
  5722. rm -f config.cache config.log config.status Makefile config.h