[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash] [PATCH] Unsafe test in macros/docbook.m4
From: |
Pavel Roskin |
Subject: |
[Gnash] [PATCH] Unsafe test in macros/docbook.m4 |
Date: |
Tue, 28 Feb 2006 17:27:33 -0500 |
Hello!
Here are some patches I made trying to use pkg-config to find Mozilla.
The goal wasn't achieved because changes in the C code are needed, but
these patches make configure run smoothly, which would be a good
starting point for further attempts.
ChangeLog:
* macros/docbook.m4: Testing for db2x_version fails to account
for the case when this variable is not set, which causes an error
in the "test" command.
diff -u -r1.11 docbook.m4
--- macros/docbook.m4 28 Feb 2006 15:25:41 -0000 1.11
+++ macros/docbook.m4 28 Feb 2006 22:20:16 -0000
@@ -123,7 +123,7 @@
AC_SUBST(DB2X_VERSION)
fi
- AM_CONDITIONAL(NEW_DOCBOOK2X, [test $db2x_version = "0.8.5"])
+ AM_CONDITIONAL(NEW_DOCBOOK2X, [test "$db2x_version" = "0.8.5"])
AC_SUBST(docbook_styles)
])
--
Regards,
Pavel Roskin
- [Gnash] [PATCH] Unsafe test in macros/docbook.m4,
Pavel Roskin <=