Apache OpenOffice (AOO) Bugzilla – Issue 22989
Using -eq and comparing strings in configure
Last modified: 2003-11-29 07:59:30 UTC
Hi Ken, configure on FreeBSD with gcc 3.2.3 gives me: checking whether we are using the GNU C compiler... yes checking whether /home/pavel/BuildDir/ccache /usr/local/gcc-3.2.3/bin/gcc accepts -g... yes checking for /home/pavel/BuildDir/ccache /usr/local/gcc-3.2.3/bin/gcc option to accept ANSI C... none needed checking the GNU gcc compiler version... ./configure: line 3080: test: : integer expression expected checked (gcc 3.2.3) The problem is that there is a code like this: if test "$ENABLE_SYMBOLS" -eq "SMALL"; then Is it okay with you to commit this to both configure and configure.in? - if test "$ENABLE_SYMBOLS" -eq "SMALL"; then + if test "$ENABLE_SYMBOLS" = "SMALL"; then
Add approval_pending keyword.
Appoved and comitted. Thanks for picking this up.
Verified.
-