echo Please look in the INSTALL instructions for
echo directions for multi-architecture building
- AC_MSG_ERROR(This package does not support --srcdir.)
+ AC_LILY_WARN(This package does not support --srcdir!)
fi
# if given here, these vars are initted at the checking point.
debug_b=yes
optimise_b=no
profile_b=no
-warn_b=no
AC_LANG_CPLUSPLUS
AC_CHECK_PROGS(FIND, find, error)
dnl should check out -print
-if test FIND = error; then
- AC_LILY_WARN(Couldn't find \`find'. Please use --enable-tex-dir)
-fi
+AC_CHECK_SEARCH_RESULT($FIND, \`find\'. Please use --enable-tex-dir)
+
AC_SUBST(OUTDIR_NAME)
AC_SUBST(CXXFLAGS)
AC_SUBST(CPPFLAGS)
AC_TEX_SUBDIR(TEXDIR)
fi
-dnl if test "x$MFDIR" = xauto; then
-dnl AC_MF_SUBDIR(MFDIR)
-dnl fi
-
+
+AC_JUNK_ARGS( [if test "x$MFDIR" = xauto; then
+ AC_MF_SUBDIR(MFDIR)
+ fi]
+)
AC_CHECK_SEARCH_RESULT($MAKE, GNU make, You should install GNU make)
AC_CHECK_SEARCH_RESULT( $BISON, bison, Please install Bison, 1.25 or better)
AC_CHECK_HEADER(FlexLexer.h, true,
AC_LILY_WARN(can't find flex header. Please install Flex headers correctly))
-for a in `find -type d -and -not -name 'out*'`; do
+for a in `find . -type d -and -not -name 'out*' -print`; do
if test ! -d $a/$OUTDIR_NAME; then
mkdir $a/$OUTDIR_NAME
fi
AC_CONFIG_SUBDIRS(flower)
-# ugh
-eval "DIR_DATADIR=$datadir/lilypond"
AC_OUTPUT(make/$OUTDIR_NAME/Configure_variables.make:make/Configure_variables.make.in
- lib/$OUTDIR_NAME/config.hh:lib/config.hh.in
Makefile:make/Toplevel.make.in)
touch make/$OUTDIR_NAME/Site.make
END
-if test $warn_b = "yes" ; then
+if test x$warn_b = "xyes" ; then
cat <<EOF
**************************************************