diff --git a/src/libraries/libisc-new/COPYING b/src/libraries/libisc-new/COPYING
index a43ea2126fb6b114bff5f8e003ee118e045dacf1..d60c31a97a544b53039088d14fe9114583c0efc3 100644
--- a/src/libraries/libisc-new/COPYING
+++ b/src/libraries/libisc-new/COPYING
@@ -2,7 +2,7 @@
 		       Version 2, June 1991
 
  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                          675 Mass Ave, Cambridge, MA 02139, USA
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
@@ -279,7 +279,7 @@ POSSIBILITY OF SUCH DAMAGES.
 
 		     END OF TERMS AND CONDITIONS
 
-	Appendix: How to Apply These Terms to Your New Programs
+	    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
@@ -291,7 +291,7 @@ 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) 19yy  <name of author>
+    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
@@ -305,14 +305,15 @@ the "copyright" line and a pointer to where the full notice is found.
 
     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., 675 Mass Ave, Cambridge, MA 02139, USA.
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  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) 19yy name of author
+    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.
diff --git a/src/libraries/libisc-new/COPYING.LIB b/src/libraries/libisc-new/COPYING.LIB
new file mode 100644
index 0000000000000000000000000000000000000000..92b8903ff3fea7f49ef5c041b67a087bca21c5ec
--- /dev/null
+++ b/src/libraries/libisc-new/COPYING.LIB
@@ -0,0 +1,481 @@
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+    		    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL.  It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it.  You can use it for
+your libraries, 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 library, or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library.  If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, 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 companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software.  To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+  Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs.  This
+license, the GNU Library General Public License, applies to certain
+designated libraries.  This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+  The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it.  Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program.  However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+  Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries.  We
+concluded that weaker conditions might promote sharing better.
+
+  However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves.  This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them.  (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.)  The hope is that this
+will lead to faster development of free libraries.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+  Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License").  Each licensee is
+addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, 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 library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete 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 distribute a copy of this License along with the
+Library.
+
+  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 Library or any portion
+of it, thus forming a work based on the Library, 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) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+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 Library, 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 Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you 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.
+
+  If distribution of 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 satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    c) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    d) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  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.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library 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.
+
+  9. 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 Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+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.
+
+  11. 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 Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library 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 Library.
+
+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.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library 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.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Library 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 Library
+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 Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+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
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "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
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. 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 LIBRARY 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
+LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  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 library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library 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
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
diff --git a/src/libraries/libisc-new/ChangeLog b/src/libraries/libisc-new/ChangeLog
index afbfb3a31a70afc8baf2a860f931c3b7beacc1ed..856f02918eed25bebe4a86cc567f9bfdf93097db 100644
--- a/src/libraries/libisc-new/ChangeLog
+++ b/src/libraries/libisc-new/ChangeLog
@@ -1,5 +1,233 @@
+1999-05-01  Per Cederqvist  <ceder@lysator.liu.se>
+
+	* Version 1.00 released.
+
+	Release preparations.
+	* configure.in: Release 1.00.
+	* TODO: Updated.
+	* README: Updated.
+	* NEWS: Entry for 1.00 written.
+
+	"make maintainer-clean" shoudl remove everything that can be
+	recreated.
+	* Makefile.am (MAINTAINERCLEANFILES): Added Makefile.in,
+	aclocal.m4, configure, install-sh, mkinstalldirs, missing, INSTALL
+	and COPYING.
+	* src/Makefile.am (MAINTAINERCLEANFILES): Added Makefile.in.
+	* man/Makefile.am (MAINTAINERCLEANFILES): Added Makefile.in.
+	* doc/Makefile.am (MAINTAINERCLEANFILES): Added Makefile.in.
+	* demo/Makefile.am (MAINTAINERCLEANFILES): Added Makefile.in.
+
+	Removed support for isc_printf and isc_vprintf for license,
+	performance and portability reasons.
+	* configure.in: Removed --enable-isc-printf.
+	* src/isc_stdout.c (isc_printf): Removed.
+	(isc_vprintf): Removed.
+	(send_scb): Removed.
+	(send_putc): Removed.
+	* src/isc.h (isc_printf): Removed.
+	(isc_vprintf): Removed.
+	* src/Makefile.am (libisc_a_LIBADD): Removed.
+	(isc_stdout.o): No longer depend on ../config.status.
+	* src/printf.c: Removed.
+
+	Merged in all changes made to ISC in the lyskomd code from the
+	isc_merge_1999_04_21 tag to the isc_merge_1999_05_01 tag.  Details
+	follows:
+
+    1999-04-28  Per Cederqvist  <ceder@lysator.liu.se>
+
+	Added some output functions.
+	* src/isc_stdout.c (isc_puts): New function.
+	(isc_putul): New function.
+	* src/isc.h (isc_puts): New function.
+	(isc_putul): New function.
+
+1999-04-24  Per Cederqvist  <ceder@lysator.liu.se>
+
+	Make it easier to compile ISC out-of-the-repository.
+	* README.DEVO: Mention bootstrap.sh.
+	* bootstrap.sh: New file.
+
+	Fix file inclusions.
+	* src/isc_relocate.c: <time.h> and <stddef.h> must be included
+	before "isc.h".
+	* src/isc_alloc.c: <time.h> must be included before "isc.h".
+	* src/isc_master.c: Likewise.
+	* src/isc_output.c: Likewise.
+	* src/isc_tcp.c: Likewise.
+	* src/isc_udp.c: Likewise.
+
+	Update at least one of the man pages.
+	* man/isc_close.3x: Updated.
+
+	Distribute ISC under LGPL.
+	* README: Changed license to LGPL.
+	* COPYING.LIB: New file, containing LGPL, the license this
+	library is distributed under.
+	* COPYING: No longer under version control.  This file is still
+	included in the distribution, even though ISC is licensed under
+	LGPL instead of GPL, for two reasons: LGPL allows you to change
+	the license to GPL, and automake requires the file COPYING.
+	* Makefile.am: Changed license to LGPL.
+	* configure.in: Changed license to LGPL.
+	* demo/Makefile.am: Changed license to LGPL.
+	* man/Makefile.am: Changed license to LGPL.
+	* man/TEMPLATE: Changed license to LGPL.
+	* man/isc.3x: Changed license to LGPL.
+	* man/isc_close.3x: Changed license to LGPL.
+	* man/isc_createtcp.3x: Changed license to LGPL.
+	* man/isc_destroy.3x: Changed license to LGPL.
+	* man/isc_initialize.3x: Changed license to LGPL.
+	* man/isc_listentcp.3x: Changed license to LGPL.
+	* man/isc_openfd.3x: Changed license to LGPL.
+	* man/isc_openfile.3x: Changed license to LGPL.
+	* man/isc_opentcp.3x: Changed license to LGPL.
+	* man/isc_shutdown.3x: Changed license to LGPL.
+	* man/isc_unlisten.3x: Changed license to LGPL.
+	* src/Makefile.am: Changed license to LGPL.
+	* src/intern.h: Changed license to LGPL.
+	* src/isc.h: Changed license to LGPL.
+	* src/isc_abort.c: Changed license to LGPL.
+	* src/isc_alloc.c: Changed license to LGPL.
+	* src/isc_event.c: Changed license to LGPL.
+	* src/isc_handler.c: Changed license to LGPL.
+	* src/isc_master.c: Changed license to LGPL.
+	* src/isc_message.c: Changed license to LGPL.
+	* src/isc_output.c: Changed license to LGPL.
+	* src/isc_queue.c: Changed license to LGPL.
+	* src/isc_relocate.c: Changed license to LGPL.
+	* src/isc_session.c: Changed license to LGPL.
+	* src/isc_socket.c: Changed license to LGPL.
+	* src/isc_stdout.c: Changed license to LGPL.
+	* src/isc_tcp.c: Changed license to LGPL.
+	* src/isc_udp.c: Changed license to LGPL.
+	* src/isc_wait.c: Changed license to LGPL.
+	* src/unused.h: Changed license to LGPL.
+
+1999-04-22  Per Cederqvist  <ceder@lysator.liu.se>
+
+	Distribute administrative files.
+	* Makefile.am (EXTRA_DIST): Added README.DEVO and RELEASING.
+
+	Merged in all changes made to ISC in the lyskomd code from ISC
+	0.99 to the isc_merge_1999_04_21 tag.  Details follows:
+
+    1999-04-17  Per Cederqvist  <ceder@lysator.liu.se>
+
+	Added full support for fd relocation.
+	* src/isc_relocate.c (isc_relocate_fd): Implemented for real.
+	* src/isc_event.c (isc_getnextevent): Return
+	ISC_EVENT_LOGIN_UNRELOCATED instead of ISC_EVENT_LOGIN if a
+	file descriptor relocation failed.
+	* src/isc.h (IscEventType): New event: ISC_EVENT_LOGIN_UNRELOCATED.
+
+    1999-04-17  Per Cederqvist  <ceder@gratia>
+
+	Added limited support for fd relocation.  Error handling still
+	needed.
+	* src/isc_udp.c (isc_createudp): Relocate the fd.
+	* src/isc_tcp.c (isc_tcp_accept_fn): isc_createtcp will close the
+	file descriptor if it fails, so don't re-close it here.
+	isc_createtcp will also set the fd attribute of the session; don't
+	set it again.
+	(isc_createtcp): Relocate the fd.  Be careful to always close it
+	if an error occurs.
+	* src/isc_relocate.c (isc_relocate_fd): New file and function.
+	This is still a dummy implementation.
+	* src/isc_master.c (isc_initialize): Expect master config version
+	1006 and session config 1002.  Handle fd_relocate.
+	* src/isc.h (IscSessionConfig): Added fd_relocate.
+	* src/intern.h (isc_relocate_fd): New function.
+	* src/Makefile.am (libisc_a_SOURCES): Added isc_relocate.c.
+
+    1999-04-16  Per Cederqvist  <ceder@gratia>
+
+	Simplify the use of IscHandlerList.  (This needs more
+	documentation.)
+	* src/isc.h (IscSession): Removed the "IscHandlerCache fun"
+	member.
+	(IscHandlerList): Renamed the "old" member to "current".
+	(ISC_HCALLFUN1): Adapted to IscHandlerList changes.
+	(ISC_HCALLFUN2): Adapted to IscHandlerList changes.
+	(ISC_HCALLFUN3): Adapted to IscHandlerList changes.
+	* src/intern.h (ISC_SCALLFUN1): Use ISC_HCALLFUN1 to simplify
+	code.  Adapted to IscHandlerList changes.
+	(ISC_SCALLFUN2): Analogous.
+	(ISC_SCALLFUN3): Analogous.
+	* src/isc_handler.c (isc_pushhandler): Modified so that the
+ 	members of the member "current" of IscHandlerList objects points
+ 	to the IscHandler object where the callbacks that should be used
+ 	exist.  Once that changes was done, there is no need for the
+ 	"scb->fun" member, so it was removed.
+	(isc_pophandler): Adjusted accordingly.
+	* src/isc_session.c (isc_create): Removed the code that
+	initialized scb->fun.
+	(isc_destroy): Use scb->handlers->current instead of scb->fun.
+	* src/isc_event.c (isc_getnextevent): Use scb->handlers->current
+	instead of scb->fun.
+
+    1999-04-15  Per Cederqvist  <ceder@lysator.liu.se>
+
+	Allow disabled sessions to emit data.  It is input from the
+	sessions that is disabled.
+	* src/isc_stdout.c (isc_putc): Allow output to sessions that are
+	in state ISC_STATE_DISABLED.
+	(isc_write): Likewise.
+	* src/isc_output.c (isc_flush): Flush pending output even
+	when the session is in ISC_STATE_DISABLED.
+	(isc_oflush): Likewise.
+	* src/isc_event.c (isc_getnextevent): Flush pending output even
+	when the session is in ISC_STATE_DISABLED.
+
+    1999-04-11  Per Cederqvist  <ceder@gratia>
+
+	Rebuild more often.
+	* src/Makefile.am (isc_stdout.o): Depend on ../config.status.
+
+    1999-04-05  Per Cederqvist  <ceder@gratia>
+
+	Get rid of useless compiler warnings.
+	* configure.in: Don't use -Wtraditional.
+
+    1999-02-05  Per Cederqvist  <ceder@gratia>
+
+	Get rid of a compiler warning.
+	* src/isc_alloc.c (ISC_MAGIC_ALLOC): This is an unsigned constant.
+	(ISC_MAGIC_FREE): Likewise.
+
+    1999-01-18  David Byers  <davby@ida.liu.se>
+
+	* src/.cvsignore: Added .bbg, .bb, .da and .gcov files.
+
+    1999-01-15  David Byers  <davby@ida.liu.se>
+
+	* configure.in: Added --with-checker, --with-gcov and
+	--with-optimization.
+
+    1998-10-06  Per Cederqvist  <ceder@gratia>
+
+	Port to glibc2.
+	* src/isc_session.c: Include <time.h>.
+
+    1998-07-09  Per Cederqvist  <ceder@lysator.liu.se>
+
+	--enable-isc-printf was broken.
+	* src/isc_wait.c: Include <stdarg.h>.
+
+1999-04-21  Per Cederqvist  <ceder@lysator.liu.se>
+	
+	* demo/Makefile.am: Insert copyright header.
+
+	Clean up the configure script.
+	* configure.in (AC_PROG_MAKE_SET, AC_PROG_INSTALL): Removed.  This
+	is automatically done by AM_INIT_AUTOMAKE.
+	(AM_PROG_CC_STDC):  Use it instead of AM_C_PROTOTYPES.
+
 1998-07-06  Per Cederqvist  <ceder@lysator.liu.se>
 
