other/9534: make install failst with './../mkinstalldirs: No such file or directory'

Christian Cornelssen ccorn@cs.tu-berlin.de
Sat Feb 1 18:40:00 GMT 2003


This happens only for non-VPATH builds.
We have fixed that on mainline (and it should get to 3.3 too).
Obviously, 3.2 needs it too.  Could you try the attached patch?
(Don't forget to rerun autoconf-2.13 to regenerate libiberty/configure.)

References: http://gcc.gnu.org/ml/gcc-bugs/2003-01/msg01701.html

Regards,

Christian Cornelssen
-------------- next part --------------
Index: libiberty/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/libiberty/Makefile.in,v
retrieving revision 1.73.6.4
diff -u -r1.73.6.4 Makefile.in
--- libiberty/Makefile.in	28 Jan 2003 21:54:11 -0000	1.73.6.4
+++ libiberty/Makefile.in	1 Feb 2003 18:30:00 -0000
@@ -26,6 +26,7 @@
 # Makefile for libiberty directory
 #
 
+libiberty_topdir = @libiberty_topdir@
 srcdir = @srcdir@
 VPATH = @srcdir@
 
@@ -48,7 +49,7 @@
 INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
-mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
+mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
 
 AR = @AR@
 AR_FLAGS = rc
Index: libiberty/configure.in
===================================================================
RCS file: /cvsroot/gcc/gcc/libiberty/configure.in,v
retrieving revision 1.46.2.2
diff -u -r1.46.2.2 configure.in
--- libiberty/configure.in	31 May 2002 19:36:15 -0000	1.46.2.2
+++ libiberty/configure.in	1 Feb 2003 18:30:00 -0000
@@ -30,6 +30,7 @@
 else
   libiberty_topdir="${srcdir}/.."
 fi
+AC_SUBST(libiberty_topdir)
 AC_CONFIG_AUX_DIR($libiberty_topdir)
 
 dnl Very limited version of automake's enable-maintainer-mode


More information about the Gcc-bugs mailing list