# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Sun Jul 31 12:06:46 CEST 2011 [metaconfig 3.5 PL0]
+# Generated on Sun Jul 31 12:11:29 CEST 2011 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
spitshell=''
src=''
ssizetype=''
+st_ino_sign=''
+st_ino_size=''
startperl=''
startsh=''
stdchar=''
fi
$rm_try
+: Check the size of st_ino
+$echo " "
+$echo "Checking the size of st_ino..." >&4
+$cat > try.c <<EOCP
+#include <sys/stat.h>
+#include <stdio.h>
+#$i_stdlib I_STDLIB
+#ifdef I_STDLIB
+#include <stdlib.h>
+#endif
+int main() {
+ struct stat st;
+ printf("%d\n", (int)sizeof(st.st_ino));
+ exit(0);
+}
+EOCP
+set try
+if eval $compile_ok; then
+ val=`$run ./try`
+ case "$val" in
+ '') st_ino_size=4
+ $echo "(I can't execute the test program--guessing $st_ino_size.)" >&4
+ ;;
+ *) st_ino_size=$val
+ $echo "Your st_ino is $st_ino_size bytes long."
+ ;;
+ esac
+else
+ st_ino_size=4
+ $echo "(I can't compile the test program--guessing $st_ino_size.)" >&4
+fi
+$rm_try
+
+: Check if st_ino is signed
+$echo " "
+$echo "Checking the sign of st_ino..." >&4
+$cat > try.c <<EOCP
+#include <sys/stat.h>
+#include <stdio.h>
+int main() {
+ struct stat foo;
+ foo.st_ino = -1;
+ if (foo.st_ino < 0)
+ printf("-1\n");
+ else
+ printf("1\n");
+}
+EOCP
+set try
+if eval $compile; then
+ val=`$run ./try`
+ case "$val" in
+ '') st_ino_sign=1
+ $echo "(I can't execute the test program--guessing unsigned.)" >&4
+ ;;
+ *) st_ino_sign=$val
+ case "$st_ino_sign" in
+ 1) $echo "Your st_ino is unsigned." ;;
+ -1) $echo "Your st_ino is signed." ;;
+ esac
+ ;;
+ esac
+else
+ st_ino_sign=1
+ $echo "(I can't compile the test program--guessing unsigned.)" >&4
+fi
+$rm_try
+
: see what type of char stdio uses.
echo " "
echo '#include <stdio.h>' | $cppstdin $cppminus > stdioh
srandom_r_proto='$srandom_r_proto'
src='$src'
ssizetype='$ssizetype'
+st_ino_sign='$st_ino_sign'
+st_ino_size='$st_ino_size'
startperl='$startperl'
startsh='$startsh'
static_ext='$static_ext'
stdio_filbuf=''
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
of bytes or an error condition. It must be a signed type.
We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
+st_ino_sign (st_ino_def.U):
+ This variable contains the signedness of struct stat's st_ino.
+ 1 for unsigned, -1 for signed.
+
+st_ino_size (st_ino_def.U):
+ This variable contains the size of struct stat's st_ino in bytes.
+
startperl (startperl.U):
This variable contains the string to put on the front of a perl
script to make sure (hopefully) that it runs with perl and not some
stdio_filbuf=''
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
*/
#define SELECT_MIN_BITS $selectminbits /**/
+/* ST_INO_SIZE:
+ * This variable contains the size of struct stat's st_ino in bytes.
+ */
+/* ST_INO_SIGN:
+ * This symbol holds the signedess of struct stat's st_ino.
+ * 1 for unsigned, -1 for signed.
+ */
+#define ST_INO_SIGN $st_ino_sign /* st_ino sign */
+#define ST_INO_SIZE $st_ino_size /* st_ino size */
+
/* STARTPERL:
* This variable contains the string to put in front of a perl
* script to make sure (one hopes) that it runs with perl and not
stdio_filbuf=''
stdio_ptr=''
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings=''
submit=''
* LOCALTIME_MAX
* LOCALTIME_MIN
* LOCALTIME_R_NEEDS_TZSET
+ * ST_INO_SIGN
+ * ST_INO_SIZE
* U16SIZE
* U32SIZE
* U64SIZE
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/sys/include/ape/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
targetarch='thumb-symbian'
timetype=time_t
stdio_filbuf=''
stdio_ptr='((fp)->_IO_read_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
targetarch=''
timetype=time_t
stdio_filbuf=''
stdio_ptr='((fp)->curp)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr=''
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='8'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='8'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='4'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''
stdio_filbuf=''
stdio_ptr='((fp)->_ptr)'
stdio_stream_array=''
+st_ino_sign='1'
+st_ino_size='8'
strerror_r_proto='0'
strings='/usr/include/string.h'
submit=''