diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-11-24 13:12:15 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-11-24 14:23:29 +0100 |
commit | 84450c411cc93309bb1d1b1f555640b3ad105500 (patch) | |
tree | d99e820c33267ea7527d2926a799e76843fa3402 | |
parent | 9985febd7847b7a9c09d6395db7f89490c83be30 (diff) |
Don't use non-POSIX test
test "$test_CFLAGS" == "" && \
may cause an error on some POSIX shells and uses a style which is not
consistent with the other tests in configure.ac
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=42588 and
https://bugs.gentoo.org/show_bug.cgi?id=387087
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 79cf2115..2eded705 100644 --- a/configure.ac +++ b/configure.ac @@ -150,7 +150,7 @@ AC_CHECK_DECL([__amd64], [AMD64_ABI="yes"], [AMD64_ABI="no"]) # if we're using Sun Studio and neither the user nor a config.site # has set CFLAGS. if test $SUNCC = yes && \ - test "$test_CFLAGS" == "" && \ + test "x$test_CFLAGS" = "x" && \ test "$CFLAGS" = "-g" then CFLAGS="-O -g" |