SCM Repository
View of /sml/branches/SMLNJ/config/chk-global-names.sh
Parent Directory
|
Revision Log
Revision 29 -
(download)
(as text)
(annotate)
Thu Mar 12 01:05:59 1998 UTC (23 years ago) by monnier
File size: 474 byte(s)
Thu Mar 12 01:05:59 1998 UTC (23 years ago) by monnier
File size: 474 byte(s)
*** empty log message ***
#!/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 -w "_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 |