--- parser3/configure 2002/04/30 10:41:42 1.19 +++ parser3/configure 2002/06/10 11:28:24 1.21 @@ -734,7 +734,7 @@ fi PACKAGE=parser -VERSION=3.0 +VERSION=3.0.HEAD if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -3033,14 +3033,19 @@ int main() { #pragma pack(1) struct must_be_1_byte { char c; -}; + int i; +} s; #pragma pack() if(sizeof(must_be_1_byte)!=1) return 1; +/* must not hang here: seen on sparc arch -- compiler generated even address-accessing instructions here */ +s.i=123; /* asm:st /* +if(s.i!=123) /* asm:lduh */ + return 1; ; return 0; } EOF -if { (eval echo configure:3044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 @@ -3059,9 +3064,9 @@ fi rm -f conftest* echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6 -echo "configure:3063: checking for set_new_handler" >&5 +echo "configure:3068: checking for set_new_handler" >&5 cat > conftest.$ac_ext < @@ -3073,7 +3078,7 @@ std::set_new_handler(failed_new); ; return 0; } EOF -if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6