Copyright (C) 1999, 2000, 2002, 2004, 2007 Peter Hanecak <hany@hany.sk>

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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

See the COPYING file for license information.


How to install hd2u
-------------------

First, you need some UNIX system which have some basic C development tools
and popt library alredy installed.

Note: If you're using some package management tool on your system you should
have also installed so called 'development' package of popt library
(popt-dev or popt-devel, etc.) so required header files are also installed.


After you sucessfuly downloaded and unpacked source tarball, do the
following in source directory:

$ ./configure
$ make
$ make install

This will build and install 'dos2unix' into default location,
which is /usr/local/bin .

If you want to use another prefix than /usr/local use for example:

$ ./configure --prefix=/usr

This will install 'dos2unix' into /usr/bin .

For more information use:

$ ./configure --help

If you want to build optimized hd2u binary using profile-directed
optimizations (gcc's -fprofile-arcs and -fbranch-probabilities options) use:

$ make dos2unix-optimized
