move compile-in decision to genscripts.sh

This commit is contained in:
David MacKenzie 1993-07-22 00:55:56 +00:00
parent 86a6ada2fd
commit d59e5a4707
3 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,15 @@
Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* genscripts.sh: If this is the default emulation, set
COMPILE_IN.
* emultempl/*.em: Use it to determine whether to compile in the
scripts.
* Makefile.in (GENSCRIPTS): Pass the default emulation name to
genscripts.sh. Pass the current emulation name without ".sh" on
the end.
* genscripts.sh: Take an default emulation arg.
Use the emulparams file name as EMULATION_NAME.
Use the current emulation name as EMULATION_NAME.
Make default lib path for cross-compiling ':', not null.
* emulparams/*.sh: Don't set EMULATION_NAME.
* ldemul.c (ldemul_get_script): Take isfile arg.

View File

@ -86,7 +86,7 @@ hppaosf_get_script(isfile)
int *isfile;
EOF
if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
if test -n "$COMPILE_IN"
then
# Scripts compiled in.

View File

@ -53,7 +53,7 @@ gld${EMULATION_NAME}_get_script(isfile)
int *isfile;
EOF
if test "$DEFAULT_EMULATION" = "$EMULATION_NAME"
if test -n "$COMPILE_IN"
then
# Scripts compiled in.