patches/strace/4.5.16/100-autoreconf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 06 22:22:02 2009 +0000 (2009-01-06)
changeset 1130 78681fe5cdd1
parent 428 022ca36f85c8
permissions -rw-r--r--
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)
yann@428
     1
diff -dur strace-4.5.16.orig/configure strace-4.5.16/configure
yann@428
     2
--- strace-4.5.16.orig/configure	2007-01-11 23:23:33.000000000 +0100
yann@428
     3
+++ strace-4.5.16/configure	2007-07-14 19:18:43.000000000 +0200
yann@428
     4
@@ -5808,6 +5777,73 @@
yann@428
     5
yann@428
     6
 fi
yann@428
     7
yann@428
     8
+echo "$as_me:$LINENO: checking for statfs64 in sys/(statfs|vfs).h" >&5
yann@428
     9
+echo $ECHO_N "checking for statfs64 in sys/(statfs|vfs).h... $ECHO_C" >&6
yann@428
    10
+if test "${ac_cv_type_statfs64+set}" = set; then
yann@428
    11
+  echo $ECHO_N "(cached) $ECHO_C" >&6
yann@428
    12
+else
yann@428
    13
+  cat >conftest.$ac_ext <<_ACEOF
yann@428
    14
+/* confdefs.h.  */
yann@428
    15
+_ACEOF
yann@428
    16
+cat confdefs.h >>conftest.$ac_ext
yann@428
    17
+cat >>conftest.$ac_ext <<_ACEOF
yann@428
    18
+/* end confdefs.h.  */
yann@428
    19
+#ifdef LINUX
yann@428
    20
+#include <linux/types.h>
yann@428
    21
+#include <sys/statfs.h>
yann@428
    22
+#else
yann@428
    23
+#include <sys/vfs.h>
yann@428
    24
+#endif
yann@428
    25
+int
yann@428
    26
+main ()
yann@428
    27
+{
yann@428
    28
+struct statfs64 st;
yann@428
    29
+  ;
yann@428
    30
+  return 0;
yann@428
    31
+}
yann@428
    32
+_ACEOF
yann@428
    33
+rm -f conftest.$ac_objext
yann@428
    34
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
yann@428
    35
+  (eval $ac_compile) 2>conftest.er1
yann@428
    36
+  ac_status=$?
yann@428
    37
+  grep -v '^ *+' conftest.er1 >conftest.err
yann@428
    38
+  rm -f conftest.er1
yann@428
    39
+  cat conftest.err >&5
yann@428
    40
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
yann@428
    41
+  (exit $ac_status); } &&
yann@428
    42
+	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
yann@428
    43
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
yann@428
    44
+  (eval $ac_try) 2>&5
yann@428
    45
+  ac_status=$?
yann@428
    46
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
yann@428
    47
+  (exit $ac_status); }; } &&
yann@428
    48
+	 { ac_try='test -s conftest.$ac_objext'
yann@428
    49
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
yann@428
    50
+  (eval $ac_try) 2>&5
yann@428
    51
+  ac_status=$?
yann@428
    52
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
yann@428
    53
+  (exit $ac_status); }; }; then
yann@428
    54
+  ac_cv_type_statfs64=yes
yann@428
    55
+else
yann@428
    56
+  echo "$as_me: failed program was:" >&5
yann@428
    57
+sed 's/^/| /' conftest.$ac_ext >&5
yann@428
    58
+
yann@428
    59
+ac_cv_type_statfs64=no
yann@428
    60
+fi
yann@428
    61
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
yann@428
    62
+fi
yann@428
    63
+
yann@428
    64
+echo "$as_me:$LINENO: result: $ac_cv_type_statfs64" >&5
yann@428
    65
+echo "${ECHO_T}$ac_cv_type_statfs64" >&6
yann@428
    66
+if test "$ac_cv_type_statfs64" = yes
yann@428
    67
+then
yann@428
    68
+
yann@428
    69
+cat >>confdefs.h <<\_ACEOF
yann@428
    70
+#define HAVE_STATFS64 1
yann@428
    71
+_ACEOF
yann@428
    72
+
yann@428
    73
+fi
yann@428
    74
+
yann@428
    75
yann@428
    76
 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
yann@428
    77
 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }