diff options
| author | Glenn Morris | 2010-05-25 23:41:58 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-25 23:41:58 -0700 |
| commit | 90278cb61102b1bcf2c9a2837cb301af06a18127 (patch) | |
| tree | 4ecd18fa52c2317a32ab158489880080853a2507 /src | |
| parent | 021eb8d750547099c7edcb537f46478276d7dc8c (diff) | |
| download | emacs-90278cb61102b1bcf2c9a2837cb301af06a18127.tar.gz emacs-90278cb61102b1bcf2c9a2837cb301af06a18127.zip | |
Replace YMF_PASS_LDFLAGS with autoconf.
* configure.in (YMF_PASS_LDFLAGS): Remove.
(PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables.
* configure: Regenerate.
* src/Makefile.in (YMF_PASS_LDFLAGS): Remove.
(temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
* msdos/sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ba513b1bcf2..83d2e956af6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-26 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-26 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (YMF_PASS_LDFLAGS): Remove. | ||
| 4 | (temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS. | ||
| 5 | |||
| 3 | * Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): | 6 | * Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): |
| 4 | Remove. | 7 | Remove. |
| 5 | (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | 8 | (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. |
diff --git a/src/Makefile.in b/src/Makefile.in index bbe573e69be..ea84fa08429 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -634,10 +634,14 @@ ${libsrc}make-docfile${EXEEXT}: | |||
| 634 | buildobj.h: Makefile | 634 | buildobj.h: Makefile |
| 635 | echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h | 635 | echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h |
| 636 | 636 | ||
| 637 | #define YMF_PASS_LDFLAGS(flags) @YMF_PASS_LDFLAGS@ | ||
| 638 | 637 | ||
| 638 | /* We cannot define variables for PRE_EDIT and POST_EDIT. | ||
| 639 | If !ORDINARY_LINK && !LINKER && GCC, they add a | ||
| 640 | \`./prefix-args -Xlinker ... \` wrapper, otherwise they are empty. | ||
| 641 | One alternative to this approach would be to always call prefix-args, | ||
| 642 | and have it DTRT in all cases, by testing the above defines. */ | ||
| 639 | temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT} | 643 | temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT} |
| 640 | $(LD) YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} ) \ | 644 | $(LD) @PRE_EDIT_LDFLAGS@ ${TEMACS_LDFLAGS} @POST_EDIT_LDFLAGS@ \ |
| 641 | ${TEMACS_LDFLAGS2} \ | 645 | ${TEMACS_LDFLAGS2} \ |
| 642 | -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES} | 646 | -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES} |
| 643 | 647 | ||