X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure;h=7c5059e3f92b8af433a902a9fe35d3c56fffa986;hb=13bf359670b5c5c6177ed673e2f39f7929a5bb8b;hp=1f47156cba9fe51d6577f7bd02777c3378ccdbcd;hpb=9b0262f17a9ca051976360f76dc20967b3c32c6a;p=fw%2Fsdcc diff --git a/configure b/configure index 1f47156c..7c5059e3 100755 --- a/configure +++ b/configure @@ -656,8 +656,8 @@ AUTOCONF STRIP AS CP -FLEX -BISON +LEX +YACC M_OR_MM GREP EGREP @@ -3458,17 +3458,17 @@ fi -for ac_prog in flex +for ac_prog in flex lex 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_FLEX+set}" = set; then +if test "${ac_cv_prog_LEX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$FLEX"; then - ac_cv_prog_FLEX="$FLEX" # Let the user override the test. + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -3477,7 +3477,7 @@ do 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_FLEX="$ac_prog" + ac_cv_prog_LEX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -3487,32 +3487,32 @@ IFS=$as_save_IFS fi fi -FLEX=$ac_cv_prog_FLEX -if test -n "$FLEX"; then - { echo "$as_me:$LINENO: result: $FLEX" >&5 -echo "${ECHO_T}$FLEX" >&6; } +LEX=$ac_cv_prog_LEX +if test -n "$LEX"; then + { echo "$as_me:$LINENO: result: $LEX" >&5 +echo "${ECHO_T}$LEX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi - test -n "$FLEX" && break + test -n "$LEX" && break done -test -n "$FLEX" || FLEX=":" +test -n "$LEX" || LEX=":" -for ac_prog in bison +for ac_prog in 'bison -y' byacc yacc 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_BISON+set}" = set; then +if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$BISON"; then - ac_cv_prog_BISON="$BISON" # Let the user override the test. + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -3521,7 +3521,7 @@ do 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_BISON="$ac_prog" + ac_cv_prog_YACC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -3531,30 +3531,30 @@ IFS=$as_save_IFS fi fi -BISON=$ac_cv_prog_BISON -if test -n "$BISON"; then - { echo "$as_me:$LINENO: result: $BISON" >&5 -echo "${ECHO_T}$BISON" >&6; } +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { echo "$as_me:$LINENO: result: $YACC" >&5 +echo "${ECHO_T}$YACC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi - test -n "$BISON" && break + test -n "$YACC" && break done -test -n "$BISON" || BISON=":" +test -n "$YACC" || YACC=":" -if test "$BISON" = ":"; then +if test "$YACC" = ":"; then { { echo "$as_me:$LINENO: error: Cannot find required program bison." >&5 echo "$as_me: error: Cannot find required program bison." >&2;} { (exit 1); exit 1; }; } fi -if test "$FLEX" = ":"; then +if test "$LEX" = ":"; then { { echo "$as_me:$LINENO: error: Cannot find required program flex." >&5 echo "$as_me: error: Cannot find required program flex." >&2;} { (exit 1); exit 1; }; } @@ -8991,8 +8991,8 @@ AUTOCONF!$AUTOCONF$ac_delim STRIP!$STRIP$ac_delim AS!$AS$ac_delim CP!$CP$ac_delim -FLEX!$FLEX$ac_delim -BISON!$BISON$ac_delim +LEX!$LEX$ac_delim +YACC!$YACC$ac_delim M_OR_MM!$M_OR_MM$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim @@ -9770,6 +9770,7 @@ sdcc ${VERSION} is now configured for ds400 ${enable_ds400_port} gbz80 ${enable_gbz80_port} hc08 ${enable_hc08_port} + mcs51 ${enable_mcs51_port} pic ${enable_pic_port} pic16 ${enable_pic16_port} xa51 ${enable_xa51_port} @@ -9791,6 +9792,7 @@ sdcc ${VERSION} is now configured for prefix: ${prefix} datadir: ${datadir} + datarootdir: ${datarootdir} Search paths (incomplete, see manual for all search paths): binary files: \$SDCC_HOME${binPath} @@ -9816,6 +9818,7 @@ sdcc ${VERSION} is now configured for ds400 ${enable_ds400_port} gbz80 ${enable_gbz80_port} hc08 ${enable_hc08_port} + mcs51 ${enable_mcs51_port} pic ${enable_pic_port} pic16 ${enable_pic16_port} xa51 ${enable_xa51_port} @@ -9837,6 +9840,7 @@ sdcc ${VERSION} is now configured for prefix: ${prefix} datadir: ${datadir} + datarootdir: ${datarootdir} Search paths (incomplete, see manual for all search paths): binary files: \$SDCC_HOME${binPath}