diff options
| author | Glenn Morris | 2010-05-16 16:31:05 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-16 16:31:05 -0700 |
| commit | da53fab92286d98b5a474ce9a5000f7f7ddf8c1c (patch) | |
| tree | 73ba6ccf982aa6a8e31b6511932041ffc5c3e7ad | |
| parent | 58dfab186f74e60211e0b58a117d8d7fa3309db8 (diff) | |
| download | emacs-da53fab92286d98b5a474ce9a5000f7f7ddf8c1c.tar.gz emacs-da53fab92286d98b5a474ce9a5000f7f7ddf8c1c.zip | |
Tweak ns_app*dir values set by configure.
* configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value.
* Makefile.in (install-arch-dep): Update for above change.
* src/Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
trailing "/".
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Makefile.in | 4 | ||||
| -rw-r--r-- | configure.in | 11 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 4 |
5 files changed, 17 insertions, 8 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-16 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-16 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value. | ||
| 4 | * Makefile.in (install-arch-dep): Update for above change. | ||
| 5 | |||
| 3 | * Makefile.in (ns_appdir): Remove. | 6 | * Makefile.in (ns_appdir): Remove. |
| 4 | (install-arch-dep): Test $ns_appresdir instead of $ns_appdir. | 7 | (install-arch-dep): Test $ns_appresdir instead of $ns_appdir. |
| 5 | 8 | ||
diff --git a/Makefile.in b/Makefile.in index 798b128fb44..775c591af26 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -422,9 +422,9 @@ install-arch-dep: mkdir | |||
| 422 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ | 422 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ |
| 423 | if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ | 423 | if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ |
| 424 | rm -fr share ) ; \ | 424 | rm -fr share ) ; \ |
| 425 | ( cd ${ns_appbindir}/libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ | 425 | ( cd ${ns_appbindir}libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ |
| 426 | rm -fr emacs ) ; \ | 426 | rm -fr emacs ) ; \ |
| 427 | ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-24* ; \ | 427 | ( cd ${ns_appbindir}bin ; rm -f emacs emacs-24* ; \ |
| 428 | ln -sf ../libexec/* .) ; \ | 428 | ln -sf ../libexec/* .) ; \ |
| 429 | else true ; fi | 429 | else true ; fi |
| 430 | 430 | ||
diff --git a/configure.in b/configure.in index 28846991ae5..a3ce499e749 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1459,17 +1459,20 @@ tmp_CFLAGS="$CFLAGS" | |||
| 1459 | CPPFLAGS="$CPPFLAGS -x objective-c" | 1459 | CPPFLAGS="$CPPFLAGS -x objective-c" |
| 1460 | CFLAGS="$CFLAGS -x objective-c" | 1460 | CFLAGS="$CFLAGS -x objective-c" |
| 1461 | TEMACS_LDFLAGS2="\${LDFLAGS}" | 1461 | TEMACS_LDFLAGS2="\${LDFLAGS}" |
| 1462 | dnl I don't think it's especially important, but src/Makefile.in | ||
| 1463 | dnl (now the only user of ns_appdir) used to go to the trouble of adding a | ||
| 1464 | dnl trailing "/" to it, so now we do it here. | ||
| 1462 | if test "${with_ns}" != no; then | 1465 | if test "${with_ns}" != no; then |
| 1463 | if test "${opsys}" = darwin; then | 1466 | if test "${opsys}" = darwin; then |
| 1464 | NS_IMPL_COCOA=yes | 1467 | NS_IMPL_COCOA=yes |
| 1465 | ns_appdir=`pwd`/nextstep/Emacs.app | 1468 | ns_appdir=`pwd`/nextstep/Emacs.app/ |
| 1466 | ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS | 1469 | ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS/ |
| 1467 | ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources | 1470 | ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources |
| 1468 | ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base | 1471 | ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base |
| 1469 | elif test -f $GNUSTEP_CONFIG_FILE; then | 1472 | elif test -f $GNUSTEP_CONFIG_FILE; then |
| 1470 | NS_IMPL_GNUSTEP=yes | 1473 | NS_IMPL_GNUSTEP=yes |
| 1471 | ns_appdir=`pwd`/nextstep/Emacs.app | 1474 | ns_appdir=`pwd`/nextstep/Emacs.app/ |
| 1472 | ns_appbindir=`pwd`/nextstep/Emacs.app | 1475 | ns_appbindir=`pwd`/nextstep/Emacs.app/ |
| 1473 | ns_appresdir=`pwd`/nextstep/Emacs.app/Resources | 1476 | ns_appresdir=`pwd`/nextstep/Emacs.app/Resources |
| 1474 | ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base | 1477 | ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base |
| 1475 | dnl FIXME sourcing this 3 times in subshells seems inefficient. | 1478 | dnl FIXME sourcing this 3 times in subshells seems inefficient. |
diff --git a/src/ChangeLog b/src/ChangeLog index d731dd88a5c..81c0ba747cc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-05-16 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-16 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (ns_appdir, ns_appbindir): Now configure adds the | ||
| 4 | trailing "/". | ||
| 5 | |||
| 3 | * Makefile.in (TEMACS_LDFLAGS2): New, set by configure. | 6 | * Makefile.in (TEMACS_LDFLAGS2): New, set by configure. |
| 4 | (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default. | 7 | (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default. |
| 5 | 8 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index fdb3976b940..b6a0e150cb1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -224,8 +224,8 @@ MSDOS_SUPPORT_REAL = ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \ | |||
| 224 | ## $MSDOS_SUPPORT_REAL if MSDOS. | 224 | ## $MSDOS_SUPPORT_REAL if MSDOS. |
| 225 | MSDOS_SUPPORT = | 225 | MSDOS_SUPPORT = |
| 226 | 226 | ||
| 227 | ns_appdir=@ns_appdir@/ | 227 | ns_appdir=@ns_appdir@ |
| 228 | ns_appbindir=@ns_appbindir@/ | 228 | ns_appbindir=@ns_appbindir@ |
| 229 | ns_appsrc=@ns_appsrc@ | 229 | ns_appsrc=@ns_appsrc@ |
| 230 | NS_OBJ=@NS_OBJ@ | 230 | NS_OBJ=@NS_OBJ@ |
| 231 | NS_SUPPORT=@NS_SUPPORT@ | 231 | NS_SUPPORT=@NS_SUPPORT@ |