diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -740,32 +740,6 @@ EOF | |||
740 | fi | 740 | fi |
741 | fi | 741 | fi |
742 | 742 | ||
743 | echo >> configure.log | ||
744 | |||
745 | # find a four-byte unsiged integer type for crc calculations | ||
746 | cat > $test.c <<EOF | ||
747 | #include <stdio.h> | ||
748 | #define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;} | ||
749 | int main() { | ||
750 | int k; | ||
751 | unsigned i; | ||
752 | unsigned long l; | ||
753 | unsigned short s; | ||
754 | is32(i, "unsigned") | ||
755 | is32(l, "unsigned long") | ||
756 | is32(s, "unsigned short") | ||
757 | return 1; | ||
758 | } | ||
759 | EOF | ||
760 | Z_U4="" | ||
761 | if try $CC $CFLAGS $test.c -o $test && Z_U4=`./$test` && test -n "$Z_U4"; then | ||
762 | sed < zconf.h "/#define Z_U4/s/\/\* \.\/configure may/#define Z_U4 $Z_U4 \/* .\/configure put the/" > zconf.temp.h | ||
763 | mv zconf.temp.h zconf.h | ||
764 | echo "Looking for a four-byte integer type... Found." | tee -a configure.log | ||
765 | else | ||
766 | echo "Looking for a four-byte integer type... Not found." | tee -a configure.log | ||
767 | fi | ||
768 | |||
769 | # show the results in the log | 743 | # show the results in the log |
770 | echo >> configure.log | 744 | echo >> configure.log |
771 | echo ALL = $ALL >> configure.log | 745 | echo ALL = $ALL >> configure.log |