Closed
Bug 283057
Opened 21 years ago
Closed 21 years ago
Fold sqlite3 build into storage, honour ENABLE_TESTS
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: shaver, Assigned: shaver)
References
Details
Attachments
(1 file)
|
1013 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
.
| Assignee | ||
Comment 1•21 years ago
|
||
Attachment #175055 -
Flags: review?(benjamin)
Comment 2•21 years ago
|
||
Comment on attachment 175055 [details] [diff] [review]
as summarized
>Index: storage/Makefile.in
>+DIRS = ../db/sqlite3/src public src build
You are taking your life in your hands with the "..". You can expect errors,
but I'll let you do it if you will fix make-makefile errors later on.
Also, separate lines:
../db/sqlite3/src \
public \
src \
Attachment #175055 -
Flags: review?(benjamin) → review+
Comment 3•21 years ago
|
||
MOZ_ARG_ENABLE_BOOL(storage,
[ --enable-storage Enable mozStorage module and related components],
MOZ_STORAGE=1,
MOZ_STORAGE= )
-if test -n "$MOZ_STORAGE"; then
+if test -n "$MOZ_STORAGE" -o -n "$MOZ_CALENDAR"; then
AC_DEFINE(MOZ_STORAGE)
fi
Instead, please do:
if -n "$MOZ_CALENDAR"; then
MOZ_STORAGE=1
fi
MOZ_ARG_ENABLE_BOOL(...
| Assignee | ||
Comment 4•21 years ago
|
||
(In reply to comment #3)
> MOZ_ARG_ENABLE_BOOL(storage,
> [ --enable-storage Enable mozStorage module and related components],
> MOZ_STORAGE=1,
> MOZ_STORAGE= )
> -if test -n "$MOZ_STORAGE"; then
> +if test -n "$MOZ_STORAGE" -o -n "$MOZ_CALENDAR"; then
> AC_DEFINE(MOZ_STORAGE)
> fi
>
> Instead, please do:
>
> if -n "$MOZ_CALENDAR"; then
> MOZ_STORAGE=1
> fi
> MOZ_ARG_ENABLE_BOOL(...
Will that work? Won't the FALSE case of MOZ_ARG_ENABLE_BOOL overwrite my =1
with its no-rval =? I guess I can try it!
Comment 5•21 years ago
|
||
> Will that work? Won't the FALSE case of MOZ_ARG_ENABLE_BOOL overwrite my =1
> with its no-rval =? I guess I can try it!
That's a common misconception. The actual macro declaration is at
http://lxr.mozilla.org/mozilla/source/build/autoconf/altoptions.m4#45
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
So it won't overwrite unless somebody explicitly adds --disable-storage (and if
they do that, we assume they know what they're doing).
| Assignee | ||
Comment 6•21 years ago
|
||
Committed the sqlite/storage parts, at long last.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 7•21 years ago
|
||
Forgive my impudence, but shouldn't
DIRS = test
be
DIRS += test
in mozilla/storage/Makefile.in
| Assignee | ||
Comment 8•21 years ago
|
||
Uh, yes, quite. Lemme update a tree!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 9•21 years ago
|
||
Fixed, thanks.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•