1Preface 2======= 3 4 Jpgtn now uses a GNU autoconf/automake driven build process. This is new 5 and I've only tested it on Solaris (7 & 8) and Red Hat Linux 8.0. I want 6 to hear your feedback. Please, send it to jeremymadea@mindspring.com. 7 8 Thanks! 9 -j 10 11 12Basic Installation 13================== 14 15 Now that jpgtn comes with one of those ubiquitous "configure" scripts, 16 the recommended way to build it is with the usual: 17 18 ./configure 19 make 20 make install 21 22 The configure script takes the usual options for choosing installation 23 directories and such. The only custom option is: --with-libjpeg=PATH to 24 specify the location of libjpeg and its headers. If, for instance, you 25 have libjpeg.a in /home/user/lib and jpeglib.h in /home/user/lib you 26 would run the configure script like so: 27 28 ./configure --with-libjpeg=/home/user 29 30 For more information about the other options that are supported by 31 configure just type: 32 33 ./configure --help 34 35 36Setting the Environment 37======================= 38 39 In some cases you might find it necessary to specify some odd options 40 by hand. You can often do this by setting some environment variables 41 manually. As an example, consider a case where your jpeglib.h header 42 file is in a really weird place. . . This might help if you are using 43 a Bourne compatible shell: 44 45 CPPFLAGS=-I/some/really/weird/place ./configure 46 47 48Changing the Build Directory 49============================ 50 51 If you want, you can compile jpgtn in a build directory of your choice 52 as long as your version of make supports the VPATH variable. GNU make 53 will work. To do this, you simply `cd` to the directory where you 54 want to build the package and run the provided configure script from 55 there. The object files and the executable will actually be created in 56 a subdirectory called "src/" in the build directory you have chosen. 57 58 59----- 60 61Copyright 2002 Jeremy Madea 62 63This file is part of jpgtn. 64 65Jpgtn is free software; you can redistribute it and/or modify 66it under the terms of the GNU General Public License as published by 67the Free Software Foundation; either version 2, or (at your option) 68any later version. 69 70Jpgtn is distributed in the hope that it will be useful, 71but WITHOUT ANY WARRANTY; without even the implied warranty of 72MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 73GNU General Public License for more details. 74 75You should have received a copy of the GNU General Public License 76along with jpgtn; see the file COPYING. If not, write to 77the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 78Boston, MA 02111-1307, USA. 79