masqmail-0.2

changeset 0:08114f7dcc23 0.2.21

this is masqmail-0.2.21 from oliver kurth
author meillo@marmaro.de
date Fri, 26 Sep 2008 17:05:23 +0200
parents
children af25f5c39d90
files AUTHORS COPYING ChangeLog INSTALL INSTALL.agenda INSTALL.ipaq Makefile.am Makefile.in NEWS README TODO acconfig.h aclocal.m4 agenda-config.site config.guess config.h.in config.sub configure configure.ac debian/Makefile.am debian/Makefile.in debian/README.Debian debian/README.online debian/TODO debian/changelog debian/control debian/copyright debian/dirs debian/docs debian/mailq.8 debian/mailrm.8 debian/masqmail.config debian/masqmail.init debian/masqmail.ip-up debian/masqmail.links debian/masqmail.lintian debian/masqmail.logrotate debian/masqmail.templates debian/newaliases debian/newaliases.8 debian/postinst debian/postrm debian/preinst debian/rules debian/sendmail.8 depcomp docs/Makefile.am docs/Makefile.in docs/README docs/man/Makefile.am docs/man/Makefile.in docs/man/masqmail.8 docs/man/masqmail.aliases.5 docs/man/masqmail.conf.5 docs/man/masqmail.get.5 docs/man/masqmail.route.5 docs/man/mservdetect.8 docs/xml/Makefile.am docs/xml/Makefile.in docs/xml/masqmail.8.xml docs/xml/masqmail.aliases.5.xml docs/xml/masqmail.conf.5.xml docs/xml/masqmail.get.5.xml docs/xml/masqmail.route.5.xml docs/xml/mservdetect.8.xml examples/example.get examples/example.route examples/masqmail.conf install-sh missing mkinstalldirs redhat/masqmail redhat/masqmail.spec redhat/masqmail.spec.in src/Makefile.am src/Makefile.in src/accept.c src/address.c src/alias.c src/base64/Makefile.am src/base64/Makefile.in src/base64/base64.c src/base64/base64.h src/base64/base64dec.c src/base64/base64enc.c src/child.c src/conf.c src/connect.c src/deliver.c src/dotlock.c src/dotlock.h src/expand.c src/fail_msg.c src/get.c src/header.c src/interface.c src/libident/INSTALL src/libident/Makefile.am src/libident/Makefile.in src/libident/README src/libident/README_MASQMAIL src/libident/id_close.c src/libident/id_open.c src/libident/id_parse.c src/libident/id_query.c src/libident/ident.c src/libident/ident.h src/libident/support.c src/libident/version.c src/listen.c src/local.c src/log.c src/lookup.c src/lookup.h src/masqmail.c src/masqmail.h src/md5/Makefile.am src/md5/Makefile.in src/md5/global.h src/md5/hmac_md5.c src/md5/hmac_md5.h src/md5/hmactest.c src/md5/md5.h src/md5/md5c.c src/message.c src/mservdetect.c src/mserver.c src/mserver.h src/online.c src/parse.c src/peopen.c src/peopen.h src/permissions.c src/pop3_in.c src/pop3_in.h src/queue.c src/readsock.c src/readsock.h src/readtest.c src/rewrite.c src/route.c src/smtp_in.c src/smtp_out.c src/smtp_out.h src/smtpsend.c src/spool.c src/tables.c src/timeival.c suse/masqmail suse/masqmail.spec suse/masqmail.spec.in tests/Makefile.am tests/Makefile.in tests/README tests/conf.templ tests/test.templ tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr
diffstat 163 files changed, 38071 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/AUTHORS	Fri Sep 26 17:05:23 2008 +0200
     1.3 @@ -0,0 +1,2 @@
     1.4 +Project Maintainer and ~99% of coding done by:
     1.5 +Oliver Kurth <oku@masqmail.cx>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/COPYING	Fri Sep 26 17:05:23 2008 +0200
     2.3 @@ -0,0 +1,340 @@
     2.4 +		    GNU GENERAL PUBLIC LICENSE
     2.5 +		       Version 2, June 1991
     2.6 +
     2.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
     2.8 +     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     2.9 + Everyone is permitted to copy and distribute verbatim copies
    2.10 + of this license document, but changing it is not allowed.
    2.11 +
    2.12 +			    Preamble
    2.13 +
    2.14 +  The licenses for most software are designed to take away your
    2.15 +freedom to share and change it.  By contrast, the GNU General Public
    2.16 +License is intended to guarantee your freedom to share and change free
    2.17 +software--to make sure the software is free for all its users.  This
    2.18 +General Public License applies to most of the Free Software
    2.19 +Foundation's software and to any other program whose authors commit to
    2.20 +using it.  (Some other Free Software Foundation software is covered by
    2.21 +the GNU Library General Public License instead.)  You can apply it to
    2.22 +your programs, too.
    2.23 +
    2.24 +  When we speak of free software, we are referring to freedom, not
    2.25 +price.  Our General Public Licenses are designed to make sure that you
    2.26 +have the freedom to distribute copies of free software (and charge for
    2.27 +this service if you wish), that you receive source code or can get it
    2.28 +if you want it, that you can change the software or use pieces of it
    2.29 +in new free programs; and that you know you can do these things.
    2.30 +
    2.31 +  To protect your rights, we need to make restrictions that forbid
    2.32 +anyone to deny you these rights or to ask you to surrender the rights.
    2.33 +These restrictions translate to certain responsibilities for you if you
    2.34 +distribute copies of the software, or if you modify it.
    2.35 +
    2.36 +  For example, if you distribute copies of such a program, whether
    2.37 +gratis or for a fee, you must give the recipients all the rights that
    2.38 +you have.  You must make sure that they, too, receive or can get the
    2.39 +source code.  And you must show them these terms so they know their
    2.40 +rights.
    2.41 +
    2.42 +  We protect your rights with two steps: (1) copyright the software, and
    2.43 +(2) offer you this license which gives you legal permission to copy,
    2.44 +distribute and/or modify the software.
    2.45 +
    2.46 +  Also, for each author's protection and ours, we want to make certain
    2.47 +that everyone understands that there is no warranty for this free
    2.48 +software.  If the software is modified by someone else and passed on, we
    2.49 +want its recipients to know that what they have is not the original, so
    2.50 +that any problems introduced by others will not reflect on the original
    2.51 +authors' reputations.
    2.52 +
    2.53 +  Finally, any free program is threatened constantly by software
    2.54 +patents.  We wish to avoid the danger that redistributors of a free
    2.55 +program will individually obtain patent licenses, in effect making the
    2.56 +program proprietary.  To prevent this, we have made it clear that any
    2.57 +patent must be licensed for everyone's free use or not licensed at all.
    2.58 +
    2.59 +  The precise terms and conditions for copying, distribution and
    2.60 +modification follow.
    2.61 +
    2.62 +		    GNU GENERAL PUBLIC LICENSE
    2.63 +   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    2.64 +
    2.65 +  0. This License applies to any program or other work which contains
    2.66 +a notice placed by the copyright holder saying it may be distributed
    2.67 +under the terms of this General Public License.  The "Program", below,
    2.68 +refers to any such program or work, and a "work based on the Program"
    2.69 +means either the Program or any derivative work under copyright law:
    2.70 +that is to say, a work containing the Program or a portion of it,
    2.71 +either verbatim or with modifications and/or translated into another
    2.72 +language.  (Hereinafter, translation is included without limitation in
    2.73 +the term "modification".)  Each licensee is addressed as "you".
    2.74 +
    2.75 +Activities other than copying, distribution and modification are not
    2.76 +covered by this License; they are outside its scope.  The act of
    2.77 +running the Program is not restricted, and the output from the Program
    2.78 +is covered only if its contents constitute a work based on the
    2.79 +Program (independent of having been made by running the Program).
    2.80 +Whether that is true depends on what the Program does.
    2.81 +
    2.82 +  1. You may copy and distribute verbatim copies of the Program's
    2.83 +source code as you receive it, in any medium, provided that you
    2.84 +conspicuously and appropriately publish on each copy an appropriate
    2.85 +copyright notice and disclaimer of warranty; keep intact all the
    2.86 +notices that refer to this License and to the absence of any warranty;
    2.87 +and give any other recipients of the Program a copy of this License
    2.88 +along with the Program.
    2.89 +
    2.90 +You may charge a fee for the physical act of transferring a copy, and
    2.91 +you may at your option offer warranty protection in exchange for a fee.
    2.92 +
    2.93 +  2. You may modify your copy or copies of the Program or any portion
    2.94 +of it, thus forming a work based on the Program, and copy and
    2.95 +distribute such modifications or work under the terms of Section 1
    2.96 +above, provided that you also meet all of these conditions:
    2.97 +
    2.98 +    a) You must cause the modified files to carry prominent notices
    2.99 +    stating that you changed the files and the date of any change.
   2.100 +
   2.101 +    b) You must cause any work that you distribute or publish, that in
   2.102 +    whole or in part contains or is derived from the Program or any
   2.103 +    part thereof, to be licensed as a whole at no charge to all third
   2.104 +    parties under the terms of this License.
   2.105 +
   2.106 +    c) If the modified program normally reads commands interactively
   2.107 +    when run, you must cause it, when started running for such
   2.108 +    interactive use in the most ordinary way, to print or display an
   2.109 +    announcement including an appropriate copyright notice and a
   2.110 +    notice that there is no warranty (or else, saying that you provide
   2.111 +    a warranty) and that users may redistribute the program under
   2.112 +    these conditions, and telling the user how to view a copy of this
   2.113 +    License.  (Exception: if the Program itself is interactive but
   2.114 +    does not normally print such an announcement, your work based on
   2.115 +    the Program is not required to print an announcement.)
   2.116 +
   2.117 +These requirements apply to the modified work as a whole.  If
   2.118 +identifiable sections of that work are not derived from the Program,
   2.119 +and can be reasonably considered independent and separate works in
   2.120 +themselves, then this License, and its terms, do not apply to those
   2.121 +sections when you distribute them as separate works.  But when you
   2.122 +distribute the same sections as part of a whole which is a work based
   2.123 +on the Program, the distribution of the whole must be on the terms of
   2.124 +this License, whose permissions for other licensees extend to the
   2.125 +entire whole, and thus to each and every part regardless of who wrote it.
   2.126 +
   2.127 +Thus, it is not the intent of this section to claim rights or contest
   2.128 +your rights to work written entirely by you; rather, the intent is to
   2.129 +exercise the right to control the distribution of derivative or
   2.130 +collective works based on the Program.
   2.131 +
   2.132 +In addition, mere aggregation of another work not based on the Program
   2.133 +with the Program (or with a work based on the Program) on a volume of
   2.134 +a storage or distribution medium does not bring the other work under
   2.135 +the scope of this License.
   2.136 +
   2.137 +  3. You may copy and distribute the Program (or a work based on it,
   2.138 +under Section 2) in object code or executable form under the terms of
   2.139 +Sections 1 and 2 above provided that you also do one of the following:
   2.140 +
   2.141 +    a) Accompany it with the complete corresponding machine-readable
   2.142 +    source code, which must be distributed under the terms of Sections
   2.143 +    1 and 2 above on a medium customarily used for software interchange; or,
   2.144 +
   2.145 +    b) Accompany it with a written offer, valid for at least three
   2.146 +    years, to give any third party, for a charge no more than your
   2.147 +    cost of physically performing source distribution, a complete
   2.148 +    machine-readable copy of the corresponding source code, to be
   2.149 +    distributed under the terms of Sections 1 and 2 above on a medium
   2.150 +    customarily used for software interchange; or,
   2.151 +
   2.152 +    c) Accompany it with the information you received as to the offer
   2.153 +    to distribute corresponding source code.  (This alternative is
   2.154 +    allowed only for noncommercial distribution and only if you
   2.155 +    received the program in object code or executable form with such
   2.156 +    an offer, in accord with Subsection b above.)
   2.157 +
   2.158 +The source code for a work means the preferred form of the work for
   2.159 +making modifications to it.  For an executable work, complete source
   2.160 +code means all the source code for all modules it contains, plus any
   2.161 +associated interface definition files, plus the scripts used to
   2.162 +control compilation and installation of the executable.  However, as a
   2.163 +special exception, the source code distributed need not include
   2.164 +anything that is normally distributed (in either source or binary
   2.165 +form) with the major components (compiler, kernel, and so on) of the
   2.166 +operating system on which the executable runs, unless that component
   2.167 +itself accompanies the executable.
   2.168 +
   2.169 +If distribution of executable or object code is made by offering
   2.170 +access to copy from a designated place, then offering equivalent
   2.171 +access to copy the source code from the same place counts as
   2.172 +distribution of the source code, even though third parties are not
   2.173 +compelled to copy the source along with the object code.
   2.174 +
   2.175 +  4. You may not copy, modify, sublicense, or distribute the Program
   2.176 +except as expressly provided under this License.  Any attempt
   2.177 +otherwise to copy, modify, sublicense or distribute the Program is
   2.178 +void, and will automatically terminate your rights under this License.
   2.179 +However, parties who have received copies, or rights, from you under
   2.180 +this License will not have their licenses terminated so long as such
   2.181 +parties remain in full compliance.
   2.182 +
   2.183 +  5. You are not required to accept this License, since you have not
   2.184 +signed it.  However, nothing else grants you permission to modify or
   2.185 +distribute the Program or its derivative works.  These actions are
   2.186 +prohibited by law if you do not accept this License.  Therefore, by
   2.187 +modifying or distributing the Program (or any work based on the
   2.188 +Program), you indicate your acceptance of this License to do so, and
   2.189 +all its terms and conditions for copying, distributing or modifying
   2.190 +the Program or works based on it.
   2.191 +
   2.192 +  6. Each time you redistribute the Program (or any work based on the
   2.193 +Program), the recipient automatically receives a license from the
   2.194 +original licensor to copy, distribute or modify the Program subject to
   2.195 +these terms and conditions.  You may not impose any further
   2.196 +restrictions on the recipients' exercise of the rights granted herein.
   2.197 +You are not responsible for enforcing compliance by third parties to
   2.198 +this License.
   2.199 +
   2.200 +  7. If, as a consequence of a court judgment or allegation of patent
   2.201 +infringement or for any other reason (not limited to patent issues),
   2.202 +conditions are imposed on you (whether by court order, agreement or
   2.203 +otherwise) that contradict the conditions of this License, they do not
   2.204 +excuse you from the conditions of this License.  If you cannot
   2.205 +distribute so as to satisfy simultaneously your obligations under this
   2.206 +License and any other pertinent obligations, then as a consequence you
   2.207 +may not distribute the Program at all.  For example, if a patent
   2.208 +license would not permit royalty-free redistribution of the Program by
   2.209 +all those who receive copies directly or indirectly through you, then
   2.210 +the only way you could satisfy both it and this License would be to
   2.211 +refrain entirely from distribution of the Program.
   2.212 +
   2.213 +If any portion of this section is held invalid or unenforceable under
   2.214 +any particular circumstance, the balance of the section is intended to
   2.215 +apply and the section as a whole is intended to apply in other
   2.216 +circumstances.
   2.217 +
   2.218 +It is not the purpose of this section to induce you to infringe any
   2.219 +patents or other property right claims or to contest validity of any
   2.220 +such claims; this section has the sole purpose of protecting the
   2.221 +integrity of the free software distribution system, which is
   2.222 +implemented by public license practices.  Many people have made
   2.223 +generous contributions to the wide range of software distributed
   2.224 +through that system in reliance on consistent application of that
   2.225 +system; it is up to the author/donor to decide if he or she is willing
   2.226 +to distribute software through any other system and a licensee cannot
   2.227 +impose that choice.
   2.228 +
   2.229 +This section is intended to make thoroughly clear what is believed to
   2.230 +be a consequence of the rest of this License.
   2.231 +
   2.232 +  8. If the distribution and/or use of the Program is restricted in
   2.233 +certain countries either by patents or by copyrighted interfaces, the
   2.234 +original copyright holder who places the Program under this License
   2.235 +may add an explicit geographical distribution limitation excluding
   2.236 +those countries, so that distribution is permitted only in or among
   2.237 +countries not thus excluded.  In such case, this License incorporates
   2.238 +the limitation as if written in the body of this License.
   2.239 +
   2.240 +  9. The Free Software Foundation may publish revised and/or new versions
   2.241 +of the General Public License from time to time.  Such new versions will
   2.242 +be similar in spirit to the present version, but may differ in detail to
   2.243 +address new problems or concerns.
   2.244 +
   2.245 +Each version is given a distinguishing version number.  If the Program
   2.246 +specifies a version number of this License which applies to it and "any
   2.247 +later version", you have the option of following the terms and conditions
   2.248 +either of that version or of any later version published by the Free
   2.249 +Software Foundation.  If the Program does not specify a version number of
   2.250 +this License, you may choose any version ever published by the Free Software
   2.251 +Foundation.
   2.252 +
   2.253 +  10. If you wish to incorporate parts of the Program into other free
   2.254 +programs whose distribution conditions are different, write to the author
   2.255 +to ask for permission.  For software which is copyrighted by the Free
   2.256 +Software Foundation, write to the Free Software Foundation; we sometimes
   2.257 +make exceptions for this.  Our decision will be guided by the two goals
   2.258 +of preserving the free status of all derivatives of our free software and
   2.259 +of promoting the sharing and reuse of software generally.
   2.260 +
   2.261 +			    NO WARRANTY
   2.262 +
   2.263 +  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
   2.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
   2.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
   2.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
   2.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   2.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
   2.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
   2.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
   2.271 +REPAIR OR CORRECTION.
   2.272 +
   2.273 +  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   2.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
   2.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
   2.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
   2.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
   2.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
   2.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
   2.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
   2.281 +POSSIBILITY OF SUCH DAMAGES.
   2.282 +
   2.283 +		     END OF TERMS AND CONDITIONS
   2.284 +
   2.285 +	    How to Apply These Terms to Your New Programs
   2.286 +
   2.287 +  If you develop a new program, and you want it to be of the greatest
   2.288 +possible use to the public, the best way to achieve this is to make it
   2.289 +free software which everyone can redistribute and change under these terms.
   2.290 +
   2.291 +  To do so, attach the following notices to the program.  It is safest
   2.292 +to attach them to the start of each source file to most effectively
   2.293 +convey the exclusion of warranty; and each file should have at least
   2.294 +the "copyright" line and a pointer to where the full notice is found.
   2.295 +
   2.296 +    <one line to give the program's name and a brief idea of what it does.>
   2.297 +    Copyright (C) <year>  <name of author>
   2.298 +
   2.299 +    This program is free software; you can redistribute it and/or modify
   2.300 +    it under the terms of the GNU General Public License as published by
   2.301 +    the Free Software Foundation; either version 2 of the License, or
   2.302 +    (at your option) any later version.
   2.303 +
   2.304 +    This program is distributed in the hope that it will be useful,
   2.305 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   2.306 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   2.307 +    GNU General Public License for more details.
   2.308 +
   2.309 +    You should have received a copy of the GNU General Public License
   2.310 +    along with this program; if not, write to the Free Software
   2.311 +    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   2.312 +
   2.313 +
   2.314 +Also add information on how to contact you by electronic and paper mail.
   2.315 +
   2.316 +If the program is interactive, make it output a short notice like this
   2.317 +when it starts in an interactive mode:
   2.318 +
   2.319 +    Gnomovision version 69, Copyright (C) year  name of author
   2.320 +    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
   2.321 +    This is free software, and you are welcome to redistribute it
   2.322 +    under certain conditions; type `show c' for details.
   2.323 +
   2.324 +The hypothetical commands `show w' and `show c' should show the appropriate
   2.325 +parts of the General Public License.  Of course, the commands you use may
   2.326 +be called something other than `show w' and `show c'; they could even be
   2.327 +mouse-clicks or menu items--whatever suits your program.
   2.328 +
   2.329 +You should also get your employer (if you work as a programmer) or your
   2.330 +school, if any, to sign a "copyright disclaimer" for the program, if
   2.331 +necessary.  Here is a sample; alter the names:
   2.332 +
   2.333 +  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
   2.334 +  `Gnomovision' (which makes passes at compilers) written by James Hacker.
   2.335 +
   2.336 +  <signature of Ty Coon>, 1 April 1989
   2.337 +  Ty Coon, President of Vice
   2.338 +
   2.339 +This General Public License does not permit incorporating your program into
   2.340 +proprietary programs.  If your program is a subroutine library, you may
   2.341 +consider it more useful to permit linking proprietary applications with the
   2.342 +library.  If this is what you want to do, use the GNU Library General
   2.343 +Public License instead of this License.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ChangeLog	Fri Sep 26 17:05:23 2008 +0200
     3.3 @@ -0,0 +1,440 @@
     3.4 +0.2.20	Mon, 19 May 2003 21:14:06 +0200
     3.5 +	* fixed a segfaulting bug in spool.c caused by folded headers
     3.6 +	* regard connect_error_fail when failing for pipes (Debian Bug #186364)
     3.7 +	* hopefully fixed uid/gid problem in peidopen.c
     3.8 +0.2.19  Wed, 12 Mar 2003 21:33:53 +0100
     3.9 +	* fixed a bug in addr_string (set buffer = NULL if g_free'd buffer)
    3.10 +0.2.18	Fri, 06 Dec 2002 14:57:41 +0100
    3.11 +	* new option connect_error_fail
    3.12 +	* install /var/{log,spool} before subdirs, so
    3.13 +	they get correct ownerships, if installing to a tmp. directory
    3.14 +	Thx to Juergen Daubert.
    3.15 +	* failure notices and warnings also if connection fails
    3.16 +0.2.17  Thu, 28 Nov 2002 14:59:24 +0100
    3.17 +	* fixed errors in man page masqmail.conf.5 about online_detect
    3.18 +	Thx to Juergen Daubert.
    3.19 +	* fixed a segfaulting bug in accept.c on pop retrieval, if there
    3.20 +	is no return_path in the mail and Sender: is empty.
    3.21 +	Thx to Olaf Buddenhagen for debug information.
    3.22 +	* implemented 'last_route' option
    3.23 +	* moved *.tpl to /usr/share/masqmail/tpl (from /etc/masqmail/tpl)
    3.24 +	* french translation of warnmsg.tpl by Rémi Denis-Courmont
    3.25 +	* added delivery warn messages for deferals
    3.26 +	new options: 'warn_intervals', 'warnmsg_file', 'max_defer_time'
    3.27 +	* warn/fail also if remote SMTP server replies with 4xx or 5xx
    3.28 +	just after EHLO/HELO (yes, that was a bug)
    3.29 +	* removed a few -Wall warnings. Thanks to Juergen Daubert.
    3.30 +0.2.16  Tue, 12 Nov 2002 17:27:13 +0100
    3.31 +	* fixed debugging, which has been broken in 0.2.15
    3.32 +0.2.15  Wed, 06 Nov 2002 12:19:55 +0100
    3.33 +	* added french translation of delivery failure message template.
    3.34 +	Thanks to Rémi Denis-Courmont
    3.35 +	* accept -f "" without segfaulting. Thanks to Ralf Friedl.
    3.36 +	* fixed buffer overflows in conf.c. Thanks to Damian M Gryski.
    3.37 +	* read conf file _after_ dropping privileges
    3.38 +0.2.14	Sat, 26 Oct 2002 14:40:49 +0200
    3.39 +	* corrected html version of documentation
    3.40 +	* include masqmail.8 man page (was garbled in 0.2.13)
    3.41 +	* small lintian fixes for Debian
    3.42 +0.2.13	Wed, 23 Oct 2002 20:54:39 +0200
    3.43 +	* fixed a possible buffer overflow (IMHO not exploitable) Thanks to Anonymous.
    3.44 +0.2.12	Wed, 23 Oct 2002 18:57:42 +0200
    3.45 +	* new do_pipelining option (to switch it off if necessary)
    3.46 +	* new helo_name option for route
    3.47 +	* fixed remote_port option (but marked it as deprecated)
    3.48 +	* swapped setegid/seteuid in maildir_out()
    3.49 +	* try again on EAGAIN failure for local delivery via mbox
    3.50 +0.2.11:
    3.51 +	* make it possible for *.route file to have mode 600, owned by root.
    3.52 +	Thx to Juergen Daubert for noticing.
    3.53 +	* do not choke on trailing blanks after comments in conf file. Anonymous
    3.54 +	again.
    3.55 +	* try again on EAGAIN failure for local delivery via mda
    3.56 +	* fixed a potential buffer overflow in conf.c. Thanks to Anonymous
    3.57 +	again.
    3.58 +	* set umask 066 for log files. Thanks to Anonymous.
    3.59 +	* implemented map_h_mail_followup_to_addresses
    3.60 +	* fixed a bug: masqmail -t with empty body caused weird
    3.61 +	errors. Thanks to Anonymous.
    3.62 +	* added do_save_envelope_to option
    3.63 +0.2.10:
    3.64 +	* fixed a small bug in mserver.c (atoi) (Thanks to Gert Ohme)
    3.65 +	* allow ';' in rval also if rval is unqoted
    3.66 +	* write pidfiles to /var/run/masqmail{,-get}.pid
    3.67 +	* now runs on freebsd without leaving zombies
    3.68 +	* use setjmp() in readsock.c for timeouts
    3.69 +0.2.9:
    3.70 +	* attempts to make it compile on freebsd
    3.71 +	- works, but leaves zombies behind (will be done next release, I hope)
    3.72 +	* removed some bashisms from configure.ac
    3.73 +	* fixed segfault when called with -t under some circumstances
    3.74 +	* some fixes about locking when fetching mail (yes, 0 _is_ a valid fd...)
    3.75 +	* some speedups for uidl handling, and do not bloat log files any more
    3.76 +0.2.8:
    3.77 +	* use flock() for locking in retrieving mails (get.c)
    3.78 +	* can use /etc/mailname as host_name (for Debian)
    3.79 +	* added ESMTP LOGIN
    3.80 +	* made uidl handling even more safe
    3.81 +0.2.7:
    3.82 +	* fixed stupid locking bug
    3.83 +	* do not complain about 'unknown mode' when getting mail
    3.84 +	* added italian version of failmsg.tpl (by Paolo)
    3.85 +	* changed MIME boundaries in failmsg.tpl (Paolo)
    3.86 +	* applied patches from Paolo (Gabel - ):
    3.87 +	mostly replacing g_strdup_printf() with g_strdup(), a few ticks ('),
    3.88 +	changed SENDER_LOCAL environment variable and fixed missing '\' in
    3.89 +	debian/masqmail.ip-up
    3.90 +0.2.6:
    3.91 +	* rediscovered previously undocumented allowed_return_paths option for
    3.92 +	routes and made it usable for null sender addresses.
    3.93 +	* added mbox_default, and {mbox,mda,maildir}_users options
    3.94 +	* changes to vsnprintf function use in pop3_in.c and smtp_in.c (by egp)
    3.95 +	* fixes to ip-up/ip-down scripts (by Ben Low)
    3.96 +	* ENABLE_SMTP_SERVER define was incorrectly written as
    3.97 +	ENABLE_MODE_SMTP (by Ben Low)
    3.98 +	* fixed bug in get_header() in src/header.c (by egp)
    3.99 +0.2.5:
   3.100 +	* PowerPC fix for varargs functions
   3.101 +	* relay checking: if do_relay is set to false, do not allow non local
   3.102 +	to non local addresses
   3.103 +	* alias is always caseless for postmaster (disregarding
   3.104 +	alias_local_caseless option)
   3.105 +	* do not rebounce to postmaster
   3.106 +	* implemented Maildir support
   3.107 +	* rearranged append_file in local.c
   3.108 +	* use sysexits.h for correct error reply for failure messages (mda only)
   3.109 +0.2.4:
   3.110 +	* fixed uidl bug: uidl list was not written if a mail was not
   3.111 +	fetched because it was in the list
   3.112 +	* fixed bug in src/conf.c: g_free'd twice in destroy_route()
   3.113 +	* security fix, Debian Bug#102092: 'Privilege escalation in masqmail
   3.114 +	piped alias handling': fixed by using set[ug]id instead of sete[ug]id
   3.115 +	in peopen.c (noted by Colin Phipps)
   3.116 +	* limit count of children in pop3_in.c and wait for them
   3.117 +	* ignore SIGPIPE signal
   3.118 +	* docu updates by Uli Funcke
   3.119 +	* find path to masqmail via --prefix or --exec-prefix option for configure
   3.120 +	* implemented -v (log to stdout) option
   3.121 +0.2.3:
   3.122 +	* local_addresses and not_local_addreses option (patch by Uli Funcke)
   3.123 +	* replaced /usr/sbin/masqmail in fail_msg.c with /usr/sbin/sendmail
   3.124 +	* typo in man pages (noted by Sebastian Inacker)
   3.125 +	* hostnames can now begin with a digit (noted by CatcherInTheRye)
   3.126 +	* chdir to '/' (on some systems getcwd() failes when changing uid)
   3.127 +	* implemented lock_dir option
   3.128 +	* ignore EINVAL after fdatasync
   3.129 +	* configure option to link with libcrypto
   3.130 +	* configure option to disable resolver support
   3.131 +	* configure option to enable mserver support
   3.132 +	* configure option to disable smtp server
   3.133 +	* configure option to link glib statically
   3.134 +	* msg_count option for get configuration
   3.135 +	* bug fix: do not terminate if accept() return
   3.136 +	error (patch by Edouard G. Parmelan)
   3.137 +	* removed some files from package in
   3.138 +	debian (by Edouard G. Parmelan))
   3.139 +	* mailrm alias (by Edouard G. Parmelan)
   3.140 +	* bug fix: removed superfluous g_free from
   3.141 +	dot_unlock() (by Edouard G. Parmelan)
   3.142 +	* write uidl list to temporary file first
   3.143 +	* write uidl list each time a message was retrieved
   3.144 +	(avoid duplicate mails when interupted)
   3.145 +0.2.2:
   3.146 +	* fix of Debian Bug#92894 by Gregor Hoffleit
   3.147 +	(correct error reply for lacking permissions)
   3.148 +	* fixed 'last line missing' bug
   3.149 +	* fixed spool locking bug: lock was deleted
   3.150 +	if unsuccessful (unlocking it)
   3.151 +	* added patch from Uli Funcke for log_user
   3.152 +	(user getting all delivered mail)
   3.153 +	* implemented get daemon
   3.154 +	* create lock file when getting mail
   3.155 +	* use tables for finding route and get lists
   3.156 +0.2.1:
   3.157 +	* expand_h_sender_address now defaults to true (as described in docs)
   3.158 +	* included documentation patch by Marc Herbert (masqmail call in ifup configuration)
   3.159 +	* complain to log if failure message template cannot be opened
   3.160 +	* errmsg_file defaults to /etc/masqmail/tpl/failmsg.tpl
   3.161 +	* corrected error message for insufficient permissions (Debian Bug #92894)
   3.162 +	* get mail depending on connection: -go option and online_get
   3.163 +0.2.0:
   3.164 +	* included the debian/ directory from the debian package.
   3.165 +	* added return_path option for get configuration
   3.166 +	* added max_messages option for get configuration
   3.167 +	* added independent program 'mservdetect', which can be used with
   3.168 +	online_detect=pipe as replacement for online_detect=mserver
   3.169 +	* added online detection method 'pipe'
   3.170 +	* replaced configure option --with-conffile with --with-confdir, default
   3.171 +	is now /etc/masqmail/ (/etc/masqmail/masqmail.conf for the conf file).
   3.172 +	* added do_uidl_dele option (delete messages in uid listing on server)
   3.173 +	* qualify address for get configuration.
   3.174 +	* better checking for valid From: address when retrieving mail via pop3
   3.175 +	and this is used as the return path.
   3.176 +	* port number for mail_host in routes possible
   3.177 +	* introduce delivery failue notices
   3.178 +	* added addr_string() function for easy output of addresses
   3.179 +	* expire spool lock files after a while (currently 300s)
   3.180 +	* started development branch 0.2.x
   3.181 +	
   3.182 +0.1.12:
   3.183 +	* previous fix auf AUTH broke it - reverted it partially and fixed it again
   3.184 +	* bug fix in get.c: retrieval via pop from different server could cause mail to be lost
   3.185 +0.1.11:
   3.186 +	* bug fix in smtp_out.c: of AUTH methods supplied by server, only the first was recognized
   3.187 +0.1.10:
   3.188 +	* added support for IP address as mail_host in routes
   3.189 +	* include <time.h> in masqmail.h to make it compile with glibc 2.2.2
   3.190 +0.1.9:
   3.191 +	* fixed a few typos in man pages
   3.192 +	* ignore -v option
   3.193 +	* added patch from Bernhard Ehlers to program aliases runq, rmail, smtpd and in.smtpd
   3.194 +	* added patch from Edouard G. Parmelan to correct default directories to install
   3.195 +	* implemtented pipe, pipe_fromhack and pipe_fromline options
   3.196 +	for routes (for protocol 'pipe')
   3.197 +	* implememted 'pipe' protocol for routes
   3.198 +	* memset to 0 of configuration structures (it is safer and easier)
   3.199 +	* list of routes for each connection
   3.200 +	* do not be picky about EOF if locally received message is not terminated by a dot
   3.201 +	* speeded up accept.c for large messages (noted by Falko Flessner)
   3.202 +0.1.8:
   3.203 +	* security bug fix (Debian Bug#81079): if local address cannot be
   3.204 +	resolved, masqmail listened on an arbitrary port (fixed by Adel
   3.205 +	Belhouane)
   3.206 +	* bug fix: -d without argument caused segfault (Thanks to Jan Setzer)
   3.207 +	* added more help for configure
   3.208 +	* Iain Lea sent a spec file for Redhat. Thanks!
   3.209 +	* lines can now be indefinetely long for mail acception (well, nearly...)
   3.210 +	* implemented 'wrapper' options for routes and get configurations for ssl and maybe other purposes
   3.211 +	* unified read_sockline() for smtp_out.c, smtp_in.c, pop3_in.c, accept.c and mserver.c
   3.212 +	* escaping of quotes in configuration now possible and now works
   3.213 +	correctly in alias file (Edouard G. Parmelan sent a patch, but I fixed it differently)
   3.214 +	* kill -HUP seems to work now.
   3.215 +	* close all file descriptors >= 3 on start (patch by Edouard G. Parmelan)
   3.216 +	* replaced exit() with _exit where appropriate (children)
   3.217 +	* added pipe_fromhack and pipe_fromline options
   3.218 +	* added mda support and mda_fromhack and mda_fromline options
   3.219 +	* user can delete his own mail if received via smtp from one of ident_trusted_nets
   3.220 +	* bug fix in lookup.c: if the name that an MX points could not be resolved, delete entry
   3.221 +	* added expand_h_sender_address option. expend_h_sender_domain should be obsolete now.
   3.222 +	* unprivileged user can delete his own mail from queue if received locally
   3.223 +	* replaced popen() in local.c with peopen() from snippet from sourceforge. Fixed a bug there.
   3.224 +0.1.7:
   3.225 +	* debug option can be changed for privileged users only
   3.226 +	* fixed a security hole: -C option for unprivileged users now implies
   3.227 +	run_as_user and drops _all_ privileges
   3.228 +	* environment variables for pipe transport
   3.229 +	* wildcards for map_* options
   3.230 +	* rearranged interface handling, IP addresses now possible for
   3.231 +	listen_addresses and mserver_iface
   3.232 +	* beautified masqmail.c
   3.233 +	* revised uid and gid settings in spool.c and local.c (pipe transport)
   3.234 +	* optionally use ident protocol (RFC 1413) and store user id in spool file
   3.235 +	* proper spool file locking
   3.236 +0.1.6:
   3.237 +	* record user id in spool file (though it is not used anywhere)
   3.238 +	* command line option to remove messages from queue (-Mrm)
   3.239 +	* command line option for version information (-bV)
   3.240 +0.1.5:
   3.241 +	* implemented -F option
   3.242 +	* removed bug in accept.c (dot bug, noted by Andre Masloch)
   3.243 +	* location of main conf is now configurable with ./configure
   3.244 +	(suggested by Greger Hoffleit). Default is /etc/masqmail.conf.
   3.245 +	* remote_port defaults to 25 (noted by Andre Masloch)
   3.246 +	* docu fixes: remote_port documented and typo fix (noted by Andre Masloch. Again :-))
   3.247 +	* do not return failure on exit on delivery if mail queue was empty (noted by Andre Masloch)
   3.248 +	* qualify -f address with host_name if unqualified (noted by Andre Masloch)
   3.249 +0.1.4:
   3.250 +	* Jens Askengren discovered a segfaulting bug when parsing headers.
   3.251 +0.1.3:
   3.252 +	* warn if pop/auth options are given, but compiled without support
   3.253 +	* fixed allowed_rcpt_domains option (was broken since 0.1.0, but nobody noticed)
   3.254 +	* exit with 1 if queue run fails for any reason (not for daemon)
   3.255 +	* fail if alias file cannot be read
   3.256 +	* better handling of SMTP SIZE error
   3.257 +	* implemented alias_local_caseless option (suggestion by Andre Masloch)
   3.258 +	* case insensitive domain matching (noted by Andre Masloch)
   3.259 +	* removed nearly all warnings if compiled with -Wall
   3.260 +0.1.2:
   3.261 +	* some changes in configure.in
   3.262 +	* continue if get conf could not be read. Thanks to Edouard G. Parmelan!
   3.263 +	* fixed another bug on pipe addresses in spool.c
   3.264 +	* Andre Masloch found a bug in spool.c which caused a segfault on pipe addresses. Thanks!
   3.265 +0.1.1:
   3.266 +	* Edouard G. Parmelan sent a patch for starting a queue run on start of daemon. Thanks!
   3.267 +	* rpm packages for SuSE
   3.268 +	* regard CFLAGS in Makefile.am
   3.269 +	* implemtented -g <name> option
   3.270 +	* be more verbose in pop3_get.c
   3.271 +	* implemented -f option (set return path)
   3.272 +	* fixed bug: "no debug file, msg was:" in smtp_out.c when debugging was off
   3.273 +	* internal changes of smtp_out_log_failure()
   3.274 +	* removed 'no log file' error
   3.275 +	* complain if host name could not be resolved in connect.c
   3.276 +	* added option resolve_list for route and get configurations
   3.277 +	* removed bug in rcptlist_with_one_of_hostlist(): exited when
   3.278 +	list was empty
   3.279 +0.1.0:
   3.280 +	* included ESMTP AUTH support (as client), CRAM-MD5 only
   3.281 +	* included pop3 client support, with UIDL and APOP, single drop only
   3.282 +	* rearranged routing code:
   3.283 +	  - messages will be deleted from spool earlier, as soon as they are delivered
   3.284 +	  - unified online/offline delivery, making it more simple
   3.285 +	
   3.286 +0.0.13:
   3.287 +        * ignore set_h_{from,reply_to}_domain if map_h_{from,reply_to}_addresses
   3.288 +        is set and warn in logs about misconfiguration.
   3.289 +        * fail if there are no recipients
   3.290 +        * fixed bug: if called with -t, qualify recipient address with host_name
   3.291 +        * fixed bug: if called with -bi, no longer wait for message on stdin
   3.292 +0.0.12:
   3.293 +        * warn if spool file could not be deleted (Thanks to Alberto González
   3.294 +        Palomo)
   3.295 +        * fixed bug: set len for getsockname
   3.296 +        * fixed bug: set local_net_routes to NULL if there is no local net
   3.297 +        (noted by Frank Schnekenbuehl)
   3.298 +        * say 'mail queue is empty' if mail queue is empty (Thanks to
   3.299 +        Frank Schnekenbuehl)
   3.300 +        * fixed bug: setegid in local.c (was noted by both Michael Piefel and
   3.301 +        Alberto González Palomo)
   3.302 +0.0.11:
   3.303 +        * if Bcc: headers have been removed (-t option), and there is no To:
   3.304 +        or Cc: header,an empty Bcc: header will be created (RFC 822
   3.305 +        compliance!)
   3.306 +        * fixed bug: if rcpts are given on command line To: headers were
   3.307 +        created, even if they already existed. This caused Bcc: recipient
   3.308 +        addresses to be revealed if they were given on the cmd line.
   3.309 +        Now a To: header is only created if there is no To:, Cc: or Bcc:
   3.310 +        header. Thanks to Richard Clamp for pointing this out.
   3.311 +        * fixed bug: segfault when -d option was given without arguments
   3.312 +        * fixed bug: segfault when configuration file not found
   3.313 +0.0.10:
   3.314 +	* removed -g option from Makefile
   3.315 +	* fixed bug: -odq did not work, was broken in some earlier version
   3.316 +	* addresses with leading '\' will not be expanded any further in aliases
   3.317 +	* pipe transport implemented
   3.318 +	* alias support implemented.
   3.319 +	* changed permissions for queue runs again: got to be root,
   3.320 +	mail or in group trusted.
   3.321 +	* some configuration parameters can be read from files
   3.322 +	* internal changes in routing logics/deliver code, preparing for
   3.323 +	aliases support.
   3.324 +	* Gregor Hoffleit sent another patch: use liblockfile if available
   3.325 +	(Debian!) and DESTDIR will be used. Also updated the NEWS file. Thanks
   3.326 +	again!
   3.327 +	* define fdatasync to fsync if not available.
   3.328 +	* lookup.c includes sys/types.h, some environments need this
   3.329 +	* fixed bug in RFC 822 parsing: name in brackets after address
   3.330 +	caused problems. Thanks to David Maslen.
   3.331 +	* values in tables without leading spaces
   3.332 +0.0.9:
   3.333 +	* anyone in group 'trusted' is now allowed to do queue runs. Thanks to
   3.334 +	Alberto Gonzalez Palomo for the suggestion.
   3.335 +	* changed umask for spool writing to 026.
   3.336 +	* removed silly 'no rcpt domain for this route' message
   3.337 +	* there is now a mailing list
   3.338 +	(see http://www.innominate.org/mailman/listinfo/masqmail)
   3.339 +	* Gregor Hoffleit sent a patch to make masqmail work with mutt (and
   3.340 +	balsa and any other MUA that uses the mutt libs): it now supports
   3.341 +	'--' in options. Thanks!
   3.342 +	* accept_message() supports flag ACC_NO_RECVD_HDR (but this is not
   3.343 +	used in masqmail).
   3.344 +	* accept_message() is no longer responsible for queuing, makes it
   3.345 +	easier to recycle the code for other projects (eg. jpilot-Mail)
   3.346 +0.0.8:
   3.347 +	* added a FAQ page.
   3.348 +	* removed all warnings, at least for egcs. Output of make looks
   3.349 +	pretty now ;-)
   3.350 +	* added allowed_mail_locals and not_allowed_mail_locals options for
   3.351 +	routes.
   3.352 +	* implemented folding und unfolding of headers (but currently used
   3.353 +	for the Received: header only).
   3.354 +	* corrected docs: should be 'online_detect', NOT 'detect_online'.
   3.355 +	* mailq now gives information about the time mails spent in the queue,
   3.356 +	the message size and the received host.
   3.357 +	* added allowed_rcpt_domains option for routes.
   3.358 +	* increased buffer size to 1024 for SMTP responses when delivering.
   3.359 +	* fixed minor bug: slash in unquoted strings in conf parsing was not
   3.360 +	allowed.
   3.361 +0.0.7:
   3.362 +	* fixed a bug in smtp_out.c: sock was tested before it was initialized.
   3.363 +	* fixed a bug in the configuration code: for statements in two
   3.364 +	adjacent lines, the second was not recognized.
   3.365 +0.0.6:
   3.366 +	* rewrote part of the configuration parsing code because it caused
   3.367 +	problems with reading config statements on multiple lines.
   3.368 +	* added a LF after each mail local mail spool file, as this
   3.369 +	seems to be required for some MUAs and especially cucipop when
   3.370 +	it reads mails. Otherwise mails seem to be concatenated. Thanks
   3.371 +	to Dale Perkel for pointing this out.
   3.372 +0.0.5:
   3.373 +	* added  expand_h_sender_domain option (boolean, default: true)
   3.374 +	because some clients use the Sender: address as the sender address
   3.375 +	(though it should be the From: address).
   3.376 +	* changed configure script to better recognize whether libresolv
   3.377 +	should be linked or not.
   3.378 +	* fixed a nasty bug: if masqmail -q was called (or qo <name>
   3.379 + 	and a mail was not delivered), the headers were lost! Problem was an
   3.380 + 	additional LF after received_host in the spool file.
   3.381 +0.0.4:
   3.382 +	* 'From' hack is now a 'From ' hack.
   3.383 +	* configure now accepts options --with-logdir=LOGDIR and
   3.384 +	--with-spooldir=SPOOLDIR.
   3.385 +	* the directories /var/masqmail and /var/spool/masqmail will now be
   3.386 +	created with make install; user and group will be set appropriately
   3.387 +	* configure now accepts options --with-user=USER and --with-group=GROUP
   3.388 +	* dove into autoconf: configure now recognizes libc5 and links with
   3.389 +	libresolv only for libc6 and defines getline for libc5
   3.390 +	* fixed timeout code when sending. This was broken in some earlier
   3.391 +	version.
   3.392 +0.0.3:
   3.393 +	* fixed bug in spool write code: rcpt address was written incorrectly
   3.394 +	to spool file under some circumstances (with a LF).
   3.395 +	* added methods for online detection (file and mserver) and added code
   3.396 +	to deliver immediately when mail is received at online time.
   3.397 +	* too many changes to list: rearranged routing code, unified smtp
   3.398 +	deliveries to the local net with online deliveries, so now route
   3.399 +	configurations can be used for the local net. Also multiple messages
   3.400 +	per connection for the local net possible. And reduced code size.
   3.401 +	* fixed bug: if server does not use neither the esmtp size extension
   3.402 +	nor pipelining, output after MAIL FROM was not flushed. So MM waited
   3.403 +	forever for a response...
   3.404 +0.0.2:
   3.405 +	* fixed bug: euid was not set properly for local delivery
   3.406 +	* when debugging, it does not write the whole message to the log
   3.407 +	any more.
   3.408 +	* added 'From' hack
   3.409 +	* qualified address for return path and recipients is now required
   3.410 +	if not accepted locally, if locally accepted the addresses will be
   3.411 +	qualified with host_name. (Thereby fixed a seg fault bug)
   3.412 +	* added -i option (same as -oi)
   3.413 +	* added more header rewriting (set_ and map_ options)
   3.414 +	* fixed bug: potential seg fault when writing spool files because it
   3.415 +	was not read properly
   3.416 +	* multiple messages per connection now also if mail is sent directly
   3.417 +	(same for local_nets is still missing, but I will use routes for these
   3.418 +	anyway in the future)
   3.419 +	* the queue will now be read in random order
   3.420 +	* implemented multiple messages per connection (but only online
   3.421 +	and if mail_host is defined)
   3.422 +	* implemented rewriting of local parts in return path for online
   3.423 +	delivery
   3.424 +	* domain matching is no longer case sensitive (had to define
   3.425 +	_GNU_SOURCE so that I could use FNM_CASEFOLD for fnmatch)
   3.426 +	* added do_correct_helo option for routes
   3.427 +	* fixed bug: corrected retrying hosts if one failed (connect.c).
   3.428 +0.0.1:
   3.429 +	* fixed bug: seg fault when delivering online directly and there was
   3.430 +	more than one rcpt to a single host.
   3.431 +	* fixed bug: if mail was succesfully delivered in online mode to all
   3.432 +	rcpts, and if there were additional (local) rcpts for which the mail
   3.433 +	was not	yet delivered, the mail was deleted from spool.
   3.434 +	* rearranged smtp_out.c to prepare for multiple messages per connection
   3.435 +	* log now shows the real host a message is sent to by SMTP (previously
   3.436 +	it was the one looked for, now it is the one that was found by DNS)
   3.437 +	* added NOOP, HELP and not recognized replies in smtp_in
   3.438 +	* fixed bug: forgot to close dup_sock in accept_connect (listen.c)
   3.439 +	* can now list the queue with the -bp option or when called as mailq
   3.440 +	* debug_level is now configurable and -d option added
   3.441 +	* corrected rfc821 address parsing and rearranged code
   3.442 +0.0.0:
   3.443 +	* initial release
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/INSTALL	Fri Sep 26 17:05:23 2008 +0200
     4.3 @@ -0,0 +1,135 @@
     4.4 +simple installation instructions, see docs/install.html for more.
     4.5 +
     4.6 +To compile MasqMail you need glib 1.2 (http://www.gtk.org).
     4.7 +
     4.8 +You need a user and a group for masqmail to run, I suggest user
     4.9 +'mail' and group 'trusted'. Say:
    4.10 +
    4.11 +groupadd -g 42 trusted
    4.12 +useradd -u 42 -g 42 -d / -s /bin/sh -c "Mail Transfer Agent" mail
    4.13 +
    4.14 +If you use other names than 'mail' and 'trusted' use the options
    4.15 +described below for configure. The 42 is just a suggestion, you can
    4.16 +use any number you like, but preferably one < 100. It does not have
    4.17 +to be the same for the user 'mail' and the group 'trusted'.
    4.18 +
    4.19 +Then do:
    4.20 +
    4.21 +./configure
    4.22 +make
    4.23 +make install
    4.24 +
    4.25 +Debian:
    4.26 +If you compile for Debian, do the configure with at least these options,
    4.27 +this makes it compatible with the official debian package:
    4.28 +./configure --with-liblockfile --with-group=mail
    4.29 +you do not need the group 'trusted', use 'mail' instead.
    4.30 +
    4.31 +You can also build your own Debian package with
    4.32 +dpkg-buildpackage -rfakeroot
    4.33 +You need to have fakeroot installed to do this. Or, as root, do:
    4.34 +dpkg-buildpackage
    4.35 +
    4.36 +SuSE/Redhat:
    4.37 +There are spec files for rpm creation in suse/ or redhat/. You may have to adjust these files.
    4.38 +
    4.39 +
    4.40 +Sorry, but after that you are not yet finished. For instruction on how
    4.41 +to deliver mail using a connection to your ISP see
    4.42 +docs/install.html. It is probably a good idea to copy the files
    4.43 +docs/*.html to a directory where you can access them with a browser.
    4.44 +
    4.45 +additional options for configure:
    4.46 +---------------------------------
    4.47 +
    4.48 +--with-user=USER sets the user as which MasqMail will run. Default is
    4.49 +'mail'. USER has to exist before you 'make install'.
    4.50 +
    4.51 +--with-group=GROUP sets the group as which MasqMail will run. Default
    4.52 +is 'trusted'. GROUP has to exist before you 'make install'.
    4.53 +
    4.54 +--with-logdir=LOGDIR sets the directory where MasqMail stores its log
    4.55 +files. It will be created if it does not exist. Default is /var/masqmail/.
    4.56 +
    4.57 +--with-spooldir=SPOOLDIR sets the directory where MasqMail stores its
    4.58 +spool files. It will be created if it does not exist. Default is
    4.59 +/var/spool/masqmail/.
    4.60 +
    4.61 +--with-confdir=CONFDIR sets the default configuration directory to
    4.62 +CONFDIR, in case you prefer another location than /etc/masqmail/.
    4.63 +
    4.64 +--enable-auth enables ESMTP AUTH support (disabled by default)
    4.65 +
    4.66 +--disable-pop3 disables pop3 support (enabled by default)
    4.67 +
    4.68 +--enable-maildir enables qmail style Maildir support (disabled by default)
    4.69 +
    4.70 +--enable-ident enable RFC 1413 support. If you have the libident
    4.71 +dynamic library installed, this will be linked, otherwise it will be
    4.72 +statically linked using the sources included in the package.
    4.73 +
    4.74 +--disable-resolver disable resolver support. Without the resolver functions,
    4.75 +masqmail uses only gethostbyname() to resolve DNS names, and you cannot send
    4.76 +mail without a smart host. Not recommended. You save 3K at most.
    4.77 +
    4.78 +--disable-smtp-server disable SMTP server support. You may want this if you do
    4.79 +not need masqmail to listen. In this case, you cannot use masqmail as a smart
    4.80 +host for other hosts on your LAN, you cannot use mail clients that send SMTP,
    4.81 +you cannot even use pine. In short, use of this option is discouraged unless
    4.82 +your resources are extremely limited.
    4.83 +
    4.84 +--enable-mserver enable online detection by connecting to the mserver
    4.85 +(masqdialer system).
    4.86 +
    4.87 +--with-libcryto instead of using the md5 and hmac functions within the package,
    4.88 +link dynamically with libcrypto. This applies only if you have pop3 or SMTP
    4.89 +AUTH enabled. Makes only sense if your resources are limited and you have
    4.90 +libcrypto installed. Untested.
    4.91 +
    4.92 +--with-glib-static link with glib statically. This makes the binary larger
    4.93 +by around 30K (i386 architecture), but if masqmail is the only binary using
    4.94 +glib, you save some space in total, because you do not need the shared glib
    4.95 +library installed.
    4.96 +
    4.97 +--disable-debug disable debugging, setting it on by command line or configuration
    4.98 +has no effect. Strongly discouraged, since you miss valuable information if something
    4.99 +goes wrong. You save 6K.
   4.100 +
   4.101 +BTW, to get 3K of space, call
   4.102 +strip --remove-section=.comment --remove-section=.note --strip-unneeded src/masqmail
   4.103 +
   4.104 +after make install:
   4.105 +-------------------
   4.106 +
   4.107 +You can also use these instructions to omit 'make install' if you do
   4.108 +not want to use it.
   4.109 +
   4.110 +Check that 'make install' worked correctly. The following command:
   4.111 +
   4.112 +ls -ld /usr/sbin/masqmail /var/masqmail/ /var/spool/masqmail /var/spool/masqmail/input
   4.113 +
   4.114 +should give output similar to
   4.115 +
   4.116 +-rwsr-xr-x   1 root     root        86955 Oct 14 14:27 /usr/sbin/masqmail
   4.117 +drwxr-xr-x   2 mail     trusted      1024 Oct 14 14:29 /var/masqmail/
   4.118 +drwxr-xr-x   3 mail     trusted      1024 Oct 14 14:27 /var/spool/masqmail
   4.119 +drwxr-xr-x   2 mail     trusted      1024 Oct 14 18:32 /var/spool/masqmail/input
   4.120 +drwxr-xr-x   2 mail     trusted      1024 Oct 14 18:32 /var/spool/masqmail/lock
   4.121 +drwxr-xr-x   2 mail     trusted      1024 Oct 14 18:32 /var/spool/masqmail/popuidl
   4.122 +
   4.123 +(important is the set-user-id bit for /usr/sbin/masqmail and the
   4.124 +ownership of all items).
   4.125 +
   4.126 +Use the example configuration files in examples/ to edit your own. The
   4.127 +main configuration should go to /etc/masqmail.conf. I recommend to
   4.128 +make a directory /etc/masqmail for the *.route amd *.get files.
   4.129 +
   4.130 +The default destination for the executable 'masqmail' is
   4.131 +/usr/sbin. Check that it has the set user id bit set. (chmod u+s
   4.132 +/usr/sbin/masqmail does no harm in any case).
   4.133 +
   4.134 +If you want to replace sendmail, move your old sendmail binary to
   4.135 +another name and make a symbolic link /usr/sbin/sendmail ->
   4.136 +/usr/sbin/masqmail.
   4.137 +
   4.138 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/INSTALL.agenda	Fri Sep 26 17:05:23 2008 +0200
     5.3 @@ -0,0 +1,37 @@
     5.4 +
     5.5 +prerequesites:
     5.6 +--------------
     5.7 +cp /usr/lib/glib-config /usr/mipsel-linux/bin
     5.8 +and apply this patch:
     5.9 +
    5.10 +3c3
    5.11 +< prefix=/usr
    5.12 +---
    5.13 +> prefix=/usr/mipsel-linux/
    5.14 +
    5.15 +
    5.16 +compile
    5.17 +-------
    5.18 +export CONFIG_SITE=./agenda-config.site
    5.19 +
    5.20 +./configure --prefix=/usr/local/ --with-spooldir=/flash/spool/masqmail/ --with-glib-prefix=/usr/mipsel-linux/ --disable-smtp-server --disable-resolver --with-group=mail --disable-debug --enable-auth
    5.21 +make
    5.22 +
    5.23 +mipsel-linux-strip --remove-section=.comment --remove-section=.note --strip-unneeded src/masqmail
    5.24 +
    5.25 +install
    5.26 +-------
    5.27 +
    5.28 +# Become root and do:
    5.29 +make DESTDIR=/tmp/agenda-masqmail/ install
    5.30 +
    5.31 +# make the configuration directory writable for user mail
    5.32 +# (this is needed for sqilconf)
    5.33 +chown mail.mail /tmp/agenda-masqmail/etc/masqmail/
    5.34 +chmod g+rw /tmp/agenda-masqmail/etc/masqmail/
    5.35 +
    5.36 +# delete man pages and unneeded binaries:
    5.37 +rm -rf /tmp/agenda-masqmail/usr/local/man/ /tmp/agenda-masqmail/usr/local/bin/
    5.38 +
    5.39 +You can now rsync the files you need to your agenda from DESTDIR.
    5.40 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/INSTALL.ipaq	Fri Sep 26 17:05:23 2008 +0200
     6.3 @@ -0,0 +1,15 @@
     6.4 +For a cross compiler:
     6.5 +
     6.6 +Download ipaq-config.site from http://masqmail.cx/ipaq/cross/. There
     6.7 +are also some more instructions.
     6.8 +
     6.9 +export CONFIG_SITE=./ipaq-config.site
    6.10 +
    6.11 +./configure --with-glib-prefix=/skiff/local/ \
    6.12 +	--disable-smtp-server --disable-resolver \
    6.13 +	--with-group=mail --disable-debug --enable-auth
    6.14 +make
    6.15 +
    6.16 +su
    6.17 +make DESTDIR=/tmp/masqmail install
    6.18 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/Makefile.am	Fri Sep 26 17:05:23 2008 +0200
     7.3 @@ -0,0 +1,50 @@
     7.4 +EXTRA_DIST = \
     7.5 +examples/example.get examples/example.route examples/masqmail.conf \
     7.6 +docs/README docs/man/m*.[0-9] \
     7.7 +suse/masqmail suse/masqmail.spec suse/masqmail.spec.in \
     7.8 +redhat/masqmail redhat/masqmail.spec redhat/masqmail.spec.in \
     7.9 +tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it \
    7.10 +tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr \
    7.11 +INSTALL.agenda INSTALL.ipaq agenda-config.site
    7.12 +
    7.13 +SUBDIRS = src tests docs debian
    7.14 +
    7.15 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
    7.16 +
    7.17 +conf_dir: $(DESTDIR)@with_confdir@
    7.18 +
    7.19 +$(DESTDIR)@with_confdir@:
    7.20 +	install -d $(DESTDIR)@with_confdir@
    7.21 +
    7.22 +tpl_dir: $(DESTDIR)@datadir@/tpl
    7.23 +
    7.24 +$(DESTDIR)@datadir@/tpl: conf_dir
    7.25 +	install -d $(DESTDIR)@datadir@/masqmail/tpl
    7.26 +	install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    7.27 +	install -m 644 tpl/failmsg.tpl.{de,fr,it} $(DESTDIR)@datadir@/masqmail/tpl
    7.28 +	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    7.29 +	install -m 644 tpl/warnmsg.tpl.{de,fr} $(DESTDIR)@datadir@/masqmail/tpl
    7.30 +
    7.31 +log_dir: $(DESTDIR)@with_logdir@
    7.32 +
    7.33 +spool_dir: $(DESTDIR)@with_spooldir@
    7.34 +
    7.35 +uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
    7.36 +	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
    7.37 +
    7.38 +run_dir:
    7.39 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
    7.40 +
    7.41 +$(DESTDIR)@with_logdir@:
    7.42 +	[ -d `dirname $(DESTDIR)@with_logdir@` ] || \
    7.43 +		install -d `dirname $(DESTDIR)@with_logdir@`
    7.44 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
    7.45 +
    7.46 +$(DESTDIR)@with_spooldir@:
    7.47 +	[ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
    7.48 +		install -d `dirname $(DESTDIR)@with_spooldir@`
    7.49 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
    7.50 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
    7.51 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
    7.52 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl
    7.53 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/Makefile.in	Fri Sep 26 17:05:23 2008 +0200
     8.3 @@ -0,0 +1,581 @@
     8.4 +# Makefile.in generated by automake 1.7.9 from Makefile.am.
     8.5 +# @configure_input@
     8.6 +
     8.7 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
     8.8 +# Free Software Foundation, Inc.
     8.9 +# This Makefile.in is free software; the Free Software Foundation
    8.10 +# gives unlimited permission to copy and/or distribute it,
    8.11 +# with or without modifications, as long as this notice is preserved.
    8.12 +
    8.13 +# This program is distributed in the hope that it will be useful,
    8.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    8.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    8.16 +# PARTICULAR PURPOSE.
    8.17 +
    8.18 +@SET_MAKE@
    8.19 +
    8.20 +srcdir = @srcdir@
    8.21 +top_srcdir = @top_srcdir@
    8.22 +VPATH = @srcdir@
    8.23 +pkgdatadir = $(datadir)/@PACKAGE@
    8.24 +pkglibdir = $(libdir)/@PACKAGE@
    8.25 +pkgincludedir = $(includedir)/@PACKAGE@
    8.26 +top_builddir = .
    8.27 +
    8.28 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    8.29 +INSTALL = @INSTALL@
    8.30 +install_sh_DATA = $(install_sh) -c -m 644
    8.31 +install_sh_PROGRAM = $(install_sh) -c
    8.32 +install_sh_SCRIPT = $(install_sh) -c
    8.33 +INSTALL_HEADER = $(INSTALL_DATA)
    8.34 +transform = $(program_transform_name)
    8.35 +NORMAL_INSTALL = :
    8.36 +PRE_INSTALL = :
    8.37 +POST_INSTALL = :
    8.38 +NORMAL_UNINSTALL = :
    8.39 +PRE_UNINSTALL = :
    8.40 +POST_UNINSTALL = :
    8.41 +ACLOCAL = @ACLOCAL@
    8.42 +AMDEP_FALSE = @AMDEP_FALSE@
    8.43 +AMDEP_TRUE = @AMDEP_TRUE@
    8.44 +AMTAR = @AMTAR@
    8.45 +AUTOCONF = @AUTOCONF@
    8.46 +AUTOHEADER = @AUTOHEADER@
    8.47 +AUTOMAKE = @AUTOMAKE@
    8.48 +AWK = @AWK@
    8.49 +BASE64_LIBS = @BASE64_LIBS@
    8.50 +CC = @CC@
    8.51 +CCDEPMODE = @CCDEPMODE@
    8.52 +CFLAGS = @CFLAGS@
    8.53 +CPP = @CPP@
    8.54 +CPPFLAGS = @CPPFLAGS@
    8.55 +CYGPATH_W = @CYGPATH_W@
    8.56 +DEFS = @DEFS@
    8.57 +DEPDIR = @DEPDIR@
    8.58 +ECHO_C = @ECHO_C@
    8.59 +ECHO_N = @ECHO_N@
    8.60 +ECHO_T = @ECHO_T@
    8.61 +EGREP = @EGREP@
    8.62 +EXEEXT = @EXEEXT@
    8.63 +GLIB_CFLAGS = @GLIB_CFLAGS@
    8.64 +GLIB_LIBS = @GLIB_LIBS@
    8.65 +IDENT_LIBS = @IDENT_LIBS@
    8.66 +INSTALL_DATA = @INSTALL_DATA@
    8.67 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
    8.68 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
    8.69 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    8.70 +LDFLAGS = @LDFLAGS@
    8.71 +LIBOBJS = @LIBOBJS@
    8.72 +LIBS = @LIBS@
    8.73 +LOCKFILE_LIBS = @LOCKFILE_LIBS@
    8.74 +LTLIBOBJS = @LTLIBOBJS@
    8.75 +MAKEINFO = @MAKEINFO@
    8.76 +MD5_LIBS = @MD5_LIBS@
    8.77 +OBJEXT = @OBJEXT@
    8.78 +PACKAGE = @PACKAGE@
    8.79 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    8.80 +PACKAGE_NAME = @PACKAGE_NAME@
    8.81 +PACKAGE_STRING = @PACKAGE_STRING@
    8.82 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
    8.83 +PACKAGE_VERSION = @PACKAGE_VERSION@
    8.84 +PATH_SEPARATOR = @PATH_SEPARATOR@
    8.85 +PKG_CONFIG = @PKG_CONFIG@
    8.86 +RANLIB = @RANLIB@
    8.87 +RESOLV_LIBS = @RESOLV_LIBS@
    8.88 +SET_MAKE = @SET_MAKE@
    8.89 +SHELL = @SHELL@
    8.90 +STRIP = @STRIP@
    8.91 +USE_LIBLOCKFILE = @USE_LIBLOCKFILE@
    8.92 +VERSION = @VERSION@
    8.93 +ac_ct_CC = @ac_ct_CC@
    8.94 +ac_ct_RANLIB = @ac_ct_RANLIB@
    8.95 +ac_ct_STRIP = @ac_ct_STRIP@
    8.96 +ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    8.97 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    8.98 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
    8.99 +am__include = @am__include@
   8.100 +am__leading_dot = @am__leading_dot@
   8.101 +am__quote = @am__quote@
   8.102 +bindir = @bindir@
   8.103 +build_alias = @build_alias@
   8.104 +datadir = @datadir@
   8.105 +exec_prefix = @exec_prefix@
   8.106 +has_ident = @has_ident@
   8.107 +host_alias = @host_alias@
   8.108 +includedir = @includedir@
   8.109 +infodir = @infodir@
   8.110 +install_sh = @install_sh@
   8.111 +libdir = @libdir@
   8.112 +libexecdir = @libexecdir@
   8.113 +localstatedir = @localstatedir@
   8.114 +mandir = @mandir@
   8.115 +oldincludedir = @oldincludedir@
   8.116 +prefix = @prefix@
   8.117 +program_transform_name = @program_transform_name@
   8.118 +sbindir = @sbindir@
   8.119 +sharedstatedir = @sharedstatedir@
   8.120 +sysconfdir = @sysconfdir@
   8.121 +target_alias = @target_alias@
   8.122 +with_confdir = @with_confdir@
   8.123 +with_group = @with_group@
   8.124 +with_logdir = @with_logdir@
   8.125 +with_spooldir = @with_spooldir@
   8.126 +with_user = @with_user@
   8.127 +EXTRA_DIST = \
   8.128 +examples/example.get examples/example.route examples/masqmail.conf \
   8.129 +docs/README docs/man/m*.[0-9] \
   8.130 +suse/masqmail suse/masqmail.spec suse/masqmail.spec.in \
   8.131 +redhat/masqmail redhat/masqmail.spec redhat/masqmail.spec.in \
   8.132 +tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it \
   8.133 +tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr \
   8.134 +INSTALL.agenda INSTALL.ipaq agenda-config.site
   8.135 +
   8.136 +
   8.137 +SUBDIRS = src tests docs debian
   8.138 +subdir = .
   8.139 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
   8.140 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
   8.141 +CONFIG_HEADER = config.h
   8.142 +CONFIG_CLEAN_FILES = suse/masqmail.spec redhat/masqmail.spec
   8.143 +DIST_SOURCES =
   8.144 +
   8.145 +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
   8.146 +	ps-recursive install-info-recursive uninstall-info-recursive \
   8.147 +	all-recursive install-data-recursive install-exec-recursive \
   8.148 +	installdirs-recursive install-recursive uninstall-recursive \
   8.149 +	check-recursive installcheck-recursive
   8.150 +DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
   8.151 +	COPYING ChangeLog INSTALL Makefile.am NEWS TODO acconfig.h \
   8.152 +	aclocal.m4 config.guess config.h.in config.sub configure \
   8.153 +	configure.ac depcomp install-sh missing mkinstalldirs
   8.154 +DIST_SUBDIRS = $(SUBDIRS)
   8.155 +all: config.h
   8.156 +	$(MAKE) $(AM_MAKEFLAGS) all-recursive
   8.157 +
   8.158 +.SUFFIXES:
   8.159 +
   8.160 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
   8.161 + configure.lineno
   8.162 +$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
   8.163 +	cd $(top_srcdir) && \
   8.164 +	  $(AUTOMAKE) --gnu  Makefile
   8.165 +Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
   8.166 +	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
   8.167 +
   8.168 +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   8.169 +	$(SHELL) ./config.status --recheck
   8.170 +$(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
   8.171 +	cd $(srcdir) && $(AUTOCONF)
   8.172 +
   8.173 +$(ACLOCAL_M4):  configure.ac 
   8.174 +	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
   8.175 +
   8.176 +config.h: stamp-h1
   8.177 +	@if test ! -f $@; then \
   8.178 +	  rm -f stamp-h1; \
   8.179 +	  $(MAKE) stamp-h1; \
   8.180 +	else :; fi
   8.181 +
   8.182 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
   8.183 +	@rm -f stamp-h1
   8.184 +	cd $(top_builddir) && $(SHELL) ./config.status config.h
   8.185 +
   8.186 +$(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
   8.187 +	cd $(top_srcdir) && $(AUTOHEADER)
   8.188 +	touch $(srcdir)/config.h.in
   8.189 +
   8.190 +distclean-hdr:
   8.191 +	-rm -f config.h stamp-h1
   8.192 +suse/masqmail.spec: $(top_builddir)/config.status $(top_srcdir)/suse/masqmail.spec.in
   8.193 +	cd $(top_builddir) && $(SHELL) ./config.status $@
   8.194 +redhat/masqmail.spec: $(top_builddir)/config.status $(top_srcdir)/redhat/masqmail.spec.in
   8.195 +	cd $(top_builddir) && $(SHELL) ./config.status $@
   8.196 +uninstall-info-am:
   8.197 +
   8.198 +# This directory's subdirectories are mostly independent; you can cd
   8.199 +# into them and run `make' without going through this Makefile.
   8.200 +# To change the values of `make' variables: instead of editing Makefiles,
   8.201 +# (1) if the variable is set in `config.status', edit `config.status'
   8.202 +#     (which will cause the Makefiles to be regenerated when you run `make');
   8.203 +# (2) otherwise, pass the desired values on the `make' command line.
   8.204 +$(RECURSIVE_TARGETS):
   8.205 +	@set fnord $$MAKEFLAGS; amf=$$2; \
   8.206 +	dot_seen=no; \
   8.207 +	target=`echo $@ | sed s/-recursive//`; \
   8.208 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   8.209 +	  echo "Making $$target in $$subdir"; \
   8.210 +	  if test "$$subdir" = "."; then \
   8.211 +	    dot_seen=yes; \
   8.212 +	    local_target="$$target-am"; \
   8.213 +	  else \
   8.214 +	    local_target="$$target"; \
   8.215 +	  fi; \
   8.216 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
   8.217 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
   8.218 +	done; \
   8.219 +	if test "$$dot_seen" = "no"; then \
   8.220 +	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
   8.221 +	fi; test -z "$$fail"
   8.222 +
   8.223 +mostlyclean-recursive clean-recursive distclean-recursive \
   8.224 +maintainer-clean-recursive:
   8.225 +	@set fnord $$MAKEFLAGS; amf=$$2; \
   8.226 +	dot_seen=no; \
   8.227 +	case "$@" in \
   8.228 +	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
   8.229 +	  *) list='$(SUBDIRS)' ;; \
   8.230 +	esac; \
   8.231 +	rev=''; for subdir in $$list; do \
   8.232 +	  if test "$$subdir" = "."; then :; else \
   8.233 +	    rev="$$subdir $$rev"; \
   8.234 +	  fi; \
   8.235 +	done; \
   8.236 +	rev="$$rev ."; \
   8.237 +	target=`echo $@ | sed s/-recursive//`; \
   8.238 +	for subdir in $$rev; do \
   8.239 +	  echo "Making $$target in $$subdir"; \
   8.240 +	  if test "$$subdir" = "."; then \
   8.241 +	    local_target="$$target-am"; \
   8.242 +	  else \
   8.243 +	    local_target="$$target"; \
   8.244 +	  fi; \
   8.245 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
   8.246 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
   8.247 +	done && test -z "$$fail"
   8.248 +tags-recursive:
   8.249 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   8.250 +	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
   8.251 +	done
   8.252 +ctags-recursive:
   8.253 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   8.254 +	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
   8.255 +	done
   8.256 +
   8.257 +ETAGS = etags
   8.258 +ETAGSFLAGS =
   8.259 +
   8.260 +CTAGS = ctags
   8.261 +CTAGSFLAGS =
   8.262 +
   8.263 +tags: TAGS
   8.264 +
   8.265 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
   8.266 +	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
   8.267 +	unique=`for i in $$list; do \
   8.268 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   8.269 +	  done | \
   8.270 +	  $(AWK) '    { files[$$0] = 1; } \
   8.271 +	       END { for (i in files) print i; }'`; \
   8.272 +	mkid -fID $$unique
   8.273 +
   8.274 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
   8.275 +		$(TAGS_FILES) $(LISP)
   8.276 +	tags=; \
   8.277 +	here=`pwd`; \
   8.278 +	if (etags --etags-include --version) >/dev/null 2>&1; then \
   8.279 +	  include_option=--etags-include; \
   8.280 +	else \
   8.281 +	  include_option=--include; \
   8.282 +	fi; \
   8.283 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   8.284 +	  if test "$$subdir" = .; then :; else \
   8.285 +	    test -f $$subdir/TAGS && \
   8.286 +	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
   8.287 +	  fi; \
   8.288 +	done; \
   8.289 +	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
   8.290 +	unique=`for i in $$list; do \
   8.291 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   8.292 +	  done | \
   8.293 +	  $(AWK) '    { files[$$0] = 1; } \
   8.294 +	       END { for (i in files) print i; }'`; \
   8.295 +	test -z "$(ETAGS_ARGS)$$tags$$unique" \
   8.296 +	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   8.297 +	     $$tags $$unique
   8.298 +
   8.299 +ctags: CTAGS
   8.300 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
   8.301 +		$(TAGS_FILES) $(LISP)
   8.302 +	tags=; \
   8.303 +	here=`pwd`; \
   8.304 +	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
   8.305 +	unique=`for i in $$list; do \
   8.306 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   8.307 +	  done | \
   8.308 +	  $(AWK) '    { files[$$0] = 1; } \
   8.309 +	       END { for (i in files) print i; }'`; \
   8.310 +	test -z "$(CTAGS_ARGS)$$tags$$unique" \
   8.311 +	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
   8.312 +	     $$tags $$unique
   8.313 +
   8.314 +GTAGS:
   8.315 +	here=`$(am__cd) $(top_builddir) && pwd` \
   8.316 +	  && cd $(top_srcdir) \
   8.317 +	  && gtags -i $(GTAGS_ARGS) $$here
   8.318 +
   8.319 +distclean-tags:
   8.320 +	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
   8.321 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
   8.322 +
   8.323 +top_distdir = .
   8.324 +distdir = $(PACKAGE)-$(VERSION)
   8.325 +
   8.326 +am__remove_distdir = \
   8.327 +  { test ! -d $(distdir) \
   8.328 +    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
   8.329 +         && rm -fr $(distdir); }; }
   8.330 +
   8.331 +GZIP_ENV = --best
   8.332 +distuninstallcheck_listfiles = find . -type f -print
   8.333 +distcleancheck_listfiles = find . -type f -print
   8.334 +
   8.335 +distdir: $(DISTFILES)
   8.336 +	$(am__remove_distdir)
   8.337 +	mkdir $(distdir)
   8.338 +	$(mkinstalldirs) $(distdir)/docs $(distdir)/docs/man $(distdir)/examples $(distdir)/redhat $(distdir)/suse $(distdir)/tpl
   8.339 +	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
   8.340 +	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
   8.341 +	list='$(DISTFILES)'; for file in $$list; do \
   8.342 +	  case $$file in \
   8.343 +	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
   8.344 +	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
   8.345 +	  esac; \
   8.346 +	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   8.347 +	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
   8.348 +	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
   8.349 +	    dir="/$$dir"; \
   8.350 +	    $(mkinstalldirs) "$(distdir)$$dir"; \
   8.351 +	  else \
   8.352 +	    dir=''; \
   8.353 +	  fi; \
   8.354 +	  if test -d $$d/$$file; then \
   8.355 +	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   8.356 +	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
   8.357 +	    fi; \
   8.358 +	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
   8.359 +	  else \
   8.360 +	    test -f $(distdir)/$$file \
   8.361 +	    || cp -p $$d/$$file $(distdir)/$$file \
   8.362 +	    || exit 1; \
   8.363 +	  fi; \
   8.364 +	done
   8.365 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   8.366 +	  if test "$$subdir" = .; then :; else \
   8.367 +	    test -d $(distdir)/$$subdir \
   8.368 +	    || mkdir $(distdir)/$$subdir \
   8.369 +	    || exit 1; \
   8.370 +	    (cd $$subdir && \
   8.371 +	      $(MAKE) $(AM_MAKEFLAGS) \
   8.372 +	        top_distdir="$(top_distdir)" \
   8.373 +	        distdir=../$(distdir)/$$subdir \
   8.374 +	        distdir) \
   8.375 +	      || exit 1; \
   8.376 +	  fi; \
   8.377 +	done
   8.378 +	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
   8.379 +	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
   8.380 +	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
   8.381 +	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
   8.382 +	|| chmod -R a+r $(distdir)
   8.383 +dist-gzip: distdir
   8.384 +	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
   8.385 +	$(am__remove_distdir)
   8.386 +
   8.387 +dist dist-all: distdir
   8.388 +	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
   8.389 +	$(am__remove_distdir)
   8.390 +
   8.391 +# This target untars the dist file and tries a VPATH configuration.  Then
   8.392 +# it guarantees that the distribution is self-contained by making another
   8.393 +# tarfile.
   8.394 +distcheck: dist
   8.395 +	$(am__remove_distdir)
   8.396 +	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
   8.397 +	chmod -R a-w $(distdir); chmod a+w $(distdir)
   8.398 +	mkdir $(distdir)/_build
   8.399 +	mkdir $(distdir)/_inst
   8.400 +	chmod a-w $(distdir)
   8.401 +	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
   8.402 +	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
   8.403 +	  && cd $(distdir)/_build \
   8.404 +	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
   8.405 +	    $(DISTCHECK_CONFIGURE_FLAGS) \
   8.406 +	  && $(MAKE) $(AM_MAKEFLAGS) \
   8.407 +	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
   8.408 +	  && $(MAKE) $(AM_MAKEFLAGS) check \
   8.409 +	  && $(MAKE) $(AM_MAKEFLAGS) install \
   8.410 +	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
   8.411 +	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
   8.412 +	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
   8.413 +	        distuninstallcheck \
   8.414 +	  && chmod -R a-w "$$dc_install_base" \
   8.415 +	  && ({ \
   8.416 +	       (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
   8.417 +	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
   8.418 +	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
   8.419 +	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
   8.420 +	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
   8.421 +	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
   8.422 +	  && rm -rf "$$dc_destdir" \
   8.423 +	  && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
   8.424 +	  && rm -f $(distdir).tar.gz \
   8.425 +	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
   8.426 +	$(am__remove_distdir)
   8.427 +	@echo "$(distdir).tar.gz is ready for distribution" | \
   8.428 +	  sed 'h;s/./=/g;p;x;p;x'
   8.429 +distuninstallcheck:
   8.430 +	@cd $(distuninstallcheck_dir) \
   8.431 +	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
   8.432 +	   || { echo "ERROR: files left after uninstall:" ; \
   8.433 +	        if test -n "$(DESTDIR)"; then \
   8.434 +	          echo "  (check DESTDIR support)"; \
   8.435 +	        fi ; \
   8.436 +	        $(distuninstallcheck_listfiles) ; \
   8.437 +	        exit 1; } >&2
   8.438 +distcleancheck: distclean
   8.439 +	@if test '$(srcdir)' = . ; then \
   8.440 +	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
   8.441 +	  exit 1 ; \
   8.442 +	fi
   8.443 +	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
   8.444 +	  || { echo "ERROR: files left in build directory after distclean:" ; \
   8.445 +	       $(distcleancheck_listfiles) ; \
   8.446 +	       exit 1; } >&2
   8.447 +check-am: all-am
   8.448 +check: check-recursive
   8.449 +all-am: Makefile config.h
   8.450 +installdirs: installdirs-recursive
   8.451 +installdirs-am:
   8.452 +
   8.453 +install: install-recursive
   8.454 +install-exec: install-exec-recursive
   8.455 +install-data: install-data-recursive
   8.456 +uninstall: uninstall-recursive
   8.457 +
   8.458 +install-am: all-am
   8.459 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   8.460 +
   8.461 +installcheck: installcheck-recursive
   8.462 +install-strip:
   8.463 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   8.464 +	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   8.465 +	  `test -z '$(STRIP)' || \
   8.466 +	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
   8.467 +mostlyclean-generic:
   8.468 +
   8.469 +clean-generic:
   8.470 +
   8.471 +distclean-generic:
   8.472 +	-rm -f $(CONFIG_CLEAN_FILES)
   8.473 +
   8.474 +maintainer-clean-generic:
   8.475 +	@echo "This command is intended for maintainers to use"
   8.476 +	@echo "it deletes files that may require special tools to rebuild."
   8.477 +clean: clean-recursive
   8.478 +
   8.479 +clean-am: clean-generic mostlyclean-am
   8.480 +
   8.481 +distclean: distclean-recursive
   8.482 +	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
   8.483 +	-rm -f Makefile
   8.484 +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
   8.485 +
   8.486 +dvi: dvi-recursive
   8.487 +
   8.488 +dvi-am:
   8.489 +
   8.490 +info: info-recursive
   8.491 +
   8.492 +info-am:
   8.493 +
   8.494 +install-data-am: install-data-local
   8.495 +
   8.496 +install-exec-am:
   8.497 +
   8.498 +install-info: install-info-recursive
   8.499 +
   8.500 +install-man:
   8.501 +
   8.502 +installcheck-am:
   8.503 +
   8.504 +maintainer-clean: maintainer-clean-recursive
   8.505 +	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
   8.506 +	-rm -rf $(top_srcdir)/autom4te.cache
   8.507 +	-rm -f Makefile
   8.508 +maintainer-clean-am: distclean-am maintainer-clean-generic
   8.509 +
   8.510 +mostlyclean: mostlyclean-recursive
   8.511 +
   8.512 +mostlyclean-am: mostlyclean-generic
   8.513 +
   8.514 +pdf: pdf-recursive
   8.515 +
   8.516 +pdf-am:
   8.517 +
   8.518 +ps: ps-recursive
   8.519 +
   8.520 +ps-am:
   8.521 +
   8.522 +uninstall-am: uninstall-info-am
   8.523 +
   8.524 +uninstall-info: uninstall-info-recursive
   8.525 +
   8.526 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
   8.527 +	clean-generic clean-recursive ctags ctags-recursive dist \
   8.528 +	dist-all dist-gzip distcheck distclean distclean-generic \
   8.529 +	distclean-hdr distclean-recursive distclean-tags distcleancheck \
   8.530 +	distdir distuninstallcheck dvi dvi-am dvi-recursive info \
   8.531 +	info-am info-recursive install install-am install-data \
   8.532 +	install-data-am install-data-local install-data-recursive \
   8.533 +	install-exec install-exec-am install-exec-recursive \
   8.534 +	install-info install-info-am install-info-recursive install-man \
   8.535 +	install-recursive install-strip installcheck installcheck-am \
   8.536 +	installdirs installdirs-am installdirs-recursive \
   8.537 +	maintainer-clean maintainer-clean-generic \
   8.538 +	maintainer-clean-recursive mostlyclean mostlyclean-generic \
   8.539 +	mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
   8.540 +	ps-recursive tags tags-recursive uninstall uninstall-am \
   8.541 +	uninstall-info-am uninstall-info-recursive uninstall-recursive
   8.542 +
   8.543 +
   8.544 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
   8.545 +
   8.546 +conf_dir: $(DESTDIR)@with_confdir@
   8.547 +
   8.548 +$(DESTDIR)@with_confdir@:
   8.549 +	install -d $(DESTDIR)@with_confdir@
   8.550 +
   8.551 +tpl_dir: $(DESTDIR)@datadir@/tpl
   8.552 +
   8.553 +$(DESTDIR)@datadir@/tpl: conf_dir
   8.554 +	install -d $(DESTDIR)@datadir@/masqmail/tpl
   8.555 +	install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
   8.556 +	install -m 644 tpl/failmsg.tpl.{de,fr,it} $(DESTDIR)@datadir@/masqmail/tpl
   8.557 +	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
   8.558 +	install -m 644 tpl/warnmsg.tpl.{de,fr} $(DESTDIR)@datadir@/masqmail/tpl
   8.559 +
   8.560 +log_dir: $(DESTDIR)@with_logdir@
   8.561 +
   8.562 +spool_dir: $(DESTDIR)@with_spooldir@
   8.563 +
   8.564 +uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
   8.565 +	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
   8.566 +
   8.567 +run_dir:
   8.568 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
   8.569 +
   8.570 +$(DESTDIR)@with_logdir@:
   8.571 +	[ -d `dirname $(DESTDIR)@with_logdir@` ] || \
   8.572 +		install -d `dirname $(DESTDIR)@with_logdir@`
   8.573 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
   8.574 +
   8.575 +$(DESTDIR)@with_spooldir@:
   8.576 +	[ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
   8.577 +		install -d `dirname $(DESTDIR)@with_spooldir@`
   8.578 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
   8.579 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
   8.580 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
   8.581 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl
   8.582 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
   8.583 +# Otherwise a system limit (for SysV at least) may be exceeded.
   8.584 +.NOEXPORT:
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/NEWS	Fri Sep 26 17:05:23 2008 +0200
     9.3 @@ -0,0 +1,263 @@
     9.4 +Here I add changes which may be important for you. See ChangeLog for more
     9.5 +details and the manual pages for a more complete description
     9.6 +of added options.
     9.7 +
     9.8 +0.2.18
     9.9 +
    9.10 +- delivery warnings and failures are now also implermented if the
    9.11 +connection to a server fails. Because masqmail is designed for dialup
    9.12 +networks, a connection failure will merely generate a warning by default.
    9.13 +If you deliver in a local network and use the default local_net route,
    9.14 +this would generte a failure. You can change this behaviour by setting
    9.15 +connect_error_fail
    9.16 +to either true or false in the route configurations.
    9.17 +
    9.18 +0.2.17
    9.19 +
    9.20 +- delivery warnings have been finally implemented: if delivery of a mail
    9.21 +fails temporarily, warning mail will be generated, informing the sender
    9.22 +of the problem. After some time, the mail will be handled as failing
    9.23 +permanently, and be bounced. New options: 'warn_intervals',
    9.24 +'max_defer_time' and 'warnmsg_file'.
    9.25 +
    9.26 +- the message templates for failures and warnings will now be installed
    9.27 +into /usr/share/masqmail/tpl/, and no longer to /etc/masqmail/tpl/. The
    9.28 +default for the search path (options 'errmsg_file' and 'warnmsg_file'
    9.29 +has been changed accordingly.
    9.30 +
    9.31 +- new option 'last_route'. See man 5 masqmail.route.
    9.32 +
    9.33 +0.2.12
    9.34 +two new options have been added:
    9.35 +- do_pipelining will be used only in broken mail setups. Actually, I
    9.36 +implemented it only to test such a setup.
    9.37 +
    9.38 +- helo_name for routes sets the helo_name. This may be useful for
    9.39 +eg. ssh tunneling, or if do_correcthelo does not work, because you are
    9.40 +behind a firewall.
    9.41 +
    9.42 +- the old 'remote_port' option should not be used any more. Set the
    9.43 +port with mail_host="foo.bar.com:1234" in the route file instead.
    9.44 +
    9.45 +0.2.11
    9.46 +
    9.47 +- two new options have been added: do_save_envelope_to for the main
    9.48 +configuration and map_h_mail_followup_to_addresses for the route
    9.49 +files. See the man pages on purpose and usage.
    9.50 +
    9.51 +- the route files can now be mode 0400, owned by root. Previous
    9.52 +versions had problems when sendmail was called directly by a
    9.53 +non-priviledged user, because the route files could not be read.
    9.54 +
    9.55 +0.2.10
    9.56 +
    9.57 +- this version should work on FreeBSD. At least I care now if it does not.
    9.58 +
    9.59 +- masqmail now writes pid files to /var/run/, one for the smtp/queue
    9.60 +daemon and one for the get daemon. So you now know whom to kill ;-)
    9.61 +
    9.62 +- much effort has been put into the Debian package, which now uses debconf.
    9.63 +
    9.64 +0.2.7
    9.65 +
    9.66 +- sorry for my reluctany in the last months...
    9.67 +- my email address is oku@masqmail.cx. I hope that I keep this for the rest
    9.68 +of my life...
    9.69 +
    9.70 +0.2.6
    9.71 +
    9.72 +- you can configure the prefered local delivery mechanism for each user. See
    9.73 +man page masqmail.conf (5), options mbox_default, mbox_users, mda_users and
    9.74 +maildir_users. BIT FAT NOTE: if you used an mda, set mbox_default = "mda"
    9.75 +(or use the mda_users option). Just setting mda is not enough any more.
    9.76 +
    9.77 +- there are the allowed_return_paths and not_allowed_return_paths for the
    9.78 +route configurations, this enables better checking for return path addresses
    9.79 +than allowed_mail_locals. You can also use this to enable or disable messages
    9.80 +from null sender addresses (<>) using "<>".
    9.81 +note: this option has been there for quite a time... I just forgot to document it.
    9.82 +
    9.83 +0.2.5
    9.84 +
    9.85 +- simple relay checking: if you set do_relay=false in masqmail.conf, users
    9.86 +with a return path that is not local will get a 550 reply if they try to
    9.87 +deliver to a not local address. This is for users to force them to have a
    9.88 +proper configuration. It is _not_ to prevent spammers from using your MTA
    9.89 +as a relay, it can be easily forged! masqmail is not designed to be an always
    9.90 +accessible MTA for an internet site.
    9.91 +
    9.92 +- added Maildir support. To use it, add --enable-maildir as ./configure
    9.93 +optiom. Currently, if enabled, all local deliveries are to Maildir
    9.94 +(in ~user/Maildir), and none to mailbox. This is preliminary, future versions
    9.95 +will be configurable (probably together with mda delivery).
    9.96 +
    9.97 +0.2.4 
    9.98 +
    9.99 +- added -v option, this logs to stdout, so you see what happens when
   9.100 +calling masqmail from command line. This is not yet finished, and only
   9.101 +for fetching mails completed.
   9.102 +
   9.103 +0.2.3
   9.104 +
   9.105 +- new option lock_dir where locks will be put to. Defaults to the spool
   9.106 +dir with '/lock/' appended (if spool_dir is /var/spool/masqmail/, lock_dir
   9.107 +is /var/spool/masqmail/lock/).
   9.108 +
   9.109 +- You can use the 'do_uidl_dele' option more reliably. The uidl list
   9.110 +will be written immediately after a message was fetched, so if you use the
   9.111 +do_uidl and do_uidl_dele option you can safely interrupt masqmail when it is
   9.112 +getting mail via pop3, and do not get the message again next time.
   9.113 +
   9.114 +- there are a lot of new options for ./configure to customize masqmail
   9.115 +to your needs. See INSTALL.
   9.116 +
   9.117 +- Uli Funcke sent a patch with the new options 'local_addresses' and
   9.118 +'not_local_addresses' for masqmail.conf. With these, you can declare single
   9.119 +email addresses as local, though they normally are not, and vice versa,
   9.120 +declare addresses as not local though normally they are (determined with
   9.121 +local_hosts). These options are not yet documented.
   9.122 +
   9.123 +0.2.2
   9.124 +- with -go5m you can now run a get daemon, the command 'masqmail -go5m' will fetch
   9.125 +mail every five minutes, using the detected online configuration.
   9.126 +
   9.127 +0.2.1
   9.128 +
   9.129 +- there is a new option for the main conf: online_gets. Using this option,
   9.130 +you can retrieve mail with just calling masqmail -go, masqmail will detect
   9.131 +whether it is online (similar to conect_routes (which is now called
   9.132 +online_routes)).
   9.133 +
   9.134 +0.2.0
   9.135 +
   9.136 +This is the first release of he development branch of masqmail
   9.137 +
   9.138 +- the default configuration is now /etc/masqmail/masqmail.conf
   9.139 +  (as it already was for the debian package). The --with-conffile
   9.140 +  option for configure has been replaced by the --with-confdir option.
   9.141 +
   9.142 +- added delivery failure notices:
   9.143 +  o you can customize your own delivery failure report, its
   9.144 +    default location is /etc/masqmail/tpl/failmsg.tpl
   9.145 +  o if a delivery via a route fails permanently (the server replied with a 5xx status)
   9.146 +    the message will be bounced, if it is bounced, no further delivery will be attempted.
   9.147 +    This is different to previous versions, where failed messages were kept in the queue until
   9.148 +    it was finally delivered, deleted or forever.
   9.149 +
   9.150 +- there is a new online detection method: pipe. This allows you more
   9.151 +  flexibility to detect the current online status, eg. the DHCP status on notebooks.
   9.152 +
   9.153 +This method will once replace the 'mserver' option,
   9.154 +you can already use the program mservdetect to use it:
   9.155 +
   9.156 +online_method=pipe
   9.157 +online_pipe="/usr/bin/mservdetect localhost 222"
   9.158 +
   9.159 +instead of
   9.160 +
   9.161 +online_etect=mserver
   9.162 +mserver_iface="localhost:222"
   9.163 +
   9.164 +0.1.9
   9.165 +
   9.166 +- you can use pipes in routes to implement gateways to uucp, fax, sms etc.
   9.167 +The setup is similar to mda transport. See man pages.
   9.168 +
   9.169 +- for each connection (connect_routes), you can now give a list of
   9.170 +route files, which will be used in the order given. You can use the
   9.171 +filter rules (allowed_* and not_allowed_* rules) within each route.
   9.172 +
   9.173 +0.1.8
   9.174 +
   9.175 +- for pop retrieval and smtp sending you can use a wrapper for eg. ssl
   9.176 +tunneling. See man pages.
   9.177 +
   9.178 +- a user can delete his mail from the spool with -Mrm if received
   9.179 +locally, and if you configure with --enable-ident and set
   9.180 +ident_trusted_nets also if received via smtp.
   9.181 +
   9.182 +- a backslash now works to escape characters in the configuration, so
   9.183 +you can now use quotes inside quotes. All other characters with a
   9.184 +leading backslash will be converted to itself (\a becomes a, \\
   9.185 +becomes \).
   9.186 +
   9.187 +- you can now use an mda for local mails. The mda will be called
   9.188 +*after* alias expansion. See documentation for more.
   9.189 +
   9.190 +0.1.0
   9.191 +- masqmail can now retrieve mail with pop3. See the manual on how to do that.
   9.192 +- supports now ESMTP AUTH as a client.
   9.193 +- when called with -qo (without a connection name), the online status
   9.194 +will be checked with the configured method.
   9.195 +
   9.196 +0.0.10
   9.197 +- there is now alias support. Give the location of the alias file (usually /etc/aliases) with eg.
   9.198 +alias_file = "/etc/aliases"
   9.199 +- delivery to pipes is now possible, but only if it appears in an alias file. Example:
   9.200 +pipe: |/usr/bin/command
   9.201 +will expand the address pipe to "|/usr/bin/command" which invokes '/usr/bin/command'
   9.202 +as the user and group masqmail is running as.
   9.203 +- entries starting with '\' in alias files will not be exanded further
   9.204 +
   9.205 +- changed permissions for queue runs again: got to be root, mail or in group trusted.
   9.206 +
   9.207 +- some configuration parameters can be read from files, these are
   9.208 +allowed_mail_locals, not_allowed_mail_locals, allowed_rcpt_domains, not_allowed_rcpt_domains,
   9.209 +map_return_path_addresses, map_h_from_addresses, map_h_reply_to_addresses
   9.210 +any entry in these list beginning with a '/' are regarded as
   9.211 +filenames, the content of these will be put at that location. Entries
   9.212 +in these files are separated by new lines.  Example:
   9.213 +in the route file you have:
   9.214 +map_h_from_addresses = "/etc/masqmail/hfrom.map"
   9.215 +and hfrom.map contains:
   9.216 +
   9.217 +john: John Smith <jsmith@mail.academic.edu>
   9.218 +cmiller: "Charlie Miller" <cmiller@foo.com>
   9.219 +
   9.220 +UPDATE (Jan 2000): The new home location of MasqMail is
   9.221 +http://www.innominate.org/~oku/masqmail/, the new email adress of the
   9.222 +author is Oliver Kurth <kurth@innominate.de>.
   9.223 +
   9.224 +0.0.9
   9.225 +- see ChangeLog.
   9.226 +
   9.227 +NOTE: The home location of MasqMail at
   9.228 +http://merlin.uni-sw.gwdg.de/~okurth/masqmail/ is uncertain from the
   9.229 +beginning of Nov. 1999! See http://www.freshmeat.net for new
   9.230 +announcements. I leave the university and begin a new job on Nov. 1st 1999
   9.231 +in Berlin :-).
   9.232 +
   9.233 +0.0.8:
   9.234 +- there is now a FAQ page. See docs/faq.html.
   9.235 +- added allowed_rcpt_domains option for routes.
   9.236 +- added allowed_mail_locals and not_allowed_mail_locals options for routes.
   9.237 +- mailq now gives information about the time mails spent in the queue,
   9.238 +the message size and the received host.
   9.239 +
   9.240 +0.0.7:
   9.241 +-bug fix release: for statements in two	adjacent lines, the second was not recognized.
   9.242 +
   9.243 +0.0.6:
   9.244 +- bug fix release: some MUAs (cucipop) saw the locally delivered mails
   9.245 +concatenated. (cucipop is not a MUA  but a pop server, but it has to read the
   9.246 +mails).
   9.247 +
   9.248 +0.0.5:
   9.249 +- fixed a bug that caused the headers to be lost under some circumstances.
   9.250 +- added expand_h_sender_domain option for routes.
   9.251 +- rewrote the libresolv part in configure. Should work better now.
   9.252 +
   9.253 +0.0.4:
   9.254 +- MM should now recognize whether libresolv should be linked.
   9.255 +- added --with-logdir=LOGDIR and --with-spooldir=SPOOLDIR to set directories.
   9.256 +  These will be created if not already existent.
   9.257 +- added --with-user=USER, --with-group=GROUP options to set user and group id
   9.258 +  for MasqMail.
   9.259 +
   9.260 +0.0.3:
   9.261 +- MasqMail can now deliver mails that are received at online
   9.262 +  time immediately to the internet. See the options detect_online,
   9.263 +  mserver_iface and online_file.
   9.264 +- You can define a route configuration for the local net. See option
   9.265 +  local_net_route.
   9.266 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/README	Fri Sep 26 17:05:23 2008 +0200
    10.3 @@ -0,0 +1,82 @@
    10.4 +MasqMail README
    10.5 +
    10.6 +MasqMail is a mail server designed for hosts that are not permanently
    10.7 +connected to the internet. It handles outgoing messages, i.e. those
    10.8 +that are to be sent over the non-permanent link (usually a ppp or slip
    10.9 +connection over a modem or ISDN adapter) specially and delivers them
   10.10 +only when explicitely told to do so. There is support for multiple
   10.11 +providers, it is possible to write different configurations for each
   10.12 +one. The configuration chosen is selected at delivery time, so that if
   10.13 +for example a delivery of a message failed while connected with
   10.14 +provider 1, it may be delivered when connected to provider 2. For each
   10.15 +provider another mail host (or none) can be specified.
   10.16 +
   10.17 +MasqMail provides (a yet simple) mechanism to rewrite headers, also
   10.18 +depending on the current connection. This makes it possible to deliver
   10.19 +messages with a return address on the local network which will be
   10.20 +rewitten at delivery time. The purpose of this is:
   10.21 +
   10.22 +- to allow delivery failure messages that are produced on the local
   10.23 +network to be delivered immediately, while those that are produced
   10.24 +outside can be delivered to a mailbox on the internet, to be retrieved
   10.25 +later.
   10.26 +
   10.27 +- to give mail servers a return address which they can accept if they
   10.28 +check for spam mail. Many mail servers require a return address which
   10.29 +has the same domain as the server it is getting the message from. If
   10.30 +you normally connect to only one provider, this is usually not a
   10.31 +problem as you can configure your mailer to a fixed address (but then
   10.32 +there is still the problem with the failure messages...), but it is a
   10.33 +problem if you use different ones from time to time.
   10.34 +
   10.35 +MasqMail shall once be a complete replacement for sendmail (or other
   10.36 +MTAs such as exim, qmail or smail) on a local network, but it is NOT
   10.37 +supposed to be installed in a network with a permanent internet
   10.38 +connection (at least if it is not behind a secure firewall) because
   10.39 +it has no ability to check for undesired relaying or spam filtering.
   10.40 +
   10.41 +Missing, but soon to be realized features:
   10.42 +
   10.43 +- .forward file support (alias file is supported)
   10.44 +- mailer demon messages (mail from the server in cases of delivery failures
   10.45 +or malformed addresses)
   10.46 +
   10.47 +Future plans are:
   10.48 +
   10.49 +- initiate connections on its own
   10.50 +- integration to the masqdialer system (mserver) as an option
   10.51 +- possibly a pop3 server
   10.52 +
   10.53 +For installation instructions, see INSTALL.
   10.54 +
   10.55 +Bugs: MasqMail is still very young, and there are probably at lot of
   10.56 +bugs in it. I need every bug reported to me! If you do, please send me
   10.57 +the configuration files, the logs, the version, and a good description
   10.58 +on how to reproduce the error. The more bug reports I get, the better
   10.59 +masqmail will get!
   10.60 +
   10.61 +CREDITS:
   10.62 +--------
   10.63 +
   10.64 +I would like to thank everyone who has submitted suggestions and bug
   10.65 +reports. Special thanks to:
   10.66 +
   10.67 +Gregor Hoffleit for beta testing and his suggestions for delivering
   10.68 +mail immediately when online.
   10.69 +Gregor Hoffleit again for supplying a patch which made maqmail work with mutt.
   10.70 +And again for making the Debian package. And more patches.
   10.71 +
   10.72 +Dale Perkel for patiently trying to make MM compile and run with libc5 and
   10.73 +various bug reports.
   10.74 +
   10.75 +Andre Masloch for finding most bugs.
   10.76 +
   10.77 +Edouard G. Parmelan for many patches and bug reports
   10.78 +
   10.79 +Iain Lea for the Redhat spec file
   10.80 +
   10.81 +...and many others
   10.82 +--
   10.83 +Oliver Kurth <oku@masqmail.cx>
   10.84 +http://masqmail.cx/
   10.85 +last change: Feb. 3, 2000
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/TODO	Fri Sep 26 17:05:23 2008 +0200
    11.3 @@ -0,0 +1,21 @@
    11.4 +general:
    11.5 +- look carefully were memory is not freed
    11.6 +- add forwarding support
    11.7 +- improve Mailer-Daemon error messages
    11.8 +- ODMR support
    11.9 +- temporary delivery delay notifications
   11.10 +
   11.11 +conf:
   11.12 +- more configuration options
   11.13 +- make conf more fool proof
   11.14 +
   11.15 +pop:
   11.16 +- multidrop support
   11.17 +
   11.18 +lookup:
   11.19 +- optimize MX lookup
   11.20 +
   11.21 +...update this file from time to time...
   11.22 +
   11.23 +...and (you guessed it):
   11.24 +- bug fixing
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/acconfig.h	Fri Sep 26 17:05:23 2008 +0200
    12.3 @@ -0,0 +1,29 @@
    12.4 +#undef DEF_MAIL_GROUP
    12.5 +#undef DEF_MAIL_USER
    12.6 +
    12.7 +/* Define if you want to use lockfile library.  */
    12.8 +#undef USE_LIBLOCKFILE
    12.9 +
   12.10 +#undef ENABLE_DEBUG
   12.11 +
   12.12 +#undef ENABLE_RESOLVER
   12.13 +
   12.14 +#undef ENABLE_SMTP_SERVER
   12.15 +
   12.16 +#undef ENABLE_POP3
   12.17 +
   12.18 +#undef ENABLE_AUTH
   12.19 +
   12.20 +#undef ENABLE_MAILDIR
   12.21 +
   12.22 +#undef USE_LIB_CRYPTO
   12.23 +
   12.24 +#undef ENABLE_IDENT
   12.25 +
   12.26 +#undef ENABLE_MSERVER
   12.27 +
   12.28 +#undef CONF_DIR
   12.29 +
   12.30 +#undef DATA_DIR
   12.31 +
   12.32 +#undef SBINDIR
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/aclocal.m4	Fri Sep 26 17:05:23 2008 +0200
    13.3 @@ -0,0 +1,1018 @@
    13.4 +# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
    13.5 +
    13.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    13.7 +# Free Software Foundation, Inc.
    13.8 +# This file is free software; the Free Software Foundation
    13.9 +# gives unlimited permission to copy and/or distribute it,
   13.10 +# with or without modifications, as long as this notice is preserved.
   13.11 +
   13.12 +# This program is distributed in the hope that it will be useful,
   13.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   13.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   13.15 +# PARTICULAR PURPOSE.
   13.16 +
   13.17 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
   13.18 +
   13.19 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
   13.20 +
   13.21 +# This program is free software; you can redistribute it and/or modify
   13.22 +# it under the terms of the GNU General Public License as published by
   13.23 +# the Free Software Foundation; either version 2, or (at your option)
   13.24 +# any later version.
   13.25 +
   13.26 +# This program is distributed in the hope that it will be useful,
   13.27 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   13.28 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13.29 +# GNU General Public License for more details.
   13.30 +
   13.31 +# You should have received a copy of the GNU General Public License
   13.32 +# along with this program; if not, write to the Free Software
   13.33 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
   13.34 +# 02111-1307, USA.
   13.35 +
   13.36 +AC_PREREQ([2.52])
   13.37 +
   13.38 +# serial 6
   13.39 +
   13.40 +# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
   13.41 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
   13.42 +
   13.43 +# Do all the work for Automake.                            -*- Autoconf -*-
   13.44 +
   13.45 +# This macro actually does too much some checks are only needed if
   13.46 +# your package does certain things.  But this isn't really a big deal.
   13.47 +
   13.48 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
   13.49 +# Free Software Foundation, Inc.
   13.50 +
   13.51 +# This program is free software; you can redistribute it and/or modify
   13.52 +# it under the terms of the GNU General Public License as published by
   13.53 +# the Free Software Foundation; either version 2, or (at your option)
   13.54 +# any later version.
   13.55 +
   13.56 +# This program is distributed in the hope that it will be useful,
   13.57 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   13.58 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13.59 +# GNU General Public License for more details.
   13.60 +
   13.61 +# You should have received a copy of the GNU General Public License
   13.62 +# along with this program; if not, write to the Free Software
   13.63 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
   13.64 +# 02111-1307, USA.
   13.65 +
   13.66 +# serial 10
   13.67 +
   13.68 +AC_PREREQ([2.54])
   13.69 +
   13.70 +# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
   13.71 +# the ones we care about.
   13.72 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
   13.73 +
   13.74 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
   13.75 +# AM_INIT_AUTOMAKE([OPTIONS])
   13.76 +# -----------------------------------------------
   13.77 +# The call with PACKAGE and VERSION arguments is the old style
   13.78 +# call (pre autoconf-2.50), which is being phased out.  PACKAGE
   13.79 +# and VERSION should now be passed to AC_INIT and removed from
   13.80 +# the call to AM_INIT_AUTOMAKE.
   13.81 +# We support both call styles for the transition.  After
   13.82 +# the next Automake release, Autoconf can make the AC_INIT
   13.83 +# arguments mandatory, and then we can depend on a new Autoconf
   13.84 +# release and drop the old call support.
   13.85 +AC_DEFUN([AM_INIT_AUTOMAKE],
   13.86 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
   13.87 + AC_REQUIRE([AC_PROG_INSTALL])dnl
   13.88 +# test to see if srcdir already configured
   13.89 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
   13.90 +   test -f $srcdir/config.status; then
   13.91 +  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
   13.92 +fi
   13.93 +
   13.94 +# test whether we have cygpath
   13.95 +if test -z "$CYGPATH_W"; then
   13.96 +  if (cygpath --version) >/dev/null 2>/dev/null; then
   13.97 +    CYGPATH_W='cygpath -w'
   13.98 +  else
   13.99 +    CYGPATH_W=echo
  13.100 +  fi
  13.101 +fi
  13.102 +AC_SUBST([CYGPATH_W])
  13.103 +
  13.104 +# Define the identity of the package.
  13.105 +dnl Distinguish between old-style and new-style calls.
  13.106 +m4_ifval([$2],
  13.107 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  13.108 + AC_SUBST([PACKAGE], [$1])dnl
  13.109 + AC_SUBST([VERSION], [$2])],
  13.110 +[_AM_SET_OPTIONS([$1])dnl
  13.111 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  13.112 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  13.113 +
  13.114 +_AM_IF_OPTION([no-define],,
  13.115 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  13.116 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  13.117 +
  13.118 +# Some tools Automake needs.
  13.119 +AC_REQUIRE([AM_SANITY_CHECK])dnl
  13.120 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  13.121 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  13.122 +AM_MISSING_PROG(AUTOCONF, autoconf)
  13.123 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  13.124 +AM_MISSING_PROG(AUTOHEADER, autoheader)
  13.125 +AM_MISSING_PROG(MAKEINFO, makeinfo)
  13.126 +AM_MISSING_PROG(AMTAR, tar)
  13.127 +AM_PROG_INSTALL_SH
  13.128 +AM_PROG_INSTALL_STRIP
  13.129 +# We need awk for the "check" target.  The system "awk" is bad on
  13.130 +# some platforms.
  13.131 +AC_REQUIRE([AC_PROG_AWK])dnl
  13.132 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  13.133 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  13.134 +
  13.135 +_AM_IF_OPTION([no-dependencies],,
  13.136 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  13.137 +                  [_AM_DEPENDENCIES(CC)],
  13.138 +                  [define([AC_PROG_CC],
  13.139 +                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  13.140 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  13.141 +                  [_AM_DEPENDENCIES(CXX)],
  13.142 +                  [define([AC_PROG_CXX],
  13.143 +                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  13.144 +])
  13.145 +])
  13.146 +
  13.147 +
  13.148 +# When config.status generates a header, we must update the stamp-h file.
  13.149 +# This file resides in the same directory as the config header
  13.150 +# that is generated.  The stamp files are numbered to have different names.
  13.151 +
  13.152 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  13.153 +# loop where config.status creates the headers, so we can generate
  13.154 +# our stamp files there.
  13.155 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  13.156 +[# Compute $1's index in $config_headers.
  13.157 +_am_stamp_count=1
  13.158 +for _am_header in $config_headers :; do
  13.159 +  case $_am_header in
  13.160 +    $1 | $1:* )
  13.161 +      break ;;
  13.162 +    * )
  13.163 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  13.164 +  esac
  13.165 +done
  13.166 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
  13.167 +
  13.168 +# Copyright 2002  Free Software Foundation, Inc.
  13.169 +
  13.170 +# This program is free software; you can redistribute it and/or modify
  13.171 +# it under the terms of the GNU General Public License as published by
  13.172 +# the Free Software Foundation; either version 2, or (at your option)
  13.173 +# any later version.
  13.174 +
  13.175 +# This program is distributed in the hope that it will be useful,
  13.176 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.177 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.178 +# GNU General Public License for more details.
  13.179 +
  13.180 +# You should have received a copy of the GNU General Public License
  13.181 +# along with this program; if not, write to the Free Software
  13.182 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.183 +
  13.184 +# AM_AUTOMAKE_VERSION(VERSION)
  13.185 +# ----------------------------
  13.186 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
  13.187 +# generated from the m4 files accompanying Automake X.Y.
  13.188 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
  13.189 +
  13.190 +# AM_SET_CURRENT_AUTOMAKE_VERSION
  13.191 +# -------------------------------
  13.192 +# Call AM_AUTOMAKE_VERSION so it can be traced.
  13.193 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  13.194 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  13.195 +	 [AM_AUTOMAKE_VERSION([1.7.9])])
  13.196 +
  13.197 +# Helper functions for option handling.                    -*- Autoconf -*-
  13.198 +
  13.199 +# Copyright 2001, 2002  Free Software Foundation, Inc.
  13.200 +
  13.201 +# This program is free software; you can redistribute it and/or modify
  13.202 +# it under the terms of the GNU General Public License as published by
  13.203 +# the Free Software Foundation; either version 2, or (at your option)
  13.204 +# any later version.
  13.205 +
  13.206 +# This program is distributed in the hope that it will be useful,
  13.207 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.208 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.209 +# GNU General Public License for more details.
  13.210 +
  13.211 +# You should have received a copy of the GNU General Public License
  13.212 +# along with this program; if not, write to the Free Software
  13.213 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.214 +# 02111-1307, USA.
  13.215 +
  13.216 +# serial 2
  13.217 +
  13.218 +# _AM_MANGLE_OPTION(NAME)
  13.219 +# -----------------------
  13.220 +AC_DEFUN([_AM_MANGLE_OPTION],
  13.221 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  13.222 +
  13.223 +# _AM_SET_OPTION(NAME)
  13.224 +# ------------------------------
  13.225 +# Set option NAME.  Presently that only means defining a flag for this option.
  13.226 +AC_DEFUN([_AM_SET_OPTION],
  13.227 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  13.228 +
  13.229 +# _AM_SET_OPTIONS(OPTIONS)
  13.230 +# ----------------------------------
  13.231 +# OPTIONS is a space-separated list of Automake options.
  13.232 +AC_DEFUN([_AM_SET_OPTIONS],
  13.233 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  13.234 +
  13.235 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  13.236 +# -------------------------------------------
  13.237 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  13.238 +AC_DEFUN([_AM_IF_OPTION],
  13.239 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  13.240 +
  13.241 +#
  13.242 +# Check to make sure that the build environment is sane.
  13.243 +#
  13.244 +
  13.245 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
  13.246 +
  13.247 +# This program is free software; you can redistribute it and/or modify
  13.248 +# it under the terms of the GNU General Public License as published by
  13.249 +# the Free Software Foundation; either version 2, or (at your option)
  13.250 +# any later version.
  13.251 +
  13.252 +# This program is distributed in the hope that it will be useful,
  13.253 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.254 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.255 +# GNU General Public License for more details.
  13.256 +
  13.257 +# You should have received a copy of the GNU General Public License
  13.258 +# along with this program; if not, write to the Free Software
  13.259 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.260 +# 02111-1307, USA.
  13.261 +
  13.262 +# serial 3
  13.263 +
  13.264 +# AM_SANITY_CHECK
  13.265 +# ---------------
  13.266 +AC_DEFUN([AM_SANITY_CHECK],
  13.267 +[AC_MSG_CHECKING([whether build environment is sane])
  13.268 +# Just in case
  13.269 +sleep 1
  13.270 +echo timestamp > conftest.file
  13.271 +# Do `set' in a subshell so we don't clobber the current shell's
  13.272 +# arguments.  Must try -L first in case configure is actually a
  13.273 +# symlink; some systems play weird games with the mod time of symlinks
  13.274 +# (eg FreeBSD returns the mod time of the symlink's containing
  13.275 +# directory).
  13.276 +if (
  13.277 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  13.278 +   if test "$[*]" = "X"; then
  13.279 +      # -L didn't work.
  13.280 +      set X `ls -t $srcdir/configure conftest.file`
  13.281 +   fi
  13.282 +   rm -f conftest.file
  13.283 +   if test "$[*]" != "X $srcdir/configure conftest.file" \
  13.284 +      && test "$[*]" != "X conftest.file $srcdir/configure"; then
  13.285 +
  13.286 +      # If neither matched, then we have a broken ls.  This can happen
  13.287 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
  13.288 +      # broken ls alias from the environment.  This has actually
  13.289 +      # happened.  Such a system could not be considered "sane".
  13.290 +      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  13.291 +alias in your environment])
  13.292 +   fi
  13.293 +
  13.294 +   test "$[2]" = conftest.file
  13.295 +   )
  13.296 +then
  13.297 +   # Ok.
  13.298 +   :
  13.299 +else
  13.300 +   AC_MSG_ERROR([newly created file is older than distributed files!
  13.301 +Check your system clock])
  13.302 +fi
  13.303 +AC_MSG_RESULT(yes)])
  13.304 +
  13.305 +#  -*- Autoconf -*-
  13.306 +
  13.307 +
  13.308 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
  13.309 +
  13.310 +# This program is free software; you can redistribute it and/or modify
  13.311 +# it under the terms of the GNU General Public License as published by
  13.312 +# the Free Software Foundation; either version 2, or (at your option)
  13.313 +# any later version.
  13.314 +
  13.315 +# This program is distributed in the hope that it will be useful,
  13.316 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.317 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.318 +# GNU General Public License for more details.
  13.319 +
  13.320 +# You should have received a copy of the GNU General Public License
  13.321 +# along with this program; if not, write to the Free Software
  13.322 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.323 +# 02111-1307, USA.
  13.324 +
  13.325 +# serial 3
  13.326 +
  13.327 +# AM_MISSING_PROG(NAME, PROGRAM)
  13.328 +# ------------------------------
  13.329 +AC_DEFUN([AM_MISSING_PROG],
  13.330 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
  13.331 +$1=${$1-"${am_missing_run}$2"}
  13.332 +AC_SUBST($1)])
  13.333 +
  13.334 +
  13.335 +# AM_MISSING_HAS_RUN
  13.336 +# ------------------
  13.337 +# Define MISSING if not defined so far and test if it supports --run.
  13.338 +# If it does, set am_missing_run to use it, otherwise, to nothing.
  13.339 +AC_DEFUN([AM_MISSING_HAS_RUN],
  13.340 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  13.341 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  13.342 +# Use eval to expand $SHELL
  13.343 +if eval "$MISSING --run true"; then
  13.344 +  am_missing_run="$MISSING --run "
  13.345 +else
  13.346 +  am_missing_run=
  13.347 +  AC_MSG_WARN([`missing' script is too old or missing])
  13.348 +fi
  13.349 +])
  13.350 +
  13.351 +# AM_AUX_DIR_EXPAND
  13.352 +
  13.353 +# Copyright 2001 Free Software Foundation, Inc.
  13.354 +
  13.355 +# This program is free software; you can redistribute it and/or modify
  13.356 +# it under the terms of the GNU General Public License as published by
  13.357 +# the Free Software Foundation; either version 2, or (at your option)
  13.358 +# any later version.
  13.359 +
  13.360 +# This program is distributed in the hope that it will be useful,
  13.361 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.362 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.363 +# GNU General Public License for more details.
  13.364 +
  13.365 +# You should have received a copy of the GNU General Public License
  13.366 +# along with this program; if not, write to the Free Software
  13.367 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.368 +# 02111-1307, USA.
  13.369 +
  13.370 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  13.371 +# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
  13.372 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  13.373 +#
  13.374 +# Of course, Automake must honor this variable whenever it calls a
  13.375 +# tool from the auxiliary directory.  The problem is that $srcdir (and
  13.376 +# therefore $ac_aux_dir as well) can be either absolute or relative,
  13.377 +# depending on how configure is run.  This is pretty annoying, since
  13.378 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
  13.379 +# source directory, any form will work fine, but in subdirectories a
  13.380 +# relative path needs to be adjusted first.
  13.381 +#
  13.382 +# $ac_aux_dir/missing
  13.383 +#    fails when called from a subdirectory if $ac_aux_dir is relative
  13.384 +# $top_srcdir/$ac_aux_dir/missing
  13.385 +#    fails if $ac_aux_dir is absolute,
  13.386 +#    fails when called from a subdirectory in a VPATH build with
  13.387 +#          a relative $ac_aux_dir
  13.388 +#
  13.389 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  13.390 +# are both prefixed by $srcdir.  In an in-source build this is usually
  13.391 +# harmless because $srcdir is `.', but things will broke when you
  13.392 +# start a VPATH build or use an absolute $srcdir.
  13.393 +#
  13.394 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  13.395 +# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
  13.396 +#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  13.397 +# and then we would define $MISSING as
  13.398 +#   MISSING="\${SHELL} $am_aux_dir/missing"
  13.399 +# This will work as long as MISSING is not called from configure, because
  13.400 +# unfortunately $(top_srcdir) has no meaning in configure.
  13.401 +# However there are other variables, like CC, which are often used in
  13.402 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
  13.403 +#
  13.404 +# Another solution, used here, is to always expand $ac_aux_dir to an
  13.405 +# absolute PATH.  The drawback is that using absolute paths prevent a
  13.406 +# configured tree to be moved without reconfiguration.
  13.407 +
  13.408 +# Rely on autoconf to set up CDPATH properly.
  13.409 +AC_PREREQ([2.50])
  13.410 +
  13.411 +AC_DEFUN([AM_AUX_DIR_EXPAND], [
  13.412 +# expand $ac_aux_dir to an absolute path
  13.413 +am_aux_dir=`cd $ac_aux_dir && pwd`
  13.414 +])
  13.415 +
  13.416 +# AM_PROG_INSTALL_SH
  13.417 +# ------------------
  13.418 +# Define $install_sh.
  13.419 +
  13.420 +# Copyright 2001 Free Software Foundation, Inc.
  13.421 +
  13.422 +# This program is free software; you can redistribute it and/or modify
  13.423 +# it under the terms of the GNU General Public License as published by
  13.424 +# the Free Software Foundation; either version 2, or (at your option)
  13.425 +# any later version.
  13.426 +
  13.427 +# This program is distributed in the hope that it will be useful,
  13.428 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.429 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.430 +# GNU General Public License for more details.
  13.431 +
  13.432 +# You should have received a copy of the GNU General Public License
  13.433 +# along with this program; if not, write to the Free Software
  13.434 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.435 +# 02111-1307, USA.
  13.436 +
  13.437 +AC_DEFUN([AM_PROG_INSTALL_SH],
  13.438 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  13.439 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
  13.440 +AC_SUBST(install_sh)])
  13.441 +
  13.442 +# AM_PROG_INSTALL_STRIP
  13.443 +
  13.444 +# Copyright 2001 Free Software Foundation, Inc.
  13.445 +
  13.446 +# This program is free software; you can redistribute it and/or modify
  13.447 +# it under the terms of the GNU General Public License as published by
  13.448 +# the Free Software Foundation; either version 2, or (at your option)
  13.449 +# any later version.
  13.450 +
  13.451 +# This program is distributed in the hope that it will be useful,
  13.452 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.453 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.454 +# GNU General Public License for more details.
  13.455 +
  13.456 +# You should have received a copy of the GNU General Public License
  13.457 +# along with this program; if not, write to the Free Software
  13.458 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.459 +# 02111-1307, USA.
  13.460 +
  13.461 +# One issue with vendor `install' (even GNU) is that you can't
  13.462 +# specify the program used to strip binaries.  This is especially
  13.463 +# annoying in cross-compiling environments, where the build's strip
  13.464 +# is unlikely to handle the host's binaries.
  13.465 +# Fortunately install-sh will honor a STRIPPROG variable, so we
  13.466 +# always use install-sh in `make install-strip', and initialize
  13.467 +# STRIPPROG with the value of the STRIP variable (set by the user).
  13.468 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
  13.469 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  13.470 +# Installed binaries are usually stripped using `strip' when the user
  13.471 +# run `make install-strip'.  However `strip' might not be the right
  13.472 +# tool to use in cross-compilation environments, therefore Automake
  13.473 +# will honor the `STRIP' environment variable to overrule this program.
  13.474 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  13.475 +if test "$cross_compiling" != no; then
  13.476 +  AC_CHECK_TOOL([STRIP], [strip], :)
  13.477 +fi
  13.478 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  13.479 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  13.480 +
  13.481 +#                                                          -*- Autoconf -*-
  13.482 +# Copyright (C) 2003  Free Software Foundation, Inc.
  13.483 +
  13.484 +# This program is free software; you can redistribute it and/or modify
  13.485 +# it under the terms of the GNU General Public License as published by
  13.486 +# the Free Software Foundation; either version 2, or (at your option)
  13.487 +# any later version.
  13.488 +
  13.489 +# This program is distributed in the hope that it will be useful,
  13.490 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.491 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.492 +# GNU General Public License for more details.
  13.493 +
  13.494 +# You should have received a copy of the GNU General Public License
  13.495 +# along with this program; if not, write to the Free Software
  13.496 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.497 +# 02111-1307, USA.
  13.498 +
  13.499 +# serial 1
  13.500 +
  13.501 +# Check whether the underlying file-system supports filenames
  13.502 +# with a leading dot.  For instance MS-DOS doesn't.
  13.503 +AC_DEFUN([AM_SET_LEADING_DOT],
  13.504 +[rm -rf .tst 2>/dev/null
  13.505 +mkdir .tst 2>/dev/null
  13.506 +if test -d .tst; then
  13.507 +  am__leading_dot=.
  13.508 +else
  13.509 +  am__leading_dot=_
  13.510 +fi
  13.511 +rmdir .tst 2>/dev/null
  13.512 +AC_SUBST([am__leading_dot])])
  13.513 +
  13.514 +# serial 5						-*- Autoconf -*-
  13.515 +
  13.516 +# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
  13.517 +
  13.518 +# This program is free software; you can redistribute it and/or modify
  13.519 +# it under the terms of the GNU General Public License as published by
  13.520 +# the Free Software Foundation; either version 2, or (at your option)
  13.521 +# any later version.
  13.522 +
  13.523 +# This program is distributed in the hope that it will be useful,
  13.524 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.525 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.526 +# GNU General Public License for more details.
  13.527 +
  13.528 +# You should have received a copy of the GNU General Public License
  13.529 +# along with this program; if not, write to the Free Software
  13.530 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.531 +# 02111-1307, USA.
  13.532 +
  13.533 +
  13.534 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  13.535 +# written in clear, in which case automake, when reading aclocal.m4,
  13.536 +# will think it sees a *use*, and therefore will trigger all it's
  13.537 +# C support machinery.  Also note that it means that autoscan, seeing
  13.538 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  13.539 +
  13.540 +
  13.541 +
  13.542 +# _AM_DEPENDENCIES(NAME)
  13.543 +# ----------------------
  13.544 +# See how the compiler implements dependency checking.
  13.545 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
  13.546 +# We try a few techniques and use that to set a single cache variable.
  13.547 +#
  13.548 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  13.549 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  13.550 +# dependency, and given that the user is not expected to run this macro,
  13.551 +# just rely on AC_PROG_CC.
  13.552 +AC_DEFUN([_AM_DEPENDENCIES],
  13.553 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
  13.554 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  13.555 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  13.556 +AC_REQUIRE([AM_DEP_TRACK])dnl
  13.557 +
  13.558 +ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
  13.559 +       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
  13.560 +       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  13.561 +       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
  13.562 +                   [depcc="$$1"   am_compiler_list=])
  13.563 +
  13.564 +AC_CACHE_CHECK([dependency style of $depcc],
  13.565 +               [am_cv_$1_dependencies_compiler_type],
  13.566 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13.567 +  # We make a subdir and do the tests there.  Otherwise we can end up
  13.568 +  # making bogus files that we don't know about and never remove.  For
  13.569 +  # instance it was reported that on HP-UX the gcc test will end up
  13.570 +  # making a dummy file named `D' -- because `-MD' means `put the output
  13.571 +  # in D'.
  13.572 +  mkdir conftest.dir
  13.573 +  # Copy depcomp to subdir because otherwise we won't find it if we're
  13.574 +  # using a relative directory.
  13.575 +  cp "$am_depcomp" conftest.dir
  13.576 +  cd conftest.dir
  13.577 +  # We will build objects and dependencies in a subdirectory because
  13.578 +  # it helps to detect inapplicable dependency modes.  For instance
  13.579 +  # both Tru64's cc and ICC support -MD to output dependencies as a
  13.580 +  # side effect of compilation, but ICC will put the dependencies in
  13.581 +  # the current directory while Tru64 will put them in the object
  13.582 +  # directory.
  13.583 +  mkdir sub
  13.584 +
  13.585 +  am_cv_$1_dependencies_compiler_type=none
  13.586 +  if test "$am_compiler_list" = ""; then
  13.587 +     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  13.588 +  fi
  13.589 +  for depmode in $am_compiler_list; do
  13.590 +    # Setup a source with many dependencies, because some compilers
  13.591 +    # like to wrap large dependency lists on column 80 (with \), and
  13.592 +    # we should not choose a depcomp mode which is confused by this.
  13.593 +    #
  13.594 +    # We need to recreate these files for each test, as the compiler may
  13.595 +    # overwrite some of them when testing with obscure command lines.
  13.596 +    # This happens at least with the AIX C compiler.
  13.597 +    : > sub/conftest.c
  13.598 +    for i in 1 2 3 4 5 6; do
  13.599 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  13.600 +      : > sub/conftst$i.h
  13.601 +    done
  13.602 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13.603 +
  13.604 +    case $depmode in
  13.605 +    nosideeffect)
  13.606 +      # after this tag, mechanisms are not by side-effect, so they'll
  13.607 +      # only be used when explicitly requested
  13.608 +      if test "x$enable_dependency_tracking" = xyes; then
  13.609 +	continue
  13.610 +      else
  13.611 +	break
  13.612 +      fi
  13.613 +      ;;
  13.614 +    none) break ;;
  13.615 +    esac
  13.616 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  13.617 +    # mode.  It turns out that the SunPro C++ compiler does not properly
  13.618 +    # handle `-M -o', and we need to detect this.
  13.619 +    if depmode=$depmode \
  13.620 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  13.621 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13.622 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  13.623 +         >/dev/null 2>conftest.err &&
  13.624 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13.625 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  13.626 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13.627 +      # icc doesn't choke on unknown options, it will just issue warnings
  13.628 +      # (even with -Werror).  So we grep stderr for any message
  13.629 +      # that says an option was ignored.
  13.630 +      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
  13.631 +        am_cv_$1_dependencies_compiler_type=$depmode
  13.632 +        break
  13.633 +      fi
  13.634 +    fi
  13.635 +  done
  13.636 +
  13.637 +  cd ..
  13.638 +  rm -rf conftest.dir
  13.639 +else
  13.640 +  am_cv_$1_dependencies_compiler_type=none
  13.641 +fi
  13.642 +])
  13.643 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  13.644 +AM_CONDITIONAL([am__fastdep$1], [
  13.645 +  test "x$enable_dependency_tracking" != xno \
  13.646 +  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  13.647 +])
  13.648 +
  13.649 +
  13.650 +# AM_SET_DEPDIR
  13.651 +# -------------
  13.652 +# Choose a directory name for dependency files.
  13.653 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  13.654 +AC_DEFUN([AM_SET_DEPDIR],
  13.655 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  13.656 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  13.657 +])
  13.658 +
  13.659 +
  13.660 +# AM_DEP_TRACK
  13.661 +# ------------
  13.662 +AC_DEFUN([AM_DEP_TRACK],
  13.663 +[AC_ARG_ENABLE(dependency-tracking,
  13.664 +[  --disable-dependency-tracking Speeds up one-time builds
  13.665 +  --enable-dependency-tracking  Do not reject slow dependency extractors])
  13.666 +if test "x$enable_dependency_tracking" != xno; then
  13.667 +  am_depcomp="$ac_aux_dir/depcomp"
  13.668 +  AMDEPBACKSLASH='\'
  13.669 +fi
  13.670 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  13.671 +AC_SUBST([AMDEPBACKSLASH])
  13.672 +])
  13.673 +
  13.674 +# Generate code to set up dependency tracking.   -*- Autoconf -*-
  13.675 +
  13.676 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
  13.677 +
  13.678 +# This program is free software; you can redistribute it and/or modify
  13.679 +# it under the terms of the GNU General Public License as published by
  13.680 +# the Free Software Foundation; either version 2, or (at your option)
  13.681 +# any later version.
  13.682 +
  13.683 +# This program is distributed in the hope that it will be useful,
  13.684 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.685 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.686 +# GNU General Public License for more details.
  13.687 +
  13.688 +# You should have received a copy of the GNU General Public License
  13.689 +# along with this program; if not, write to the Free Software
  13.690 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.691 +# 02111-1307, USA.
  13.692 +
  13.693 +#serial 2
  13.694 +
  13.695 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
  13.696 +# ------------------------------
  13.697 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  13.698 +[for mf in $CONFIG_FILES; do
  13.699 +  # Strip MF so we end up with the name of the file.
  13.700 +  mf=`echo "$mf" | sed -e 's/:.*$//'`
  13.701 +  # Check whether this is an Automake generated Makefile or not.
  13.702 +  # We used to match only the files named `Makefile.in', but
  13.703 +  # some people rename them; so instead we look at the file content.
  13.704 +  # Grep'ing the first line is not enough: some people post-process
  13.705 +  # each Makefile.in and add a new line on top of each file to say so.
  13.706 +  # So let's grep whole file.
  13.707 +  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  13.708 +    dirpart=`AS_DIRNAME("$mf")`
  13.709 +  else
  13.710 +    continue
  13.711 +  fi
  13.712 +  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
  13.713 +  # Extract the definition of DEP_FILES from the Makefile without
  13.714 +  # running `make'.
  13.715 +  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  13.716 +  test -z "$DEPDIR" && continue
  13.717 +  # When using ansi2knr, U may be empty or an underscore; expand it
  13.718 +  U=`sed -n -e '/^U = / s///p' < "$mf"`
  13.719 +  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  13.720 +  # We invoke sed twice because it is the simplest approach to
  13.721 +  # changing $(DEPDIR) to its actual value in the expansion.
  13.722 +  for file in `sed -n -e '
  13.723 +    /^DEP_FILES = .*\\\\$/ {
  13.724 +      s/^DEP_FILES = //
  13.725 +      :loop
  13.726 +	s/\\\\$//
  13.727 +	p
  13.728 +	n
  13.729 +	/\\\\$/ b loop
  13.730 +      p
  13.731 +    }
  13.732 +    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  13.733 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  13.734 +    # Make sure the directory exists.
  13.735 +    test -f "$dirpart/$file" && continue
  13.736 +    fdir=`AS_DIRNAME(["$file"])`
  13.737 +    AS_MKDIR_P([$dirpart/$fdir])
  13.738 +    # echo "creating $dirpart/$file"
  13.739 +    echo '# dummy' > "$dirpart/$file"
  13.740 +  done
  13.741 +done
  13.742 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  13.743 +
  13.744 +
  13.745 +# AM_OUTPUT_DEPENDENCY_COMMANDS
  13.746 +# -----------------------------
  13.747 +# This macro should only be invoked once -- use via AC_REQUIRE.
  13.748 +#
  13.749 +# This code is only required when automatic dependency tracking
  13.750 +# is enabled.  FIXME.  This creates each `.P' file that we will
  13.751 +# need in order to bootstrap the dependency handling code.
  13.752 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  13.753 +[AC_CONFIG_COMMANDS([depfiles],
  13.754 +     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  13.755 +     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  13.756 +])
  13.757 +
  13.758 +# Check to see how 'make' treats includes.	-*- Autoconf -*-
  13.759 +
  13.760 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  13.761 +
  13.762 +# This program is free software; you can redistribute it and/or modify
  13.763 +# it under the terms of the GNU General Public License as published by
  13.764 +# the Free Software Foundation; either version 2, or (at your option)
  13.765 +# any later version.
  13.766 +
  13.767 +# This program is distributed in the hope that it will be useful,
  13.768 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.769 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.770 +# GNU General Public License for more details.
  13.771 +
  13.772 +# You should have received a copy of the GNU General Public License
  13.773 +# along with this program; if not, write to the Free Software
  13.774 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.775 +# 02111-1307, USA.
  13.776 +
  13.777 +# serial 2
  13.778 +
  13.779 +# AM_MAKE_INCLUDE()
  13.780 +# -----------------
  13.781 +# Check to see how make treats includes.
  13.782 +AC_DEFUN([AM_MAKE_INCLUDE],
  13.783 +[am_make=${MAKE-make}
  13.784 +cat > confinc << 'END'
  13.785 +am__doit:
  13.786 +	@echo done
  13.787 +.PHONY: am__doit
  13.788 +END
  13.789 +# If we don't find an include directive, just comment out the code.
  13.790 +AC_MSG_CHECKING([for style of include used by $am_make])
  13.791 +am__include="#"
  13.792 +am__quote=
  13.793 +_am_result=none
  13.794 +# First try GNU make style include.
  13.795 +echo "include confinc" > confmf
  13.796 +# We grep out `Entering directory' and `Leaving directory'
  13.797 +# messages which can occur if `w' ends up in MAKEFLAGS.
  13.798 +# In particular we don't look at `^make:' because GNU make might
  13.799 +# be invoked under some other name (usually "gmake"), in which
  13.800 +# case it prints its new name instead of `make'.
  13.801 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  13.802 +   am__include=include
  13.803 +   am__quote=
  13.804 +   _am_result=GNU
  13.805 +fi
  13.806 +# Now try BSD make style include.
  13.807 +if test "$am__include" = "#"; then
  13.808 +   echo '.include "confinc"' > confmf
  13.809 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  13.810 +      am__include=.include
  13.811 +      am__quote="\""
  13.812 +      _am_result=BSD
  13.813 +   fi
  13.814 +fi
  13.815 +AC_SUBST([am__include])
  13.816 +AC_SUBST([am__quote])
  13.817 +AC_MSG_RESULT([$_am_result])
  13.818 +rm -f confinc confmf
  13.819 +])
  13.820 +
  13.821 +# AM_CONDITIONAL                                              -*- Autoconf -*-
  13.822 +
  13.823 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
  13.824 +
  13.825 +# This program is free software; you can redistribute it and/or modify
  13.826 +# it under the terms of the GNU General Public License as published by
  13.827 +# the Free Software Foundation; either version 2, or (at your option)
  13.828 +# any later version.
  13.829 +
  13.830 +# This program is distributed in the hope that it will be useful,
  13.831 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.832 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.833 +# GNU General Public License for more details.
  13.834 +
  13.835 +# You should have received a copy of the GNU General Public License
  13.836 +# along with this program; if not, write to the Free Software
  13.837 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  13.838 +# 02111-1307, USA.
  13.839 +
  13.840 +# serial 5
  13.841 +
  13.842 +AC_PREREQ(2.52)
  13.843 +
  13.844 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
  13.845 +# -------------------------------------
  13.846 +# Define a conditional.
  13.847 +AC_DEFUN([AM_CONDITIONAL],
  13.848 +[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  13.849 +        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  13.850 +AC_SUBST([$1_TRUE])
  13.851 +AC_SUBST([$1_FALSE])
  13.852 +if $2; then
  13.853 +  $1_TRUE=
  13.854 +  $1_FALSE='#'
  13.855 +else
  13.856 +  $1_TRUE='#'
  13.857 +  $1_FALSE=
  13.858 +fi
  13.859 +AC_CONFIG_COMMANDS_PRE(
  13.860 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  13.861 +  AC_MSG_ERROR([conditional "$1" was never defined.
  13.862 +Usually this means the macro was only invoked conditionally.])
  13.863 +fi])])
  13.864 +
  13.865 +# isc-posix.m4 serial 2 (gettext-0.11.2)
  13.866 +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
  13.867 +dnl This file is free software; the Free Software Foundation
  13.868 +dnl gives unlimited permission to copy and/or distribute it,
  13.869 +dnl with or without modifications, as long as this notice is preserved.
  13.870 +
  13.871 +# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.
  13.872 +
  13.873 +# This test replaces the one in autoconf.
  13.874 +# Currently this macro should have the same name as the autoconf macro
  13.875 +# because gettext's gettext.m4 (distributed in the automake package)
  13.876 +# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
  13.877 +# give these diagnostics:
  13.878 +#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
  13.879 +#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
  13.880 +
  13.881 +undefine([AC_ISC_POSIX])
  13.882 +
  13.883 +AC_DEFUN([AC_ISC_POSIX],
  13.884 +  [
  13.885 +    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
  13.886 +    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
  13.887 +  ]
  13.888 +)
  13.889 +
  13.890 +# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
  13.891 +# 
  13.892 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  13.893 +#
  13.894 +# This program is free software; you can redistribute it and/or modify
  13.895 +# it under the terms of the GNU General Public License as published by
  13.896 +# the Free Software Foundation; either version 2 of the License, or
  13.897 +# (at your option) any later version.
  13.898 +#
  13.899 +# This program is distributed in the hope that it will be useful, but
  13.900 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  13.901 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.902 +# General Public License for more details.
  13.903 +#
  13.904 +# You should have received a copy of the GNU General Public License
  13.905 +# along with this program; if not, write to the Free Software
  13.906 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  13.907 +#
  13.908 +# As a special exception to the GNU General Public License, if you
  13.909 +# distribute this file as part of a program that contains a
  13.910 +# configuration script generated by Autoconf, you may include it under
  13.911 +# the same distribution terms that you use for the rest of that program.
  13.912 +
  13.913 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
  13.914 +# ----------------------------------
  13.915 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
  13.916 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  13.917 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
  13.918 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
  13.919 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  13.920 +	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  13.921 +fi
  13.922 +if test -n "$PKG_CONFIG"; then
  13.923 +	_pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
  13.924 +	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  13.925 +	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  13.926 +		AC_MSG_RESULT([yes])
  13.927 +	else
  13.928 +		AC_MSG_RESULT([no])
  13.929 +		PKG_CONFIG=""
  13.930 +	fi
  13.931 +		
  13.932 +fi[]dnl
  13.933 +])# PKG_PROG_PKG_CONFIG
  13.934 +
  13.935 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  13.936 +#
  13.937 +# Check to see whether a particular set of modules exists.  Similar
  13.938 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
  13.939 +#
  13.940 +#
  13.941 +# Similar to PKG_CHECK_MODULES, make sure that the first instance of
  13.942 +# this or PKG_CHECK_MODULES is called, or make sure to call
  13.943 +# PKG_CHECK_EXISTS manually
  13.944 +# --------------------------------------------------------------
  13.945 +AC_DEFUN([PKG_CHECK_EXISTS],
  13.946 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  13.947 +if test -n "$PKG_CONFIG" && \
  13.948 +    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  13.949 +  m4_ifval([$2], [$2], [:])
  13.950 +m4_ifvaln([$3], [else
  13.951 +  $3])dnl
  13.952 +fi])
  13.953 +
  13.954 +
  13.955 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
  13.956 +# ---------------------------------------------
  13.957 +m4_define([_PKG_CONFIG],
  13.958 +[if test -n "$PKG_CONFIG"; then
  13.959 +        PKG_CHECK_EXISTS([$3],
  13.960 +                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
  13.961 +			 [pkg_failed=yes])
  13.962 +else
  13.963 +	pkg_failed=untried
  13.964 +fi[]dnl
  13.965 +])# _PKG_CONFIG
  13.966 +
  13.967 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  13.968 +# [ACTION-IF-NOT-FOUND])
  13.969 +#
  13.970 +#
  13.971 +# Note that if there is a possibility the first call to
  13.972 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
  13.973 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  13.974 +#
  13.975 +#
  13.976 +# --------------------------------------------------------------
  13.977 +AC_DEFUN([PKG_CHECK_MODULES],
  13.978 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  13.979 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  13.980 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  13.981 +
  13.982 +pkg_failed=no
  13.983 +AC_MSG_CHECKING([for $1])
  13.984 +
  13.985 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  13.986 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  13.987 +
  13.988 +if test $pkg_failed = yes; then
  13.989 +	$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
  13.990 +	# Put the nasty error message in config.log where it belongs
  13.991 +	echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
  13.992 +
  13.993 +	ifelse([$4], , [AC_MSG_ERROR(dnl
  13.994 +[Package requirements ($2) were not met.
  13.995 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13.996 +installed software in a non-standard prefix.
  13.997 +
  13.998 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
  13.999 +to avoid the need to call pkg-config.  See the pkg-config man page for
 13.1000 +more details.])],
 13.1001 +		[$4])
 13.1002 +elif test $pkg_failed = untried; then
 13.1003 +	ifelse([$4], , [AC_MSG_FAILURE(dnl
 13.1004 +[The pkg-config script could not be found or is too old.  Make sure it
 13.1005 +is in your PATH or set the PKG_CONFIG environment variable to the full
 13.1006 +path to pkg-config.
 13.1007 +
 13.1008 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
 13.1009 +to avoid the need to call pkg-config.  See the pkg-config man page for
 13.1010 +more details.
 13.1011 +
 13.1012 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
 13.1013 +		[$4])
 13.1014 +else
 13.1015 +	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
 13.1016 +	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
 13.1017 +        AC_MSG_RESULT([yes])
 13.1018 +	ifelse([$3], , :, [$3])
 13.1019 +fi[]dnl
 13.1020 +])# PKG_CHECK_MODULES
 13.1021 +
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/agenda-config.site	Fri Sep 26 17:05:23 2008 +0200
    14.3 @@ -0,0 +1,71 @@
    14.4 +# config.site for configure
    14.5 +# Agenda Vr3 TARGET
    14.6 +
    14.7 +# You could put this file to /usr/local/mipsel-linux/etc/agenda-config.site
    14.8 +
    14.9 +# run with
   14.10 +#   CONFIG_SITE=/wherever/you/store/it/agenda-config.site ./configure
   14.11 +# or
   14.12 +#   export CONFIG_SITE=/wherever/you/store/it/agenda-config.site
   14.13 +# if this is going to be a whole compilation orgy
   14.14 +
   14.15 +# Modified from the one provided by Bradley D. LaRonde
   14.16 +
   14.17 +# Edited by Andrej Cedilnik <acedil1@csee.umbc.edu>
   14.18 +
   14.19 +# Used some of solutions by Tilman Vogel <Tilman.Vogel@web.de>
   14.20 +
   14.21 +HOSTCC=gcc
   14.22 +
   14.23 +# Names of the cross-compilers
   14.24 +CC=mipsel-linux-gcc
   14.25 +CXX=mipsel-linux-gcc
   14.26 +
   14.27 +# The cross compiler specific options
   14.28 +CFLAGS="-s -mips2 -O2 -fno-exceptions"
   14.29 +CXXFLAGS="-s -mips2 -O2 -fno-exceptions -I/usr/mipsel-linux/include/g++"
   14.30 +CPPFLAGS="-s -mips2 -O2 -fno-exceptions -I/usr/mipsel-linux/include/g++"
   14.31 +LDFLAGS="-s -mips2"
   14.32 +
   14.33 +# Some other programs
   14.34 +AR=mipsel-linux-ar
   14.35 +RANLIB=mipsel-linux-ranlib
   14.36 +NM=mipsel-linux-nm
   14.37 +ac_cv_path_NM=mipsel-linux-nm
   14.38 +ac_cv_func_setpgrp_void=yes
   14.39 +host=mipsel-linux
   14.40 +#prefix=/usr/mipsel-linux
   14.41 +x_includes=/usr/mipsel-linux/include
   14.42 +x_libraries=/usr/mipsel-linux/X11R6/lib
   14.43 +
   14.44 +# These are for GNU shellutils
   14.45 +jm_cv_have_proc_uptime=yes
   14.46 +jm_cv_func_working_gnu_strftime=yes
   14.47 +
   14.48 +# Some options for ease of compiling python 
   14.49 +ac_cv_sizeof_int=4
   14.50 +ac_cv_sizeof_char=1
   14.51 +ac_cv_sizeof_short=2
   14.52 +ac_cv_sizeof_float=4
   14.53 +ac_cv_sizeof_double=8
   14.54 +ac_cv_sizeof_pthread_t=4
   14.55 +ac_cv_sizeof_long=4
   14.56 +ac_cv_sizeof_void_p=4
   14.57 +ac_cv_sizeof_long_long=8
   14.58 +ac_cv_sizeof_off_t=4
   14.59 +ac_cv_sizeof_fpos_t=4
   14.60 +ac_cv_sizeof_time_t=4
   14.61 +
   14.62 +# Some other stuff nobody knows why
   14.63 +bad_forward=no
   14.64 +LDSHARED='mipsel-linux-gcc -msoft-float -shared'
   14.65 +ac_cv_malloc_zero=nonnull
   14.66 +
   14.67 +# squeak wants this
   14.68 +# can't do misaligned access to doubles
   14.69 +ac_cv_double_align=no
   14.70 +# dunno what order doubles are in
   14.71 +ac_cv_double_order=no
   14.72 +
   14.73 +ac_cv_header_wchar_h=no
   14.74 +
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/config.guess	Fri Sep 26 17:05:23 2008 +0200
    15.3 @@ -0,0 +1,1466 @@
    15.4 +#! /bin/sh
    15.5 +# Attempt to guess a canonical system name.
    15.6 +#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    15.7 +#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    15.8 +
    15.9 +timestamp='2005-08-03'
   15.10 +
   15.11 +# This file is free software; you can redistribute it and/or modify it
   15.12 +# under the terms of the GNU General Public License as published by
   15.13 +# the Free Software Foundation; either version 2 of the License, or
   15.14 +# (at your option) any later version.
   15.15 +#
   15.16 +# This program is distributed in the hope that it will be useful, but
   15.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
   15.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15.19 +# General Public License for more details.
   15.20 +#
   15.21 +# You should have received a copy of the GNU General Public License
   15.22 +# along with this program; if not, write to the Free Software
   15.23 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
   15.24 +# 02110-1301, USA.
   15.25 +#
   15.26 +# As a special exception to the GNU General Public License, if you
   15.27 +# distribute this file as part of a program that contains a
   15.28 +# configuration script generated by Autoconf, you may include it under
   15.29 +# the same distribution terms that you use for the rest of that program.
   15.30 +
   15.31 +
   15.32 +# Originally written by Per Bothner <per@bothner.com>.
   15.33 +# Please send patches to <config-patches@gnu.org>.  Submit a context
   15.34 +# diff and a properly formatted ChangeLog entry.
   15.35 +#
   15.36 +# This script attempts to guess a canonical system name similar to
   15.37 +# config.sub.  If it succeeds, it prints the system name on stdout, and
   15.38 +# exits with 0.  Otherwise, it exits with 1.
   15.39 +#
   15.40 +# The plan is that this can be called by configure scripts if you
   15.41 +# don't specify an explicit build system type.
   15.42 +
   15.43 +me=`echo "$0" | sed -e 's,.*/,,'`
   15.44 +
   15.45 +usage="\
   15.46 +Usage: $0 [OPTION]
   15.47 +
   15.48 +Output the configuration name of the system \`$me' is run on.
   15.49 +
   15.50 +Operation modes:
   15.51 +  -h, --help         print this help, then exit
   15.52 +  -t, --time-stamp   print date of last modification, then exit
   15.53 +  -v, --version      print version number, then exit
   15.54 +
   15.55 +Report bugs and patches to <config-patches@gnu.org>."
   15.56 +
   15.57 +version="\
   15.58 +GNU config.guess ($timestamp)
   15.59 +
   15.60 +Originally written by Per Bothner.
   15.61 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
   15.62 +Free Software Foundation, Inc.
   15.63 +
   15.64 +This is free software; see the source for copying conditions.  There is NO
   15.65 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
   15.66 +
   15.67 +help="
   15.68 +Try \`$me --help' for more information."
   15.69 +
   15.70 +# Parse command line
   15.71 +while test $# -gt 0 ; do
   15.72 +  case $1 in
   15.73 +    --time-stamp | --time* | -t )
   15.74 +       echo "$timestamp" ; exit ;;
   15.75 +    --version | -v )
   15.76 +       echo "$version" ; exit ;;
   15.77 +    --help | --h* | -h )
   15.78 +       echo "$usage"; exit ;;
   15.79 +    -- )     # Stop option processing
   15.80 +       shift; break ;;
   15.81 +    - )	# Use stdin as input.
   15.82 +       break ;;
   15.83 +    -* )
   15.84 +       echo "$me: invalid option $1$help" >&2
   15.85 +       exit 1 ;;
   15.86 +    * )
   15.87 +       break ;;
   15.88 +  esac
   15.89 +done
   15.90 +
   15.91 +if test $# != 0; then
   15.92 +  echo "$me: too many arguments$help" >&2
   15.93 +  exit 1
   15.94 +fi
   15.95 +
   15.96 +trap 'exit 1' 1 2 15
   15.97 +
   15.98 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
   15.99 +# compiler to aid in system detection is discouraged as it requires
  15.100 +# temporary files to be created and, as you can see below, it is a
  15.101 +# headache to deal with in a portable fashion.
  15.102 +
  15.103 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
  15.104 +# use `HOST_CC' if defined, but it is deprecated.
  15.105 +
  15.106 +# Portable tmp directory creation inspired by the Autoconf team.
  15.107 +
  15.108 +set_cc_for_build='
  15.109 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  15.110 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  15.111 +: ${TMPDIR=/tmp} ;
  15.112 + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  15.113 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  15.114 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  15.115 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  15.116 +dummy=$tmp/dummy ;
  15.117 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
  15.118 +case $CC_FOR_BUILD,$HOST_CC,$CC in
  15.119 + ,,)    echo "int x;" > $dummy.c ;
  15.120 +	for c in cc gcc c89 c99 ; do
  15.121 +	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
  15.122 +	     CC_FOR_BUILD="$c"; break ;
  15.123 +	  fi ;
  15.124 +	done ;
  15.125 +	if test x"$CC_FOR_BUILD" = x ; then
  15.126 +	  CC_FOR_BUILD=no_compiler_found ;
  15.127 +	fi
  15.128 +	;;
  15.129 + ,,*)   CC_FOR_BUILD=$CC ;;
  15.130 + ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
  15.131 +esac ; set_cc_for_build= ;'
  15.132 +
  15.133 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  15.134 +# (ghazi@noc.rutgers.edu 1994-08-24)
  15.135 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  15.136 +	PATH=$PATH:/.attbin ; export PATH
  15.137 +fi
  15.138 +
  15.139 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  15.140 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  15.141 +UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
  15.142 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  15.143 +
  15.144 +# Note: order is significant - the case branches are not exclusive.
  15.145 +
  15.146 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  15.147 +    *:NetBSD:*:*)
  15.148 +	# NetBSD (nbsd) targets should (where applicable) match one or
  15.149 +	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
  15.150 +	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
  15.151 +	# switched to ELF, *-*-netbsd* would select the old
  15.152 +	# object file format.  This provides both forward
  15.153 +	# compatibility and a consistent mechanism for selecting the
  15.154 +	# object file format.
  15.155 +	#
  15.156 +	# Note: NetBSD doesn't particularly care about the vendor
  15.157 +	# portion of the name.  We always set it to "unknown".
  15.158 +	sysctl="sysctl -n hw.machine_arch"
  15.159 +	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
  15.160 +	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
  15.161 +	case "${UNAME_MACHINE_ARCH}" in
  15.162 +	    armeb) machine=armeb-unknown ;;
  15.163 +	    arm*) machine=arm-unknown ;;
  15.164 +	    sh3el) machine=shl-unknown ;;
  15.165 +	    sh3eb) machine=sh-unknown ;;
  15.166 +	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  15.167 +	esac
  15.168 +	# The Operating System including object format, if it has switched
  15.169 +	# to ELF recently, or will in the future.
  15.170 +	case "${UNAME_MACHINE_ARCH}" in
  15.171 +	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  15.172 +		eval $set_cc_for_build
  15.173 +		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  15.174 +			| grep __ELF__ >/dev/null
  15.175 +		then
  15.176 +		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  15.177 +		    # Return netbsd for either.  FIX?
  15.178 +		    os=netbsd
  15.179 +		else
  15.180 +		    os=netbsdelf
  15.181 +		fi
  15.182 +		;;
  15.183 +	    *)
  15.184 +	        os=netbsd
  15.185 +		;;
  15.186 +	esac
  15.187 +	# The OS release
  15.188 +	# Debian GNU/NetBSD machines have a different userland, and
  15.189 +	# thus, need a distinct triplet. However, they do not need
  15.190 +	# kernel version information, so it can be replaced with a
  15.191 +	# suitable tag, in the style of linux-gnu.
  15.192 +	case "${UNAME_VERSION}" in
  15.193 +	    Debian*)
  15.194 +		release='-gnu'
  15.195 +		;;
  15.196 +	    *)
  15.197 +		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  15.198 +		;;
  15.199 +	esac
  15.200 +	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  15.201 +	# contains redundant information, the shorter form:
  15.202 +	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  15.203 +	echo "${machine}-${os}${release}"
  15.204 +	exit ;;
  15.205 +    *:OpenBSD:*:*)
  15.206 +	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  15.207 +	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  15.208 +	exit ;;
  15.209 +    *:ekkoBSD:*:*)
  15.210 +	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  15.211 +	exit ;;
  15.212 +    macppc:MirBSD:*:*)
  15.213 +	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
  15.214 +	exit ;;
  15.215 +    *:MirBSD:*:*)
  15.216 +	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  15.217 +	exit ;;
  15.218 +    alpha:OSF1:*:*)
  15.219 +	case $UNAME_RELEASE in
  15.220 +	*4.0)
  15.221 +		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  15.222 +		;;
  15.223 +	*5.*)
  15.224 +	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  15.225 +		;;
  15.226 +	esac
  15.227 +	# According to Compaq, /usr/sbin/psrinfo has been available on
  15.228 +	# OSF/1 and Tru64 systems produced since 1995.  I hope that
  15.229 +	# covers most systems running today.  This code pipes the CPU
  15.230 +	# types through head -n 1, so we only detect the type of CPU 0.
  15.231 +	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
  15.232 +	case "$ALPHA_CPU_TYPE" in
  15.233 +	    "EV4 (21064)")
  15.234 +		UNAME_MACHINE="alpha" ;;
  15.235 +	    "EV4.5 (21064)")
  15.236 +		UNAME_MACHINE="alpha" ;;
  15.237 +	    "LCA4 (21066/21068)")
  15.238 +		UNAME_MACHINE="alpha" ;;
  15.239 +	    "EV5 (21164)")
  15.240 +		UNAME_MACHINE="alphaev5" ;;
  15.241 +	    "EV5.6 (21164A)")
  15.242 +		UNAME_MACHINE="alphaev56" ;;
  15.243 +	    "EV5.6 (21164PC)")
  15.244 +		UNAME_MACHINE="alphapca56" ;;
  15.245 +	    "EV5.7 (21164PC)")
  15.246 +		UNAME_MACHINE="alphapca57" ;;
  15.247 +	    "EV6 (21264)")
  15.248 +		UNAME_MACHINE="alphaev6" ;;
  15.249 +	    "EV6.7 (21264A)")
  15.250 +		UNAME_MACHINE="alphaev67" ;;
  15.251 +	    "EV6.8CB (21264C)")
  15.252 +		UNAME_MACHINE="alphaev68" ;;
  15.253 +	    "EV6.8AL (21264B)")
  15.254 +		UNAME_MACHINE="alphaev68" ;;
  15.255 +	    "EV6.8CX (21264D)")
  15.256 +		UNAME_MACHINE="alphaev68" ;;
  15.257 +	    "EV6.9A (21264/EV69A)")
  15.258 +		UNAME_MACHINE="alphaev69" ;;
  15.259 +	    "EV7 (21364)")
  15.260 +		UNAME_MACHINE="alphaev7" ;;
  15.261 +	    "EV7.9 (21364A)")
  15.262 +		UNAME_MACHINE="alphaev79" ;;
  15.263 +	esac
  15.264 +	# A Pn.n version is a patched version.
  15.265 +	# A Vn.n version is a released version.
  15.266 +	# A Tn.n version is a released field test version.
  15.267 +	# A Xn.n version is an unreleased experimental baselevel.
  15.268 +	# 1.2 uses "1.2" for uname -r.
  15.269 +	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  15.270 +	exit ;;
  15.271 +    Alpha\ *:Windows_NT*:*)
  15.272 +	# How do we know it's Interix rather than the generic POSIX subsystem?
  15.273 +	# Should we change UNAME_MACHINE based on the output of uname instead
  15.274 +	# of the specific Alpha model?
  15.275 +	echo alpha-pc-interix
  15.276 +	exit ;;
  15.277 +    21064:Windows_NT:50:3)
  15.278 +	echo alpha-dec-winnt3.5
  15.279 +	exit ;;
  15.280 +    Amiga*:UNIX_System_V:4.0:*)
  15.281 +	echo m68k-unknown-sysv4
  15.282 +	exit ;;
  15.283 +    *:[Aa]miga[Oo][Ss]:*:*)
  15.284 +	echo ${UNAME_MACHINE}-unknown-amigaos
  15.285 +	exit ;;
  15.286 +    *:[Mm]orph[Oo][Ss]:*:*)
  15.287 +	echo ${UNAME_MACHINE}-unknown-morphos
  15.288 +	exit ;;
  15.289 +    *:OS/390:*:*)
  15.290 +	echo i370-ibm-openedition
  15.291 +	exit ;;
  15.292 +    *:z/VM:*:*)
  15.293 +	echo s390-ibm-zvmoe
  15.294 +	exit ;;
  15.295 +    *:OS400:*:*)
  15.296 +        echo powerpc-ibm-os400
  15.297 +	exit ;;
  15.298 +    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  15.299 +	echo arm-acorn-riscix${UNAME_RELEASE}
  15.300 +	exit ;;
  15.301 +    arm:riscos:*:*|arm:RISCOS:*:*)
  15.302 +	echo arm-unknown-riscos
  15.303 +	exit ;;
  15.304 +    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  15.305 +	echo hppa1.1-hitachi-hiuxmpp
  15.306 +	exit ;;
  15.307 +    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  15.308 +	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  15.309 +	if test "`(/bin/universe) 2>/dev/null`" = att ; then
  15.310 +		echo pyramid-pyramid-sysv3
  15.311 +	else
  15.312 +		echo pyramid-pyramid-bsd
  15.313 +	fi
  15.314 +	exit ;;
  15.315 +    NILE*:*:*:dcosx)
  15.316 +	echo pyramid-pyramid-svr4
  15.317 +	exit ;;
  15.318 +    DRS?6000:unix:4.0:6*)
  15.319 +	echo sparc-icl-nx6
  15.320 +	exit ;;
  15.321 +    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  15.322 +	case `/usr/bin/uname -p` in
  15.323 +	    sparc) echo sparc-icl-nx7; exit ;;
  15.324 +	esac ;;
  15.325 +    sun4H:SunOS:5.*:*)
  15.326 +	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  15.327 +	exit ;;
  15.328 +    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  15.329 +	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  15.330 +	exit ;;
  15.331 +    i86pc:SunOS:5.*:*)
  15.332 +	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  15.333 +	exit ;;
  15.334 +    sun4*:SunOS:6*:*)
  15.335 +	# According to config.sub, this is the proper way to canonicalize
  15.336 +	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
  15.337 +	# it's likely to be more like Solaris than SunOS4.
  15.338 +	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  15.339 +	exit ;;
  15.340 +    sun4*:SunOS:*:*)
  15.341 +	case "`/usr/bin/arch -k`" in
  15.342 +	    Series*|S4*)
  15.343 +		UNAME_RELEASE=`uname -v`
  15.344 +		;;
  15.345 +	esac
  15.346 +	# Japanese Language versions have a version number like `4.1.3-JL'.
  15.347 +	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  15.348 +	exit ;;
  15.349 +    sun3*:SunOS:*:*)
  15.350 +	echo m68k-sun-sunos${UNAME_RELEASE}
  15.351 +	exit ;;
  15.352 +    sun*:*:4.2BSD:*)
  15.353 +	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  15.354 +	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  15.355 +	case "`/bin/arch`" in
  15.356 +	    sun3)
  15.357 +		echo m68k-sun-sunos${UNAME_RELEASE}
  15.358 +		;;
  15.359 +	    sun4)
  15.360 +		echo sparc-sun-sunos${UNAME_RELEASE}
  15.361 +		;;
  15.362 +	esac
  15.363 +	exit ;;
  15.364 +    aushp:SunOS:*:*)
  15.365 +	echo sparc-auspex-sunos${UNAME_RELEASE}
  15.366 +	exit ;;
  15.367 +    # The situation for MiNT is a little confusing.  The machine name
  15.368 +    # can be virtually everything (everything which is not
  15.369 +    # "atarist" or "atariste" at least should have a processor
  15.370 +    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
  15.371 +    # to the lowercase version "mint" (or "freemint").  Finally
  15.372 +    # the system name "TOS" denotes a system which is actually not
  15.373 +    # MiNT.  But MiNT is downward compatible to TOS, so this should
  15.374 +    # be no problem.
  15.375 +    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  15.376 +        echo m68k-atari-mint${UNAME_RELEASE}
  15.377 +	exit ;;
  15.378 +    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  15.379 +	echo m68k-atari-mint${UNAME_RELEASE}
  15.380 +        exit ;;
  15.381 +    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  15.382 +        echo m68k-atari-mint${UNAME_RELEASE}
  15.383 +	exit ;;
  15.384 +    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  15.385 +        echo m68k-milan-mint${UNAME_RELEASE}
  15.386 +        exit ;;
  15.387 +    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  15.388 +        echo m68k-hades-mint${UNAME_RELEASE}
  15.389 +        exit ;;
  15.390 +    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  15.391 +        echo m68k-unknown-mint${UNAME_RELEASE}
  15.392 +        exit ;;
  15.393 +    m68k:machten:*:*)
  15.394 +	echo m68k-apple-machten${UNAME_RELEASE}
  15.395 +	exit ;;
  15.396 +    powerpc:machten:*:*)
  15.397 +	echo powerpc-apple-machten${UNAME_RELEASE}
  15.398 +	exit ;;
  15.399 +    RISC*:Mach:*:*)
  15.400 +	echo mips-dec-mach_bsd4.3
  15.401 +	exit ;;
  15.402 +    RISC*:ULTRIX:*:*)
  15.403 +	echo mips-dec-ultrix${UNAME_RELEASE}
  15.404 +	exit ;;
  15.405 +    VAX*:ULTRIX*:*:*)
  15.406 +	echo vax-dec-ultrix${UNAME_RELEASE}
  15.407 +	exit ;;
  15.408 +    2020:CLIX:*:* | 2430:CLIX:*:*)
  15.409 +	echo clipper-intergraph-clix${UNAME_RELEASE}
  15.410 +	exit ;;
  15.411 +    mips:*:*:UMIPS | mips:*:*:RISCos)
  15.412 +	eval $set_cc_for_build
  15.413 +	sed 's/^	//' << EOF >$dummy.c
  15.414 +#ifdef __cplusplus
  15.415 +#include <stdio.h>  /* for printf() prototype */
  15.416 +	int main (int argc, char *argv[]) {
  15.417 +#else
  15.418 +	int main (argc, argv) int argc; char *argv[]; {
  15.419 +#endif
  15.420 +	#if defined (host_mips) && defined (MIPSEB)
  15.421 +	#if defined (SYSTYPE_SYSV)
  15.422 +	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
  15.423 +	#endif
  15.424 +	#if defined (SYSTYPE_SVR4)
  15.425 +	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
  15.426 +	#endif
  15.427 +	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
  15.428 +	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
  15.429 +	#endif
  15.430 +	#endif
  15.431 +	  exit (-1);
  15.432 +	}
  15.433 +EOF
  15.434 +	$CC_FOR_BUILD -o $dummy $dummy.c &&
  15.435 +	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  15.436 +	  SYSTEM_NAME=`$dummy $dummyarg` &&
  15.437 +	    { echo "$SYSTEM_NAME"; exit; }
  15.438 +	echo mips-mips-riscos${UNAME_RELEASE}
  15.439 +	exit ;;
  15.440 +    Motorola:PowerMAX_OS:*:*)
  15.441 +	echo powerpc-motorola-powermax
  15.442 +	exit ;;
  15.443 +    Motorola:*:4.3:PL8-*)
  15.444 +	echo powerpc-harris-powermax
  15.445 +	exit ;;
  15.446 +    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  15.447 +	echo powerpc-harris-powermax
  15.448 +	exit ;;
  15.449 +    Night_Hawk:Power_UNIX:*:*)
  15.450 +	echo powerpc-harris-powerunix
  15.451 +	exit ;;
  15.452 +    m88k:CX/UX:7*:*)
  15.453 +	echo m88k-harris-cxux7
  15.454 +	exit ;;
  15.455 +    m88k:*:4*:R4*)
  15.456 +	echo m88k-motorola-sysv4
  15.457 +	exit ;;
  15.458 +    m88k:*:3*:R3*)
  15.459 +	echo m88k-motorola-sysv3
  15.460 +	exit ;;
  15.461 +    AViiON:dgux:*:*)
  15.462 +        # DG/UX returns AViiON for all architectures
  15.463 +        UNAME_PROCESSOR=`/usr/bin/uname -p`
  15.464 +	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
  15.465 +	then
  15.466 +	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
  15.467 +	       [ ${TARGET_BINARY_INTERFACE}x = x ]
  15.468 +	    then
  15.469 +		echo m88k-dg-dgux${UNAME_RELEASE}
  15.470 +	    else
  15.471 +		echo m88k-dg-dguxbcs${UNAME_RELEASE}
  15.472 +	    fi
  15.473 +	else
  15.474 +	    echo i586-dg-dgux${UNAME_RELEASE}
  15.475 +	fi
  15.476 + 	exit ;;
  15.477 +    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
  15.478 +	echo m88k-dolphin-sysv3
  15.479 +	exit ;;
  15.480 +    M88*:*:R3*:*)
  15.481 +	# Delta 88k system running SVR3
  15.482 +	echo m88k-motorola-sysv3
  15.483 +	exit ;;
  15.484 +    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  15.485 +	echo m88k-tektronix-sysv3
  15.486 +	exit ;;
  15.487 +    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  15.488 +	echo m68k-tektronix-bsd
  15.489 +	exit ;;
  15.490 +    *:IRIX*:*:*)
  15.491 +	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  15.492 +	exit ;;
  15.493 +    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  15.494 +	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
  15.495 +	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
  15.496 +    i*86:AIX:*:*)
  15.497 +	echo i386-ibm-aix
  15.498 +	exit ;;
  15.499 +    ia64:AIX:*:*)
  15.500 +	if [ -x /usr/bin/oslevel ] ; then
  15.501 +		IBM_REV=`/usr/bin/oslevel`
  15.502 +	else
  15.503 +		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  15.504 +	fi
  15.505 +	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  15.506 +	exit ;;
  15.507 +    *:AIX:2:3)
  15.508 +	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  15.509 +		eval $set_cc_for_build
  15.510 +		sed 's/^		//' << EOF >$dummy.c
  15.511 +		#include <sys/systemcfg.h>
  15.512 +
  15.513 +		main()
  15.514 +			{
  15.515 +			if (!__power_pc())
  15.516 +				exit(1);
  15.517 +			puts("powerpc-ibm-aix3.2.5");
  15.518 +			exit(0);
  15.519 +			}
  15.520 +EOF
  15.521 +		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  15.522 +		then
  15.523 +			echo "$SYSTEM_NAME"
  15.524 +		else
  15.525 +			echo rs6000-ibm-aix3.2.5
  15.526 +		fi
  15.527 +	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  15.528 +		echo rs6000-ibm-aix3.2.4
  15.529 +	else
  15.530 +		echo rs6000-ibm-aix3.2
  15.531 +	fi
  15.532 +	exit ;;
  15.533 +    *:AIX:*:[45])
  15.534 +	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  15.535 +	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  15.536 +		IBM_ARCH=rs6000
  15.537 +	else
  15.538 +		IBM_ARCH=powerpc
  15.539 +	fi
  15.540 +	if [ -x /usr/bin/oslevel ] ; then
  15.541 +		IBM_REV=`/usr/bin/oslevel`
  15.542 +	else
  15.543 +		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  15.544 +	fi
  15.545 +	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  15.546 +	exit ;;
  15.547 +    *:AIX:*:*)
  15.548 +	echo rs6000-ibm-aix
  15.549 +	exit ;;
  15.550 +    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  15.551 +	echo romp-ibm-bsd4.4
  15.552 +	exit ;;
  15.553 +    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
  15.554 +	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
  15.555 +	exit ;;                             # report: romp-ibm BSD 4.3
  15.556 +    *:BOSX:*:*)
  15.557 +	echo rs6000-bull-bosx
  15.558 +	exit ;;
  15.559 +    DPX/2?00:B.O.S.:*:*)
  15.560 +	echo m68k-bull-sysv3
  15.561 +	exit ;;
  15.562 +    9000/[34]??:4.3bsd:1.*:*)
  15.563 +	echo m68k-hp-bsd
  15.564 +	exit ;;
  15.565 +    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  15.566 +	echo m68k-hp-bsd4.4
  15.567 +	exit ;;
  15.568 +    9000/[34678]??:HP-UX:*:*)
  15.569 +	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  15.570 +	case "${UNAME_MACHINE}" in
  15.571 +	    9000/31? )            HP_ARCH=m68000 ;;
  15.572 +	    9000/[34]?? )         HP_ARCH=m68k ;;
  15.573 +	    9000/[678][0-9][0-9])
  15.574 +		if [ -x /usr/bin/getconf ]; then
  15.575 +		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
  15.576 +                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
  15.577 +                    case "${sc_cpu_version}" in
  15.578 +                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
  15.579 +                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
  15.580 +                      532)                      # CPU_PA_RISC2_0
  15.581 +                        case "${sc_kernel_bits}" in
  15.582 +                          32) HP_ARCH="hppa2.0n" ;;
  15.583 +                          64) HP_ARCH="hppa2.0w" ;;
  15.584 +			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
  15.585 +                        esac ;;
  15.586 +                    esac
  15.587 +		fi
  15.588 +		if [ "${HP_ARCH}" = "" ]; then
  15.589 +		    eval $set_cc_for_build
  15.590 +		    sed 's/^              //' << EOF >$dummy.c
  15.591 +
  15.592 +              #define _HPUX_SOURCE
  15.593 +              #include <stdlib.h>
  15.594 +              #include <unistd.h>
  15.595 +
  15.596 +              int main ()
  15.597 +              {
  15.598 +              #if defined(_SC_KERNEL_BITS)
  15.599 +                  long bits = sysconf(_SC_KERNEL_BITS);
  15.600 +              #endif
  15.601 +                  long cpu  = sysconf (_SC_CPU_VERSION);
  15.602 +
  15.603 +                  switch (cpu)
  15.604 +              	{
  15.605 +              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
  15.606 +              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
  15.607 +              	case CPU_PA_RISC2_0:
  15.608 +              #if defined(_SC_KERNEL_BITS)
  15.609 +              	    switch (bits)
  15.610 +              		{
  15.611 +              		case 64: puts ("hppa2.0w"); break;
  15.612 +              		case 32: puts ("hppa2.0n"); break;
  15.613 +              		default: puts ("hppa2.0"); break;
  15.614 +              		} break;
  15.615 +              #else  /* !defined(_SC_KERNEL_BITS) */
  15.616 +              	    puts ("hppa2.0"); break;
  15.617 +              #endif
  15.618 +              	default: puts ("hppa1.0"); break;
  15.619 +              	}
  15.620 +                  exit (0);
  15.621 +              }
  15.622 +EOF
  15.623 +		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
  15.624 +		    test -z "$HP_ARCH" && HP_ARCH=hppa
  15.625 +		fi ;;
  15.626 +	esac
  15.627 +	if [ ${HP_ARCH} = "hppa2.0w" ]
  15.628 +	then
  15.629 +	    eval $set_cc_for_build
  15.630 +
  15.631 +	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  15.632 +	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
  15.633 +	    # generating 64-bit code.  GNU and HP use different nomenclature:
  15.634 +	    #
  15.635 +	    # $ CC_FOR_BUILD=cc ./config.guess
  15.636 +	    # => hppa2.0w-hp-hpux11.23
  15.637 +	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  15.638 +	    # => hppa64-hp-hpux11.23
  15.639 +
  15.640 +	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  15.641 +		grep __LP64__ >/dev/null
  15.642 +	    then
  15.643 +		HP_ARCH="hppa2.0w"
  15.644 +	    else
  15.645 +		HP_ARCH="hppa64"
  15.646 +	    fi
  15.647 +	fi
  15.648 +	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  15.649 +	exit ;;
  15.650 +    ia64:HP-UX:*:*)
  15.651 +	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  15.652 +	echo ia64-hp-hpux${HPUX_REV}
  15.653 +	exit ;;
  15.654 +    3050*:HI-UX:*:*)
  15.655 +	eval $set_cc_for_build
  15.656 +	sed 's/^	//' << EOF >$dummy.c
  15.657 +	#include <unistd.h>
  15.658 +	int
  15.659 +	main ()
  15.660 +	{
  15.661 +	  long cpu = sysconf (_SC_CPU_VERSION);
  15.662 +	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  15.663 +	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
  15.664 +	     results, however.  */
  15.665 +	  if (CPU_IS_PA_RISC (cpu))
  15.666 +	    {
  15.667 +	      switch (cpu)
  15.668 +		{
  15.669 +		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  15.670 +		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  15.671 +		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  15.672 +		  default: puts ("hppa-hitachi-hiuxwe2"); break;
  15.673 +		}
  15.674 +	    }
  15.675 +	  else if (CPU_IS_HP_MC68K (cpu))
  15.676 +	    puts ("m68k-hitachi-hiuxwe2");
  15.677 +	  else puts ("unknown-hitachi-hiuxwe2");
  15.678 +	  exit (0);
  15.679 +	}
  15.680 +EOF
  15.681 +	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  15.682 +		{ echo "$SYSTEM_NAME"; exit; }
  15.683 +	echo unknown-hitachi-hiuxwe2
  15.684 +	exit ;;
  15.685 +    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  15.686 +	echo hppa1.1-hp-bsd
  15.687 +	exit ;;
  15.688 +    9000/8??:4.3bsd:*:*)
  15.689 +	echo hppa1.0-hp-bsd
  15.690 +	exit ;;
  15.691 +    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  15.692 +	echo hppa1.0-hp-mpeix
  15.693 +	exit ;;
  15.694 +    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  15.695 +	echo hppa1.1-hp-osf
  15.696 +	exit ;;
  15.697 +    hp8??:OSF1:*:*)
  15.698 +	echo hppa1.0-hp-osf
  15.699 +	exit ;;
  15.700 +    i*86:OSF1:*:*)
  15.701 +	if [ -x /usr/sbin/sysversion ] ; then
  15.702 +	    echo ${UNAME_MACHINE}-unknown-osf1mk
  15.703 +	else
  15.704 +	    echo ${UNAME_MACHINE}-unknown-osf1
  15.705 +	fi
  15.706 +	exit ;;
  15.707 +    parisc*:Lites*:*:*)
  15.708 +	echo hppa1.1-hp-lites
  15.709 +	exit ;;
  15.710 +    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  15.711 +	echo c1-convex-bsd
  15.712 +        exit ;;
  15.713 +    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  15.714 +	if getsysinfo -f scalar_acc
  15.715 +	then echo c32-convex-bsd
  15.716 +	else echo c2-convex-bsd
  15.717 +	fi
  15.718 +        exit ;;
  15.719 +    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  15.720 +	echo c34-convex-bsd
  15.721 +        exit ;;
  15.722 +    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  15.723 +	echo c38-convex-bsd
  15.724 +        exit ;;
  15.725 +    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  15.726 +	echo c4-convex-bsd
  15.727 +        exit ;;
  15.728 +    CRAY*Y-MP:*:*:*)
  15.729 +	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  15.730 +	exit ;;
  15.731 +    CRAY*[A-Z]90:*:*:*)
  15.732 +	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  15.733 +	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  15.734 +	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  15.735 +	      -e 's/\.[^.]*$/.X/'
  15.736 +	exit ;;
  15.737 +    CRAY*TS:*:*:*)
  15.738 +	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  15.739 +	exit ;;
  15.740 +    CRAY*T3E:*:*:*)
  15.741 +	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  15.742 +	exit ;;
  15.743 +    CRAY*SV1:*:*:*)
  15.744 +	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  15.745 +	exit ;;
  15.746 +    *:UNICOS/mp:*:*)
  15.747 +	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  15.748 +	exit ;;
  15.749 +    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  15.750 +	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  15.751 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  15.752 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  15.753 +        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  15.754 +        exit ;;
  15.755 +    5000:UNIX_System_V:4.*:*)
  15.756 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  15.757 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
  15.758 +        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  15.759 +	exit ;;
  15.760 +    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  15.761 +	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  15.762 +	exit ;;
  15.763 +    sparc*:BSD/OS:*:*)
  15.764 +	echo sparc-unknown-bsdi${UNAME_RELEASE}
  15.765 +	exit ;;
  15.766 +    *:BSD/OS:*:*)
  15.767 +	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  15.768 +	exit ;;
  15.769 +    *:FreeBSD:*:*)
  15.770 +	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  15.771 +	exit ;;
  15.772 +    i*:CYGWIN*:*)
  15.773 +	echo ${UNAME_MACHINE}-pc-cygwin
  15.774 +	exit ;;
  15.775 +    i*:MINGW*:*)
  15.776 +	echo ${UNAME_MACHINE}-pc-mingw32
  15.777 +	exit ;;
  15.778 +    i*:windows32*:*)
  15.779 +    	# uname -m includes "-pc" on this system.
  15.780 +    	echo ${UNAME_MACHINE}-mingw32
  15.781 +	exit ;;
  15.782 +    i*:PW*:*)
  15.783 +	echo ${UNAME_MACHINE}-pc-pw32
  15.784 +	exit ;;
  15.785 +    x86:Interix*:[34]*)
  15.786 +	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
  15.787 +	exit ;;
  15.788 +    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  15.789 +	echo i${UNAME_MACHINE}-pc-mks
  15.790 +	exit ;;
  15.791 +    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  15.792 +	# How do we know it's Interix rather than the generic POSIX subsystem?
  15.793 +	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  15.794 +	# UNAME_MACHINE based on the output of uname instead of i386?
  15.795 +	echo i586-pc-interix
  15.796 +	exit ;;
  15.797 +    i*:UWIN*:*)
  15.798 +	echo ${UNAME_MACHINE}-pc-uwin
  15.799 +	exit ;;
  15.800 +    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  15.801 +	echo x86_64-unknown-cygwin
  15.802 +	exit ;;
  15.803 +    p*:CYGWIN*:*)
  15.804 +	echo powerpcle-unknown-cygwin
  15.805 +	exit ;;
  15.806 +    prep*:SunOS:5.*:*)
  15.807 +	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  15.808 +	exit ;;
  15.809 +    *:GNU:*:*)
  15.810 +	# the GNU system
  15.811 +	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  15.812 +	exit ;;
  15.813 +    *:GNU/*:*:*)
  15.814 +	# other systems with GNU libc and userland
  15.815 +	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
  15.816 +	exit ;;
  15.817 +    i*86:Minix:*:*)
  15.818 +	echo ${UNAME_MACHINE}-pc-minix
  15.819 +	exit ;;
  15.820 +    arm*:Linux:*:*)
  15.821 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.822 +	exit ;;
  15.823 +    cris:Linux:*:*)
  15.824 +	echo cris-axis-linux-gnu
  15.825 +	exit ;;
  15.826 +    crisv32:Linux:*:*)
  15.827 +	echo crisv32-axis-linux-gnu
  15.828 +	exit ;;
  15.829 +    frv:Linux:*:*)
  15.830 +    	echo frv-unknown-linux-gnu
  15.831 +	exit ;;
  15.832 +    ia64:Linux:*:*)
  15.833 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.834 +	exit ;;
  15.835 +    m32r*:Linux:*:*)
  15.836 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.837 +	exit ;;
  15.838 +    m68*:Linux:*:*)
  15.839 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.840 +	exit ;;
  15.841 +    mips:Linux:*:*)
  15.842 +	eval $set_cc_for_build
  15.843 +	sed 's/^	//' << EOF >$dummy.c
  15.844 +	#undef CPU
  15.845 +	#undef mips
  15.846 +	#undef mipsel
  15.847 +	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  15.848 +	CPU=mipsel
  15.849 +	#else
  15.850 +	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  15.851 +	CPU=mips
  15.852 +	#else
  15.853 +	CPU=
  15.854 +	#endif
  15.855 +	#endif
  15.856 +EOF
  15.857 +	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
  15.858 +	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  15.859 +	;;
  15.860 +    mips64:Linux:*:*)
  15.861 +	eval $set_cc_for_build
  15.862 +	sed 's/^	//' << EOF >$dummy.c
  15.863 +	#undef CPU
  15.864 +	#undef mips64
  15.865 +	#undef mips64el
  15.866 +	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  15.867 +	CPU=mips64el
  15.868 +	#else
  15.869 +	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  15.870 +	CPU=mips64
  15.871 +	#else
  15.872 +	CPU=
  15.873 +	#endif
  15.874 +	#endif
  15.875 +EOF
  15.876 +	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
  15.877 +	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  15.878 +	;;
  15.879 +    or32:Linux:*:*)
  15.880 +	echo or32-unknown-linux-gnu
  15.881 +	exit ;;
  15.882 +    ppc:Linux:*:*)
  15.883 +	echo powerpc-unknown-linux-gnu
  15.884 +	exit ;;
  15.885 +    ppc64:Linux:*:*)
  15.886 +	echo powerpc64-unknown-linux-gnu
  15.887 +	exit ;;
  15.888 +    alpha:Linux:*:*)
  15.889 +	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  15.890 +	  EV5)   UNAME_MACHINE=alphaev5 ;;
  15.891 +	  EV56)  UNAME_MACHINE=alphaev56 ;;
  15.892 +	  PCA56) UNAME_MACHINE=alphapca56 ;;
  15.893 +	  PCA57) UNAME_MACHINE=alphapca56 ;;
  15.894 +	  EV6)   UNAME_MACHINE=alphaev6 ;;
  15.895 +	  EV67)  UNAME_MACHINE=alphaev67 ;;
  15.896 +	  EV68*) UNAME_MACHINE=alphaev68 ;;
  15.897 +        esac
  15.898 +	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  15.899 +	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  15.900 +	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  15.901 +	exit ;;
  15.902 +    parisc:Linux:*:* | hppa:Linux:*:*)
  15.903 +	# Look for CPU level
  15.904 +	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  15.905 +	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
  15.906 +	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
  15.907 +	  *)    echo hppa-unknown-linux-gnu ;;
  15.908 +	esac
  15.909 +	exit ;;
  15.910 +    parisc64:Linux:*:* | hppa64:Linux:*:*)
  15.911 +	echo hppa64-unknown-linux-gnu
  15.912 +	exit ;;
  15.913 +    s390:Linux:*:* | s390x:Linux:*:*)
  15.914 +	echo ${UNAME_MACHINE}-ibm-linux
  15.915 +	exit ;;
  15.916 +    sh64*:Linux:*:*)
  15.917 +    	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.918 +	exit ;;
  15.919 +    sh*:Linux:*:*)
  15.920 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.921 +	exit ;;
  15.922 +    sparc:Linux:*:* | sparc64:Linux:*:*)
  15.923 +	echo ${UNAME_MACHINE}-unknown-linux-gnu
  15.924 +	exit ;;
  15.925 +    x86_64:Linux:*:*)
  15.926 +	echo x86_64-unknown-linux-gnu
  15.927 +	exit ;;
  15.928 +    i*86:Linux:*:*)
  15.929 +	# The BFD linker knows what the default object file format is, so
  15.930 +	# first see if it will tell us. cd to the root directory to prevent
  15.931 +	# problems with other programs or directories called `ld' in the path.
  15.932 +	# Set LC_ALL=C to ensure ld outputs messages in English.
  15.933 +	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
  15.934 +			 | sed -ne '/supported targets:/!d
  15.935 +				    s/[ 	][ 	]*/ /g
  15.936 +				    s/.*supported targets: *//
  15.937 +				    s/ .*//
  15.938 +				    p'`
  15.939 +        case "$ld_supported_targets" in
  15.940 +	  elf32-i386)
  15.941 +		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  15.942 +		;;
  15.943 +	  a.out-i386-linux)
  15.944 +		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
  15.945 +		exit ;;
  15.946 +	  coff-i386)
  15.947 +		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
  15.948 +		exit ;;
  15.949 +	  "")
  15.950 +		# Either a pre-BFD a.out linker (linux-gnuoldld) or
  15.951 +		# one that does not give us useful --help.
  15.952 +		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
  15.953 +		exit ;;
  15.954 +	esac
  15.955 +	# Determine whether the default compiler is a.out or elf
  15.956 +	eval $set_cc_for_build
  15.957 +	sed 's/^	//' << EOF >$dummy.c
  15.958 +	#include <features.h>
  15.959 +	#ifdef __ELF__
  15.960 +	# ifdef __GLIBC__
  15.961 +	#  if __GLIBC__ >= 2
  15.962 +	LIBC=gnu
  15.963 +	#  else
  15.964 +	LIBC=gnulibc1
  15.965 +	#  endif
  15.966 +	# else
  15.967 +	LIBC=gnulibc1
  15.968 +	# endif
  15.969 +	#else
  15.970 +	#ifdef __INTEL_COMPILER
  15.971 +	LIBC=gnu
  15.972 +	#else
  15.973 +	LIBC=gnuaout
  15.974 +	#endif
  15.975 +	#endif
  15.976 +	#ifdef __dietlibc__
  15.977 +	LIBC=dietlibc
  15.978 +	#endif
  15.979 +EOF
  15.980 +	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
  15.981 +	test x"${LIBC}" != x && {
  15.982 +		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
  15.983 +		exit
  15.984 +	}
  15.985 +	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
  15.986 +	;;
  15.987 +    i*86:DYNIX/ptx:4*:*)
  15.988 +	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
  15.989 +	# earlier versions are messed up and put the nodename in both
  15.990 +	# sysname and nodename.
  15.991 +	echo i386-sequent-sysv4
  15.992 +	exit ;;
  15.993 +    i*86:UNIX_SV:4.2MP:2.*)
  15.994 +        # Unixware is an offshoot of SVR4, but it has its own version
  15.995 +        # number series starting with 2...
  15.996 +        # I am not positive that other SVR4 systems won't match this,
  15.997 +	# I just have to hope.  -- rms.
  15.998 +        # Use sysv4.2uw... so that sysv4* matches it.
  15.999 +	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 15.1000 +	exit ;;
 15.1001 +    i*86:OS/2:*:*)
 15.1002 +	# If we were able to find `uname', then EMX Unix compatibility
 15.1003 +	# is probably installed.
 15.1004 +	echo ${UNAME_MACHINE}-pc-os2-emx
 15.1005 +	exit ;;
 15.1006 +    i*86:XTS-300:*:STOP)
 15.1007 +	echo ${UNAME_MACHINE}-unknown-stop
 15.1008 +	exit ;;
 15.1009 +    i*86:atheos:*:*)
 15.1010 +	echo ${UNAME_MACHINE}-unknown-atheos
 15.1011 +	exit ;;
 15.1012 +    i*86:syllable:*:*)
 15.1013 +	echo ${UNAME_MACHINE}-pc-syllable
 15.1014 +	exit ;;
 15.1015 +    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 15.1016 +	echo i386-unknown-lynxos${UNAME_RELEASE}
 15.1017 +	exit ;;
 15.1018 +    i*86:*DOS:*:*)
 15.1019 +	echo ${UNAME_MACHINE}-pc-msdosdjgpp
 15.1020 +	exit ;;
 15.1021 +    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 15.1022 +	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 15.1023 +	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 15.1024 +		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
 15.1025 +	else
 15.1026 +		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 15.1027 +	fi
 15.1028 +	exit ;;
 15.1029 +    i*86:*:5:[678]*)
 15.1030 +    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 15.1031 +	case `/bin/uname -X | grep "^Machine"` in
 15.1032 +	    *486*)	     UNAME_MACHINE=i486 ;;
 15.1033 +	    *Pentium)	     UNAME_MACHINE=i586 ;;
 15.1034 +	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 15.1035 +	esac
 15.1036 +	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 15.1037 +	exit ;;
 15.1038 +    i*86:*:3.2:*)
 15.1039 +	if test -f /usr/options/cb.name; then
 15.1040 +		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 15.1041 +		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 15.1042 +	elif /bin/uname -X 2>/dev/null >/dev/null ; then
 15.1043 +		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
 15.1044 +		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
 15.1045 +		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 15.1046 +			&& UNAME_MACHINE=i586
 15.1047 +		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 15.1048 +			&& UNAME_MACHINE=i686
 15.1049 +		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 15.1050 +			&& UNAME_MACHINE=i686
 15.1051 +		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 15.1052 +	else
 15.1053 +		echo ${UNAME_MACHINE}-pc-sysv32
 15.1054 +	fi
 15.1055 +	exit ;;
 15.1056 +    pc:*:*:*)
 15.1057 +	# Left here for compatibility:
 15.1058 +        # uname -m prints for DJGPP always 'pc', but it prints nothing about
 15.1059 +        # the processor, so we play safe by assuming i386.
 15.1060 +	echo i386-pc-msdosdjgpp
 15.1061 +        exit ;;
 15.1062 +    Intel:Mach:3*:*)
 15.1063 +	echo i386-pc-mach3
 15.1064 +	exit ;;
 15.1065 +    paragon:*:*:*)
 15.1066 +	echo i860-intel-osf1
 15.1067 +	exit ;;
 15.1068 +    i860:*:4.*:*) # i860-SVR4
 15.1069 +	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 15.1070 +	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 15.1071 +	else # Add other i860-SVR4 vendors below as they are discovered.
 15.1072 +	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 15.1073 +	fi
 15.1074 +	exit ;;
 15.1075 +    mini*:CTIX:SYS*5:*)
 15.1076 +	# "miniframe"
 15.1077 +	echo m68010-convergent-sysv
 15.1078 +	exit ;;
 15.1079 +    mc68k:UNIX:SYSTEM5:3.51m)
 15.1080 +	echo m68k-convergent-sysv
 15.1081 +	exit ;;
 15.1082 +    M680?0:D-NIX:5.3:*)
 15.1083 +	echo m68k-diab-dnix
 15.1084 +	exit ;;
 15.1085 +    M68*:*:R3V[5678]*:*)
 15.1086 +	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
 15.1087 +    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 15.1088 +	OS_REL=''
 15.1089 +	test -r /etc/.relid \
 15.1090 +	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 15.1091 +	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 15.1092 +	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 15.1093 +	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 15.1094 +	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 15.1095 +    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
 15.1096 +        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 15.1097 +          && { echo i486-ncr-sysv4; exit; } ;;
 15.1098 +    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 15.1099 +	echo m68k-unknown-lynxos${UNAME_RELEASE}
 15.1100 +	exit ;;
 15.1101 +    mc68030:UNIX_System_V:4.*:*)
 15.1102 +	echo m68k-atari-sysv4
 15.1103 +	exit ;;
 15.1104 +    TSUNAMI:LynxOS:2.*:*)
 15.1105 +	echo sparc-unknown-lynxos${UNAME_RELEASE}
 15.1106 +	exit ;;
 15.1107 +    rs6000:LynxOS:2.*:*)
 15.1108 +	echo rs6000-unknown-lynxos${UNAME_RELEASE}
 15.1109 +	exit ;;
 15.1110 +    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 15.1111 +	echo powerpc-unknown-lynxos${UNAME_RELEASE}
 15.1112 +	exit ;;
 15.1113 +    SM[BE]S:UNIX_SV:*:*)
 15.1114 +	echo mips-dde-sysv${UNAME_RELEASE}
 15.1115 +	exit ;;
 15.1116 +    RM*:ReliantUNIX-*:*:*)
 15.1117 +	echo mips-sni-sysv4
 15.1118 +	exit ;;
 15.1119 +    RM*:SINIX-*:*:*)
 15.1120 +	echo mips-sni-sysv4
 15.1121 +	exit ;;
 15.1122 +    *:SINIX-*:*:*)
 15.1123 +	if uname -p 2>/dev/null >/dev/null ; then
 15.1124 +		UNAME_MACHINE=`(uname -p) 2>/dev/null`
 15.1125 +		echo ${UNAME_MACHINE}-sni-sysv4
 15.1126 +	else
 15.1127 +		echo ns32k-sni-sysv
 15.1128 +	fi
 15.1129 +	exit ;;
 15.1130 +    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 15.1131 +                      # says <Richard.M.Bartel@ccMail.Census.GOV>
 15.1132 +        echo i586-unisys-sysv4
 15.1133 +        exit ;;
 15.1134 +    *:UNIX_System_V:4*:FTX*)
 15.1135 +	# From Gerald Hewes <hewes@openmarket.com>.
 15.1136 +	# How about differentiating between stratus architectures? -djm
 15.1137 +	echo hppa1.1-stratus-sysv4
 15.1138 +	exit ;;
 15.1139 +    *:*:*:FTX*)
 15.1140 +	# From seanf@swdc.stratus.com.
 15.1141 +	echo i860-stratus-sysv4
 15.1142 +	exit ;;
 15.1143 +    i*86:VOS:*:*)
 15.1144 +	# From Paul.Green@stratus.com.
 15.1145 +	echo ${UNAME_MACHINE}-stratus-vos
 15.1146 +	exit ;;
 15.1147 +    *:VOS:*:*)
 15.1148 +	# From Paul.Green@stratus.com.
 15.1149 +	echo hppa1.1-stratus-vos
 15.1150 +	exit ;;
 15.1151 +    mc68*:A/UX:*:*)
 15.1152 +	echo m68k-apple-aux${UNAME_RELEASE}
 15.1153 +	exit ;;
 15.1154 +    news*:NEWS-OS:6*:*)
 15.1155 +	echo mips-sony-newsos6
 15.1156 +	exit ;;
 15.1157 +    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 15.1158 +	if [ -d /usr/nec ]; then
 15.1159 +	        echo mips-nec-sysv${UNAME_RELEASE}
 15.1160 +	else
 15.1161 +	        echo mips-unknown-sysv${UNAME_RELEASE}
 15.1162 +	fi
 15.1163 +        exit ;;
 15.1164 +    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 15.1165 +	echo powerpc-be-beos
 15.1166 +	exit ;;
 15.1167 +    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
 15.1168 +	echo powerpc-apple-beos
 15.1169 +	exit ;;
 15.1170 +    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
 15.1171 +	echo i586-pc-beos
 15.1172 +	exit ;;
 15.1173 +    SX-4:SUPER-UX:*:*)
 15.1174 +	echo sx4-nec-superux${UNAME_RELEASE}
 15.1175 +	exit ;;
 15.1176 +    SX-5:SUPER-UX:*:*)
 15.1177 +	echo sx5-nec-superux${UNAME_RELEASE}
 15.1178 +	exit ;;
 15.1179 +    SX-6:SUPER-UX:*:*)
 15.1180 +	echo sx6-nec-superux${UNAME_RELEASE}
 15.1181 +	exit ;;
 15.1182 +    Power*:Rhapsody:*:*)
 15.1183 +	echo powerpc-apple-rhapsody${UNAME_RELEASE}
 15.1184 +	exit ;;
 15.1185 +    *:Rhapsody:*:*)
 15.1186 +	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 15.1187 +	exit ;;
 15.1188 +    *:Darwin:*:*)
 15.1189 +	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 15.1190 +	case $UNAME_PROCESSOR in
 15.1191 +	    *86) UNAME_PROCESSOR=i686 ;;
 15.1192 +	    unknown) UNAME_PROCESSOR=powerpc ;;
 15.1193 +	esac
 15.1194 +	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 15.1195 +	exit ;;
 15.1196 +    *:procnto*:*:* | *:QNX:[0123456789]*:*)
 15.1197 +	UNAME_PROCESSOR=`uname -p`
 15.1198 +	if test "$UNAME_PROCESSOR" = "x86"; then
 15.1199 +		UNAME_PROCESSOR=i386
 15.1200 +		UNAME_MACHINE=pc
 15.1201 +	fi
 15.1202 +	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 15.1203 +	exit ;;
 15.1204 +    *:QNX:*:4*)
 15.1205 +	echo i386-pc-qnx
 15.1206 +	exit ;;
 15.1207 +    NSE-?:NONSTOP_KERNEL:*:*)
 15.1208 +	echo nse-tandem-nsk${UNAME_RELEASE}
 15.1209 +	exit ;;
 15.1210 +    NSR-?:NONSTOP_KERNEL:*:*)
 15.1211 +	echo nsr-tandem-nsk${UNAME_RELEASE}
 15.1212 +	exit ;;
 15.1213 +    *:NonStop-UX:*:*)
 15.1214 +	echo mips-compaq-nonstopux
 15.1215 +	exit ;;
 15.1216 +    BS2000:POSIX*:*:*)
 15.1217 +	echo bs2000-siemens-sysv
 15.1218 +	exit ;;
 15.1219 +    DS/*:UNIX_System_V:*:*)
 15.1220 +	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
 15.1221 +	exit ;;
 15.1222 +    *:Plan9:*:*)
 15.1223 +	# "uname -m" is not consistent, so use $cputype instead. 386
 15.1224 +	# is converted to i386 for consistency with other x86
 15.1225 +	# operating systems.
 15.1226 +	if test "$cputype" = "386"; then
 15.1227 +	    UNAME_MACHINE=i386
 15.1228 +	else
 15.1229 +	    UNAME_MACHINE="$cputype"
 15.1230 +	fi
 15.1231 +	echo ${UNAME_MACHINE}-unknown-plan9
 15.1232 +	exit ;;
 15.1233 +    *:TOPS-10:*:*)
 15.1234 +	echo pdp10-unknown-tops10
 15.1235 +	exit ;;
 15.1236 +    *:TENEX:*:*)
 15.1237 +	echo pdp10-unknown-tenex
 15.1238 +	exit ;;
 15.1239 +    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 15.1240 +	echo pdp10-dec-tops20
 15.1241 +	exit ;;
 15.1242 +    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 15.1243 +	echo pdp10-xkl-tops20
 15.1244 +	exit ;;
 15.1245 +    *:TOPS-20:*:*)
 15.1246 +	echo pdp10-unknown-tops20
 15.1247 +	exit ;;
 15.1248 +    *:ITS:*:*)
 15.1249 +	echo pdp10-unknown-its
 15.1250 +	exit ;;
 15.1251 +    SEI:*:*:SEIUX)
 15.1252 +        echo mips-sei-seiux${UNAME_RELEASE}
 15.1253 +	exit ;;
 15.1254 +    *:DragonFly:*:*)
 15.1255 +	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 15.1256 +	exit ;;
 15.1257 +    *:*VMS:*:*)
 15.1258 +    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 15.1259 +	case "${UNAME_MACHINE}" in
 15.1260 +	    A*) echo alpha-dec-vms ; exit ;;
 15.1261 +	    I*) echo ia64-dec-vms ; exit ;;
 15.1262 +	    V*) echo vax-dec-vms ; exit ;;
 15.1263 +	esac ;;
 15.1264 +    *:XENIX:*:SysV)
 15.1265 +	echo i386-pc-xenix
 15.1266 +	exit ;;
 15.1267 +    i*86:skyos:*:*)
 15.1268 +	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
 15.1269 +	exit ;;
 15.1270 +esac
 15.1271 +
 15.1272 +#echo '(No uname command or uname output not recognized.)' 1>&2
 15.1273 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
 15.1274 +
 15.1275 +eval $set_cc_for_build
 15.1276 +cat >$dummy.c <<EOF
 15.1277 +#ifdef _SEQUENT_
 15.1278 +# include <sys/types.h>
 15.1279 +# include <sys/utsname.h>
 15.1280 +#endif
 15.1281 +main ()
 15.1282 +{
 15.1283 +#if defined (sony)
 15.1284 +#if defined (MIPSEB)
 15.1285 +  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
 15.1286 +     I don't know....  */
 15.1287 +  printf ("mips-sony-bsd\n"); exit (0);
 15.1288 +#else
 15.1289 +#include <sys/param.h>
 15.1290 +  printf ("m68k-sony-newsos%s\n",
 15.1291 +#ifdef NEWSOS4
 15.1292 +          "4"
 15.1293 +#else
 15.1294 +	  ""
 15.1295 +#endif
 15.1296 +         ); exit (0);
 15.1297 +#endif
 15.1298 +#endif
 15.1299 +
 15.1300 +#if defined (__arm) && defined (__acorn) && defined (__unix)
 15.1301 +  printf ("arm-acorn-riscix\n"); exit (0);
 15.1302 +#endif
 15.1303 +
 15.1304 +#if defined (hp300) && !defined (hpux)
 15.1305 +  printf ("m68k-hp-bsd\n"); exit (0);
 15.1306 +#endif
 15.1307 +
 15.1308 +#if defined (NeXT)
 15.1309 +#if !defined (__ARCHITECTURE__)
 15.1310 +#define __ARCHITECTURE__ "m68k"
 15.1311 +#endif
 15.1312 +  int version;
 15.1313 +  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
 15.1314 +  if (version < 4)
 15.1315 +    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
 15.1316 +  else
 15.1317 +    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
 15.1318 +  exit (0);
 15.1319 +#endif
 15.1320 +
 15.1321 +#if defined (MULTIMAX) || defined (n16)
 15.1322 +#if defined (UMAXV)
 15.1323 +  printf ("ns32k-encore-sysv\n"); exit (0);
 15.1324 +#else
 15.1325 +#if defined (CMU)
 15.1326 +  printf ("ns32k-encore-mach\n"); exit (0);
 15.1327 +#else
 15.1328 +  printf ("ns32k-encore-bsd\n"); exit (0);
 15.1329 +#endif
 15.1330 +#endif
 15.1331 +#endif
 15.1332 +
 15.1333 +#if defined (__386BSD__)
 15.1334 +  printf ("i386-pc-bsd\n"); exit (0);
 15.1335 +#endif
 15.1336 +
 15.1337 +#if defined (sequent)
 15.1338 +#if defined (i386)
 15.1339 +  printf ("i386-sequent-dynix\n"); exit (0);
 15.1340 +#endif
 15.1341 +#if defined (ns32000)
 15.1342 +  printf ("ns32k-sequent-dynix\n"); exit (0);
 15.1343 +#endif
 15.1344 +#endif
 15.1345 +
 15.1346 +#if defined (_SEQUENT_)
 15.1347 +    struct utsname un;
 15.1348 +
 15.1349 +    uname(&un);
 15.1350 +
 15.1351 +    if (strncmp(un.version, "V2", 2) == 0) {
 15.1352 +	printf ("i386-sequent-ptx2\n"); exit (0);
 15.1353 +    }
 15.1354 +    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
 15.1355 +	printf ("i386-sequent-ptx1\n"); exit (0);
 15.1356 +    }
 15.1357 +    printf ("i386-sequent-ptx\n"); exit (0);
 15.1358 +
 15.1359 +#endif
 15.1360 +
 15.1361 +#if defined (vax)
 15.1362 +# if !defined (ultrix)
 15.1363 +#  include <sys/param.h>
 15.1364 +#  if defined (BSD)
 15.1365 +#   if BSD == 43
 15.1366 +      printf ("vax-dec-bsd4.3\n"); exit (0);
 15.1367 +#   else
 15.1368 +#    if BSD == 199006
 15.1369 +      printf ("vax-dec-bsd4.3reno\n"); exit (0);
 15.1370 +#    else
 15.1371 +      printf ("vax-dec-bsd\n"); exit (0);
 15.1372 +#    endif
 15.1373 +#   endif
 15.1374 +#  else
 15.1375 +    printf ("vax-dec-bsd\n"); exit (0);
 15.1376 +#  endif
 15.1377 +# else
 15.1378 +    printf ("vax-dec-ultrix\n"); exit (0);
 15.1379 +# endif
 15.1380 +#endif
 15.1381 +
 15.1382 +#if defined (alliant) && defined (i860)
 15.1383 +  printf ("i860-alliant-bsd\n"); exit (0);
 15.1384 +#endif
 15.1385 +
 15.1386 +  exit (1);
 15.1387 +}
 15.1388 +EOF
 15.1389 +
 15.1390 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
 15.1391 +	{ echo "$SYSTEM_NAME"; exit; }
 15.1392 +
 15.1393 +# Apollos put the system type in the environment.
 15.1394 +
 15.1395 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
 15.1396 +
 15.1397 +# Convex versions that predate uname can use getsysinfo(1)
 15.1398 +
 15.1399 +if [ -x /usr/convex/getsysinfo ]
 15.1400 +then
 15.1401 +    case `getsysinfo -f cpu_type` in
 15.1402 +    c1*)
 15.1403 +	echo c1-convex-bsd
 15.1404 +	exit ;;
 15.1405 +    c2*)
 15.1406 +	if getsysinfo -f scalar_acc
 15.1407 +	then echo c32-convex-bsd
 15.1408 +	else echo c2-convex-bsd
 15.1409 +	fi
 15.1410 +	exit ;;
 15.1411 +    c34*)
 15.1412 +	echo c34-convex-bsd
 15.1413 +	exit ;;
 15.1414 +    c38*)
 15.1415 +	echo c38-convex-bsd
 15.1416 +	exit ;;
 15.1417 +    c4*)
 15.1418 +	echo c4-convex-bsd
 15.1419 +	exit ;;
 15.1420 +    esac
 15.1421 +fi
 15.1422 +
 15.1423 +cat >&2 <<EOF
 15.1424 +$0: unable to guess system type
 15.1425 +
 15.1426 +This script, last modified $timestamp, has failed to recognize
 15.1427 +the operating system you are using. It is advised that you
 15.1428 +download the most up to date version of the config scripts from
 15.1429 +
 15.1430 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 15.1431 +and
 15.1432 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 15.1433 +
 15.1434 +If the version you run ($0) is already up to date, please
 15.1435 +send the following data and any information you think might be
 15.1436 +pertinent to <config-patches@gnu.org> in order to provide the needed
 15.1437 +information to handle your system.
 15.1438 +
 15.1439 +config.guess timestamp = $timestamp
 15.1440 +
 15.1441 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
 15.1442 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
 15.1443 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
 15.1444 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
 15.1445 +
 15.1446 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
 15.1447 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
 15.1448 +
 15.1449 +hostinfo               = `(hostinfo) 2>/dev/null`
 15.1450 +/bin/universe          = `(/bin/universe) 2>/dev/null`
 15.1451 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
 15.1452 +/bin/arch              = `(/bin/arch) 2>/dev/null`
 15.1453 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
 15.1454 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
 15.1455 +
 15.1456 +UNAME_MACHINE = ${UNAME_MACHINE}
 15.1457 +UNAME_RELEASE = ${UNAME_RELEASE}
 15.1458 +UNAME_SYSTEM  = ${UNAME_SYSTEM}
 15.1459 +UNAME_VERSION = ${UNAME_VERSION}
 15.1460 +EOF
 15.1461 +
 15.1462 +exit 1
 15.1463 +
 15.1464 +# Local variables:
 15.1465 +# eval: (add-hook 'write-file-hooks 'time-stamp)
 15.1466 +# time-stamp-start: "timestamp='"
 15.1467 +# time-stamp-format: "%:y-%02m-%02d"
 15.1468 +# time-stamp-end: "'"
 15.1469 +# End:
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/config.h.in	Fri Sep 26 17:05:23 2008 +0200
    16.3 @@ -0,0 +1,183 @@
    16.4 +/* config.h.in.  Generated from configure.ac by autoheader.  */
    16.5 +#undef DEF_MAIL_GROUP
    16.6 +#undef DEF_MAIL_USER
    16.7 +
    16.8 +/* Define if you want to use lockfile library.  */
    16.9 +#undef USE_LIBLOCKFILE
   16.10 +
   16.11 +#undef ENABLE_DEBUG
   16.12 +
   16.13 +#undef ENABLE_RESOLVER
   16.14 +
   16.15 +#undef ENABLE_SMTP_SERVER
   16.16 +
   16.17 +#undef ENABLE_POP3
   16.18 +
   16.19 +#undef ENABLE_AUTH
   16.20 +
   16.21 +#undef ENABLE_MAILDIR
   16.22 +
   16.23 +#undef USE_LIB_CRYPTO
   16.24 +
   16.25 +#undef ENABLE_IDENT
   16.26 +
   16.27 +#undef ENABLE_MSERVER
   16.28 +
   16.29 +#undef CONF_DIR
   16.30 +
   16.31 +#undef DATA_DIR
   16.32 +
   16.33 +#undef SBINDIR
   16.34 +
   16.35 +/* The configuration file location */
   16.36 +#undef CONF_DIR
   16.37 +
   16.38 +/* The data directory */
   16.39 +#undef DATA_DIR
   16.40 +
   16.41 +/* The mail group */
   16.42 +#undef DEF_MAIL_GROUP
   16.43 +
   16.44 +/* The mail user */
   16.45 +#undef DEF_MAIL_USER
   16.46 +
   16.47 +/* If AUTH is enabled */
   16.48 +#undef ENABLE_AUTH
   16.49 +
   16.50 +/* If debugging is enabled */
   16.51 +#undef ENABLE_DEBUG
   16.52 +
   16.53 +/* If ident is enabled */
   16.54 +#undef ENABLE_IDENT
   16.55 +
   16.56 +/* If Maildirs are enabled */
   16.57 +#undef ENABLE_MAILDIR
   16.58 +
   16.59 +/* If mserver support is enabled */
   16.60 +#undef ENABLE_MSERVER
   16.61 +
   16.62 +/* If the POP3 support is enabled */
   16.63 +#undef ENABLE_POP3
   16.64 +
   16.65 +/* If the resolver is to be used */
   16.66 +#undef ENABLE_RESOLVER
   16.67 +
   16.68 +/* If the SMTP server is enabled */
   16.69 +#undef ENABLE_SMTP_SERVER
   16.70 +
   16.71 +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
   16.72 +#undef HAVE_DOPRNT
   16.73 +
   16.74 +/* Define to 1 if you have the <fcntl.h> header file. */
   16.75 +#undef HAVE_FCNTL_H
   16.76 +
   16.77 +/* Define to 1 if you have the `fdatasync' function. */
   16.78 +#undef HAVE_FDATASYNC
   16.79 +
   16.80 +/* Define to 1 if your system has a working POSIX `fnmatch' function. */
   16.81 +#undef HAVE_FNMATCH
   16.82 +
   16.83 +/* Define to 1 if you have the `getline' function. */
   16.84 +#undef HAVE_GETLINE
   16.85 +
   16.86 +/* Define to 1 if you have the <inttypes.h> header file. */
   16.87 +#undef HAVE_INTTYPES_H
   16.88 +
   16.89 +/* Define to 1 if you have the <memory.h> header file. */
   16.90 +#undef HAVE_MEMORY_H
   16.91 +
   16.92 +/* Define to 1 if you have the `select' function. */
   16.93 +#undef HAVE_SELECT
   16.94 +
   16.95 +/* Define to 1 if you have the `socket' function. */
   16.96 +#undef HAVE_SOCKET
   16.97 +
   16.98 +/* Define to 1 if you have the <stdint.h> header file. */
   16.99 +#undef HAVE_STDINT_H
  16.100 +
  16.101 +/* Define to 1 if you have the <stdlib.h> header file. */
  16.102 +#undef HAVE_STDLIB_H
  16.103 +
  16.104 +/* Define to 1 if you have the `strerror' function. */
  16.105 +#undef HAVE_STRERROR
  16.106 +
  16.107 +/* Define to 1 if you have the `strftime' function. */
  16.108 +#undef HAVE_STRFTIME
  16.109 +
  16.110 +/* Define to 1 if you have the <strings.h> header file. */
  16.111 +#undef HAVE_STRINGS_H
  16.112 +
  16.113 +/* Define to 1 if you have the <string.h> header file. */
  16.114 +#undef HAVE_STRING_H
  16.115 +
  16.116 +/* Define to 1 if you have the `strstr' function. */
  16.117 +#undef HAVE_STRSTR
  16.118 +
  16.119 +/* Define to 1 if you have the <syslog.h> header file. */
  16.120 +#undef HAVE_SYSLOG_H
  16.121 +
  16.122 +/* Define to 1 if you have the <sys/stat.h> header file. */
  16.123 +#undef HAVE_SYS_STAT_H
  16.124 +
  16.125 +/* Define to 1 if you have the <sys/time.h> header file. */
  16.126 +#undef HAVE_SYS_TIME_H
  16.127 +
  16.128 +/* Define to 1 if you have the <sys/types.h> header file. */
  16.129 +#undef HAVE_SYS_TYPES_H
  16.130 +
  16.131 +/* Define to 1 if you have the <unistd.h> header file. */
  16.132 +#undef HAVE_UNISTD_H
  16.133 +
  16.134 +/* Define to 1 if you have the `vprintf' function. */
  16.135 +#undef HAVE_VPRINTF
  16.136 +
  16.137 +/* Name of package */
  16.138 +#undef PACKAGE
  16.139 +
  16.140 +/* Define to the address where bug reports for this package should be sent. */
  16.141 +#undef PACKAGE_BUGREPORT
  16.142 +
  16.143 +/* Define to the full name of this package. */
  16.144 +#undef PACKAGE_NAME
  16.145 +
  16.146 +/* Define to the full name and version of this package. */
  16.147 +#undef PACKAGE_STRING
  16.148 +
  16.149 +/* Define to the one symbol short name of this package. */
  16.150 +#undef PACKAGE_TARNAME
  16.151 +
  16.152 +/* Define to the version of this package. */
  16.153 +#undef PACKAGE_VERSION
  16.154 +
  16.155 +/* Define as the return type of signal handlers (`int' or `void'). */
  16.156 +#undef RETSIGTYPE
  16.157 +
  16.158 +/* The sbin directory */
  16.159 +#undef SBINDIR
  16.160 +
  16.161 +/* Define to 1 if you have the ANSI C header files. */
  16.162 +#undef STDC_HEADERS
  16.163 +
  16.164 +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  16.165 +#undef TIME_WITH_SYS_TIME
  16.166 +
  16.167 +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  16.168 +#undef TM_IN_SYS_TIME
  16.169 +
  16.170 +/* If liblockfile is to be used */
  16.171 +#undef USE_LIBLOCKFILE
  16.172 +
  16.173 +/* If libcrypto is available */
  16.174 +#undef USE_LIB_CRYPTO
  16.175 +
  16.176 +/* Version number of package */
  16.177 +#undef VERSION
  16.178 +
  16.179 +/* Define to empty if `const' does not conform to ANSI C. */
  16.180 +#undef const
  16.181 +
  16.182 +/* Define to `int' if <sys/types.h> does not define. */
  16.183 +#undef pid_t
  16.184 +
  16.185 +/* Define to `unsigned' if <sys/types.h> does not define. */
  16.186 +#undef size_t
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/config.sub	Fri Sep 26 17:05:23 2008 +0200
    17.3 @@ -0,0 +1,1579 @@
    17.4 +#! /bin/sh
    17.5 +# Configuration validation subroutine script.
    17.6 +#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    17.7 +#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    17.8 +
    17.9 +timestamp='2005-07-08'
   17.10 +
   17.11 +# This file is (in principle) common to ALL GNU software.
   17.12 +# The presence of a machine in this file suggests that SOME GNU software
   17.13 +# can handle that machine.  It does not imply ALL GNU software can.
   17.14 +#
   17.15 +# This file is free software; you can redistribute it and/or modify
   17.16 +# it under the terms of the GNU General Public License as published by
   17.17 +# the Free Software Foundation; either version 2 of the License, or
   17.18 +# (at your option) any later version.
   17.19 +#
   17.20 +# This program is distributed in the hope that it will be useful,
   17.21 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   17.22 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17.23 +# GNU General Public License for more details.
   17.24 +#
   17.25 +# You should have received a copy of the GNU General Public License
   17.26 +# along with this program; if not, write to the Free Software
   17.27 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
   17.28 +# 02110-1301, USA.
   17.29 +#
   17.30 +# As a special exception to the GNU General Public License, if you
   17.31 +# distribute this file as part of a program that contains a
   17.32 +# configuration script generated by Autoconf, you may include it under
   17.33 +# the same distribution terms that you use for the rest of that program.
   17.34 +
   17.35 +
   17.36 +# Please send patches to <config-patches@gnu.org>.  Submit a context
   17.37 +# diff and a properly formatted ChangeLog entry.
   17.38 +#
   17.39 +# Configuration subroutine to validate and canonicalize a configuration type.
   17.40 +# Supply the specified configuration type as an argument.
   17.41 +# If it is invalid, we print an error message on stderr and exit with code 1.
   17.42 +# Otherwise, we print the canonical config type on stdout and succeed.
   17.43 +
   17.44 +# This file is supposed to be the same for all GNU packages
   17.45 +# and recognize all the CPU types, system types and aliases
   17.46 +# that are meaningful with *any* GNU software.
   17.47 +# Each package is responsible for reporting which valid configurations
   17.48 +# it does not support.  The user should be able to distinguish
   17.49 +# a failure to support a valid configuration from a meaningless
   17.50 +# configuration.
   17.51 +
   17.52 +# The goal of this file is to map all the various variations of a given
   17.53 +# machine specification into a single specification in the form:
   17.54 +#	CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
   17.55 +# or in some cases, the newer four-part form:
   17.56 +#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
   17.57 +# It is wrong to echo any other type of specification.
   17.58 +
   17.59 +me=`echo "$0" | sed -e 's,.*/,,'`
   17.60 +
   17.61 +usage="\
   17.62 +Usage: $0 [OPTION] CPU-MFR-OPSYS
   17.63 +       $0 [OPTION] ALIAS
   17.64 +
   17.65 +Canonicalize a configuration name.
   17.66 +
   17.67 +Operation modes:
   17.68 +  -h, --help         print this help, then exit
   17.69 +  -t, --time-stamp   print date of last modification, then exit
   17.70 +  -v, --version      print version number, then exit
   17.71 +
   17.72 +Report bugs and patches to <config-patches@gnu.org>."
   17.73 +
   17.74 +version="\
   17.75 +GNU config.sub ($timestamp)
   17.76 +
   17.77 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
   17.78 +Free Software Foundation, Inc.
   17.79 +
   17.80 +This is free software; see the source for copying conditions.  There is NO
   17.81 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
   17.82 +
   17.83 +help="
   17.84 +Try \`$me --help' for more information."
   17.85 +
   17.86 +# Parse command line
   17.87 +while test $# -gt 0 ; do
   17.88 +  case $1 in
   17.89 +    --time-stamp | --time* | -t )
   17.90 +       echo "$timestamp" ; exit ;;
   17.91 +    --version | -v )
   17.92 +       echo "$version" ; exit ;;
   17.93 +    --help | --h* | -h )
   17.94 +       echo "$usage"; exit ;;
   17.95 +    -- )     # Stop option processing
   17.96 +       shift; break ;;
   17.97 +    - )	# Use stdin as input.
   17.98 +       break ;;
   17.99 +    -* )
  17.100 +       echo "$me: invalid option $1$help"
  17.101 +       exit 1 ;;
  17.102 +
  17.103 +    *local*)
  17.104 +       # First pass through any local machine types.
  17.105 +       echo $1
  17.106 +       exit ;;
  17.107 +
  17.108 +    * )
  17.109 +       break ;;
  17.110 +  esac
  17.111 +done
  17.112 +
  17.113 +case $# in
  17.114 + 0) echo "$me: missing argument$help" >&2
  17.115 +    exit 1;;
  17.116 + 1) ;;
  17.117 + *) echo "$me: too many arguments$help" >&2
  17.118 +    exit 1;;
  17.119 +esac
  17.120 +
  17.121 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
  17.122 +# Here we must recognize all the valid KERNEL-OS combinations.
  17.123 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  17.124 +case $maybe_os in
  17.125 +  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
  17.126 +  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
  17.127 +    os=-$maybe_os
  17.128 +    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  17.129 +    ;;
  17.130 +  *)
  17.131 +    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  17.132 +    if [ $basic_machine != $1 ]
  17.133 +    then os=`echo $1 | sed 's/.*-/-/'`
  17.134 +    else os=; fi
  17.135 +    ;;
  17.136 +esac
  17.137 +
  17.138 +### Let's recognize common machines as not being operating systems so
  17.139 +### that things like config.sub decstation-3100 work.  We also
  17.140 +### recognize some manufacturers as not being operating systems, so we
  17.141 +### can provide default operating systems below.
  17.142 +case $os in
  17.143 +	-sun*os*)
  17.144 +		# Prevent following clause from handling this invalid input.
  17.145 +		;;
  17.146 +	-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
  17.147 +	-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
  17.148 +	-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
  17.149 +	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  17.150 +	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  17.151 +	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  17.152 +	-apple | -axis | -knuth | -cray)
  17.153 +		os=
  17.154 +		basic_machine=$1
  17.155 +		;;
  17.156 +	-sim | -cisco | -oki | -wec | -winbond)
  17.157 +		os=
  17.158 +		basic_machine=$1
  17.159 +		;;
  17.160 +	-scout)
  17.161 +		;;
  17.162 +	-wrs)
  17.163 +		os=-vxworks
  17.164 +		basic_machine=$1
  17.165 +		;;
  17.166 +	-chorusos*)
  17.167 +		os=-chorusos
  17.168 +		basic_machine=$1
  17.169 +		;;
  17.170 + 	-chorusrdb)
  17.171 + 		os=-chorusrdb
  17.172 +		basic_machine=$1
  17.173 + 		;;
  17.174 +	-hiux*)
  17.175 +		os=-hiuxwe2
  17.176 +		;;
  17.177 +	-sco5)
  17.178 +		os=-sco3.2v5
  17.179 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.180 +		;;
  17.181 +	-sco4)
  17.182 +		os=-sco3.2v4
  17.183 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.184 +		;;
  17.185 +	-sco3.2.[4-9]*)
  17.186 +		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
  17.187 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.188 +		;;
  17.189 +	-sco3.2v[4-9]*)
  17.190 +		# Don't forget version if it is 3.2v4 or newer.
  17.191 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.192 +		;;
  17.193 +	-sco*)
  17.194 +		os=-sco3.2v2
  17.195 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.196 +		;;
  17.197 +	-udk*)
  17.198 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.199 +		;;
  17.200 +	-isc)
  17.201 +		os=-isc2.2
  17.202 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.203 +		;;
  17.204 +	-clix*)
  17.205 +		basic_machine=clipper-intergraph
  17.206 +		;;
  17.207 +	-isc*)
  17.208 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  17.209 +		;;
  17.210 +	-lynx*)
  17.211 +		os=-lynxos
  17.212 +		;;
  17.213 +	-ptx*)
  17.214 +		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
  17.215 +		;;
  17.216 +	-windowsnt*)
  17.217 +		os=`echo $os | sed -e 's/windowsnt/winnt/'`
  17.218 +		;;
  17.219 +	-psos*)
  17.220 +		os=-psos
  17.221 +		;;
  17.222 +	-mint | -mint[0-9]*)
  17.223 +		basic_machine=m68k-atari
  17.224 +		os=-mint
  17.225 +		;;
  17.226 +esac
  17.227 +
  17.228 +# Decode aliases for certain CPU-COMPANY combinations.
  17.229 +case $basic_machine in
  17.230 +	# Recognize the basic CPU types without company name.
  17.231 +	# Some are omitted here because they have special meanings below.
  17.232 +	1750a | 580 \
  17.233 +	| a29k \
  17.234 +	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  17.235 +	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  17.236 +	| am33_2.0 \
  17.237 +	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  17.238 +	| bfin \
  17.239 +	| c4x | clipper \
  17.240 +	| d10v | d30v | dlx | dsp16xx \
  17.241 +	| fr30 | frv \
  17.242 +	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  17.243 +	| i370 | i860 | i960 | ia64 \
  17.244 +	| ip2k | iq2000 \
  17.245 +	| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
  17.246 +	| mips | mipsbe | mipseb | mipsel | mipsle \
  17.247 +	| mips16 \
  17.248 +	| mips64 | mips64el \
  17.249 +	| mips64vr | mips64vrel \
  17.250 +	| mips64orion | mips64orionel \
  17.251 +	| mips64vr4100 | mips64vr4100el \
  17.252 +	| mips64vr4300 | mips64vr4300el \
  17.253 +	| mips64vr5000 | mips64vr5000el \
  17.254 +	| mips64vr5900 | mips64vr5900el \
  17.255 +	| mipsisa32 | mipsisa32el \
  17.256 +	| mipsisa32r2 | mipsisa32r2el \
  17.257 +	| mipsisa64 | mipsisa64el \
  17.258 +	| mipsisa64r2 | mipsisa64r2el \
  17.259 +	| mipsisa64sb1 | mipsisa64sb1el \
  17.260 +	| mipsisa64sr71k | mipsisa64sr71kel \
  17.261 +	| mipstx39 | mipstx39el \
  17.262 +	| mn10200 | mn10300 \
  17.263 +	| ms1 \
  17.264 +	| msp430 \
  17.265 +	| ns16k | ns32k \
  17.266 +	| or32 \
  17.267 +	| pdp10 | pdp11 | pj | pjl \
  17.268 +	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  17.269 +	| pyramid \
  17.270 +	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
  17.271 +	| sh64 | sh64le \
  17.272 +	| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
  17.273 +	| sparcv8 | sparcv9 | sparcv9b \
  17.274 +	| strongarm \
  17.275 +	| tahoe | thumb | tic4x | tic80 | tron \
  17.276 +	| v850 | v850e \
  17.277 +	| we32k \
  17.278 +	| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
  17.279 +	| z8k)
  17.280 +		basic_machine=$basic_machine-unknown
  17.281 +		;;
  17.282 +	m32c)
  17.283 +		basic_machine=$basic_machine-unknown
  17.284 +		;;
  17.285 +	m6811 | m68hc11 | m6812 | m68hc12)
  17.286 +		# Motorola 68HC11/12.
  17.287 +		basic_machine=$basic_machine-unknown
  17.288 +		os=-none
  17.289 +		;;
  17.290 +	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  17.291 +		;;
  17.292 +
  17.293 +	# We use `pc' rather than `unknown'
  17.294 +	# because (1) that's what they normally are, and
  17.295 +	# (2) the word "unknown" tends to confuse beginning users.
  17.296 +	i*86 | x86_64)
  17.297 +	  basic_machine=$basic_machine-pc
  17.298 +	  ;;
  17.299 +	# Object if more than one company name word.
  17.300 +	*-*-*)
  17.301 +		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  17.302 +		exit 1
  17.303 +		;;
  17.304 +	# Recognize the basic CPU types with company name.
  17.305 +	580-* \
  17.306 +	| a29k-* \
  17.307 +	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  17.308 +	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  17.309 +	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  17.310 +	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
  17.311 +	| avr-* \
  17.312 +	| bfin-* | bs2000-* \
  17.313 +	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  17.314 +	| clipper-* | craynv-* | cydra-* \
  17.315 +	| d10v-* | d30v-* | dlx-* \
  17.316 +	| elxsi-* \
  17.317 +	| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  17.318 +	| h8300-* | h8500-* \
  17.319 +	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  17.320 +	| i*86-* | i860-* | i960-* | ia64-* \
  17.321 +	| ip2k-* | iq2000-* \
  17.322 +	| m32r-* | m32rle-* \
  17.323 +	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  17.324 +	| m88110-* | m88k-* | maxq-* | mcore-* \
  17.325 +	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  17.326 +	| mips16-* \
  17.327 +	| mips64-* | mips64el-* \
  17.328 +	| mips64vr-* | mips64vrel-* \
  17.329 +	| mips64orion-* | mips64orionel-* \
  17.330 +	| mips64vr4100-* | mips64vr4100el-* \
  17.331 +	| mips64vr4300-* | mips64vr4300el-* \
  17.332 +	| mips64vr5000-* | mips64vr5000el-* \
  17.333 +	| mips64vr5900-* | mips64vr5900el-* \
  17.334 +	| mipsisa32-* | mipsisa32el-* \
  17.335 +	| mipsisa32r2-* | mipsisa32r2el-* \
  17.336 +	| mipsisa64-* | mipsisa64el-* \
  17.337 +	| mipsisa64r2-* | mipsisa64r2el-* \
  17.338 +	| mipsisa64sb1-* | mipsisa64sb1el-* \
  17.339 +	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
  17.340 +	| mipstx39-* | mipstx39el-* \
  17.341 +	| mmix-* \
  17.342 +	| ms1-* \
  17.343 +	| msp430-* \
  17.344 +	| none-* | np1-* | ns16k-* | ns32k-* \
  17.345 +	| orion-* \
  17.346 +	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  17.347 +	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  17.348 +	| pyramid-* \
  17.349 +	| romp-* | rs6000-* \
  17.350 +	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
  17.351 +	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  17.352 +	| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
  17.353 +	| sparclite-* \
  17.354 +	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  17.355 +	| tahoe-* | thumb-* \
  17.356 +	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  17.357 +	| tron-* \
  17.358 +	| v850-* | v850e-* | vax-* \
  17.359 +	| we32k-* \
  17.360 +	| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
  17.361 +	| xstormy16-* | xtensa-* \
  17.362 +	| ymp-* \
  17.363 +	| z8k-*)
  17.364 +		;;
  17.365 +	m32c-*)
  17.366 +		;;
  17.367 +	# Recognize the various machine names and aliases which stand
  17.368 +	# for a CPU type and a company and sometimes even an OS.
  17.369 +	386bsd)
  17.370 +		basic_machine=i386-unknown
  17.371 +		os=-bsd
  17.372 +		;;
  17.373 +	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
  17.374 +		basic_machine=m68000-att
  17.375 +		;;
  17.376 +	3b*)
  17.377 +		basic_machine=we32k-att
  17.378 +		;;
  17.379 +	a29khif)
  17.380 +		basic_machine=a29k-amd
  17.381 +		os=-udi
  17.382 +		;;
  17.383 +    	abacus)
  17.384 +		basic_machine=abacus-unknown
  17.385 +		;;
  17.386 +	adobe68k)
  17.387 +		basic_machine=m68010-adobe
  17.388 +		os=-scout
  17.389 +		;;
  17.390 +	alliant | fx80)
  17.391 +		basic_machine=fx80-alliant
  17.392 +		;;
  17.393 +	altos | altos3068)
  17.394 +		basic_machine=m68k-altos
  17.395 +		;;
  17.396 +	am29k)
  17.397 +		basic_machine=a29k-none
  17.398 +		os=-bsd
  17.399 +		;;
  17.400 +	amd64)
  17.401 +		basic_machine=x86_64-pc
  17.402 +		;;
  17.403 +	amd64-*)
  17.404 +		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.405 +		;;
  17.406 +	amdahl)
  17.407 +		basic_machine=580-amdahl
  17.408 +		os=-sysv
  17.409 +		;;
  17.410 +	amiga | amiga-*)
  17.411 +		basic_machine=m68k-unknown
  17.412 +		;;
  17.413 +	amigaos | amigados)
  17.414 +		basic_machine=m68k-unknown
  17.415 +		os=-amigaos
  17.416 +		;;
  17.417 +	amigaunix | amix)
  17.418 +		basic_machine=m68k-unknown
  17.419 +		os=-sysv4
  17.420 +		;;
  17.421 +	apollo68)
  17.422 +		basic_machine=m68k-apollo
  17.423 +		os=-sysv
  17.424 +		;;
  17.425 +	apollo68bsd)
  17.426 +		basic_machine=m68k-apollo
  17.427 +		os=-bsd
  17.428 +		;;
  17.429 +	aux)
  17.430 +		basic_machine=m68k-apple
  17.431 +		os=-aux
  17.432 +		;;
  17.433 +	balance)
  17.434 +		basic_machine=ns32k-sequent
  17.435 +		os=-dynix
  17.436 +		;;
  17.437 +	c90)
  17.438 +		basic_machine=c90-cray
  17.439 +		os=-unicos
  17.440 +		;;
  17.441 +	convex-c1)
  17.442 +		basic_machine=c1-convex
  17.443 +		os=-bsd
  17.444 +		;;
  17.445 +	convex-c2)
  17.446 +		basic_machine=c2-convex
  17.447 +		os=-bsd
  17.448 +		;;
  17.449 +	convex-c32)
  17.450 +		basic_machine=c32-convex
  17.451 +		os=-bsd
  17.452 +		;;
  17.453 +	convex-c34)
  17.454 +		basic_machine=c34-convex
  17.455 +		os=-bsd
  17.456 +		;;
  17.457 +	convex-c38)
  17.458 +		basic_machine=c38-convex
  17.459 +		os=-bsd
  17.460 +		;;
  17.461 +	cray | j90)
  17.462 +		basic_machine=j90-cray
  17.463 +		os=-unicos
  17.464 +		;;
  17.465 +	craynv)
  17.466 +		basic_machine=craynv-cray
  17.467 +		os=-unicosmp
  17.468 +		;;
  17.469 +	cr16c)
  17.470 +		basic_machine=cr16c-unknown
  17.471 +		os=-elf
  17.472 +		;;
  17.473 +	crds | unos)
  17.474 +		basic_machine=m68k-crds
  17.475 +		;;
  17.476 +	crisv32 | crisv32-* | etraxfs*)
  17.477 +		basic_machine=crisv32-axis
  17.478 +		;;
  17.479 +	cris | cris-* | etrax*)
  17.480 +		basic_machine=cris-axis
  17.481 +		;;
  17.482 +	crx)
  17.483 +		basic_machine=crx-unknown
  17.484 +		os=-elf
  17.485 +		;;
  17.486 +	da30 | da30-*)
  17.487 +		basic_machine=m68k-da30
  17.488 +		;;
  17.489 +	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  17.490 +		basic_machine=mips-dec
  17.491 +		;;
  17.492 +	decsystem10* | dec10*)
  17.493 +		basic_machine=pdp10-dec
  17.494 +		os=-tops10
  17.495 +		;;
  17.496 +	decsystem20* | dec20*)
  17.497 +		basic_machine=pdp10-dec
  17.498 +		os=-tops20
  17.499 +		;;
  17.500 +	delta | 3300 | motorola-3300 | motorola-delta \
  17.501 +	      | 3300-motorola | delta-motorola)
  17.502 +		basic_machine=m68k-motorola
  17.503 +		;;
  17.504 +	delta88)
  17.505 +		basic_machine=m88k-motorola
  17.506 +		os=-sysv3
  17.507 +		;;
  17.508 +	djgpp)
  17.509 +		basic_machine=i586-pc
  17.510 +		os=-msdosdjgpp
  17.511 +		;;
  17.512 +	dpx20 | dpx20-*)
  17.513 +		basic_machine=rs6000-bull
  17.514 +		os=-bosx
  17.515 +		;;
  17.516 +	dpx2* | dpx2*-bull)
  17.517 +		basic_machine=m68k-bull
  17.518 +		os=-sysv3
  17.519 +		;;
  17.520 +	ebmon29k)
  17.521 +		basic_machine=a29k-amd
  17.522 +		os=-ebmon
  17.523 +		;;
  17.524 +	elxsi)
  17.525 +		basic_machine=elxsi-elxsi
  17.526 +		os=-bsd
  17.527 +		;;
  17.528 +	encore | umax | mmax)
  17.529 +		basic_machine=ns32k-encore
  17.530 +		;;
  17.531 +	es1800 | OSE68k | ose68k | ose | OSE)
  17.532 +		basic_machine=m68k-ericsson
  17.533 +		os=-ose
  17.534 +		;;
  17.535 +	fx2800)
  17.536 +		basic_machine=i860-alliant
  17.537 +		;;
  17.538 +	genix)
  17.539 +		basic_machine=ns32k-ns
  17.540 +		;;
  17.541 +	gmicro)
  17.542 +		basic_machine=tron-gmicro
  17.543 +		os=-sysv
  17.544 +		;;
  17.545 +	go32)
  17.546 +		basic_machine=i386-pc
  17.547 +		os=-go32
  17.548 +		;;
  17.549 +	h3050r* | hiux*)
  17.550 +		basic_machine=hppa1.1-hitachi
  17.551 +		os=-hiuxwe2
  17.552 +		;;
  17.553 +	h8300hms)
  17.554 +		basic_machine=h8300-hitachi
  17.555 +		os=-hms
  17.556 +		;;
  17.557 +	h8300xray)
  17.558 +		basic_machine=h8300-hitachi
  17.559 +		os=-xray
  17.560 +		;;
  17.561 +	h8500hms)
  17.562 +		basic_machine=h8500-hitachi
  17.563 +		os=-hms
  17.564 +		;;
  17.565 +	harris)
  17.566 +		basic_machine=m88k-harris
  17.567 +		os=-sysv3
  17.568 +		;;
  17.569 +	hp300-*)
  17.570 +		basic_machine=m68k-hp
  17.571 +		;;
  17.572 +	hp300bsd)
  17.573 +		basic_machine=m68k-hp
  17.574 +		os=-bsd
  17.575 +		;;
  17.576 +	hp300hpux)
  17.577 +		basic_machine=m68k-hp
  17.578 +		os=-hpux
  17.579 +		;;
  17.580 +	hp3k9[0-9][0-9] | hp9[0-9][0-9])
  17.581 +		basic_machine=hppa1.0-hp
  17.582 +		;;
  17.583 +	hp9k2[0-9][0-9] | hp9k31[0-9])
  17.584 +		basic_machine=m68000-hp
  17.585 +		;;
  17.586 +	hp9k3[2-9][0-9])
  17.587 +		basic_machine=m68k-hp
  17.588 +		;;
  17.589 +	hp9k6[0-9][0-9] | hp6[0-9][0-9])
  17.590 +		basic_machine=hppa1.0-hp
  17.591 +		;;
  17.592 +	hp9k7[0-79][0-9] | hp7[0-79][0-9])
  17.593 +		basic_machine=hppa1.1-hp
  17.594 +		;;
  17.595 +	hp9k78[0-9] | hp78[0-9])
  17.596 +		# FIXME: really hppa2.0-hp
  17.597 +		basic_machine=hppa1.1-hp
  17.598 +		;;
  17.599 +	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
  17.600 +		# FIXME: really hppa2.0-hp
  17.601 +		basic_machine=hppa1.1-hp
  17.602 +		;;
  17.603 +	hp9k8[0-9][13679] | hp8[0-9][13679])
  17.604 +		basic_machine=hppa1.1-hp
  17.605 +		;;
  17.606 +	hp9k8[0-9][0-9] | hp8[0-9][0-9])
  17.607 +		basic_machine=hppa1.0-hp
  17.608 +		;;
  17.609 +	hppa-next)
  17.610 +		os=-nextstep3
  17.611 +		;;
  17.612 +	hppaosf)
  17.613 +		basic_machine=hppa1.1-hp
  17.614 +		os=-osf
  17.615 +		;;
  17.616 +	hppro)
  17.617 +		basic_machine=hppa1.1-hp
  17.618 +		os=-proelf
  17.619 +		;;
  17.620 +	i370-ibm* | ibm*)
  17.621 +		basic_machine=i370-ibm
  17.622 +		;;
  17.623 +# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
  17.624 +	i*86v32)
  17.625 +		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  17.626 +		os=-sysv32
  17.627 +		;;
  17.628 +	i*86v4*)
  17.629 +		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  17.630 +		os=-sysv4
  17.631 +		;;
  17.632 +	i*86v)
  17.633 +		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  17.634 +		os=-sysv
  17.635 +		;;
  17.636 +	i*86sol2)
  17.637 +		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  17.638 +		os=-solaris2
  17.639 +		;;
  17.640 +	i386mach)
  17.641 +		basic_machine=i386-mach
  17.642 +		os=-mach
  17.643 +		;;
  17.644 +	i386-vsta | vsta)
  17.645 +		basic_machine=i386-unknown
  17.646 +		os=-vsta
  17.647 +		;;
  17.648 +	iris | iris4d)
  17.649 +		basic_machine=mips-sgi
  17.650 +		case $os in
  17.651 +		    -irix*)
  17.652 +			;;
  17.653 +		    *)
  17.654 +			os=-irix4
  17.655 +			;;
  17.656 +		esac
  17.657 +		;;
  17.658 +	isi68 | isi)
  17.659 +		basic_machine=m68k-isi
  17.660 +		os=-sysv
  17.661 +		;;
  17.662 +	m88k-omron*)
  17.663 +		basic_machine=m88k-omron
  17.664 +		;;
  17.665 +	magnum | m3230)
  17.666 +		basic_machine=mips-mips
  17.667 +		os=-sysv
  17.668 +		;;
  17.669 +	merlin)
  17.670 +		basic_machine=ns32k-utek
  17.671 +		os=-sysv
  17.672 +		;;
  17.673 +	mingw32)
  17.674 +		basic_machine=i386-pc
  17.675 +		os=-mingw32
  17.676 +		;;
  17.677 +	miniframe)
  17.678 +		basic_machine=m68000-convergent
  17.679 +		;;
  17.680 +	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
  17.681 +		basic_machine=m68k-atari
  17.682 +		os=-mint
  17.683 +		;;
  17.684 +	mips3*-*)
  17.685 +		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  17.686 +		;;
  17.687 +	mips3*)
  17.688 +		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  17.689 +		;;
  17.690 +	monitor)
  17.691 +		basic_machine=m68k-rom68k
  17.692 +		os=-coff
  17.693 +		;;
  17.694 +	morphos)
  17.695 +		basic_machine=powerpc-unknown
  17.696 +		os=-morphos
  17.697 +		;;
  17.698 +	msdos)
  17.699 +		basic_machine=i386-pc
  17.700 +		os=-msdos
  17.701 +		;;
  17.702 +	mvs)
  17.703 +		basic_machine=i370-ibm
  17.704 +		os=-mvs
  17.705 +		;;
  17.706 +	ncr3000)
  17.707 +		basic_machine=i486-ncr
  17.708 +		os=-sysv4
  17.709 +		;;
  17.710 +	netbsd386)
  17.711 +		basic_machine=i386-unknown
  17.712 +		os=-netbsd
  17.713 +		;;
  17.714 +	netwinder)
  17.715 +		basic_machine=armv4l-rebel
  17.716 +		os=-linux
  17.717 +		;;
  17.718 +	news | news700 | news800 | news900)
  17.719 +		basic_machine=m68k-sony
  17.720 +		os=-newsos
  17.721 +		;;
  17.722 +	news1000)
  17.723 +		basic_machine=m68030-sony
  17.724 +		os=-newsos
  17.725 +		;;
  17.726 +	news-3600 | risc-news)
  17.727 +		basic_machine=mips-sony
  17.728 +		os=-newsos
  17.729 +		;;
  17.730 +	necv70)
  17.731 +		basic_machine=v70-nec
  17.732 +		os=-sysv
  17.733 +		;;
  17.734 +	next | m*-next )
  17.735 +		basic_machine=m68k-next
  17.736 +		case $os in
  17.737 +		    -nextstep* )
  17.738 +			;;
  17.739 +		    -ns2*)
  17.740 +		      os=-nextstep2
  17.741 +			;;
  17.742 +		    *)
  17.743 +		      os=-nextstep3
  17.744 +			;;
  17.745 +		esac
  17.746 +		;;
  17.747 +	nh3000)
  17.748 +		basic_machine=m68k-harris
  17.749 +		os=-cxux
  17.750 +		;;
  17.751 +	nh[45]000)
  17.752 +		basic_machine=m88k-harris
  17.753 +		os=-cxux
  17.754 +		;;
  17.755 +	nindy960)
  17.756 +		basic_machine=i960-intel
  17.757 +		os=-nindy
  17.758 +		;;
  17.759 +	mon960)
  17.760 +		basic_machine=i960-intel
  17.761 +		os=-mon960
  17.762 +		;;
  17.763 +	nonstopux)
  17.764 +		basic_machine=mips-compaq
  17.765 +		os=-nonstopux
  17.766 +		;;
  17.767 +	np1)
  17.768 +		basic_machine=np1-gould
  17.769 +		;;
  17.770 +	nsr-tandem)
  17.771 +		basic_machine=nsr-tandem
  17.772 +		;;
  17.773 +	op50n-* | op60c-*)
  17.774 +		basic_machine=hppa1.1-oki
  17.775 +		os=-proelf
  17.776 +		;;
  17.777 +	openrisc | openrisc-*)
  17.778 +		basic_machine=or32-unknown
  17.779 +		;;
  17.780 +	os400)
  17.781 +		basic_machine=powerpc-ibm
  17.782 +		os=-os400
  17.783 +		;;
  17.784 +	OSE68000 | ose68000)
  17.785 +		basic_machine=m68000-ericsson
  17.786 +		os=-ose
  17.787 +		;;
  17.788 +	os68k)
  17.789 +		basic_machine=m68k-none
  17.790 +		os=-os68k
  17.791 +		;;
  17.792 +	pa-hitachi)
  17.793 +		basic_machine=hppa1.1-hitachi
  17.794 +		os=-hiuxwe2
  17.795 +		;;
  17.796 +	paragon)
  17.797 +		basic_machine=i860-intel
  17.798 +		os=-osf
  17.799 +		;;
  17.800 +	pbd)
  17.801 +		basic_machine=sparc-tti
  17.802 +		;;
  17.803 +	pbb)
  17.804 +		basic_machine=m68k-tti
  17.805 +		;;
  17.806 +	pc532 | pc532-*)
  17.807 +		basic_machine=ns32k-pc532
  17.808 +		;;
  17.809 +	pentium | p5 | k5 | k6 | nexgen | viac3)
  17.810 +		basic_machine=i586-pc
  17.811 +		;;
  17.812 +	pentiumpro | p6 | 6x86 | athlon | athlon_*)
  17.813 +		basic_machine=i686-pc
  17.814 +		;;
  17.815 +	pentiumii | pentium2 | pentiumiii | pentium3)
  17.816 +		basic_machine=i686-pc
  17.817 +		;;
  17.818 +	pentium4)
  17.819 +		basic_machine=i786-pc
  17.820 +		;;
  17.821 +	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
  17.822 +		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.823 +		;;
  17.824 +	pentiumpro-* | p6-* | 6x86-* | athlon-*)
  17.825 +		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.826 +		;;
  17.827 +	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
  17.828 +		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.829 +		;;
  17.830 +	pentium4-*)
  17.831 +		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.832 +		;;
  17.833 +	pn)
  17.834 +		basic_machine=pn-gould
  17.835 +		;;
  17.836 +	power)	basic_machine=power-ibm
  17.837 +		;;
  17.838 +	ppc)	basic_machine=powerpc-unknown
  17.839 +		;;
  17.840 +	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.841 +		;;
  17.842 +	ppcle | powerpclittle | ppc-le | powerpc-little)
  17.843 +		basic_machine=powerpcle-unknown
  17.844 +		;;
  17.845 +	ppcle-* | powerpclittle-*)
  17.846 +		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.847 +		;;
  17.848 +	ppc64)	basic_machine=powerpc64-unknown
  17.849 +		;;
  17.850 +	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.851 +		;;
  17.852 +	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
  17.853 +		basic_machine=powerpc64le-unknown
  17.854 +		;;
  17.855 +	ppc64le-* | powerpc64little-*)
  17.856 +		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
  17.857 +		;;
  17.858 +	ps2)
  17.859 +		basic_machine=i386-ibm
  17.860 +		;;
  17.861 +	pw32)
  17.862 +		basic_machine=i586-unknown
  17.863 +		os=-pw32
  17.864 +		;;
  17.865 +	rom68k)
  17.866 +		basic_machine=m68k-rom68k
  17.867 +		os=-coff
  17.868 +		;;
  17.869 +	rm[46]00)
  17.870 +		basic_machine=mips-siemens
  17.871 +		;;
  17.872 +	rtpc | rtpc-*)
  17.873 +		basic_machine=romp-ibm
  17.874 +		;;
  17.875 +	s390 | s390-*)
  17.876 +		basic_machine=s390-ibm
  17.877 +		;;
  17.878 +	s390x | s390x-*)
  17.879 +		basic_machine=s390x-ibm
  17.880 +		;;
  17.881 +	sa29200)
  17.882 +		basic_machine=a29k-amd
  17.883 +		os=-udi
  17.884 +		;;
  17.885 +	sb1)
  17.886 +		basic_machine=mipsisa64sb1-unknown
  17.887 +		;;
  17.888 +	sb1el)
  17.889 +		basic_machine=mipsisa64sb1el-unknown
  17.890 +		;;
  17.891 +	sei)
  17.892 +		basic_machine=mips-sei
  17.893 +		os=-seiux
  17.894 +		;;
  17.895 +	sequent)
  17.896 +		basic_machine=i386-sequent
  17.897 +		;;
  17.898 +	sh)
  17.899 +		basic_machine=sh-hitachi
  17.900 +		os=-hms
  17.901 +		;;
  17.902 +	sh64)
  17.903 +		basic_machine=sh64-unknown
  17.904 +		;;
  17.905 +	sparclite-wrs | simso-wrs)
  17.906 +		basic_machine=sparclite-wrs
  17.907 +		os=-vxworks
  17.908 +		;;
  17.909 +	sps7)
  17.910 +		basic_machine=m68k-bull
  17.911 +		os=-sysv2
  17.912 +		;;
  17.913 +	spur)
  17.914 +		basic_machine=spur-unknown
  17.915 +		;;
  17.916 +	st2000)
  17.917 +		basic_machine=m68k-tandem
  17.918 +		;;
  17.919 +	stratus)
  17.920 +		basic_machine=i860-stratus
  17.921 +		os=-sysv4
  17.922 +		;;
  17.923 +	sun2)
  17.924 +		basic_machine=m68000-sun
  17.925 +		;;
  17.926 +	sun2os3)
  17.927 +		basic_machine=m68000-sun
  17.928 +		os=-sunos3
  17.929 +		;;
  17.930 +	sun2os4)
  17.931 +		basic_machine=m68000-sun
  17.932 +		os=-sunos4
  17.933 +		;;
  17.934 +	sun3os3)
  17.935 +		basic_machine=m68k-sun
  17.936 +		os=-sunos3
  17.937 +		;;
  17.938 +	sun3os4)
  17.939 +		basic_machine=m68k-sun
  17.940 +		os=-sunos4
  17.941 +		;;
  17.942 +	sun4os3)
  17.943 +		basic_machine=sparc-sun
  17.944 +		os=-sunos3
  17.945 +		;;
  17.946 +	sun4os4)
  17.947 +		basic_machine=sparc-sun
  17.948 +		os=-sunos4
  17.949 +		;;
  17.950 +	sun4sol2)
  17.951 +		basic_machine=sparc-sun
  17.952 +		os=-solaris2
  17.953 +		;;
  17.954 +	sun3 | sun3-*)
  17.955 +		basic_machine=m68k-sun
  17.956 +		;;
  17.957 +	sun4)
  17.958 +		basic_machine=sparc-sun
  17.959 +		;;
  17.960 +	sun386 | sun386i | roadrunner)
  17.961 +		basic_machine=i386-sun
  17.962 +		;;
  17.963 +	sv1)
  17.964 +		basic_machine=sv1-cray
  17.965 +		os=-unicos
  17.966 +		;;
  17.967 +	symmetry)
  17.968 +		basic_machine=i386-sequent
  17.969 +		os=-dynix
  17.970 +		;;
  17.971 +	t3e)
  17.972 +		basic_machine=alphaev5-cray
  17.973 +		os=-unicos
  17.974 +		;;
  17.975 +	t90)
  17.976 +		basic_machine=t90-cray
  17.977 +		os=-unicos
  17.978 +		;;
  17.979 +	tic54x | c54x*)
  17.980 +		basic_machine=tic54x-unknown
  17.981 +		os=-coff
  17.982 +		;;
  17.983 +	tic55x | c55x*)
  17.984 +		basic_machine=tic55x-unknown
  17.985 +		os=-coff
  17.986 +		;;
  17.987 +	tic6x | c6x*)
  17.988 +		basic_machine=tic6x-unknown
  17.989 +		os=-coff
  17.990 +		;;
  17.991 +	tx39)
  17.992 +		basic_machine=mipstx39-unknown
  17.993 +		;;
  17.994 +	tx39el)
  17.995 +		basic_machine=mipstx39el-unknown
  17.996 +		;;
  17.997 +	toad1)
  17.998 +		basic_machine=pdp10-xkl
  17.999 +		os=-tops20
 17.1000 +		;;
 17.1001 +	tower | tower-32)
 17.1002 +		basic_machine=m68k-ncr
 17.1003 +		;;
 17.1004 +	tpf)
 17.1005 +		basic_machine=s390x-ibm
 17.1006 +		os=-tpf
 17.1007 +		;;
 17.1008 +	udi29k)
 17.1009 +		basic_machine=a29k-amd
 17.1010 +		os=-udi
 17.1011 +		;;
 17.1012 +	ultra3)
 17.1013 +		basic_machine=a29k-nyu
 17.1014 +		os=-sym1
 17.1015 +		;;
 17.1016 +	v810 | necv810)
 17.1017 +		basic_machine=v810-nec
 17.1018 +		os=-none
 17.1019 +		;;
 17.1020 +	vaxv)
 17.1021 +		basic_machine=vax-dec
 17.1022 +		os=-sysv
 17.1023 +		;;
 17.1024 +	vms)
 17.1025 +		basic_machine=vax-dec
 17.1026 +		os=-vms
 17.1027 +		;;
 17.1028 +	vpp*|vx|vx-*)
 17.1029 +		basic_machine=f301-fujitsu
 17.1030 +		;;
 17.1031 +	vxworks960)
 17.1032 +		basic_machine=i960-wrs
 17.1033 +		os=-vxworks
 17.1034 +		;;
 17.1035 +	vxworks68)
 17.1036 +		basic_machine=m68k-wrs
 17.1037 +		os=-vxworks
 17.1038 +		;;
 17.1039 +	vxworks29k)
 17.1040 +		basic_machine=a29k-wrs
 17.1041 +		os=-vxworks
 17.1042 +		;;
 17.1043 +	w65*)
 17.1044 +		basic_machine=w65-wdc
 17.1045 +		os=-none
 17.1046 +		;;
 17.1047 +	w89k-*)
 17.1048 +		basic_machine=hppa1.1-winbond
 17.1049 +		os=-proelf
 17.1050 +		;;
 17.1051 +	xbox)
 17.1052 +		basic_machine=i686-pc
 17.1053 +		os=-mingw32
 17.1054 +		;;
 17.1055 +	xps | xps100)
 17.1056 +		basic_machine=xps100-honeywell
 17.1057 +		;;
 17.1058 +	ymp)
 17.1059 +		basic_machine=ymp-cray
 17.1060 +		os=-unicos
 17.1061 +		;;
 17.1062 +	z8k-*-coff)
 17.1063 +		basic_machine=z8k-unknown
 17.1064 +		os=-sim
 17.1065 +		;;
 17.1066 +	none)
 17.1067 +		basic_machine=none-none
 17.1068 +		os=-none
 17.1069 +		;;
 17.1070 +
 17.1071 +# Here we handle the default manufacturer of certain CPU types.  It is in
 17.1072 +# some cases the only manufacturer, in others, it is the most popular.
 17.1073 +	w89k)
 17.1074 +		basic_machine=hppa1.1-winbond
 17.1075 +		;;
 17.1076 +	op50n)
 17.1077 +		basic_machine=hppa1.1-oki
 17.1078 +		;;
 17.1079 +	op60c)
 17.1080 +		basic_machine=hppa1.1-oki
 17.1081 +		;;
 17.1082 +	romp)
 17.1083 +		basic_machine=romp-ibm
 17.1084 +		;;
 17.1085 +	mmix)
 17.1086 +		basic_machine=mmix-knuth
 17.1087 +		;;
 17.1088 +	rs6000)
 17.1089 +		basic_machine=rs6000-ibm
 17.1090 +		;;
 17.1091 +	vax)
 17.1092 +		basic_machine=vax-dec
 17.1093 +		;;
 17.1094 +	pdp10)
 17.1095 +		# there are many clones, so DEC is not a safe bet
 17.1096 +		basic_machine=pdp10-unknown
 17.1097 +		;;
 17.1098 +	pdp11)
 17.1099 +		basic_machine=pdp11-dec
 17.1100 +		;;
 17.1101 +	we32k)
 17.1102 +		basic_machine=we32k-att
 17.1103 +		;;
 17.1104 +	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 17.1105 +		basic_machine=sh-unknown
 17.1106 +		;;
 17.1107 +	sparc | sparcv8 | sparcv9 | sparcv9b)
 17.1108 +		basic_machine=sparc-sun
 17.1109 +		;;
 17.1110 +	cydra)
 17.1111 +		basic_machine=cydra-cydrome
 17.1112 +		;;
 17.1113 +	orion)
 17.1114 +		basic_machine=orion-highlevel
 17.1115 +		;;
 17.1116 +	orion105)
 17.1117 +		basic_machine=clipper-highlevel
 17.1118 +		;;
 17.1119 +	mac | mpw | mac-mpw)
 17.1120 +		basic_machine=m68k-apple
 17.1121 +		;;
 17.1122 +	pmac | pmac-mpw)
 17.1123 +		basic_machine=powerpc-apple
 17.1124 +		;;
 17.1125 +	*-unknown)
 17.1126 +		# Make sure to match an already-canonicalized machine name.
 17.1127 +		;;
 17.1128 +	*)
 17.1129 +		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
 17.1130 +		exit 1
 17.1131 +		;;
 17.1132 +esac
 17.1133 +
 17.1134 +# Here we canonicalize certain aliases for manufacturers.
 17.1135 +case $basic_machine in
 17.1136 +	*-digital*)
 17.1137 +		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
 17.1138 +		;;
 17.1139 +	*-commodore*)
 17.1140 +		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
 17.1141 +		;;
 17.1142 +	*)
 17.1143 +		;;
 17.1144 +esac
 17.1145 +
 17.1146 +# Decode manufacturer-specific aliases for certain operating systems.
 17.1147 +
 17.1148 +if [ x"$os" != x"" ]
 17.1149 +then
 17.1150 +case $os in
 17.1151 +        # First match some system type aliases
 17.1152 +        # that might get confused with valid system types.
 17.1153 +	# -solaris* is a basic system type, with this one exception.
 17.1154 +	-solaris1 | -solaris1.*)
 17.1155 +		os=`echo $os | sed -e 's|solaris1|sunos4|'`
 17.1156 +		;;
 17.1157 +	-solaris)
 17.1158 +		os=-solaris2
 17.1159 +		;;
 17.1160 +	-svr4*)
 17.1161 +		os=-sysv4
 17.1162 +		;;
 17.1163 +	-unixware*)
 17.1164 +		os=-sysv4.2uw
 17.1165 +		;;
 17.1166 +	-gnu/linux*)
 17.1167 +		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
 17.1168 +		;;
 17.1169 +	# First accept the basic system types.
 17.1170 +	# The portable systems comes first.
 17.1171 +	# Each alternative MUST END IN A *, to match a version number.
 17.1172 +	# -sysv* is not here because it comes later, after sysvr4.
 17.1173 +	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
 17.1174 +	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
 17.1175 +	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 17.1176 +	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
 17.1177 +	      | -aos* \
 17.1178 +	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 17.1179 +	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
 17.1180 +	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
 17.1181 +	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 17.1182 +	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 17.1183 +	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 17.1184 +	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 17.1185 +	      | -chorusos* | -chorusrdb* \
 17.1186 +	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 17.1187 +	      | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
 17.1188 +	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 17.1189 +	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 17.1190 +	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 17.1191 +	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 17.1192 +	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 17.1193 +	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 17.1194 +	      | -skyos* | -haiku*)
 17.1195 +	# Remember, each alternative MUST END IN *, to match a version number.
 17.1196 +		;;
 17.1197 +	-qnx*)
 17.1198 +		case $basic_machine in
 17.1199 +		    x86-* | i*86-*)
 17.1200 +			;;
 17.1201 +		    *)
 17.1202 +			os=-nto$os
 17.1203 +			;;
 17.1204 +		esac
 17.1205 +		;;
 17.1206 +	-nto-qnx*)
 17.1207 +		;;
 17.1208 +	-nto*)
 17.1209 +		os=`echo $os | sed -e 's|nto|nto-qnx|'`
 17.1210 +		;;
 17.1211 +	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 17.1212 +	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 17.1213 +	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 17.1214 +		;;
 17.1215 +	-mac*)
 17.1216 +		os=`echo $os | sed -e 's|mac|macos|'`
 17.1217 +		;;
 17.1218 +	-linux-dietlibc)
 17.1219 +		os=-linux-dietlibc
 17.1220 +		;;
 17.1221 +	-linux*)
 17.1222 +		os=`echo $os | sed -e 's|linux|linux-gnu|'`
 17.1223 +		;;
 17.1224 +	-sunos5*)
 17.1225 +		os=`echo $os | sed -e 's|sunos5|solaris2|'`
 17.1226 +		;;
 17.1227 +	-sunos6*)
 17.1228 +		os=`echo $os | sed -e 's|sunos6|solaris3|'`
 17.1229 +		;;
 17.1230 +	-opened*)
 17.1231 +		os=-openedition
 17.1232 +		;;
 17.1233 +        -os400*)
 17.1234 +		os=-os400
 17.1235 +		;;
 17.1236 +	-wince*)
 17.1237 +		os=-wince
 17.1238 +		;;
 17.1239 +	-osfrose*)
 17.1240 +		os=-osfrose
 17.1241 +		;;
 17.1242 +	-osf*)
 17.1243 +		os=-osf
 17.1244 +		;;
 17.1245 +	-utek*)
 17.1246 +		os=-bsd
 17.1247 +		;;
 17.1248 +	-dynix*)
 17.1249 +		os=-bsd
 17.1250 +		;;
 17.1251 +	-acis*)
 17.1252 +		os=-aos
 17.1253 +		;;
 17.1254 +	-atheos*)
 17.1255 +		os=-atheos
 17.1256 +		;;
 17.1257 +	-syllable*)
 17.1258 +		os=-syllable
 17.1259 +		;;
 17.1260 +	-386bsd)
 17.1261 +		os=-bsd
 17.1262 +		;;
 17.1263 +	-ctix* | -uts*)
 17.1264 +		os=-sysv
 17.1265 +		;;
 17.1266 +	-nova*)
 17.1267 +		os=-rtmk-nova
 17.1268 +		;;
 17.1269 +	-ns2 )
 17.1270 +		os=-nextstep2
 17.1271 +		;;
 17.1272 +	-nsk*)
 17.1273 +		os=-nsk
 17.1274 +		;;
 17.1275 +	# Preserve the version number of sinix5.
 17.1276 +	-sinix5.*)
 17.1277 +		os=`echo $os | sed -e 's|sinix|sysv|'`
 17.1278 +		;;
 17.1279 +	-sinix*)
 17.1280 +		os=-sysv4
 17.1281 +		;;
 17.1282 +        -tpf*)
 17.1283 +		os=-tpf
 17.1284 +		;;
 17.1285 +	-triton*)
 17.1286 +		os=-sysv3
 17.1287 +		;;
 17.1288 +	-oss*)
 17.1289 +		os=-sysv3
 17.1290 +		;;
 17.1291 +	-svr4)
 17.1292 +		os=-sysv4
 17.1293 +		;;
 17.1294 +	-svr3)
 17.1295 +		os=-sysv3
 17.1296 +		;;
 17.1297 +	-sysvr4)
 17.1298 +		os=-sysv4
 17.1299 +		;;
 17.1300 +	# This must come after -sysvr4.
 17.1301 +	-sysv*)
 17.1302 +		;;
 17.1303 +	-ose*)
 17.1304 +		os=-ose
 17.1305 +		;;
 17.1306 +	-es1800*)
 17.1307 +		os=-ose
 17.1308 +		;;
 17.1309 +	-xenix)
 17.1310 +		os=-xenix
 17.1311 +		;;
 17.1312 +	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 17.1313 +		os=-mint
 17.1314 +		;;
 17.1315 +	-aros*)
 17.1316 +		os=-aros
 17.1317 +		;;
 17.1318 +	-kaos*)
 17.1319 +		os=-kaos
 17.1320 +		;;
 17.1321 +	-zvmoe)
 17.1322 +		os=-zvmoe
 17.1323 +		;;
 17.1324 +	-none)
 17.1325 +		;;
 17.1326 +	*)
 17.1327 +		# Get rid of the `-' at the beginning of $os.
 17.1328 +		os=`echo $os | sed 's/[^-]*-//'`
 17.1329 +		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
 17.1330 +		exit 1
 17.1331 +		;;
 17.1332 +esac
 17.1333 +else
 17.1334 +
 17.1335 +# Here we handle the default operating systems that come with various machines.
 17.1336 +# The value should be what the vendor currently ships out the door with their
 17.1337 +# machine or put another way, the most popular os provided with the machine.
 17.1338 +
 17.1339 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
 17.1340 +# "-sun"), then you have to tell the case statement up towards the top
 17.1341 +# that MANUFACTURER isn't an operating system.  Otherwise, code above
 17.1342 +# will signal an error saying that MANUFACTURER isn't an operating
 17.1343 +# system, and we'll never get to this point.
 17.1344 +
 17.1345 +case $basic_machine in
 17.1346 +	*-acorn)
 17.1347 +		os=-riscix1.2
 17.1348 +		;;
 17.1349 +	arm*-rebel)
 17.1350 +		os=-linux
 17.1351 +		;;
 17.1352 +	arm*-semi)
 17.1353 +		os=-aout
 17.1354 +		;;
 17.1355 +    c4x-* | tic4x-*)
 17.1356 +        os=-coff
 17.1357 +        ;;
 17.1358 +	# This must come before the *-dec entry.
 17.1359 +	pdp10-*)
 17.1360 +		os=-tops20
 17.1361 +		;;
 17.1362 +	pdp11-*)
 17.1363 +		os=-none
 17.1364 +		;;
 17.1365 +	*-dec | vax-*)
 17.1366 +		os=-ultrix4.2
 17.1367 +		;;
 17.1368 +	m68*-apollo)
 17.1369 +		os=-domain
 17.1370 +		;;
 17.1371 +	i386-sun)
 17.1372 +		os=-sunos4.0.2
 17.1373 +		;;
 17.1374 +	m68000-sun)
 17.1375 +		os=-sunos3
 17.1376 +		# This also exists in the configure program, but was not the
 17.1377 +		# default.
 17.1378 +		# os=-sunos4
 17.1379 +		;;
 17.1380 +	m68*-cisco)
 17.1381 +		os=-aout
 17.1382 +		;;
 17.1383 +	mips*-cisco)
 17.1384 +		os=-elf
 17.1385 +		;;
 17.1386 +	mips*-*)
 17.1387 +		os=-elf
 17.1388 +		;;
 17.1389 +	or32-*)
 17.1390 +		os=-coff
 17.1391 +		;;
 17.1392 +	*-tti)	# must be before sparc entry or we get the wrong os.
 17.1393 +		os=-sysv3
 17.1394 +		;;
 17.1395 +	sparc-* | *-sun)
 17.1396 +		os=-sunos4.1.1
 17.1397 +		;;
 17.1398 +	*-be)
 17.1399 +		os=-beos
 17.1400 +		;;
 17.1401 +	*-haiku)
 17.1402 +		os=-haiku
 17.1403 +		;;
 17.1404 +	*-ibm)
 17.1405 +		os=-aix
 17.1406 +		;;
 17.1407 +    	*-knuth)
 17.1408 +		os=-mmixware
 17.1409 +		;;
 17.1410 +	*-wec)
 17.1411 +		os=-proelf
 17.1412 +		;;
 17.1413 +	*-winbond)
 17.1414 +		os=-proelf
 17.1415 +		;;
 17.1416 +	*-oki)
 17.1417 +		os=-proelf
 17.1418 +		;;
 17.1419 +	*-hp)
 17.1420 +		os=-hpux
 17.1421 +		;;
 17.1422 +	*-hitachi)
 17.1423 +		os=-hiux
 17.1424 +		;;
 17.1425 +	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
 17.1426 +		os=-sysv
 17.1427 +		;;
 17.1428 +	*-cbm)
 17.1429 +		os=-amigaos
 17.1430 +		;;
 17.1431 +	*-dg)
 17.1432 +		os=-dgux
 17.1433 +		;;
 17.1434 +	*-dolphin)
 17.1435 +		os=-sysv3
 17.1436 +		;;
 17.1437 +	m68k-ccur)
 17.1438 +		os=-rtu
 17.1439 +		;;
 17.1440 +	m88k-omron*)
 17.1441 +		os=-luna
 17.1442 +		;;
 17.1443 +	*-next )
 17.1444 +		os=-nextstep
 17.1445 +		;;
 17.1446 +	*-sequent)
 17.1447 +		os=-ptx
 17.1448 +		;;
 17.1449 +	*-crds)
 17.1450 +		os=-unos
 17.1451 +		;;
 17.1452 +	*-ns)
 17.1453 +		os=-genix
 17.1454 +		;;
 17.1455 +	i370-*)
 17.1456 +		os=-mvs
 17.1457 +		;;
 17.1458 +	*-next)
 17.1459 +		os=-nextstep3
 17.1460 +		;;
 17.1461 +	*-gould)
 17.1462 +		os=-sysv
 17.1463 +		;;
 17.1464 +	*-highlevel)
 17.1465 +		os=-bsd
 17.1466 +		;;
 17.1467 +	*-encore)
 17.1468 +		os=-bsd
 17.1469 +		;;
 17.1470 +	*-sgi)
 17.1471 +		os=-irix
 17.1472 +		;;
 17.1473 +	*-siemens)
 17.1474 +		os=-sysv4
 17.1475 +		;;
 17.1476 +	*-masscomp)
 17.1477 +		os=-rtu
 17.1478 +		;;
 17.1479 +	f30[01]-fujitsu | f700-fujitsu)
 17.1480 +		os=-uxpv
 17.1481 +		;;
 17.1482 +	*-rom68k)
 17.1483 +		os=-coff
 17.1484 +		;;
 17.1485 +	*-*bug)
 17.1486 +		os=-coff
 17.1487 +		;;
 17.1488 +	*-apple)
 17.1489 +		os=-macos
 17.1490 +		;;
 17.1491 +	*-atari*)
 17.1492 +		os=-mint
 17.1493 +		;;
 17.1494 +	*)
 17.1495 +		os=-none
 17.1496 +		;;
 17.1497 +esac
 17.1498 +fi
 17.1499 +
 17.1500 +# Here we handle the case where we know the os, and the CPU type, but not the
 17.1501 +# manufacturer.  We pick the logical manufacturer.
 17.1502 +vendor=unknown
 17.1503 +case $basic_machine in
 17.1504 +	*-unknown)
 17.1505 +		case $os in
 17.1506 +			-riscix*)
 17.1507 +				vendor=acorn
 17.1508 +				;;
 17.1509 +			-sunos*)
 17.1510 +				vendor=sun
 17.1511 +				;;
 17.1512 +			-aix*)
 17.1513 +				vendor=ibm
 17.1514 +				;;
 17.1515 +			-beos*)
 17.1516 +				vendor=be
 17.1517 +				;;
 17.1518 +			-hpux*)
 17.1519 +				vendor=hp
 17.1520 +				;;
 17.1521 +			-mpeix*)
 17.1522 +				vendor=hp
 17.1523 +				;;
 17.1524 +			-hiux*)
 17.1525 +				vendor=hitachi
 17.1526 +				;;
 17.1527 +			-unos*)
 17.1528 +				vendor=crds
 17.1529 +				;;
 17.1530 +			-dgux*)
 17.1531 +				vendor=dg
 17.1532 +				;;
 17.1533 +			-luna*)
 17.1534 +				vendor=omron
 17.1535 +				;;
 17.1536 +			-genix*)
 17.1537 +				vendor=ns
 17.1538 +				;;
 17.1539 +			-mvs* | -opened*)
 17.1540 +				vendor=ibm
 17.1541 +				;;
 17.1542 +			-os400*)
 17.1543 +				vendor=ibm
 17.1544 +				;;
 17.1545 +			-ptx*)
 17.1546 +				vendor=sequent
 17.1547 +				;;
 17.1548 +			-tpf*)
 17.1549 +				vendor=ibm
 17.1550 +				;;
 17.1551 +			-vxsim* | -vxworks* | -windiss*)
 17.1552 +				vendor=wrs
 17.1553 +				;;
 17.1554 +			-aux*)
 17.1555 +				vendor=apple
 17.1556 +				;;
 17.1557 +			-hms*)
 17.1558 +				vendor=hitachi
 17.1559 +				;;
 17.1560 +			-mpw* | -macos*)
 17.1561 +				vendor=apple
 17.1562 +				;;
 17.1563 +			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 17.1564 +				vendor=atari
 17.1565 +				;;
 17.1566 +			-vos*)
 17.1567 +				vendor=stratus
 17.1568 +				;;
 17.1569 +		esac
 17.1570 +		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
 17.1571 +		;;
 17.1572 +esac
 17.1573 +
 17.1574 +echo $basic_machine$os
 17.1575 +exit
 17.1576 +
 17.1577 +# Local variables:
 17.1578 +# eval: (add-hook 'write-file-hooks 'time-stamp)
 17.1579 +# time-stamp-start: "timestamp='"
 17.1580 +# time-stamp-format: "%:y-%02m-%02d"
 17.1581 +# time-stamp-end: "'"
 17.1582 +# End:
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/configure	Fri Sep 26 17:05:23 2008 +0200
    18.3 @@ -0,0 +1,7269 @@
    18.4 +#! /bin/sh
    18.5 +# Guess values for system-dependent variables and create Makefiles.
    18.6 +# Generated by GNU Autoconf 2.59 for masqmail 0.2.21.
    18.7 +#
    18.8 +# Report bugs to <oku@debian.org>.
    18.9 +#
   18.10 +# Copyright (C) 2003 Free Software Foundation, Inc.
   18.11 +# This configure script is free software; the Free Software Foundation
   18.12 +# gives unlimited permission to copy, distribute and modify it.
   18.13 +## --------------------- ##
   18.14 +## M4sh Initialization.  ##
   18.15 +## --------------------- ##
   18.16 +
   18.17 +# Be Bourne compatible
   18.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   18.19 +  emulate sh
   18.20 +  NULLCMD=:
   18.21 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   18.22 +  # is contrary to our usage.  Disable this feature.
   18.23 +  alias -g '${1+"$@"}'='"$@"'
   18.24 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   18.25 +  set -o posix
   18.26 +fi
   18.27 +DUALCASE=1; export DUALCASE # for MKS sh
   18.28 +
   18.29 +# Support unset when possible.
   18.30 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   18.31 +  as_unset=unset
   18.32 +else
   18.33 +  as_unset=false
   18.34 +fi
   18.35 +
   18.36 +
   18.37 +# Work around bugs in pre-3.0 UWIN ksh.
   18.38 +$as_unset ENV MAIL MAILPATH
   18.39 +PS1='$ '
   18.40 +PS2='> '
   18.41 +PS4='+ '
   18.42 +
   18.43 +# NLS nuisances.
   18.44 +for as_var in \
   18.45 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   18.46 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   18.47 +  LC_TELEPHONE LC_TIME
   18.48 +do
   18.49 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   18.50 +    eval $as_var=C; export $as_var
   18.51 +  else
   18.52 +    $as_unset $as_var
   18.53 +  fi
   18.54 +done
   18.55 +
   18.56 +# Required to use basename.
   18.57 +if expr a : '\(a\)' >/dev/null 2>&1; then
   18.58 +  as_expr=expr
   18.59 +else
   18.60 +  as_expr=false
   18.61 +fi
   18.62 +
   18.63 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   18.64 +  as_basename=basename
   18.65 +else
   18.66 +  as_basename=false
   18.67 +fi
   18.68 +
   18.69 +
   18.70 +# Name of the executable.
   18.71 +as_me=`$as_basename "$0" ||
   18.72 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18.73 +	 X"$0" : 'X\(//\)$' \| \
   18.74 +	 X"$0" : 'X\(/\)$' \| \
   18.75 +	 .     : '\(.\)' 2>/dev/null ||
   18.76 +echo X/"$0" |
   18.77 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   18.78 +  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   18.79 +  	  /^X\/\(\/\).*/{ s//\1/; q; }
   18.80 +  	  s/.*/./; q'`
   18.81 +
   18.82 +
   18.83 +# PATH needs CR, and LINENO needs CR and PATH.
   18.84 +# Avoid depending upon Character Ranges.
   18.85 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18.86 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18.87 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18.88 +as_cr_digits='0123456789'
   18.89 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   18.90 +
   18.91 +# The user is always right.
   18.92 +if test "${PATH_SEPARATOR+set}" != set; then
   18.93 +  echo "#! /bin/sh" >conf$$.sh
   18.94 +  echo  "exit 0"   >>conf$$.sh
   18.95 +  chmod +x conf$$.sh
   18.96 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   18.97 +    PATH_SEPARATOR=';'
   18.98 +  else
   18.99 +    PATH_SEPARATOR=:
  18.100 +  fi
  18.101 +  rm -f conf$$.sh
  18.102 +fi
  18.103 +
  18.104 +
  18.105 +  as_lineno_1=$LINENO
  18.106 +  as_lineno_2=$LINENO
  18.107 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  18.108 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
  18.109 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  18.110 +  # Find who we are.  Look in the path if we contain no path at all
  18.111 +  # relative or not.
  18.112 +  case $0 in
  18.113 +    *[\\/]* ) as_myself=$0 ;;
  18.114 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18.115 +for as_dir in $PATH
  18.116 +do
  18.117 +  IFS=$as_save_IFS
  18.118 +  test -z "$as_dir" && as_dir=.
  18.119 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  18.120 +done
  18.121 +
  18.122 +       ;;
  18.123 +  esac
  18.124 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
  18.125 +  # in which case we are not to be found in the path.
  18.126 +  if test "x$as_myself" = x; then
  18.127 +    as_myself=$0
  18.128 +  fi
  18.129 +  if test ! -f "$as_myself"; then
  18.130 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  18.131 +   { (exit 1); exit 1; }; }
  18.132 +  fi
  18.133 +  case $CONFIG_SHELL in
  18.134 +  '')
  18.135 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18.136 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  18.137 +do
  18.138 +  IFS=$as_save_IFS
  18.139 +  test -z "$as_dir" && as_dir=.
  18.140 +  for as_base in sh bash ksh sh5; do
  18.141 +	 case $as_dir in
  18.142 +	 /*)
  18.143 +	   if ("$as_dir/$as_base" -c '
  18.144 +  as_lineno_1=$LINENO
  18.145 +  as_lineno_2=$LINENO
  18.146 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  18.147 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
  18.148 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  18.149 +	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  18.150 +	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  18.151 +	     CONFIG_SHELL=$as_dir/$as_base
  18.152 +	     export CONFIG_SHELL
  18.153 +	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  18.154 +	   fi;;
  18.155 +	 esac
  18.156 +       done
  18.157 +done
  18.158 +;;
  18.159 +  esac
  18.160 +
  18.161 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  18.162 +  # uniformly replaced by the line number.  The first 'sed' inserts a
  18.163 +  # line-number line before each line; the second 'sed' does the real
  18.164 +  # work.  The second script uses 'N' to pair each line-number line
  18.165 +  # with the numbered line, and appends trailing '-' during
  18.166 +  # substitution so that $LINENO is not a special case at line end.
  18.167 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  18.168 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  18.169 +  sed '=' <$as_myself |
  18.170 +    sed '
  18.171 +      N
  18.172 +      s,$,-,
  18.173 +      : loop
  18.174 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  18.175 +      t loop
  18.176 +      s,-$,,
  18.177 +      s,^['$as_cr_digits']*\n,,
  18.178 +    ' >$as_me.lineno &&
  18.179 +  chmod +x $as_me.lineno ||
  18.180 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  18.181 +   { (exit 1); exit 1; }; }
  18.182 +
  18.183 +  # Don't try to exec as it changes $[0], causing all sort of problems
  18.184 +  # (the dirname of $[0] is not the place where we might find the
  18.185 +  # original and so on.  Autoconf is especially sensible to this).
  18.186 +  . ./$as_me.lineno
  18.187 +  # Exit status is that of the last command.
  18.188 +  exit
  18.189 +}
  18.190 +
  18.191 +
  18.192 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  18.193 +  *c*,-n*) ECHO_N= ECHO_C='
  18.194 +' ECHO_T='	' ;;
  18.195 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  18.196 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  18.197 +esac
  18.198 +
  18.199 +if expr a : '\(a\)' >/dev/null 2>&1; then
  18.200 +  as_expr=expr
  18.201 +else
  18.202 +  as_expr=false
  18.203 +fi
  18.204 +
  18.205 +rm -f conf$$ conf$$.exe conf$$.file
  18.206 +echo >conf$$.file
  18.207 +if ln -s conf$$.file conf$$ 2>/dev/null; then
  18.208 +  # We could just check for DJGPP; but this test a) works b) is more generic
  18.209 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  18.210 +  if test -f conf$$.exe; then
  18.211 +    # Don't use ln at all; we don't have any links
  18.212 +    as_ln_s='cp -p'
  18.213 +  else
  18.214 +    as_ln_s='ln -s'
  18.215 +  fi
  18.216 +elif ln conf$$.file conf$$ 2>/dev/null; then
  18.217 +  as_ln_s=ln
  18.218 +else
  18.219 +  as_ln_s='cp -p'
  18.220 +fi
  18.221 +rm -f conf$$ conf$$.exe conf$$.file
  18.222 +
  18.223 +if mkdir -p . 2>/dev/null; then
  18.224 +  as_mkdir_p=:
  18.225 +else
  18.226 +  test -d ./-p && rmdir ./-p
  18.227 +  as_mkdir_p=false
  18.228 +fi
  18.229 +
  18.230 +as_executable_p="test -f"
  18.231 +
  18.232 +# Sed expression to map a string onto a valid CPP name.
  18.233 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  18.234 +
  18.235 +# Sed expression to map a string onto a valid variable name.
  18.236 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  18.237 +
  18.238 +
  18.239 +# IFS
  18.240 +# We need space, tab and new line, in precisely that order.
  18.241 +as_nl='
  18.242 +'
  18.243 +IFS=" 	$as_nl"
  18.244 +
  18.245 +# CDPATH.
  18.246 +$as_unset CDPATH
  18.247 +
  18.248 +
  18.249 +# Name of the host.
  18.250 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  18.251 +# so uname gets run too.
  18.252 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  18.253 +
  18.254 +exec 6>&1
  18.255 +
  18.256 +#
  18.257 +# Initializations.
  18.258 +#
  18.259 +ac_default_prefix=/usr/local
  18.260 +ac_config_libobj_dir=.
  18.261 +cross_compiling=no
  18.262 +subdirs=
  18.263 +MFLAGS=
  18.264 +MAKEFLAGS=
  18.265 +SHELL=${CONFIG_SHELL-/bin/sh}
  18.266 +
  18.267 +# Maximum number of lines to put in a shell here document.
  18.268 +# This variable seems obsolete.  It should probably be removed, and
  18.269 +# only ac_max_sed_lines should be used.
  18.270 +: ${ac_max_here_lines=38}
  18.271 +
  18.272 +# Identity of this package.
  18.273 +PACKAGE_NAME='masqmail'
  18.274 +PACKAGE_TARNAME='masqmail'
  18.275 +PACKAGE_VERSION='0.2.21'
  18.276 +PACKAGE_STRING='masqmail 0.2.21'
  18.277 +PACKAGE_BUGREPORT='oku@debian.org'
  18.278 +
  18.279 +ac_unique_file="src/masqmail.c"
  18.280 +ac_default_prefix=/usr
  18.281 +# Factoring default headers for most tests.
  18.282 +ac_includes_default="\
  18.283 +#include <stdio.h>
  18.284 +#if HAVE_SYS_TYPES_H
  18.285 +# include <sys/types.h>
  18.286 +#endif
  18.287 +#if HAVE_SYS_STAT_H
  18.288 +# include <sys/stat.h>
  18.289 +#endif
  18.290 +#if STDC_HEADERS
  18.291 +# include <stdlib.h>
  18.292 +# include <stddef.h>
  18.293 +#else
  18.294 +# if HAVE_STDLIB_H
  18.295 +#  include <stdlib.h>
  18.296 +# endif
  18.297 +#endif
  18.298 +#if HAVE_STRING_H
  18.299 +# if !STDC_HEADERS && HAVE_MEMORY_H
  18.300 +#  include <memory.h>
  18.301 +# endif
  18.302 +# include <string.h>
  18.303 +#endif
  18.304 +#if HAVE_STRINGS_H
  18.305 +# include <strings.h>
  18.306 +#endif
  18.307 +#if HAVE_INTTYPES_H
  18.308 +# include <inttypes.h>
  18.309 +#else
  18.310 +# if HAVE_STDINT_H
  18.311 +#  include <stdint.h>
  18.312 +# endif
  18.313 +#endif
  18.314 +#if HAVE_UNISTD_H
  18.315 +# include <unistd.h>
  18.316 +#endif"
  18.317 +
  18.318 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB PKG_CONFIG ac_pt_PKG_CONFIG GLIB_CFLAGS GLIB_LIBS RESOLV_LIBS with_user with_group BASE64_LIBS MD5_LIBS has_ident IDENT_LIBS LOCKFILE_LIBS USE_LIBLOCKFILE with_logdir with_spooldir with_confdir LIBOBJS LTLIBOBJS'
  18.319 +ac_subst_files=''
  18.320 +
  18.321 +# Initialize some variables set by options.
  18.322 +ac_init_help=
  18.323 +ac_init_version=false
  18.324 +# The variables have the same names as the options, with
  18.325 +# dashes changed to underlines.
  18.326 +cache_file=/dev/null
  18.327 +exec_prefix=NONE
  18.328 +no_create=
  18.329 +no_recursion=
  18.330 +prefix=NONE
  18.331 +program_prefix=NONE
  18.332 +program_suffix=NONE
  18.333 +program_transform_name=s,x,x,
  18.334 +silent=
  18.335 +site=
  18.336 +srcdir=
  18.337 +verbose=
  18.338 +x_includes=NONE
  18.339 +x_libraries=NONE
  18.340 +
  18.341 +# Installation directory options.
  18.342 +# These are left unexpanded so users can "make install exec_prefix=/foo"
  18.343 +# and all the variables that are supposed to be based on exec_prefix
  18.344 +# by default will actually change.
  18.345 +# Use braces instead of parens because sh, perl, etc. also accept them.
  18.346 +bindir='${exec_prefix}/bin'
  18.347 +sbindir='${exec_prefix}/sbin'
  18.348 +libexecdir='${exec_prefix}/libexec'
  18.349 +datadir='${prefix}/share'
  18.350 +sysconfdir='${prefix}/etc'
  18.351 +sharedstatedir='${prefix}/com'
  18.352 +localstatedir='${prefix}/var'
  18.353 +libdir='${exec_prefix}/lib'
  18.354 +includedir='${prefix}/include'
  18.355 +oldincludedir='/usr/include'
  18.356 +infodir='${prefix}/info'
  18.357 +mandir='${prefix}/man'
  18.358 +
  18.359 +ac_prev=
  18.360 +for ac_option
  18.361 +do
  18.362 +  # If the previous option needs an argument, assign it.
  18.363 +  if test -n "$ac_prev"; then
  18.364 +    eval "$ac_prev=\$ac_option"
  18.365 +    ac_prev=
  18.366 +    continue
  18.367 +  fi
  18.368 +
  18.369 +  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  18.370 +
  18.371 +  # Accept the important Cygnus configure options, so we can diagnose typos.
  18.372 +
  18.373 +  case $ac_option in
  18.374 +
  18.375 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  18.376 +    ac_prev=bindir ;;
  18.377 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  18.378 +    bindir=$ac_optarg ;;
  18.379 +
  18.380 +  -build | --build | --buil | --bui | --bu)
  18.381 +    ac_prev=build_alias ;;
  18.382 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  18.383 +    build_alias=$ac_optarg ;;
  18.384 +
  18.385 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  18.386 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  18.387 +    ac_prev=cache_file ;;
  18.388 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  18.389 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  18.390 +    cache_file=$ac_optarg ;;
  18.391 +
  18.392 +  --config-cache | -C)
  18.393 +    cache_file=config.cache ;;
  18.394 +
  18.395 +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  18.396 +    ac_prev=datadir ;;
  18.397 +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  18.398 +  | --da=*)
  18.399 +    datadir=$ac_optarg ;;
  18.400 +
  18.401 +  -disable-* | --disable-*)
  18.402 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  18.403 +    # Reject names that are not valid shell variable names.
  18.404 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  18.405 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  18.406 +   { (exit 1); exit 1; }; }
  18.407 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  18.408 +    eval "enable_$ac_feature=no" ;;
  18.409 +
  18.410 +  -enable-* | --enable-*)
  18.411 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  18.412 +    # Reject names that are not valid shell variable names.
  18.413 +    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  18.414 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  18.415 +   { (exit 1); exit 1; }; }
  18.416 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  18.417 +    case $ac_option in
  18.418 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  18.419 +      *) ac_optarg=yes ;;
  18.420 +    esac
  18.421 +    eval "enable_$ac_feature='$ac_optarg'" ;;
  18.422 +
  18.423 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  18.424 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  18.425 +  | --exec | --exe | --ex)
  18.426 +    ac_prev=exec_prefix ;;
  18.427 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  18.428 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  18.429 +  | --exec=* | --exe=* | --ex=*)
  18.430 +    exec_prefix=$ac_optarg ;;
  18.431 +
  18.432 +  -gas | --gas | --ga | --g)
  18.433 +    # Obsolete; use --with-gas.
  18.434 +    with_gas=yes ;;
  18.435 +
  18.436 +  -help | --help | --hel | --he | -h)
  18.437 +    ac_init_help=long ;;
  18.438 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  18.439 +    ac_init_help=recursive ;;
  18.440 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  18.441 +    ac_init_help=short ;;
  18.442 +
  18.443 +  -host | --host | --hos | --ho)
  18.444 +    ac_prev=host_alias ;;
  18.445 +  -host=* | --host=* | --hos=* | --ho=*)
  18.446 +    host_alias=$ac_optarg ;;
  18.447 +
  18.448 +  -includedir | --includedir | --includedi | --included | --include \
  18.449 +  | --includ | --inclu | --incl | --inc)
  18.450 +    ac_prev=includedir ;;
  18.451 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  18.452 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  18.453 +    includedir=$ac_optarg ;;
  18.454 +
  18.455 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  18.456 +    ac_prev=infodir ;;
  18.457 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  18.458 +    infodir=$ac_optarg ;;
  18.459 +
  18.460 +  -libdir | --libdir | --libdi | --libd)
  18.461 +    ac_prev=libdir ;;
  18.462 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  18.463 +    libdir=$ac_optarg ;;
  18.464 +
  18.465 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  18.466 +  | --libexe | --libex | --libe)
  18.467 +    ac_prev=libexecdir ;;
  18.468 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  18.469 +  | --libexe=* | --libex=* | --libe=*)
  18.470 +    libexecdir=$ac_optarg ;;
  18.471 +
  18.472 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  18.473 +  | --localstate | --localstat | --localsta | --localst \
  18.474 +  | --locals | --local | --loca | --loc | --lo)
  18.475 +    ac_prev=localstatedir ;;
  18.476 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  18.477 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  18.478 +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  18.479 +    localstatedir=$ac_optarg ;;
  18.480 +
  18.481 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  18.482 +    ac_prev=mandir ;;
  18.483 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  18.484 +    mandir=$ac_optarg ;;
  18.485 +
  18.486 +  -nfp | --nfp | --nf)
  18.487 +    # Obsolete; use --without-fp.
  18.488 +    with_fp=no ;;
  18.489 +
  18.490 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  18.491 +  | --no-cr | --no-c | -n)
  18.492 +    no_create=yes ;;
  18.493 +
  18.494 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  18.495 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  18.496 +    no_recursion=yes ;;
  18.497 +
  18.498 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  18.499 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  18.500 +  | --oldin | --oldi | --old | --ol | --o)
  18.501 +    ac_prev=oldincludedir ;;
  18.502 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  18.503 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  18.504 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  18.505 +    oldincludedir=$ac_optarg ;;
  18.506 +
  18.507 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  18.508 +    ac_prev=prefix ;;
  18.509 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  18.510 +    prefix=$ac_optarg ;;
  18.511 +
  18.512 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  18.513 +  | --program-pre | --program-pr | --program-p)
  18.514 +    ac_prev=program_prefix ;;
  18.515 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  18.516 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  18.517 +    program_prefix=$ac_optarg ;;
  18.518 +
  18.519 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  18.520 +  | --program-suf | --program-su | --program-s)
  18.521 +    ac_prev=program_suffix ;;
  18.522 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  18.523 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  18.524 +    program_suffix=$ac_optarg ;;
  18.525 +
  18.526 +  -program-transform-name | --program-transform-name \
  18.527 +  | --program-transform-nam | --program-transform-na \
  18.528 +  | --program-transform-n | --program-transform- \
  18.529 +  | --program-transform | --program-transfor \
  18.530 +  | --program-transfo | --program-transf \
  18.531 +  | --program-trans | --program-tran \
  18.532 +  | --progr-tra | --program-tr | --program-t)
  18.533 +    ac_prev=program_transform_name ;;
  18.534 +  -program-transform-name=* | --program-transform-name=* \
  18.535 +  | --program-transform-nam=* | --program-transform-na=* \
  18.536 +  | --program-transform-n=* | --program-transform-=* \
  18.537 +  | --program-transform=* | --program-transfor=* \
  18.538 +  | --program-transfo=* | --program-transf=* \
  18.539 +  | --program-trans=* | --program-tran=* \
  18.540 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  18.541 +    program_transform_name=$ac_optarg ;;
  18.542 +
  18.543 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  18.544 +  | -silent | --silent | --silen | --sile | --sil)
  18.545 +    silent=yes ;;
  18.546 +
  18.547 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  18.548 +    ac_prev=sbindir ;;
  18.549 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  18.550 +  | --sbi=* | --sb=*)
  18.551 +    sbindir=$ac_optarg ;;
  18.552 +
  18.553 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  18.554 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  18.555 +  | --sharedst | --shareds | --shared | --share | --shar \
  18.556 +  | --sha | --sh)
  18.557 +    ac_prev=sharedstatedir ;;
  18.558 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  18.559 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  18.560 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  18.561 +  | --sha=* | --sh=*)
  18.562 +    sharedstatedir=$ac_optarg ;;
  18.563 +
  18.564 +  -site | --site | --sit)
  18.565 +    ac_prev=site ;;
  18.566 +  -site=* | --site=* | --sit=*)
  18.567 +    site=$ac_optarg ;;
  18.568 +
  18.569 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  18.570 +    ac_prev=srcdir ;;
  18.571 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  18.572 +    srcdir=$ac_optarg ;;
  18.573 +
  18.574 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  18.575 +  | --syscon | --sysco | --sysc | --sys | --sy)
  18.576 +    ac_prev=sysconfdir ;;
  18.577 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  18.578 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  18.579 +    sysconfdir=$ac_optarg ;;
  18.580 +
  18.581 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  18.582 +    ac_prev=target_alias ;;
  18.583 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  18.584 +    target_alias=$ac_optarg ;;
  18.585 +
  18.586 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  18.587 +    verbose=yes ;;
  18.588 +
  18.589 +  -version | --version | --versio | --versi | --vers | -V)
  18.590 +    ac_init_version=: ;;
  18.591 +
  18.592 +  -with-* | --with-*)
  18.593 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  18.594 +    # Reject names that are not valid shell variable names.
  18.595 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  18.596 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  18.597 +   { (exit 1); exit 1; }; }
  18.598 +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  18.599 +    case $ac_option in
  18.600 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  18.601 +      *) ac_optarg=yes ;;
  18.602 +    esac
  18.603 +    eval "with_$ac_package='$ac_optarg'" ;;
  18.604 +
  18.605 +  -without-* | --without-*)
  18.606 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  18.607 +    # Reject names that are not valid shell variable names.
  18.608 +    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  18.609 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
  18.610 +   { (exit 1); exit 1; }; }
  18.611 +    ac_package=`echo $ac_package | sed 's/-/_/g'`
  18.612 +    eval "with_$ac_package=no" ;;
  18.613 +
  18.614 +  --x)
  18.615 +    # Obsolete; use --with-x.
  18.616 +    with_x=yes ;;
  18.617 +
  18.618 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  18.619 +  | --x-incl | --x-inc | --x-in | --x-i)
  18.620 +    ac_prev=x_includes ;;
  18.621 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  18.622 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  18.623 +    x_includes=$ac_optarg ;;
  18.624 +
  18.625 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  18.626 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  18.627 +    ac_prev=x_libraries ;;
  18.628 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  18.629 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  18.630 +    x_libraries=$ac_optarg ;;
  18.631 +
  18.632 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
  18.633 +Try \`$0 --help' for more information." >&2
  18.634 +   { (exit 1); exit 1; }; }
  18.635 +    ;;
  18.636 +
  18.637 +  *=*)
  18.638 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  18.639 +    # Reject names that are not valid shell variable names.
  18.640 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  18.641 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  18.642 +   { (exit 1); exit 1; }; }
  18.643 +    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  18.644 +    eval "$ac_envvar='$ac_optarg'"
  18.645 +    export $ac_envvar ;;
  18.646 +
  18.647 +  *)
  18.648 +    # FIXME: should be removed in autoconf 3.0.
  18.649 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  18.650 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  18.651 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  18.652 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  18.653 +    ;;
  18.654 +
  18.655 +  esac
  18.656 +done
  18.657 +
  18.658 +if test -n "$ac_prev"; then
  18.659 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  18.660 +  { echo "$as_me: error: missing argument to $ac_option" >&2
  18.661 +   { (exit 1); exit 1; }; }
  18.662 +fi
  18.663 +
  18.664 +# Be sure to have absolute paths.
  18.665 +for ac_var in exec_prefix prefix
  18.666 +do
  18.667 +  eval ac_val=$`echo $ac_var`
  18.668 +  case $ac_val in
  18.669 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  18.670 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  18.671 +   { (exit 1); exit 1; }; };;
  18.672 +  esac
  18.673 +done
  18.674 +
  18.675 +# Be sure to have absolute paths.
  18.676 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  18.677 +	      localstatedir libdir includedir oldincludedir infodir mandir
  18.678 +do
  18.679 +  eval ac_val=$`echo $ac_var`
  18.680 +  case $ac_val in
  18.681 +    [\\/$]* | ?:[\\/]* ) ;;
  18.682 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  18.683 +   { (exit 1); exit 1; }; };;
  18.684 +  esac
  18.685 +done
  18.686 +
  18.687 +# There might be people who depend on the old broken behavior: `$host'
  18.688 +# used to hold the argument of --host etc.
  18.689 +# FIXME: To remove some day.
  18.690 +build=$build_alias
  18.691 +host=$host_alias
  18.692 +target=$target_alias
  18.693 +
  18.694 +# FIXME: To remove some day.
  18.695 +if test "x$host_alias" != x; then
  18.696 +  if test "x$build_alias" = x; then
  18.697 +    cross_compiling=maybe
  18.698 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  18.699 +    If a cross compiler is detected then cross compile mode will be used." >&2
  18.700 +  elif test "x$build_alias" != "x$host_alias"; then
  18.701 +    cross_compiling=yes
  18.702 +  fi
  18.703 +fi
  18.704 +
  18.705 +ac_tool_prefix=
  18.706 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  18.707 +
  18.708 +test "$silent" = yes && exec 6>/dev/null
  18.709 +
  18.710 +
  18.711 +# Find the source files, if location was not specified.
  18.712 +if test -z "$srcdir"; then
  18.713 +  ac_srcdir_defaulted=yes
  18.714 +  # Try the directory containing this script, then its parent.
  18.715 +  ac_confdir=`(dirname "$0") 2>/dev/null ||
  18.716 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18.717 +	 X"$0" : 'X\(//\)[^/]' \| \
  18.718 +	 X"$0" : 'X\(//\)$' \| \
  18.719 +	 X"$0" : 'X\(/\)' \| \
  18.720 +	 .     : '\(.\)' 2>/dev/null ||
  18.721 +echo X"$0" |
  18.722 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  18.723 +  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  18.724 +  	  /^X\(\/\/\)$/{ s//\1/; q; }
  18.725 +  	  /^X\(\/\).*/{ s//\1/; q; }
  18.726 +  	  s/.*/./; q'`
  18.727 +  srcdir=$ac_confdir
  18.728 +  if test ! -r $srcdir/$ac_unique_file; then
  18.729 +    srcdir=..
  18.730 +  fi
  18.731 +else
  18.732 +  ac_srcdir_defaulted=no
  18.733 +fi
  18.734 +if test ! -r $srcdir/$ac_unique_file; then
  18.735 +  if test "$ac_srcdir_defaulted" = yes; then
  18.736 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  18.737 +   { (exit 1); exit 1; }; }
  18.738 +  else
  18.739 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  18.740 +   { (exit 1); exit 1; }; }
  18.741 +  fi
  18.742 +fi
  18.743 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  18.744 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  18.745 +   { (exit 1); exit 1; }; }
  18.746 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  18.747 +ac_env_build_alias_set=${build_alias+set}
  18.748 +ac_env_build_alias_value=$build_alias
  18.749 +ac_cv_env_build_alias_set=${build_alias+set}
  18.750 +ac_cv_env_build_alias_value=$build_alias
  18.751 +ac_env_host_alias_set=${host_alias+set}
  18.752 +ac_env_host_alias_value=$host_alias
  18.753 +ac_cv_env_host_alias_set=${host_alias+set}
  18.754 +ac_cv_env_host_alias_value=$host_alias
  18.755 +ac_env_target_alias_set=${target_alias+set}
  18.756 +ac_env_target_alias_value=$target_alias
  18.757 +ac_cv_env_target_alias_set=${target_alias+set}
  18.758 +ac_cv_env_target_alias_value=$target_alias
  18.759 +ac_env_CC_set=${CC+set}
  18.760 +ac_env_CC_value=$CC
  18.761 +ac_cv_env_CC_set=${CC+set}
  18.762 +ac_cv_env_CC_value=$CC
  18.763 +ac_env_CFLAGS_set=${CFLAGS+set}
  18.764 +ac_env_CFLAGS_value=$CFLAGS
  18.765 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
  18.766 +ac_cv_env_CFLAGS_value=$CFLAGS
  18.767 +ac_env_LDFLAGS_set=${LDFLAGS+set}
  18.768 +ac_env_LDFLAGS_value=$LDFLAGS
  18.769 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  18.770 +ac_cv_env_LDFLAGS_value=$LDFLAGS
  18.771 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  18.772 +ac_env_CPPFLAGS_value=$CPPFLAGS
  18.773 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  18.774 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  18.775 +ac_env_CPP_set=${CPP+set}
  18.776 +ac_env_CPP_value=$CPP
  18.777 +ac_cv_env_CPP_set=${CPP+set}
  18.778 +ac_cv_env_CPP_value=$CPP
  18.779 +ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
  18.780 +ac_env_PKG_CONFIG_value=$PKG_CONFIG
  18.781 +ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
  18.782 +ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
  18.783 +ac_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
  18.784 +ac_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
  18.785 +ac_cv_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
  18.786 +ac_cv_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
  18.787 +ac_env_GLIB_LIBS_set=${GLIB_LIBS+set}
  18.788 +ac_env_GLIB_LIBS_value=$GLIB_LIBS
  18.789 +ac_cv_env_GLIB_LIBS_set=${GLIB_LIBS+set}
  18.790 +ac_cv_env_GLIB_LIBS_value=$GLIB_LIBS
  18.791 +
  18.792 +#
  18.793 +# Report the --help message.
  18.794 +#
  18.795 +if test "$ac_init_help" = "long"; then
  18.796 +  # Omit some internal or obsolete options to make the list less imposing.
  18.797 +  # This message is too long to be a string in the A/UX 3.1 sh.
  18.798 +  cat <<_ACEOF
  18.799 +\`configure' configures masqmail 0.2.21 to adapt to many kinds of systems.
  18.800 +
  18.801 +Usage: $0 [OPTION]... [VAR=VALUE]...
  18.802 +
  18.803 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  18.804 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  18.805 +
  18.806 +Defaults for the options are specified in brackets.
  18.807 +
  18.808 +Configuration:
  18.809 +  -h, --help              display this help and exit
  18.810 +      --help=short        display options specific to this package
  18.811 +      --help=recursive    display the short help of all the included packages
  18.812 +  -V, --version           display version information and exit
  18.813 +  -q, --quiet, --silent   do not print \`checking...' messages
  18.814 +      --cache-file=FILE   cache test results in FILE [disabled]
  18.815 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  18.816 +  -n, --no-create         do not create output files
  18.817 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  18.818 +
  18.819 +_ACEOF
  18.820 +
  18.821 +  cat <<_ACEOF
  18.822 +Installation directories:
  18.823 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  18.824 +			  [$ac_default_prefix]
  18.825 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  18.826 +			  [PREFIX]
  18.827 +
  18.828 +By default, \`make install' will install all the files in
  18.829 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  18.830 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  18.831 +for instance \`--prefix=\$HOME'.
  18.832 +
  18.833 +For better control, use the options below.
  18.834 +
  18.835 +Fine tuning of the installation directories:
  18.836 +  --bindir=DIR           user executables [EPREFIX/bin]
  18.837 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  18.838 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
  18.839 +  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  18.840 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  18.841 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  18.842 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  18.843 +  --libdir=DIR           object code libraries [EPREFIX/lib]
  18.844 +  --includedir=DIR       C header files [PREFIX/include]
  18.845 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  18.846 +  --infodir=DIR          info documentation [PREFIX/info]
  18.847 +  --mandir=DIR           man documentation [PREFIX/man]
  18.848 +_ACEOF
  18.849 +
  18.850 +  cat <<\_ACEOF
  18.851 +
  18.852 +Program names:
  18.853 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
  18.854 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
  18.855 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  18.856 +_ACEOF
  18.857 +fi
  18.858 +
  18.859 +if test -n "$ac_init_help"; then
  18.860 +  case $ac_init_help in
  18.861 +     short | recursive ) echo "Configuration of masqmail 0.2.21:";;
  18.862 +   esac
  18.863 +  cat <<\_ACEOF
  18.864 +
  18.865 +Optional Features:
  18.866 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  18.867 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  18.868 +  --disable-dependency-tracking Speeds up one-time builds
  18.869 +  --enable-dependency-tracking  Do not reject slow dependency extractors
  18.870 +  --disable-resolver       disable resolver support
  18.871 +  --disable-debug          disable debugging
  18.872 +  --disable-smtp-server    disable smtp server support
  18.873 +  --disable-pop3           disable pop3 support
  18.874 +  --enable-auth            enable AUTH (RFC 2554) client support
  18.875 +  --enable-maildir            enable qmail style maildir support
  18.876 +  --enable-ident           enable ident (RFC 1413) support
  18.877 +  --enable-mserver         enable mserver support
  18.878 +
  18.879 +Optional Packages:
  18.880 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  18.881 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  18.882 +  --with-user=USER         set user mail
  18.883 +  --with-group=GROUP       set group trusted
  18.884 +  --with-glib-static=path  link glib statically (path mandatory!)
  18.885 +  --with-libcrypto         use libcrypto
  18.886 +  --with-liblockfile       use liblock (for Debian)
  18.887 +  --with-logdir=DIR        set log directory /var/masqmail
  18.888 +  --with-spooldir=DIR      set spool directory /var/spool/masqmail
  18.889 +  --with-confdir           directory for configuration /etc/masqmail
  18.890 +
  18.891 +Some influential environment variables:
  18.892 +  CC          C compiler command
  18.893 +  CFLAGS      C compiler flags
  18.894 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  18.895 +              nonstandard directory <lib dir>
  18.896 +  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  18.897 +              headers in a nonstandard directory <include dir>
  18.898 +  CPP         C preprocessor
  18.899 +  PKG_CONFIG  path to pkg-config utility
  18.900 +  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  18.901 +  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  18.902 +
  18.903 +Use these variables to override the choices made by `configure' or to help
  18.904 +it to find libraries and programs with nonstandard names/locations.
  18.905 +
  18.906 +Report bugs to <oku@debian.org>.
  18.907 +_ACEOF
  18.908 +fi
  18.909 +
  18.910 +if test "$ac_init_help" = "recursive"; then
  18.911 +  # If there are subdirs, report their specific --help.
  18.912 +  ac_popdir=`pwd`
  18.913 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  18.914 +    test -d $ac_dir || continue
  18.915 +    ac_builddir=.
  18.916 +
  18.917 +if test "$ac_dir" != .; then
  18.918 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  18.919 +  # A "../" for each directory in $ac_dir_suffix.
  18.920 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  18.921 +else
  18.922 +  ac_dir_suffix= ac_top_builddir=
  18.923 +fi
  18.924 +
  18.925 +case $srcdir in
  18.926 +  .)  # No --srcdir option.  We are building in place.
  18.927 +    ac_srcdir=.
  18.928 +    if test -z "$ac_top_builddir"; then
  18.929 +       ac_top_srcdir=.
  18.930 +    else
  18.931 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  18.932 +    fi ;;
  18.933 +  [\\/]* | ?:[\\/]* )  # Absolute path.
  18.934 +    ac_srcdir=$srcdir$ac_dir_suffix;
  18.935 +    ac_top_srcdir=$srcdir ;;
  18.936 +  *) # Relative path.
  18.937 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  18.938 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
  18.939 +esac
  18.940 +
  18.941 +# Do not use `cd foo && pwd` to compute absolute paths, because
  18.942 +# the directories may not exist.
  18.943 +case `pwd` in
  18.944 +.) ac_abs_builddir="$ac_dir";;
  18.945 +*)
  18.946 +  case "$ac_dir" in
  18.947 +  .) ac_abs_builddir=`pwd`;;
  18.948 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  18.949 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  18.950 +  esac;;
  18.951 +esac
  18.952 +case $ac_abs_builddir in
  18.953 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
  18.954 +*)
  18.955 +  case ${ac_top_builddir}. in
  18.956 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
  18.957 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  18.958 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  18.959 +  esac;;
  18.960 +esac
  18.961 +case $ac_abs_builddir in
  18.962 +.) ac_abs_srcdir=$ac_srcdir;;
  18.963 +*)
  18.964 +  case $ac_srcdir in
  18.965 +  .) ac_abs_srcdir=$ac_abs_builddir;;
  18.966 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  18.967 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  18.968 +  esac;;
  18.969 +esac
  18.970 +case $ac_abs_builddir in
  18.971 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
  18.972 +*)
  18.973 +  case $ac_top_srcdir in
  18.974 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  18.975 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  18.976 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  18.977 +  esac;;
  18.978 +esac
  18.979 +
  18.980 +    cd $ac_dir
  18.981 +    # Check for guested configure; otherwise get Cygnus style configure.
  18.982 +    if test -f $ac_srcdir/configure.gnu; then
  18.983 +      echo
  18.984 +      $SHELL $ac_srcdir/configure.gnu  --help=recursive
  18.985 +    elif test -f $ac_srcdir/configure; then
  18.986 +      echo
  18.987 +      $SHELL $ac_srcdir/configure  --help=recursive
  18.988 +    elif test -f $ac_srcdir/configure.ac ||
  18.989 +	   test -f $ac_srcdir/configure.in; then
  18.990 +      echo
  18.991 +      $ac_configure --help
  18.992 +    else
  18.993 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  18.994 +    fi
  18.995 +    cd "$ac_popdir"
  18.996 +  done
  18.997 +fi
  18.998 +
  18.999 +test -n "$ac_init_help" && exit 0
 18.1000 +if $ac_init_version; then
 18.1001 +  cat <<\_ACEOF
 18.1002 +masqmail configure 0.2.21
 18.1003 +generated by GNU Autoconf 2.59
 18.1004 +
 18.1005 +Copyright (C) 2003 Free Software Foundation, Inc.
 18.1006 +This configure script is free software; the Free Software Foundation
 18.1007 +gives unlimited permission to copy, distribute and modify it.
 18.1008 +_ACEOF
 18.1009 +  exit 0
 18.1010 +fi
 18.1011 +exec 5>config.log
 18.1012 +cat >&5 <<_ACEOF
 18.1013 +This file contains any messages produced by compilers while
 18.1014 +running configure, to aid debugging if configure makes a mistake.
 18.1015 +
 18.1016 +It was created by masqmail $as_me 0.2.21, which was
 18.1017 +generated by GNU Autoconf 2.59.  Invocation command line was
 18.1018 +
 18.1019 +  $ $0 $@
 18.1020 +
 18.1021 +_ACEOF
 18.1022 +{
 18.1023 +cat <<_ASUNAME
 18.1024 +## --------- ##
 18.1025 +## Platform. ##
 18.1026 +## --------- ##
 18.1027 +
 18.1028 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 18.1029 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
 18.1030 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
 18.1031 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
 18.1032 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
 18.1033 +
 18.1034 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 18.1035 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 18.1036 +
 18.1037 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 18.1038 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 18.1039 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 18.1040 +hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 18.1041 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 18.1042 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 18.1043 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 18.1044 +
 18.1045 +_ASUNAME
 18.1046 +
 18.1047 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1048 +for as_dir in $PATH
 18.1049 +do
 18.1050 +  IFS=$as_save_IFS
 18.1051 +  test -z "$as_dir" && as_dir=.
 18.1052 +  echo "PATH: $as_dir"
 18.1053 +done
 18.1054 +
 18.1055 +} >&5
 18.1056 +
 18.1057 +cat >&5 <<_ACEOF
 18.1058 +
 18.1059 +
 18.1060 +## ----------- ##
 18.1061 +## Core tests. ##
 18.1062 +## ----------- ##
 18.1063 +
 18.1064 +_ACEOF
 18.1065 +
 18.1066 +
 18.1067 +# Keep a trace of the command line.
 18.1068 +# Strip out --no-create and --no-recursion so they do not pile up.
 18.1069 +# Strip out --silent because we don't want to record it for future runs.
 18.1070 +# Also quote any args containing shell meta-characters.
 18.1071 +# Make two passes to allow for proper duplicate-argument suppression.
 18.1072 +ac_configure_args=
 18.1073 +ac_configure_args0=
 18.1074 +ac_configure_args1=
 18.1075 +ac_sep=
 18.1076 +ac_must_keep_next=false
 18.1077 +for ac_pass in 1 2
 18.1078 +do
 18.1079 +  for ac_arg
 18.1080 +  do
 18.1081 +    case $ac_arg in
 18.1082 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 18.1083 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 18.1084 +    | -silent | --silent | --silen | --sile | --sil)
 18.1085 +      continue ;;
 18.1086 +    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 18.1087 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 18.1088 +    esac
 18.1089 +    case $ac_pass in
 18.1090 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 18.1091 +    2)
 18.1092 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 18.1093 +      if test $ac_must_keep_next = true; then
 18.1094 +	ac_must_keep_next=false # Got value, back to normal.
 18.1095 +      else
 18.1096 +	case $ac_arg in
 18.1097 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
 18.1098 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 18.1099 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 18.1100 +	  | -with-* | --with-* | -without-* | --without-* | --x)
 18.1101 +	    case "$ac_configure_args0 " in
 18.1102 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 18.1103 +	    esac
 18.1104 +	    ;;
 18.1105 +	  -* ) ac_must_keep_next=true ;;
 18.1106 +	esac
 18.1107 +      fi
 18.1108 +      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 18.1109 +      # Get rid of the leading space.
 18.1110 +      ac_sep=" "
 18.1111 +      ;;
 18.1112 +    esac
 18.1113 +  done
 18.1114 +done
 18.1115 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 18.1116 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 18.1117 +
 18.1118 +# When interrupted or exit'd, cleanup temporary files, and complete
 18.1119 +# config.log.  We remove comments because anyway the quotes in there
 18.1120 +# would cause problems or look ugly.
 18.1121 +# WARNING: Be sure not to use single quotes in there, as some shells,
 18.1122 +# such as our DU 5.0 friend, will then `close' the trap.
 18.1123 +trap 'exit_status=$?
 18.1124 +  # Save into config.log some information that might help in debugging.
 18.1125 +  {
 18.1126 +    echo
 18.1127 +
 18.1128 +    cat <<\_ASBOX
 18.1129 +## ---------------- ##
 18.1130 +## Cache variables. ##
 18.1131 +## ---------------- ##
 18.1132 +_ASBOX
 18.1133 +    echo
 18.1134 +    # The following way of writing the cache mishandles newlines in values,
 18.1135 +{
 18.1136 +  (set) 2>&1 |
 18.1137 +    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 18.1138 +    *ac_space=\ *)
 18.1139 +      sed -n \
 18.1140 +	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 18.1141 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 18.1142 +      ;;
 18.1143 +    *)
 18.1144 +      sed -n \
 18.1145 +	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 18.1146 +      ;;
 18.1147 +    esac;
 18.1148 +}
 18.1149 +    echo
 18.1150 +
 18.1151 +    cat <<\_ASBOX
 18.1152 +## ----------------- ##
 18.1153 +## Output variables. ##
 18.1154 +## ----------------- ##
 18.1155 +_ASBOX
 18.1156 +    echo
 18.1157 +    for ac_var in $ac_subst_vars
 18.1158 +    do
 18.1159 +      eval ac_val=$`echo $ac_var`
 18.1160 +      echo "$ac_var='"'"'$ac_val'"'"'"
 18.1161 +    done | sort
 18.1162 +    echo
 18.1163 +
 18.1164 +    if test -n "$ac_subst_files"; then
 18.1165 +      cat <<\_ASBOX
 18.1166 +## ------------- ##
 18.1167 +## Output files. ##
 18.1168 +## ------------- ##
 18.1169 +_ASBOX
 18.1170 +      echo
 18.1171 +      for ac_var in $ac_subst_files
 18.1172 +      do
 18.1173 +	eval ac_val=$`echo $ac_var`
 18.1174 +	echo "$ac_var='"'"'$ac_val'"'"'"
 18.1175 +      done | sort
 18.1176 +      echo
 18.1177 +    fi
 18.1178 +
 18.1179 +    if test -s confdefs.h; then
 18.1180 +      cat <<\_ASBOX
 18.1181 +## ----------- ##
 18.1182 +## confdefs.h. ##
 18.1183 +## ----------- ##
 18.1184 +_ASBOX
 18.1185 +      echo
 18.1186 +      sed "/^$/d" confdefs.h | sort
 18.1187 +      echo
 18.1188 +    fi
 18.1189 +    test "$ac_signal" != 0 &&
 18.1190 +      echo "$as_me: caught signal $ac_signal"
 18.1191 +    echo "$as_me: exit $exit_status"
 18.1192 +  } >&5
 18.1193 +  rm -f core *.core &&
 18.1194 +  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 18.1195 +    exit $exit_status
 18.1196 +     ' 0
 18.1197 +for ac_signal in 1 2 13 15; do
 18.1198 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 18.1199 +done
 18.1200 +ac_signal=0
 18.1201 +
 18.1202 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
 18.1203 +rm -rf conftest* confdefs.h
 18.1204 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 18.1205 +echo >confdefs.h
 18.1206 +
 18.1207 +# Predefined preprocessor variables.
 18.1208 +
 18.1209 +cat >>confdefs.h <<_ACEOF
 18.1210 +#define PACKAGE_NAME "$PACKAGE_NAME"
 18.1211 +_ACEOF
 18.1212 +
 18.1213 +
 18.1214 +cat >>confdefs.h <<_ACEOF
 18.1215 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 18.1216 +_ACEOF
 18.1217 +
 18.1218 +
 18.1219 +cat >>confdefs.h <<_ACEOF
 18.1220 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
 18.1221 +_ACEOF
 18.1222 +
 18.1223 +
 18.1224 +cat >>confdefs.h <<_ACEOF
 18.1225 +#define PACKAGE_STRING "$PACKAGE_STRING"
 18.1226 +_ACEOF
 18.1227 +
 18.1228 +
 18.1229 +cat >>confdefs.h <<_ACEOF
 18.1230 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 18.1231 +_ACEOF
 18.1232 +
 18.1233 +
 18.1234 +# Let the site file select an alternate cache file if it wants to.
 18.1235 +# Prefer explicitly selected file to automatically selected ones.
 18.1236 +if test -z "$CONFIG_SITE"; then
 18.1237 +  if test "x$prefix" != xNONE; then
 18.1238 +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 18.1239 +  else
 18.1240 +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 18.1241 +  fi
 18.1242 +fi
 18.1243 +for ac_site_file in $CONFIG_SITE; do
 18.1244 +  if test -r "$ac_site_file"; then
 18.1245 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 18.1246 +echo "$as_me: loading site script $ac_site_file" >&6;}
 18.1247 +    sed 's/^/| /' "$ac_site_file" >&5
 18.1248 +    . "$ac_site_file"
 18.1249 +  fi
 18.1250 +done
 18.1251 +
 18.1252 +if test -r "$cache_file"; then
 18.1253 +  # Some versions of bash will fail to source /dev/null (special
 18.1254 +  # files actually), so we avoid doing that.
 18.1255 +  if test -f "$cache_file"; then
 18.1256 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 18.1257 +echo "$as_me: loading cache $cache_file" >&6;}
 18.1258 +    case $cache_file in
 18.1259 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
 18.1260 +      *)                      . ./$cache_file;;
 18.1261 +    esac
 18.1262 +  fi
 18.1263 +else
 18.1264 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 18.1265 +echo "$as_me: creating cache $cache_file" >&6;}
 18.1266 +  >$cache_file
 18.1267 +fi
 18.1268 +
 18.1269 +# Check that the precious variables saved in the cache have kept the same
 18.1270 +# value.
 18.1271 +ac_cache_corrupted=false
 18.1272 +for ac_var in `(set) 2>&1 |
 18.1273 +	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 18.1274 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 18.1275 +  eval ac_new_set=\$ac_env_${ac_var}_set
 18.1276 +  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 18.1277 +  eval ac_new_val="\$ac_env_${ac_var}_value"
 18.1278 +  case $ac_old_set,$ac_new_set in
 18.1279 +    set,)
 18.1280 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 18.1281 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 18.1282 +      ac_cache_corrupted=: ;;
 18.1283 +    ,set)
 18.1284 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 18.1285 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 18.1286 +      ac_cache_corrupted=: ;;
 18.1287 +    ,);;
 18.1288 +    *)
 18.1289 +      if test "x$ac_old_val" != "x$ac_new_val"; then
 18.1290 +	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 18.1291 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 18.1292 +	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 18.1293 +echo "$as_me:   former value:  $ac_old_val" >&2;}
 18.1294 +	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 18.1295 +echo "$as_me:   current value: $ac_new_val" >&2;}
 18.1296 +	ac_cache_corrupted=:
 18.1297 +      fi;;
 18.1298 +  esac
 18.1299 +  # Pass precious variables to config.status.
 18.1300 +  if test "$ac_new_set" = set; then
 18.1301 +    case $ac_new_val in
 18.1302 +    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 18.1303 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 18.1304 +    *) ac_arg=$ac_var=$ac_new_val ;;
 18.1305 +    esac
 18.1306 +    case " $ac_configure_args " in
 18.1307 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 18.1308 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 18.1309 +    esac
 18.1310 +  fi
 18.1311 +done
 18.1312 +if $ac_cache_corrupted; then
 18.1313 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 18.1314 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 18.1315 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 18.1316 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 18.1317 +   { (exit 1); exit 1; }; }
 18.1318 +fi
 18.1319 +
 18.1320 +ac_ext=c
 18.1321 +ac_cpp='$CPP $CPPFLAGS'
 18.1322 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 18.1323 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 18.1324 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 18.1325 +
 18.1326 +
 18.1327 +
 18.1328 +
 18.1329 +
 18.1330 +
 18.1331 +
 18.1332 +
 18.1333 +
 18.1334 +
 18.1335 +
 18.1336 +
 18.1337 +
 18.1338 +
 18.1339 +
 18.1340 +
 18.1341 +
 18.1342 +
 18.1343 +
 18.1344 +
 18.1345 +
 18.1346 +
 18.1347 +
 18.1348 +
 18.1349 +
 18.1350 +
 18.1351 +
 18.1352 +
 18.1353 +          ac_config_headers="$ac_config_headers config.h"
 18.1354 +
 18.1355 +am__api_version="1.7"
 18.1356 +ac_aux_dir=
 18.1357 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 18.1358 +  if test -f $ac_dir/install-sh; then
 18.1359 +    ac_aux_dir=$ac_dir
 18.1360 +    ac_install_sh="$ac_aux_dir/install-sh -c"
 18.1361 +    break
 18.1362 +  elif test -f $ac_dir/install.sh; then
 18.1363 +    ac_aux_dir=$ac_dir
 18.1364 +    ac_install_sh="$ac_aux_dir/install.sh -c"
 18.1365 +    break
 18.1366 +  elif test -f $ac_dir/shtool; then
 18.1367 +    ac_aux_dir=$ac_dir
 18.1368 +    ac_install_sh="$ac_aux_dir/shtool install -c"
 18.1369 +    break
 18.1370 +  fi
 18.1371 +done
 18.1372 +if test -z "$ac_aux_dir"; then
 18.1373 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 18.1374 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 18.1375 +   { (exit 1); exit 1; }; }
 18.1376 +fi
 18.1377 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 18.1378 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 18.1379 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 18.1380 +
 18.1381 +# Find a good install program.  We prefer a C program (faster),
 18.1382 +# so one script is as good as another.  But avoid the broken or
 18.1383 +# incompatible versions:
 18.1384 +# SysV /etc/install, /usr/sbin/install
 18.1385 +# SunOS /usr/etc/install
 18.1386 +# IRIX /sbin/install
 18.1387 +# AIX /bin/install
 18.1388 +# AmigaOS /C/install, which installs bootblocks on floppy discs
 18.1389 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 18.1390 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 18.1391 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 18.1392 +# OS/2's system install, which has a completely different semantic
 18.1393 +# ./install, which can be erroneously created by make from ./install.sh.
 18.1394 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 18.1395 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 18.1396 +if test -z "$INSTALL"; then
 18.1397 +if test "${ac_cv_path_install+set}" = set; then
 18.1398 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1399 +else
 18.1400 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1401 +for as_dir in $PATH
 18.1402 +do
 18.1403 +  IFS=$as_save_IFS
 18.1404 +  test -z "$as_dir" && as_dir=.
 18.1405 +  # Account for people who put trailing slashes in PATH elements.
 18.1406 +case $as_dir/ in
 18.1407 +  ./ | .// | /cC/* | \
 18.1408 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 18.1409 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 18.1410 +  /usr/ucb/* ) ;;
 18.1411 +  *)
 18.1412 +    # OSF1 and SCO ODT 3.0 have their own names for install.
 18.1413 +    # Don't use installbsd from OSF since it installs stuff as root
 18.1414 +    # by default.
 18.1415 +    for ac_prog in ginstall scoinst install; do
 18.1416 +      for ac_exec_ext in '' $ac_executable_extensions; do
 18.1417 +	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 18.1418 +	  if test $ac_prog = install &&
 18.1419 +	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 18.1420 +	    # AIX install.  It has an incompatible calling convention.
 18.1421 +	    :
 18.1422 +	  elif test $ac_prog = install &&
 18.1423 +	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 18.1424 +	    # program-specific install script used by HP pwplus--don't use.
 18.1425 +	    :
 18.1426 +	  else
 18.1427 +	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 18.1428 +	    break 3
 18.1429 +	  fi
 18.1430 +	fi
 18.1431 +      done
 18.1432 +    done
 18.1433 +    ;;
 18.1434 +esac
 18.1435 +done
 18.1436 +
 18.1437 +
 18.1438 +fi
 18.1439 +  if test "${ac_cv_path_install+set}" = set; then
 18.1440 +    INSTALL=$ac_cv_path_install
 18.1441 +  else
 18.1442 +    # As a last resort, use the slow shell script.  We don't cache a
 18.1443 +    # path for INSTALL within a source directory, because that will
 18.1444 +    # break other packages using the cache if that directory is
 18.1445 +    # removed, or if the path is relative.
 18.1446 +    INSTALL=$ac_install_sh
 18.1447 +  fi
 18.1448 +fi
 18.1449 +echo "$as_me:$LINENO: result: $INSTALL" >&5
 18.1450 +echo "${ECHO_T}$INSTALL" >&6
 18.1451 +
 18.1452 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 18.1453 +# It thinks the first close brace ends the variable substitution.
 18.1454 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 18.1455 +
 18.1456 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 18.1457 +
 18.1458 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 18.1459 +
 18.1460 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 18.1461 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 18.1462 +# Just in case
 18.1463 +sleep 1
 18.1464 +echo timestamp > conftest.file
 18.1465 +# Do `set' in a subshell so we don't clobber the current shell's
 18.1466 +# arguments.  Must try -L first in case configure is actually a
 18.1467 +# symlink; some systems play weird games with the mod time of symlinks
 18.1468 +# (eg FreeBSD returns the mod time of the symlink's containing
 18.1469 +# directory).
 18.1470 +if (
 18.1471 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 18.1472 +   if test "$*" = "X"; then
 18.1473 +      # -L didn't work.
 18.1474 +      set X `ls -t $srcdir/configure conftest.file`
 18.1475 +   fi
 18.1476 +   rm -f conftest.file
 18.1477 +   if test "$*" != "X $srcdir/configure conftest.file" \
 18.1478 +      && test "$*" != "X conftest.file $srcdir/configure"; then
 18.1479 +
 18.1480 +      # If neither matched, then we have a broken ls.  This can happen
 18.1481 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
 18.1482 +      # broken ls alias from the environment.  This has actually
 18.1483 +      # happened.  Such a system could not be considered "sane".
 18.1484 +      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 18.1485 +alias in your environment" >&5
 18.1486 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 18.1487 +alias in your environment" >&2;}
 18.1488 +   { (exit 1); exit 1; }; }
 18.1489 +   fi
 18.1490 +
 18.1491 +   test "$2" = conftest.file
 18.1492 +   )
 18.1493 +then
 18.1494 +   # Ok.
 18.1495 +   :
 18.1496 +else
 18.1497 +   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 18.1498 +Check your system clock" >&5
 18.1499 +echo "$as_me: error: newly created file is older than distributed files!
 18.1500 +Check your system clock" >&2;}
 18.1501 +   { (exit 1); exit 1; }; }
 18.1502 +fi
 18.1503 +echo "$as_me:$LINENO: result: yes" >&5
 18.1504 +echo "${ECHO_T}yes" >&6
 18.1505 +test "$program_prefix" != NONE &&
 18.1506 +  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 18.1507 +# Use a double $ so make ignores it.
 18.1508 +test "$program_suffix" != NONE &&
 18.1509 +  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 18.1510 +# Double any \ or $.  echo might interpret backslashes.
 18.1511 +# By default was `s,x,x', remove it if useless.
 18.1512 +cat <<\_ACEOF >conftest.sed
 18.1513 +s/[\\$]/&&/g;s/;s,x,x,$//
 18.1514 +_ACEOF
 18.1515 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 18.1516 +rm conftest.sed
 18.1517 +
 18.1518 +
 18.1519 +# expand $ac_aux_dir to an absolute path
 18.1520 +am_aux_dir=`cd $ac_aux_dir && pwd`
 18.1521 +
 18.1522 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 18.1523 +# Use eval to expand $SHELL
 18.1524 +if eval "$MISSING --run true"; then
 18.1525 +  am_missing_run="$MISSING --run "
 18.1526 +else
 18.1527 +  am_missing_run=
 18.1528 +  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 18.1529 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 18.1530 +fi
 18.1531 +
 18.1532 +for ac_prog in gawk mawk nawk awk
 18.1533 +do
 18.1534 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 18.1535 +set dummy $ac_prog; ac_word=$2
 18.1536 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1537 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1538 +if test "${ac_cv_prog_AWK+set}" = set; then
 18.1539 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1540 +else
 18.1541 +  if test -n "$AWK"; then
 18.1542 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 18.1543 +else
 18.1544 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1545 +for as_dir in $PATH
 18.1546 +do
 18.1547 +  IFS=$as_save_IFS
 18.1548 +  test -z "$as_dir" && as_dir=.
 18.1549 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1550 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1551 +    ac_cv_prog_AWK="$ac_prog"
 18.1552 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1553 +    break 2
 18.1554 +  fi
 18.1555 +done
 18.1556 +done
 18.1557 +
 18.1558 +fi
 18.1559 +fi
 18.1560 +AWK=$ac_cv_prog_AWK
 18.1561 +if test -n "$AWK"; then
 18.1562 +  echo "$as_me:$LINENO: result: $AWK" >&5
 18.1563 +echo "${ECHO_T}$AWK" >&6
 18.1564 +else
 18.1565 +  echo "$as_me:$LINENO: result: no" >&5
 18.1566 +echo "${ECHO_T}no" >&6
 18.1567 +fi
 18.1568 +
 18.1569 +  test -n "$AWK" && break
 18.1570 +done
 18.1571 +
 18.1572 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 18.1573 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 18.1574 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 18.1575 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 18.1576 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1577 +else
 18.1578 +  cat >conftest.make <<\_ACEOF
 18.1579 +all:
 18.1580 +	@echo 'ac_maketemp="$(MAKE)"'
 18.1581 +_ACEOF
 18.1582 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 18.1583 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 18.1584 +if test -n "$ac_maketemp"; then
 18.1585 +  eval ac_cv_prog_make_${ac_make}_set=yes
 18.1586 +else
 18.1587 +  eval ac_cv_prog_make_${ac_make}_set=no
 18.1588 +fi
 18.1589 +rm -f conftest.make
 18.1590 +fi
 18.1591 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 18.1592 +  echo "$as_me:$LINENO: result: yes" >&5
 18.1593 +echo "${ECHO_T}yes" >&6
 18.1594 +  SET_MAKE=
 18.1595 +else
 18.1596 +  echo "$as_me:$LINENO: result: no" >&5
 18.1597 +echo "${ECHO_T}no" >&6
 18.1598 +  SET_MAKE="MAKE=${MAKE-make}"
 18.1599 +fi
 18.1600 +
 18.1601 +rm -rf .tst 2>/dev/null
 18.1602 +mkdir .tst 2>/dev/null
 18.1603 +if test -d .tst; then
 18.1604 +  am__leading_dot=.
 18.1605 +else
 18.1606 +  am__leading_dot=_
 18.1607 +fi
 18.1608 +rmdir .tst 2>/dev/null
 18.1609 +
 18.1610 + # test to see if srcdir already configured
 18.1611 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
 18.1612 +   test -f $srcdir/config.status; then
 18.1613 +  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 18.1614 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 18.1615 +   { (exit 1); exit 1; }; }
 18.1616 +fi
 18.1617 +
 18.1618 +# test whether we have cygpath
 18.1619 +if test -z "$CYGPATH_W"; then
 18.1620 +  if (cygpath --version) >/dev/null 2>/dev/null; then
 18.1621 +    CYGPATH_W='cygpath -w'
 18.1622 +  else
 18.1623 +    CYGPATH_W=echo
 18.1624 +  fi
 18.1625 +fi
 18.1626 +
 18.1627 +
 18.1628 +# Define the identity of the package.
 18.1629 + PACKAGE='masqmail'
 18.1630 + VERSION='0.2.21'
 18.1631 +
 18.1632 +
 18.1633 +cat >>confdefs.h <<_ACEOF
 18.1634 +#define PACKAGE "$PACKAGE"
 18.1635 +_ACEOF
 18.1636 +
 18.1637 +
 18.1638 +cat >>confdefs.h <<_ACEOF
 18.1639 +#define VERSION "$VERSION"
 18.1640 +_ACEOF
 18.1641 +
 18.1642 +# Some tools Automake needs.
 18.1643 +
 18.1644 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 18.1645 +
 18.1646 +
 18.1647 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 18.1648 +
 18.1649 +
 18.1650 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 18.1651 +
 18.1652 +
 18.1653 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 18.1654 +
 18.1655 +
 18.1656 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 18.1657 +
 18.1658 +
 18.1659 +AMTAR=${AMTAR-"${am_missing_run}tar"}
 18.1660 +
 18.1661 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
 18.1662 +
 18.1663 +# Installed binaries are usually stripped using `strip' when the user
 18.1664 +# run `make install-strip'.  However `strip' might not be the right
 18.1665 +# tool to use in cross-compilation environments, therefore Automake
 18.1666 +# will honor the `STRIP' environment variable to overrule this program.
 18.1667 +if test "$cross_compiling" != no; then
 18.1668 +  if test -n "$ac_tool_prefix"; then
 18.1669 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 18.1670 +set dummy ${ac_tool_prefix}strip; ac_word=$2
 18.1671 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1672 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1673 +if test "${ac_cv_prog_STRIP+set}" = set; then
 18.1674 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1675 +else
 18.1676 +  if test -n "$STRIP"; then
 18.1677 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 18.1678 +else
 18.1679 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1680 +for as_dir in $PATH
 18.1681 +do
 18.1682 +  IFS=$as_save_IFS
 18.1683 +  test -z "$as_dir" && as_dir=.
 18.1684 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1685 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1686 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 18.1687 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1688 +    break 2
 18.1689 +  fi
 18.1690 +done
 18.1691 +done
 18.1692 +
 18.1693 +fi
 18.1694 +fi
 18.1695 +STRIP=$ac_cv_prog_STRIP
 18.1696 +if test -n "$STRIP"; then
 18.1697 +  echo "$as_me:$LINENO: result: $STRIP" >&5
 18.1698 +echo "${ECHO_T}$STRIP" >&6
 18.1699 +else
 18.1700 +  echo "$as_me:$LINENO: result: no" >&5
 18.1701 +echo "${ECHO_T}no" >&6
 18.1702 +fi
 18.1703 +
 18.1704 +fi
 18.1705 +if test -z "$ac_cv_prog_STRIP"; then
 18.1706 +  ac_ct_STRIP=$STRIP
 18.1707 +  # Extract the first word of "strip", so it can be a program name with args.
 18.1708 +set dummy strip; ac_word=$2
 18.1709 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1710 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1711 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 18.1712 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1713 +else
 18.1714 +  if test -n "$ac_ct_STRIP"; then
 18.1715 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 18.1716 +else
 18.1717 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1718 +for as_dir in $PATH
 18.1719 +do
 18.1720 +  IFS=$as_save_IFS
 18.1721 +  test -z "$as_dir" && as_dir=.
 18.1722 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1723 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1724 +    ac_cv_prog_ac_ct_STRIP="strip"
 18.1725 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1726 +    break 2
 18.1727 +  fi
 18.1728 +done
 18.1729 +done
 18.1730 +
 18.1731 +  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 18.1732 +fi
 18.1733 +fi
 18.1734 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 18.1735 +if test -n "$ac_ct_STRIP"; then
 18.1736 +  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 18.1737 +echo "${ECHO_T}$ac_ct_STRIP" >&6
 18.1738 +else
 18.1739 +  echo "$as_me:$LINENO: result: no" >&5
 18.1740 +echo "${ECHO_T}no" >&6
 18.1741 +fi
 18.1742 +
 18.1743 +  STRIP=$ac_ct_STRIP
 18.1744 +else
 18.1745 +  STRIP="$ac_cv_prog_STRIP"
 18.1746 +fi
 18.1747 +
 18.1748 +fi
 18.1749 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 18.1750 +
 18.1751 +# We need awk for the "check" target.  The system "awk" is bad on
 18.1752 +# some platforms.
 18.1753 +
 18.1754 +
 18.1755 +
 18.1756 +
 18.1757 +
 18.1758 +
 18.1759 +
 18.1760 +
 18.1761 +ac_ext=c
 18.1762 +ac_cpp='$CPP $CPPFLAGS'
 18.1763 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 18.1764 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 18.1765 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 18.1766 +if test -n "$ac_tool_prefix"; then
 18.1767 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 18.1768 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
 18.1769 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1770 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1771 +if test "${ac_cv_prog_CC+set}" = set; then
 18.1772 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1773 +else
 18.1774 +  if test -n "$CC"; then
 18.1775 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 18.1776 +else
 18.1777 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1778 +for as_dir in $PATH
 18.1779 +do
 18.1780 +  IFS=$as_save_IFS
 18.1781 +  test -z "$as_dir" && as_dir=.
 18.1782 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1783 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1784 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 18.1785 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1786 +    break 2
 18.1787 +  fi
 18.1788 +done
 18.1789 +done
 18.1790 +
 18.1791 +fi
 18.1792 +fi
 18.1793 +CC=$ac_cv_prog_CC
 18.1794 +if test -n "$CC"; then
 18.1795 +  echo "$as_me:$LINENO: result: $CC" >&5
 18.1796 +echo "${ECHO_T}$CC" >&6
 18.1797 +else
 18.1798 +  echo "$as_me:$LINENO: result: no" >&5
 18.1799 +echo "${ECHO_T}no" >&6
 18.1800 +fi
 18.1801 +
 18.1802 +fi
 18.1803 +if test -z "$ac_cv_prog_CC"; then
 18.1804 +  ac_ct_CC=$CC
 18.1805 +  # Extract the first word of "gcc", so it can be a program name with args.
 18.1806 +set dummy gcc; ac_word=$2
 18.1807 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1808 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1809 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 18.1810 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1811 +else
 18.1812 +  if test -n "$ac_ct_CC"; then
 18.1813 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 18.1814 +else
 18.1815 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1816 +for as_dir in $PATH
 18.1817 +do
 18.1818 +  IFS=$as_save_IFS
 18.1819 +  test -z "$as_dir" && as_dir=.
 18.1820 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1821 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1822 +    ac_cv_prog_ac_ct_CC="gcc"
 18.1823 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1824 +    break 2
 18.1825 +  fi
 18.1826 +done
 18.1827 +done
 18.1828 +
 18.1829 +fi
 18.1830 +fi
 18.1831 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 18.1832 +if test -n "$ac_ct_CC"; then
 18.1833 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 18.1834 +echo "${ECHO_T}$ac_ct_CC" >&6
 18.1835 +else
 18.1836 +  echo "$as_me:$LINENO: result: no" >&5
 18.1837 +echo "${ECHO_T}no" >&6
 18.1838 +fi
 18.1839 +
 18.1840 +  CC=$ac_ct_CC
 18.1841 +else
 18.1842 +  CC="$ac_cv_prog_CC"
 18.1843 +fi
 18.1844 +
 18.1845 +if test -z "$CC"; then
 18.1846 +  if test -n "$ac_tool_prefix"; then
 18.1847 +  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 18.1848 +set dummy ${ac_tool_prefix}cc; ac_word=$2
 18.1849 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1850 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1851 +if test "${ac_cv_prog_CC+set}" = set; then
 18.1852 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1853 +else
 18.1854 +  if test -n "$CC"; then
 18.1855 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 18.1856 +else
 18.1857 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1858 +for as_dir in $PATH
 18.1859 +do
 18.1860 +  IFS=$as_save_IFS
 18.1861 +  test -z "$as_dir" && as_dir=.
 18.1862 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1863 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1864 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
 18.1865 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1866 +    break 2
 18.1867 +  fi
 18.1868 +done
 18.1869 +done
 18.1870 +
 18.1871 +fi
 18.1872 +fi
 18.1873 +CC=$ac_cv_prog_CC
 18.1874 +if test -n "$CC"; then
 18.1875 +  echo "$as_me:$LINENO: result: $CC" >&5
 18.1876 +echo "${ECHO_T}$CC" >&6
 18.1877 +else
 18.1878 +  echo "$as_me:$LINENO: result: no" >&5
 18.1879 +echo "${ECHO_T}no" >&6
 18.1880 +fi
 18.1881 +
 18.1882 +fi
 18.1883 +if test -z "$ac_cv_prog_CC"; then
 18.1884 +  ac_ct_CC=$CC
 18.1885 +  # Extract the first word of "cc", so it can be a program name with args.
 18.1886 +set dummy cc; ac_word=$2
 18.1887 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1888 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1889 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 18.1890 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1891 +else
 18.1892 +  if test -n "$ac_ct_CC"; then
 18.1893 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 18.1894 +else
 18.1895 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1896 +for as_dir in $PATH
 18.1897 +do
 18.1898 +  IFS=$as_save_IFS
 18.1899 +  test -z "$as_dir" && as_dir=.
 18.1900 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1901 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1902 +    ac_cv_prog_ac_ct_CC="cc"
 18.1903 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1904 +    break 2
 18.1905 +  fi
 18.1906 +done
 18.1907 +done
 18.1908 +
 18.1909 +fi
 18.1910 +fi
 18.1911 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 18.1912 +if test -n "$ac_ct_CC"; then
 18.1913 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 18.1914 +echo "${ECHO_T}$ac_ct_CC" >&6
 18.1915 +else
 18.1916 +  echo "$as_me:$LINENO: result: no" >&5
 18.1917 +echo "${ECHO_T}no" >&6
 18.1918 +fi
 18.1919 +
 18.1920 +  CC=$ac_ct_CC
 18.1921 +else
 18.1922 +  CC="$ac_cv_prog_CC"
 18.1923 +fi
 18.1924 +
 18.1925 +fi
 18.1926 +if test -z "$CC"; then
 18.1927 +  # Extract the first word of "cc", so it can be a program name with args.
 18.1928 +set dummy cc; ac_word=$2
 18.1929 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1930 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1931 +if test "${ac_cv_prog_CC+set}" = set; then
 18.1932 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1933 +else
 18.1934 +  if test -n "$CC"; then
 18.1935 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 18.1936 +else
 18.1937 +  ac_prog_rejected=no
 18.1938 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1939 +for as_dir in $PATH
 18.1940 +do
 18.1941 +  IFS=$as_save_IFS
 18.1942 +  test -z "$as_dir" && as_dir=.
 18.1943 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.1944 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.1945 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 18.1946 +       ac_prog_rejected=yes
 18.1947 +       continue
 18.1948 +     fi
 18.1949 +    ac_cv_prog_CC="cc"
 18.1950 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.1951 +    break 2
 18.1952 +  fi
 18.1953 +done
 18.1954 +done
 18.1955 +
 18.1956 +if test $ac_prog_rejected = yes; then
 18.1957 +  # We found a bogon in the path, so make sure we never use it.
 18.1958 +  set dummy $ac_cv_prog_CC
 18.1959 +  shift
 18.1960 +  if test $# != 0; then
 18.1961 +    # We chose a different compiler from the bogus one.
 18.1962 +    # However, it has the same basename, so the bogon will be chosen
 18.1963 +    # first if we set CC to just the basename; use the full file name.
 18.1964 +    shift
 18.1965 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 18.1966 +  fi
 18.1967 +fi
 18.1968 +fi
 18.1969 +fi
 18.1970 +CC=$ac_cv_prog_CC
 18.1971 +if test -n "$CC"; then
 18.1972 +  echo "$as_me:$LINENO: result: $CC" >&5
 18.1973 +echo "${ECHO_T}$CC" >&6
 18.1974 +else
 18.1975 +  echo "$as_me:$LINENO: result: no" >&5
 18.1976 +echo "${ECHO_T}no" >&6
 18.1977 +fi
 18.1978 +
 18.1979 +fi
 18.1980 +if test -z "$CC"; then
 18.1981 +  if test -n "$ac_tool_prefix"; then
 18.1982 +  for ac_prog in cl
 18.1983 +  do
 18.1984 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 18.1985 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 18.1986 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.1987 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.1988 +if test "${ac_cv_prog_CC+set}" = set; then
 18.1989 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.1990 +else
 18.1991 +  if test -n "$CC"; then
 18.1992 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 18.1993 +else
 18.1994 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.1995 +for as_dir in $PATH
 18.1996 +do
 18.1997 +  IFS=$as_save_IFS
 18.1998 +  test -z "$as_dir" && as_dir=.
 18.1999 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.2000 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.2001 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 18.2002 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.2003 +    break 2
 18.2004 +  fi
 18.2005 +done
 18.2006 +done
 18.2007 +
 18.2008 +fi
 18.2009 +fi
 18.2010 +CC=$ac_cv_prog_CC
 18.2011 +if test -n "$CC"; then
 18.2012 +  echo "$as_me:$LINENO: result: $CC" >&5
 18.2013 +echo "${ECHO_T}$CC" >&6
 18.2014 +else
 18.2015 +  echo "$as_me:$LINENO: result: no" >&5
 18.2016 +echo "${ECHO_T}no" >&6
 18.2017 +fi
 18.2018 +
 18.2019 +    test -n "$CC" && break
 18.2020 +  done
 18.2021 +fi
 18.2022 +if test -z "$CC"; then
 18.2023 +  ac_ct_CC=$CC
 18.2024 +  for ac_prog in cl
 18.2025 +do
 18.2026 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 18.2027 +set dummy $ac_prog; ac_word=$2
 18.2028 +echo "$as_me:$LINENO: checking for $ac_word" >&5
 18.2029 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 18.2030 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 18.2031 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.2032 +else
 18.2033 +  if test -n "$ac_ct_CC"; then
 18.2034 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 18.2035 +else
 18.2036 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18.2037 +for as_dir in $PATH
 18.2038 +do
 18.2039 +  IFS=$as_save_IFS
 18.2040 +  test -z "$as_dir" && as_dir=.
 18.2041 +  for ac_exec_ext in '' $ac_executable_extensions; do
 18.2042 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 18.2043 +    ac_cv_prog_ac_ct_CC="$ac_prog"
 18.2044 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 18.2045 +    break 2
 18.2046 +  fi
 18.2047 +done
 18.2048 +done
 18.2049 +
 18.2050 +fi
 18.2051 +fi
 18.2052 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 18.2053 +if test -n "$ac_ct_CC"; then
 18.2054 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 18.2055 +echo "${ECHO_T}$ac_ct_CC" >&6
 18.2056 +else
 18.2057 +  echo "$as_me:$LINENO: result: no" >&5
 18.2058 +echo "${ECHO_T}no" >&6
 18.2059 +fi
 18.2060 +
 18.2061 +  test -n "$ac_ct_CC" && break
 18.2062 +done
 18.2063 +
 18.2064 +  CC=$ac_ct_CC
 18.2065 +fi
 18.2066 +
 18.2067 +fi
 18.2068 +
 18.2069 +
 18.2070 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 18.2071 +See \`config.log' for more details." >&5
 18.2072 +echo "$as_me: error: no acceptable C compiler found in \$PATH
 18.2073 +See \`config.log' for more details." >&2;}
 18.2074 +   { (exit 1); exit 1; }; }
 18.2075 +
 18.2076 +# Provide some information about the compiler.
 18.2077 +echo "$as_me:$LINENO:" \
 18.2078 +     "checking for C compiler version" >&5
 18.2079 +ac_compiler=`set X $ac_compile; echo $2`
 18.2080 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 18.2081 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
 18.2082 +  ac_status=$?
 18.2083 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2084 +  (exit $ac_status); }
 18.2085 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 18.2086 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
 18.2087 +  ac_status=$?
 18.2088 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2089 +  (exit $ac_status); }
 18.2090 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 18.2091 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
 18.2092 +  ac_status=$?
 18.2093 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2094 +  (exit $ac_status); }
 18.2095 +
 18.2096 +cat >conftest.$ac_ext <<_ACEOF
 18.2097 +/* confdefs.h.  */
 18.2098 +_ACEOF
 18.2099 +cat confdefs.h >>conftest.$ac_ext
 18.2100 +cat >>conftest.$ac_ext <<_ACEOF
 18.2101 +/* end confdefs.h.  */
 18.2102 +
 18.2103 +int
 18.2104 +main ()
 18.2105 +{
 18.2106 +
 18.2107 +  ;
 18.2108 +  return 0;
 18.2109 +}
 18.2110 +_ACEOF
 18.2111 +ac_clean_files_save=$ac_clean_files
 18.2112 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
 18.2113 +# Try to create an executable without -o first, disregard a.out.
 18.2114 +# It will help us diagnose broken compilers, and finding out an intuition
 18.2115 +# of exeext.
 18.2116 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 18.2117 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 18.2118 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 18.2119 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 18.2120 +  (eval $ac_link_default) 2>&5
 18.2121 +  ac_status=$?
 18.2122 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2123 +  (exit $ac_status); }; then
 18.2124 +  # Find the output, starting from the most likely.  This scheme is
 18.2125 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 18.2126 +# resort.
 18.2127 +
 18.2128 +# Be careful to initialize this variable, since it used to be cached.
 18.2129 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 18.2130 +ac_cv_exeext=
 18.2131 +# b.out is created by i960 compilers.
 18.2132 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 18.2133 +do
 18.2134 +  test -f "$ac_file" || continue
 18.2135 +  case $ac_file in
 18.2136 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 18.2137 +	;;
 18.2138 +    conftest.$ac_ext )
 18.2139 +	# This is the source file.
 18.2140 +	;;
 18.2141 +    [ab].out )
 18.2142 +	# We found the default executable, but exeext='' is most
 18.2143 +	# certainly right.
 18.2144 +	break;;
 18.2145 +    *.* )
 18.2146 +	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 18.2147 +	# FIXME: I believe we export ac_cv_exeext for Libtool,
 18.2148 +	# but it would be cool to find out if it's true.  Does anybody
 18.2149 +	# maintain Libtool? --akim.
 18.2150 +	export ac_cv_exeext
 18.2151 +	break;;
 18.2152 +    * )
 18.2153 +	break;;
 18.2154 +  esac
 18.2155 +done
 18.2156 +else
 18.2157 +  echo "$as_me: failed program was:" >&5
 18.2158 +sed 's/^/| /' conftest.$ac_ext >&5
 18.2159 +
 18.2160 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 18.2161 +See \`config.log' for more details." >&5
 18.2162 +echo "$as_me: error: C compiler cannot create executables
 18.2163 +See \`config.log' for more details." >&2;}
 18.2164 +   { (exit 77); exit 77; }; }
 18.2165 +fi
 18.2166 +
 18.2167 +ac_exeext=$ac_cv_exeext
 18.2168 +echo "$as_me:$LINENO: result: $ac_file" >&5
 18.2169 +echo "${ECHO_T}$ac_file" >&6
 18.2170 +
 18.2171 +# Check the compiler produces executables we can run.  If not, either
 18.2172 +# the compiler is broken, or we cross compile.
 18.2173 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 18.2174 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 18.2175 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 18.2176 +# If not cross compiling, check that we can run a simple program.
 18.2177 +if test "$cross_compiling" != yes; then
 18.2178 +  if { ac_try='./$ac_file'
 18.2179 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2180 +  (eval $ac_try) 2>&5
 18.2181 +  ac_status=$?
 18.2182 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2183 +  (exit $ac_status); }; }; then
 18.2184 +    cross_compiling=no
 18.2185 +  else
 18.2186 +    if test "$cross_compiling" = maybe; then
 18.2187 +	cross_compiling=yes
 18.2188 +    else
 18.2189 +	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 18.2190 +If you meant to cross compile, use \`--host'.
 18.2191 +See \`config.log' for more details." >&5
 18.2192 +echo "$as_me: error: cannot run C compiled programs.
 18.2193 +If you meant to cross compile, use \`--host'.
 18.2194 +See \`config.log' for more details." >&2;}
 18.2195 +   { (exit 1); exit 1; }; }
 18.2196 +    fi
 18.2197 +  fi
 18.2198 +fi
 18.2199 +echo "$as_me:$LINENO: result: yes" >&5
 18.2200 +echo "${ECHO_T}yes" >&6
 18.2201 +
 18.2202 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
 18.2203 +ac_clean_files=$ac_clean_files_save
 18.2204 +# Check the compiler produces executables we can run.  If not, either
 18.2205 +# the compiler is broken, or we cross compile.
 18.2206 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 18.2207 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 18.2208 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
 18.2209 +echo "${ECHO_T}$cross_compiling" >&6
 18.2210 +
 18.2211 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
 18.2212 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 18.2213 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 18.2214 +  (eval $ac_link) 2>&5
 18.2215 +  ac_status=$?
 18.2216 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2217 +  (exit $ac_status); }; then
 18.2218 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 18.2219 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 18.2220 +# work properly (i.e., refer to `conftest.exe'), while it won't with
 18.2221 +# `rm'.
 18.2222 +for ac_file in conftest.exe conftest conftest.*; do
 18.2223 +  test -f "$ac_file" || continue
 18.2224 +  case $ac_file in
 18.2225 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 18.2226 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 18.2227 +	  export ac_cv_exeext
 18.2228 +	  break;;
 18.2229 +    * ) break;;
 18.2230 +  esac
 18.2231 +done
 18.2232 +else
 18.2233 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 18.2234 +See \`config.log' for more details." >&5
 18.2235 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 18.2236 +See \`config.log' for more details." >&2;}
 18.2237 +   { (exit 1); exit 1; }; }
 18.2238 +fi
 18.2239 +
 18.2240 +rm -f conftest$ac_cv_exeext
 18.2241 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 18.2242 +echo "${ECHO_T}$ac_cv_exeext" >&6
 18.2243 +
 18.2244 +rm -f conftest.$ac_ext
 18.2245 +EXEEXT=$ac_cv_exeext
 18.2246 +ac_exeext=$EXEEXT
 18.2247 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
 18.2248 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 18.2249 +if test "${ac_cv_objext+set}" = set; then
 18.2250 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.2251 +else
 18.2252 +  cat >conftest.$ac_ext <<_ACEOF
 18.2253 +/* confdefs.h.  */
 18.2254 +_ACEOF
 18.2255 +cat confdefs.h >>conftest.$ac_ext
 18.2256 +cat >>conftest.$ac_ext <<_ACEOF
 18.2257 +/* end confdefs.h.  */
 18.2258 +
 18.2259 +int
 18.2260 +main ()
 18.2261 +{
 18.2262 +
 18.2263 +  ;
 18.2264 +  return 0;
 18.2265 +}
 18.2266 +_ACEOF
 18.2267 +rm -f conftest.o conftest.obj
 18.2268 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18.2269 +  (eval $ac_compile) 2>&5
 18.2270 +  ac_status=$?
 18.2271 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2272 +  (exit $ac_status); }; then
 18.2273 +  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 18.2274 +  case $ac_file in
 18.2275 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 18.2276 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 18.2277 +       break;;
 18.2278 +  esac
 18.2279 +done
 18.2280 +else
 18.2281 +  echo "$as_me: failed program was:" >&5
 18.2282 +sed 's/^/| /' conftest.$ac_ext >&5
 18.2283 +
 18.2284 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 18.2285 +See \`config.log' for more details." >&5
 18.2286 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
 18.2287 +See \`config.log' for more details." >&2;}
 18.2288 +   { (exit 1); exit 1; }; }
 18.2289 +fi
 18.2290 +
 18.2291 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
 18.2292 +fi
 18.2293 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 18.2294 +echo "${ECHO_T}$ac_cv_objext" >&6
 18.2295 +OBJEXT=$ac_cv_objext
 18.2296 +ac_objext=$OBJEXT
 18.2297 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 18.2298 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 18.2299 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
 18.2300 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.2301 +else
 18.2302 +  cat >conftest.$ac_ext <<_ACEOF
 18.2303 +/* confdefs.h.  */
 18.2304 +_ACEOF
 18.2305 +cat confdefs.h >>conftest.$ac_ext
 18.2306 +cat >>conftest.$ac_ext <<_ACEOF
 18.2307 +/* end confdefs.h.  */
 18.2308 +
 18.2309 +int
 18.2310 +main ()
 18.2311 +{
 18.2312 +#ifndef __GNUC__
 18.2313 +       choke me
 18.2314 +#endif
 18.2315 +
 18.2316 +  ;
 18.2317 +  return 0;
 18.2318 +}
 18.2319 +_ACEOF
 18.2320 +rm -f conftest.$ac_objext
 18.2321 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18.2322 +  (eval $ac_compile) 2>conftest.er1
 18.2323 +  ac_status=$?
 18.2324 +  grep -v '^ *+' conftest.er1 >conftest.err
 18.2325 +  rm -f conftest.er1
 18.2326 +  cat conftest.err >&5
 18.2327 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2328 +  (exit $ac_status); } &&
 18.2329 +	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18.2330 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2331 +  (eval $ac_try) 2>&5
 18.2332 +  ac_status=$?
 18.2333 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2334 +  (exit $ac_status); }; } &&
 18.2335 +	 { ac_try='test -s conftest.$ac_objext'
 18.2336 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2337 +  (eval $ac_try) 2>&5
 18.2338 +  ac_status=$?
 18.2339 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2340 +  (exit $ac_status); }; }; then
 18.2341 +  ac_compiler_gnu=yes
 18.2342 +else
 18.2343 +  echo "$as_me: failed program was:" >&5
 18.2344 +sed 's/^/| /' conftest.$ac_ext >&5
 18.2345 +
 18.2346 +ac_compiler_gnu=no
 18.2347 +fi
 18.2348 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 18.2349 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
 18.2350 +
 18.2351 +fi
 18.2352 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 18.2353 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 18.2354 +GCC=`test $ac_compiler_gnu = yes && echo yes`
 18.2355 +ac_test_CFLAGS=${CFLAGS+set}
 18.2356 +ac_save_CFLAGS=$CFLAGS
 18.2357 +CFLAGS="-g"
 18.2358 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 18.2359 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 18.2360 +if test "${ac_cv_prog_cc_g+set}" = set; then
 18.2361 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.2362 +else
 18.2363 +  cat >conftest.$ac_ext <<_ACEOF
 18.2364 +/* confdefs.h.  */
 18.2365 +_ACEOF
 18.2366 +cat confdefs.h >>conftest.$ac_ext
 18.2367 +cat >>conftest.$ac_ext <<_ACEOF
 18.2368 +/* end confdefs.h.  */
 18.2369 +
 18.2370 +int
 18.2371 +main ()
 18.2372 +{
 18.2373 +
 18.2374 +  ;
 18.2375 +  return 0;
 18.2376 +}
 18.2377 +_ACEOF
 18.2378 +rm -f conftest.$ac_objext
 18.2379 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18.2380 +  (eval $ac_compile) 2>conftest.er1
 18.2381 +  ac_status=$?
 18.2382 +  grep -v '^ *+' conftest.er1 >conftest.err
 18.2383 +  rm -f conftest.er1
 18.2384 +  cat conftest.err >&5
 18.2385 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2386 +  (exit $ac_status); } &&
 18.2387 +	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18.2388 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2389 +  (eval $ac_try) 2>&5
 18.2390 +  ac_status=$?
 18.2391 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2392 +  (exit $ac_status); }; } &&
 18.2393 +	 { ac_try='test -s conftest.$ac_objext'
 18.2394 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2395 +  (eval $ac_try) 2>&5
 18.2396 +  ac_status=$?
 18.2397 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2398 +  (exit $ac_status); }; }; then
 18.2399 +  ac_cv_prog_cc_g=yes
 18.2400 +else
 18.2401 +  echo "$as_me: failed program was:" >&5
 18.2402 +sed 's/^/| /' conftest.$ac_ext >&5
 18.2403 +
 18.2404 +ac_cv_prog_cc_g=no
 18.2405 +fi
 18.2406 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 18.2407 +fi
 18.2408 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 18.2409 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 18.2410 +if test "$ac_test_CFLAGS" = set; then
 18.2411 +  CFLAGS=$ac_save_CFLAGS
 18.2412 +elif test $ac_cv_prog_cc_g = yes; then
 18.2413 +  if test "$GCC" = yes; then
 18.2414 +    CFLAGS="-g -O2"
 18.2415 +  else
 18.2416 +    CFLAGS="-g"
 18.2417 +  fi
 18.2418 +else
 18.2419 +  if test "$GCC" = yes; then
 18.2420 +    CFLAGS="-O2"
 18.2421 +  else
 18.2422 +    CFLAGS=
 18.2423 +  fi
 18.2424 +fi
 18.2425 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 18.2426 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 18.2427 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
 18.2428 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 18.2429 +else
 18.2430 +  ac_cv_prog_cc_stdc=no
 18.2431 +ac_save_CC=$CC
 18.2432 +cat >conftest.$ac_ext <<_ACEOF
 18.2433 +/* confdefs.h.  */
 18.2434 +_ACEOF
 18.2435 +cat confdefs.h >>conftest.$ac_ext
 18.2436 +cat >>conftest.$ac_ext <<_ACEOF
 18.2437 +/* end confdefs.h.  */
 18.2438 +#include <stdarg.h>
 18.2439 +#include <stdio.h>
 18.2440 +#include <sys/types.h>
 18.2441 +#include <sys/stat.h>
 18.2442 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 18.2443 +struct buf { int x; };
 18.2444 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
 18.2445 +static char *e (p, i)
 18.2446 +     char **p;
 18.2447 +     int i;
 18.2448 +{
 18.2449 +  return p[i];
 18.2450 +}
 18.2451 +static char *f (char * (*g) (char **, int), char **p, ...)
 18.2452 +{
 18.2453 +  char *s;
 18.2454 +  va_list v;
 18.2455 +  va_start (v,p);
 18.2456 +  s = g (p, va_arg (v,int));
 18.2457 +  va_end (v);
 18.2458 +  return s;
 18.2459 +}
 18.2460 +
 18.2461 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 18.2462 +   function prototypes and stuff, but not '\xHH' hex character constants.
 18.2463 +   These don't provoke an error unfortunately, instead are silently treated
 18.2464 +   as 'x'.  The following induces an error, until -std1 is added to get
 18.2465 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 18.2466 +   array size at least.  It's necessary to write '\x00'==0 to get something
 18.2467 +   that's true only with -std1.  */
 18.2468 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 18.2469 +
 18.2470 +int test (int i, double x);
 18.2471 +struct s1 {int (*f) (int a);};
 18.2472 +struct s2 {int (*f) (double a);};
 18.2473 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 18.2474 +int argc;
 18.2475 +char **argv;
 18.2476 +int
 18.2477 +main ()
 18.2478 +{
 18.2479 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 18.2480 +  ;
 18.2481 +  return 0;
 18.2482 +}
 18.2483 +_ACEOF
 18.2484 +# Don't try gcc -ansi; that turns off useful extensions and
 18.2485 +# breaks some systems' header files.
 18.2486 +# AIX			-qlanglvl=ansi
 18.2487 +# Ultrix and OSF/1	-std1
 18.2488 +# HP-UX 10.20 and later	-Ae
 18.2489 +# HP-UX older versions	-Aa -D_HPUX_SOURCE
 18.2490 +# SVR4			-Xc -D__EXTENSIONS__
 18.2491 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 18.2492 +do
 18.2493 +  CC="$ac_save_CC $ac_arg"
 18.2494 +  rm -f conftest.$ac_objext
 18.2495 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18.2496 +  (eval $ac_compile) 2>conftest.er1
 18.2497 +  ac_status=$?
 18.2498 +  grep -v '^ *+' conftest.er1 >conftest.err
 18.2499 +  rm -f conftest.er1
 18.2500 +  cat conftest.err >&5
 18.2501 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2502 +  (exit $ac_status); } &&
 18.2503 +	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18.2504 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2505 +  (eval $ac_try) 2>&5
 18.2506 +  ac_status=$?
 18.2507 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2508 +  (exit $ac_status); }; } &&
 18.2509 +	 { ac_try='test -s conftest.$ac_objext'
 18.2510 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2511 +  (eval $ac_try) 2>&5
 18.2512 +  ac_status=$?
 18.2513 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2514 +  (exit $ac_status); }; }; then
 18.2515 +  ac_cv_prog_cc_stdc=$ac_arg
 18.2516 +break
 18.2517 +else
 18.2518 +  echo "$as_me: failed program was:" >&5
 18.2519 +sed 's/^/| /' conftest.$ac_ext >&5
 18.2520 +
 18.2521 +fi
 18.2522 +rm -f conftest.err conftest.$ac_objext
 18.2523 +done
 18.2524 +rm -f conftest.$ac_ext conftest.$ac_objext
 18.2525 +CC=$ac_save_CC
 18.2526 +
 18.2527 +fi
 18.2528 +
 18.2529 +case "x$ac_cv_prog_cc_stdc" in
 18.2530 +  x|xno)
 18.2531 +    echo "$as_me:$LINENO: result: none needed" >&5
 18.2532 +echo "${ECHO_T}none needed" >&6 ;;
 18.2533 +  *)
 18.2534 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 18.2535 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 18.2536 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
 18.2537 +esac
 18.2538 +
 18.2539 +# Some people use a C++ compiler to compile C.  Since we use `exit',
 18.2540 +# in C++ we need to declare it.  In case someone uses the same compiler
 18.2541 +# for both compiling C and C++ we need to have the C++ compiler decide
 18.2542 +# the declaration of exit, since it's the most demanding environment.
 18.2543 +cat >conftest.$ac_ext <<_ACEOF
 18.2544 +#ifndef __cplusplus
 18.2545 +  choke me
 18.2546 +#endif
 18.2547 +_ACEOF
 18.2548 +rm -f conftest.$ac_objext
 18.2549 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18.2550 +  (eval $ac_compile) 2>conftest.er1
 18.2551 +  ac_status=$?
 18.2552 +  grep -v '^ *+' conftest.er1 >conftest.err
 18.2553 +  rm -f conftest.er1
 18.2554 +  cat conftest.err >&5
 18.2555 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2556 +  (exit $ac_status); } &&
 18.2557 +	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 18.2558 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2559 +  (eval $ac_try) 2>&5
 18.2560 +  ac_status=$?
 18.2561 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2562 +  (exit $ac_status); }; } &&
 18.2563 +	 { ac_try='test -s conftest.$ac_objext'
 18.2564 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 18.2565 +  (eval $ac_try) 2>&5
 18.2566 +  ac_status=$?
 18.2567 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18.2568 +  (exit $ac_status); }; }; then
 18.2569 +  for ac_declaration in \
 18.2570 +   '' \
 18.2571 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
 18.2572 +   'extern "C" void std::exit (int); using std::exit;' \
 18.2573 +   'extern "C" void exit (int) throw ();' \
 18.2574 +   'extern "C" void exit (int);' \
 18.2575 +   'void exit (int);'
 18.2576 +do
 18.2577 +  cat >conftest.$ac_ext <<_ACEOF
 18.2578 +/* confdefs.h.  *