patch-configure 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- mozilla-2.0.orig/configure 2011-03-19 00:48:56.000000000 +0100
  2. +++ mozilla-2.0/configure 2011-03-28 12:25:19.041814743 +0200
  3. @@ -22573,15 +22573,6 @@ if test "${with_libIDL+set}" = set; then
  4. fi
  5. -if test -z "$CROSS_COMPILE"; then
  6. - if test -z "$HOST_LIBIDL_CONFIG"; then
  7. - HOST_LIBIDL_CONFIG="$LIBIDL_CONFIG"
  8. - fi
  9. - if test -z "$HOST_LIBIDL_PREFIX"; then
  10. - HOST_LIBIDL_PREFIX="$LIBIDL_PREFIX"
  11. - fi
  12. -fi
  13. -
  14. if test "$SKIP_IDL_CHECK" = "no"
  15. then
  16. _LIBIDL_FOUND=
  17. @@ -22788,6 +22779,7 @@ fi
  18. fi
  19. fi
  20. +
  21. # Check whether --with-glib-prefix or --without-glib-prefix was given.
  22. if test "${with_glib_prefix+set}" = set; then
  23. withval="$with_glib_prefix"
  24. @@ -23542,6 +23534,9 @@ else
  25. LIBIDL_LIBS="$HOST_LIBIDL_LIBS"
  26. fi
  27. +HOST_LIBIDL_CFLAGS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --cflags`
  28. +HOST_LIBIDL_LIBS=`env PKG_CONFIG_LIBDIR=${PKG_HOSTLIB_DIR} ${BUILD_LIBIDL_CONFIG} --libs`
  29. +
  30. if test -z "$SKIP_PATH_CHECKS"; then
  31. if test -z "${GLIB_CFLAGS}" -o -z "${GLIB_LIBS}" ; then
  32. if test "$MOZ_ENABLE_GTK2" -o "$USE_ELF_DYNSTR_GC" ; then