done
IFS=$as_save_IFS
if test -z "$ac_cv_path_BISON"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
fi
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_FLEX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
fi
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_GPERF"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
fi
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar" >&5
-$as_echo_n "checking for GNU tar... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
+$as_echo_n "checking for GNU tar >=1.19... " >&6; }
if test -z "$GNUTAR"; then
ac_path_GNUTAR_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x; then :
- ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ as_arg_v1=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
+as_arg_v2=1.19
+awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
+case $? in #(
+ 1) :
+ ;; #(
+ 0) :
+
+ ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ ;; #(
+ 2) :
+
+ ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ ;; #(
+ *) :
+ ;;
+esac
fi
GNUTAR=:
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
fi
for ac_prog in svn
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13074: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13090: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13078: \$? = $ac_status" >&5
+ echo "$as_me:13094: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13173: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13189: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13177: \$? = $ac_status" >&5
+ echo "$as_me:13193: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13225: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13241: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13229: \$? = $ac_status" >&5
+ echo "$as_me:13245: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
ac_cv_path_]$1[=$ac_path_]$1[
)
,
- AC_MSG_RESULT(not found)
+ AC_MSG_RESULT(no)
AC_MSG_ERROR(You need ]$2[ ]$5[ or greater)
)
AC_SUBST(]$1[, $ac_cv_path_]$1[)
CY_CHECK_PROGS_VERSION([GPERF], [gperf], [gperf],
[--version | $SED -e '1 s/^.* \(@<:@0-9.@:>@*\)$/\1/p;d'], [3.0.3])
AC_PROG_INSTALL
-AC_MSG_CHECKING([for GNU tar])
+AC_MSG_CHECKING([for GNU tar >=1.19])
AC_PATH_PROGS_FEATURE_CHECK([GNUTAR], [tar gtar gnutar], [
AS_IF([test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x], [
- ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ AS_VERSION_COMPARE([`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`], [1.19], , [
+ ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ ], [
+ ac_cv_path_GNUTAR=$ac_path_GNUTAR
+ ])
])
])
AS_IF([test "x$ac_cv_path_GNUTAR" != x], [
AC_MSG_RESULT([$GNUTAR])
], [
AC_SUBST([GNUTAR], [:])
- AC_MSG_RESULT([not found])
+ AC_MSG_RESULT([no])
])
AC_CHECK_PROGS([SVN], [svn])
AC_CHECK_PROGS([SVNVERSION], [svnversion])