summaryrefslogtreecommitdiffstats
path: root/Python/Makefile.in
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-11-03 08:18:37 (GMT)
committerThomas Wouters <thomas@python.org>2000-11-03 08:18:37 (GMT)
commit2cffc7d4202fc1197280a05d998075551b459283 (patch)
tree7c5d86617226e1517840a60c44bd21183160b3e0 /Python/Makefile.in
parent9dce7b3737c456f3c6f56f1f57c29b3c3b6b20aa (diff)
downloadcpython-2cffc7d4202fc1197280a05d998075551b459283.zip
cpython-2cffc7d4202fc1197280a05d998075551b459283.tar.gz
cpython-2cffc7d4202fc1197280a05d998075551b459283.tar.bz2
Move our own getopt() implementation to _PyOS_GetOpt(), and use it
regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
Diffstat (limited to 'Python/Makefile.in')
-rw-r--r--Python/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/Makefile.in b/Python/Makefile.in
index 597cb20..0e4ca27 100644
--- a/Python/Makefile.in
+++ b/Python/Makefile.in
@@ -46,7 +46,7 @@ AROBJS= \
marshal.o modsupport.o mystrtoul.o \
pyfpe.o pystate.o pythonrun.o \
structmember.o sysmodule.o \
- traceback.o \
+ traceback.o getopt.o \
$(DYNLOADFILE) \
$(LIBOBJS)
OBJS= $(AROBJS) sigcheck.o