Description:
acinclude.m4 fails when include ssl support on Solaris
How to repeat:
run configure on Solaris, attempting to include SSL support
Suggested fix:
Index: configure
===================================================================
RCS file: /cvsroot/upstream/mysql/configure,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- configure 2003/07/18 14:58:06 1.1.1.2
+++ configure 2003/07/28 19:59:48 1.2
@@ -20958,7 +20958,7 @@
case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in
*-all-static*) using_static="yes" ;;
esac
- if test $using_static = "yes"
+ if test "$using_static" = "yes"
then
echo "You can't use the --all-static link option when using openssl."
exit 1
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/upstream/mysql/aclocal.m4,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- aclocal.m4 2003/07/18 14:57:59 1.1.1.2
+++ aclocal.m4 2003/07/28 19:59:48 1.2
@@ -791,7 +791,7 @@
case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in
*-all-static*) using_static="yes" ;;
esac
- if test $using_static = "yes"
+ if test "$using_static" = "yes"
then
echo "You can't use the --all-static link option when using openssl."
exit 1
Index: acinclude.m4
===================================================================
RCS file: /cvsroot/upstream/mysql/acinclude.m4,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- acinclude.m4 2003/07/18 14:57:40 1.1.1.2
+++ acinclude.m4 2003/07/28 19:59:48 1.2
@@ -778,7 +778,7 @@
case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in
*-all-static*) using_static="yes" ;;
esac
- if test $using_static = "yes"
+ if test "$using_static" = "yes"
then
echo "You can't use the --all-static link option when using openssl."
exit 1
Description: acinclude.m4 fails when include ssl support on Solaris How to repeat: run configure on Solaris, attempting to include SSL support Suggested fix: Index: configure =================================================================== RCS file: /cvsroot/upstream/mysql/configure,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- configure 2003/07/18 14:58:06 1.1.1.2 +++ configure 2003/07/28 19:59:48 1.2 @@ -20958,7 +20958,7 @@ case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in *-all-static*) using_static="yes" ;; esac - if test $using_static = "yes" + if test "$using_static" = "yes" then echo "You can't use the --all-static link option when using openssl." exit 1 Index: aclocal.m4 =================================================================== RCS file: /cvsroot/upstream/mysql/aclocal.m4,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- aclocal.m4 2003/07/18 14:57:59 1.1.1.2 +++ aclocal.m4 2003/07/28 19:59:48 1.2 @@ -791,7 +791,7 @@ case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in *-all-static*) using_static="yes" ;; esac - if test $using_static = "yes" + if test "$using_static" = "yes" then echo "You can't use the --all-static link option when using openssl." exit 1 Index: acinclude.m4 =================================================================== RCS file: /cvsroot/upstream/mysql/acinclude.m4,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- acinclude.m4 2003/07/18 14:57:40 1.1.1.2 +++ acinclude.m4 2003/07/28 19:59:48 1.2 @@ -778,7 +778,7 @@ case "$CLIENT_EXTRA_LDFLAGS $MYSQLD_EXTRA_LDFLAGS" in *-all-static*) using_static="yes" ;; esac - if test $using_static = "yes" + if test "$using_static" = "yes" then echo "You can't use the --all-static link option when using openssl." exit 1