Commit 8b623f4e authored by Guido van Rossum's avatar Guido van Rossum

On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to

the compilation flags for the gl, fl and fm modules.  This avoids a
name conflict with the curses module (both gl and curses have an entry
point called 'clear').
parent 6357c1a7
...@@ -93,7 +93,8 @@ signal signalmodule.c # signal(2) ...@@ -93,7 +93,8 @@ signal signalmodule.c # signal(2)
# The SGI specific GL module: # The SGI specific GL module:
#gl glmodule.c cgensupport.c -I$(srcdir) -lgl -lX11 GLHACK=-Dclear=__GLclear
#gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
# The thread module is now automatically enabled, see Setup.thread. # The thread module is now automatically enabled, see Setup.thread.
...@@ -216,7 +217,7 @@ md5 md5module.c md5c.c ...@@ -216,7 +217,7 @@ md5 md5module.c md5c.c
# These module work on any SGI machine: # These module work on any SGI machine:
# *** gl must be enabled higher up in this file *** # *** gl must be enabled higher up in this file ***
#fm fmmodule.c -lfm -lgl # Font Manager #fm fmmodule.c $(GLHACK) -lfm -lgl # Font Manager
#sgi sgimodule.c # sgi.nap() and a few more #sgi sgimodule.c # sgi.nap() and a few more
# This module requires the header file # This module requires the header file
...@@ -240,7 +241,7 @@ md5 md5module.c md5c.c ...@@ -240,7 +241,7 @@ md5 md5module.c md5c.c
# toplevel directory: # toplevel directory:
#FORMS=/ufs/guido/src/forms/FORMS #FORMS=/ufs/guido/src/forms/FORMS
#fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl #fl flmodule.c -I$(FORMS) $(GLHACK) $(FORMS)/libforms.a -lfm -lgl
# SunOS specific modules -- off by default: # SunOS specific modules -- off by default:
......
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