diff --git a/mozilla/directory/c-sdk/configure b/mozilla/directory/c-sdk/configure index 56adabe54a0..ebd9eea0a7b 100755 --- a/mozilla/directory/c-sdk/configure +++ b/mozilla/directory/c-sdk/configure @@ -4627,7 +4627,7 @@ EOF fi PR_MD_CSRCS=solaris.c DSO_LDOPTS='-G -h $(notdir $@)' - if test -z "$GNU_CC"; then + if test -n "$GNU_CC"; then DSO_CFLAGS=-fPIC else DSO_CFLAGS=-KPIC @@ -4635,7 +4635,7 @@ EOF if test -z "$GNU_AS"; then ASFLAGS="$ASFLAGS -Wa,-P" fi - if test -z "$GNU_CC"; then + if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" CXXFLAGS="$CXXFLAGS -Wall" if test -n "$USE_MDUPDATE"; then diff --git a/mozilla/directory/c-sdk/configure.in b/mozilla/directory/c-sdk/configure.in index fef9d54d4de..386ab170df6 100644 --- a/mozilla/directory/c-sdk/configure.in +++ b/mozilla/directory/c-sdk/configure.in @@ -1602,7 +1602,7 @@ mips-sony-newsos*) fi PR_MD_CSRCS=solaris.c DSO_LDOPTS='-G -h $(notdir $@)' - if test -z "$GNU_CC"; then + if test -n "$GNU_CC"; then DSO_CFLAGS=-fPIC else DSO_CFLAGS=-KPIC @@ -1610,7 +1610,7 @@ mips-sony-newsos*) if test -z "$GNU_AS"; then ASFLAGS="$ASFLAGS -Wa,-P" fi - if test -z "$GNU_CC"; then + if test -n "$GNU_CC"; then CFLAGS="$CFLAGS -Wall" CXXFLAGS="$CXXFLAGS -Wall" if test -n "$USE_MDUPDATE"; then