]> git.donarmstrong.com Git - lilypond.git/blobdiff - configure
Imported Upstream version 2.16.1
[lilypond.git] / configure
index cae6b7ce0cddc239ced24a8dc37dc0833c9859db..70107de1bf03511e857bedefae4d3a308ce414bf 100755 (executable)
--- a/configure
+++ b/configure
@@ -9783,202 +9783,6 @@ $as_echo "no" >&6; }
 fi
 
 
-  test -n "$FONTFORGE" && break
-done
-
-       if test -n "20100501"; then
-
-    r="`eval echo '$'"FONTFORGE"`"
-    { $as_echo "$as_me:$LINENO: checking $r version" >&5
-$as_echo_n "checking $r version... " >&6; }
-    exe=`
-    ## which doesn't work in ash, if /usr/bin/which isn't installed
-    ## type -p doesn't work in ash
-    ## command -v doesn't work in zsh
-    ## command -v "$r" 2>&1
-    ## this test should work in ash, bash, pdksh (ksh), zsh
-    type -p $r 2>/dev/null | tail -n 1 | awk '{print $NF}'
-`
-    if test -n ""; then
-        ver=""
-    else
-        ver=`
-    ## "$exe" --version 2>&1 | grep -v '^$' | head -n 1 | awk '{print $NF}'
-    ##
-    ## ARG.
-    ## Workaround for broken Debian gcc version string:
-    ##     gcc (GCC) 3.1.1 20020606 (Debian prerelease)
-    ##
-    ## -V: Workaround for python
-
-    #dnl
-
-    ## Assume and hunt for dotted version multiplet.
-    ## use eval trickery, because we cannot use multi-level $() instead of ``
-    ## for compatibility reasons.
-
-    ## grab the first version number in  --version output.
-    eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 |
-               grep -E '(^| )[0-9][0-9]*\.[0-9]' |
-               head -n 1 |
-               tr ' ' '\n' |
-               sed 's/\([0-9][0-9]*\.[0-9][0-9.]*\).*/\1/g' |
-               grep -E '(^| )[0-9][0-9]*\.[0-9]' |
-               head -n 1\`\"
-
-    if test -z "$_ver"; then
-        ## If empty, try date [fontforge]
-        eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep '[0-9]\{6,8\}' \
-           | head -n 1 \
-           | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
-    fi
-    echo "$_ver"
-    #dnl
-`
-    fi
-    num=`
-    echo "$ver" | awk -F. '
-    {
-      if ($3) {three = $3}
-      else {three = 0}
-    }
-    {printf "%.0f\n", $1*1000000 + $2*1000 + three}'
-`
-    req=`
-    echo "20100501" | awk -F. '
-    {
-      if ($3) {three = $3}
-      else {three = 0}
-    }
-    {printf "%.0f\n", $1*1000000 + $2*1000 + three}'
-`
-    { $as_echo "$as_me:$LINENO: result: $ver" >&5
-$as_echo "$ver" >&6; }
-    if test "$num" -lt "$req"; then
-
-    eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r >= 20100501 (installed: $ver)"\"`\"
-
-    fi
-    vervar="`echo FONTFORGE | tr 'a-z' 'A-Z'`_VERSION"
-    eval `echo $vervar=$num`
-##    AC_SUBST(`eval echo $vervar`)
-
-       fi
-    fi
-
-
-    for ac_prog in fontforge
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_FONTFORGE+set}" = set; then
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$FONTFORGE"; then
-  ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_FONTFORGE="$ac_prog"
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-FONTFORGE=$ac_cv_prog_FONTFORGE
-if test -n "$FONTFORGE"; then
-  { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
-$as_echo "$FONTFORGE" >&6; }
-else
-  { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  test -n "$FONTFORGE" && break
-done
-test -n "$FONTFORGE" || FONTFORGE="no"
-
-
-
-    r="`eval echo '$'"FONTFORGE"`"
-    if test -n "$r" -a "$r" != "error" -a "$r" != "no" && expr '`eval echo '$'"FONTFORGE"`' : '.*\(echo\)' > /dev/null; then
-       true
-    else
-       ##STEPMAKE_WARN(cannot find . )
-       false
-    fi
-
-    if test $? -ne 0; then
-
-    eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \"fontforge\"`\"
-
-       if test "OPTIONAL" = "REQUIRED"; then
-           command="echo ERROR: fontforge not found"
-           # abort configure process here?
-       else
-           command="- echo fontforge not found"
-       fi
-       eval "FONTFORGE"='$command'
-       false
-    else
-       true
-    fi
-
-    if test $? -eq 0; then
-       for ac_prog in fontforge
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_FONTFORGE+set}" = set; then
-  $as_echo_n "(cached) " >&6
-else
-  case $FONTFORGE in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_FONTFORGE="$FONTFORGE" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_FONTFORGE="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-  ;;
-esac
-fi
-FONTFORGE=$ac_cv_path_FONTFORGE
-if test -n "$FONTFORGE"; then
-  { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
-$as_echo "$FONTFORGE" >&6; }
-else
-  { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
   test -n "$FONTFORGE" && break
 done
 
@@ -10052,7 +9856,7 @@ $as_echo_n "checking $r version... " >&6; }
 $as_echo "$ver" >&6; }
     if test "$num" -lt "$req"; then
 
-    eval "OPTIONAL"=\"`eval echo \"'$'OPTIONAL\" \""$r >= 20110222 (installed: $ver)"\"`\"
+    eval "REQUIRED"=\"`eval echo \"'$'REQUIRED\" \""$r >= 20110222 (installed: $ver)"\"`\"
 
     fi
     vervar="`echo FONTFORGE | tr 'a-z' 'A-Z'`_VERSION"