relocation code.
* stepmake/stepmake/generic-vars.make (INSTALL): Assign INSTALL_PY
iso itself.
* lily/relocate.cc [HAVE_GETTEXT]: Include libintl.h. Fixes mingw
compile.
2005-12-21 Jan Nieuwenhuizen <janneke@gnu.org>
+ * lily/relocate.cc (setup_paths) [__MINGW32__]: Comment-out broken
+ relocation code.
+
* stepmake/stepmake/generic-vars.make (INSTALL): Assign INSTALL_PY
iso itself.
webdir = $(lilypond_docdir)/html
vimdir = $(lilypond_datadir)/vim
+AR = @AR@
BASH = @BASH@
BISON = @BISON@
CC = @CC@
ICFLAGS = @ICFLAGS@
ILDFLAGS = @ILDFLAGS@
INIMETAFONT = @INIMETAFONT@
+INSTALL = @INSTALL@
KPATHSEA_LIBS = @KPATHSEA_LIBS@
LD = @LD@
LINK_GXX_STATICALLY = @LINK_GXX_STATICALLY@
PLATFORM_WINDOWS = @PLATFORM_WINDOWS@
PYTHON = @PYTHON@
RANLIB = @RANLIB@
+RANLIB = @RANLIB@
ROOTSEP = @ROOTSEP@
SHELL = @SHELL@
SPLITTING_MAKEINFO = @SPLITTING_MAKEINFO@
WINDRES = @WINDRES@
YACC = @YACC@
ZIP = @ZIP@
-AR = @AR@
-RANLIB = @RANLIB@
#endif /* __CYGWIN__ || __MINGW32__ */
+#ifndef __MINGW32__
+
+ /* FIXME, this is broken.
+ what is this supposed to do?
+
+ argv0[0]==/ is not a universal test for absolute files, see
+ below for File_name.dir_[0] .
+ */
+
/* if name contains slashes, we should not look in $PATH */
String argv0_abs;
if (argv0[0] == '/')
else if (String (argv0).index ('/') > 0)
argv0_abs = get_working_directory () + "/" + String (argv0);
else
+#endif
{
/* Find absolute ARGV0 name, using PATH. */
File_path path;
DEPTH = $(depth)/$(package-depth)
INSTALLPY=$(PYTHON) $(step-bindir)/install.py -c
+## FIXME, use INSTALLPY or INSTALL from config.make?
INSTALL=$(INSTALLPY)
group-dir = $(shell cd $(DEPTH);pwd)/..