[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autoconf testsuite and cross toolchains: configure_options
From: |
Ralf Wildenhues |
Subject: |
Re: Autoconf testsuite and cross toolchains: configure_options |
Date: |
Sun, 13 Sep 2009 18:54:46 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
Hrmpf.
* Ralf Wildenhues wrote on Sun, Sep 13, 2009 at 06:08:56PM CEST:
> --- a/tests/erlang.at
> +++ b/tests/erlang.at
> @@ -52,14 +52,14 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([], [halt(0)])],
> ## ---------------------- ##
>
> AT_CHECK_MACRO([AC_ERLANG_CHECK_LIB],
> -[[AC_ERLANG_PATH_ERL([not found])
> -AC_ERLANG_PATH_ERLC([not found])
> -if test "$ERL" = "not found" || test "$ERLC" = "not found"; then exit 77; fi
> +[[AC_ERLANG_PATH_ERL([no])
> +AC_ERLANG_PATH_ERLC([no])
> +if test "$ERL" = "no" || test "$ERLC" = "no"; then AS_EXIT([77]); fi
> AC_ERLANG_CHECK_LIB([stdlib],
> [AC_MSG_RESULT([ok])],
> [AC_MSG_RESULT([failed])])
> ## Test that the lib path detection really detected a directory:
> -if test "$ERLANG_LIB_DIR_stdlib" != "not found" \
> +if test "$ERLANG_LIB_DIR_stdlib" != "no" \
Please consider this particular line unchanged, this setting comes from
AC_ERLANG_CHECK_LIB. Sorry.
> && test ! -d "$ERLANG_LIB_DIR_stdlib"; then
> AC_MSG_ERROR([incorrect ERLANG_LIB_DIR_stdlib variable])
> fi