+	* Version 0.99 released.
+
 	Release preparations.
 	* NEWS: Updated.
 	* README: Updated.
diff --git a/src/libraries/libisc-new/Makefile.am b/src/libraries/libisc-new/Makefile.am
index 936a227ee481bd6876f4083ed754ea0b238c7aa4..1945f02bb784ac3b7b090e78b46cc7024e6221da 100644
--- a/src/libraries/libisc-new/Makefile.am
+++ b/src/libraries/libisc-new/Makefile.am
@@ -1,25 +1,27 @@
-#  ISC - networking library
-#  Copyright (C) 1998 by Peter Eriksson and Per Cederqvist of the
-#                     Lysator Academic Computer Association.
+# ISC - networking library
+# Copyright (C) 1998-1999 by Peter Eriksson and Per Cederqvist of the
+#                         Lysator Academic Computer Association.
 #
 #
-#  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 library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library 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.
+# This library 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
+# Library 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the Free
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 ## Process this file with automake to produce Makefile.in
 
 SUBDIRS = src man doc demo
 AUTOMAKE_OPTIONS = gnu
 RM = rm -f
-EXTRA_DIST = .cvsignore
+EXTRA_DIST = .cvsignore README.DEVO RELEASING
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure \
+	install-sh mkinstalldirs missing INSTALL COPYING
diff --git a/src/libraries/libisc-new/NEWS b/src/libraries/libisc-new/NEWS
index 060d07809308c870f70d7aae42103750dd074aa9..72517f654410b990ec4e50a107c5e4b8822a3e6a 100644
--- a/src/libraries/libisc-new/NEWS
+++ b/src/libraries/libisc-new/NEWS
@@ -1,3 +1,42 @@
+News in release 1.00 (release date: 1999-05-01):
+
+* All of ISC is now distributed under LGPL.
+
+* isc_printf() and isc_vprintf() have been removed.  The
+  implementation was unifficient, it used code that could not be
+  distributed under GPL or LGPL, and the implementation was
+  unportable.  It was also not needed by the core projects that use
+  ISC.  If anybody supplies an efficient implementation that is
+  distributable under LGPL it will be included in a future release.
+
+* New functions: isc_puts() and isc_putul().
+
+* New configure options --with-checker, --with-gcov and
+  --without-optimization are useful during debugging.
+
+* The distribution is now totally self-contained.
+
+* Many implementations of stdio cannot use high file descriptors
+  (typically the file descriptor must be less than 256).  You can now
+  tell ISC to leave a few low-numbered file descriptors unused so that
+  they are available for use with stdio.  Set the fd_relocate member
+  of the IscSessionConfig structure to the lowest number that ISC is
+  allowed to use.
+
+* The new event ISC_EVENT_LOGIN_UNRELOCATED is generated if ISC failed
+  to relocate the file descriptor when it was about to generate an
+  ISC_EVENT_LOGIN session.  Applications could destroy the new
+  session, or take care to not open new stdio files as long as the
+  unrelocated session exists.  This event is never generated if
+  fd_relocate is set to 0.
+
+* The master config version is now 1006.  The session config version
+  is now 1002.
+
+* IscHandlerList has been simplified.
+
+* Some other minor fixes and cleanup.
+
 News in release 0.99 (release date: 1998-07-06):
 
 * Uses autoconf and automake for easy integration in other packages.
