#! /bin/sh
-ac_help="$ac_help
- --with-gtkmm-prefix=PREFIX
- Prefix where GTK-- is installed (optional)"
-# Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
-if test "${with_gtkmm_prefix+set}" = set; then
- withval="$with_gtkmm_prefix"
- gtkmm_config_prefix="$withval"
-else
- gtkmm_config_prefix=""
-fi
-
-ac_help="$ac_help
- --with-gtkmm-exec-prefix=PREFIX
- Exec prefix where GTK-- is installed (optional)"
-# Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
-if test "${with_gtkmm_exec_prefix+set}" = set; then
- withval="$with_gtkmm_exec_prefix"
- gtkmm_config_exec_prefix="$withval"
-else
- gtkmm_config_exec_prefix=""
-fi
-
-ac_help="$ac_help
- --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
-# Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
-if test "${enable_gtkmmtest+set}" = set; then
- enableval="$enable_gtkmmtest"
- :
-else
- enable_gtkmmtest=yes
-fi
-
-
- if test x$gtkmm_config_exec_prefix != x ; then
- gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
- if test x${GTKMM_CONFIG+set} != xset ; then
- GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config
- fi
- fi
- if test x$gtkmm_config_prefix != x ; then
- gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
- if test x${GTKMM_CONFIG+set} != xset ; then
- GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config
- fi
- fi
-
-
-
-
-# Configure paths for GTK--DRAW
-# Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
-
-
-
-
-
-
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
- enable-config=FILE put configure settings in config-FILE.make"
+ --enable-config=CONF put settings in config-CONF.make and config-CONF.h;
+ do \`make conf=CONF' to get output in ./out-CONF"
ac_help="$ac_help
- enable-checking set runtime checks (assert calls). Default: on"
+ --enable-checking set runtime checks (assert calls). Default: on"
ac_help="$ac_help
- enable-optimise use maximal speed optimisations. Default: off"
+ --enable-debugging compile with debugging info. Default: on"
ac_help="$ac_help
- enable-profiling compile with gprof support. Default: off"
+ --enable-optimising compile with optimising. Default: on"
ac_help="$ac_help
- enable-debugging set debug info. Default: on"
+ --enable-profiling compile with gprof support. Default: off"
ac_help="$ac_help
- enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
+ --with-localedir=LOCALE use LOCALE as locale dir. Default:
+ PREFIX/share/locale "
ac_help="$ac_help
- enable-printing turn on debug printing. Default: off"
+ --with-lang=LANG use LANG as language to emit messages"
ac_help="$ac_help
- with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
+ --enable-tfm-path=PATH set path of tex directories where tfm files live,
+ esp.: cmr10.tfm. Default: use kpsewhich"
ac_help="$ac_help
- with-lang=LANG use LANG as language to emit messages"
-ac_help="$ac_help
- enable-tex-tfmdir=DIR set the tex-directory where cmr10.tfm lives (default: use kpsewhich)"
+ --with-kpathsea use kpathsea lib. Default: on"
# Initialize some variables set by options.
# The variables have the same names as the options, with
fi
stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
+ # urg, how is this supposed to work?
+ if test "$program_prefix" = "NONE"; then
+ program_prefix=
+ fi
+ if test "$program_suffix" = "NONE"; then
+ program_suffix=
+ fi
+
echo $ac_n "checking Package""... $ac_c" 1>&6
-echo "configure:627: checking Package" >&5
+echo "configure:579: checking Package" >&5
if test "x$PACKAGE" = "xSTEPMAKE"; then
echo "$ac_t""Stepmake package!" 1>&6
- (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
- (cd stepmake; rm -f bin; ln -s ../bin .)
+
+ echo $ac_n "checking builddir""... $ac_c" 1>&6
+echo "configure:584: checking builddir" >&5
+ if test "$srcdir" = "."; then
+ builddir=.
+ else
+ absolute_builddir="`pwd`"
+ package_absolute_builddir="`dirname $absolute_builddir`"
+ package_srcdir="`dirname $srcdir`"
+ builddir="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
+ fi
+ echo "$ac_t""$builddir" 1>&6
+
+ (cd stepmake 2>/dev/null || mkdir stepmake)
+ (cd stepmake; rm -f bin; ln -s ../$srcdir/bin .)
ac_aux_dir=
for ac_dir in bin $srcdir/bin; do
if test -f $ac_dir/install-sh; then
stepmake=stepmake
else
echo "$ac_t""$PACKAGE" 1>&6
+
+ echo $ac_n "checking builddir""... $ac_c" 1>&6
+echo "configure:621: checking builddir" >&5
+ if test "$srcdir" = "."; then
+ builddir=.
+ srcdir_build=no
+ else
+ absolute_builddir="`pwd`"
+# builddir="`dirname $srcdir`/`basename $absolute_builddir`"
+ builddir="`bash $srcdir/buildscripts/walk.sh \"$srcdir\"`"
+ srcdir_build=yes
+ fi
+ echo "$ac_t""$builddir" 1>&6
+ if expr "$srcdir" : '/' > /dev/null 2>&1; then
+ absolute_srcdir=yes
+
+ echo "configure: warning: Absolute --srcdir specified: $srcdir" 1>&2
+ warn_b=yes
+
+ fi
+
echo $ac_n "checking for stepmake""... $ac_c" 1>&6
-echo "configure:655: checking for stepmake" >&5
+echo "configure:641: checking for stepmake" >&5
# Check for installed stepmake
if test -d $stepmake; then
echo "$ac_t""$stepmake" 1>&6
else
- stepmake='$(depth)'/stepmake
- echo "$ac_t""./stepmake ($datadir/stepmake not found)" 1>&6
+ if test "$absolute_srcdir" != "yes"; then
+ stepmake='$(depth)'/$srcdir/stepmake
+ else
+ stepmake=$srcdir/stepmake
+ fi
+ echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
fi
+
ac_aux_dir=
for ac_dir in \
$HOME/usr/local/share/stepmake/bin\
/usr/share/stepmake/bin\
/usr/lib/stepmake/bin\
stepmake/bin\
+ $srcdir/stepmake/bin\
$srcdir/\
$HOME/usr/local/share/stepmake/bin\
$HOME/usr/local/lib/stepmake/bin\
/usr/share/stepmake/bin\
/usr/lib/stepmake/bin\
stepmake/bin\
+ $srcdir/stepmake/bin\
; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
/usr/share/stepmake/bin\
/usr/lib/stepmake/bin\
stepmake/bin\
+ $srcdir/stepmake/bin\
$srcdir/\
$HOME/usr/local/share/stepmake/bin\
$HOME/usr/local/lib/stepmake/bin\
/usr/share/stepmake/bin\
/usr/lib/stepmake/bin\
stepmake/bin\
+ $srcdir/stepmake/bin\
" 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
+
cat >> confdefs.h <<EOF
#define PACKAGE "${PACKAGE_NAME}"
EOF
AUTOGENERATE="This file was automatically generated by configure"
- absolute_builddir="`pwd`"
-
-
- STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
- if test "x$STATE_VECTOR" != "x"; then
- STATE_VECTOR="\$(depth)/$STATE_VECTOR"
- fi
-
CONFIGSUFFIX=
# Check whether --enable-config or --disable-config was given.
if test "${enable_config+set}" = set; then
enableval="$enable_config"
- CONFIGSUFFIX=$enableval
+ CONFIGURATION=$enableval
fi
- if test "$CONFIGSUFFIX" != "" ; then
- CONFIGFILE=config-$CONFIGSUFFIX
- else
- CONFIGFILE=config
- fi
+ ##'
+
+ test -n "$CONFIGURATION" && CONFIGSUFFIX="-$CONFIGURATION"
+ CONFIGFILE=config$CONFIGSUFFIX
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:778: checking host system type" >&5
+echo "configure:765: checking host system type" >&5
host_alias=$host
case "$host_alias" in
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
+
for ac_prog in gmake make
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:803: checking for $ac_word" >&5
+echo "configure:791: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$MAKE" && break
done
-test -n "$MAKE" || MAKE="error"
+test -n "$MAKE" || MAKE="no"
+
+
+
+ r="`eval echo '$'"MAKE"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"MAKE"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"gmake make\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: gmake make not found"
+ # abort configure process here?
+ else
+ command="- echo gmake make not found"
+ fi
+ eval "MAKE"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"MAKE"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:851: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
for ac_prog in find
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:838: checking for $ac_word" >&5
+echo "configure:889: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$FIND" && break
done
-test -n "$FIND" || FIND="error"
+test -n "$FIND" || FIND="no"
+
+
+
+ r="`eval echo '$'"FIND"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"FIND"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"find\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: find not found"
+ # abort configure process here?
+ else
+ command="- echo find not found"
+ fi
+ eval "FIND"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"FIND"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:949: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+ fi
+
for ac_prog in tar
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:875: checking for $ac_word" >&5
+echo "configure:988: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$TAR" && break
done
-test -n "$TAR" || TAR="error"
+test -n "$TAR" || TAR="no"
+
+
+
+ r="`eval echo '$'"TAR"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"TAR"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"tar\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: tar not found"
+ # abort configure process here?
+ else
+ command="- echo tar not found"
+ fi
+ eval "TAR"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"TAR"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:1048: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
if test "x`uname`" = "xHP-UX"; then
# Extract the first word of "bash", so it can be a program name with args.
set dummy bash; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:910: checking for $ac_word" >&5
+echo "configure:1085: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "bash", so it can be a program name with args.
set dummy bash; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:950: checking for $ac_word" >&5
+echo "configure:1125: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "bash", so it can be a program name with args.
set dummy bash; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:987: checking for $ac_word" >&5
+echo "configure:1162: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
+
+ for ac_prog in python
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1205: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_PYTHON'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$PYTHON"; then
+ ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_PYTHON="$ac_prog"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+PYTHON="$ac_cv_prog_PYTHON"
+if test -n "$PYTHON"; then
+ echo "$ac_t""$PYTHON" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$PYTHON" && break
+done
+test -n "$PYTHON" || PYTHON="no"
+
+
+
+ r="`eval echo '$'"PYTHON"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"PYTHON"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"python\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: python not found"
+ # abort configure process here?
+ else
+ command="- echo python not found"
+ fi
+ eval "PYTHON"='$command'
+ false
+ else
+ true
+ fi
- # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
-set dummy ${PYTHON:-python}; ac_word=$2
+ if test $? -eq 0; then
+ # Extract the first word of "python", so it can be a program name with args.
+set dummy python; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1028: checking for $ac_word" >&5
+echo "configure:1265: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
done
IFS="$ac_save_ifs"
- test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
;;
esac
fi
echo "$ac_t""no" 1>&6
fi
-
+ if test -n ""; then
+
+ r="`eval echo '$'"PYTHON"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:1301: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
- if test $MAKE != "error" ; then
- $MAKE -v 2> /dev/null | grep GNU > /dev/null
- if test "$?" = 1
- then
-
- echo "configure: warning: Please install *GNU* make" 1>&2
- warn_b=yes
-
fi
- fi
+ fi
-
- result="`echo \"$PYTHON\" | grep echo`"
- if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
-
- echo "configure: warning: can\'t find python. You should install Python" 1>&2
+
+ if expr "$MAKE" : '.*\(echo\)' >/dev/null; then
+ $MAKE -v 2> /dev/null | grep GNU > /dev/null
+ if test "$?" = 1; then
+ warn='make (Please install *GNU* make)'
+
+ echo "configure: warning: $warn" 1>&2
warn_b=yes
- fi
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"$warn\"`\"
+ fi
+ fi
- if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
+ if test "$OSTYPE" = "cygwin" -o "$OSTYPE" = "cygwin32" -o "$OSTYPE" = "Windows_NT"; then
LN=cp # hard link does not work under cygnus-nt
LN_S='cp -r' # symbolic link does not work for native nt
ZIP="zip -r -9" #
- DOTEXE=.exe
- # 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.
- #
+ program_suffix=.exe
+ ROOTSEP=':'
DIRSEP='/'
PATHSEP=':'
INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
else
+ ROOTSEP=':'
DIRSEP='/'
PATHSEP=':'
LN=ln
+
cat >> confdefs.h <<EOF
#define DIRSEP '${DIRSEP}'
EOF
-
if test "$datadir" = "\${prefix}/share"; then
datadir='${prefix}/share/'$package
presome=${ac_default_prefix}
fi
DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
+
+
+
cat >> confdefs.h <<EOF
#define DIR_DATADIR "${DIR_DATADIR}"
EOF
# Uncomment the configuration options your package needs.
# -O is necessary to get inlining
- OPTIMIZE=""
- CXXFLAGS=${CXXFLAGS:-""}
- CFLAGS=${CFLAGS:-""}
+ CFLAGS=${CFLAGS-""}
+ CXXFLAGS=${CXXFLAGS-$CFLAGS}
+ LDFLAGS=${LDFLAGS-""}
checking_b=yes
- optimise_b=no
+ optimise_b=yes
profile_b=no
debug_b=yes
fi
- # actually, the default is: tja='-O' to get inlining...
- # off='' --jcn
+ # Check whether --enable-debugging or --disable-debugging was given.
+if test "${enable_debugging+set}" = set; then
+ enableval="$enable_debugging"
+ debug_b=$enableval
+fi
- #actually, that sucks.
- # tja looks like a typo. Default is optimisation off. --hwn
-
- # Check whether --enable-optimise or --disable-optimise was given.
-if test "${enable_optimise+set}" = set; then
- enableval="$enable_optimise"
+
+ # Check whether --enable-optimising or --disable-optimising was given.
+if test "${enable_optimising+set}" = set; then
+ enableval="$enable_optimising"
optimise_b=$enableval
fi
-
+
# Check whether --enable-profiling or --disable-profiling was given.
if test "${enable_profiling+set}" = set; then
enableval="$enable_profiling"
fi
- # Check whether --enable-debugging or --disable-debugging was given.
-if test "${enable_debugging+set}" = set; then
- enableval="$enable_debugging"
- debug_b=$enableval
-fi
-
-
- # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
-if test "${enable_mingw_prefix+set}" = set; then
- enableval="$enable_mingw_prefix"
- MINGWPREFIX=$enableval
-else
- MINGWPREFIX=no
-fi
-
-
- if test "$printing_b" = no; then
- # ugh
- cat >> confdefs.h <<\EOF
-#define NPRINT 1
-EOF
- DEFINES="$DEFINES -DNPRINT"
- fi
-
if test "$checking_b" = no; then
# ugh
cat >> confdefs.h <<\EOF
OPTIMIZE="-O2 -finline-functions"
fi
- if test "$optimise_b" = no; then
- OPTIMIZE=""
- fi
if test $profile_b = yes; then
EXTRA_LIBES="-pg"
OPTIMIZE="$OPTIMIZE -g"
fi
- # however, C++ support in mingw32 v 0.1.4 is still flaky
- if test x$MINGWPREFIX != xno; then
- ICFLAGS="-I$MINGWPREFIX/include"
- ILDFLAGS="-$MINGWPREFIX/lib"
- fi
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1261: checking for $ac_word" >&5
+echo "configure:1477: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1291: checking for $ac_word" >&5
+echo "configure:1507: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1342: checking for $ac_word" >&5
+echo "configure:1558: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1374: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:1590: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cat > conftest.$ac_ext << EOF
-#line 1385 "configure"
+#line 1601 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1416: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:1632: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1421: checking whether we are using GNU C" >&5
+echo "configure:1637: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1449: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:1665: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
fi
+
+
+ r="`eval echo '$'"CC"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"CC"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval ""=\"`eval echo \"'$'\" \"cc\"`\"
+
+ if test "" = "REQUIRED"; then
+ command="echo ERROR: cc not found"
+ # abort configure process here?
+ else
+ command="- echo cc not found"
+ fi
+ eval "CC"='$command'
+ false
+ else
+ true
+ fi
+
LD='$(CC)'
CFLAGS="$CFLAGS $OPTIMIZE"
- CPPFLAGS=${CPPFLAGS:-""}
+ CPPFLAGS=${CPPFLAGS-""}
+
+ echo $ac_n "checking for IEEE-conformance compiler flags""... $ac_c" 1>&6
+echo "configure:1729: checking for IEEE-conformance compiler flags" >&5
+ save_cflags="$CFLAGS"
+ case "$host" in
+ alpha*-*-*)
+ echo "$ac_t""-mieee" 1>&6
+ CFLAGS="-mieee $CFLAGS"
+ ;;
+ *)
+ echo "$ac_t""none" 1>&6
+ ;;
+ esac
-
-# AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
-
-printing_b=no
-# Check whether --enable-printing or --disable-printing was given.
-if test "${enable_printing+set}" = set; then
- enableval="$enable_printing"
- printing_b=$enableval
-fi
-
-if test "$optimise_b" = yes; then
- DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
- cat >> confdefs.h <<\EOF
-#define STRINGS_UTILS_INLINED 1
-EOF
-
-fi
-echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
-echo "configure:1512: checking how to run the C++ preprocessor" >&5
-if test -z "$CXXCPP"; then
-if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
+# AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
+echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+echo "configure:1751: checking how to run the C preprocessor" >&5
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
- CXXCPP="${CXX-g++} -E"
+ # This must be in double quotes, not single quotes, because CPP may get
+ # substituted into the Makefile and "${CC-cc}" will confuse make.
+ CPP="${CC-cc} -E"
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 1525 "configure"
+#line 1766 "configure"
#include "confdefs.h"
-#include <stdlib.h>
+#include <assert.h>
+Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- CXXCPP=/lib/cpp
-fi
-rm -f conftest*
- ac_cv_prog_CXXCPP="$CXXCPP"
-ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-fi
-fi
-CXXCPP="$ac_cv_prog_CXXCPP"
-echo "$ac_t""$CXXCPP" 1>&6
-
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
+ CPP="${CC-cc} -E -traditional-cpp"
+ cat > conftest.$ac_ext <<EOF
+#line 1783 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP="${CC-cc} -nologo -E"
+ cat > conftest.$ac_ext <<EOF
+#line 1800 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP=/lib/cpp
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+ ac_cv_prog_CPP="$CPP"
+fi
+ CPP="$ac_cv_prog_CPP"
+else
+ ac_cv_prog_CPP="$CPP"
+fi
+echo "$ac_t""$CPP" 1>&6
+
+for ac_hdr in assert.h sys/stat.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:1834: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1839 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
+echo "configure:1871: checking whether stat file-mode macros are broken" >&5
+if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1876 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#include <sys/stat.h>
+
+#if defined(S_ISBLK) && defined(S_IFDIR)
+# if S_ISBLK (S_IFDIR)
+You lose.
+# endif
+#endif
+
+#if defined(S_ISBLK) && defined(S_IFCHR)
+# if S_ISBLK (S_IFCHR)
+You lose.
+# endif
+#endif
+
+#if defined(S_ISLNK) && defined(S_IFREG)
+# if S_ISLNK (S_IFREG)
+You lose.
+# endif
+#endif
+
+#if defined(S_ISSOCK) && defined(S_IFREG)
+# if S_ISSOCK (S_IFREG)
+You lose.
+# endif
+#endif
+
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "You lose" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_header_stat_broken=yes
+else
+ rm -rf conftest*
+ ac_cv_header_stat_broken=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
+if test $ac_cv_header_stat_broken = yes; then
+ cat >> confdefs.h <<\EOF
+#define STAT_MACROS_BROKEN 1
+EOF
+
+fi
+
+
+echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
+echo "configure:1928: checking how to run the C++ preprocessor" >&5
+if test -z "$CXXCPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+ CXXCPP="${CXX-g++} -E"
+ cat > conftest.$ac_ext <<EOF
+#line 1941 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:1946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CXXCPP=/lib/cpp
+fi
+rm -f conftest*
+ ac_cv_prog_CXXCPP="$CXXCPP"
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+fi
+fi
+CXXCPP="$ac_cv_prog_CXXCPP"
+echo "$ac_t""$CXXCPP" 1>&6
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1567: checking for $ac_word" >&5
+echo "configure:1983: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1599: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+echo "configure:2015: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cat > conftest.$ac_ext << EOF
-#line 1610 "configure"
+#line 2026 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cxx_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1641: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:2057: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
-echo "configure:1646: checking whether we are using GNU C++" >&5
+echo "configure:2062: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
-echo "configure:1674: checking whether ${CXX-g++} accepts -g" >&5
+echo "configure:2090: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
fi
+for ac_declaration in \
+ ''\
+ '#include <stdlib.h>' \
+ 'extern "C" void std::exit (int) throw (); using std::exit;' \
+ 'extern "C" void std::exit (int); using std::exit;' \
+ 'extern "C" void exit (int) throw ();' \
+ 'extern "C" void exit (int);' \
+ 'void exit (int);'
+do
+ cat > conftest.$ac_ext <<EOF
+#line 2131 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+$ac_declaration
+int main() {
+exit (42);
+; return 0; }
+EOF
+if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ continue
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 2149 "configure"
+#include "confdefs.h"
+$ac_declaration
+int main() {
+exit (42);
+; return 0; }
+EOF
+if { (eval echo configure:2156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ break
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+done
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
+
+
+
+
+ r="`eval echo '$'"CXX"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"CXX"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"c++\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: c++ not found"
+ # abort configure process here?
+ else
+ command="- echo c++ not found"
+ fi
+ eval "CXX"='$command'
+ false
+ else
+ true
+ fi
+
ac_safe=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
-echo "configure:1708: checking for FlexLexer.h" >&5
+echo "configure:2201: checking for FlexLexer.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1713 "configure"
+#line 2206 "configure"
#include "confdefs.h"
#include <FlexLexer.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
else
echo "$ac_t""no" 1>&6
- echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
+ echo "configure: warning: cannot find flex header. Please install Flex headers correctly" 1>&2
warn_b=yes
fi
CPPFLAGS="$CPPFLAGS $DEFINES"
CXXFLAGS="$CXXFLAGS $OPTIMIZE"
- LDFLAGS=$EXTRA_LIBES
+ LDFLAGS="$LDFLAGS $EXTRA_LIBES"
- # ugh autoconf
- # urg, egcs: how to check for egcs >= 1.1?
- if $CXX --version | grep '2\.8' > /dev/null ||
- $CXX --version | grep 'egcs' > /dev/null
+ echo $ac_n "checking "g++ version"""... $ac_c" 1>&6
+echo "configure:2248: checking "g++ version"" >&5
+ cxx_version=`$CXX --version`
+ echo "$ac_t"""$cxx_version"" 1>&6
+ # urg, egcs: how to check for egcs >= 1.1?
+ if expr "$cxx_version" : '.*2\.[89]' > /dev/null ||
+ expr "$cxx_version" : '.*egcs' > /dev/null ||
+ expr "$cxx_version" : '3\.[0-9]' > /dev/null
then
true
else
-
- echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
+
+ echo "configure: warning: cannot find g++ 2.8" 1>&2
warn_b=yes
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"'g++ >= 2.95 (gcc package)'\"`\"
+
fi
echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
-echo "configure:1769: checking whether explicit instantiation is needed" >&5
+echo "configure:2269: checking whether explicit instantiation is needed" >&5
if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1774 "configure"
+#line 2274 "configure"
#include "confdefs.h"
template <class T> struct foo { static int baz; };
return foo<int>::baz;
; return 0; }
EOF
-if { (eval echo configure:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lily_cv_need_explicit_instantiation=no
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1811: checking for $ac_word" >&5
+echo "configure:2311: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
done
test -n "$YACC" || YACC="yacc"
- # ugh, automake: we want (and check for) flex
- # AC_PROG_LEX
- # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
-
- # AC_DECL_YYTEXT
- # ugh, ugh
- ac_cv_prog_lex_root=lex.yy
-
+
+
for ac_prog in bison
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1854: checking for $ac_word" >&5
+echo "configure:2348: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$BISON" && break
done
-test -n "$BISON" || BISON="error"
+test -n "$BISON" || BISON="no"
+
+
+
+ r="`eval echo '$'"BISON"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"BISON"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"bison\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: bison not found"
+ # abort configure process here?
+ else
+ command="- echo bison not found"
+ fi
+ eval "BISON"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"BISON"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:2408: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+
+ # urg. should test functionality rather than version.
+ if test "$BISON" = "bison" -a -n "1.25"; then
+
+ r="`eval echo '$'"BISON"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:2446: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "1.25" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r 1.25 (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+ # ugh, automake: we want (and check for) flex
+ # AC_PROG_LEX
+ # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
+
+ # AC_DECL_YYTEXT
+ # ugh, ugh
+ ac_cv_prog_lex_root=lex.yy
+
for ac_prog in flex
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1889: checking for $ac_word" >&5
+echo "configure:2492: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$FLEX" && break
done
-test -n "$FLEX" || FLEX="error"
+test -n "$FLEX" || FLEX="no"
- result="`echo \"$BISON\" | grep echo`"
- if test "x$BISON" = "xerror" -o "x$result" != "x"; then
-
- echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
- warn_b=yes
-
- fi
-
- result="`echo \"$FLEX\" | grep echo`"
- if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
-
- echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
- warn_b=yes
+ r="`eval echo '$'"FLEX"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"FLEX"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"flex\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: flex not found"
+ # abort configure process here?
+ else
+ command="- echo flex not found"
fi
+ eval "FLEX"='$command'
+ false
+ else
+ true
+ fi
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"FLEX"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:2552: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
- if test $BISON != "error"; then
- bison_version=`$BISON --version | sed 's/^.*version 1.//g'`
- if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
-
- echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
- warn_b=yes
+ fi
- fi
fi
-
-
+
for ac_prog in ar
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1957: checking for $ac_word" >&5
+echo "configure:2592: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$AR" && break
done
-test -n "$AR" || AR="error"
+test -n "$AR" || AR="no"
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1990: checking for $ac_word" >&5
+
+
+ r="`eval echo '$'"AR"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"AR"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"ar\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: ar not found"
+ # abort configure process here?
+ else
+ command="- echo ar not found"
+ fi
+ eval "AR"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"AR"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:2652: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:2687: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-
+ r="`eval echo '$'"RANLIB"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"RANLIB"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"ranlib\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: ranlib not found"
+ # abort configure process here?
+ else
+ command="- echo ranlib not found"
+ fi
+ eval "RANLIB"='$command'
+ false
+ else
+ true
+ fi
+
-# AC_STEPMAKE_LIBTOOL
lang=English
ALL_LINGUAS="en nl"
echo $ac_n "checking language""... $ac_c" 1>&6
-echo "configure:2046: checking language" >&5
+echo "configure:2765: checking language" >&5
case "$language" in
En* | en* | Am* | am* | US* | us*)
lang=English;;
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
-echo "configure:2082: checking for gettext in -lintl" >&5
+echo "configure:2801: checking for gettext in -lintl" >&5
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2090 "configure"
+#line 2809 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
gettext()
; return 0; }
EOF
-if { (eval echo configure:2104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
for ac_func in gettext
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2134: checking for $ac_func" >&5
+echo "configure:2853: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2139 "configure"
+#line 2858 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
- # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
+
for ac_prog in msgfmt
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2197: checking for $ac_word" >&5
+echo "configure:2916: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$MSGFMT" && break
done
-test -n "$MSGFMT" || MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
+test -n "$MSGFMT" || MSGFMT="no"
- echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
-echo "configure:2228: checking whether msgfmt accepts -o" >&5
- msgfmt_output="`msgfmt -o bla 2>&1 | grep usage`"
- if test "$msgfmt_output" = ""; then
- echo "$ac_t""yes" 1>&6
+
+
+ r="`eval echo '$'"MSGFMT"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"MSGFMT"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
else
- # urg
- MSGFMT="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
- echo "$ac_t""no" 1>&6
+ true
+ fi
+
+ if test $? -ne 0; then
- echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
- warn_b=yes
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"msgfmt\"`\"
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: msgfmt not found"
+ # abort configure process here?
+ else
+ command="- echo msgfmt not found"
+ fi
+ eval "MSGFMT"='$command'
+ false
+ else
+ true
fi
- if test ! -n "$MSGFMT"; then
+
+ if test $? -eq 0 -a -n ""; then
- echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
- warn_b=yes
+ r="`eval echo '$'"MSGFMT"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:2976: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
fi
+
# urg, never know what names these teTeX guys will think up
- for ac_prog in mf
+
+ for ac_prog in mf mfont
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2256: checking for $ac_word" >&5
+echo "configure:3018: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
done
test -n "$METAFONT" || METAFONT="no"
- if test "x$METAFONT" = "xno"; then
- for ac_prog in mfont
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2292: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$MFONT"; then
- ac_cv_prog_MFONT="$MFONT" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_MFONT="$ac_prog"
- break
+
+
+ r="`eval echo '$'"METAFONT"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"METAFONT"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-MFONT="$ac_cv_prog_MFONT"
-if test -n "$MFONT"; then
- echo "$ac_t""$MFONT" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$MFONT" && break
-done
-test -n "$MFONT" || MFONT="-echo no mf or mfont"
- METAFONT=$MFONT
- fi
+ if test $? -ne 0; then
+
+ eval ""=\"`eval echo \"'$'\" \"mf mfont\"`\"
- for ac_prog in mp
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2330: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$METAPOST"; then
- ac_cv_prog_METAPOST="$METAPOST" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_METAPOST="$ac_prog"
- break
+ if test "" = "REQUIRED"; then
+ command="echo ERROR: mf mfont not found"
+ # abort configure process here?
+ else
+ command="- echo mf mfont not found"
+ fi
+ eval "METAFONT"='$command'
+ false
+ else
+ true
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-METAPOST="$ac_cv_prog_METAPOST"
-if test -n "$METAPOST"; then
- echo "$ac_t""$METAPOST" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-test -n "$METAPOST" && break
-done
-test -n "$METAPOST" || METAPOST="no"
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"METAFONT"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3078: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval ""=\"`eval echo \"'$'\" \""$r (installed: $ver)"\"`\"
- if test "x$METAPOST" = "xno"; then
- for ac_prog in mpost
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2366: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$MPOST"; then
- ac_cv_prog_MPOST="$MPOST" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_MPOST="$ac_prog"
- break
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-MPOST="$ac_cv_prog_MPOST"
-if test -n "$MPOST"; then
- echo "$ac_t""$MPOST" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-test -n "$MPOST" && break
-done
-test -n "$MPOST" || MPOST="-echo no mp or mpost"
-
-
- METAPOST=$MPOST
fi
- for ac_prog in inimf
+
+ for ac_prog in inimf inimfont
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2405: checking for $ac_word" >&5
+echo "configure:3116: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
done
test -n "$INIMETAFONT" || INIMETAFONT="no"
- if test "x$INIMETAFONT" = "xno"; then
- for ac_prog in inimfont
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2441: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$INIMFONT"; then
- ac_cv_prog_INIMFONT="$INIMFONT" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_INIMFONT="$ac_prog"
- break
+
+
+ r="`eval echo '$'"INIMETAFONT"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"INIMETAFONT"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-INIMFONT="$ac_cv_prog_INIMFONT"
-if test -n "$INIMFONT"; then
- echo "$ac_t""$INIMFONT" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$INIMFONT" && break
-done
-test -n "$INIMFONT" || INIMFONT="-echo no inimf or inimfont"
- INIMETAFONT=$INIMFONT
- fi
+ if test $? -ne 0; then
+
+ eval ""=\"`eval echo \"'$'\" \"inimf inimfont\"`\"
- for ac_prog in inimp
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2479: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$INIMETAPOST"; then
- ac_cv_prog_INIMETAPOST="$INIMETAPOST" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_INIMETAPOST="$ac_prog"
- break
+ if test "" = "REQUIRED"; then
+ command="echo ERROR: inimf inimfont not found"
+ # abort configure process here?
+ else
+ command="- echo inimf inimfont not found"
+ fi
+ eval "INIMETAFONT"='$command'
+ false
+ else
+ true
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-INIMETAPOST="$ac_cv_prog_INIMETAPOST"
-if test -n "$INIMETAPOST"; then
- echo "$ac_t""$INIMETAPOST" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-test -n "$INIMETAPOST" && break
-done
-test -n "$INIMETAPOST" || INIMETAPOST="no"
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"INIMETAFONT"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3176: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval ""=\"`eval echo \"'$'\" \""$r (installed: $ver)"\"`\"
- if test "x$INIMETAPOST" = "xno"; then
- for ac_prog in inimpost
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2515: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$INIMPOST"; then
- ac_cv_prog_INIMPOST="$INIMPOST" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_INIMPOST="$ac_prog"
- break
fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-INIMPOST="$ac_cv_prog_INIMPOST"
-if test -n "$INIMPOST"; then
- echo "$ac_t""$INIMPOST" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-test -n "$INIMPOST" && break
-done
-test -n "$INIMPOST" || INIMPOST="-echo no inimp or inimpost"
-
- INIMETAPOST=$INIMPOST
fi
+
echo $ac_n "checking for working metafont mode""... $ac_c" 1>&6
-echo "configure:2549: checking for working metafont mode" >&5
+echo "configure:3210: checking for working metafont mode" >&5
modelist='ljfour lj4 lj3 lj2 ljet laserjet'
for MFMODE in $modelist; do
$METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev/null 2>&1
break;
fi
done
- rm -f mfput.*
echo "$ac_t""$MFMODE" 1>&6
-
-
-
-
+ rm -f mfput.*
+
- # Check whether --enable-tex-tfmdir or --disable-tex-tfmdir was given.
-if test "${enable_tex_tfmdir+set}" = set; then
- enableval="$enable_tex_tfmdir"
- TFMDIR=$enableval
+ # Check whether --enable-tfm-path or --disable-tfm-path was given.
+if test "${enable_tfm_path+set}" = set; then
+ enableval="$enable_tfm_path"
+ tfm_path=$enableval
else
- TFMDIR=auto
+ tfm_path=auto
fi
+ # ugh
+
for ac_prog in kpsewhich
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2581: checking for $ac_word" >&5
+echo "configure:3241: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
done
test -n "$KPSEWHICH" || KPSEWHICH="no"
- echo $ac_n "checking for TeX TFM directory""... $ac_c" 1>&6
-echo "configure:2612: checking for TeX TFM directory" >&5
- if test "x$TFMDIR" = xauto ; then
- if test "x$TEX_TFMDIR" = "x" ; then
- if test "x$KPSEWHICH" != "xno" ; then
- CMR10=`kpsewhich tfm cmr10.tfm`
- TEX_TFMDIR=`dirname $CMR10`
- else
-
- echo "configure: warning: Please set TEX_TFMDIR (to where cmr10.tfm lives):
- TEX_TFMDIR=/usr/local/TeX/lib/tex/fonts ./configure" 1>&2
+
+
+ r="`eval echo '$'"KPSEWHICH"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"KPSEWHICH"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"kpsewhich\"`\"
+
+ if test "OPTIONAL" = "REQUIRED"; then
+ command="echo ERROR: kpsewhich not found"
+ # abort configure process here?
+ else
+ command="- echo kpsewhich not found"
+ fi
+ eval "KPSEWHICH"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"KPSEWHICH"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3301: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+ echo $ac_n "checking for tfm path""... $ac_c" 1>&6
+echo "configure:3334: checking for tfm path" >&5
+
+ TFM_FONTS="cmr msam"
+
+ if test "x$tfm_path" = xauto ; then
+ if test "x$KPSEWHICH" != "xno" ; then
+ for i in $TFM_FONTS; do
+ dir=`$KPSEWHICH tfm ${i}10.tfm`
+ TFM_PATH="$TFM_PATH `dirname $dir`"
+ done
+ else
+
+ echo "configure: warning: Please specify where cmr10.tfm lives:
+ ./configure --enable-tfm-path=/usr/local/TeX/lib/tex/fonts" 1>&2
warn_b=yes
- fi
fi
+ else
+ TFM_PATH=$tfm_path
+ fi
+
+ TFM_PATH=`echo $TFM_PATH | tr ':' ' '`
+ echo "$ac_t""$TFM_PATH" 1>&6
+
+
+
+ ## First, let's just see if we can find Guile at all.
+ echo $ac_n "checking "for guile-config"""... $ac_c" 1>&6
+echo "configure:3362: checking "for guile-config"" >&5
+ for guile_config in guile-config $target-guile-config $build-guile-config; do
+ echo "$ac_t"""$guile_config"" 1>&6
+ if ! $guile_config --version > /dev/null 2>&1 ; then
+ echo "configure: warning: "cannot execute $guile_config"" 1>&2
+ echo $ac_n "checking "if we are cross compiling"""... $ac_c" 1>&6
+echo "configure:3368: checking "if we are cross compiling"" >&5
+ GUILE_CONFIG='echo no guile-config'
+ else
+ GUILE_CONFIG=$guile_config
+ break
+ fi
+ done
+
+
+ r="`eval echo '$'"GUILE_CONFIG"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"GUILE_CONFIG"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"$guile_config\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: $guile_config not found"
+ # abort configure process here?
+ else
+ command="- echo $guile_config not found"
+ fi
+ eval "GUILE_CONFIG"='$command'
+ false
+ else
+ true
fi
- echo "$ac_t""$TEX_TFMDIR" 1>&6
+
+ #if expr "$GUILE_CONFIG" : '.*\(echo\)' >/dev/null; then
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"'guile-config (guile-devel, guile-dev or libguile-dev package)'\"`\"
+
+ fi
+
+ r="`eval echo '$'"GUILE_CONFIG"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"GUILE_CONFIG"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ # urg. should test functionality rather than version.
+ if test $? -eq 0 -a -n "1.3.4"; then
+
+ r="`eval echo '$'"GUILE_CONFIG"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3422: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "1.3.4" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r 1.3.4 (installed: $ver)"\"`\"
+ fi
+
+ fi
- if test "x$YODL" = "x"; then
- for ac_prog in striproff
+
+
+ guile_version="$ver"
+ GUILE_MAJOR_VERSION=`expr $guile_version : '\([0-9]*\)'`
+ GUILE_MINOR_VERSION=`expr $guile_version : '[0-9]*\.\([0-9]*\)'`
+
+ exe=`
+ type -p "$guile_config" 2>&1 | awk '{print $NF}'
+`
+ if test -x $exe; then
+ echo $ac_n "checking "guile compile flags"""... $ac_c" 1>&6
+echo "configure:3465: checking "guile compile flags"" >&5
+ GUILE_CFLAGS="`$guile_config compile`"
+ echo "$ac_t""$GUILE_CFLAGS" 1>&6
+ echo $ac_n "checking "guile link flags"""... $ac_c" 1>&6
+echo "configure:3469: checking "guile link flags"" >&5
+ GUILE_LDFLAGS="`$guile_config link`"
+ echo "$ac_t""$GUILE_LDFLAGS" 1>&6
+ fi
+
+
+
+ cat >> confdefs.h <<EOF
+#define GUILE_MAJOR_VERSION $GUILE_MAJOR_VERSION
+EOF
+
+ cat >> confdefs.h <<EOF
+#define GUILE_MINOR_VERSION $GUILE_MINOR_VERSION
+EOF
+
+
+
+
+ kpathsea_b=yes
+ #FIXME --with-xxx is meant for specifying a PATH too,
+ # so this should read: --enable-kpathsea,
+ # or --with-kpathsea-include=PATH --with-kpathsea-lib=PATH
+ # Check whether --with-kpathsea or --without-kpathsea was given.
+if test "${with_kpathsea+set}" = set; then
+ withval="$with_kpathsea"
+ kpathsea_b=$with_kpathsea
+fi
+
+
+ if test "$kpathsea_b" != "no"; then
+ for ac_hdr in kpathsea/kpathsea.h
do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2637: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:3503: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3508 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:3513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+ echo $ac_n "checking for kpse_find_file in -lkpathsea""... $ac_c" 1>&6
+echo "configure:3540: checking for kpse_find_file in -lkpathsea" >&5
+ac_lib_var=`echo kpathsea'_'kpse_find_file | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$STRIPROFF"; then
- ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
+ ac_save_LIBS="$LIBS"
+LIBS="-lkpathsea $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 3548 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char kpse_find_file();
+
+int main() {
+kpse_find_file()
+; return 0; }
+EOF
+if { (eval echo configure:3562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_STRIPROFF="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
fi
-STRIPROFF="$ac_cv_prog_STRIPROFF"
-if test -n "$STRIPROFF"; then
- echo "$ac_t""$STRIPROFF" 1>&6
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_lib=HAVE_LIB`echo kpathsea | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_lib 1
+EOF
+
+ LIBS="-lkpathsea $LIBS"
+
else
echo "$ac_t""no" 1>&6
fi
-test -n "$STRIPROFF" && break
+ for ac_func in kpse_find_file
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:3592: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3597 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+{ echo "configure: error: Cannot find kpathsea functions. You should install kpathsea; see INSTALL.txt. Rerun ./configure --without-kpathsea only if kpathsea is not available for your platform." 1>&2; exit 1; }
+fi
done
-test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
- for ac_prog in yodl
+ fi
+ echo $ac_n "checking whether to use kpathsea""... $ac_c" 1>&6
+echo "configure:3650: checking whether to use kpathsea" >&5
+ if test "$kpathsea_b" != no; then
+ echo "$ac_t""yes" 1>&6
+ KPATHSEA=1
+ else
+ echo "$ac_t""no" 1>&6
+ KPATHSEA=0
+ fi
+
+
+ cat >> confdefs.h <<EOF
+#define KPATHSEA $KPATHSEA
+EOF
+
+
+
+
+ for ac_prog in makeinfo
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2672: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
+echo "configure:3672: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL"; then
- ac_cv_prog_YODL="$YODL" # Let the user override the test.
+ if test -n "$MAKEINFO"; then
+ ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL="$ac_prog"
+ ac_cv_prog_MAKEINFO="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-YODL="$ac_cv_prog_YODL"
-if test -n "$YODL"; then
- echo "$ac_t""$YODL" 1>&6
+MAKEINFO="$ac_cv_prog_MAKEINFO"
+if test -n "$MAKEINFO"; then
+ echo "$ac_t""$MAKEINFO" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+test -n "$MAKEINFO" && break
+done
+test -n "$MAKEINFO" || MAKEINFO="no"
+
+
+
+ r="`eval echo '$'"MAKEINFO"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"MAKEINFO"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"makeinfo\"`\"
+
+ if test "REQUIRED" = "REQUIRED"; then
+ command="echo ERROR: makeinfo not found"
+ # abort configure process here?
+ else
+ command="- echo makeinfo not found"
+ fi
+ eval "MAKEINFO"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0 -a -n ""; then
+
+ r="`eval echo '$'"MAKEINFO"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3732: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+ if test "$MAKEINFO" = "makeinfo"; then
+ echo $ac_n "checking whether makeinfo can split html by @node""... $ac_c" 1>&6
+echo "configure:3766: checking whether makeinfo can split html by @node" >&5
+ mkdir -p out
+ makeinfo --html --output=out/split <<EOF
+\input texinfo
+\input texinfo @c -*-texinfo-*-
+@setfilename split.info
+@settitle split.info
+@bye
+EOF
+ if test -d out/split; then
+ SPLITTING_MAKEINFO=yes
+ echo "$ac_t""yes" 1>&6
+ rm -rf out/split
+ else
+ echo "$ac_t""no" 1>&6
+
+ echo "configure: warning: your html documentation will be one large file" 1>&2
+ warn_b=yes
+
+ rm -rf out/split
+ fi
+ fi
+
+
+
+ for ac_hdr in python2.2/Python.h python2.1/Python.h python2.0/Python.h python2/Python.h python/Python.h python1.5/Python.h Python.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:3795: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3800 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:3805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
-
-test -n "$YODL" && break
done
-test -n "$YODL" || YODL="-echo no yodl"
- for ac_prog in yodl2html
+ if test $? -ne 0; then
+
+ eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \"'python.h (python-devel, python-dev or libpython-dev package)'\"`\"
+
+ fi
+
+
+
+## Optional tools for building documentation, website, extra fonts.
+
+# guile executable for some scripts
+
+
+ for ac_prog in guile
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2707: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
+echo "configure:3849: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_GUILE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2HTML"; then
- ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
+ if test -n "$GUILE"; then
+ ac_cv_prog_GUILE="$GUILE" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2HTML="$ac_prog"
+ ac_cv_prog_GUILE="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-YODL2HTML="$ac_cv_prog_YODL2HTML"
-if test -n "$YODL2HTML"; then
- echo "$ac_t""$YODL2HTML" 1>&6
+GUILE="$ac_cv_prog_GUILE"
+if test -n "$GUILE"; then
+ echo "$ac_t""$GUILE" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2HTML" && break
+test -n "$GUILE" && break
done
-test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
+test -n "$GUILE" || GUILE="no"
- for ac_prog in yodl2latex
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
+
+
+ r="`eval echo '$'"GUILE"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"GUILE"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"guile\"`\"
+
+ if test "OPTIONAL" = "REQUIRED"; then
+ command="echo ERROR: guile not found"
+ # abort configure process here?
+ else
+ command="- echo guile not found"
+ fi
+ eval "GUILE"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0; then
+ # Extract the first word of "guile", so it can be a program name with args.
+set dummy guile; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2742: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
+echo "configure:3909: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_GUILE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2LATEX"; then
- ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
-else
+ case "$GUILE" in
+ /*)
+ ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_GUILE="$GUILE" # Let the user override the test with a dos path.
+ ;;
+ *)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
+ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2LATEX="$ac_prog"
+ ac_cv_path_GUILE="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
+ ;;
+esac
fi
-fi
-YODL2LATEX="$ac_cv_prog_YODL2LATEX"
-if test -n "$YODL2LATEX"; then
- echo "$ac_t""$YODL2LATEX" 1>&6
+GUILE="$ac_cv_path_GUILE"
+if test -n "$GUILE"; then
+ echo "$ac_t""$GUILE" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2LATEX" && break
-done
+ if test -n ""; then
+
+ r="`eval echo '$'"GUILE"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:3945: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r (installed: $ver)"\"`\"
- for ac_prog in yodl2man
+ fi
+
+ fi
+ fi
+
+
+# perl for help2man.
+
+
+ for ac_prog in perl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2776: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
+echo "configure:3987: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2MAN"; then
- ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
+ if test -n "$PERL"; then
+ ac_cv_prog_PERL="$PERL" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2MAN="$ac_prog"
+ ac_cv_prog_PERL="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-YODL2MAN="$ac_cv_prog_YODL2MAN"
-if test -n "$YODL2MAN"; then
- echo "$ac_t""$YODL2MAN" 1>&6
+PERL="$ac_cv_prog_PERL"
+if test -n "$PERL"; then
+ echo "$ac_t""$PERL" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2MAN" && break
+test -n "$PERL" && break
done
-test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
+test -n "$PERL" || PERL="no"
- for ac_prog in yodl2msless
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
+
+
+ r="`eval echo '$'"PERL"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"PERL"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"perl\"`\"
+
+ if test "OPTIONAL" = "REQUIRED"; then
+ command="echo ERROR: perl not found"
+ # abort configure process here?
+ else
+ command="- echo perl not found"
+ fi
+ eval "PERL"='$command'
+ false
+ else
+ true
+ fi
+
+ if test $? -eq 0; then
+ # Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2811: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
+echo "configure:4047: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2MSLESS"; then
- ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
-else
+ case "$PERL" in
+ /*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
+ ;;
+ *)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
+ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2MSLESS="$ac_prog"
+ ac_cv_path_PERL="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
+ ;;
+esac
fi
-fi
-YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
-if test -n "$YODL2MSLESS"; then
- echo "$ac_t""$YODL2MSLESS" 1>&6
+PERL="$ac_cv_path_PERL"
+if test -n "$PERL"; then
+ echo "$ac_t""$PERL" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2MSLESS" && break
-done
-test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
+ if test -n ""; then
+
+ r="`eval echo '$'"PERL"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:4083: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+ fi
+
+
+# pktrace for generating pfa's, pfb's
- for ac_prog in yodl2texinfo
+ for ac_prog in pktrace
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2846: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
+echo "configure:4124: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_PKTRACE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2TEXINFO"; then
- ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
+ if test -n "$PKTRACE"; then
+ ac_cv_prog_PKTRACE="$PKTRACE" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2TEXINFO="$ac_prog"
+ ac_cv_prog_PKTRACE="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
-if test -n "$YODL2TEXINFO"; then
- echo "$ac_t""$YODL2TEXINFO" 1>&6
+PKTRACE="$ac_cv_prog_PKTRACE"
+if test -n "$PKTRACE"; then
+ echo "$ac_t""$PKTRACE" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2TEXINFO" && break
+test -n "$PKTRACE" && break
done
-test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
+test -n "$PKTRACE" || PKTRACE="no"
+
+
+
+ r="`eval echo '$'"PKTRACE"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"PKTRACE"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
+ else
+ true
+ fi
+
+ if test $? -ne 0; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"pktrace\"`\"
+
+ if test "OPTIONAL" = "REQUIRED"; then
+ command="echo ERROR: pktrace not found"
+ # abort configure process here?
+ else
+ command="- echo pktrace not found"
+ fi
+ eval "PKTRACE"='$command'
+ false
+ else
+ true
+ fi
- for ac_prog in yodl2txt
+ if test $? -eq 0 -a -n "1.0.3"; then
+
+ r="`eval echo '$'"PKTRACE"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:4184: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "1.0.3" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r 1.0.3 (installed: $ver)"\"`\"
+
+ fi
+
+ fi
+
+# new makeinfo for multi-page website docs
+
+ for ac_prog in makeinfo
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2881: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
+echo "configure:4223: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$YODL2TXT"; then
- ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
+ if test -n "$MAKEINFO"; then
+ ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_YODL2TXT="$ac_prog"
+ ac_cv_prog_MAKEINFO="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-YODL2TXT="$ac_cv_prog_YODL2TXT"
-if test -n "$YODL2TXT"; then
- echo "$ac_t""$YODL2TXT" 1>&6
+MAKEINFO="$ac_cv_prog_MAKEINFO"
+if test -n "$MAKEINFO"; then
+ echo "$ac_t""$MAKEINFO" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$YODL2TXT" && break
+test -n "$MAKEINFO" && break
done
-test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
+test -n "$MAKEINFO" || MAKEINFO="no"
- YODL2LESS_DIR='$(bindir)/'
+
+
+ r="`eval echo '$'"MAKEINFO"`"
+ if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"MAKEINFO"`' : '.*\(echo\)' > /dev/null; then
+ ##STEPMAKE_WARN(cannot find . )
+ false
else
-
-
-
-
-
-
-
-
-
- export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
+ true
fi
- if test "x$YODL" = "-echo no yodl"; then
+
+ if test $? -ne 0; then
- echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
- warn_b=yes
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"makeinfo\"`\"
- fi
+ if test "OPTIONAL" = "REQUIRED"; then
+ command="echo ERROR: makeinfo not found"
+ # abort configure process here?
+ else
+ command="- echo makeinfo not found"
+ fi
+ eval "MAKEINFO"='$command'
+ false
+ else
+ true
+ fi
+ if test $? -eq 0 -a -n "4.1"; then
+
+ r="`eval echo '$'"MAKEINFO"`"
+ echo $ac_n "checking "$r version"""... $ac_c" 1>&6
+echo "configure:4283: checking "$r version"" >&5
+ exe=`
+ type -p "$r" 2>&1 | awk '{print $NF}'
+`
+ ver=`
+ "$exe" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
+`
+ num=`
+ echo "$ver" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ req=`
+ echo "4.1" | awk -F. '
+ {
+ if ($3) {last = $3}
+ else {last =0}
+ }
+ {printf "%s%s%s\n",$1*100, $2*10,last}'
+`
+ echo "$ac_t"""$ver"" 1>&6
+ if test "$num" -lt "$req"; then
+
+ eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r 4.1 (installed: $ver)"\"`\"
- # on some systems, -lguile succeeds for guile-1.3
- # others need readline, dl (or even more)
- # urg, must check for different functions in libguile
- # to force new check iso reading from cache
+ fi
- # gh_scm2doubles,gh_doubles2scm are new in 1.3
-
-## The GUILE_FLAGS macro.
- ## First, let's just see if we can find Guile at all.
- echo $ac_n "checking for Guile""... $ac_c" 1>&6
-echo "configure:2942: checking for Guile" >&5
- guile-config link > /dev/null || {
- echo "configure: cannot find guile-config; is Guile installed?" 1>&2
- exit 1
- }
- GUILE_CFLAGS="`guile-config compile`"
- GUILE_LDFLAGS="`guile-config link`"
-
-
- echo "$ac_t""yes" 1>&6
+ fi
- echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
-echo "configure:2954: checking for gh_scm2doubles in -lguile" >&5
-ac_lib_var=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lguile $GUILE_LDFLAGS $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 2962 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char gh_scm2doubles();
-int main() {
-gh_scm2doubles()
-; return 0; }
-EOF
-if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- LIBS="`echo $GUILE_LDFLAGS | sed -e 's/-L[/-_a-zA-Z0-9]\+ //g'` $LIBS"
- cat >> confdefs.h <<\EOF
-#define HAVE_LIBGUILE 1
+if test "$optimise_b" = yes; then
+ DEFINES="$DEFINES -DSTRING_UTILS_INLINED"
+ cat >> confdefs.h <<\EOF
+#define STRINGS_UTILS_INLINED 1
EOF
-else
- echo "$ac_t""no" 1>&6
fi
- if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
-
- echo "configure: warning: You should install guile 1.3 or newer" 1>&2
- warn_b=yes
-
- fi
-
-
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
-echo "configure:3010: checking for 8-bit clean memcmp" >&5
+echo "configure:4327: checking for 8-bit clean memcmp" >&5
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_func_memcmp_clean=no
else
cat > conftest.$ac_ext <<EOF
-#line 3018 "configure"
+#line 4335 "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
main()
{
}
EOF
-if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_memcmp_clean=yes
else
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
-echo "configure:3049: checking for vprintf" >&5
+echo "configure:4363: checking for vprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3054 "configure"
+#line 4368 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
; return 0; }
EOF
-if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
-echo "configure:3104: checking for _doprnt" >&5
+echo "configure:4418: checking for _doprnt" >&5
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3109 "configure"
+#line 4423 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
; return 0; }
EOF
-if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else
fi
-for ac_func in memmem snprintf vsnprintf gettext
+for ac_func in memmem snprintf vsnprintf gettext isinf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:3162: checking for $ac_func" >&5
+echo "configure:4476: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3167 "configure"
+#line 4481 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
EOF
-for ac_prog in makeinfo
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3232: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$MAKEINFO"; then
- ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_MAKEINFO="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
-fi
-fi
-MAKEINFO="$ac_cv_prog_MAKEINFO"
-if test -n "$MAKEINFO"; then
- echo "$ac_t""$MAKEINFO" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-test -n "$MAKEINFO" && break
-done
-test -n "$MAKEINFO" || MAKEINFO="error"
-
-
- result="`echo \"$YODL2TEXINFO\" | grep echo`"
- if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
-
- echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
- warn_b=yes
-
- fi
-
-
-echo $ac_n "checking links for running from sourcetree""... $ac_c" 1>&6
-echo "configure:3273: checking links for running from sourcetree" >&5
-LILYPONDPREFIX=$absolute_builddir
-LOCALES="it nl"
-for i in $LOCALES; do
- dir=$LILYPONDPREFIX/share/locale/$i/LC_MESSAGES
- if test ! -x $dir ; then
- mkdir -p $dir
- fi
- rm -f $dir/lilypond.mo
- ln -sf $LILYPONDPREFIX/po/out/$i.mo $dir/lilypond.mo
-done
-rm -f afm; ln -sf $LILYPONDPREFIX/mf/out afm
-rm -f tfm; ln -sf $LILYPONDPREFIX/mf/out tfm
-rm -f cmtfm; ln -sf $TEX_TFMDIR cmtfm
-echo "$ac_t""ok" 1>&6
-
+# Gather requirements and generate output.
+
+
+
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
+s%@builddir@%$builddir%g
s%@stepmake@%$stepmake%g
s%@package@%$package%g
s%@PACKAGE@%$PACKAGE%g
s%@PACKAGE_NAME@%$PACKAGE_NAME%g
s%@package_depth@%$package_depth%g
s%@AUTOGENERATE@%$AUTOGENERATE%g
-s%@absolute_builddir@%$absolute_builddir%g
-s%@STATE_VECTOR@%$STATE_VECTOR%g
s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
s%@host@%$host%g
s%@host_alias@%$host_alias%g
s%@TAR@%$TAR%g
s%@BASH@%$BASH%g
s%@PYTHON@%$PYTHON%g
-s%@DOTEXE@%$DOTEXE%g
+s%@program_prefix@%$program_prefix%g
+s%@program_suffix@%$program_suffix%g
s%@ZIP@%$ZIP%g
s%@LN@%$LN%g
s%@LN_S@%$LN_S%g
s%@subdirs@%$subdirs%g
s%@CC@%$CC%g
s%@LD@%$LD%g
+s%@cross_compiling@%$cross_compiling%g
s%@ICFLAGS@%$ICFLAGS%g
s%@ILDFLAGS@%$ILDFLAGS%g
s%@DEFINES@%$DEFINES%g
s%@EXTRA_LIBES@%$EXTRA_LIBES%g
+s%@CPP@%$CPP%g
s%@CXX@%$CXX%g
s%@CXXCPP@%$CXXCPP%g
s%@YACC@%$YACC%g
s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
s%@MSGFMT@%$MSGFMT%g
s%@METAFONT@%$METAFONT%g
-s%@MFONT@%$MFONT%g
-s%@METAPOST@%$METAPOST%g
-s%@MPOST@%$MPOST%g
s%@INIMETAFONT@%$INIMETAFONT%g
-s%@INIMFONT@%$INIMFONT%g
-s%@INIMETAPOST@%$INIMETAPOST%g
-s%@INIMPOST@%$INIMPOST%g
s%@MFMODE@%$MFMODE%g
s%@KPSEWHICH@%$KPSEWHICH%g
-s%@TEX_TFMDIR@%$TEX_TFMDIR%g
-s%@STRIPROFF@%$STRIPROFF%g
-s%@YODL@%$YODL%g
-s%@YODL2HTML@%$YODL2HTML%g
-s%@YODL2LATEX@%$YODL2LATEX%g
-s%@YODL2MAN@%$YODL2MAN%g
-s%@YODL2MSLESS@%$YODL2MSLESS%g
-s%@YODL2TEXINFO@%$YODL2TEXINFO%g
-s%@YODL2TXT@%$YODL2TXT%g
-s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
-s%@LIBOBJS@%$LIBOBJS%g
+s%@TFM_PATH@%$TFM_PATH%g
+s%@GUILE_CONFIG@%$GUILE_CONFIG%g
+s%@GUILE_CFLAGS@%$GUILE_CFLAGS%g
+s%@GUILE_LDFLAGS@%$GUILE_LDFLAGS%g
+s%@KPATHSEA@%$KPATHSEA%g
s%@MAKEINFO@%$MAKEINFO%g
+s%@SPLITTING_MAKEINFO@%$SPLITTING_MAKEINFO%g
+s%@GUILE@%$GUILE%g
+s%@PERL@%$PERL%g
+s%@PKTRACE@%$PKTRACE%g
+s%@LIBOBJS@%$LIBOBJS%g
+s%@OPTIONAL@%$OPTIONAL%g
+s%@REQUIRED@%$REQUIRED%g
CEOF
EOF
fi
- rm -f GNUmakefile
- cp make/toplevel.make.in ./GNUmakefile
- chmod 444 GNUmakefile
+
+ if test -n "$OPTIONAL"; then
+ echo
+ echo "WARNING: Please consider installing optional programs: $OPTIONAL"
+ fi
+
+ if test -n "$REQUIRED"; then
+ echo
+ echo "ERROR: Please install required programs: $REQUIRED"
+ fi
+
+ if test -n "$OPTIONAL$REQUIRED"; then
+ echo
+ echo "See INSTALL.txt for more information on how to build $PACKAGE_NAME"
+ echo "Remove config.cache before rerunning ./configure"
+ fi
+
+ if test -n "$REQUIRED"; then
+ rm -f $srcdir/GNUmakefile
+ exit 1
+ fi
+
+ # regular in-place build
+ # test for srcdir_build = yes ?
+ if test "$builddir" = "."; then
+ rm -f $srcdir/GNUmakefile
+ cp $srcdir/GNUmakefile.in $srcdir/GNUmakefile
+ chmod 444 $srcdir/GNUmakefile
+ else # --srcdir build
+ rm -f GNUmakefile
+ cp $srcdir/make/srcdir.make.in GNUmakefile
+ chmod 444 GNUmakefile
+ fi
+
+
+
+test -n "$CONFIGURATION" && mc=" conf=$CONFIGURATION" || mc=""
+cat <<EOF
+Type:
+ make$mc all to build LilyPond
+ make$mc install to install LilyPond
+ make$mc help to see all possible targets
+
+Do not worry if ./Documentation or ./mutopia should not build.
+EOF