SCM Repository
[smlnj] / sml / trunk / config / chk-global-names.sh |
View of /sml/trunk/config/chk-global-names.sh
Parent Directory
|
Revision Log
Revision 9 -
(download)
(as text)
(annotate)
Sun Jan 18 01:01:29 1998 UTC (23 years, 3 months ago) by monnier
File size: 471 byte(s)
Sun Jan 18 01:01:29 1998 UTC (23 years, 3 months ago) by monnier
File size: 471 byte(s)
This commit was generated by cvs2svn to compensate for changes in r8, which included commits to RCS files with non-trunk default branches.
#!/bin/sh # # COPYRIGHT (c) 1995 AT&T Bell Laboratories. # # Check to see if "_" is prepended to global names in the symbol table. # CC=${CC:-cc} TMP_FILE=/tmp/smlConfig-$$ TMP_FILE_C=$TMP_FILE.c cat > $TMP_FILE_C <<XXXX main () {} XXXX $CC -o $TMP_FILE $TMP_FILE_C if [ "$?" != "0" ]; then rm -f $TMP_FILE $TMP_FILE_C exit 1 fi if `nm $TMP_FILE | grep -q "_main"` then echo "-DGLOBALS_HAVE_UNDERSCORE" fi rm -f $TMP_FILE $TMP_FILE_C exit 0
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |