-# $Id: MKnames.awk,v 1.8 1997/05/10 16:11:33 tom Exp $
+# $Id: MKnames.awk,v 1.9 1997/10/18 19:57:23 tom Exp $
BEGIN {
print "/* This file was generated by MKnames.awk */" > "namehdr"
print "" > "namehdr"
print "#include <curses.priv.h>" > "namehdr"
print "" > "namehdr"
+ print "#ifdef __cplusplus" > "namehdr"
+ print "#define extern IT NCURSES_CONST char * const" > "namehdr"
+ print "#else" > "namehdr"
print "#define IT NCURSES_CONST char * const" > "namehdr"
+ print "#endif" > "namehdr"
print "" > "namehdr"
print "#if BROKEN_LINKER" > "namehdr"
print "#include <term.h>" > "namehdr"