SCM Repository
View of /sml/branches/shao-private-devel/config/chk-global-names.sh
Parent Directory
|
Revision Log
Revision 1097 -
(download)
(as text)
(annotate)
Tue Feb 26 16:59:02 2002 UTC (19 years ago)
File size: 514 byte(s)
Tue Feb 26 16:59:02 2002 UTC (19 years ago)
File size: 514 byte(s)
This commit was manufactured by cvs2svn to create branch 'shao-private-devel'.
#!/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 WITNESS="w3E_4Ew3E_4Rrr_56TtT" cat > $TMP_FILE_C <<XXXX $WITNESS () {} XXXX $CC -c -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 "_$WITNESS"` 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 |