diff --git a/src/libraries/libisc-new/README b/src/libraries/libisc-new/README
index 2f2f9f2d7afdc7a59763be156380005be94eac01..832665eefa6166477b63b4861b05fbf9c4f84a8e 100644
--- a/src/libraries/libisc-new/README
+++ b/src/libraries/libisc-new/README
@@ -1,21 +1,14 @@
 This package implements a library of functions that was intendend to
 help creating client-server packages using TCP/IP or other file
 descriptor based links.  Use of this package for development of new
-software is not recommended.
+software is not currently recommended.
  
 Much of the documentation is probably outdated.  Be sure to read the
 file NEWS, and trust it more than the man pages.  Trust doc/MANUAL.sv
-even less than the man pages.
+even less than the man pages.  Better still: use the source code
+instead of the documentation.
 
-This code is distributed under the GNU General Public License, except
-for src/printf.c.  See that file for all the details.  src/printf.c is
-not used unless the deprecated --enable-isc-printf switch is used.
-
-This is an interim release, that will be used as a baseline for tests
-with incorporating this library in other code such as the LysKOM
-server.  You should expect isc-1.0 to be released within a few
-man-days.  (What that translates to in calendar days is totally
-unknown.)
+This code is distributed under the GNU Library General Public License.
 
 /Peter Eriksson <pen@lysator.liu.se> and 
  Per Cederqvist <ceder@lysator.liu.se>
