[messagingmenu-sharp: 2/4] configure: stop redirecting STDERR to /dev/null for `which`



commit 385fbd3fe15ad2829658be0e11e54e206c7f153c
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Fri Jan 30 16:48:46 2015 +0100

    configure: stop redirecting STDERR to /dev/null for `which`
    
    `which` doesn't generate error messages when failing.

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 344ea46..6a7882f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,7 +106,7 @@ dnl Check for gapi
 AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no)
 if test "x$GAPI_PARSER" = "xno"; then
        AC_MSG_CHECKING(for gapi2-parser.exe)
-       GAPI_PARSER=`$WHICH gapi2-parser.exe 2> /dev/null`
+       GAPI_PARSER=`$WHICH gapi2-parser.exe`
        if test "x$GAPI_PARSER" = "xno" ; then
                AC_MSG_ERROR(['gapi2-parser'/'gapi2-parser.exe' not found.])
        fi
@@ -118,7 +118,7 @@ AC_SUBST(GAPI_PARSER)
 AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no)
 if test "x$GAPI_FIXUP" = "xno"; then
        AC_MSG_CHECKING(for gapi2-fixup.exe)
-       GAPI_FIXUP=`$WHICH gapi2-fixup.exe 2> /dev/null`
+       GAPI_FIXUP=`$WHICH gapi2-fixup.exe`
        if test "x$GAPI_FIXUP" = "xno" ; then
                AC_MSG_ERROR(['gapi2-fixup'/'gapi2-fixup.exe' not found.])
        fi
@@ -130,7 +130,7 @@ AC_SUBST(GAPI_FIXUP)
 AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no)
 if test "x$GAPI_CODEGEN" = "xno"; then
        AC_MSG_CHECKING(for gapi2_codegen.exe)
-       GAPI_CODEGEN=`$WHICH gapi2_codegen.exe 2> /dev/null`
+       GAPI_CODEGEN=`$WHICH gapi2_codegen.exe`
        if test "x$GAPI_CODEGEN" = "xno" ; then
                AC_MSG_ERROR(['gapi2-codegen'/'gapi2_codegen.exe' not found.])
        fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]