STRIP
AS
CP
-FLEX
-BISON
+LEX
+YACC
M_OR_MM
GREP
EGREP
-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
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
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
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
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; }; }
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
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}
prefix: ${prefix}
datadir: ${datadir}
+ datarootdir: ${datarootdir}
Search paths (incomplete, see manual for all search paths):
binary files: \$SDCC_HOME${binPath}
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}
prefix: ${prefix}
datadir: ${datadir}
+ datarootdir: ${datarootdir}
Search paths (incomplete, see manual for all search paths):
binary files: \$SDCC_HOME${binPath}