--- parser3/configure 2002/06/10 11:16:36 1.20 +++ parser3/configure 2002/06/10 11:28:24 1.21 @@ -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