mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
Use 'if test' for checking auto* variables' values
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user