diff --git a/src/libraries/libisc-new/TODO b/src/libraries/libisc-new/TODO
index 8cfbfaaa1d25f3890068ee769f819fe9e54f733a..baeb393ff98a483c942d865d4c06378a600928ae 100644
--- a/src/libraries/libisc-new/TODO
+++ b/src/libraries/libisc-new/TODO
@@ -1,9 +1,6 @@
 * Use an autoconf check for the buggy inet_ntoa (search for __GNU__ in
   src/isc_socket.c to see what I'm talking about).
 
-* Get rid of isc/printf.c.  Who uses it anyway?  Ah, the lyskomd
-  server...  What a pity.
-
 * Anv�nd ett IscMessage som sendbuffert
 
 * Kolla upp s� att inte tecken i sendbuf[] s�nds f�r�n isc_flush() verkligen
@@ -14,6 +11,3 @@
 * IscHandlerCache: Direkta funktionspekare ocks�.
 
 * Man-sidorna
-
-* Root-Makefile
-
diff --git a/src/libraries/libisc-new/configure.in b/src/libraries/libisc-new/configure.in
index 737d69502619f1422314684d61bec91d6cb28329..f47d8500e4222aa4439b9ddba3fa720735580b85 100644
--- a/src/libraries/libisc-new/configure.in
+++ b/src/libraries/libisc-new/configure.in
@@ -1,37 +1,44 @@
-dnl  ISC - networking library
-dnl  Copyright (C) 1998 by Peter Eriksson and Per Cederqvist of the
-dnl                     Lysator Academic Computer Association.
+dnl ISC - networking library
+dnl Copyright (C) 1998-1999 by Peter Eriksson and Per Cederqvist of the
+dnl                         Lysator Academic Computer Association.
 dnl
-dnl  This program is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
-dnl  (at your option) any later version.
 dnl
-dnl  This program is distributed in the hope that it will be useful,
-dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-dnl  GNU General Public License for more details.
+dnl This library is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Library General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2 of the License, or (at your option) any later version.
 dnl
-dnl  You should have received a copy of the GNU General Public License
-dnl  along with this program; if not, write to the Free Software
-dnl  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl Library General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Library General Public
+dnl License along with this library; if not, write to the Free
+dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_REVISION($Revision: 1.1 $)dnl
+AC_REVISION($Revision: 1.1.1.2 $)dnl
 AC_INIT(src/isc_master.c)
-AM_INIT_AUTOMAKE(isc, 0.99)
+AM_INIT_AUTOMAKE(isc, 1.00)
 
-AC_ARG_ENABLE([isc-printf],
-	[  --enable-isc-printf     include isc_printf support (non-portable)])
+AC_ARG_WITH([checker],
+        [  --with-checker          compile with Gnu Checker],
+        [use_checker=$withval],
+        [use_checker=no])
 
-[if test "$enable_isc_printf" = yes
-then]
-	AC_DEFINE(ISC_PRINTF_SUPPORT)
-[	LIBOBJS="printf.o $LIBOBJS"
-fi]
+AC_ARG_WITH([gcov],
+        [  --with-gcov             instrument for gcov (requires gcc)],
+        [use_gcov=$withval],
+        [use_gcov=no])
+
+AC_ARG_WITH([optimization],
+        [  --without-optimization  turn off optimization
+  --with-optimization[=N] select level of optimization (default on)],
+        [opt_level=$withval],
+        [opt_level=""])
 
-AC_SUBST(LIBOBJS)
 
 dnl Checks for programs.
 
@@ -39,8 +46,6 @@ AC_PROG_CC
 AC_AIX
 AC_ISC_POSIX
 AC_MINIX
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
 AC_PROG_RANLIB
 
 dnl Checks for libraries.
@@ -50,15 +55,17 @@ AC_HEADER_STDC
 AC_CHECK_HEADERS(stdlib.h stdarg.h stddef.h string.h sys/select.h unistd.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
-AM_C_PROTOTYPES
+AM_PROG_CC_STDC
 AC_HEADER_TIME
 AC_C_CONST
 AC_TYPE_SIZE_T
 
 CMOD_C_ATTRIBUTE_UNUSED
 
-[if test -n "$GCC"; then
-    CFLAGS="$CFLAGS -Wall -W -Wtraditional -Wshadow -Wpointer-arith"]
+[if test -n "$GCC"; then]
+    dnl "-Wtraditional" isn't really useful: we don't support
+    dnl pre-c89-compilers.
+    [CFLAGS="$CFLAGS -Wall -W -Wshadow -Wpointer-arith"]
     CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast])
     CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual])
     CMOD_COMPILER_CC_ACCEPTS([-Wcast-align])
