diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-07-17 19:03:23 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-07-17 19:03:23 +0100 |
commit | c495c95b1c64c05bef547b82084a16ef34c5c0d9 (patch) | |
tree | 68978b5126c50bfc1e7e8ee96a56cb0e72c03325 /sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p | |
parent | 004ca29118a1993532360038bfa5abf2955f98fa (diff) | |
download | toolchains-c495c95b1c64c05bef547b82084a16ef34c5c0d9.tar.gz toolchains-c495c95b1c64c05bef547b82084a16ef34c5c0d9.tar.bz2 |
Update to build from scratch
Add basic README containing dependancies and risc os build instructions
Diffstat (limited to 'sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p')
-rw-r--r-- | sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p b/sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p index 9fc5e81..252d436 100644 --- a/sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p +++ b/sdk/recipes/patches/zlib/arm-unknown-riscos/configure.p @@ -1,42 +1,42 @@ ---- configure.orig 2007-11-07 09:39:25.111922700 +0000 -+++ configure 2007-11-07 09:42:47.386922700 +0000 -@@ -260,18 +260,18 @@ - TEST="all teststatic testshared" - fi +--- configure.orig 2012-05-02 05:17:08.000000000 +0100 ++++ configure 2012-07-17 17:57:01.000000000 +0100 +@@ -381,18 +381,18 @@ + echo >> configure.log + # check for large file support, and if none, check for fseeko() -cat > $test.c <<EOF -#include <sys/types.h> -off64_t dummy = 0; -EOF --if test "`($CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c) 2>&1`" = ""; then +-if try $CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c; then - CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1" - SFLAGS="${SFLAGS} -D_LARGEFILE64_SOURCE=1" - ALL="${ALL} all64" - TEST="${TEST} test64" -- echo "Checking for off64_t... Yes." -- echo "Checking for fseeko... Yes." +- echo "Checking for off64_t... Yes." | tee -a configure.log +- echo "Checking for fseeko... Yes." | tee -a configure.log -else +#cat > $test.c <<EOF +##include <sys/types.h> +#off64_t dummy = 0; +#EOF -+#if test "`($CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c) 2>&1`" = ""; then ++#if try $CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c; then +# CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1" +# SFLAGS="${SFLAGS} -D_LARGEFILE64_SOURCE=1" +# ALL="${ALL} all64" +# TEST="${TEST} test64" -+# echo "Checking for off64_t... Yes." -+# echo "Checking for fseeko... Yes." ++# echo "Checking for off64_t... Yes." | tee -a configure.log ++# echo "Checking for fseeko... Yes." | tee -a configure.log +#else - echo "Checking for off64_t... No." + echo "Checking for off64_t... No." | tee -a configure.log + echo >> configure.log cat > $test.c <<EOF - #include <stdio.h> -@@ -287,7 +287,7 @@ +@@ -409,7 +409,7 @@ SFLAGS="${SFLAGS} -DNO_FSEEKO" - echo "Checking for fseeko... No." + echo "Checking for fseeko... No." | tee -a configure.log fi -fi -+#fi ++##fi - cp -p zconf.h.in zconf.h + echo >> configure.log |