Commit 794b93ea authored by Guido van Rossum's avatar Guido van Rossum

* Modules/Setup.*: removed all except Setup.in (huh? I thought

	I'd done that already?!); disable gdbm by default
	* configure.in, */Makefile*.in: OPT can now be specified in the
	env at configure time and will then be put in all Makefiles as
	default
	* */Makefile*.in: remove lib*.a before adding to it
parent aa0f4c73
...@@ -34,7 +34,7 @@ prefix= /usr/local ...@@ -34,7 +34,7 @@ prefix= /usr/local
# === Variables that are customizable by hand === # === Variables that are customizable by hand ===
INCLDIR= $(srcdir)/../Include INCLDIR= $(srcdir)/../Include
OPT= -O OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS) CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep MKDEP= mkdep
...@@ -61,6 +61,7 @@ SYSLIBS= $(LIBM) $(LIBC) ...@@ -61,6 +61,7 @@ SYSLIBS= $(LIBM) $(LIBC)
all: $(LIB) ../python all: $(LIB) ../python
$(LIB): $(OBJS) $(LIB): $(OBJS)
-rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS) $(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB) $(RANLIB) $(LIB)
......
...@@ -205,7 +205,7 @@ rotor rotormodule.o ...@@ -205,7 +205,7 @@ rotor rotormodule.o
# Anthony Baxter's gdbm module (derived from Jack's dbm module) # Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm # GNU dbm(3) will require -lgdbm
gdbm gdbmmodule.o -I/usr/local/include -L/usr/local/lib -lgdbm # gdbm gdbmmodule.o -I/usr/local/include -L/usr/local/lib -lgdbm
# Example -- included for reference only # Example -- included for reference only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment