[farsight2/master] glib-gen: Use single = instead of == for portability

Olivier Crête olivier.crete at collabora.co.uk
Mon Aug 17 14:03:37 PDT 2009


---
 common-modified/glib-gen.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common-modified/glib-gen.mak b/common-modified/glib-gen.mak
index 581484f..66ae82b 100644
--- a/common-modified/glib-gen.mak
+++ b/common-modified/glib-gen.mak
@@ -26,7 +26,7 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
 	$^ > $@
 
 %-enum-types.c: $(glib_enum_headers) Makefile
-	@if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+	@if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
 	glib-mkenums \
 	--fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
 	--fprod "\n/* enumerations from \"@filename@\" */" \
-- 
1.5.6.5



More information about the farsight-commits mailing list