Changeset 37338

Show
Ignore:
Timestamp:
05/02/10 11:52:09 (4 years ago)
Author:
saturday06
Message:

AC_MSG_ERROR -> AC_MSG_FAILURE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/configure.ac

    r37336 r37338  
    6767 
    6868if test ! -d "$srcdir"; then 
    69     AC_MSG_ERROR([Environment variable "srcdir" not found, please report this to $PACKAGE_BUGREPORT]) 
     69    AC_MSG_FAILURE([Environment variable "srcdir" not found, please report this to $PACKAGE_BUGREPORT]) 
    7070fi 
    7171 
     
    181181    ;; 
    182182    *) 
    183         AC_MSG_ERROR([--with-gui=$with_gui is invalid]) 
     183        AC_MSG_FAILURE([--with-gui=$with_gui is invalid]) 
    184184    ;; 
    185185esac 
     
    251251         echo ================= 
    252252         echo 
    253          AC_MSG_ERROR([Objective-C++ toolset does not work])]) 
     253         AC_MSG_FAILURE([Objective-C++ toolset does not work])]) 
    254254 
    255255    LDFLAGS="$LDFLAGS_ORIG" 
     
    287287# 
    288288 
    289 AX_BOOST_BASE([1.33.1], [], [AC_MSG_ERROR([boost c++ libraries required])]) 
     289AX_BOOST_BASE([1.33.1], [], [AC_MSG_FAILURE([boost c++ libraries required])]) 
    290290CPPFLAGS="${BOOST_CPPFLAGS} ${CPPFLAGS}" # Preprocesser 
    291291LDFLAGS="${BOOST_LDFLAGS} ${LDFLAGS}" 
     
    300300$SHELL $srcdir/unix/scripts/POTFILES.in.sh 
    301301if test $? -ne 0; then 
    302     AC_MSG_ERROR([can't update po/POTFILES.in]) 
     302    AC_MSG_FAILURE([can't update po/POTFILES.in]) 
    303303fi 
    304304 
     
    306306$SHELL $srcdir/unix/scripts/LINGUAS.sh 
    307307if test $? -ne 0; then 
    308     AC_MSG_ERROR([can't update po/LINGUAS]) 
     308    AC_MSG_FAILURE([can't update po/LINGUAS]) 
    309309fi 
    310310 
     
    385385    rm -f $output 
    386386    if test -e $output; then 
    387         AC_MSG_ERROR([can't remove file '$output']) 
     387        AC_MSG_FAILURE([can't remove file '$output']) 
    388388    fi 
    389389    CXXFLAGS="-x $GCH_LANG -o $output $CXXFLAGS" 
     
    485485} 
    486486]])], [AC_MSG_RESULT([yes])], 
    487      [AC_MSG_RESULT([no]); AC_MSG_ERROR([simple test program does not work])]) 
     487     [AC_MSG_RESULT([no]); AC_MSG_FAILURE([simple test program does not work])]) 
    488488 
    489489AC_MSG_CHECKING([for simple error test program]) 
    490490AC_LINK_IFELSE( 
    491491    [AC_LANG_PROGRAM([[ struct {} foo = "bar"; ]],[[]])], 
    492     [AC_MSG_RESULT([yes]); AC_MSG_ERROR([no error])], 
     492    [AC_MSG_RESULT([yes]); AC_MSG_FAILURE([no error])], 
    493493    [AC_MSG_RESULT([no])]) 
    494494 
    495 AC_CHECK_HEADERS([__NON__EXISTANT__HEADER__FILE__], [AC_MSG_ERROR([no error when include file is not found])]) 
     495AC_CHECK_HEADERS([__NON__EXISTANT__HEADER__FILE__], [AC_MSG_FAILURE([no error when include file is not found])]) 
    496496 
    497497# ---------------------------------------