patch-configure 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --- mozilla-1.9.2.orig/configure 2010-12-03 16:57:11.000000000 +0100
  2. +++ mozilla-1.9.2/configure 2010-12-29 21:52:34.000000000 +0100
  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. @@ -17895,7 +17894,7 @@ echo "configure:17889: checking for SQLI
  19. else
  20. if test "$cross_compiling" = yes; then
  21. - ac_cv_sqlite_secure_delete=no
  22. + ac_cv_sqlite_secure_delete=yes
  23. else
  24. cat > conftest.$ac_ext <<EOF
  25. @@ -21460,18 +21459,11 @@ fi
  26. fi
  27. fi
  28. -if test -n "$CROSS_COMPILE"; then
  29. - if test -z "$HOST_LIBIDL_CONFIG"; then
  30. - HOST_LIBIDL_CONFIG="$LIBIDL_CONFIG"
  31. - fi
  32. - if test -n "$HOST_LIBIDL_CONFIG" && test "$HOST_LIBIDL_CONFIG" != "no"; then
  33. - HOST_LIBIDL_CFLAGS=`${HOST_LIBIDL_CONFIG} --cflags`
  34. - HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs`
  35. - else
  36. - HOST_LIBIDL_CFLAGS="$LIBIDL_CFLAGS"
  37. - HOST_LIBIDL_LIBS="$LIBIDL_LIBS"
  38. - fi
  39. -fi
  40. +HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${HOST_LIBIDL_CONFIG} --cflags`
  41. +HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${HOST_LIBIDL_CONFIG} --libs`
  42. +
  43. +echo "host libidl cflags: ${HOST_LIBIDL_CFLAGS}"
  44. +echo "host libidl libs: ${HOST_LIBIDL_LIBS}"
  45. if test -z "$SKIP_PATH_CHECKS"; then
  46. if test -z "${GLIB_CFLAGS}" || test -z "${GLIB_LIBS}" ; then