APPROVE COMMIT 21.5
If you configure current 21.5 CVS using --with-cflags-optimization, you
will see a message like this:
../xemacs-21.5/configure: line 9136: -z: command not found
This patch fixes the problem. I am committing it under the "obviously
correct" rule.
ChangeLog addition:
2006-06-05 Jerry James <james(a)xemacs.org>
* configure.ac: Change "if -z" to "if test -z".
xemacs-21.5 source patch:
Diff command: cvs -q diff -uN
Files affected: configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.42
diff -d -u -r1.42 configure.ac
--- configure.ac 2006/05/23 13:18:50 1.42
+++ configure.ac 2006/06/06 00:13:00
@@ -2220,7 +2220,7 @@
# If user set --with-cflags-optimization, use it to unilaterally
# determine whether optimization should be enabled.
if test "$cflags_optimization_specified" = "yes" ; then
- if -z "$with_cflags_optimization" ; then
+ if test -z "$with_cflags_optimization" ; then
with_optimization=no
else
with_optimization=yes
--
Jerry James, Assistant Professor james(a)xemacs.org
Computer Science Department
http://www.cs.usu.edu/~jerry/
Utah State University