@@ -71,4 +78,27 @@ CMOD_C_ATTRIBUTE_UNUSED
     CMOD_COMPILER_CC_ACCEPTS([-pipe])
 [fi]
 
+
+[if test "$use_gcov" = "yes" -a -n "$GCC"; then]
+        CMOD_COMPILER_CC_ACCEPTS([-ftest-coverage])
+        CMOD_COMPILER_CC_ACCEPTS([-fprofile-arcs])
+[fi]
+
+
+[if test -n "$opt_level" -a "$opt_level" != "yes" ; then
+    CFLAGS=`echo "$CFLAGS" | sed "s/-O[0-9]*//"`
+    if test "$opt_level" != "no" ; then
+        CFLAGS="$CFLAGS -O$opt_level"
+    fi
+fi]
+
+# Check for checker
+
+[if test "$use_checker" = "yes"
+then]
+        AC_CHECK_PROGS(CHECKER, checker)
+        [ CC="checker $CC"
+          LIBS="-lchkr_m $LIBS" ]
+[fi]
+
 AC_OUTPUT(Makefile src/Makefile man/Makefile doc/Makefile demo/Makefile)
diff --git a/src/libraries/libisc-new/install-sh b/src/libraries/libisc-new/install-sh
index e8436696c19d1bfd9e4d53c7113deb6a991818a8..e9de23842dcd44d2953129c866b1ad25f7e1f1d9 100755
--- a/src/libraries/libisc-new/install-sh
+++ b/src/libraries/libisc-new/install-sh
@@ -118,6 +118,7 @@ if [ x"$dir_arg" != x ]; then
 	
 	if [ -d $dst ]; then
 		instcmd=:
