Patch: Makefile -vs- symlink
Tom Tromey
tromey@cygnus.com
Wed Nov 1 08:43:00 GMT 2000
I'm checking this in. It fixes a bug in the install-exec-hook.
2000-11-01 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.
* Makefile.am (install-exec-hook): Only make a single symlink, and
remove the destination before making the link.
* configure: Rebuilt.
* configure.in: Call AC_PROG_LN_S.
Tom
Index: Makefile.am
===================================================================
RCS file: /cvs/java/libgcj/libjava/Makefile.am,v
retrieving revision 1.97
diff -u -r1.97 Makefile.am
--- Makefile.am 2000/10/27 10:33:46 1.97
+++ Makefile.am 2000/11/01 16:17:35
@@ -152,10 +152,8 @@
install-exec-hook:
cd $(DESTDIR)$(libdir) && \
if test -f libgcjx.la; then \
- for f in libgcjx*; do \
- t=`echo $$f | sed -e 's/libgcjx/gnu-awt-xlib/'`; \
- ln -s $$f $$t; \
- done; \
+ rm -f gnu-awt-xlib.so; \
+ $(LN_S) libgcjx.so gnu-awt-xlib.so; \
fi
## Make the .class files depend on the .zip file. This seems
Index: configure.in
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure.in,v
retrieving revision 1.66
diff -u -r1.66 configure.in
--- configure.in 2000/10/25 22:11:38 1.66
+++ configure.in 2000/11/01 16:17:36
@@ -5,6 +5,7 @@
AC_CONFIG_AUX_DIR(..)
AC_CANONICAL_SYSTEM
+AC_PROG_LN_S
dnl We use these options to decide which functions to include.
AC_ARG_WITH(target-subdir,
More information about the Java-patches
mailing list