246 |
|
|
247 |
fi |
fi |
248 |
|
|
249 |
|
# host long bits test |
250 |
|
hostlongbits="32" |
251 |
|
if test "$cpu" = "sparc64" -o "$cpu" = "ia64" -o "$cpu" = "x86_64" -o "$cpu" = "alpha"; then |
252 |
|
hostlongbits="64" |
253 |
|
fi |
254 |
|
|
255 |
# check gcc options support |
# check gcc options support |
256 |
cat > $TMPC <<EOF |
cat > $TMPC <<EOF |
257 |
int main(void) { |
int main(void) { |
526 |
echo "WORDS_BIGENDIAN=yes" >> $config_mak |
echo "WORDS_BIGENDIAN=yes" >> $config_mak |
527 |
echo "#define WORDS_BIGENDIAN 1" >> $config_h |
echo "#define WORDS_BIGENDIAN 1" >> $config_h |
528 |
fi |
fi |
529 |
|
echo "#define HOST_LONG_BITS $hostlongbits" >> $config_h |
530 |
if test "$mingw32" = "yes" ; then |
if test "$mingw32" = "yes" ; then |
531 |
echo "CONFIG_WIN32=yes" >> $config_mak |
echo "CONFIG_WIN32=yes" >> $config_mak |
532 |
echo "#define CONFIG_WIN32 1" >> $config_h |
echo "#define CONFIG_WIN32 1" >> $config_h |