>>>> Stephen wrote:
Stephen> Find the place in src/Makefile.in.in that makes that symlink,
Stephen> change it to whatever you want (or just disable it) and
Stephen> you're golden, I think.
Something like this ;-) (Patch follows.)
Index: Makefile.in.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/Makefile.in.in,v
retrieving revision 1.24
diff -u -r1.24 Makefile.in.in
--- Makefile.in.in 2005/01/31 20:01:50 1.24
+++ Makefile.in.in 2005/03/17 23:06:39
@@ -93,6 +93,9 @@
## by configure.
PROGNAME=@PROGNAME@
+## This is the name of the installed binary.
+PROGLINKNAME=@PROGLINKNAME@
+
## ==================== Where To Install Things ====================
## The default location for installation. Everything is placed in
@@ -392,17 +395,17 @@
${INSTALL_DATA} src/${PROGNAME}.dmp ${bindir}/${PROGNAME}-${version}-`src/${PROGNAME}
-sd`.dmp
#endif
#ifdef WIN32_NATIVE
- ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}
- -chmod 0755 ${bindir}/${PROGNAME}
+ ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGLINKNAME}
+ -chmod 0755 ${bindir}/${PROGLINKNAME}
#else
# ifdef CYGWIN
${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}.exe
-chmod 0755 ${bindir}/${PROGNAME}-${version}.exe
- cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S}
${PROGNAME}-${version}.exe ./${PROGNAME}
+ cd ${bindir} && $(RM) ./${PROGLINKNAME} && ${LN_S}
${PROGNAME}-${version}.exe ./${PROGLINKNAME}
# else
${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}
-chmod 0755 ${bindir}/${PROGNAME}-${version}
- cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}
./${PROGNAME}
+ cd ${bindir} && $(RM) ./${PROGLINKNAME} && ${LN_S}
${PROGNAME}-${version} ./${PROGLINKNAME}
# endif /* CYGWIN */
#endif /* WIN32_NATIVE */
if test "${prefix}" != "${exec_prefix}"; then \
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.4
diff -u -r1.4 configure.ac
--- configure.ac 2005/03/15 12:37:14 1.4
+++ configure.ac 2005/03/17 23:06:41
@@ -900,6 +900,10 @@
used if Motif can be found, else Athena is used.]),
[], [],[yes,no,lucid,motif,athena,gtk,msw])
+AC_ARG_WITH([program_linkname],
+ AC_HELP_STRING([--with-program-linkname],[The name for the installed program.]),
+ [], [])
+
dnl -------------------------------------------------------------------------
dnl Final command line argument checks.
@@ -1059,6 +1063,12 @@
PROGNAME=xemacs
fi
+if test "$with_program_linkname" == ""; then
+ PROGLINKNAME=$PROGNAME
+else
+ PROGLINKNAME=$with_program_linkname
+fi
+
AC_DEFINE_UNQUOTED(EMACS_PROGNAME, "$PROGNAME")
dnl ----------------------------------
@@ -5217,6 +5227,7 @@
dnl configuration here uncanonicalized to avoid exceeding size limits.
AC_SUBST(PROGNAME)
+AC_SUBST(PROGLINKNAME)
AC_SUBST(version)
AC_SUBST(inststaticdir)
AC_SUBST(instvardir)
Yours
--
%% Mats