From 9a436f0c8f6973b2056b7a14b95e01e50ab87d3c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 16 May 2010 16:38:13 -0700 Subject: [PATCH] * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir. * configure: Regenerate. --- ChangeLog | 2 ++ configure | 12 ++++++------ configure.in | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index adfdd63bc9..65a32fc578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-05-16 Glenn Morris + * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir. + * configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value. * Makefile.in (install-arch-dep): Update for above change. diff --git a/configure b/configure index 327ae22d2f..6c6c97e56e 100755 --- a/configure +++ b/configure @@ -9942,15 +9942,15 @@ TEMACS_LDFLAGS2="\${LDFLAGS}" if test "${with_ns}" != no; then if test "${opsys}" = darwin; then NS_IMPL_COCOA=yes - ns_appdir=`pwd`/nextstep/Emacs.app - ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS - ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources + ns_appdir=`pwd`/nextstep/Emacs.app/ + ns_appbindir=${ns_appdir}Contents/MacOS/ + ns_appresdir=${ns_appdir}Contents/Resources ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base elif test -f $GNUSTEP_CONFIG_FILE; then NS_IMPL_GNUSTEP=yes - ns_appdir=`pwd`/nextstep/Emacs.app - ns_appbindir=`pwd`/nextstep/Emacs.app - ns_appresdir=`pwd`/nextstep/Emacs.app/Resources + ns_appdir=`pwd`/nextstep/Emacs.app/ + ns_appbindir=${ns_appdir} + ns_appresdir=${ns_appdir}Resources ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base GNUSTEP_MAKEFILES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_MAKEFILES)" GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)" diff --git a/configure.in b/configure.in index a3ce499e74..2f5abe3a5f 100644 --- a/configure.in +++ b/configure.in @@ -1466,14 +1466,14 @@ if test "${with_ns}" != no; then if test "${opsys}" = darwin; then NS_IMPL_COCOA=yes ns_appdir=`pwd`/nextstep/Emacs.app/ - ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS/ - ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources + ns_appbindir=${ns_appdir}Contents/MacOS/ + ns_appresdir=${ns_appdir}Contents/Resources ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base elif test -f $GNUSTEP_CONFIG_FILE; then NS_IMPL_GNUSTEP=yes ns_appdir=`pwd`/nextstep/Emacs.app/ - ns_appbindir=`pwd`/nextstep/Emacs.app/ - ns_appresdir=`pwd`/nextstep/Emacs.app/Resources + ns_appbindir=${ns_appdir} + ns_appresdir=${ns_appdir}Resources ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base dnl FIXME sourcing this 3 times in subshells seems inefficient. GNUSTEP_MAKEFILES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_MAKEFILES)" -- 2.39.2