xfce4-battery-plugin: tune the pandora hack
[openembedded.git] / recipes / apache2 / apache2-2.2.3 / configure-fix-cross-compile-ptr-check.patch
1 --- ./orig-configure    2007-02-20 11:05:12.000000000 +0200
2 +++ ./configure 2007-02-20 11:14:11.000000000 +0200
3 @@ -6667,7 +6667,13 @@
4    echo $ECHO_N "(cached) $ECHO_C" >&6
5  else
6    if test "$cross_compiling" = yes; then
7 -  ap_void_ptr_lt_long=yes
8 +
9 +   if test "$ac_cv_sizeof_long_p" = "$ac_cv_sizeof_void_p"; then
10 +    ap_void_ptr_lt_long=no
11 +   else
12 +    ap_void_ptr_lt_long=yes
13 +   fi 
14 +
15  else
16    cat >conftest.$ac_ext <<_ACEOF
17  /* confdefs.h.  */