OSDN Git Service

copy old 'master' branch (c3a8f31) just after test160101
authorHIRAOKA Kazuyuki <khi@users.sourceforge.jp>
Thu, 31 Mar 2016 08:46:08 +0000 (17:46 +0900)
committerHIRAOKA Kazuyuki <khi@users.sourceforge.jp>
Thu, 31 Mar 2016 08:47:06 +0000 (17:47 +0900)
94 files changed:
.gitignore [new file with mode: 0644]
AUTHORS [new file with mode: 0644]
COPYING [new file with mode: 0644]
ChangeLog [new file with mode: 0644]
INSTALL [new file with mode: 0644]
Makefile.am [new file with mode: 0644]
Makefile.in [new file with mode: 0644]
Makefile.old [new file with mode: 0644]
NEWS [new file with mode: 0644]
README [new file with mode: 0644]
acinclude.m4 [new file with mode: 0644]
aclocal.m4 [new file with mode: 0644]
action-lock.el [new file with mode: 0644]
bcomp.el [new file with mode: 0644]
bcomp.el.in [new file with mode: 0644]
cheat-font-lock.el [new file with mode: 0644]
config.guess [new file with mode: 0755]
config.sub [new file with mode: 0755]
configure [new file with mode: 0755]
configure.ac [new file with mode: 0644]
doc/CL-HOWM.ja.rd [new file with mode: 0644]
doc/ChangeLog [new file with mode: 0644]
doc/Makefile.am [new file with mode: 0644]
doc/Makefile.in [new file with mode: 0644]
doc/OLD.rd [new file with mode: 0644]
doc/README-j.html [new file with mode: 0644]
doc/README.html [new file with mode: 0644]
doc/README.ja.rd [new file with mode: 0644]
doc/README.rd [new file with mode: 0644]
doc/TUTORIAL.ja.rd [new file with mode: 0644]
doc/cat.png [new file with mode: 0644]
doc/come.png [new file with mode: 0644]
doc/go.png [new file with mode: 0644]
doc/index-j.html [new file with mode: 0644]
doc/index.html [new file with mode: 0644]
doc/menu.png [new file with mode: 0644]
doc/s-cat.png [new file with mode: 0644]
doc/s-menu.png [new file with mode: 0644]
doc/s-screen-shot.png [new file with mode: 0644]
doc/s-search.png [new file with mode: 0644]
doc/s-source.png [new file with mode: 0644]
doc/screen-shot.png [new file with mode: 0644]
doc/search.png [new file with mode: 0644]
doc/source.png [new file with mode: 0644]
doc/todo.png [new file with mode: 0644]
doc/updown.png [new file with mode: 0644]
elisp-comp [new file with mode: 0755]
en/0000-00-00-000000.txt [new file with mode: 0644]
en/ChangeLog [new file with mode: 0644]
en/Makefile.am [new file with mode: 0644]
en/Makefile.in [new file with mode: 0644]
ext/ChangeLog [new file with mode: 0644]
ext/Makefile.am [new file with mode: 0644]
ext/Makefile.in [new file with mode: 0644]
ext/hcal.rb [new file with mode: 0755]
ext/howm2 [new file with mode: 0755]
ext/howmkara [new file with mode: 0755]
ext/hsplit.rb [new file with mode: 0755]
gfunc.el [new file with mode: 0644]
honest-report.el [new file with mode: 0644]
howm-backend.el [new file with mode: 0644]
howm-common.el [new file with mode: 0644]
howm-date.el [new file with mode: 0644]
howm-lang-en.el [new file with mode: 0644]
howm-lang-ja.el [new file with mode: 0644]
howm-menu-en.el [new file with mode: 0644]
howm-menu-ja.el [new file with mode: 0644]
howm-menu.el [new file with mode: 0644]
howm-misc.el [new file with mode: 0644]
howm-mkmenu.el [new file with mode: 0644]
howm-mode.el [new file with mode: 0644]
howm-reminder.el [new file with mode: 0644]
howm-vars.el [new file with mode: 0644]
howm-version.el [new file with mode: 0644]
howm-version.el.in [new file with mode: 0644]
howm-view.el [new file with mode: 0644]
howm.el [new file with mode: 0644]
illusion.el [new file with mode: 0644]
install-sh [new file with mode: 0755]
ja/0000-00-00-000000.txt [new file with mode: 0644]
ja/ChangeLog [new file with mode: 0644]
ja/Makefile.am [new file with mode: 0644]
ja/Makefile.in [new file with mode: 0644]
missing [new file with mode: 0755]
mkinstalldirs [new file with mode: 0755]
riffle.el [new file with mode: 0644]
sample/ChangeLog [new file with mode: 0644]
sample/Makefile.am [new file with mode: 0644]
sample/Makefile.in [new file with mode: 0644]
sample/bug-report.txt [new file with mode: 0644]
sample/dot.emacs [new file with mode: 0644]
sample/search.txt [new file with mode: 0644]
sample/top.txt [new file with mode: 0644]
test.bat [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..4c4b0a7
--- /dev/null
@@ -0,0 +1,7 @@
+*.elc
+*.tar.gz
+Makefile
+config.log
+config.status
+elc-stamp
+autom4te.cache
diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/COPYING b/COPYING
new file mode 100644 (file)
index 0000000..2233535
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,340 @@
+                   GNU GENERAL PUBLIC LICENSE
+                      Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+     51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                           Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+\f
+                   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+\f
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+\f
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+\f
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                           NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                    END OF TERMS AND CONDITIONS
+\f
+           How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year  name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..85c1066
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,2356 @@
+2016-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.ac: test version
+
+2016-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: change the order of "require"s for correct dependencies
+
+       * action-lock.el: require howm-common for avoiding warning
+
+       * riffle.el: ditto.
+
+       * illusion.el: ditto.
+
+       * howm-lang-en.el: ditto.
+
+       * howm-lang-ja.el: ditto.
+
+       * howm-common.el (howm-insert-file-contents):
+       moved from howm-backend.el for yarot13-insert-file-contents
+
+       * howm-vars.el (howm-menu-action-arg): moved from howm-menu.el
+       for avoiding reference to free variable in howm-lang-*.el
+
+       * howm-backend.el (howm-exclude-p): moved from howm-common.el
+
+       * howm-mode.el (howm-history): moved from howm-common.el
+
+       * howm-common.el (howm-fontify): useless now
+
+2016-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * cheat-font-lock.el (cheat-font-lock-compiled-body):
+       avoid warning in byte-compilation
+       "... is not known to be defined."
+
+       * howm-date.el (howm-action-lock-date-search): ditto.
+       "function ... used to take 0+ arguments, now takes 1"
+
+       * howm-misc.el (howm-ime-fix): ditto.
+       delete obsolete fix for avoiding
+       "`howm-raise-in-minor-mode-map-alist' is not known to be defined."
+
+       * howm-vars.el (howm-dtime-format): ditto.
+       moved from howm-mode.el for avoiding
+       "... is not known to be defined." in `howm-write-log'.
+
+       * howm-common.el (howm-normalize-file-name): ditto.
+       moved from howm-misc.el for avoiding "not known to be defined."
+
+       * howm-vars.el (howm-excluded-file-regexp): ditto.
+
+2016-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: update copyright years
+
+2015-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: use cl-lib instead of cl for avoiding warnings
+
+       * howm-cl.el: howm-cl-* are now useless.
+
+2015-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el
+       (howm-real-grep-single): use cl-labels for avoiding warnings
+       (howm-real-grep-multi): ditto.
+
+       * howm-view.el (howm-item-list-rangeset, tests): ditto.
+
+       * howm-reminder.el (howm-modify-form): ditto.
+
+       * howm-mode.el (howm-normalize): ditto.
+
+       * howm-misc.el (howm-basic-save-buffer): ditto.
+
+       * howm-common.el (howm-with-need, howm-call-process*): ditto.
+
+2015-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.ac: version 1.4.3
+
+2015-12-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.ac: version 1.4.3rc1
+
+       * howm-mode.el (howm-list-around): fix. howm-list-title didn't work.
+
+2015-05-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.ac: test version
+
+       * howm-common.el (howm-subdirectory-p):
+       check "local/remote" for avoiding unnecessary password prompting
+       (cf. http://howm.osdn.jp/cgi-bin/hiki/hiki.cgi?Recentf)
+       thx > Koie-san (hide at koie.org)
+
+       * howm-misc.el (howm-normalize-file-name): ditto.
+
+2015-01-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       update autotools
+
+2015-01-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-view-grep-default-option):
+       fix (void-function ed) error in git-head emacs (d5e3922)
+
+       * configure: use autoconf 2.69 instead of 2.67
+
+       * howm.el: update copyright years
+
+       * INSTALL: fix file mode
+
+       * COPYING: ditto.
+
+2013-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.2
+
+2013-12-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.2rc1
+
+2013-03-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-normalize-file-name): fix.
+       howm-mode was not set at C-c , c (howm-create)
+       if howm-directory is placed under symbolic links.
+       thx > dareka 2013-03-20
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2013-03-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+        * configure.in: test version
+
+       * gfunc.el (gfunc-with): fix an error in emacs 24.3.1 without byte-compilation.
+       "Can't detect type of ((:nest /home/.../) (%menu%) t) for howm-folder-grep-internal."
+       thx > dareka 2013-03-17
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2013-01-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       test version
+       - update copyright years
+       - use "declare" instead of "lisp-indent-hook"
+
+2012-12-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       test version
+
+2012-12-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-auto-mode-interpreter-regexp): use howm-if-unbound macro
+
+       * howm-mode.el (howm-keyword-add): fix `save-excursion' defeated by `set-buffer'
+
+       * howm-misc.el (howm-random-walk-summary): avoid non-interactive next-line
+
+       * howm-common.el (howm-goto-line): avoid non-interactive goto-line
+
+       * riffle.el (riffle-contents-to-summary, riffle-set-place): ditto.
+
+       * howm-reminder.el (howm-reminder-goto-today): ditto.
+
+       * howm-view.el (howm-view-summary-shell-command): ditto.
+
+       * howm-mode.el (howm-keyword-add-items): fix reference to free variable `dir'
+
+       * howm-backend.el (howm-open-directory-independently): ditto.
+
+2012-12-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el
+       (howm-item-list-rangeset, howm-item-list-filter): cleaned
+       (howm-rangeset-belong-p): add "almighty" for the above cleaning
+       (howm-rangeset-hit-indicator): added for the above cleaning
+       (howm-rangeset-hit!, howm-rangeset-hit-p): ditto.
+
+2012-12-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el
+       (howm-entitle-items-style1): improve efficiency of howm-list-all
+       by avoiding redundant grep calls.
+       thx > dareka 2012-12-10, 2012-12-15, 2012-12-16, 2012-12-28
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+       (howm-item-list-filter): ditto
+
+2012-12-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el
+       (howm-entitle-items-style2): add features to summary buffer
+       when howm-view-list-title-type is 2.
+       - min/max length of titles
+       - independent title lines
+       - delete title header "="
+       thx > Albert-san (areiner at tph.tuwien.ac.at)
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2012/000107.html
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2012/000111.html
+       (howm-entitle-items-style2-max-length): ditto.
+       (howm-entitle-items-style2-format): ditto.
+       (howm-entitle-items-style2-title-line): ditto.
+       (howm-view-summary-font-lock-keywords): ditto.
+       (howm-item-titles): ditto.
+       (howm-entitle-items-style1): delete redundant code
+       (howm-view-list-title): ditto.
+       howm-view-list-title1 and howm-view-list-title2 are deleted.
+
+2012-12-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.1
+
+       * howm-common.el (howm-get-buffer-for-file):
+       add comment on "File XXX no longer exists!" message.
+       thx > Albert-san (areiner at tph.tuwien.ac.at)
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2012/000103.html
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2012/000106.html
+
+2012-09-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-keyword-file): re-generate the keyword list
+       if .howm-keys doesn't exist.
+       thx > Albert-san (areiner at tph.tuwien.ac.at)
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2012/000099.html
+
+       * howm-mode.el (howm-keyword-add-items): ditto.
+
+       * howm-backend.el (howm-open-directory-independently): ditto.
+
+       * howm-menu.el (howm-menu-copy-skel): fix.
+       scan keywords in the initial menu file.
+
+2012-09-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2012-09-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el
+       (howm-view-summary-format): fix.
+       keep the position of the field separator "|" in summary mode
+       even when *.txt and *.howm are mixed.
+       thx > http://toro.2ch.net/test/read.cgi/unix/1141892764/940
+       (howm-view-summary-font-lock-keywords): ditto.
+
+2012-08-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.0
+
+2012-02-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.0rc2
+
+       * howm-misc.el
+       (howm-auto-mode): fix.
+       inhibit-first-line-modes-regexps and inhibit-first-line-modes-suffixes
+       are obsolete in emacs-24.
+       thx > Sasaki Kan san (sasaki at fcc.ad.jp)
+       thx > dareka 2012-02-12, 2012-02-17
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+       (howm-if-unbound): ditto.
+
+2012-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: update copyright years
+
+2011-12-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.4.0rc1
+
+       * howm.el: avoid warnings about mapcar during byte-compilation.
+
+       * howm-view.el (howm-entitle-items-style1): ditto.
+
+       * howm-misc.el (howm-bug-report): ditto.
+
+       * honest-report.el (honest-report): ditto.
+
+       * howm-cl.el (howm-cl-mapcar*): avoid warnings about cl package
+       during byte-compilation.
+
+       * howm-common.el (howm-call-process*): ditto.
+
+       * howm-date.el (howm-datestr-expand-general): ditto.
+
+       * howm-reminder.el (howm-define-reminder): ditto.
+
+2011-08-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * riffle.el (riffle-pop-to-buffer): fix.
+       windows were split recursively if frame size is large.
+       thx > dareka
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2011-03-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2011-03-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: fix warning "suspicious cache-id" in autoconf.
+
+2011-03-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-view-grep-default-option):
+       check availability of "--exclude-dir".
+       It requires grep >= 2.5.3, whereas popular Macs are shipped with 2.5.1.
+       thx > http://hibari.2ch.net/test/read.cgi/unix/1141892764/787-790n
+       thx > http://hibari.2ch.net/test/read.cgi/unix/1141892764/898-901n
+
+2011-01-19  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el
+       (howm-menu-recent): change arguments for broader customization.
+       thx > http://hibari.2ch.net/test/read.cgi/unix/1141892764/890
+       (howm-menu-random): ditto.
+       (howm-recent-menu): ditto.
+
+       * howm-backend.el (howm-page-viewer:file):
+       howm-view-external-viewer-assoc works even for directories now.
+       thx > http://hibari.2ch.net/test/read.cgi/unix/1141892764/891
+
+2011-01-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2011-01-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-define-risky-command):
+       avoid old-style-backquotes warning when *.elc is loaded.
+       thx > dareka
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2011-01-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-view-grep-option): cancel howm-efficiency group
+       because howm-grep group is already placed under it.
+
+2011-01-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-initialize-buffer): use howm-funcall-if-defined.
+
+       * riffle.el (riffle-summary-mode): ditto.
+
+2011-01-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el: delete rast.
+
+2011-01-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el (howm-initialize-buffer): fix.
+       make-local-hook does not exist in emacs-24.0.50.
+       thx > Yamamoto Munehiro san (munepi at vinelinux.org)
+
+       * riffle.el (riffle-summary-mode): ditto.
+
+2011-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el
+       (howm-list-buffers-exclude): officially supported now.
+       (howm-remember-first-line-to-title): ditto.
+       (howm-occur-force-fake-grep): ditto. change default value.
+
+       * howm-backend.el (howm-list-buffers,howm-list-mark-ring,howm-occur):
+       add docstring.
+
+       * howm-mode.el (howm-default-key-table): support new commands.
+
+       * howm-lang-en.el (howm-menu-command-table-en): ditto.
+
+       * howm-lang-ja.el (howm-menu-command-table-ja): ditto.
+
+       * howm-view.el (howm-view-directory,howm-ruby-mode-bug):
+       delete obsolete workaround
+
+       * howm-vars.el
+       (howm-action-lock-forward-fuzziness): update customize group
+       (howm-congrats-command): ditto.
+
+       * howm-reminder.el (howm-highlight-date-regexp-format): ditto.
+
+2011-01-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-change-title): fix error at howm-list-all
+
+       * howm.el: update copyright years
+
+2010-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el
+       (howm-menu-reminder-separators): officially supported now.
+       (howm-todo-separators,howm-reminder-menu-types): ditto.
+       (howm-schedule-sort-by-time,howm-action-lock-forward-fuzziness): ditto.
+       (howm-process-coding-system): ditto.
+
+       * howm-view.el (howm-view-search-in-result-correctly): ditto.
+
+2010-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el
+       (howm-compatible-to-1.3): new option
+       (howm-compatibility): new customize group
+       (howm-file-name-format): add switch for compatibility.
+       change *.howm to *.txt.
+
+       * howm-mode.el (howm-normalizer-pair): care for typically wrong setting.
+       thx > http://hibari.2ch.net/test/read.cgi/unix/1141892764/865-870n
+
+2010-12-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.9
+
+2010-12-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.9rc1
+
+2010-07-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-list-schedule): fix.
+       contents buffer was not updated if this function was called
+       from menu.
+       thx > http://pc12.2ch.net/test/read.cgi/unix/1141892764/826
+
+2010-05-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm.el: update copyright years
+
+       * howm-menu.el
+       (howm-menu-search): add new options for formatter and regexp search.
+       thx > Morgan Veyret san (morgan.veyret at gmail.com)
+       http://sourceforge.jp/projects/howm/lists/archive/eng/2010/000097.html
+       (howm-menu-general): add a new formatter to show full text.
+       (howm-menu-format-full): ditto.
+       (howm-menu-invoke): 
+       open item when RET is hit in menu if howm-menu-list-item
+       property is given at the current point.
+
+2009-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.8
+
+2009-08-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-excluded-dirs): add ".git".
+
+2009-07-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el (howm-keyword-search-subr): fix.
+       howm-list-title was ignored for come-from links.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/762
+
+2009-06-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-reminder-font-lock-keywords): 
+       highlight late deadlines.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/738
+
+2009-06-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-backend.el (howm-real-grep-multi): fix.
+       howm-list-recent caused error "Can't exec program" or
+       "Spawning child process: exec format error" if howm-view-use-grep
+       is set and there are too many recently-changed files.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/733
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Windows
+
+       * howm-vars.el (howm-command-length-limit): new option
+
+2009-05-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el
+       (howm-filter-items-by-contents):
+       splitted from howm-view-remove-by-contents for functional style.
+       it will be used in
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?HidePrivateReminder
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/731
+       (howm-entitle-items-style1): use howm-view-search-folder-fi.
+       (howm-item-list-filter): ditto.
+
+2009-05-22  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * riffle.el (riffle-line-number): widen before counting.
+
+2009-05-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+       update automake
+
+       * howm-vars.el
+       (howm-excluded-dirs): exclude _darcs/ etc. by default.
+       (howm-view-grep-default-option): ditto.
+
+2009-03-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2009-03-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (howm-real-grep-multi, howm-real-grep-single): 
+       remove final slash for compatibility with yagrep.
+       http://www.kt.rim.or.jp/~kbk/yagrep/index.html
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/685-686n
+
+       * howm-common.el (howm-expand-file-names): ditto.
+
+2009-02-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm.el: update copyright years
+
+       * howm-reminder.el (howm-extend-deadlines): new command.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/671
+
+       * howm-menu.el (howm-menu-refresh-background): fix.
+       The main function was erased wrongly on 2006-03-11.
+
+2008-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.7
+
+       * howm-misc.el (howm-basic-save-buffer): fix.
+       inhibit "Wrote ..." message.
+
+2008-11-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.7rc4
+
+       * howm-view.el (howm-view-summary-item): fix.
+       use full path for equivalence check
+       thx > dareka
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2008-10-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.7rc3
+
+       * riffle.el (riffle-summary-update): 
+       cancel fix on 2008-09-23, and remove corresponding feature itself.
+       This special feature was broken from howm-1.2 to 1.3.7rc2,
+       and I received no bug report.
+
+2008-09-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * riffle.el (riffle-summary-update): fix.
+       behavior was wrong when howm-view-split-horizontally is
+       neither t nor nil.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/591
+
+2008-09-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-configuration-for-major-mode): 
+       modify sample for "defun*"
+
+2008-08-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.7rc2
+
+       * howm-menu.el (howm-recent-menu): 
+       select only one item from each file in random selection.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/563-566n
+
+       * howm-misc.el (howm-bug-report): use howm-cl-mapcan instead of mapcan
+
+       * howm-view.el (howm-entitle-items-style2): ditto.
+
+2008-08-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.7rc1
+
+2008-08-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-normalizer):
+       use original names instead of aliases
+
+2008-08-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-reminder-menu): fix.
+       first argument was not used, and some items were dropped
+       in howm-menu-categorized-reminder.
+       thx > taka-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReportPaste
+
+2008-07-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2008-07-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-keyword-search-subr):
+       howm-view-item-list was remained wrongly
+
+       * howm-reminder.el (howm-list-todo-sub): ditto.
+
+       * configure.in: test version
+
+       * howm-view.el (howm-entitle-items-style1): fix.
+       titleless items were not shown
+
+       * howm-view.el (howm-entitle-items-style2): fix error.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/552
+
+       * howm-mode.el
+       (howm-call-view-summary): added for manipulation of titles
+       (howm-list-title-clear-previous): ditto.
+
+       * howm-backend.el (howm-item-dup): ditto.
+
+2008-07-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el
+       (howm-all-items): splitted and renamed from howm-list-all
+       (howm-list-around): rewritten in functional style
+
+2008-07-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-filter-items):
+       renamed from howm-view-filter-internal
+       (howm-filter-items-uniq, howm-filter-items-by-name) 
+       (howm-filter-items-by-summary, howm-filter-items-by-name/summary) 
+       (howm-filter-items-by-date, howm-filter-items-by-reminder) 
+       (howm-filter-items-by-mtime): ditto.
+       (howm-entitle-items):
+       renamed from howm-view-list-title-internal
+       (howm-entitle-items-style1, howm-entitle-items-style2): ditto.
+       (howm-entitle-items-style1): return value is changed
+       (howm-sort-items):
+       renamed from howm-view-sort-internal
+       (howm-sort-items-by-random, howm-sort-items-by-name) 
+       (howm-sort-items-by-numerical-name, howm-sort-items-by-date) 
+       (howm-sort-items-by-reverse-date, howm-sort-items-by-summary) 
+       (howm-sort-items-by-reminder, howm-sort-items-by-mtime) 
+       (howm-sort-items-by-reverse): ditto.
+       (howm-view-lift-internal): avoid simple variable name for safety
+
+       * howm-backend.el (howm-view-directory-items): 
+       use howm-folder-items insteadly.
+
+2008-07-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2008-07-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el
+       (howm-search): add argument
+       (howm-list-related): simplified
+
+       * howm-vars.el (howm-view-use-grep): fix docstring
+
+       * howm-mode.el (howm-call-view-search): removed
+
+2008-07-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-view-in-background): don't use it in principle
+
+       * howm-reminder.el (howm-reminder-add-font-lock): splitted
+
+       * howm-misc.el (howm-mode-add-font-lock): ditto.
+
+       * howm-view.el (howm-view-summary,howm-view-summary-rebuild):
+       add optional argument for font-lock
+
+       * howm-mode.el (howm-search,howm-keyword-search-subr):
+       don't use *howm-view-font-lock-keywords* outside howm-view.el
+
+       * action-lock.el: untabify
+
+       * howm-view.el (howm-view-search-folder): splitted
+
+       * howm-mode.el
+       (howm-list-normalize, howm-normalizer-pair, howm-normalize-oldp): 
+       warn if howm-list-normalizer is set.
+       convert howm-list-normalizer to howm-normalizer if possible.
+       (howm-normalize-show): replace howm-list-normalize
+
+       * howm-mode.el (howm-list-all, howm-list-recent, howm-search):
+       use howm-normalize-show
+
+       * howm-backend.el (howm-open-directory-independently): ditto.
+
+2008-07-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el
+       (howm-normalizer): new option
+       (howm-list-normalizer): default is changed to nil
+
+       * howm-mode.el
+       (howm-list-normalize): switch new or old codes
+       (howm-normalize): rewrite howm-list-normalize in functional style
+       (howm-list-normalize-old): renamed from howm-list-normalize. use prog1.
+       (howm-list-title-put-previous): add optional argument
+
+       * howm-view.el
+       (howm-view-list-title-internal): split howm-view-list-title function
+       (howm-view-list-title1-internal): ditto.
+       (howm-view-list-title2-internal): ditto.
+
+       * howm-mode.el
+       (howm-default-key-table): update docstring
+       (howm-migemo-client): add docstring
+       (howm-mode): remove useless backquote
+
+       * howm.el: update copyright years
+
+2008-05-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-action-lock-forward-fuzziness): new option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/519
+       * howm-reminder.el (howm-action-lock-forward-modify-current-line):
+       ditto.
+
+2008-05-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-filter-general): fix. predicate was reversed.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/514
+
+2008-05-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * riffle.el
+       (riffle-keep-window): new option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/507
+       (riffle-summary-subr): check riffle-keep-window.
+       (riffle-post-command): ditto.
+       (riffle-summary-to-contents): ditto.
+       (riffle-pop-to-buffer): ditto.
+       (riffle-refresh-window-configuration): ditto.
+
+       * howm-date.el (howm-date-forward-ymd): don't call riffle directly.
+
+       * riffle.el (riffle-summary-update): use catch & throw.
+
+2008-05-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-filter-general): fix. revived for howmoney.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/503
+
+2008-05-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-backend.el
+       (howm-real-grep-single): use labels instead of flet.
+       (howm-real-grep-multi): ditto.
+
+       * howm-misc.el (howm-basic-save-buffer): ditto.
+
+       * howm-mode.el (howm-expand-aliases-recursively): ditto.
+
+       * howm-common.el (howm-with-exit): new macro for the below fix.
+
+       * howm-reminder.el
+       (howm-list-schedule): fix.
+       cancel postprocess if no-match.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/494
+       (howm-list-todo-sub): ditto.
+       (howm-list-reminder-final-setup): fix.
+       action-lock-mode was toggled unintentionally.
+
+       * howm-common.el
+       (howm-list-exclude): removed (unused)
+       (howm-item-exclude-p): ditto.
+       (howm-view-item-exclude-p): ditto.
+
+2008-05-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el
+       (howm-view-summary-mode): fix.
+       global value of font-lock-keywords-only was set wrongly
+       in CVS head emacs after 2008-02-24.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/484-487n
+       (howm-view-contents-mode): ditto.
+
+       * howm-menu.el (howm-menu-set-face): unify the style (no effect)
+
+2008-04-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-backend.el (howm-real-grep-multi): 
+       split howm-view-grep-option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/458
+
+2008-04-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-title-skip-regexp): 
+       use howm-view-title-header.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/454
+
+2008-04-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-dired): call howm-view-dired-goto by default.
+
+       * howm-vars.el (howm-view-dired-keep-cursor): removed.
+
+2008-04-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-test): add docstring.
+       thx > dareka
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2007-11-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2007-11-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-decode-time): 
+       fix.
+       today's schedule didn't appear on menu on the last day of DST.
+       thx > Mielke-san (peter.mielke at gmail.com)
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2007/000034.html
+
+2007-07-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-sort/filter-doit): fix.
+       return list of items for backward compatibility.
+       thx > taku-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?HidePrivateReminder
+
+2007-05-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-summary-next-section-sub): 
+       stop at the first hit line of each file.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/360
+
+2007-05-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm.el: manage circular dependencies
+
+       * elisp-comp: cancel the fix on 2007-05-05
+
+       * honest-report.el
+       (honest-report-version-assoc): be independent of howm-*
+       (honest-report-emacs-build-time): ditto.
+       howm-emacs-build-time is moved and renamed.
+
+2007-05-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * mkinstalldirs: update to automake-1.10
+
+       * missing: ditto.
+
+       * install-sh: ditto.
+
+       * elisp-comp: ditto. & fix (keep the order of arguments)
+
+       * config.guess: update to autotools-dev_20060702
+
+       * config.sub: ditto.
+
+       * acinclude.m4: fix for aclocal 1.10
+
+       * Makefile.am: ditto.
+
+2007-05-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el
+       (howm-menu-reminder-format): new option.
+       (howm-menu-list-format): columnar formatting
+       thx > Mielke-san (peter.mielke at gmail.com)
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2007/000032.html
+
+2007-04-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2007-04-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-summary-mode): fix.
+       summary buffer was not highlighted in howm-occur.
+
+       * howm-backend.el (howm-occur-force-fake-grep): new option.
+
+       * howm-view.el (howm-view-search-folder): 
+       check FIXED-P for highlighting
+
+       * configure.in: test version
+
+2007-04-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-read-aliases): fix.
+       RET on "BBB" in "<<< aaa <<< BBB" didn't search "aaa"
+       if howm-keyword-case-fold-search is non-nil.
+
+2007-04-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el
+       (howm-view-filter-by-mtime): fix. range was ignored.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/340
+       (howm-view-filter-by-time-range): ditto.
+
+2007-04-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-truncate-string): fix. correct docstring
+
+2007-04-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-sort-by-random-internal): fix.
+       wrong variable name
+
+       * configure.in: test version (canceled)
+
+       * howm-view.el (howm-view-defun-sort-by): use macro to define sort-by-X
+
+2007-04-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: private test version
+
+       * howm-reminder.el (howm-schedule-sort-items): wrongly interactive
+
+       * howm-view.el
+       (howm-view-mtime): remove howm-view-xtime
+       (howm-view-filter-by-mtime): ditto.
+       (howm-view-sort-by-mtime): ditto.
+       (howm-view-filter-general): remove with-index
+       (howm-view-filter-internal): ditto.
+       (howm-view-sort-by-name-match): renamed to howm-view-lift-by-*
+       (howm-view-sort-by-summary-match): ditto.
+       (howm-view-sort-by-summary-match-string): ditto.
+       (howm-view-filter-general): removed for more functional style
+       (howm-view-sort-general): ditto.
+       (howm-view-sort-by-general-match): ditto.
+       (howm-view-filter-by-date-internal): fix. limit date was wrong by one
+       (howm-view-filter-by-reminder-internal): ditto.
+       (howm-view-filter-by-mtime-internal): ditto.
+
+       * howm-reminder.el (howm-list-reminder-final-setup): fix.
+       schedule/todo list was not fontified.
+       (howm-list-schedule): defer setup of summary buffer for efficiency.
+       (howm-list-todo-sub): ditto.
+
+       * howm-view.el
+       (howm-view-filter-by-date-internal): fix.
+       03-16 was listed when limit is "to 03-15".
+       (howm-view-filter-by-reminder-internal): ditto.
+       (howm-view-filter-by-xtime): ditto.
+
+       * configure.in: private test version
+
+2007-03-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-view-contents-limit): fix. not used.
+       also change its default from 10000 to nil for backward compatibility.
+
+       * howm-mode.el
+       (howm-list-toggle-title): fix.
+       internal calls to howm-list-title shouldn't perform toggle.
+       (howm-keyword-search-subr):
+       defer setup of summary buffer for efficiency.
+
+       * howm-cl.el (howm-cl-remove-duplicates*): fix.
+       "<<< foo" didn't appear at the top of the summary buffer
+       when howm-list-title is T.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/328
+
+       * howm-misc.el (howm-buffer-name-format): new option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/333
+
+2007-03-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2007-03-22  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-contents-item): 
+       don't insert separator "====>>> xxx.howm" in contents buffer
+       if just one item is displayed.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/314
+
+2007-02-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-check-word-break): new option.
+       thx > Mielke-san (peter.mielke at gmail.com)
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2007/000030.html
+
+       * howm-view.el (howm-view-summary-mode): 
+       highlight today and tomorrow.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/275
+
+       * howm-menu.el (howm-menu-font-lock-rules): ditto.
+
+       * howm-reminder.el (howm-highlight-date-regexp-format):
+       change default.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/275
+
+       * howm-vars.el (howm-funcall-if-defined): fix docstring
+
+       * howm.el: update copyright years
+
+2007-02-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * honest-report.el (honest-report-version-assoc): 
+       report environment variables "LANG" etc.
+
+2006-12-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-reminder-summarizer): 
+       show "late days" in addition to "day of week".
+       thx > Mielke-san (peter.mielke at gmail.com)
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2006/000028.html
+
+2006-12-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-keyword-search-open-menu): 
+       show warning when two or more %menu% are found.
+
+       * howm-view.el (howm-view-sort-by-general-match): 
+       return single/multi/nil instead of conventional t/nil.
+
+2006-12-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm.el: security fix.
+       put risky-local-variable property
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/207
+
+       * configure.in: version 1.3.4 is released from another branch
+
+2006-12-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: private test version
+
+       * howm-vars.el
+       (howm-define-risky-command): put risky-local-variable property
+
+       * riffle.el: ditto.
+
+       * illusion.el: ditto.
+
+       * gfunc.el: ditto.
+
+       * action-lock.el: ditto.
+
+       * howm-cl.el (howm-cl-gensym): added.
+
+       * howm-misc.el (howm-required-features): add honest-report
+
+       * riffle.el (riffle-set-mode-maybe): removed (not used anywhere)
+
+       * howm-mode.el
+       (howm-keyword-aliases): fix. check howm-keyword-case-fold-search.
+       (howm-template-string): fix. accept (lambda ...) as howm-template.
+
+2006-11-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-common.el
+       (howm-log-buffer-name-format): added
+       (howm-write-log): rename buffer according to howm-log-buffer-name-format
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/193-194n
+       (howm-history): raise error if history file doesn't exist.
+
+       * howm-backend.el
+       (howm-keyword-buffer): 
+       force howm-keyword-buffer-name-format even for the normal case.
+       (howm-keyword-buffer-name): removed
+       (howm-get-keyword-buffer): removed
+
+       * howm-common.el (howm-get-buffer-for-file): added
+
+       * howm-misc.el (howm-basic-save-buffer): 
+       doesn't show "Wrote..." message any more.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/193-194n
+
+2006-10-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-message-nolog): message without logging
+
+       * howm-view.el (riffle-post-update:howm): ditto.
+
+2006-10-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-backend.el
+       (howm-get-keyword-buffer): fix: argument is not optional any more.
+       (howm-keyword-buffer-name): new option.
+       (howm-keyword-buffer): buffer-name is now customizable.
+
+2006-10-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * cheat-font-lock.el (cheat-font-lock-20040624-format-p): fix.
+       font-lock-compile-keywords may add a help-echo
+       in CVS-head emacs, and its result can be longer than expected.
+       see 2005-10-21 in lisp/ChangeLog.
+       http://lists.gnu.org/archive/html/emacs-commit/2005-10/msg00635.html
+       http://cvs.savannah.gnu.org/viewcvs/emacs/emacs/lisp/font-lock.el.diff?tr1=1.276&tr2=1.277&r1=text&r2=text
+
+2006-10-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-backend.el (howm-page-open:file): fix. need widen.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/160-161n
+
+2006-09-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-todo-priority-schedule-bottom): make it deeper
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/149
+
+       * howm-vars.el (howm-huge++): new parameter
+
+2006-09-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-version.el.in: remove howm-{en,ja}-dir
+
+       * howm-lang-ja.el (howm-day-of-week-ja): Use a list instead of a string.
+
+       * howm-lang-en.el (howm-day-of-week-en): ditto.
+       Use "Sun" instead of "S".
+
+       * howm-menu.el (howm-day-of-week-string): 
+       howm-day-of-week-{en,ja} can be a list.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/147
+
+2006-07-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el (howm-menu-list-regexp): fix.
+       RET at "7" in "> 2006-07-26-015606 |" in menu buffer caused error.
+       thx > na-san
+
+2006-06-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-bayesian-set): new command.
+
+2006-06-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-expand-aliases-recursively): 
+       CL function "copy-list" is replaced with built-in "copy-sequence".
+
+       * howm-menu.el (howm-menu-shortcut-sort): ditto.
+
+2006-06-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-reminder.el (howm-list-active-todo): new command.
+
+       * howm-view.el (howm-view-sort-by-summary-match-string): new feature.
+
+       * howm-misc.el (howm-mode-set-buffer-name): new tool.
+       thx > Mielke-san (peter at exegenix.com)
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2006/000020.html
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2006/000022.html
+       thx > anonymous
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?ExternalTool
+
+       * howm-vars.el (howm-menu-reminder-separators): fix.
+       "Between schedule and todo" corresponds to nil.
+
+       * howm-reminder.el (howm-todo-separators): new option.
+
+       * howm-backend.el
+       (howm-page-type): page can be nil.
+       (howm-make-page:nil): ditto.
+       (howm-item-page): ditto.
+
+       * howm-reminder.el (howm-todo-insert-separators): 
+       use nil-page item instead of string.
+
+       * howm-menu.el (howm-menu-format-todo): ditto.
+
+2006-06-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * COPYING: fix.
+       obsolete address of FSF is corrected.
+       thx > Fujimura Yuki san <ykfj@users.sourceforge.jp>
+
+2006-06-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.3
+
+2006-05-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.3rc1
+
+2006-05-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-05-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-with-coding-system): 
+       accept a pair (for-read . for-write).
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/96
+
+       * howm-vars.el (howm-process-coding-system): ditto.
+
+2006-05-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-common.el (howm-with-coding-system): fix.
+       howm-process-coding-system should be checked at runtime.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/94-95n
+
+2006-05-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-05-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-remember-get-title): fix.
+       remove newline from title string.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/92
+
+2006-04-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-remember-first-line-to-title): new option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/72-75n
+
+       * howm-common.el (howm-call-process): fix.
+       set coding-system for temporary buffer.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/63-83n
+
+2006-04-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-remember-submit): fix.
+       "%file" in howm-template now works even for howm-remember.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/61
+
+2006-03-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-remember): new command.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/24-25n
+
+2006-03-22  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-view.el (howm-view-list-title-type): 
+       experimental code to show title before summary of each item.
+       thx > Highfly san
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2006/000025.html
+
+2006-03-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * illusion.el: require easy-mmode explicitly
+
+       * honest-report.el (honest-report-window-list): 
+       support emacs20 (and meadow-1.15).
+
+2006-03-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-03-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-migemo-client-option): new option.
+       thx > http://pc11.2ch.net/test/read.cgi/unix/1141892764/9
+
+2006-02-04  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-02-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: fix.
+       howmz needs both howm-menu-command-table-{en,ja}.
+
+       * configure.in: test version
+
+       * howm.el: fix.
+       require howm-lang-* before it is really needed.
+       this may be necessary for howmz.
+       thx > (TxT) san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?LinuxZaurus
+       http://noir.s7.xrea.com/archives/000136.html
+
+2006-01-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el (howm-menu-categorized-reminder): 
+       howm-menu-categorized-todo is replaced with -reminder.
+       fix error when howm-menu-reminder-separators is not null.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/919
+
+2006-01-19  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-01-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (howm-page-viewer:file): 
+       list files in directory in contents buffer.
+
+2006-01-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el (howm-menu-categorized-todo): 
+       misc. can be omitted.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/909
+
+2006-01-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el (howm-menu-categorized-todo): new feature (experimental).
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/885
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/890
+
+       * howm-cl.el (howm-cl-find-if): added
+
+       * howm-backend.el (howm-folder-grep-internal:pages): cleaned.
+
+       * howm-menu.el (howm-menu-general): cleaned.
+       you can make your own list in menu buffer more easily.
+       see howm-menu-schedule, howm-menu-todo, howm-menu-recent, and
+       howm-menu-search for example.
+
+2006-01-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-buffer-p): fix.
+       .howm-keys and its alternatives were overlooked.
+       thx > http://d.hatena.ne.jp/dasm/20060110
+
+2006-01-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2006-01-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm.el: update copyright years
+
+       * cheat-font-lock.el (cheat-font-lock-20040624-format-p): fix.
+       avoid "Font-lock trying to use keywords before setting them up" error
+       during 'make' for emacs-22.0.50.1 (CVS version).
+       thx > http://tty0.exblog.jp/2944244
+       thx > http://d.hatena.ne.jp/yoshk/20060102
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/867
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/873-874n
+
+2005-12-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-custom-reminder-get-types): fix.
+       treat unknown marks correctly.
+
+       * howm-reminder.el (howm-modify-reminder-types): 
+       example is commented out.
+
+2005-12-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+       (packagedir): fix lispdir for xemacs with packagedir
+
+2005-12-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: endir and jadir are now obsolete.
+       --with-rel-datadir is canceled.
+       thx > HONJOH Eiji san. irodori@irodori.sakura.ne.jp
+       thx > ZENITANI Seiji san. zenitani@mac.com
+
+       * howm-menu.el (howm-menu-initialize-skel): ditto.
+       read howm-menu-*.el instead of {en,ja}/0000-00-00-000000.howm
+
+       * howm-mkmenu.el: ditto.
+       new script to make howm-menu-*.el from {en,ja}/0000-00-00-000000.howm
+
+       * Makefile.am: ditto.
+       add howm-menu-*.el. delete en/ and ja/.
+
+       * howm-lang-en.el: separate language-dependent variables
+
+       * howm-lang-ja.el: ditto.
+
+       * howm-menu.el (howm-lang-ref): ditto.
+
+       * howm-common.el (howm-get-symbol): ditto.
+
+       * Makefile.am (howm_LISP): ditto.
+
+2005-12-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: new option --with-howmdir
+       default lispdir is now .../site-lisp.
+       thx > HONJOH Eiji san. irodori@irodori.sakura.ne.jp
+
+       * Makefile.am (howm_LISP): ditto.
+
+       * acinclude.m4 (ac_output): ditto.
+
+       * bcomp.el.in (bcomp-files): ditto.
+
+2005-11-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * configure.in: new option --with-rel-datadir
+       previous --with-data-into-lispdir is canceled.
+       thx > ZENITANI Seiji san. zenitani@mac.com
+       thx > HONJOH Eiji san. irodori@irodori.sakura.ne.jp
+
+2005-11-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * configure.in: new option --with-data-into-lispdir
+       thx > HONJOH Eiji san. irodori@irodori.sakura.ne.jp
+
+2005-11-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-mode-off-hook): fix.
+       remove duplicated defcustom.
+       thx > TAKEMURA Masayuki san. ICG04984@nifty.com
+
+2005-11-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu-skel): 
+       - use symbol-value instead of eval.
+       - howm-en-dir and howm-ja-dir can be relative paths from the directory
+       of howm.elc or howm.el. (for Carbon emacs package)
+       thx > ZENITANI Seiji san. zenitani@mac.com
+       thx > HONJOH Eiji san. irodori@irodori.sakura.ne.jp
+       thx > ARAI Ryotaro san. misty@...
+       http://lists.sourceforge.jp/mailman/archives/macemacsjp-users/2005-November/000756.html
+       http://lists.sourceforge.jp/mailman/archives/macemacsjp-users/2005-November/000760.html
+
+2005-11-22  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-menu-todo-priority): change default.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/75-77n
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/842-846n
+
+2005-11-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-open-named-file): new command.
+       thx > Eduardo Ochs san
+       http://lists.sourceforge.jp/mailman/archives/howm-eng/2005/000010.html
+
+2005-11-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-reminder.el (howm-action-lock-forward-open): 
+       don't depend on magic-return.
+
+       * howm-date.el (howm-action-lock-date-search): 
+       now it works even on menu buffer.
+       thx > Kaneko Kensuke san
+       http://d.hatena.ne.jp/a666666/20051110/1131621183
+
+       * howm-reminder.el (howm-action-lock-forward): 
+       keep my text property for jump from menu.
+
+       * howm-menu.el (howm-menu-list-action): 
+       keyword is now optional.
+
+       * howm-date.el (howm-action-lock-date-prompt): 
+       misleading message is corrected.
+       thx > Kaneko Kensuke san
+       http://d.hatena.ne.jp/a666666/20051110/1131621183
+
+2005-11-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-menu.el (howm-menu-list-action): fix.
+       history list was broken.
+
+2005-11-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu-list-action): 
+       get text property not from buffer but from argument.
+
+       * action-lock.el (action-lock-general): 
+       keep text properties.
+
+       * howm-common.el (howm-history):
+       disable expansion of %schedule etc.
+
+       * configure.in: test version
+
+2005-11-04  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-replace-region): 
+       `format' in xemacs doesn't keep text properties.
+
+       * howm-menu.el (howm-menu-list-format): 
+       store item to text property so that we can open it directly
+       instead of searching text when RET is hit on ">" in menu buffer.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/823
+
+       * action-lock.el (action-lock-general): add docstring
+
+       * configure.in: version 1.3.2
+
+       * howm-mode.el (howm-keyword-search-subr): 
+       cancel the below change. this problem should be fixed
+       more fundamentally.
+
+       * howm-mode.el (howm-keyword-search-subr): 
+       search lines whose entire texts exactly match to the geven keyword
+       when open-unique-p is non-nil.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/823
+
+2005-10-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.2rc4
+
+2005-10-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-view-dired-keep-cursor): new option.
+       thx > 797 http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2005-10-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.2rc3
+       something was wrong in 'cvs commit' of rc2.
+
+2005-10-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.2rc2
+
+       * howm-view.el
+       (howm-view-dired): fix.
+       require dired-vir for xemacs, and remove duplicates.
+       thx > 797 http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2005-10-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.2rc1
+
+2005-10-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-read-event): fix.
+       error when RET is hit on date format [2005-10-15] in menu buffer
+       in xemacs.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/797-801n
+
+2005-10-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-common.el (howm-view-in-background): fix.
+       This macro is moved from howm-view.el because it is used across files.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/789-791n
+
+2005-09-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-09-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (howm-occur): new command
+
+2005-09-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-view-contents-limit): default is changed to 10000
+
+2005-09-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * action-lock.el
+       (action-lock-open-regexp): include / at the end
+       (action-lock-browse-regexp): ditto
+
+2005-09-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * honest-report.el (honest-report-screenshot): fix.
+       window-end (without update) can be negative when completion window
+       is displayed temporally.
+
+2005-09-05  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-call-process-here): set coding system
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/784
+
+       * howm-vars.el (howm-process-coding-system): new option
+
+2005-09-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (action-lock-find-file): expand-file-name
+       thx > hattori-san
+       http://www.tom.sfc.keio.ac.jp/~hattori/blog/setting/2005/08/howm.html
+
+2005-08-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-list-title): add howm-action-lock-date-search
+       so that title is shown for `howm-search-today' (C-c , , .) by default.
+       thx > nobu-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+       * howm-date.el (howm-action-lock-date-search): add `howm-set-command'.
+
+2005-08-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el: add (require 'riffle)
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/782
+
+2005-08-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.1
+
+2005-08-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.1rc1
+
+       * howm-vars.el (howm-get-locale): fix. never return nil
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/780-781n
+
+2005-08-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-summary-omit-same-name): new option
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/779
+
+2005-08-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-title-skip-regexp): new option
+
+2005-08-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-bug-shot): new command for bug report
+
+2005-08-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-bug-report):
+       call bugshot-version-assoc internally
+
+       * honest-report.el: new tool for better bug report
+
+2005-08-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * riffle.el (riffle-define-derived-mode):
+       defined to avoid slow down in xemacs.
+
+2005-08-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * gfunc.el (gfunc-call): recursion is rewritten to loop.
+       recursion seems remarkably slow in xemacs.
+
+       * configure.in: version 1.3.0
+
+2005-07-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.0rc5
+
+2005-07-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el
+       (howm-view-summary-item):
+       don't show same name repeatedly.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/754
+       (howm-view-summary-stripe): canceled.
+       the above should be better.
+       (howm-view-contents-mode): fix.
+       howm-view-summary-font-lock-keywords must not work in contents buffer.
+       (howm-view-summary-font-lock-keywords): add default.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/754
+
+       * howm-reminder.el (howm-with-schedule-summary-format): 
+       use this macro and never use howm-view-summary-format directly.
+
+2005-07-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-summary-stripe): new option.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/754
+
+       * configure.in: version 1.3.0rc4 again. mistake in packaging
+
+2005-07-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.0rc4
+
+       * howm-vars.el (howm-excluded-file-regexp-dir-char): fix.
+       Both "\" and "/" indicate directory in win.
+
+2005-07-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-message-time):
+       Don't hide "No match" message even when howm-message-time is set.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/751
+
+       * riffle.el (riffle-summary): cleaned.
+       global varibale *howm-view-summary-nop* is replaced with optional
+       argument.
+       "No match" message is moved to howm-view-summary.
+
+2005-07-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-call-process): 
+       howm-call-process-last-command keeps all arguments
+       so that we can repeat the last call-process
+       by (apply #'howm-call-process howm-call-process-last-command).
+
+2005-07-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-content-from-region): fix. Labels are corrected.
+
+2005-07-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.0rc3
+
+2005-07-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu-dynamic-setup): fix.
+       canceled change in this function on 2005-05-10,
+       so that underlines appear on come-from keywords
+       in reminder lines in menu.
+
+2005-06-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.0rc2
+
+2005-06-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-menu-lang):
+       check locale to select default language.
+
+2005-06-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.3.0rc1
+
+2005-06-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * riffle.el (riffle-pop-to-buffer): fix.
+       howm-view-summary-window-size didn't work when it is greater than
+       half size.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/724
+
+2005-06-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el (howm-template-receive-buffer): new option.
+       By default, previous buffer is also passed to howm-template
+       when it is a function.
+       thx > http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Comment
+
+2005-06-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-06-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-cl.el: cl functions are collected to single file
+       and defalias-ed to inhibit warning during byte-compilation
+       in emacs-22.0.50.1 (CVS version).
+
+       * howm-misc.el (howm-auto-save-buffers-p): 
+       Inhibit warning 'reference to free variable'
+       for auto-save-buffers-regexp during byte-compilation
+       in emacs-22.0.50.1 (CVS version).
+
+2005-06-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-06-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el
+       (howm-action-lock-forward-kill-buffer): new option.
+
+       * howm-reminder.el (howm-action-lock-forward-invoke): 
+       call undo-boundary before modification.
+       howm-action-lock-forward-save-buffer shouldn't work when
+       the corresponding buffer is already modified before this action.
+
+2005-06-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-common.el (howm-time-difference-second): don't omit milliseconds.
+       I can't remember the reason of omission
+       and I cancel this change on 2005-03-09.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/709
+
+       * action-lock.el (action-lock-magic-return): fix.
+       snatched RET from pobox-newline in pobox-mode.
+       Indeed, old code snatched all RET wrongly from any modes.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/711
+
+2005-06-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-06-01  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el: fix.
+       write color condition in each defface
+       to avoid error on monochrome display.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/706
+
+2005-05-31  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-05-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-reminder.el
+       (howm-action-lock-forward): fix.
+       menu buffer was collapsed when one hits RET on "@"
+       in "[2005-05-30]@ foo" in menu buffer with below setting.
+       - (setq howm-menu-expiry-hours 2)
+       - (setq howm-action-lock-forward-save-buffer t)
+       - (setq howm-menu-refresh-after-save t) ;; this is default
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/705
+       (howm-action-lock-forward-invoke):
+       kill-buffer when current-buffer was newly opened for this procedure.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/705
+
+2005-05-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-funcall-if-defined): 
+       cheat to avoid annoying "not known to be defined" warning
+       in byte-compilation.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1111816102/485
+
+       * howm-view.el (howm-view-sort-items): 
+       defalias for compatibility. howmz needs it.
+       http://noir.s7.xrea.com/archives/000136.html
+       http://noir.s7.xrea.com/pub/zaurus/howmz.el
+       thx > (TxT) san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?LinuxZaurus
+
+2005-05-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-todo-menu): fix.
+       Insertion of separators was wrong.
+       At least one item was placed between separators regardless of priority.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/703
+
+2005-05-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-action-lock-forward-save-buffer): 'defcustom'ed
+
+2005-05-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el: fix.
+       check direct requiring of howm-mode before loading howm-common.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/698
+
+2005-05-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-vars.el
+       (howm-menu-list-face): Its default is empty now
+       so that we can avoid troubles of reverse-video for emacs -nw.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/697
+       (howm-reminder-done-face): default is empty for light background
+
+       * howm-mode.el (howm-refresh): C-c , r on menu calls howm-menu-refresh
+       because howm-initialize-buffer on menu erases all underlines.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/696
+
+2005-05-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-keyword-aliases):
+       expand aliases of come-from keywords recursively
+
+       * howm-vars.el (howm-keyword-list-alias-sep):
+       enable aliases of come-from keywords by default
+
+2005-05-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+2005-05-19  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-experimental): moved to howm group
+
+       * howm-reminder.el (howm-highlight-date-regexp-format): new option.
+       Some people like to highlight 2005-05-19 rather than [2005-05-19]
+       as today, because they use [2005-05-19 20:52]@ for their schedule.
+
+       * configure.in: test version
+
+       * howm-backend.el (howm-folder-territory-p:dir): fix
+       wrongly returned nil for non-existing file name.
+
+2005-05-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-common.el (howm-first-n): fix.
+       avoid "Args out of range" error in xemacs.
+       It happened at %recent in menu when number of note files are small
+       or empty files exist.
+       thx > Nanashi-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2005-05-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-reminder.el (howm-todo-menu): 
+       remove deep reminders before sorting
+
+       * howm-vars.el (howm-menu-reminder-separators): new option
+
+       * howm-menu.el (howm-menu-todo): item can be a separator string
+
+2005-05-16  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-mode.el (howm-keyword-search): 
+       menu is searched only in howm-directory
+
+       * howm-menu.el (howm-menu): fix
+       todo and schedule were searched only in howm-directory
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/685
+
+       * howm-view.el (howm-view-directory): 
+       set font-lock-keywords only when howm-ruby-mode-bug is non-nil
+
+       * howm-vars.el (howm-user-font-lock-keywords): new option
+       thx > taku-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Idea
+
+2005-05-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-reminder.el
+       (howm-schedule-sort-converter): 
+       aware of time part in "[2005-05-15 21:36]@"
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/683
+       (howm-schedule-menu): show future schedule one more day
+
+       * configure.in: test version
+
+       * howm-vars.el (howm-after-save-hook): new hook
+
+       * howm-misc.el (howm-set-mode-p): howm-directory can be rast folder
+
+       * howm-backend.el
+       (howm-create-file): 
+       use howm-folder-get-page-create instead of direct mkdir
+       (howm-make-folder:rast): rast folder
+
+       * gfunc.el (gfunc-def): set lisp-indent-hook
+
+       * howm-menu.el (howm-menu): 
+       mkdir only when howm-directory is dir folder
+       so that howm-directory can be any folder.
+       At now, howm-menu-file should be defined in that case;
+       howm-menu-initialize-skel assumes dir folder.
+
+2005-05-14  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: test version
+
+       * howm-misc.el (howm-prefix-names): renamed from howm-prex
+
+       * howm-vars.el (howm-prefix): renaming to howm-prefix-key is canceled
+
+2005-05-13  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-excluded-file-regexp): fix: wrong const values
+
+2005-05-12  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-item-list-rangeset): add doc-str around this func
+
+2005-05-11  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-vars.el (howm-prefix-key): renamed to distinguish from function.
+       use defvar instead of defcustom
+       since setting this variable after loading howm may cause confusion.
+
+       * configure.in: test version
+
+       * howm-mode.el (howm-default-key-table): update
+       some are added and some are now globally bound.
+
+       * howm-view.el
+       (howm-view-list-title):
+       - remove-duplicates
+       - toggle title/notitle
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/427
+       (howm-view-summary-rebuild): simplified code
+
+       * howm-misc.el
+       (howm-random-walk): list all memo first when called on non-howm buffer.
+       (howm-auto-narrow): variable howm-auto-narrow can be t.
+
+       * howm-vars.el: Some hidden features are moved to official sections.
+
+2005-05-10  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el
+       (howm-menu-shortcut-warn): show list of defined keys
+       (howm-menu-invisible):
+       tried to remove use of invisible property. but failed.
+
+       * howm-view.el
+       (howm-view-search-in-result): aware of paragraph
+       (howm-view-remove-by-contents): aware of paragraph
+       (howm-view-list-title): aware of paragraph
+       (howm-view-filter-uniq): aware of paragraph
+
+       * howm-vars.el (howm-file-name-format): added to howm-efficiency group
+
+2005-05-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * riffle.el (howm-view-summary-window-size): 
+       moved to howm-experimental group
+
+       * howm-vars.el (howm-view-before-open-hook): fix.
+       used but not defined.
+
+       * configure.in: test version
+
+       * howm-vars.el: some variables are moved from howm-reminder.el.
+       (howm-todo-menu-types): "." (done) is included by default
+       so that one can easily customize several patterns by setting
+       howm-menu-todo-priority and howm-todo-priority-done-bottom.
+       Anyway, default value of howm-menu-todo-priority hides "." in menu.
+       Since it may cause slow response, I also added it into howm-efficiency
+       group.
+       (howm-viewer): new customize group
+
+       * howm-menu.el (howm-menu-invoke):
+       RET in menu-mode causes jump when the current line matches
+       to howm-menu-list-regexp. No need to type C-a now.
+
+       * howm-vars.el (howm-history-limit): 0 means 'no record'
+
+       * howm-common.el (howm-write-history): remove duplicated entries
+
+       * howm-view.el: follow the changes of riffle.el
+
+2005-05-07  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * riffle.el: use gfunc instead of riffle-controller
+
+       * howm.el: order of requires is modified; riffle.el requires gfunc.el.
+
+       * configure.in: test version
+
+       * howm-vars.el
+       (howm-view-grep-command):
+       use "grep -E" and "grep -F" instead of egrep and fgrep by default.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/670
+       (howm-view-grep-file-stdin-option): 
+       use "-f -" by default.
+
+       * howm-backend.el (howm-real-grep-multi):
+       use howm-view-grep-command instead if howm-view-fgrep-command is nil.
+
+       * howm-mode.el (howm-list-title):
+       show title by default for list of all/recent/around notes.
+
+       * howm-vars.el: new file
+       begin to support defcustom
+       thx >
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?RoadMap
+       http://pc8.2ch.net/test/read.cgi/unix/1077881095/668
+
+       * configure.in: version 1.2.3
+
+2005-05-06  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.2.3rc1
+
+       * howm-common.el (howm-with-schedule-interval): fix.
+       moved from howm-reminder.el because that macro is used
+       in another file howm-menu.el.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/669
+
+       * howm-mode.el (howm-search): fix.
+       call howm-list-all for empty regexp.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/668
+
+2005-05-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * configure.in: version 1.2.2
+
+2005-04-29  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el
+       (*howm-view-font-lock-keywords*): Spelling is corrected, and
+       worthless function howm-view-font-lock-keywords is removed.
+       (howm-view-contents-mode): hilight of searched keyword is prior
+       to howm-view-contents-font-lock-keywords
+
+2005-04-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * cheat-font-lock.el: fix.
+       canceled the use of font-lock-add-keywords in
+       cheat-font-lock-merge-keywords because "compiled keywords" may be
+       passed from current implementation of riffle-contents-mode.
+       I guess this is also related to 2005-04-08 problem.
+
+       * howm-common.el (howm-write-history): new option, howm-history-limit
+
+2005-04-26  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-reminder.el (howm-todo-parse-string): avoid warning
+       "variable dummy bound but not referenced" in xemacs
+
+       * howm-common.el (howm-dont-warn-free-variable): 
+       use macro for frequent trick to avoid warning
+
+       * howm-mode.el (howm-image-file-name-regexps): fix.
+       Meadow-1.15 doesn't have image-file-name-regexps.
+       thx > Touhi-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2005-04-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-exclude-p): fix.
+       No file was searched when howm-directory is a dot-directory
+       like "~/.howm".
+       My previous cleaning up on this function is canceled.
+       See the comment in the source code.
+       thx > taku-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+2005-04-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu-copy-skel): fix.
+       When come-from keyword %menu% isn't found,
+       assume 0000-00-00-000000.howm as menu file if it exists.
+       This can happen when you write (setq howm-keyword-header "<==")
+       in sample/dot.emacs and then do 'make install && make test'.
+       thx > taku-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?BugReport
+
+       * howm-mode.el (howm-image-file-name-regexps): fix.
+       (image-file-name-regexp) caused an error on Meadow 2.10
+       unless max-specpdl-size is increased from the default value 600.
+       thx > taku-san, Mo-san
+       http://howm.sourceforge.jp/cgi-bin/hiki/hiki.cgi?MaxSpecpdlSize
+
+       * Makefile.am (EXTRA_DIST): test.bat was not included in tar.gz
+
+2005-04-15  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu): swap priority of two variables
+       howm-menu-top and howm-menu-file.
+       thx > http://pc8.2ch.net/test/read.cgi/unix/1077881095/648
+
+2005-04-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * cheat-font-lock.el: use old code for emacs20
+       New code may make howm-view-summary-open too slow.
+
+2005-04-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (howm-real-grep-multi): new option variables
+       howm-view-grep-extended-option and howm-view-grep-fixed-option.
+       Now, we can use grep -E and grep -F instead of egrep and fgrep.
+       This will help linux-zaurus users.
+
+2005-03-30  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-menu.el (howm-menu-search): embed search result into menu
+
+2005-03-27  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el
+       (howm-folder-grep-internal:pages): fix.
+       list order was reversed when howm-list-all-title is non-nil
+       (howm-real-grep-single): fix. accept list of single pattern
+       (howm-folder-files:namazu): variable r bound but not referenced
+
+2005-03-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-filter-by-contents): support C-u (= reject)
+
+2005-03-17  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-view.el (howm-view-contents-item): fix.
+       doubly displayed when matched to the last line of paragraph
+
+2005-03-09  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el (howm-time-difference-second): omit microsecond
+
+       * howm-misc.el (howm-elp): initialize profiler
+
+2005-03-08  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * test.bat: invoke test environment for win
+
+2005-03-03  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el
+       (howm-random-walk-text): clean
+       (howm-random-walk): kill old buffers after jump
+
+2005-03-02  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-random-walk): automatic random walk
+
+2005-02-28  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-list-normalize): fix.
+       error when '[hoge' is searched.
+
+2005-02-25  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-misc.el (howm-bug-report): C-u to dump variables
+
+       * howm-mode.el (howm-create-default-title-content): fix.
+       howm-title-from-search was ignored.
+
+       * howm-backend.el (howm-list-buffers-exclude): new option
+
+2005-02-24  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-keyword-list): never return ""
+
+2005-02-23  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-common.el: fix for xemacs and emacs20
+
+2005-02-22  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * gfunc.el (gfunc-with): replace gfunc-def-with
+
+       * howm-backend.el: howm-page-load is renamed to howm-page-open
+
+       * howm-view.el (howm-view-set-item-list): comeback for howmoney
+
+       * howm-backend.el (howm-folder-grep-internal:namazu): fix.
+       didn't work for 'or' patterns
+
+2005-02-21  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el
+       (howm-folder-grep-internal:pages): fix.
+       Specification of howm-page-type was changed.
+       (howm-folder-grep-internal:pages-buffers): fix.
+       must return list of items
+
+       * howm-common.el (howm-exclude-p): fast check only
+
+2005-02-20  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-backend.el (howm-files-in-directory): clean up
+
+       * howm-mode.el (howm-content-from-region): new option variable
+
+2005-02-18  HIRAOKA Kazuyuki  <khi@users.sourceforge.jp>
+
+       * howm-mode.el (howm-excluded-file-regexp): add (image-file-name-regexp)
+
+       * howm-backend.el (howm-fake-grep-file): check file name before search.
+       thx > Mocchan-san, Matsushita-san
+       http://www.bookshelf.jp/pukiwiki/pukiwiki.php?%BC%C1%CC%E4%BD%B8%2F42
+
+       * howm-mode.el (howm-exclude-p): fast check option
+
+       * gfunc.el (gfunc-def): Description string is supported.
+
+       * howm-backend.el: clean up
+
+       * howm-common.el (howm-sort): renamed from howm-view-sort-items
+
+       * illusion.el: renamed from proxy-buffer.el
+
+       * gfunc.el
+       (gfunc-def): args-declaration is added.
+       (gfunc-def-with): new func
+
+       * howm-backend.el: 
+       (howm-search-path-folder): howm-search-path is list of 'folders'.
+       (howm-make-folder:namazu): namazu folder
+       (howm-make-folder:rot13dir): rot13 folder/page
+
+       * proxy-buffer.el: new file
diff --git a/INSTALL b/INSTALL
new file mode 100644 (file)
index 0000000..b42a17a
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,182 @@
+Basic Installation
+==================
+
+   These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+
+   The file `configure.in' is used to create `configure' by a program
+called `autoconf'.  You only need `configure.in' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes awhile.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+   Some systems require unusual options for compilation or linking that
+the `configure' script does not know about.  You can give `configure'
+initial values for variables by setting them in the environment.  Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+   You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory.  After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+Installation Names
+==================
+
+   By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+   Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+   There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on.  Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+     CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+   If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+   If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+   `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+     Use and save the results of the tests in FILE instead of
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
+     debugging `configure'.
+
+`--help'
+     Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`--version'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..4a80863
--- /dev/null
@@ -0,0 +1,85 @@
+# shamelessly copied from navi2ch-cvs-0.0.20031209
+# $Id: Makefile.am,v 1.23 2010-12-31 12:12:48 hira Exp $
+
+howm_LISP = \
+       howm.el \
+       howm-menu.el \
+       howm-reminder.el \
+       howm-date.el \
+       howm-misc.el \
+       howm-mode.el \
+       howm-view.el \
+       howm-backend.el \
+       howm-common.el \
+       howm-vars.el \
+       howm-version.el \
+       howm-lang-en.el \
+       howm-lang-ja.el \
+       howm-menu-en.el \
+       howm-menu-ja.el \
+       honest-report.el \
+       action-lock.el \
+       riffle.el \
+       gfunc.el \
+       illusion.el \
+       cheat-font-lock.el
+
+EXTRA_DIST = Makefile.old bcomp.el howm-mkmenu.el $(howm_LISP) \
+       bcomp.el.in howm-version.el.in test.bat
+BUILT_SOURCES = $(srcdir)/howm-version.el $(srcdir)/bcomp.el
+SUBDIRS = doc ext en ja sample
+
+MENU_SRC = en/0000-00-00-000000.txt ja/0000-00-00-000000.txt
+MENU_EL = $(srcdir)/howm-menu-en.el $(srcdir)/howm-menu-ja.el
+TEST_INIT = sample/dot.emacs
+
+AM_MAKEFLAGS = HOWM_MAKE=t
+
+$(srcdir)/howm-version.el: $(srcdir)/howm-version.el.in $(srcdir)/configure.ac Makefile
+       rm -f $@.tmp && \
+       sed -e 's/~\(VERSION\)~/$(VERSION)/' \
+               $(srcdir)/howm-version.el.in > $@.tmp && \
+       mv $@.tmp $@
+
+$(MENU_EL): $(srcdir)/howm-mkmenu.el $(MENU_SRC)
+       $(EMACS) -q -batch -l $(srcdir)/howm-mkmenu.el
+
+# snap:
+#      rm -f $(srcdir)/howm-version.el && \
+#      $(MAKE) $(AM_MAKEFLAGS) VERSION=@VERSION@-`date +%y%m%d` dist elcdist && \
+#      rm -f $(srcdir)/howm-version.el && \
+#      $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/howm-version.el
+
+# recompile: $(howm_LISP)
+#      rm -f $(ELCFILES) && \
+#      HOWM_MAKE=t EMACS="$(EMACS)" $(SHELL) $(srcdir)/elisp-comp $(howm_LISP)
+
+# elcdist: $(ELCFILES)
+#      rm -rf $(distdir) && \
+#      mkdir $(distdir) && \
+#      cp -p $(ELCFILES) $(distdir) && \
+#      $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir)-elc.tar.gz && \
+#      rm -rf $(distdir)
+
+$(srcdir)/bcomp.el: $(srcdir)/bcomp.el.in $(srcdir)/Makefile.am
+       rm -f $@ && \
+       list=`for file in $(howm_LISP); do echo -n "\"$$file\" "; done` && \
+       sed -e "s/@\(howm_LISP\)@/$$list/" < $(srcdir)/bcomp.el.in > $@
+
+# $(ELCFILES): $(howm_LISP)
+#      $(MAKE) $(AM_MAKEFLAGS) recompile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       cd $(top_builddir) && \
+       CONFIG_HEADERS= CONFIG_LINKS= \
+       CONFIG_FILES=$@ $(SHELL) ./config.status
+
+Makefiles: $(top_builddir)/config.status
+       $(SHELL) $(top_builddir)/config.status
+
+update:
+       ( cd $(srcdir); $(CVS) update -P -d ) && \
+       $(MAKE) $(AM_MAKEFLAGS) Makefiles
+
+test:
+       HOWM_TEST=t $(EMACS) -q --no-site-file -l $(TEST_INIT)
diff --git a/Makefile.in b/Makefile.in
new file mode 100644 (file)
index 0000000..6db111a
--- /dev/null
@@ -0,0 +1,908 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# shamelessly copied from navi2ch-cvs-0.0.20031209
+# $Id: Makefile.am,v 1.23 2010-12-31 12:12:48 hira Exp $
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = .
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
+       $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(top_srcdir)/configure $(am__configure_deps) mkinstalldirs \
+       COPYING config.guess config.sub install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+       ctags-recursive dvi-recursive html-recursive info-recursive \
+       install-data-recursive install-dvi-recursive \
+       install-exec-recursive install-html-recursive \
+       install-info-recursive install-pdf-recursive \
+       install-ps-recursive install-recursive installcheck-recursive \
+       installdirs-recursive pdf-recursive ps-recursive \
+       tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+am__installdirs = "$(DESTDIR)$(howmdir)"
+howmLISP_INSTALL = $(INSTALL_DATA)
+LISP = $(howm_LISP)
+am__ELFILES = action-lock.el cheat-font-lock.el gfunc.el \
+       honest-report.el howm-backend.el howm-common.el howm-date.el \
+       howm-lang-en.el howm-lang-ja.el howm-menu-en.el \
+       howm-menu-ja.el howm-menu.el howm-misc.el howm-mode.el \
+       howm-reminder.el howm-vars.el howm-version.el howm-view.el \
+       howm.el illusion.el riffle.el
+am__ELCFILES = $(am__ELFILES:.el=.elc)
+ELCFILES = $(LISP:.el=.elc)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
+  distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+  $(RECURSIVE_TARGETS) \
+  $(RECURSIVE_CLEAN_TARGETS) \
+  $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+       cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates.  Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+  BEGIN { nonempty = 0; } \
+  { items[$$0] = 1; nonempty = 1; } \
+  END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique.  This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+  list='$(am__tagged_files)'; \
+  unique=`for i in $$list; do \
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+  done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  if test -d "$(distdir)"; then \
+    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+      && rm -rf "$(distdir)" \
+      || { sleep 5 && rm -rf "$(distdir)"; }; \
+  else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+  dir0=`pwd`; \
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+  sed_rest='s,^[^/]*/*,,'; \
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+  sed_butlast='s,/*[^/]*$$,,'; \
+  while test -n "$$dir1"; do \
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+    if test "$$first" != "."; then \
+      if test "$$first" = ".."; then \
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+      else \
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+        if test "$$first2" = "$$first"; then \
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+        else \
+          dir2="../$$dir2"; \
+        fi; \
+        dir0="$$dir0"/"$$first"; \
+      fi; \
+    fi; \
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+  done; \
+  reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CVS = @CVS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EMACS = @EMACS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+extdir = @extdir@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+howmdir = @howmdir@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+lispdir = @lispdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+packagedir = @packagedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+howm_LISP = \
+       howm.el \
+       howm-menu.el \
+       howm-reminder.el \
+       howm-date.el \
+       howm-misc.el \
+       howm-mode.el \
+       howm-view.el \
+       howm-backend.el \
+       howm-common.el \
+       howm-vars.el \
+       howm-version.el \
+       howm-lang-en.el \
+       howm-lang-ja.el \
+       howm-menu-en.el \
+       howm-menu-ja.el \
+       honest-report.el \
+       action-lock.el \
+       riffle.el \
+       gfunc.el \
+       illusion.el \
+       cheat-font-lock.el
+
+EXTRA_DIST = Makefile.old bcomp.el howm-mkmenu.el $(howm_LISP) \
+       bcomp.el.in howm-version.el.in test.bat
+
+BUILT_SOURCES = $(srcdir)/howm-version.el $(srcdir)/bcomp.el
+SUBDIRS = doc ext en ja sample
+MENU_SRC = en/0000-00-00-000000.txt ja/0000-00-00-000000.txt
+MENU_EL = $(srcdir)/howm-menu-en.el $(srcdir)/howm-menu-ja.el
+TEST_INIT = sample/dot.emacs
+AM_MAKEFLAGS = HOWM_MAKE=t
+all: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .el .elc
+am--refresh: Makefile
+       @:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
+             $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
+       $(am__cd) $(top_srcdir) && \
+         $(AUTOMAKE) --gnu Makefile
+.PRECIOUS: Makefile
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+.el.elc:
+       if test "$(EMACS)" != "no"; then \
+         am__dir=. am__subdir_includes=''; \
+         case $@ in */*) \
+           am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
+           am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \
+         esac; \
+         test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
+         $(EMACS) --batch \
+           $(AM_ELCFLAGS) $(ELCFLAGS) \
+           $$am__subdir_includes -L $(builddir) -L $(srcdir) \
+           --eval "(defun byte-compile-dest-file (f) \"$@\")" \
+           --eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
+       else :; fi
+
+install-howmLISP: $(howm_LISP) $(ELCFILES)
+       @$(NORMAL_INSTALL)
+       @if test "$(EMACS)" != no && test -n "$(howmdir)"; then \
+         list='$(howm_LISP)'; \
+         if test -n "$$list"; then \
+           echo " $(MKDIR_P) '$(DESTDIR)$(howmdir)'"; \
+           $(MKDIR_P) "$(DESTDIR)$(howmdir)" || exit 1; \
+         fi; \
+         for p in $$list; do \
+           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+           $(am__strip_dir) \
+           echo " $(howmLISP_INSTALL) '$$d$$p' '$(DESTDIR)$(howmdir)/$$f'"; \
+           $(howmLISP_INSTALL) "$$d$$p" "$(DESTDIR)$(howmdir)/$$f" || exit $$?; \
+           if test -f $${p}c; then \
+             echo " $(howmLISP_INSTALL) '$${p}c' '$(DESTDIR)$(howmdir)/$${f}c'"; \
+             $(howmLISP_INSTALL) "$${p}c" "$(DESTDIR)$(howmdir)/$${f}c" || exit $$?; \
+           else : ; fi; \
+         done; \
+       else : ; fi
+
+uninstall-howmLISP:
+       @$(NORMAL_UNINSTALL)
+       @test "$(EMACS)" != no && test -n "$(howmdir)" || exit 0; \
+       list='$(howm_LISP)'; \
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+       files="$$files "`echo "$$files" | sed 's|$$|c|'`; \
+       dir='$(DESTDIR)$(howmdir)'; $(am__uninstall_files_from_dir)
+
+clean-lisp:
+       -rm -f $(ELCFILES)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+#     (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+       @fail=; \
+       if $(am__make_keepgoing); then \
+         failcom='fail=yes'; \
+       else \
+         failcom='exit 1'; \
+       fi; \
+       dot_seen=no; \
+       target=`echo $@ | sed s/-recursive//`; \
+       case "$@" in \
+         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+         *) list='$(SUBDIRS)' ;; \
+       esac; \
+       for subdir in $$list; do \
+         echo "Making $$target in $$subdir"; \
+         if test "$$subdir" = "."; then \
+           dot_seen=yes; \
+           local_target="$$target-am"; \
+         else \
+           local_target="$$target"; \
+         fi; \
+         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+         || eval $$failcom; \
+       done; \
+       if test "$$dot_seen" = "no"; then \
+         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+       fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+       $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       set x; \
+       here=`pwd`; \
+       if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+         include_option=--etags-include; \
+         empty_fix=.; \
+       else \
+         include_option=--include; \
+         empty_fix=; \
+       fi; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         if test "$$subdir" = .; then :; else \
+           test ! -f $$subdir/TAGS || \
+             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+         fi; \
+       done; \
+       $(am__define_uniq_tagged_files); \
+       shift; \
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         if test $$# -gt 0; then \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             "$$@" $$unique; \
+         else \
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+             $$unique; \
+         fi; \
+       fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+       $(am__define_uniq_tagged_files); \
+       test -z "$(CTAGS_ARGS)$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$unique
+
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && $(am__cd) $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+       test ! -s cscope.files \
+         || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+       -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+       list='$(am__tagged_files)'; \
+       case "$(srcdir)" in \
+         [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+         *) sdir=$(subdir)/$(srcdir) ;; \
+       esac; \
+       for i in $$list; do \
+         if test -f "$$i"; then \
+           echo "$(subdir)/$$i"; \
+         else \
+           echo "$$sdir/$$i"; \
+         fi; \
+       done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+       -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+       $(am__remove_distdir)
+       test -d "$(distdir)" || mkdir "$(distdir)"
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d "$(distdir)/$$file"; then \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+         else \
+           test -f "$(distdir)/$$file" \
+           || cp -p $$d/$$file "$(distdir)/$$file" \
+           || exit 1; \
+         fi; \
+       done
+       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+         if test "$$subdir" = .; then :; else \
+           $(am__make_dryrun) \
+             || test -d "$(distdir)/$$subdir" \
+             || $(MKDIR_P) "$(distdir)/$$subdir" \
+             || exit 1; \
+           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+           $(am__relativize); \
+           new_distdir=$$reldir; \
+           dir1=$$subdir; dir2="$(top_distdir)"; \
+           $(am__relativize); \
+           new_top_distdir=$$reldir; \
+           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+           ($(am__cd) $$subdir && \
+             $(MAKE) $(AM_MAKEFLAGS) \
+               top_distdir="$$new_top_distdir" \
+               distdir="$$new_distdir" \
+               am__remove_distdir=: \
+               am__skip_length_check=: \
+               am__skip_mode_fix=: \
+               distdir) \
+             || exit 1; \
+         fi; \
+       done
+       -test -n "$(am__skip_mode_fix)" \
+       || find "$(distdir)" -type d ! -perm -755 \
+               -exec chmod u+rwx,go+rx {} \; -o \
+         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+         ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+       || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+       tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+       $(am__post_remove_distdir)
+
+dist-lzip: distdir
+       tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+       $(am__post_remove_distdir)
+
+dist-xz: distdir
+       tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+       $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+       @echo WARNING: "Support for shar distribution archives is" \
+                      "deprecated." >&2
+       @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+       tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+       $(am__post_remove_distdir)
+
+dist-shar: distdir
+       @echo WARNING: "Support for distribution archives compressed with" \
+                      "legacy program 'compress' is deprecated." >&2
+       @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+       $(am__post_remove_distdir)
+
+dist-zip: distdir
+       -rm -f $(distdir).zip
+       zip -rq $(distdir).zip $(distdir)
+       $(am__post_remove_distdir)
+
+dist dist-all:
+       $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+       $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+       case '$(DIST_ARCHIVES)' in \
+       *.tar.gz*) \
+         GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+       *.tar.bz2*) \
+         bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+       *.tar.lz*) \
+         lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+       *.tar.xz*) \
+         xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+       *.tar.Z*) \
+         uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+       *.shar.gz*) \
+         GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+       *.zip*) \
+         unzip $(distdir).zip ;;\
+       esac
+       chmod -R a-w $(distdir)
+       chmod u+w $(distdir)
+       mkdir $(distdir)/_build $(distdir)/_inst
+       chmod a-w $(distdir)
+       test -d $(distdir)/_build || exit 0; \
+       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+         && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+         && am__cwd=`pwd` \
+         && $(am__cd) $(distdir)/_build \
+         && ../configure \
+           $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+           $(DISTCHECK_CONFIGURE_FLAGS) \
+           --srcdir=.. --prefix="$$dc_install_base" \
+         && $(MAKE) $(AM_MAKEFLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) check \
+         && $(MAKE) $(AM_MAKEFLAGS) install \
+         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+         && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+               distuninstallcheck \
+         && chmod -R a-w "$$dc_install_base" \
+         && ({ \
+              (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+                   distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+             } || { rm -rf "$$dc_destdir"; exit 1; }) \
+         && rm -rf "$$dc_destdir" \
+         && $(MAKE) $(AM_MAKEFLAGS) dist \
+         && rm -rf $(DIST_ARCHIVES) \
+         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+         && cd "$$am__cwd" \
+         || exit 1
+       $(am__post_remove_distdir)
+       @(echo "$(distdir) archives ready for distribution: "; \
+         list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+         sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+       @test -n '$(distuninstallcheck_dir)' || { \
+         echo 'ERROR: trying to run $@ with an empty' \
+              '$$(distuninstallcheck_dir)' >&2; \
+         exit 1; \
+       }; \
+       $(am__cd) '$(distuninstallcheck_dir)' || { \
+         echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+         exit 1; \
+       }; \
+       test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+          || { echo "ERROR: files left after uninstall:" ; \
+               if test -n "$(DESTDIR)"; then \
+                 echo "  (check DESTDIR support)"; \
+               fi ; \
+               $(distuninstallcheck_listfiles) ; \
+               exit 1; } >&2
+distcleancheck: distclean
+       @if test '$(srcdir)' = . ; then \
+         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+         exit 1 ; \
+       fi
+       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+         || { echo "ERROR: files left in build directory after distclean:" ; \
+              $(distcleancheck_listfiles) ; \
+              exit 1; } >&2
+check-am: all-am
+check: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) check-recursive
+all-am: Makefile $(LISP) $(ELCFILES)
+installdirs: installdirs-recursive
+installdirs-am:
+       for dir in "$(DESTDIR)$(howmdir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
+install: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+       -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-recursive
+
+clean-am: clean-generic clean-lisp mostlyclean-am
+
+distclean: distclean-recursive
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+       -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-howmLISP
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+       -rm -rf $(top_srcdir)/autom4te.cache
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-howmLISP
+
+.MAKE: $(am__recursive_targets) all check install install-am \
+       install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+       am--refresh check check-am clean clean-cscope clean-generic \
+       clean-lisp cscope cscopelist-am ctags ctags-am dist dist-all \
+       dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
+       dist-zip distcheck distclean distclean-generic distclean-tags \
+       distcleancheck distdir distuninstallcheck dvi dvi-am html \
+       html-am info info-am install install-am install-data \
+       install-data-am install-dvi install-dvi-am install-exec \
+       install-exec-am install-howmLISP install-html install-html-am \
+       install-info install-info-am install-man install-pdf \
+       install-pdf-am install-ps install-ps-am install-strip \
+       installcheck installcheck-am installdirs installdirs-am \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
+       uninstall-am uninstall-howmLISP
+
+
+$(srcdir)/howm-version.el: $(srcdir)/howm-version.el.in $(srcdir)/configure.ac Makefile
+       rm -f $@.tmp && \
+       sed -e 's/~\(VERSION\)~/$(VERSION)/' \
+               $(srcdir)/howm-version.el.in > $@.tmp && \
+       mv $@.tmp $@
+
+$(MENU_EL): $(srcdir)/howm-mkmenu.el $(MENU_SRC)
+       $(EMACS) -q -batch -l $(srcdir)/howm-mkmenu.el
+
+# snap:
+#      rm -f $(srcdir)/howm-version.el && \
+#      $(MAKE) $(AM_MAKEFLAGS) VERSION=@VERSION@-`date +%y%m%d` dist elcdist && \
+#      rm -f $(srcdir)/howm-version.el && \
+#      $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/howm-version.el
+
+# recompile: $(howm_LISP)
+#      rm -f $(ELCFILES) && \
+#      HOWM_MAKE=t EMACS="$(EMACS)" $(SHELL) $(srcdir)/elisp-comp $(howm_LISP)
+
+# elcdist: $(ELCFILES)
+#      rm -rf $(distdir) && \
+#      mkdir $(distdir) && \
+#      cp -p $(ELCFILES) $(distdir) && \
+#      $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir)-elc.tar.gz && \
+#      rm -rf $(distdir)
+
+$(srcdir)/bcomp.el: $(srcdir)/bcomp.el.in $(srcdir)/Makefile.am
+       rm -f $@ && \
+       list=`for file in $(howm_LISP); do echo -n "\"$$file\" "; done` && \
+       sed -e "s/@\(howm_LISP\)@/$$list/" < $(srcdir)/bcomp.el.in > $@
+
+# $(ELCFILES): $(howm_LISP)
+#      $(MAKE) $(AM_MAKEFLAGS) recompile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       cd $(top_builddir) && \
+       CONFIG_HEADERS= CONFIG_LINKS= \
+       CONFIG_FILES=$@ $(SHELL) ./config.status
+
+Makefiles: $(top_builddir)/config.status
+       $(SHELL) $(top_builddir)/config.status
+
+update:
+       ( cd $(srcdir); $(CVS) update -P -d ) && \
+       $(MAKE) $(AM_MAKEFLAGS) Makefiles
+
+test:
+       HOWM_TEST=t $(EMACS) -q --no-site-file -l $(TEST_INIT)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/Makefile.old b/Makefile.old
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..bcbcc3f
--- /dev/null
+++ b/NEWS
@@ -0,0 +1 @@
+see doc/
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..bcbcc3f
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+see doc/
diff --git a/acinclude.m4 b/acinclude.m4
new file mode 100644 (file)
index 0000000..b0a7656
--- /dev/null
@@ -0,0 +1,54 @@
+# serial 3
+
+# AC_EMACS_LISP(var, code)
+# Set `var' with output of elisp `code'.
+# To avoid incompatibilities of "single-quote in back-quote" etc,
+# temporary files are used to store emacs-lisp and output of it.
+AC_DEFUN([AC_EMACS_LISP],[dnl
+{ ac_temp=./conftemp.$$
+ac_output=confout.$$
+rm -f $ac_temp $ac_output
+cat >$ac_temp <<\_ACEOF
+(defun ac-temp-func ()
+$2
+(princ "\n") ; make sure the output has trailing newline.
+)
+_ACEOF
+$EMACS -batch -q -l $ac_temp -f ac-temp-func | sed -e '/^ *$/d' > $ac_output
+$1=`cat $ac_output`
+rm -f $ac_temp $ac_output; }])
+
+# grab and hack from lispdir.m4
+
+## ------------------------
+## Emacs LISP file handling
+## From Ulrich Drepper
+## Almost entirely rewritten by Alexandre Oliva
+## ------------------------
+
+AC_DEFUN([AM_PATH_LISPDIR],
+ [AC_ARG_WITH(lispdir,
+  [  --with-lispdir          Override the default lisp directory],
+  [ lispdir="$withval"
+    AC_MSG_CHECKING([where .elc files should go])
+    AC_MSG_RESULT([$lispdir])],
+  [
+  if test x${lispdir+set} != xset; then
+    AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [dnl
+      AC_EMACS_LISP(am_cv_lispdir,[dnl
+(defvar result nil)
+(setq load-path (nreverse load-path))
+(while load-path
+  (if (string-match "\\`\\(.+/site-lisp\\)/?\\'" (car load-path))
+      (setq result (match-string 1 (car load-path))
+            load-path nil)
+    (setq load-path (cdr load-path))))
+(princ (or result (expand-file-name "../site-lisp" data-directory)))])
+      if test -z "$am_cv_lispdir"; then
+       am_cv_lispdir='${datadir}/emacs/site-lisp'
+      fi
+    ])
+    lispdir="$am_cv_lispdir"
+  fi
+ ])
+ AC_SUBST(lispdir)])
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644 (file)
index 0000000..07227fd
--- /dev/null
@@ -0,0 +1,807 @@
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version.  Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too.  Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+#    fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#    fails if $ac_aux_dir is absolute,
+#    fails when called from a subdirectory in a VPATH build with
+#          a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH.  The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+])
+
+# AM_CONDITIONAL                                            -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Do all the work for Automake.                             -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much.  Some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition.  After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+  # is not polluted with repeated "-I."
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+  # test to see if srcdir already configured
+  if test -f $srcdir/config.status; then
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+  fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+             [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+  [ok:ok],,
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+             [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+                            [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+                 [_AM_DEPENDENCIES([CC])],
+                 [m4_define([AC_PROG_CC],
+                            m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+                 [_AM_DEPENDENCIES([CXX])],
+                 [m4_define([AC_PROG_CXX],
+                            m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+                 [_AM_DEPENDENCIES([OBJC])],
+                 [m4_define([AC_PROG_OBJC],
+                            m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+                 [_AM_DEPENDENCIES([OBJCXX])],
+                 [m4_define([AC_PROG_OBJCXX],
+                            m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes.  So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+  cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present.  This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message.  This
+can help us improve future automake versions.
+
+END
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+    echo 'Configuration will proceed anyway, since you have set the' >&2
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+    echo >&2
+  else
+    cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+  fi
+fi
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $_am_arg | $_am_arg:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\    *)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot.  For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
+# From Jim Meyering
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
+# ----------------------------------
+# Control maintainer-specific portions of Makefiles.
+# Default is to disable them, unless 'enable' is passed literally.
+# For symmetry, 'disable' may be passed as well.  Anyway, the user
+# can override the default with the --enable/--disable switch.
+AC_DEFUN([AM_MAINTAINER_MODE],
+[m4_case(m4_default([$1], [disable]),
+       [enable], [m4_define([am_maintainer_other], [disable])],
+       [disable], [m4_define([am_maintainer_other], [enable])],
+       [m4_define([am_maintainer_other], [enable])
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
+  AC_ARG_ENABLE([maintainer-mode],
+    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
+      am_maintainer_other[ make rules and dependencies not useful
+      (and sometimes confusing) to the casual installer])],
+    [USE_MAINTAINER_MODE=$enableval],
+    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
+  MAINT=$MAINTAINER_MODE_TRUE
+  AC_SUBST([MAINT])dnl
+]
+)
+
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\    *)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+  am_missing_run="$MISSING "
+else
+  am_missing_run=
+  AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling.                     -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME.  Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+  *[[\\\"\#\$\&\'\`$am_lf\ \   ]]*)
+    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   am_has_slept=no
+   for am_try in 1 2; do
+     echo "timestamp, slept: $am_has_slept" > conftest.file
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+     if test "$[*]" = "X"; then
+       # -L didn't work.
+       set X `ls -t "$srcdir/configure" conftest.file`
+     fi
+     if test "$[*]" != "X $srcdir/configure conftest.file" \
+       && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+       # broken ls alias from the environment.  This has actually
+       # happened.  Such a system could not be considered "sane".
+       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+  alias in your environment])
+     fi
+     if test "$[2]" = conftest.file || test $am_try -eq 2; then
+       break
+     fi
+     # Just in case.
+     sleep 1
+     am_has_slept=yes
+   done
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+  ( sleep 1 ) &
+  am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+  [AC_MSG_CHECKING([that generated files are newer than configure])
+   if test -n "$am_sleep_pid"; then
+     # Hide warnings about reused PIDs.
+     wait $am_sleep_pid 2>/dev/null
+   fi
+   AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+  [--enable-silent-rules],
+  [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+  [--disable-silent-rules],
+  [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+  yes) AM_DEFAULT_VERBOSITY=0;;
+   no) AM_DEFAULT_VERBOSITY=1;;
+    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+   [am_cv_make_support_nested_variables],
+   [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+       @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+  dnl Using '$V' instead of '$(V)' breaks IRIX make.
+  AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries.  This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip".  However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball.                            -*- Autoconf -*-
+
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+#     tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+#     $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+  [m4_case([$1],
+    [ustar],
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+      # and bug#13588).
+      am_max_uid=2097151 # 2^21 - 1
+      am_max_gid=$am_max_uid
+      # The $UID and $GID variables are not portable, so we need to resort
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
+      # below are definitely unexpected, so allow the users to see them
+      # (that is, avoid stderr redirection).
+      am_uid=`id -u || echo unknown`
+      am_gid=`id -g || echo unknown`
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+      if test $am_uid -le $am_max_uid; then
+         AC_MSG_RESULT([yes])
+      else
+         AC_MSG_RESULT([no])
+         _am_tools=none
+      fi
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+      if test $am_gid -le $am_max_gid; then
+         AC_MSG_RESULT([yes])
+      else
+        AC_MSG_RESULT([no])
+        _am_tools=none
+      fi],
+
+  [pax],
+    [],
+
+  [m4_fatal([Unknown tar format])])
+
+  AC_MSG_CHECKING([how to create a $1 tar archive])
+
+  # Go ahead even if we have the value already cached.  We do so because we
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+  for _am_tool in $_am_tools; do
+    case $_am_tool in
+    gnutar)
+      for _am_tar in tar gnutar gtar; do
+        AM_RUN_LOG([$_am_tar --version]) && break
+      done
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+      am__untar="$_am_tar -xf -"
+      ;;
+    plaintar)
+      # Must skip GNU tar: if it does not support --format= it doesn't create
+      # ustar tarball either.
+      (tar --version) >/dev/null 2>&1 && continue
+      am__tar='tar chf - "$$tardir"'
+      am__tar_='tar chf - "$tardir"'
+      am__untar='tar xf -'
+      ;;
+    pax)
+      am__tar='pax -L -x $1 -w "$$tardir"'
+      am__tar_='pax -L -x $1 -w "$tardir"'
+      am__untar='pax -r'
+      ;;
+    cpio)
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+      am__untar='cpio -i -H $1 -d'
+      ;;
+    none)
+      am__tar=false
+      am__tar_=false
+      am__untar=false
+      ;;
+    esac
+
+    # If the value was cached, stop now.  We just wanted to have am__tar
+    # and am__untar set.
+    test -n "${am_cv_prog_tar_$1}" && break
+
+    # tar/untar a dummy directory, and stop if the command works.
+    rm -rf conftest.dir
+    mkdir conftest.dir
+    echo GrepMe > conftest.dir/file
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+    rm -rf conftest.dir
+    if test -s conftest.tar; then
+      AM_RUN_LOG([$am__untar <conftest.tar])
+      AM_RUN_LOG([cat conftest.dir/file])
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+    fi
+  done
+  rm -rf conftest.dir
+
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([acinclude.m4])
diff --git a/action-lock.el b/action-lock.el
new file mode 100644 (file)
index 0000000..95c4c98
--- /dev/null
@@ -0,0 +1,361 @@
+;;; action-lock.el --- invoke magic action by RET key on spell strings
+
+;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016
+;;   HIRAOKA Kazuyuki <khi@users.sourceforge.jp>
+;; $Id: action-lock.el,v 1.72 2011-12-31 15:07:28 hira Exp $
+;;
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 1, or (at your option)
+;; any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+;;
+;; The GNU General Public License is available by anonymouse ftp from
+;; prep.ai.mit.edu in pub/gnu/COPYING.  Alternately, you can write to
+;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
+;; USA.
+
+;;; Commentary:
+
+;;; Code:
+
+;; rules = (rule rule ...)
+;; rule = (regexp action) or (regexp action hilit-pos)
+;; action = function with one argument which corresponds to (interactive "P").
+
+(require 'cl-lib)
+(require 'easy-mmode)
+(require 'font-lock)
+(require 'cheat-font-lock)
+(require 'howm-common)
+
+(defgroup action-lock nil
+  "Invoke magic action by RET key on spell strings."
+  :group 'convenience)
+
+(defvar action-lock-face 'action-lock-face
+  "*Face for action-lock spells.")
+
+(defface action-lock-face
+  (let ((underline (if (and (fboundp 'set-face-underline)
+                            window-system)
+                       '(((class color)) (:underline "dark cyan"))
+                     '(((class color)) (:underline t))))
+        (fail-safe '(t (:inverse-video t))))
+    (list underline fail-safe))
+  "*Face for action-lock spells."
+  :group 'action-lock
+  :group 'howm-faces)
+
+(defvar action-lock-magic-return-key "\C-m")
+(put 'action-lock-magic-return-key 'risky-local-variable t)
+(defvar action-lock-lighter " AL")
+(defvar action-lock-silent t
+  "Inhibit font-lock-verbose if non-nil.")
+
+;; If you want to change these values,
+;; you must set them before loading this file.
+(defvar action-lock-switch-default '("{ }" "{*}" "{-}"))  ;; any number
+(defvar action-lock-date-default '("{_}" "[%Y-%m-%d %H:%M]"))  ;; before after
+
+(easy-mmode-define-minor-mode action-lock-mode
+  "With no argument, this command toggles the mode.
+Non-null prefix argument turns on the mode.
+Null prefix argument turns off the mode.
+
+\\[action-lock-magic-return]  Envoke the action on the field
+"
+  nil ;; default = off
+  action-lock-lighter ;; mode-line
+  `(
+    (,action-lock-magic-return-key . action-lock-magic-return)
+    ))
+
+;; emacs20's easy-mmode-define-minor-mode can't have body. sigh...
+(add-hook 'action-lock-mode-on-hook 'action-lock-initialize-buffer)
+(add-hook 'action-lock-mode-off-hook 'action-lock-restore-buffer)
+
+(defvar action-lock-rules nil)
+(defvar action-lock-original-font-lock-keywords nil)
+(defvar action-lock-original-return nil)
+(put 'action-lock-rules 'risky-local-variable t)
+(put 'action-lock-original-font-lock-keywords 'risky-local-variable t)
+(put 'action-lock-original-return 'risky-local-variable t)
+
+(make-variable-buffer-local 'action-lock-rules)
+(make-variable-buffer-local 'action-lock-original-font-lock-keywords)
+(make-variable-buffer-local 'action-lock-original-return)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; sample
+
+(defun action-lock-switch (label-list)
+  (let ((regexp (mapconcat 'regexp-quote label-list "\\|")))
+;   (let ((regexp (regexp-opt label-list))) ;; emacs19 lacks regexp-opt
+    (list regexp
+          `(lambda (&optional dummy)
+             (let* ((b (match-beginning 0))
+                    (e (match-end 0))
+                    (ring ',(append label-list (list (car label-list))))
+                    (s (match-string-no-properties 0))
+                    (next (cadr (member s ring))))
+               (delete-region b e)
+               (insert next)
+               (goto-char b))))))
+
+(defun action-lock-date (regexp time-format)
+  (list regexp
+        `(lambda (&optional dummy)
+           (delete-region (match-beginning 0) (match-end 0))
+           (insert (format-time-string ,time-format)))))
+
+(defun action-lock-open (regexp arg-pos &optional hilit-pos)
+  (action-lock-general #'action-lock-find-file
+                       regexp arg-pos hilit-pos t))
+(defun action-lock-find-file (f u)
+  (if u
+      (find-file-other-window f)
+    (find-file f)))
+
+;; (defun action-lock-open (regexp arg-pos &optional hilit-pos)
+;;   (action-lock-general #'find-file regexp arg-pos hilit-pos))
+
+(defvar action-lock-no-browser nil)
+(defun action-lock-browse-url (url)
+  (setq url (replace-regexp-in-string "^[htp]+\\(s?\\)://" "http\\1://" url))
+  (message "%s" url)
+  (if action-lock-no-browser
+      (kill-new url)
+    (browse-url url)))
+(defun action-lock-browse (regexp arg-pos &optional hilit-pos)
+  (action-lock-general #'action-lock-browse-url regexp arg-pos hilit-pos))
+
+(defun action-lock-general (func regexp arg-pos &optional hilit-pos arg-p)
+  "Generate an action-lock rule.
+FUNC is called when action-lock is invoked on a string which matches
+to REGEXP. ARG-POS specifies a position of subexpression in REGEXP,
+and matched substring is passed to FUNC.
+HILIT-POS specifies another position of subexpression in REGEXP,
+and matched substring is highlighted in buffers.
+FUNC will receive an additional argument for action, as is described
+at the beginning of this file, when ARG-P is non-nil."
+  (list regexp
+        `(lambda (&optional arg)
+           (,func (match-string ,arg-pos)
+                  ,@(and arg-p '(arg))))
+        hilit-pos))
+
+; (defun action-lock-escape-quote (s)
+;   (apply 'concat
+;        (mapcar '(lambda (x) (if (string= x "'") "\\x27" x)) ;; for zsh
+;                (split-string s ""))))
+
+;; copied and modified from thingatpt.el [2004-01-30]
+(defvar action-lock-url-path-regexp
+  "\\([-!@#$%^&*()_+|=:~/?a-zA-Z0-9.,;]*[-!@#$%^&*()_+|=:~/?a-zA-Z0-9]+\\)"
+;;   "\\([^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+\\)"
+  "A regular expression probably matching the host, path or e-mail part of a URL.")
+;; (defvar action-lock-url-scheme-regexp
+;;   "\\<\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mailto:\\)")
+(defun action-lock-url-regexp (head &optional tail)
+  (concat head
+          action-lock-url-path-regexp
+          (or tail "")))
+
+(defvar action-lock-open-regexp
+  (action-lock-url-regexp "\\<file://\\(localhost\\)?\\(" "\\>/?\\)"))
+(defvar action-lock-open-regexp-pos 2)
+
+;; emacs20 doesn't support "[htp]\\{3,5\\}"
+(defvar action-lock-browse-regexp
+  (action-lock-url-regexp "\\<\\([htp][htp][htp][htp]?[htp]?s?\\|ftp\\)://" "\\>/?"))
+(defvar action-lock-browse-regexp-pos 0)
+
+(defvar action-lock-default-rules
+  (list (action-lock-switch action-lock-switch-default)
+        (action-lock-date (regexp-quote (car action-lock-date-default))
+                          (cadr action-lock-date-default))
+        (action-lock-open (action-lock-url-regexp "URL:\\(file://\\)?\\(localhost\\)?" ">))")
+                          3) ;; ((<URL:...>))
+        (action-lock-open action-lock-open-regexp
+                          action-lock-open-regexp-pos) ;; file://...
+        (action-lock-browse action-lock-browse-regexp
+                            action-lock-browse-regexp-pos) ;; http://...
+        ))
+(put 'action-lock-default-rules 'risky-local-variable t)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; main
+
+(defvar action-lock-bury-minor-mode-p t)
+(defun action-lock-initialize-buffer ()
+  (interactive)
+  (action-lock-initialize-magic-return)
+  (action-lock-set-rules action-lock-default-rules)
+  (when action-lock-bury-minor-mode-p
+    (action-lock-bury-minor-mode 'action-lock-mode))
+)
+
+(defun action-lock-restore-buffer ()
+  (action-lock-restore-font-lock))
+
+(defun action-lock-magic-return (&optional arg)
+  (interactive "P")
+  (or (action-lock-invoke arg)
+      (if action-lock-mode
+          (let* ((action-lock-mode nil)
+                 (f (key-binding action-lock-magic-return-key)))
+            (call-interactively f))
+        ;; Can't happen normally
+        (call-interactively action-lock-original-return))))
+
+(defun action-lock-invoke (&optional arg)
+;;   (interactive)
+  (let ((action (action-lock-get-action)))
+    (if (null action)
+        nil
+      (progn
+;;         (message "%s" action) ;; debug
+        (funcall action arg)
+;;         (apply action nil)
+        t))))
+
+(defun action-lock-initialize-magic-return ()
+  (when (null action-lock-original-return)
+    (let ((action-lock-mode nil))
+      (setq action-lock-original-return
+            (key-binding action-lock-magic-return-key)))))
+
+(defun action-lock-rules ()
+  action-lock-rules)
+(defun action-lock-set-rules (rules)
+  (setq action-lock-rules (howm-cl-remove-duplicates* rules))
+;;   (message "Font lock...")
+  (action-lock-font-lock)
+;;   (message "...Done.")
+  )
+(defun action-lock-add-rules (rules &optional prepend-p)
+  (action-lock-set-rules (if prepend-p
+                             (append rules (action-lock-rules))
+                           (append (action-lock-rules) rules))))
+
+(defun action-lock-bury-minor-mode (mode)
+  "Bury MODE to the last in minor-mode-map-alist"
+  (let ((pair (assoc mode minor-mode-map-alist)))
+    (when pair
+      (setq minor-mode-map-alist
+            ;; Duplications must be removed.
+            `(,@(remove pair minor-mode-map-alist) ,pair)))))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Font lock
+
+;; experimental [2003-10-25]
+(defvar action-lock-case-fold-search nil)
+(defvar action-lock-use-case-fold-search t)
+
+(defun action-lock-matcher (regexp)
+  (if action-lock-use-case-fold-search
+      `(lambda (limit)
+         (let ((case-fold-search action-lock-case-fold-search))
+           (re-search-forward ,regexp limit t)))
+    regexp))
+
+(defun action-lock-font-lock ()
+  (cheat-font-lock-mode action-lock-silent)
+  (if (null action-lock-original-font-lock-keywords)
+      (setq action-lock-original-font-lock-keywords font-lock-keywords)
+    (setq font-lock-keywords action-lock-original-font-lock-keywords))
+  (when action-lock-rules
+    (let* ((entries (mapcar (lambda (pair)
+                              (let* ((regexp (car pair))
+                                     (matcher (action-lock-matcher regexp))
+                                     (pos (or (cl-caddr pair) 0))
+                                     (hilit (list pos 'action-lock-face
+                                                  'prepend)))
+                                (cons matcher hilit)))
+                            action-lock-rules)))
+      (cheat-font-lock-append-keywords entries)
+;;       (cheat-font-lock-prepend-keywords entries)
+      (cheat-font-lock-fontify t)
+      )))
+
+(defun action-lock-restore-font-lock ()
+  (setq font-lock-keywords action-lock-original-font-lock-keywords))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(defun action-lock-get-action ()
+  (car (action-lock-get-action/range)))
+
+(defun action-lock-get-range ()
+  (cdr (action-lock-get-action/range)))
+
+(defun action-lock-get-action/range ()
+  (let* ((rules action-lock-rules)
+         (current nil)
+         (found nil))
+    (while (and rules (not found))
+      (save-excursion
+        (setq current (car rules)
+              rules (cdr rules))
+        (let* ((regexp (car current))
+               (action (cadr current))
+               (pos (cl-caddr current))
+               (range (action-lock-regexp-range regexp pos)))
+          (if range
+              (setq found (cons action range))))))
+    found))
+
+(defun action-lock-regexp-range (regexp &optional pos)
+  (setq pos (or pos 0))
+  (save-excursion
+    (let ((c (point))
+          (eol (line-end-position))
+          (range nil)
+          (case-fold-search (if action-lock-use-case-fold-search
+                                action-lock-case-fold-search
+                              case-fold-search))
+          )
+      (beginning-of-line)
+      (while (and (<= (point) c)
+                  (re-search-forward regexp eol 'no-error)
+                  (not range))
+        (let ((beg (match-beginning pos))
+              (end (match-end pos)))
+          (when (and (<= beg c) (< c end))
+            (setq range (list beg end)))))
+      range)))
+
+(defun action-lock-regexp ()
+  (mapconcat 'car action-lock-rules "\\|"))
+
+(defun action-lock-skip-one-link (reverse)
+  (let* ((r (action-lock-get-range))
+         (border (if reverse 0 1)))
+    (when r
+      (goto-char (nth border r)))))
+
+(defun action-lock-goto-next-link (&optional reverse)
+  (interactive)
+  (let* ((move (if reverse #'backward-char #'forward-char)))
+    (action-lock-skip-one-link reverse)
+    (funcall move)
+    (while (not (action-lock-get-action))
+      (funcall move))
+    (when reverse
+      (action-lock-skip-one-link reverse))))
+
+(defun action-lock-goto-previous-link ()
+  (interactive)
+  (action-lock-goto-next-link t))
+
+;;;;;;;;;;;;;
+
+(provide 'action-lock)
+
+;;; action-lock.el ends here
diff --git a/bcomp.el b/bcomp.el
new file mode 100644 (file)
index 0000000..081d667
--- /dev/null
+++ b/bcomp.el
@@ -0,0 +1,23 @@
+;;; -*- Emacs-Lisp -*-
+(require 'cl)
+
+(setq bcomp-files
+      '(
+       "howm.el" "howm-menu.el" "howm-reminder.el" "howm-date.el" "howm-misc.el" "howm-mode.el" "howm-view.el" "howm-backend.el" "howm-common.el" "howm-vars.el" "howm-version.el" "howm-lang-en.el" "howm-lang-ja.el" "howm-menu-en.el" "howm-menu-ja.el" "honest-report.el" "action-lock.el" "riffle.el" "gfunc.el" "illusion.el" "cheat-font-lock.el" 
+       ))
+
+(let* ((dir (expand-file-name default-directory))
+       (load-path (cons dir load-path))
+       file)
+  (message "deleting old .elc files...")
+  (dolist (elt bcomp-files)
+    (setq file (concat dir elt "c"))
+    (if (file-exists-p file)
+       (delete-file file)))
+
+  (message "compiling...")
+  (dolist (elt bcomp-files)
+    (setq file (concat dir elt))
+    (byte-compile-file file t))
+
+  (message "done"))
diff --git a/bcomp.el.in b/bcomp.el.in
new file mode 100644 (file)
index 0000000..e4460b6
--- /dev/null
@@ -0,0 +1,23 @@
+;;; -*- Emacs-Lisp -*-
+(require 'cl)
+
+(setq bcomp-files
+      '(
+       @howm_LISP@
+       ))
+
+(let* ((dir (expand-file-name default-directory))
+       (load-path (cons dir load-path))
+       file)
+  (message "deleting old .elc files...")
+  (dolist (elt bcomp-files)
+    (setq file (concat dir elt "c"))
+    (if (file-exists-p file)
+       (delete-file file)))
+
+  (message "compiling...")
+  (dolist (elt bcomp-files)
+    (setq file (concat dir elt))
+    (byte-compile-file file t))
+
+  (message "done"))
diff --git a/cheat-font-lock.el b/cheat-font-lock.el
new file mode 100644 (file)
index 0000000..df19af3
--- /dev/null
@@ -0,0 +1,113 @@
+;;; cheat-font-lock.el --- modify font-lock-keywords
+;;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016
+;;;   HIRAOKA Kazuyuki <khi@users.sourceforge.jp>
+;;; $Id: cheat-font-lock.el,v 1.24 2011-12-31 15:07:28 hira Exp $
+;;;
+;;; This program is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 1, or (at your option)
+;;; any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; The GNU General Public License is available by anonymouse ftp from
+;;; prep.ai.mit.edu in pub/gnu/COPYING.  Alternately, you can write to
+;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
+;;; USA.
+;;--------------------------------------------------------------------
+
+;; depends on internal implementation of font-lock.el
+
+;; renamed from howm-font-lock.el [2003-12-12]
+
+(require 'font-lock)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;; This code is canceled because it caused a bug on howm-1.2.2rc5.
+;; cheat-font-lock-merge-keywords must support compiled keywords for current
+;; implementation of riffle-contents-mode. [2005-04-28]
+;; See below.
+;; snap:///~/elisp/howm/howm-view.el#223:(define-derived-mode howm-view-contents-mode riffle-contents-mode "HowmC"
+;; snap:///~/elisp/howm/howm-view.el#256:(cheat-font-lock-merge-keywords howm-view-contents-font-lock-keywords
+;; 
+;; (if (and (fboundp 'font-lock-add-keywords) (>= emacs-major-version 21))
+;;     (progn
+;;       (defun cheat-font-lock-merge-keywords (&rest keywords-list)
+;;         ;; compiled keywords are not supported in keywords-list.
+;;         (font-lock-add-keywords nil (apply #'append keywords-list) 'set))
+;;       (defun cheat-font-lock-append-keywords (entries)
+;;         (font-lock-add-keywords nil entries 'append))
+;;       (defun cheat-font-lock-prepend-keywords (entries)
+;;         (font-lock-add-keywords nil entries))
+;;       ;; inhibit warning. sigh...
+;;       (defun cheat-font-lock-20040624-format-p () nil)
+;;       (defun cheat-font-lock-compiled-p (keywords) nil)
+;;       (defun cheat-font-lock-compiled-body (keywords) nil)
+;;       )
+;;   (progn
+;;     ;; for xemacs and emacs20
+;;     ))
+
+(defun cheat-font-lock-20040624-format-p ()
+  ;; need to call font-lock-set-defaults before font-lock-compile-keywords.
+  ;; see http://lists.gnu.org/archive/html/emacs-diffs/2005-12/msg00961.html
+  (font-lock-set-defaults)
+  (>= (length (font-lock-compile-keywords '(("dummy" . 'dummy)))) 3)) ;; dirty
+(defun cheat-font-lock-compiled-p (keywords)
+  (eq (car-safe keywords) t))
+(defun cheat-font-lock-compiled-body (keywords)
+  (cdr keywords))
+(when (cheat-font-lock-20040624-format-p)
+  ;; re-defun for avoiding the warning:
+  ;; "the function `...' is not known to be defined."
+  (defun cheat-font-lock-compiled-body (keywords)
+    (cddr keywords)))
+(defun cheat-font-lock-keywords (keywords)
+  (if (cheat-font-lock-compiled-p keywords)
+      (cheat-font-lock-compiled-body keywords)
+    keywords))
+(defun cheat-font-lock-merge-keywords (&rest keywords-list)
+  (let ((bodies-list (mapcar #'cheat-font-lock-keywords keywords-list)))
+    (setq font-lock-keywords
+          (apply #'append bodies-list))))
+(defun cheat-font-lock-append-keywords (entries)
+  (cheat-font-lock-merge-keywords font-lock-keywords entries))
+(defun cheat-font-lock-prepend-keywords (entries)
+  (cheat-font-lock-merge-keywords entries font-lock-keywords))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(defun cheat-font-lock-mode (&optional silent)
+  "Enable font-lock-mode without calling fontify-buffer."
+  ;; For xemacs. But this seems to have no effect. ;_; [2004-01-14]
+  (when silent
+    (set (make-local-variable 'font-lock-verbose) nil))
+  ;; Keywords are not highlighted on the fly in emacs-21.3.50.1
+  ;; when font-lock-defaults is nil. I don't understand this. [2003-11-28]
+  (when (null font-lock-defaults)
+    (set (make-local-variable 'font-lock-defaults) '(nil)))
+  ;; Without the next line, global value is changed to t. [2003-12-30]
+  ;; (emacs-20.7.2 on Vine Linux 2.6)
+  (make-local-variable 'font-lock-fontified)
+  (let* ((font-lock-fontified t) ;; adjourn fontify-buffer
+         (bname (buffer-name))
+         (need-rename (eq (aref (buffer-name) 0) ?\ )))
+    ;; Rename invisible buffer in order to force font-lock-mode.
+    ;; cf. snap:///usr/share/emacs/21.2/lisp/font-lock.el#694:(define-minor-mode font-lock-mode
+    (when need-rename
+      (rename-buffer (concat "xxx-" bname) t))
+    (font-lock-mode 1)
+    (when need-rename
+      (rename-buffer bname)))
+  (font-lock-set-defaults))
+
+(defun cheat-font-lock-fontify (&optional dummy)
+  (font-lock-fontify-buffer))
+
+(provide 'cheat-font-lock)
+
+;;; cheat-font-lock.el ends here
diff --git a/config.guess b/config.guess
new file mode 100755 (executable)
index 0000000..396482d
--- /dev/null
@@ -0,0 +1,1500 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
+
+timestamp='2006-07-02'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Originally written by Per Bothner <per@bothner.com>.
+# Please send patches to <config-patches@gnu.org>.  Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub.  If it succeeds, it prints the system name on stdout, and
+# exits with 0.  Otherwise, it exits with 1.
+#
+# The plan is that this can be called by configure scripts if you
+# don't specify an explicit build system type.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+  -h, --help         print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version      print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+    --time-stamp | --time* | -t )
+       echo "$timestamp" ; exit ;;
+    --version | -v )
+       echo "$version" ; exit ;;
+    --help | --h* | -h )
+       echo "$usage"; exit ;;
+    -- )     # Stop option processing
+       shift; break ;;
+    - )        # Use stdin as input.
+       break ;;
+    -* )
+       echo "$me: invalid option $1$help" >&2
+       exit 1 ;;
+    * )
+       break ;;
+  esac
+done
+
+if test $# != 0; then
+  echo "$me: too many arguments$help" >&2
+  exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)    echo "int x;" > $dummy.c ;
+       for c in cc gcc c89 c99 ; do
+         if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+            CC_FOR_BUILD="$c"; break ;
+         fi ;
+       done ;
+       if test x"$CC_FOR_BUILD" = x ; then
+         CC_FOR_BUILD=no_compiler_found ;
+       fi
+       ;;
+ ,,*)   CC_FOR_BUILD=$CC ;;
+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+       PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+    *:NetBSD:*:*)
+       # NetBSD (nbsd) targets should (where applicable) match one or
+       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+       # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
+       # switched to ELF, *-*-netbsd* would select the old
+       # object file format.  This provides both forward
+       # compatibility and a consistent mechanism for selecting the
+       # object file format.
+       #
+       # Note: NetBSD doesn't particularly care about the vendor
+       # portion of the name.  We always set it to "unknown".
+       sysctl="sysctl -n hw.machine_arch"
+       UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+           /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+       case "${UNAME_MACHINE_ARCH}" in
+           armeb) machine=armeb-unknown ;;
+           arm*) machine=arm-unknown ;;
+           sh3el) machine=shl-unknown ;;
+           sh3eb) machine=sh-unknown ;;
+           *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+       esac
+       # The Operating System including object format, if it has switched
+       # to ELF recently, or will in the future.
+       case "${UNAME_MACHINE_ARCH}" in
+           arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+               eval $set_cc_for_build
+               if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+                       | grep __ELF__ >/dev/null
+               then
+                   # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+                   # Return netbsd for either.  FIX?
+                   os=netbsd
+               else
+                   os=netbsdelf
+               fi
+               ;;
+           *)
+               os=netbsd
+               ;;
+       esac
+       # The OS release
+       # Debian GNU/NetBSD machines have a different userland, and
+       # thus, need a distinct triplet. However, they do not need
+       # kernel version information, so it can be replaced with a
+       # suitable tag, in the style of linux-gnu.
+       case "${UNAME_VERSION}" in
+           Debian*)
+               release='-gnu'
+               ;;
+           *)
+               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+               ;;
+       esac
+       # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+       # contains redundant information, the shorter form:
+       # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+       echo "${machine}-${os}${release}"
+       exit ;;
+    *:OpenBSD:*:*)
+       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+       exit ;;
+    *:ekkoBSD:*:*)
+       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+       exit ;;
+    *:SolidBSD:*:*)
+       echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+       exit ;;
+    macppc:MirBSD:*:*)
+       echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+       exit ;;
+    *:MirBSD:*:*)
+       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+       exit ;;
+    alpha:OSF1:*:*)
+       case $UNAME_RELEASE in
+       *4.0)
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+               ;;
+       *5.*)
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+               ;;
+       esac
+       # According to Compaq, /usr/sbin/psrinfo has been available on
+       # OSF/1 and Tru64 systems produced since 1995.  I hope that
+       # covers most systems running today.  This code pipes the CPU
+       # types through head -n 1, so we only detect the type of CPU 0.
+       ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+       case "$ALPHA_CPU_TYPE" in
+           "EV4 (21064)")
+               UNAME_MACHINE="alpha" ;;
+           "EV4.5 (21064)")
+               UNAME_MACHINE="alpha" ;;
+           "LCA4 (21066/21068)")
+               UNAME_MACHINE="alpha" ;;
+           "EV5 (21164)")
+               UNAME_MACHINE="alphaev5" ;;
+           "EV5.6 (21164A)")
+               UNAME_MACHINE="alphaev56" ;;
+           "EV5.6 (21164PC)")
+               UNAME_MACHINE="alphapca56" ;;
+           "EV5.7 (21164PC)")
+               UNAME_MACHINE="alphapca57" ;;
+           "EV6 (21264)")
+               UNAME_MACHINE="alphaev6" ;;
+           "EV6.7 (21264A)")
+               UNAME_MACHINE="alphaev67" ;;
+           "EV6.8CB (21264C)")
+               UNAME_MACHINE="alphaev68" ;;
+           "EV6.8AL (21264B)")
+               UNAME_MACHINE="alphaev68" ;;
+           "EV6.8CX (21264D)")
+               UNAME_MACHINE="alphaev68" ;;
+           "EV6.9A (21264/EV69A)")
+               UNAME_MACHINE="alphaev69" ;;
+           "EV7 (21364)")
+               UNAME_MACHINE="alphaev7" ;;
+           "EV7.9 (21364A)")
+               UNAME_MACHINE="alphaev79" ;;
+       esac
+       # A Pn.n version is a patched version.
+       # A Vn.n version is a released version.
+       # A Tn.n version is a released field test version.
+       # A Xn.n version is an unreleased experimental baselevel.
+       # 1.2 uses "1.2" for uname -r.
+       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+       exit ;;
+    Alpha\ *:Windows_NT*:*)
+       # How do we know it's Interix rather than the generic POSIX subsystem?
+       # Should we change UNAME_MACHINE based on the output of uname instead
+       # of the specific Alpha model?
+       echo alpha-pc-interix
+       exit ;;
+    21064:Windows_NT:50:3)
+       echo alpha-dec-winnt3.5
+       exit ;;
+    Amiga*:UNIX_System_V:4.0:*)
+       echo m68k-unknown-sysv4
+       exit ;;
+    *:[Aa]miga[Oo][Ss]:*:*)
+       echo ${UNAME_MACHINE}-unknown-amigaos
+       exit ;;
+    *:[Mm]orph[Oo][Ss]:*:*)
+       echo ${UNAME_MACHINE}-unknown-morphos
+       exit ;;
+    *:OS/390:*:*)
+       echo i370-ibm-openedition
+       exit ;;
+    *:z/VM:*:*)
+       echo s390-ibm-zvmoe
+       exit ;;
+    *:OS400:*:*)
+        echo powerpc-ibm-os400
+       exit ;;
+    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+       echo arm-acorn-riscix${UNAME_RELEASE}
+       exit ;;
+    arm:riscos:*:*|arm:RISCOS:*:*)
+       echo arm-unknown-riscos
+       exit ;;
+    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+       echo hppa1.1-hitachi-hiuxmpp
+       exit ;;
+    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+       # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+       if test "`(/bin/universe) 2>/dev/null`" = att ; then
+               echo pyramid-pyramid-sysv3
+       else
+               echo pyramid-pyramid-bsd
+       fi
+       exit ;;
+    NILE*:*:*:dcosx)
+       echo pyramid-pyramid-svr4
+       exit ;;
+    DRS?6000:unix:4.0:6*)
+       echo sparc-icl-nx6
+       exit ;;
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+       case `/usr/bin/uname -p` in
+           sparc) echo sparc-icl-nx7; exit ;;
+       esac ;;
+    sun4H:SunOS:5.*:*)
+       echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
+    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+       echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
+    i86pc:SunOS:5.*:*)
+       echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
+    sun4*:SunOS:6*:*)
+       # According to config.sub, this is the proper way to canonicalize
+       # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
+       # it's likely to be more like Solaris than SunOS4.
+       echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
+    sun4*:SunOS:*:*)
+       case "`/usr/bin/arch -k`" in
+           Series*|S4*)
+               UNAME_RELEASE=`uname -v`
+               ;;
+       esac
+       # Japanese Language versions have a version number like `4.1.3-JL'.
+       echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+       exit ;;
+    sun3*:SunOS:*:*)
+       echo m68k-sun-sunos${UNAME_RELEASE}
+       exit ;;
+    sun*:*:4.2BSD:*)
+       UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+       test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+       case "`/bin/arch`" in
+           sun3)
+               echo m68k-sun-sunos${UNAME_RELEASE}
+               ;;
+           sun4)
+               echo sparc-sun-sunos${UNAME_RELEASE}
+               ;;
+       esac
+       exit ;;
+    aushp:SunOS:*:*)
+       echo sparc-auspex-sunos${UNAME_RELEASE}
+       exit ;;
+    # The situation for MiNT is a little confusing.  The machine name
+    # can be virtually everything (everything which is not
+    # "atarist" or "atariste" at least should have a processor
+    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+    # to the lowercase version "mint" (or "freemint").  Finally
+    # the system name "TOS" denotes a system which is actually not
+    # MiNT.  But MiNT is downward compatible to TOS, so this should
+    # be no problem.
+    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+        echo m68k-atari-mint${UNAME_RELEASE}
+       exit ;;
+    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+       echo m68k-atari-mint${UNAME_RELEASE}
+        exit ;;
+    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+        echo m68k-atari-mint${UNAME_RELEASE}
+       exit ;;
+    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+        echo m68k-milan-mint${UNAME_RELEASE}
+        exit ;;
+    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+        echo m68k-hades-mint${UNAME_RELEASE}
+        exit ;;
+    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+        echo m68k-unknown-mint${UNAME_RELEASE}
+        exit ;;
+    m68k:machten:*:*)
+       echo m68k-apple-machten${UNAME_RELEASE}
+       exit ;;
+    powerpc:machten:*:*)
+       echo powerpc-apple-machten${UNAME_RELEASE}
+       exit ;;
+    RISC*:Mach:*:*)
+       echo mips-dec-mach_bsd4.3
+       exit ;;
+    RISC*:ULTRIX:*:*)
+       echo mips-dec-ultrix${UNAME_RELEASE}
+       exit ;;
+    VAX*:ULTRIX*:*:*)
+       echo vax-dec-ultrix${UNAME_RELEASE}
+       exit ;;
+    2020:CLIX:*:* | 2430:CLIX:*:*)
+       echo clipper-intergraph-clix${UNAME_RELEASE}
+       exit ;;
+    mips:*:*:UMIPS | mips:*:*:RISCos)
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h>  /* for printf() prototype */
+       int main (int argc, char *argv[]) {
+#else
+       int main (argc, argv) int argc; char *argv[]; {
+#endif
+       #if defined (host_mips) && defined (MIPSEB)
+       #if defined (SYSTYPE_SYSV)
+         printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+       #endif
+       #if defined (SYSTYPE_SVR4)
+         printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+       #endif
+       #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+         printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+       #endif
+       #endif
+         exit (-1);
+       }
+EOF
+       $CC_FOR_BUILD -o $dummy $dummy.c &&
+         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+         SYSTEM_NAME=`$dummy $dummyarg` &&
+           { echo "$SYSTEM_NAME"; exit; }
+       echo mips-mips-riscos${UNAME_RELEASE}
+       exit ;;
+    Motorola:PowerMAX_OS:*:*)
+       echo powerpc-motorola-powermax
+       exit ;;
+    Motorola:*:4.3:PL8-*)
+       echo powerpc-harris-powermax
+       exit ;;
+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+       echo powerpc-harris-powermax
+       exit ;;
+    Night_Hawk:Power_UNIX:*:*)
+       echo powerpc-harris-powerunix
+       exit ;;
+    m88k:CX/UX:7*:*)
+       echo m88k-harris-cxux7
+       exit ;;
+    m88k:*:4*:R4*)
+       echo m88k-motorola-sysv4
+       exit ;;
+    m88k:*:3*:R3*)
+       echo m88k-motorola-sysv3
+       exit ;;
+    AViiON:dgux:*:*)
+        # DG/UX returns AViiON for all architectures
+        UNAME_PROCESSOR=`/usr/bin/uname -p`
+       if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+       then
+           if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+              [ ${TARGET_BINARY_INTERFACE}x = x ]
+           then
+               echo m88k-dg-dgux${UNAME_RELEASE}
+           else
+               echo m88k-dg-dguxbcs${UNAME_RELEASE}
+           fi
+       else
+           echo i586-dg-dgux${UNAME_RELEASE}
+       fi
+       exit ;;
+    M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
+       echo m88k-dolphin-sysv3
+       exit ;;
+    M88*:*:R3*:*)
+       # Delta 88k system running SVR3
+       echo m88k-motorola-sysv3
+       exit ;;
+    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+       echo m88k-tektronix-sysv3
+       exit ;;
+    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+       echo m68k-tektronix-bsd
+       exit ;;
+    *:IRIX*:*:*)
+       echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+       exit ;;
+    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
+       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
+    i*86:AIX:*:*)
+       echo i386-ibm-aix
+       exit ;;
+    ia64:AIX:*:*)
+       if [ -x /usr/bin/oslevel ] ; then
+               IBM_REV=`/usr/bin/oslevel`
+       else
+               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+       fi
+       echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+       exit ;;
+    *:AIX:2:3)
+       if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+               eval $set_cc_for_build
+               sed 's/^                //' << EOF >$dummy.c
+               #include <sys/systemcfg.h>
+
+               main()
+                       {
+                       if (!__power_pc())
+                               exit(1);
+                       puts("powerpc-ibm-aix3.2.5");
+                       exit(0);
+                       }
+EOF
+               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+               then
+                       echo "$SYSTEM_NAME"
+               else
+                       echo rs6000-ibm-aix3.2.5
+               fi
+       elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+               echo rs6000-ibm-aix3.2.4
+       else
+               echo rs6000-ibm-aix3.2
+       fi
+       exit ;;
+    *:AIX:*:[45])
+       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+       if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+               IBM_ARCH=rs6000
+       else
+               IBM_ARCH=powerpc
+       fi
+       if [ -x /usr/bin/oslevel ] ; then
+               IBM_REV=`/usr/bin/oslevel`
+       else
+               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+       fi
+       echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+       exit ;;
+    *:AIX:*:*)
+       echo rs6000-ibm-aix
+       exit ;;
+    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+       echo romp-ibm-bsd4.4
+       exit ;;
+    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
+       echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
+       exit ;;                             # report: romp-ibm BSD 4.3
+    *:BOSX:*:*)
+       echo rs6000-bull-bosx
+       exit ;;
+    DPX/2?00:B.O.S.:*:*)
+       echo m68k-bull-sysv3
+       exit ;;
+    9000/[34]??:4.3bsd:1.*:*)
+       echo m68k-hp-bsd
+       exit ;;
+    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+       echo m68k-hp-bsd4.4
+       exit ;;
+    9000/[34678]??:HP-UX:*:*)
+       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+       case "${UNAME_MACHINE}" in
+           9000/31? )            HP_ARCH=m68000 ;;
+           9000/[34]?? )         HP_ARCH=m68k ;;
+           9000/[678][0-9][0-9])
+               if [ -x /usr/bin/getconf ]; then
+                   sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+                    case "${sc_cpu_version}" in
+                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+                      532)                      # CPU_PA_RISC2_0
+                        case "${sc_kernel_bits}" in
+                          32) HP_ARCH="hppa2.0n" ;;
+                          64) HP_ARCH="hppa2.0w" ;;
+                         '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
+                        esac ;;
+                    esac
+               fi
+               if [ "${HP_ARCH}" = "" ]; then
+                   eval $set_cc_for_build
+                   sed 's/^              //' << EOF >$dummy.c
+
+              #define _HPUX_SOURCE
+              #include <stdlib.h>
+              #include <unistd.h>
+
+              int main ()
+              {
+              #if defined(_SC_KERNEL_BITS)
+                  long bits = sysconf(_SC_KERNEL_BITS);
+              #endif
+                  long cpu  = sysconf (_SC_CPU_VERSION);
+
+                  switch (cpu)
+               {
+               case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+               case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+               case CPU_PA_RISC2_0:
+              #if defined(_SC_KERNEL_BITS)
+                   switch (bits)
+                       {
+                       case 64: puts ("hppa2.0w"); break;
+                       case 32: puts ("hppa2.0n"); break;
+                       default: puts ("hppa2.0"); break;
+                       } break;
+              #else  /* !defined(_SC_KERNEL_BITS) */
+                   puts ("hppa2.0"); break;
+              #endif
+               default: puts ("hppa1.0"); break;
+               }
+                  exit (0);
+              }
+EOF
+                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+                   test -z "$HP_ARCH" && HP_ARCH=hppa
+               fi ;;
+       esac
+       if [ ${HP_ARCH} = "hppa2.0w" ]
+       then
+           eval $set_cc_for_build
+
+           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
+           # generating 64-bit code.  GNU and HP use different nomenclature:
+           #
+           # $ CC_FOR_BUILD=cc ./config.guess
+           # => hppa2.0w-hp-hpux11.23
+           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+           # => hppa64-hp-hpux11.23
+
+           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+               grep __LP64__ >/dev/null
+           then
+               HP_ARCH="hppa2.0w"
+           else
+               HP_ARCH="hppa64"
+           fi
+       fi
+       echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+       exit ;;
+    ia64:HP-UX:*:*)
+       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+       echo ia64-hp-hpux${HPUX_REV}
+       exit ;;
+    3050*:HI-UX:*:*)
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #include <unistd.h>
+       int
+       main ()
+       {
+         long cpu = sysconf (_SC_CPU_VERSION);
+         /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+            true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
+            results, however.  */
+         if (CPU_IS_PA_RISC (cpu))
+           {
+             switch (cpu)
+               {
+                 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+                 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+                 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+                 default: puts ("hppa-hitachi-hiuxwe2"); break;
+               }
+           }
+         else if (CPU_IS_HP_MC68K (cpu))
+           puts ("m68k-hitachi-hiuxwe2");
+         else puts ("unknown-hitachi-hiuxwe2");
+         exit (0);
+       }
+EOF
+       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+               { echo "$SYSTEM_NAME"; exit; }
+       echo unknown-hitachi-hiuxwe2
+       exit ;;
+    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+       echo hppa1.1-hp-bsd
+       exit ;;
+    9000/8??:4.3bsd:*:*)
+       echo hppa1.0-hp-bsd
+       exit ;;
+    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+       echo hppa1.0-hp-mpeix
+       exit ;;
+    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+       echo hppa1.1-hp-osf
+       exit ;;
+    hp8??:OSF1:*:*)
+       echo hppa1.0-hp-osf
+       exit ;;
+    i*86:OSF1:*:*)
+       if [ -x /usr/sbin/sysversion ] ; then
+           echo ${UNAME_MACHINE}-unknown-osf1mk
+       else
+           echo ${UNAME_MACHINE}-unknown-osf1
+       fi
+       exit ;;
+    parisc*:Lites*:*:*)
+       echo hppa1.1-hp-lites
+       exit ;;
+    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+       echo c1-convex-bsd
+        exit ;;
+    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+       if getsysinfo -f scalar_acc
+       then echo c32-convex-bsd
+       else echo c2-convex-bsd
+       fi
+        exit ;;
+    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+       echo c34-convex-bsd
+        exit ;;
+    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+       echo c38-convex-bsd
+        exit ;;
+    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+       echo c4-convex-bsd
+        exit ;;
+    CRAY*Y-MP:*:*:*)
+       echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit ;;
+    CRAY*[A-Z]90:*:*:*)
+       echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+       | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+             -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+             -e 's/\.[^.]*$/.X/'
+       exit ;;
+    CRAY*TS:*:*:*)
+       echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit ;;
+    CRAY*T3E:*:*:*)
+       echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit ;;
+    CRAY*SV1:*:*:*)
+       echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit ;;
+    *:UNICOS/mp:*:*)
+       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit ;;
+    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+       FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+        exit ;;
+    5000:UNIX_System_V:4.*:*)
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+       exit ;;
+    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+       echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+       exit ;;
+    sparc*:BSD/OS:*:*)
+       echo sparc-unknown-bsdi${UNAME_RELEASE}
+       exit ;;
+    *:BSD/OS:*:*)
+       echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+       exit ;;
+    *:FreeBSD:*:*)
+       case ${UNAME_MACHINE} in
+           pc98)
+               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+           amd64)
+               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+           *)
+               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+       esac
+       exit ;;
+    i*:CYGWIN*:*)
+       echo ${UNAME_MACHINE}-pc-cygwin
+       exit ;;
+    i*:MINGW*:*)
+       echo ${UNAME_MACHINE}-pc-mingw32
+       exit ;;
+    i*:windows32*:*)
+       # uname -m includes "-pc" on this system.
+       echo ${UNAME_MACHINE}-mingw32
+       exit ;;
+    i*:PW*:*)
+       echo ${UNAME_MACHINE}-pc-pw32
+       exit ;;
+    x86:Interix*:[3456]*)
+       echo i586-pc-interix${UNAME_RELEASE}
+       exit ;;
+    EM64T:Interix*:[3456]*)
+       echo x86_64-unknown-interix${UNAME_RELEASE}
+       exit ;;
+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+       echo i${UNAME_MACHINE}-pc-mks
+       exit ;;
+    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+       # How do we know it's Interix rather than the generic POSIX subsystem?
+       # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+       # UNAME_MACHINE based on the output of uname instead of i386?
+       echo i586-pc-interix
+       exit ;;
+    i*:UWIN*:*)
+       echo ${UNAME_MACHINE}-pc-uwin
+       exit ;;
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+       echo x86_64-unknown-cygwin
+       exit ;;
+    p*:CYGWIN*:*)
+       echo powerpcle-unknown-cygwin
+       exit ;;
+    prep*:SunOS:5.*:*)
+       echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
+    *:GNU:*:*)
+       # the GNU system
+       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+       exit ;;
+    *:GNU/*:*:*)
+       # other systems with GNU libc and userland
+       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+       exit ;;
+    i*86:Minix:*:*)
+       echo ${UNAME_MACHINE}-pc-minix
+       exit ;;
+    arm*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    avr32*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    cris:Linux:*:*)
+       echo cris-axis-linux-gnu
+       exit ;;
+    crisv32:Linux:*:*)
+       echo crisv32-axis-linux-gnu
+       exit ;;
+    frv:Linux:*:*)
+       echo frv-unknown-linux-gnu
+       exit ;;
+    ia64:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    m32r*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    m68*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    mips:Linux:*:*)
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #undef CPU
+       #undef mips
+       #undef mipsel
+       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+       CPU=mipsel
+       #else
+       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+       CPU=mips
+       #else
+       CPU=
+       #endif
+       #endif
+EOF
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+           /^CPU/{
+               s: ::g
+               p
+           }'`"
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+       ;;
+    mips64:Linux:*:*)
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #undef CPU
+       #undef mips64
+       #undef mips64el
+       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+       CPU=mips64el
+       #else
+       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+       CPU=mips64
+       #else
+       CPU=
+       #endif
+       #endif
+EOF
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+           /^CPU/{
+               s: ::g
+               p
+           }'`"
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+       ;;
+    or32:Linux:*:*)
+       echo or32-unknown-linux-gnu
+       exit ;;
+    ppc:Linux:*:*)
+       echo powerpc-unknown-linux-gnu
+       exit ;;
+    ppc64:Linux:*:*)
+       echo powerpc64-unknown-linux-gnu
+       exit ;;
+    alpha:Linux:*:*)
+       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+         EV5)   UNAME_MACHINE=alphaev5 ;;
+         EV56)  UNAME_MACHINE=alphaev56 ;;
+         PCA56) UNAME_MACHINE=alphapca56 ;;
+         PCA57) UNAME_MACHINE=alphapca56 ;;
+         EV6)   UNAME_MACHINE=alphaev6 ;;
+         EV67)  UNAME_MACHINE=alphaev67 ;;
+         EV68*) UNAME_MACHINE=alphaev68 ;;
+        esac
+       objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+       exit ;;
+    parisc:Linux:*:* | hppa:Linux:*:*)
+       # Look for CPU level
+       case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+         PA7*) echo hppa1.1-unknown-linux-gnu ;;
+         PA8*) echo hppa2.0-unknown-linux-gnu ;;
+         *)    echo hppa-unknown-linux-gnu ;;
+       esac
+       exit ;;
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
+       echo hppa64-unknown-linux-gnu
+       exit ;;
+    s390:Linux:*:* | s390x:Linux:*:*)
+       echo ${UNAME_MACHINE}-ibm-linux
+       exit ;;
+    sh64*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    sh*:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    sparc:Linux:*:* | sparc64:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
+       exit ;;
+    vax:Linux:*:*)
+       echo ${UNAME_MACHINE}-dec-linux-gnu
+       exit ;;
+    x86_64:Linux:*:*)
+       echo x86_64-unknown-linux-gnu
+       exit ;;
+    i*86:Linux:*:*)
+       # The BFD linker knows what the default object file format is, so
+       # first see if it will tell us. cd to the root directory to prevent
+       # problems with other programs or directories called `ld' in the path.
+       # Set LC_ALL=C to ensure ld outputs messages in English.
+       ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
+                        | sed -ne '/supported targets:/!d
+                                   s/[         ][      ]*/ /g
+                                   s/.*supported targets: *//
+                                   s/ .*//
+                                   p'`
+        case "$ld_supported_targets" in
+         elf32-i386)
+               TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+               ;;
+         a.out-i386-linux)
+               echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+               exit ;;
+         coff-i386)
+               echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+               exit ;;
+         "")
+               # Either a pre-BFD a.out linker (linux-gnuoldld) or
+               # one that does not give us useful --help.
+               echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
+               exit ;;
+       esac
+       # Determine whether the default compiler is a.out or elf
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #include <features.h>
+       #ifdef __ELF__
+       # ifdef __GLIBC__
+       #  if __GLIBC__ >= 2
+       LIBC=gnu
+       #  else
+       LIBC=gnulibc1
+       #  endif
+       # else
+       LIBC=gnulibc1
+       # endif
+       #else
+       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
+       LIBC=gnu
+       #else
+       LIBC=gnuaout
+       #endif
+       #endif
+       #ifdef __dietlibc__
+       LIBC=dietlibc
+       #endif
+EOF
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+           /^LIBC/{
+               s: ::g
+               p
+           }'`"
+       test x"${LIBC}" != x && {
+               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+               exit
+       }
+       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
+       ;;
+    i*86:DYNIX/ptx:4*:*)
+       # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+       # earlier versions are messed up and put the nodename in both
+       # sysname and nodename.
+       echo i386-sequent-sysv4
+       exit ;;
+    i*86:UNIX_SV:4.2MP:2.*)
+        # Unixware is an offshoot of SVR4, but it has its own version
+        # number series starting with 2...
+        # I am not positive that other SVR4 systems won't match this,
+       # I just have to hope.  -- rms.
+        # Use sysv4.2uw... so that sysv4* matches it.
+       echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+       exit ;;
+    i*86:OS/2:*:*)
+       # If we were able to find `uname', then EMX Unix compatibility
+       # is probably installed.
+       echo ${UNAME_MACHINE}-pc-os2-emx
+       exit ;;
+    i*86:XTS-300:*:STOP)
+       echo ${UNAME_MACHINE}-unknown-stop
+       exit ;;
+    i*86:atheos:*:*)
+       echo ${UNAME_MACHINE}-unknown-atheos
+       exit ;;
+    i*86:syllable:*:*)
+       echo ${UNAME_MACHINE}-pc-syllable
+       exit ;;
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+       echo i386-unknown-lynxos${UNAME_RELEASE}
+       exit ;;
+    i*86:*DOS:*:*)
+       echo ${UNAME_MACHINE}-pc-msdosdjgpp
+       exit ;;
+    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+       UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+       if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+               echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+       else
+               echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+       fi
+       exit ;;
+    i*86:*:5:[678]*)
+       # UnixWare 7.x, OpenUNIX and OpenServer 6.
+       case `/bin/uname -X | grep "^Machine"` in
+           *486*)           UNAME_MACHINE=i486 ;;
+           *Pentium)        UNAME_MACHINE=i586 ;;
+           *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+       esac
+       echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+       exit ;;
+    i*86:*:3.2:*)
+       if test -f /usr/options/cb.name; then
+               UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+               echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+       elif /bin/uname -X 2>/dev/null >/dev/null ; then
+               UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+               (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+               (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+                       && UNAME_MACHINE=i586
+               (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+                       && UNAME_MACHINE=i686
+               (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+                       && UNAME_MACHINE=i686
+               echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+       else
+               echo ${UNAME_MACHINE}-pc-sysv32
+       fi
+       exit ;;
+    pc:*:*:*)
+       # Left here for compatibility:
+        # uname -m prints for DJGPP always 'pc', but it prints nothing about
+        # the processor, so we play safe by assuming i386.
+       echo i386-pc-msdosdjgpp
+        exit ;;
+    Intel:Mach:3*:*)
+       echo i386-pc-mach3
+       exit ;;
+    paragon:*:*:*)
+       echo i860-intel-osf1
+       exit ;;
+    i860:*:4.*:*) # i860-SVR4
+       if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+         echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+       else # Add other i860-SVR4 vendors below as they are discovered.
+         echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
+       fi
+       exit ;;
+    mini*:CTIX:SYS*5:*)
+       # "miniframe"
+       echo m68010-convergent-sysv
+       exit ;;
+    mc68k:UNIX:SYSTEM5:3.51m)
+       echo m68k-convergent-sysv
+       exit ;;
+    M680?0:D-NIX:5.3:*)
+       echo m68k-diab-dnix
+       exit ;;
+    M68*:*:R3V[5678]*:*)
+       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+       OS_REL=''
+       test -r /etc/.relid \
+       && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+       /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+          && { echo i486-ncr-sysv4; exit; } ;;
+    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+       echo m68k-unknown-lynxos${UNAME_RELEASE}
+       exit ;;
+    mc68030:UNIX_System_V:4.*:*)
+       echo m68k-atari-sysv4
+       exit ;;
+    TSUNAMI:LynxOS:2.*:*)
+       echo sparc-unknown-lynxos${UNAME_RELEASE}
+       exit ;;
+    rs6000:LynxOS:2.*:*)
+       echo rs6000-unknown-lynxos${UNAME_RELEASE}
+       exit ;;
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+       echo powerpc-unknown-lynxos${UNAME_RELEASE}
+       exit ;;
+    SM[BE]S:UNIX_SV:*:*)
+       echo mips-dde-sysv${UNAME_RELEASE}
+       exit ;;
+    RM*:ReliantUNIX-*:*:*)
+       echo mips-sni-sysv4
+       exit ;;
+    RM*:SINIX-*:*:*)
+       echo mips-sni-sysv4
+       exit ;;
+    *:SINIX-*:*:*)
+       if uname -p 2>/dev/null >/dev/null ; then
+               UNAME_MACHINE=`(uname -p) 2>/dev/null`
+               echo ${UNAME_MACHINE}-sni-sysv4
+       else
+               echo ns32k-sni-sysv
+       fi
+       exit ;;
+    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+                      # says <Richard.M.Bartel@ccMail.Census.GOV>
+        echo i586-unisys-sysv4
+        exit ;;
+    *:UNIX_System_V:4*:FTX*)
+       # From Gerald Hewes <hewes@openmarket.com>.
+       # How about differentiating between stratus architectures? -djm
+       echo hppa1.1-stratus-sysv4
+       exit ;;
+    *:*:*:FTX*)
+       # From seanf@swdc.stratus.com.
+       echo i860-stratus-sysv4
+       exit ;;
+    i*86:VOS:*:*)
+       # From Paul.Green@stratus.com.
+       echo ${UNAME_MACHINE}-stratus-vos
+       exit ;;
+    *:VOS:*:*)
+       # From Paul.Green@stratus.com.
+       echo hppa1.1-stratus-vos
+       exit ;;
+    mc68*:A/UX:*:*)
+       echo m68k-apple-aux${UNAME_RELEASE}
+       exit ;;
+    news*:NEWS-OS:6*:*)
+       echo mips-sony-newsos6
+       exit ;;
+    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+       if [ -d /usr/nec ]; then
+               echo mips-nec-sysv${UNAME_RELEASE}
+       else
+               echo mips-unknown-sysv${UNAME_RELEASE}
+       fi
+        exit ;;
+    BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
+       echo powerpc-be-beos
+       exit ;;
+    BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
+       echo powerpc-apple-beos
+       exit ;;
+    BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
+       echo i586-pc-beos
+       exit ;;
+    SX-4:SUPER-UX:*:*)
+       echo sx4-nec-superux${UNAME_RELEASE}
+       exit ;;
+    SX-5:SUPER-UX:*:*)
+       echo sx5-nec-superux${UNAME_RELEASE}
+       exit ;;
+    SX-6:SUPER-UX:*:*)
+       echo sx6-nec-superux${UNAME_RELEASE}
+       exit ;;
+    Power*:Rhapsody:*:*)
+       echo powerpc-apple-rhapsody${UNAME_RELEASE}
+       exit ;;
+    *:Rhapsody:*:*)
+       echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+       exit ;;
+    *:Darwin:*:*)
+       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+       case $UNAME_PROCESSOR in
+           unknown) UNAME_PROCESSOR=powerpc ;;
+       esac
+       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+       exit ;;
+    *:procnto*:*:* | *:QNX:[0123456789]*:*)
+       UNAME_PROCESSOR=`uname -p`
+       if test "$UNAME_PROCESSOR" = "x86"; then
+               UNAME_PROCESSOR=i386
+               UNAME_MACHINE=pc
+       fi
+       echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+       exit ;;
+    *:QNX:*:4*)
+       echo i386-pc-qnx
+       exit ;;
+    NSE-?:NONSTOP_KERNEL:*:*)
+       echo nse-tandem-nsk${UNAME_RELEASE}
+       exit ;;
+    NSR-?:NONSTOP_KERNEL:*:*)
+       echo nsr-tandem-nsk${UNAME_RELEASE}
+       exit ;;
+    *:NonStop-UX:*:*)
+       echo mips-compaq-nonstopux
+       exit ;;
+    BS2000:POSIX*:*:*)
+       echo bs2000-siemens-sysv
+       exit ;;
+    DS/*:UNIX_System_V:*:*)
+       echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+       exit ;;
+    *:Plan9:*:*)
+       # "uname -m" is not consistent, so use $cputype instead. 386
+       # is converted to i386 for consistency with other x86
+       # operating systems.
+       if test "$cputype" = "386"; then
+           UNAME_MACHINE=i386
+       else
+           UNAME_MACHINE="$cputype"
+       fi
+       echo ${UNAME_MACHINE}-unknown-plan9
+       exit ;;
+    *:TOPS-10:*:*)
+       echo pdp10-unknown-tops10
+       exit ;;
+    *:TENEX:*:*)
+       echo pdp10-unknown-tenex
+       exit ;;
+    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+       echo pdp10-dec-tops20
+       exit ;;
+    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+       echo pdp10-xkl-tops20
+       exit ;;
+    *:TOPS-20:*:*)
+       echo pdp10-unknown-tops20
+       exit ;;
+    *:ITS:*:*)
+       echo pdp10-unknown-its
+       exit ;;
+    SEI:*:*:SEIUX)
+        echo mips-sei-seiux${UNAME_RELEASE}
+       exit ;;
+    *:DragonFly:*:*)
+       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+       exit ;;
+    *:*VMS:*:*)
+       UNAME_MACHINE=`(uname -p) 2>/dev/null`
+       case "${UNAME_MACHINE}" in
+           A*) echo alpha-dec-vms ; exit ;;
+           I*) echo ia64-dec-vms ; exit ;;
+           V*) echo vax-dec-vms ; exit ;;
+       esac ;;
+    *:XENIX:*:SysV)
+       echo i386-pc-xenix
+       exit ;;
+    i*86:skyos:*:*)
+       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+       exit ;;
+    i*86:rdos:*:*)
+       echo ${UNAME_MACHINE}-pc-rdos
+       exit ;;
+esac
+
+#echo '(No uname command or uname output not recognized.)' 1>&2
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
+     I don't know....  */
+  printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+  printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+          "4"
+#else
+         ""
+#endif
+         ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+  printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+  printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+  int version;
+  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+  if (version < 4)
+    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+  else
+    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+  exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+  printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+  printf ("ns32k-encore-mach\n"); exit (0);
+#else
+  printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+  printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+  printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+  printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+    struct utsname un;
+
+    uname(&un);
+
+    if (strncmp(un.version, "V2", 2) == 0) {
+       printf ("i386-sequent-ptx2\n"); exit (0);
+    }
+    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+       printf ("i386-sequent-ptx1\n"); exit (0);
+    }
+    printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+#  include <sys/param.h>
+#  if defined (BSD)
+#   if BSD == 43
+      printf ("vax-dec-bsd4.3\n"); exit (0);
+#   else
+#    if BSD == 199006
+      printf ("vax-dec-bsd4.3reno\n"); exit (0);
+#    else
+      printf ("vax-dec-bsd\n"); exit (0);
+#    endif
+#   endif
+#  else
+    printf ("vax-dec-bsd\n"); exit (0);
+#  endif
+# else
+    printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+  printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+  exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+       { echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+    case `getsysinfo -f cpu_type` in
+    c1*)
+       echo c1-convex-bsd
+       exit ;;
+    c2*)
+       if getsysinfo -f scalar_acc
+       then echo c32-convex-bsd
+       else echo c2-convex-bsd
+       fi
+       exit ;;
+    c34*)
+       echo c34-convex-bsd
+       exit ;;
+    c38*)
+       echo c38-convex-bsd
+       exit ;;
+    c4*)
+       echo c4-convex-bsd
+       exit ;;
+    esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
+and
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches@gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo               = `(hostinfo) 2>/dev/null`
+/bin/universe          = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch              = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM  = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/config.sub b/config.sub
new file mode 100755 (executable)
index 0000000..387c18d
--- /dev/null
@@ -0,0 +1,1608 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
+
+timestamp='2006-07-02'
+
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine.  It does not imply ALL GNU software can.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Please send patches to <config-patches@gnu.org>.  Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support.  The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+#      CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+#      CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+       $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+  -h, --help         print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version      print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+    --time-stamp | --time* | -t )
+       echo "$timestamp" ; exit ;;
+    --version | -v )
+       echo "$version" ; exit ;;
+    --help | --h* | -h )
+       echo "$usage"; exit ;;
+    -- )     # Stop option processing
+       shift; break ;;
+    - )        # Use stdin as input.
+       break ;;
+    -* )
+       echo "$me: invalid option $1$help"
+       exit 1 ;;
+
+    *local*)
+       # First pass through any local machine types.
+       echo $1
+       exit ;;
+
+    * )
+       break ;;
+  esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+    exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+    exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
+  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+  storm-chaos* | os2-emx* | rtmk-nova*)
+    os=-$maybe_os
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+    ;;
+  *)
+    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+    if [ $basic_machine != $1 ]
+    then os=`echo $1 | sed 's/.*-/-/'`
+    else os=; fi
+    ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work.  We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+       -sun*os*)
+               # Prevent following clause from handling this invalid input.
+               ;;
+       -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+       -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+       -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+       -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+       -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+       -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+       -apple | -axis | -knuth | -cray)
+               os=
+               basic_machine=$1
+               ;;
+       -sim | -cisco | -oki | -wec | -winbond)
+               os=
+               basic_machine=$1
+               ;;
+       -scout)
+               ;;
+       -wrs)
+               os=-vxworks
+               basic_machine=$1
+               ;;
+       -chorusos*)
+               os=-chorusos
+               basic_machine=$1
+               ;;
+       -chorusrdb)
+               os=-chorusrdb
+               basic_machine=$1
+               ;;
+       -hiux*)
+               os=-hiuxwe2
+               ;;
+       -sco6)
+               os=-sco5v6
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco5)
+               os=-sco3.2v5
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco4)
+               os=-sco3.2v4
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco3.2.[4-9]*)
+               os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco3.2v[4-9]*)
+               # Don't forget version if it is 3.2v4 or newer.
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco5v6*)
+               # Don't forget version if it is 3.2v4 or newer.
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -sco*)
+               os=-sco3.2v2
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -udk*)
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -isc)
+               os=-isc2.2
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -clix*)
+               basic_machine=clipper-intergraph
+               ;;
+       -isc*)
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+               ;;
+       -lynx*)
+               os=-lynxos
+               ;;
+       -ptx*)
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+               ;;
+       -windowsnt*)
+               os=`echo $os | sed -e 's/windowsnt/winnt/'`
+               ;;
+       -psos*)
+               os=-psos
+               ;;
+       -mint | -mint[0-9]*)
+               basic_machine=m68k-atari
+               os=-mint
+               ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+       # Recognize the basic CPU types without company name.
+       # Some are omitted here because they have special meanings below.
+       1750a | 580 \
+       | a29k \
+       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+       | am33_2.0 \
+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+       | bfin \
+       | c4x | clipper \
+       | d10v | d30v | dlx | dsp16xx \
+       | fr30 | frv \
+       | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+       | i370 | i860 | i960 | ia64 \
+       | ip2k | iq2000 \
+       | m32c | m32r | m32rle | m68000 | m68k | m88k \
+       | maxq | mb | microblaze | mcore \
+       | mips | mipsbe | mipseb | mipsel | mipsle \
+       | mips16 \
+       | mips64 | mips64el \
+       | mips64vr | mips64vrel \
+       | mips64orion | mips64orionel \
+       | mips64vr4100 | mips64vr4100el \
+       | mips64vr4300 | mips64vr4300el \
+       | mips64vr5000 | mips64vr5000el \
+       | mips64vr5900 | mips64vr5900el \
+       | mipsisa32 | mipsisa32el \
+       | mipsisa32r2 | mipsisa32r2el \
+       | mipsisa64 | mipsisa64el \
+       | mipsisa64r2 | mipsisa64r2el \
+       | mipsisa64sb1 | mipsisa64sb1el \
+       | mipsisa64sr71k | mipsisa64sr71kel \
+       | mipstx39 | mipstx39el \
+       | mn10200 | mn10300 \
+       | mt \
+       | msp430 \
+       | nios | nios2 \
+       | ns16k | ns32k \
+       | or32 \
+       | pdp10 | pdp11 | pj | pjl \
+       | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+       | pyramid \
+       | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+       | sh64 | sh64le \
+       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+       | spu | strongarm \
+       | tahoe | thumb | tic4x | tic80 | tron \
+       | v850 | v850e \
+       | we32k \
+       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
+       | z8k)
+               basic_machine=$basic_machine-unknown
+               ;;
+       m6811 | m68hc11 | m6812 | m68hc12)
+               # Motorola 68HC11/12.
+               basic_machine=$basic_machine-unknown
+               os=-none
+               ;;
+       m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+               ;;
+       ms1)
+               basic_machine=mt-unknown
+               ;;
+
+       # We use `pc' rather than `unknown'
+       # because (1) that's what they normally are, and
+       # (2) the word "unknown" tends to confuse beginning users.
+       i*86 | x86_64)
+         basic_machine=$basic_machine-pc
+         ;;
+       # Object if more than one company name word.
+       *-*-*)
+               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+               exit 1
+               ;;
+       # Recognize the basic CPU types with company name.
+       580-* \
+       | a29k-* \
+       | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+       | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+       | avr-* | avr32-* \
+       | bfin-* | bs2000-* \
+       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+       | clipper-* | craynv-* | cydra-* \
+       | d10v-* | d30v-* | dlx-* \
+       | elxsi-* \
+       | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+       | h8300-* | h8500-* \
+       | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+       | i*86-* | i860-* | i960-* | ia64-* \
+       | ip2k-* | iq2000-* \
+       | m32c-* | m32r-* | m32rle-* \
+       | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+       | m88110-* | m88k-* | maxq-* | mcore-* \
+       | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+       | mips16-* \
+       | mips64-* | mips64el-* \
+       | mips64vr-* | mips64vrel-* \
+       | mips64orion-* | mips64orionel-* \
+       | mips64vr4100-* | mips64vr4100el-* \
+       | mips64vr4300-* | mips64vr4300el-* \
+       | mips64vr5000-* | mips64vr5000el-* \
+       | mips64vr5900-* | mips64vr5900el-* \
+       | mipsisa32-* | mipsisa32el-* \
+       | mipsisa32r2-* | mipsisa32r2el-* \
+       | mipsisa64-* | mipsisa64el-* \
+       | mipsisa64r2-* | mipsisa64r2el-* \
+       | mipsisa64sb1-* | mipsisa64sb1el-* \
+       | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+       | mipstx39-* | mipstx39el-* \
+       | mmix-* \
+       | mt-* \
+       | msp430-* \
+       | nios-* | nios2-* \
+       | none-* | np1-* | ns16k-* | ns32k-* \
+       | orion-* \
+       | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+       | pyramid-* \
+       | romp-* | rs6000-* \
+       | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+       | sparclite-* \
+       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
+       | tahoe-* | thumb-* \
+       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+       | tron-* \
+       | v850-* | v850e-* | vax-* \
+       | we32k-* \
+       | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
+       | xstormy16-* | xtensa-* \
+       | ymp-* \
+       | z8k-*)
+               ;;
+       # Recognize the various machine names and aliases which stand
+       # for a CPU type and a company and sometimes even an OS.
+       386bsd)
+               basic_machine=i386-unknown
+               os=-bsd
+               ;;
+       3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+               basic_machine=m68000-att
+               ;;
+       3b*)
+               basic_machine=we32k-att
+               ;;
+       a29khif)
+               basic_machine=a29k-amd
+               os=-udi
+               ;;
+       abacus)
+               basic_machine=abacus-unknown
+               ;;
+       adobe68k)
+               basic_machine=m68010-adobe
+               os=-scout
+               ;;
+       alliant | fx80)
+               basic_machine=fx80-alliant
+               ;;
+       altos | altos3068)
+               basic_machine=m68k-altos
+               ;;
+       am29k)
+               basic_machine=a29k-none
+               os=-bsd
+               ;;
+       amd64)
+               basic_machine=x86_64-pc
+               ;;
+       amd64-*)
+               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       amdahl)
+               basic_machine=580-amdahl
+               os=-sysv
+               ;;
+       amiga | amiga-*)
+               basic_machine=m68k-unknown
+               ;;
+       amigaos | amigados)
+               basic_machine=m68k-unknown
+               os=-amigaos
+               ;;
+       amigaunix | amix)
+               basic_machine=m68k-unknown
+               os=-sysv4
+               ;;
+       apollo68)
+               basic_machine=m68k-apollo
+               os=-sysv
+               ;;
+       apollo68bsd)
+               basic_machine=m68k-apollo
+               os=-bsd
+               ;;
+       aux)
+               basic_machine=m68k-apple
+               os=-aux
+               ;;
+       balance)
+               basic_machine=ns32k-sequent
+               os=-dynix
+               ;;
+       c90)
+               basic_machine=c90-cray
+               os=-unicos
+               ;;
+       convex-c1)
+               basic_machine=c1-convex
+               os=-bsd
+               ;;
+       convex-c2)
+               basic_machine=c2-convex
+               os=-bsd
+               ;;
+       convex-c32)
+               basic_machine=c32-convex
+               os=-bsd
+               ;;
+       convex-c34)
+               basic_machine=c34-convex
+               os=-bsd
+               ;;
+       convex-c38)
+               basic_machine=c38-convex
+               os=-bsd
+               ;;
+       cray | j90)
+               basic_machine=j90-cray
+               os=-unicos
+               ;;
+       craynv)
+               basic_machine=craynv-cray
+               os=-unicosmp
+               ;;
+       cr16c)
+               basic_machine=cr16c-unknown
+               os=-elf
+               ;;
+       crds | unos)
+               basic_machine=m68k-crds
+               ;;
+       crisv32 | crisv32-* | etraxfs*)
+               basic_machine=crisv32-axis
+               ;;
+       cris | cris-* | etrax*)
+               basic_machine=cris-axis
+               ;;
+       crx)
+               basic_machine=crx-unknown
+               os=-elf
+               ;;
+       da30 | da30-*)
+               basic_machine=m68k-da30
+               ;;
+       decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+               basic_machine=mips-dec
+               ;;
+       decsystem10* | dec10*)
+               basic_machine=pdp10-dec
+               os=-tops10
+               ;;
+       decsystem20* | dec20*)
+               basic_machine=pdp10-dec
+               os=-tops20
+               ;;
+       delta | 3300 | motorola-3300 | motorola-delta \
+             | 3300-motorola | delta-motorola)
+               basic_machine=m68k-motorola
+               ;;
+       delta88)
+               basic_machine=m88k-motorola
+               os=-sysv3
+               ;;
+       djgpp)
+               basic_machine=i586-pc
+               os=-msdosdjgpp
+               ;;
+       dpx20 | dpx20-*)
+               basic_machine=rs6000-bull
+               os=-bosx
+               ;;
+       dpx2* | dpx2*-bull)
+               basic_machine=m68k-bull
+               os=-sysv3
+               ;;
+       ebmon29k)
+               basic_machine=a29k-amd
+               os=-ebmon
+               ;;
+       elxsi)
+               basic_machine=elxsi-elxsi
+               os=-bsd
+               ;;
+       encore | umax | mmax)
+               basic_machine=ns32k-encore
+               ;;
+       es1800 | OSE68k | ose68k | ose | OSE)
+               basic_machine=m68k-ericsson
+               os=-ose
+               ;;
+       fx2800)
+               basic_machine=i860-alliant
+               ;;
+       genix)
+               basic_machine=ns32k-ns
+               ;;
+       gmicro)
+               basic_machine=tron-gmicro
+               os=-sysv
+               ;;
+       go32)
+               basic_machine=i386-pc
+               os=-go32
+               ;;
+       h3050r* | hiux*)
+               basic_machine=hppa1.1-hitachi
+               os=-hiuxwe2
+               ;;
+       h8300hms)
+               basic_machine=h8300-hitachi
+               os=-hms
+               ;;
+       h8300xray)
+               basic_machine=h8300-hitachi
+               os=-xray
+               ;;
+       h8500hms)
+               basic_machine=h8500-hitachi
+               os=-hms
+               ;;
+       harris)
+               basic_machine=m88k-harris
+               os=-sysv3
+               ;;
+       hp300-*)
+               basic_machine=m68k-hp
+               ;;
+       hp300bsd)
+               basic_machine=m68k-hp
+               os=-bsd
+               ;;
+       hp300hpux)
+               basic_machine=m68k-hp
+               os=-hpux
+               ;;
+       hp3k9[0-9][0-9] | hp9[0-9][0-9])
+               basic_machine=hppa1.0-hp
+               ;;
+       hp9k2[0-9][0-9] | hp9k31[0-9])
+               basic_machine=m68000-hp
+               ;;
+       hp9k3[2-9][0-9])
+               basic_machine=m68k-hp
+               ;;
+       hp9k6[0-9][0-9] | hp6[0-9][0-9])
+               basic_machine=hppa1.0-hp
+               ;;
+       hp9k7[0-79][0-9] | hp7[0-79][0-9])
+               basic_machine=hppa1.1-hp
+               ;;
+       hp9k78[0-9] | hp78[0-9])
+               # FIXME: really hppa2.0-hp
+               basic_machine=hppa1.1-hp
+               ;;
+       hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+               # FIXME: really hppa2.0-hp
+               basic_machine=hppa1.1-hp
+               ;;
+       hp9k8[0-9][13679] | hp8[0-9][13679])
+               basic_machine=hppa1.1-hp
+               ;;
+       hp9k8[0-9][0-9] | hp8[0-9][0-9])
+               basic_machine=hppa1.0-hp
+               ;;
+       hppa-next)
+               os=-nextstep3
+               ;;
+       hppaosf)
+               basic_machine=hppa1.1-hp
+               os=-osf
+               ;;
+       hppro)
+               basic_machine=hppa1.1-hp
+               os=-proelf
+               ;;
+       i370-ibm* | ibm*)
+               basic_machine=i370-ibm
+               ;;
+# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
+       i*86v32)
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+               os=-sysv32
+               ;;
+       i*86v4*)
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+               os=-sysv4
+               ;;
+       i*86v)
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+               os=-sysv
+               ;;
+       i*86sol2)
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+               os=-solaris2
+               ;;
+       i386mach)
+               basic_machine=i386-mach
+               os=-mach
+               ;;
+       i386-vsta | vsta)
+               basic_machine=i386-unknown
+               os=-vsta
+               ;;
+       iris | iris4d)
+               basic_machine=mips-sgi
+               case $os in
+                   -irix*)
+                       ;;
+                   *)
+                       os=-irix4
+                       ;;
+               esac
+               ;;
+       isi68 | isi)
+               basic_machine=m68k-isi
+               os=-sysv
+               ;;
+       m88k-omron*)
+               basic_machine=m88k-omron
+               ;;
+       magnum | m3230)
+               basic_machine=mips-mips
+               os=-sysv
+               ;;
+       merlin)
+               basic_machine=ns32k-utek
+               os=-sysv
+               ;;
+       mingw32)
+               basic_machine=i386-pc
+               os=-mingw32
+               ;;
+       miniframe)
+               basic_machine=m68000-convergent
+               ;;
+       *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+               basic_machine=m68k-atari
+               os=-mint
+               ;;
+       mips3*-*)
+               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+               ;;
+       mips3*)
+               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+               ;;
+       monitor)
+               basic_machine=m68k-rom68k
+               os=-coff
+               ;;
+       morphos)
+               basic_machine=powerpc-unknown
+               os=-morphos
+               ;;
+       msdos)
+               basic_machine=i386-pc
+               os=-msdos
+               ;;
+       ms1-*)
+               basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+               ;;
+       mvs)
+               basic_machine=i370-ibm
+               os=-mvs
+               ;;
+       ncr3000)
+               basic_machine=i486-ncr
+               os=-sysv4
+               ;;
+       netbsd386)
+               basic_machine=i386-unknown
+               os=-netbsd
+               ;;
+       netwinder)
+               basic_machine=armv4l-rebel
+               os=-linux
+               ;;
+       news | news700 | news800 | news900)
+               basic_machine=m68k-sony
+               os=-newsos
+               ;;
+       news1000)
+               basic_machine=m68030-sony
+               os=-newsos
+               ;;
+       news-3600 | risc-news)
+               basic_machine=mips-sony
+               os=-newsos
+               ;;
+       necv70)
+               basic_machine=v70-nec
+               os=-sysv
+               ;;
+       next | m*-next )
+               basic_machine=m68k-next
+               case $os in
+                   -nextstep* )
+                       ;;
+                   -ns2*)
+                     os=-nextstep2
+                       ;;
+                   *)
+                     os=-nextstep3
+                       ;;
+               esac
+               ;;
+       nh3000)
+               basic_machine=m68k-harris
+               os=-cxux
+               ;;
+       nh[45]000)
+               basic_machine=m88k-harris
+               os=-cxux
+               ;;
+       nindy960)
+               basic_machine=i960-intel
+               os=-nindy
+               ;;
+       mon960)
+               basic_machine=i960-intel
+               os=-mon960
+               ;;
+       nonstopux)
+               basic_machine=mips-compaq
+               os=-nonstopux
+               ;;
+       np1)
+               basic_machine=np1-gould
+               ;;
+       nsr-tandem)
+               basic_machine=nsr-tandem
+               ;;
+       op50n-* | op60c-*)
+               basic_machine=hppa1.1-oki
+               os=-proelf
+               ;;
+       openrisc | openrisc-*)
+               basic_machine=or32-unknown
+               ;;
+       os400)
+               basic_machine=powerpc-ibm
+               os=-os400
+               ;;
+       OSE68000 | ose68000)
+               basic_machine=m68000-ericsson
+               os=-ose
+               ;;
+       os68k)
+               basic_machine=m68k-none
+               os=-os68k
+               ;;
+       pa-hitachi)
+               basic_machine=hppa1.1-hitachi
+               os=-hiuxwe2
+               ;;
+       paragon)
+               basic_machine=i860-intel
+               os=-osf
+               ;;
+       pbd)
+               basic_machine=sparc-tti
+               ;;
+       pbb)
+               basic_machine=m68k-tti
+               ;;
+       pc532 | pc532-*)
+               basic_machine=ns32k-pc532
+               ;;
+       pc98)
+               basic_machine=i386-pc
+               ;;
+       pc98-*)
+               basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       pentium | p5 | k5 | k6 | nexgen | viac3)
+               basic_machine=i586-pc
+               ;;
+       pentiumpro | p6 | 6x86 | athlon | athlon_*)
+               basic_machine=i686-pc
+               ;;
+       pentiumii | pentium2 | pentiumiii | pentium3)
+               basic_machine=i686-pc
+               ;;
+       pentium4)
+               basic_machine=i786-pc
+               ;;
+       pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+               basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       pentiumpro-* | p6-* | 6x86-* | athlon-*)
+               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       pentium4-*)
+               basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       pn)
+               basic_machine=pn-gould
+               ;;
+       power)  basic_machine=power-ibm
+               ;;
+       ppc)    basic_machine=powerpc-unknown
+               ;;
+       ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       ppcle | powerpclittle | ppc-le | powerpc-little)
+               basic_machine=powerpcle-unknown
+               ;;
+       ppcle-* | powerpclittle-*)
+               basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       ppc64)  basic_machine=powerpc64-unknown
+               ;;
+       ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+               basic_machine=powerpc64le-unknown
+               ;;
+       ppc64le-* | powerpc64little-*)
+               basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+               ;;
+       ps2)
+               basic_machine=i386-ibm
+               ;;
+       pw32)
+               basic_machine=i586-unknown
+               os=-pw32
+               ;;
+       rdos)
+               basic_machine=i386-pc
+               os=-rdos
+               ;;
+       rom68k)
+               basic_machine=m68k-rom68k
+               os=-coff
+               ;;
+       rm[46]00)
+               basic_machine=mips-siemens
+               ;;
+       rtpc | rtpc-*)
+               basic_machine=romp-ibm
+               ;;
+       s390 | s390-*)
+               basic_machine=s390-ibm
+               ;;
+       s390x | s390x-*)
+               basic_machine=s390x-ibm
+               ;;
+       sa29200)
+               basic_machine=a29k-amd
+               os=-udi
+               ;;
+       sb1)
+               basic_machine=mipsisa64sb1-unknown
+               ;;
+       sb1el)
+               basic_machine=mipsisa64sb1el-unknown
+               ;;
+       sei)
+               basic_machine=mips-sei
+               os=-seiux
+               ;;
+       sequent)
+               basic_machine=i386-sequent
+               ;;
+       sh)
+               basic_machine=sh-hitachi
+               os=-hms
+               ;;
+       sh64)
+               basic_machine=sh64-unknown
+               ;;
+       sparclite-wrs | simso-wrs)
+               basic_machine=sparclite-wrs
+               os=-vxworks
+               ;;
+       sps7)
+               basic_machine=m68k-bull
+               os=-sysv2
+               ;;
+       spur)
+               basic_machine=spur-unknown
+               ;;
+       st2000)
+               basic_machine=m68k-tandem
+               ;;
+       stratus)
+               basic_machine=i860-stratus
+               os=-sysv4
+               ;;
+       sun2)
+               basic_machine=m68000-sun
+               ;;
+       sun2os3)
+               basic_machine=m68000-sun
+               os=-sunos3
+               ;;
+       sun2os4)
+               basic_machine=m68000-sun
+               os=-sunos4
+               ;;
+       sun3os3)
+               basic_machine=m68k-sun
+               os=-sunos3
+               ;;
+       sun3os4)
+               basic_machine=m68k-sun
+               os=-sunos4
+               ;;
+       sun4os3)
+               basic_machine=sparc-sun
+               os=-sunos3
+               ;;
+       sun4os4)
+               basic_machine=sparc-sun
+               os=-sunos4
+               ;;
+       sun4sol2)
+               basic_machine=sparc-sun
+               os=-solaris2
+               ;;
+       sun3 | sun3-*)
+               basic_machine=m68k-sun
+               ;;
+       sun4)
+               basic_machine=sparc-sun
+               ;;
+       sun386 | sun386i | roadrunner)
+               basic_machine=i386-sun
+               ;;
+       sv1)
+               basic_machine=sv1-cray
+               os=-unicos
+               ;;
+       symmetry)
+               basic_machine=i386-sequent
+               os=-dynix
+               ;;
+       t3e)
+               basic_machine=alphaev5-cray
+               os=-unicos
+               ;;
+       t90)
+               basic_machine=t90-cray
+               os=-unicos
+               ;;
+       tic54x | c54x*)
+               basic_machine=tic54x-unknown
+               os=-coff
+               ;;
+       tic55x | c55x*)
+               basic_machine=tic55x-unknown
+               os=-coff
+               ;;
+       tic6x | c6x*)
+               basic_machine=tic6x-unknown
+               os=-coff
+               ;;
+       tx39)
+               basic_machine=mipstx39-unknown
+               ;;
+       tx39el)
+               basic_machine=mipstx39el-unknown
+               ;;
+       toad1)
+               basic_machine=pdp10-xkl
+               os=-tops20
+               ;;
+       tower | tower-32)
+               basic_machine=m68k-ncr
+               ;;
+       tpf)
+               basic_machine=s390x-ibm
+               os=-tpf
+               ;;
+       udi29k)
+               basic_machine=a29k-amd
+               os=-udi
+               ;;
+       ultra3)
+               basic_machine=a29k-nyu
+               os=-sym1
+               ;;
+       v810 | necv810)
+               basic_machine=v810-nec
+               os=-none
+               ;;
+       vaxv)
+               basic_machine=vax-dec
+               os=-sysv
+               ;;
+       vms)
+               basic_machine=vax-dec
+               os=-vms
+               ;;
+       vpp*|vx|vx-*)
+               basic_machine=f301-fujitsu
+               ;;
+       vxworks960)
+               basic_machine=i960-wrs
+               os=-vxworks
+               ;;
+       vxworks68)
+               basic_machine=m68k-wrs
+               os=-vxworks
+               ;;
+       vxworks29k)
+               basic_machine=a29k-wrs
+               os=-vxworks
+               ;;
+       w65*)
+               basic_machine=w65-wdc
+               os=-none
+               ;;
+       w89k-*)
+               basic_machine=hppa1.1-winbond
+               os=-proelf
+               ;;
+       xbox)
+               basic_machine=i686-pc
+               os=-mingw32
+               ;;
+       xps | xps100)
+               basic_machine=xps100-honeywell
+               ;;
+       ymp)
+               basic_machine=ymp-cray
+               os=-unicos
+               ;;
+       z8k-*-coff)
+               basic_machine=z8k-unknown
+               os=-sim
+               ;;
+       none)
+               basic_machine=none-none
+               os=-none
+               ;;
+
+# Here we handle the default manufacturer of certain CPU types.  It is in
+# some cases the only manufacturer, in others, it is the most popular.
+       w89k)
+               basic_machine=hppa1.1-winbond
+               ;;
+       op50n)
+               basic_machine=hppa1.1-oki
+               ;;
+       op60c)
+               basic_machine=hppa1.1-oki
+               ;;
+       romp)
+               basic_machine=romp-ibm
+               ;;
+       mmix)
+               basic_machine=mmix-knuth
+               ;;
+       rs6000)
+               basic_machine=rs6000-ibm
+               ;;
+       vax)
+               basic_machine=vax-dec
+               ;;
+       pdp10)
+               # there are many clones, so DEC is not a safe bet
+               basic_machine=pdp10-unknown
+               ;;
+       pdp11)
+               basic_machine=pdp11-dec
+               ;;
+       we32k)
+               basic_machine=we32k-att
+               ;;
+       sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
+               basic_machine=sh-unknown
+               ;;
+       sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+               basic_machine=sparc-sun
+               ;;
+       cydra)
+               basic_machine=cydra-cydrome
+               ;;
+       orion)
+               basic_machine=orion-highlevel
+               ;;
+       orion105)
+               basic_machine=clipper-highlevel
+               ;;
+       mac | mpw | mac-mpw)
+               basic_machine=m68k-apple
+               ;;
+       pmac | pmac-mpw)
+               basic_machine=powerpc-apple
+               ;;
+       *-unknown)
+               # Make sure to match an already-canonicalized machine name.
+               ;;
+       *)
+               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+               exit 1
+               ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+       *-digital*)
+               basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+               ;;
+       *-commodore*)
+               basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+               ;;
+       *)
+               ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+        # First match some system type aliases
+        # that might get confused with valid system types.
+       # -solaris* is a basic system type, with this one exception.
+       -solaris1 | -solaris1.*)
+               os=`echo $os | sed -e 's|solaris1|sunos4|'`
+               ;;
+       -solaris)
+               os=-solaris2
+               ;;
+       -svr4*)
+               os=-sysv4
+               ;;
+       -unixware*)
+               os=-sysv4.2uw
+               ;;
+       -gnu/linux*)
+               os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+               ;;
+       # First accept the basic system types.
+       # The portable systems comes first.
+       # Each alternative MUST END IN A *, to match a version number.
+       # -sysv* is not here because it comes later, after sysvr4.
+       -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+             | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
+             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+             | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+             | -aos* \
+             | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+             | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+             | -openbsd* | -solidbsd* \
+             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+             | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+             | -chorusos* | -chorusrdb* \
+             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+             | -uxpv* | -beos* | -mpeix* | -udk* \
+             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+             | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+             | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+             | -skyos* | -haiku* | -rdos* | -toppers*)
+       # Remember, each alternative MUST END IN *, to match a version number.
+               ;;
+       -qnx*)
+               case $basic_machine in
+                   x86-* | i*86-*)
+                       ;;
+                   *)
+                       os=-nto$os
+                       ;;
+               esac
+               ;;
+       -nto-qnx*)
+               ;;
+       -nto*)
+               os=`echo $os | sed -e 's|nto|nto-qnx|'`
+               ;;
+       -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
+             | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+               ;;
+       -mac*)
+               os=`echo $os | sed -e 's|mac|macos|'`
+               ;;
+       -linux-dietlibc)
+               os=-linux-dietlibc
+               ;;
+       -linux*)
+               os=`echo $os | sed -e 's|linux|linux-gnu|'`
+               ;;
+       -sunos5*)
+               os=`echo $os | sed -e 's|sunos5|solaris2|'`
+               ;;
+       -sunos6*)
+               os=`echo $os | sed -e 's|sunos6|solaris3|'`
+               ;;
+       -opened*)
+               os=-openedition
+               ;;
+        -os400*)
+               os=-os400
+               ;;
+       -wince*)
+               os=-wince
+               ;;
+       -osfrose*)
+               os=-osfrose
+               ;;
+       -osf*)
+               os=-osf
+               ;;
+       -utek*)
+               os=-bsd
+               ;;
+       -dynix*)
+               os=-bsd
+               ;;
+       -acis*)
+               os=-aos
+               ;;
+       -atheos*)
+               os=-atheos
+               ;;
+       -syllable*)
+               os=-syllable
+               ;;
+       -386bsd)
+               os=-bsd
+               ;;
+       -ctix* | -uts*)
+               os=-sysv
+               ;;
+       -nova*)
+               os=-rtmk-nova
+               ;;
+       -ns2 )
+               os=-nextstep2
+               ;;
+       -nsk*)
+               os=-nsk
+               ;;
+       # Preserve the version number of sinix5.
+       -sinix5.*)
+               os=`echo $os | sed -e 's|sinix|sysv|'`
+               ;;
+       -sinix*)
+               os=-sysv4
+               ;;
+        -tpf*)
+               os=-tpf
+               ;;
+       -triton*)
+               os=-sysv3
+               ;;
+       -oss*)
+               os=-sysv3
+               ;;
+       -svr4)
+               os=-sysv4
+               ;;
+       -svr3)
+               os=-sysv3
+               ;;
+       -sysvr4)
+               os=-sysv4
+               ;;
+       # This must come after -sysvr4.
+       -sysv*)
+               ;;
+       -ose*)
+               os=-ose
+               ;;
+       -es1800*)
+               os=-ose
+               ;;
+       -xenix)
+               os=-xenix
+               ;;
+       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+               os=-mint
+               ;;
+       -aros*)
+               os=-aros
+               ;;
+       -kaos*)
+               os=-kaos
+               ;;
+       -zvmoe)
+               os=-zvmoe
+               ;;
+       -none)
+               ;;
+       *)
+               # Get rid of the `-' at the beginning of $os.
+               os=`echo $os | sed 's/[^-]*-//'`
+               echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+               exit 1
+               ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system.  Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+        spu-*)
+               os=-elf
+               ;;
+       *-acorn)
+               os=-riscix1.2
+               ;;
+       arm*-rebel)
+               os=-linux
+               ;;
+       arm*-semi)
+               os=-aout
+               ;;
+        c4x-* | tic4x-*)
+               os=-coff
+               ;;
+       # This must come before the *-dec entry.
+       pdp10-*)
+               os=-tops20
+               ;;
+       pdp11-*)
+               os=-none
+               ;;
+       *-dec | vax-*)
+               os=-ultrix4.2
+               ;;
+       m68*-apollo)
+               os=-domain
+               ;;
+       i386-sun)
+               os=-sunos4.0.2
+               ;;
+       m68000-sun)
+               os=-sunos3
+               # This also exists in the configure program, but was not the
+               # default.
+               # os=-sunos4
+               ;;
+       m68*-cisco)
+               os=-aout
+               ;;
+       mips*-cisco)
+               os=-elf
+               ;;
+       mips*-*)
+               os=-elf
+               ;;
+       or32-*)
+               os=-coff
+               ;;
+       *-tti)  # must be before sparc entry or we get the wrong os.
+               os=-sysv3
+               ;;
+       sparc-* | *-sun)
+               os=-sunos4.1.1
+               ;;
+       *-be)
+               os=-beos
+               ;;
+       *-haiku)
+               os=-haiku
+               ;;
+       *-ibm)
+               os=-aix
+               ;;
+       *-knuth)
+               os=-mmixware
+               ;;
+       *-wec)
+               os=-proelf
+               ;;
+       *-winbond)
+               os=-proelf
+               ;;
+       *-oki)
+               os=-proelf
+               ;;
+       *-hp)
+               os=-hpux
+               ;;
+       *-hitachi)
+               os=-hiux
+               ;;
+       i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+               os=-sysv
+               ;;
+       *-cbm)
+               os=-amigaos
+               ;;
+       *-dg)
+               os=-dgux
+               ;;
+       *-dolphin)
+               os=-sysv3
+               ;;
+       m68k-ccur)
+               os=-rtu
+               ;;
+       m88k-omron*)
+               os=-luna
+               ;;
+       *-next )
+               os=-nextstep
+               ;;
+       *-sequent)
+               os=-ptx
+               ;;
+       *-crds)
+               os=-unos
+               ;;
+       *-ns)
+               os=-genix
+               ;;
+       i370-*)
+               os=-mvs
+               ;;
+       *-next)
+               os=-nextstep3
+               ;;
+       *-gould)
+               os=-sysv
+               ;;
+       *-highlevel)
+               os=-bsd
+               ;;
+       *-encore)
+               os=-bsd
+               ;;
+       *-sgi)
+               os=-irix
+               ;;
+       *-siemens)
+               os=-sysv4
+               ;;
+       *-masscomp)
+               os=-rtu
+               ;;
+       f30[01]-fujitsu | f700-fujitsu)
+               os=-uxpv
+               ;;
+       *-rom68k)
+               os=-coff
+               ;;
+       *-*bug)
+               os=-coff
+               ;;
+       *-apple)
+               os=-macos
+               ;;
+       *-atari*)
+               os=-mint
+               ;;
+       *)
+               os=-none
+               ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer.  We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+       *-unknown)
+               case $os in
+                       -riscix*)
+                               vendor=acorn
+                               ;;
+                       -sunos*)
+                               vendor=sun
+                               ;;
+                       -aix*)
+                               vendor=ibm
+                               ;;
+                       -beos*)
+                               vendor=be
+                               ;;
+                       -hpux*)
+                               vendor=hp
+                               ;;
+                       -mpeix*)
+                               vendor=hp
+                               ;;
+                       -hiux*)
+                               vendor=hitachi
+                               ;;
+                       -unos*)
+                               vendor=crds
+                               ;;
+                       -dgux*)
+                               vendor=dg
+                               ;;
+                       -luna*)
+                               vendor=omron
+                               ;;
+                       -genix*)
+                               vendor=ns
+                               ;;
+                       -mvs* | -opened*)
+                               vendor=ibm
+                               ;;
+                       -os400*)
+                               vendor=ibm
+                               ;;
+                       -ptx*)
+                               vendor=sequent
+                               ;;
+                       -tpf*)
+                               vendor=ibm
+                               ;;
+                       -vxsim* | -vxworks* | -windiss*)
+                               vendor=wrs
+                               ;;
+                       -aux*)
+                               vendor=apple
+                               ;;
+                       -hms*)
+                               vendor=hitachi
+                               ;;
+                       -mpw* | -macos*)
+                               vendor=apple
+                               ;;
+                       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+                               vendor=atari
+                               ;;
+                       -vos*)
+                               vendor=stratus
+                               ;;
+               esac
+               basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+               ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/configure b/configure
new file mode 100755 (executable)
index 0000000..423a257
--- /dev/null
+++ b/configure
@@ -0,0 +1,4037 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for howm InsertVersionHere.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '${1+"$@"}'='"$@"'
+  setopt NO_GLOB_SUBST
+else
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+    as_echo_n='/usr/ucb/echo -n'
+  else
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+    as_echo_n_body='eval
+      arg=$1;
+      case $arg in #(
+      *"$as_nl"*)
+       expr "X$arg" : "X\\(.*\\)$as_nl";
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+      esac;
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+    '
+    export as_echo_n_body
+    as_echo_n='sh -c $as_echo_n_body as_echo'
+  fi
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+      PATH_SEPARATOR=';'
+  }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" ""       $as_nl"
+
+# Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+  *[\\/]* ) as_myself=$0 ;;
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
+IFS=$as_save_IFS
+
+     ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+  as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
+  setopt NO_GLOB_SUBST
+else
+  case \`(set -o) 2>/dev/null\` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
+fi
+"
+  as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+  exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
+  if (eval "$as_required") 2>/dev/null; then :
+  as_have_required=yes
+else
+  as_have_required=no
+fi
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  as_found=:
+  case $as_dir in #(
+        /*)
+          for as_base in sh bash ksh sh5; do
+            # Try only shells that exist, to save several forks.
+            as_shell=$as_dir/$as_base
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  CONFIG_SHELL=$as_shell as_have_required=yes
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  break 2
+fi
+fi
+          done;;
+       esac
+  as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+  CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+      if test "x$CONFIG_SHELL" != x; then :
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+    if test x$as_have_required = xno; then :
+  $as_echo "$0: This script requires a shell more modern than all"
+  $as_echo "$0: the shells that I found on your system."
+  if test x${ZSH_VERSION+set} = xset ; then
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+  else
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+  fi
+  exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+  { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+  return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+  set +e
+  as_fn_set_status $1
+  exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+  case $as_dir in #(
+  -*) as_dir=./$as_dir;;
+  esac
+  test -d "$as_dir" || eval $as_mkdir_p || {
+    as_dirs=
+    while :; do
+      case $as_dir in #(
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+      *) as_qdir=$as_dir;;
+      esac
+      as_dirs="'$as_qdir' $as_dirs"
+      as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+        X"$as_dir" : 'X\(//\)[^/]' \| \
+        X"$as_dir" : 'X\(//\)$' \| \
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+           s//\1/
+           q
+         }
+         /^X\(\/\/\)[^/].*/{
+           s//\1/
+           q
+         }
+         /^X\(\/\/\)$/{
+           s//\1/
+           q
+         }
+         /^X\(\/\).*/{
+           s//\1/
+           q
+         }
+         s/.*/./; q'`
+      test -d "$as_dir" && break
+    done
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+  eval 'as_fn_append ()
+  {
+    eval $1+=\$2
+  }'
+else
+  as_fn_append ()
+  {
+    eval $1=\$$1\$2
+  }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+  eval 'as_fn_arith ()
+  {
+    as_val=$(( $* ))
+  }'
+else
+  as_fn_arith ()
+  {
+    as_val=`expr "$@" || test $? -eq 1`
+  }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  fi
+  $as_echo "$as_me: error: $2" >&2
+  as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
+  as_expr=expr
+else
+  as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+  as_basename=basename
+else
+  as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+  as_dirname=dirname
+else
+  as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+        X"$0" : 'X\(//\)$' \| \
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+           s//\1/
+           q
+         }
+         /^X\/\(\/\/\)$/{
+           s//\1/
+           q
+         }
+         /^X\/\(\/\).*/{
+           s//\1/
+           q
+         }
+         s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
+  sed -n '
+    p
+    /[$]LINENO/=
+  ' <$as_myself |
+    sed '
+      s/[$]LINENO.*/&-/
+      t lineno
+      b
+      :lineno
+      N
+      :loop
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+      t loop
+      s/-\n.*//
+    ' >$as_me.lineno &&
+  chmod +x "$as_me.lineno" ||
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
+  # Don't try to exec as it changes $[0], causing all sort of problems
+  # (the dirname of $[0] is not the place where we might find the
+  # original and so on.  Autoconf is especially sensitive to this).
+  . "./$as_me.lineno"
+  # Exit status is that of the last command.
+  exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+  case `echo 'xy\c'` in
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
+  xy)  ECHO_C='\c';;
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
+       ECHO_T='        ';;
+  esac;;
+*)
+  ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+  rm -f conf$$.dir/conf$$.file
+else
+  rm -f conf$$.dir
+  mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s='ln -s'
+    # ... but there are two gotchas:
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+    # In both cases, we have to default to `cp -pR'.
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+      as_ln_s='cp -pR'
+  elif ln conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s=ln
+  else
+    as_ln_s='cp -pR'
+  fi
+else
+  as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+  as_mkdir_p='mkdir -p "$as_dir"'
+else
+  test -d ./-p && rmdir ./-p
+  as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='howm'
+PACKAGE_TARNAME='howm'
+PACKAGE_VERSION='InsertVersionHere'
+PACKAGE_STRING='howm InsertVersionHere'
+PACKAGE_BUGREPORT=''
+PACKAGE_URL=''
+
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+extdir
+howmdir
+lispdir
+packagedir
+EMACS
+LN_S
+CVS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+MAINT
+MAINTAINER_MODE_FALSE
+MAINTAINER_MODE_TRUE
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_maintainer_mode
+with_bash
+with_xemacs
+with_emacs
+with_packagedir
+with_lispdir
+with_howmdir
+with_docdir
+with_extdir
+with_endir
+with_jadir
+'
+      ac_precious_vars='build_alias
+host_alias
+target_alias'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+  # If the previous option needs an argument, assign it.
+  if test -n "$ac_prev"; then
+    eval $ac_prev=\$ac_option
+    ac_prev=
+    continue
+  fi
+
+  case $ac_option in
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
+  esac
+
+  # Accept the important Cygnus configure options, so we can diagnose typos.
+
+  case $ac_dashdash$ac_option in
+  --)
+    ac_dashdash=yes ;;
+
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
+    ac_prev=bindir ;;
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+    bindir=$ac_optarg ;;
+
+  -build | --build | --buil | --bui | --bu)
+    ac_prev=build_alias ;;
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+    build_alias=$ac_optarg ;;
+
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+    ac_prev=cache_file ;;
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+    cache_file=$ac_optarg ;;
+
+  --config-cache | -C)
+    cache_file=config.cache ;;
+
+  -datadir | --datadir | --datadi | --datad)
+    ac_prev=datadir ;;
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
+    datadir=$ac_optarg ;;
+
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+  | --dataroo | --dataro | --datar)
+    ac_prev=datarootdir ;;
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+    datarootdir=$ac_optarg ;;
+
+  -disable-* | --disable-*)
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+        ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=no ;;
+
+  -docdir | --docdir | --docdi | --doc | --do)
+    ac_prev=docdir ;;
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+    docdir=$ac_optarg ;;
+
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+    ac_prev=dvidir ;;
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+    dvidir=$ac_optarg ;;
+
+  -enable-* | --enable-*)
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+    # Reject names that are not valid shell variable names.
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+        ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=\$ac_optarg ;;
+
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+  | --exec | --exe | --ex)
+    ac_prev=exec_prefix ;;
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+  | --exec=* | --exe=* | --ex=*)
+    exec_prefix=$ac_optarg ;;
+
+  -gas | --gas | --ga | --g)
+    # Obsolete; use --with-gas.
+    with_gas=yes ;;
+
+  -help | --help | --hel | --he | -h)
+    ac_init_help=long ;;
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+    ac_init_help=recursive ;;
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+    ac_init_help=short ;;
+
+  -host | --host | --hos | --ho)
+    ac_prev=host_alias ;;
+  -host=* | --host=* | --hos=* | --ho=*)
+    host_alias=$ac_optarg ;;
+
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+    ac_prev=htmldir ;;
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+  | --ht=*)
+    htmldir=$ac_optarg ;;
+
+  -includedir | --includedir | --includedi | --included | --include \
+  | --includ | --inclu | --incl | --inc)
+    ac_prev=includedir ;;
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
+    includedir=$ac_optarg ;;
+
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
+    ac_prev=infodir ;;
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+    infodir=$ac_optarg ;;
+
+  -libdir | --libdir | --libdi | --libd)
+    ac_prev=libdir ;;
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
+    libdir=$ac_optarg ;;
+
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+  | --libexe | --libex | --libe)
+    ac_prev=libexecdir ;;
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+  | --libexe=* | --libex=* | --libe=*)
+    libexecdir=$ac_optarg ;;
+
+  -localedir | --localedir | --localedi | --localed | --locale)
+    ac_prev=localedir ;;
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+    localedir=$ac_optarg ;;
+
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
+  | --localstate | --localstat | --localsta | --localst | --locals)
+    ac_prev=localstatedir ;;
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+    localstatedir=$ac_optarg ;;
+
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+    ac_prev=mandir ;;
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+    mandir=$ac_optarg ;;
+
+  -nfp | --nfp | --nf)
+    # Obsolete; use --without-fp.
+    with_fp=no ;;
+
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+  | --no-cr | --no-c | -n)
+    no_create=yes ;;
+
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+    no_recursion=yes ;;
+
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+  | --oldin | --oldi | --old | --ol | --o)
+    ac_prev=oldincludedir ;;
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+    oldincludedir=$ac_optarg ;;
+
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+    ac_prev=prefix ;;
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+    prefix=$ac_optarg ;;
+
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
+  | --program-pre | --program-pr | --program-p)
+    ac_prev=program_prefix ;;
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
+  |