+		chmodcmd=""
 	else
 		instcmd=mkdir
 	fi
diff --git a/src/libraries/libisc-new/missing b/src/libraries/libisc-new/missing
index cbe2b0ef0e3aa005628a84fb179c341db985f7dc..7789652e877fbc83c770377691249820eebea1f2 100755
--- a/src/libraries/libisc-new/missing
+++ b/src/libraries/libisc-new/missing
@@ -82,15 +82,17 @@ WARNING: \`$1' is missing on your system.  You should only need it if
          you modified \`acconfig.h' or \`configure.in'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in`
-    if test -z "$files"; then
-      files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in`
-      test -z "$files" || files="$files.in"
-    else
-      files=`echo "$files" | sed -e 's/:/ /g'`
-    fi
-    test -z "$files" && files="config.h.in"
-    touch $files
+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
+    test -z "$files" && files="config.h"
+    touch_files=
+    for f in $files; do
+      case "$f" in
+      *:*) touch_files="$touch_files "`echo "$f" |
+				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+      *) touch_files="$touch_files $f.in";;
+      esac
+    done
+    touch $touch_files
     ;;
 
   automake)
@@ -99,9 +101,9 @@ WARNING: \`$1' is missing on your system.  You should only need it if
          you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
-    find . -type f -name Makefile.am -print \
-      | sed 's/^\(.*\).am$/touch \1.in/' \
-      | sh
+    find . -type f -name Makefile.am -print |
+	   sed 's/\.am$/.in/' |
+	   while read f; do touch "$f"; done
     ;;
 
   bison|yacc)