patch-configure 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --- mozilla-1.9.2.orig/configure 2011-03-19 21:39:59.000000000 +0100
  2. +++ mozilla-1.9.2/configure 2011-04-23 11:35:36.000000000 +0200
  3. @@ -3970,7 +3970,7 @@ else
  4. echo "$ac_t""yes" 1>&6
  5. fi
  6. - for ac_prog in $PYTHON python2.5 python2.4 python
  7. + for ac_prog in $PYTHON python2.6 python2.5 python2.4 python
  8. do
  9. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10. set dummy $ac_prog; ac_word=$2
  11. @@ -5625,7 +5625,6 @@ DIRENT_INO=d_ino
  12. CYGWIN_WRAPPER=
  13. WIN_TOP_SRC=
  14. MOZ_USER_DIR=".mozilla"
  15. -HOST_AR='$(AR)'
  16. HOST_AR_FLAGS='$(AR_FLAGS)'
  17. MOZ_JPEG_CFLAGS=
  18. @@ -13581,9 +13580,9 @@ if test "$SYSTEM_PNG" = 1; then
  19. LIBS="$PNG_LIBS $LIBS"
  20. cat > conftest.$ac_ext <<EOF
  21. #line 13584 "configure"
  22. -#include "confdefs.h"
  23. #include <stdio.h>
  24. #include <sys/types.h>
  25. +#include "confdefs.h"
  26. #include <png.h>
  27. int main() {
  28. #if PNG_LIBPNG_VER < $MOZPNG
  29. @@ -17895,7 +17894,7 @@ echo "configure:17889: checking for SQLI
  30. else
  31. if test "$cross_compiling" = yes; then
  32. - ac_cv_sqlite_secure_delete=no
  33. + ac_cv_sqlite_secure_delete=yes
  34. else
  35. cat > conftest.$ac_ext <<EOF
  36. @@ -21460,18 +21459,11 @@ fi
  37. fi
  38. fi
  39. -if test -n "$CROSS_COMPILE"; then
  40. - if test -z "$HOST_LIBIDL_CONFIG"; then
  41. - HOST_LIBIDL_CONFIG="$LIBIDL_CONFIG"
  42. - fi
  43. - if test -n "$HOST_LIBIDL_CONFIG" && test "$HOST_LIBIDL_CONFIG" != "no"; then
  44. - HOST_LIBIDL_CFLAGS=`${HOST_LIBIDL_CONFIG} --cflags`
  45. - HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs`
  46. - else
  47. - HOST_LIBIDL_CFLAGS="$LIBIDL_CFLAGS"
  48. - HOST_LIBIDL_LIBS="$LIBIDL_LIBS"
  49. - fi
  50. -fi
  51. +HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --cflags`
  52. +HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --libs`
  53. +
  54. +echo "host libidl cflags: ${HOST_LIBIDL_CFLAGS}"
  55. +echo "host libidl libs: ${HOST_LIBIDL_LIBS}"
  56. if test -z "$SKIP_PATH_CHECKS"; then
  57. if test -z "${GLIB_CFLAGS}" || test -z "${GLIB_LIBS}" ; then