Closed Bug 288340 Opened 19 years ago Closed 19 years ago

Problems with configure check for system zlib

Categories

(Firefox Build System :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: sfraser_bugs, Assigned: cls)

Details

Attachments

(1 file)

If my .mozconfig has --with-system-zlib, configure mangles some tests for
zlib-related functionality. My config.log contains:

configure:10893: checking for gzread in -lz
configure:10961: gcc -o conftest -Iyes/include
-I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3
-I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include  -fpascal-strings -no-cpp-precomp
-fno-common   -I/usr/X11R6/include -Lyes/lib  conftest.c -lz  -lm
-L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3
-L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib  1>&5
ld: warning -L: directory name (yes/lib) does not exist

It seems that $ZLIB_DIR gets set to "yes" is no value is passed to configure.
Assignee: nobody → cls
Status: NEW → ASSIGNED
Attachment #179908 - Flags: review?(benjamin)
Attachment #179908 - Flags: review?(benjamin)
Attachment #179908 - Flags: review+
Attachment #179908 - Flags: approval1.8b2?
Comment on attachment 179908 [details] [diff] [review]
Check the "yes" (default) case

a=asa
Attachment #179908 - Flags: approval1.8b2? → approval1.8b2+
The patch has been checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.8beta2
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: