2005-04-25 Jan Nieuwenhuizen <janneke@gnu.org>
+ * scm/lily.scm (ly:load): Remove x11-color.
+
+ * stepmake/aclocal.m4 (STEPMAKE_GET_EXECUTABLE): Bugfix: do not
+ quote executable, fixes getting version from program --with
+ --options.
+ (STEPMAKE_KPATHSEA): Bugfix for Cygwin cross building: use
+ $ac_exeect.
+
* Documentation/user/GNUmakefile: Only build music-glossary with
rendered lilypond snippets during web.
patchsrc
rm -f config.cache
+ cd $src
+ if [ ! -x ./configure ]; then
+ ./autogen.sh --noconfigure
+ fi
+
+ cd $build
# for cross-compiling LilyPond, fake a guile-config
if ! iscygwin; then
cd $build || exit 1
# cross-compiling: configure for build-host
if ! iscygwin; then
rm -f config.cache
- export HOST_CC=gcc
- export HOST_CXX=g++
+ export HOST_CC=${HOST_CC:-gcc}
+ export HOST_CXX=${HOST_CXX:-g++}
+ export HOST_PKG_CONFIG=${HOST_PKG_CONFIG:-pkg-config}
+ export HOST_PKG_CONFIG_PATH=${HOST_PKG_CONFIG_PATH:-}
(PATH="$old_path" \
PATH="$HOME/usr/pkg/guile/bin:$PATH" \
CFLAGS="-O2 -g" \
CC=$HOST_CC \
CXX=$HOST_CXX \
+ PKG_CONFIG=$HOST_PKG_CONFIG \
+ PKG_CONFIG_PATH=$HOST_PKG_CONFIG_PATH \
$src/configure --prefix=/usr --enable-config=for-build)
fi
}
"paper.scm"
"backend-library.scm"
- "x11-color.scm"
+ ;; "x11-color.scm"
;; must be after everything has been defined
"safe-lily.scm"))
## command -v doesn't work in zsh
## command -v "$1" 2>&1
## this test should work in ash, bash, pdksh (ksh), zsh
- type -p "$1" 2>/dev/null | tail -n 1 | awk '{print $NF}'
+ type -p $1 2>/dev/null | tail -n 1 | awk '{print $NF}'
])
AC_TRY_LINK([#include <kpathsea/kpathsea.h>],
[kpse_var_expand ("\$TEXMF");],
[have_libkpathsea_so=maybe;
- shared_size=`wc -c conftest`;
+ shared_size=`wc -c conftest$ac_exeext`;
shared_size=`echo $shared_size | sed -e 's/ .*//g'`],
[have_libkpathsea_so=no])
if test "$have_libkpathsea_so" = "maybe"; then
- if test $shared_size -lt 40000 ; then
+ if test "$shared_size" -lt 40000 ; then
have_libkpathsea_so=yes
else
have_libkpathsea_so=no