Use 'if test' for checking auto* variables' values

This commit is contained in:
Rodrigo Moya 2012-04-04 11:55:40 +02:00
parent 118c42e747
commit 9aa19e1d96

View File

@ -3350,7 +3350,7 @@ g_pollnval=$glib_cv_value_POLLNVAL
# This is needed because glib-mkenums doesn't handle optional
# values in enums, and thus we have to have all existing values
# defined in the enum.
if "x$glib_cv_value_AF_UNIX" != "x"; then
if test "x$glib_cv_value_AF_UNIX" != "x"; then
g_af_unix=$glib_cv_value_AF_UNIX
else
g_af_unix=-1