Move LIBS_SYSTEM from cpp to configure.
authorGlenn Morris <rgm@gnu.org>
Mon, 10 May 2010 02:16:09 +0000 (19:16 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 10 May 2010 02:16:09 +0000 (19:16 -0700)
commit97efb62959d9ce3ad359243711ae2a7f55a38881
tree5f1bb2f037c080ff384c96808556075bc53e5050
parent7492acc936319de0fe4008faa17541c5b54d721d
Move LIBS_SYSTEM from cpp to configure.

* configure.in (LIBS_SYSTEM): New output variable, replacing cpp.

* lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
(NOT_C_CODE): Remove, no longer used.
(config.h) [!MSDOS]: No longer include.
(LOADLIBES): Use LIBS_SYSTEM as a variable.

* src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
(LIBES): Use LIBS_SYSTEM as a variable.
* src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
* src/s/aix4-2.h (LIBS_SYSTEM):
* src/s/freebsd.h (LIBS_SYSTEM):
* src/s/hpux10-20.h (LIBS_SYSTEM):
* src/s/sol2-6.h (LIBS_SYSTEM):
* src/s/unixware.h (LIBS_SYSTEM):
Move to configure.

* msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
15 files changed:
ChangeLog
configure.in
lib-src/ChangeLog
lib-src/Makefile.in
msdos/ChangeLog
msdos/sed1v2.inp
msdos/sed3v2.inp
src/ChangeLog
src/Makefile.in
src/s/aix4-2.h
src/s/freebsd.h
src/s/hpux10-20.h
src/s/msdos.h
src/s/sol2-6.h
src/s/unixware.h