projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118c42e
)
Use 'if test' for checking auto* variables' values
author
Rodrigo Moya
<rodrigo@gnome-db.org>
Wed, 4 Apr 2012 09:55:40 +0000
(11:55 +0200)
committer
Rodrigo Moya
<rodrigo@gnome-db.org>
Wed, 4 Apr 2012 09:55:40 +0000
(11:55 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
cbd868d
..
cf24f39
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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