dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
dnl WARNING WARNING WARNING WARNING
dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
-dnl WARNING WARNING WARNING WARNING
-dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
dnl aclocal.m4 -*-shell-script-*-
dnl StepMake subroutines for configure.in
LD='$(CC)'
AC_SUBST(LD)
+ CFLAGS="$CFLAGS $OPTIMIZE"
CPPFLAGS=${CPPFLAGS:-""}
+ AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(ICFLAGS)
AC_DEFUN(AC_STEPMAKE_GXX, [
# ugh autoconf
+ # urg, egcs: how to check for egcs >= 1.1?
changequote(<<, >>)dnl
if $CXX --version | grep '2\.8' > /dev/null ||
$CXX --version | grep 'egcs' > /dev/null
then
true
else
- AC_STEPMAKE_WARN(can\'t find g++ 2.8 or egcs)
+ AC_STEPMAKE_WARN(can\'t find g++ 2.8 or egcs 1.1)
fi
])
AC_SUBST(CONFIGSUFFIX)
AC_CANONICAL_HOST
- AC_CHECK_PROGS(MAKE, make, error)
+ AC_CHECK_PROGS(MAKE, make gmake, error)
AC_CHECK_PROGS(FIND, find, error)
-
dnl system supplied INSTALL is unsafe; use our own install.
dnl AC_PROG_INSTALL
dnl if test "$INSTALL" = "bin/install-sh"; then
AC_PATH_PROG(PYTHON, ${PYTHON:-python}, -echo no python)
AC_SUBST(PYTHON)
-
- AC_CHECK_SEARCH_RESULT($MAKE, GNU make, You should install GNU make)
if test $MAKE != "error" ; then
- $MAKE -v| grep GNU > /dev/null
+ $MAKE -v 2> /dev/null | grep GNU > /dev/null
if test "$?" = 1
then
AC_STEPMAKE_WARN(Please install *GNU* make)
LN_S=cp # symbolic link does not work for native nt
ZIP="zip -r -9" #
DOTEXE=.exe
- DIRSEP='\\'
- PATHSEP=';'
- INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
+ # urg
+ # DIRSEP='\\'
+ # PATHSEP=';'
+ #
+ # cygwin fixes all these things.
+ # it seems these were used because of dos-style TEXINPUTS and
+ # MFINPUTS needed for miktex.
+ # but this breaks parsing of all other cygwin/unix style paths.
+ #
+ # if your (mik)tex breaks, make a:
+ # /usr/local/bin/tex:
+ # #!/bin/sh
+ # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex $*
+ #
+ # and
+ #
+ # /usr/local/bin/mf:
+ # #!/bin/sh
+ # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf $*
+ #
+ # this way, you may have buildscripts/out/lilypond-profile
+ # 'automatically' sourced from /usr/etc/profile.d/ too.
+ #
+ DIRSEP='/'
+ PATHSEP=':'
+ INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
else
DIRSEP='/'
PATHSEP=':'
AC_DEFUN(AC_STEPMAKE_MAN, [
AC_CHECK_PROGS(TROFF, troff, -echo no troff)
+ AC_CHECK_PROGS(TBL, tbl, cat)
])
AC_DEFUN(AC_STEPMAKE_MSGFMT, [