Mercurial > hg > xemacs-beta
changeset 4449:13ce402e1736
Call AC_SUBST on SHEBANG_PATHNAME, for #! support.
2008-05-07 Aidan Kehoe <kehoea@parhasard.net>
* configure.ac (XE_EXPAND_VARIABLE): Call AC_SUBST on
SHEBANG_PATHNAME, as suggested by Michael Sperber in
y9ly7aj1wfc.fsf@deinprogramm.de.
* Makefile.in.in: Regenerate.
* configure: Ditto.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 07 May 2008 21:17:59 +0200 |
parents | fd8a9a4d81d9 |
children | ac6231e0c1df |
files | ChangeLog Makefile.in.in configure configure.ac |
diffstat | 4 files changed, 17 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jan 20 19:53:54 2008 +0100 +++ b/ChangeLog Wed May 07 21:17:59 2008 +0200 @@ -1,3 +1,11 @@ +2008-05-07 Aidan Kehoe <kehoea@parhasard.net> + + * configure.ac (XE_EXPAND_VARIABLE): Call AC_SUBST on + SHEBANG_PATHNAME, as suggested by Michael Sperber in + y9ly7aj1wfc.fsf@deinprogramm.de. + * Makefile.in.in: Regenerate. + * configure: Ditto. + 2008-01-20 Aidan Kehoe <kehoea@parhasard.net> * Makefile.in.in (SHEBANG_PROGNAME):
--- a/Makefile.in.in Sun Jan 20 19:53:54 2008 +0100 +++ b/Makefile.in.in Wed May 07 21:17:59 2008 +0200 @@ -413,7 +413,7 @@ ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version} -chmod 0755 ${bindir}/${PROGNAME}-${version} cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME} - cd ${bindir} && $(RM) ./${SHEBANG_PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${SHEBANG_PROGNAME} + cd ${bindir} && $(RM) ./${SHEBANG_PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${SHEBANG_PROGNAME} # endif /* CYGWIN */ #endif /* WIN32_NATIVE */ if test "${prefix}" != "${exec_prefix}"; then \
--- a/configure Sun Jan 20 19:53:54 2008 +0100 +++ b/configure Wed May 07 21:17:59 2008 +0200 @@ -706,6 +706,7 @@ build_cpu build_vendor build_os +SHEBANG_PROGNAME configuration CC CFLAGS @@ -4858,6 +4859,8 @@ SHEBANG_PROGNAME=xemacs-script fi + + cat >>confdefs.h <<_ACEOF #define EMACS_PROGNAME "$PROGNAME" _ACEOF @@ -40455,6 +40458,7 @@ build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim +SHEBANG_PROGNAME!$SHEBANG_PROGNAME$ac_delim configuration!$configuration$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim @@ -40506,7 +40510,6 @@ ldap_libs!$ldap_libs$ac_delim postgresql_libs!$postgresql_libs$ac_delim lwlib_objs!$lwlib_objs$ac_delim -canna_libs!$canna_libs$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -40548,6 +40551,7 @@ ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +canna_libs!$canna_libs$ac_delim ALLOCA!$ALLOCA$ac_delim have_esd_config!$have_esd_config$ac_delim SRC_SUBDIR_DEPS!$SRC_SUBDIR_DEPS$ac_delim @@ -40624,7 +40628,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5