Closed Bug 165432 Opened 22 years ago Closed 22 years ago

configure script broken due to unquoted MOZ_ENABLE_GTK2 check

Categories

(SeaMonkey :: Build Config, defect)

Sun
SunOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Mitch, Assigned: netscape)

Details

Mozilla's configure script is broken due to the new MOZ_ENABLE_GTK2
evaluating to NULL if not set (at least it is broken with the standard
bourne shell on Solaris)

A ./configure fails thus (added -x to the start of the script):

MOZ_STATIC_COMPONENT_LIBS=
+ test  = set             
+ test  = set
+ test -z 1  
+ test -n 1
+ test -n  
+ test  = set
+ test  = set
+ test -n    
BUILD_MODULES=all
+ test  = set
+ test all != all
SKIP_IDL_CHECK=no
+ test           
+ test  = set
+ test no = no
+ test = 1    
./configure: test: argument expected


this is part of this block in the configure file:


if test "$SKIP_IDL_CHECK" = "no"
then                            
    if test $MOZ_ENABLE_GTK2 = 1; then
        # Check whether --with-libIDL-prefix or --without-libIDL-prefix was gi!
if test "${with_libIDL_prefix+set}" = set; then                                
  withval="$with_libIDL_prefix"                
  libIDL_config_prefix="$withval"
else                             
  libIDL_config_prefix=""
fi                       
  
The simple fix is to quote the MOZ_ENABLE_GTK2 like so it looks like

    if test "$MOZ_ENABLE_GTK2" = 1; then
This is a regression from the patch for bug 156593. Your patch seems to
be ok. I have another patch for this bug in an attachment for bug 156593
Fixed by owners of bug 156593.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
The configure failure has been the logical trends that can be http://printcalendartemplates.com/november-2017-printable-calendar/
variable of the logical segment
You need to log in before you can comment on or make changes to this bug.