Deleted Added
full compact
INSTALL (136644) INSTALL (157184)
1Basic Installation
2==================
3
1Basic Installation
2==================
3
4These are installation instructions for Readline-5.0.
4These are installation instructions for Readline-5.1.
5
6The simplest way to compile readline is:
7
8 1. `cd' to the directory containing the readline source code and type
9 `./configure' to configure readline for your system. If you're
10 using `csh' on an old version of System V, you might need to type
11 `sh ./configure' instead to prevent `csh' from trying to execute
12 `configure' itself.

--- 220 unchanged lines hidden (view full) ---

233 creation. Many systems use the -R option to the link
234 editor to embed a path within the library for run-time
235 library searches. A reasonable value for such systems would
236 be `-R$(libdir)'.
237
238SHLIB_LIBS Any additional libraries that shared libraries should be
239 linked against when they are created.
240
5
6The simplest way to compile readline is:
7
8 1. `cd' to the directory containing the readline source code and type
9 `./configure' to configure readline for your system. If you're
10 using `csh' on an old version of System V, you might need to type
11 `sh ./configure' instead to prevent `csh' from trying to execute
12 `configure' itself.

--- 220 unchanged lines hidden (view full) ---

233 creation. Many systems use the -R option to the link
234 editor to embed a path within the library for run-time
235 library searches. A reasonable value for such systems would
236 be `-R$(libdir)'.
237
238SHLIB_LIBS Any additional libraries that shared libraries should be
239 linked against when they are created.
240
241SHLIB_LIBPREF The prefix to use when generating the filename of the shared
242 library. The default is `lib'; Cygwin uses `cyg'.
243
241SHLIB_LIBSUFF The suffix to add to `libreadline' and `libhistory' when
242 generating the filename of the shared library. Many systems
243 use `so'; HP-UX uses `sl'.
244
245SHLIB_LIBVERSION The string to append to the filename to indicate the version
246 of the shared library. It should begin with $(SHLIB_LIBSUFF),
247 and possibly include version information that allows the
248 run-time loader to load the version of the shared library
249 appropriate for a particular program. Systems using shared
250 libraries similar to SunOS 4.x use major and minor library
251 version numbers; for those systems a value of
252 `$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' is appropriate.
253 Systems based on System V Release 4 don't use minor version
254 numbers; use `$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' on those systems.
255 Other Unix versions use different schemes.
256
244SHLIB_LIBSUFF The suffix to add to `libreadline' and `libhistory' when
245 generating the filename of the shared library. Many systems
246 use `so'; HP-UX uses `sl'.
247
248SHLIB_LIBVERSION The string to append to the filename to indicate the version
249 of the shared library. It should begin with $(SHLIB_LIBSUFF),
250 and possibly include version information that allows the
251 run-time loader to load the version of the shared library
252 appropriate for a particular program. Systems using shared
253 libraries similar to SunOS 4.x use major and minor library
254 version numbers; for those systems a value of
255 `$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' is appropriate.
256 Systems based on System V Release 4 don't use minor version
257 numbers; use `$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' on those systems.
258 Other Unix versions use different schemes.
259
260SHLIB_DLLVERSION The version number for shared libraries that determines API
261 compatibility between readline versions and the underlying
262 system. Used only on Cygwin. Defaults to $SHLIB_MAJOR, but
263 can be overridden at configuration time by defining DLLVERSION
264 in the environment.
265
266SHLIB_DOT The character used to separate the name of the shared library
267 from the suffix and version information. The default is `.';
268 systems like Cygwin which don't separate version information
269 from the library name should set this to the empty string.
270
257SHLIB_STATUS Set this to `supported' when you have defined the other
258 necessary variables. Make uses this to determine whether
259 or not shared library creation should be attempted. If
260 shared libraries are not supported, this will be set to
261 `unsupported'.
262
263You should look at the existing stanzas in support/shobj-conf for ideas.
264
265Once you have updated support/shobj-conf, re-run configure and type
266`make shared' or `make'. The shared libraries will be created in the
267shlib subdirectory.
268
269If shared libraries are created, `make install' will install them.
270You may install only the shared libraries by running `make
271install-shared' from the top-level build directory. Running `make
272install' in the shlib subdirectory will also work. If you don't want
273to install any created shared libraries, run `make install-static'.
271SHLIB_STATUS Set this to `supported' when you have defined the other
272 necessary variables. Make uses this to determine whether
273 or not shared library creation should be attempted. If
274 shared libraries are not supported, this will be set to
275 `unsupported'.
276
277You should look at the existing stanzas in support/shobj-conf for ideas.
278
279Once you have updated support/shobj-conf, re-run configure and type
280`make shared' or `make'. The shared libraries will be created in the
281shlib subdirectory.
282
283If shared libraries are created, `make install' will install them.
284You may install only the shared libraries by running `make
285install-shared' from the top-level build directory. Running `make
286install' in the shlib subdirectory will also work. If you don't want
287to install any created shared libraries, run `make install-static'.