Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Someone
Friday, May 4th, 2007 at 2:28:00pm UTC 

  1. if test "x$enable_gecko" = "xyes" -o "x$enable_gecko" = "xmozilla" ; then
  2.    gecko_provider=mozilla
  3.  
  4. pkg_failed=no
  5. { echo "$as_me:$LINENO: checking for MOZILLA" >&5
  6. echo $ECHO_N "checking for MOZILLA... $ECHO_C" >&6; }
  7.  
  8. if test -n "$PKG_CONFIG"; then
  9.     if test -n "$MOZILLA_CFLAGS"; then
  10.         pkg_cv_MOZILLA_CFLAGS="$MOZILLA_CFLAGS"
  11.     else
  12.         if test -n "$PKG_CONFIG" && \
  13.     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gecko_provider-gtkmozembed\"") >&5
  14.   ($PKG_CONFIG --exists --print-errors "$gecko_provider-gtkmozembed") 2>&5
  15.   ac_status=$?
  16.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17.   (exit $ac_status); }; then
  18.   pkg_cv_MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "$gecko_provider-gtkmozembed" 2>/dev/null`
  19. else
  20.   pkg_failed=yes
  21. fi
  22.     fi
  23. else
  24.         pkg_failed=untried
  25. fi
  26. if test -n "$PKG_CONFIG"; then
  27.     if test -n "$MOZILLA_LIBS"; then
  28.         pkg_cv_MOZILLA_LIBS="$MOZILLA_LIBS"
  29.     else
  30.         if test -n "$PKG_CONFIG" && \
  31.     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gecko_provider-gtkmozembed\"") >&5
  32.   ($PKG_CONFIG --exists --print-errors "$gecko_provider-gtkmozembed") 2>&5
  33.   ac_status=$?
  34.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35.   (exit $ac_status); }; then
  36.   pkg_cv_MOZILLA_LIBS=`$PKG_CONFIG --libs "$gecko_provider-gtkmozembed" 2>/dev/null`
  37. else
  38.   pkg_failed=yes
  39. fi
  40.     fi
  41. else
  42.         pkg_failed=untried
  43. fi
  44.  
  45.  
  46.  
  47. if test $pkg_failed = yes; then
  48.  
  49. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  50.         _pkg_short_errors_supported=yes
  51. else
  52.         _pkg_short_errors_supported=no
  53. fi
  54.         if test $_pkg_short_errors_supported = yes; then
  55.                 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gecko_provider-gtkmozembed"`
  56.         else
  57.                 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gecko_provider-gtkmozembed"`
  58.         fi
  59.         # Put the nasty error message in config.log where it belongs
  60.         echo "$MOZILLA_PKG_ERRORS" >&5
  61.  
  62.         { echo "$as_me:$LINENO: result: no" >&5
  63. echo "${ECHO_T}no" >&6; }
  64.                 enable_mozilla=no
  65. elif test $pkg_failed = untried; then
  66.         enable_mozilla=no
  67. else
  68.         MOZILLA_CFLAGS=$pkg_cv_MOZILLA_CFLAGS
  69.         MOZILLA_LIBS=$pkg_cv_MOZILLA_LIBS
  70.         { echo "$as_me:$LINENO: result: yes" >&5
  71. echo "${ECHO_T}yes" >&6; }
  72.         enable_mozilla=yes
  73. fi
  74.    { echo "$as_me:$LINENO: result: $gecko_provider: $enable_mozilla" >&5
  75. echo "${ECHO_T}$gecko_provider: $enable_mozilla" >&6; }
  76. fi
  77. if test "x$enable_mozilla" != "xyes" -a \( "x$enable_gecko" = "xyes" -o "x$enable_gecko" = "xfirefox" \) ; then
  78.    gecko_provider=firefox
  79.  
  80. pkg_failed=no
  81. { echo "$as_me:$LINENO: checking for MOZILLA" >&5
  82. echo $ECHO_N "checking for MOZILLA... $ECHO_C" >&6; }
  83.  
  84. if test -n "$PKG_CONFIG"; then
  85.     if test -n "$MOZILLA_CFLAGS"; then
  86.         pkg_cv_MOZILLA_CFLAGS="$MOZILLA_CFLAGS"
  87.     else
  88.         if test -n "$PKG_CONFIG" && \
  89.     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gecko_provider-gtkmozembed\"") >&5
  90.   ($PKG_CONFIG --exists --print-errors "$gecko_provider-gtkmozembed") 2>&5
  91.   ac_status=$?
  92.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  93.   (exit $ac_status); }; then
  94.   pkg_cv_MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "$gecko_provider-gtkmozembed" 2>/dev/null`
  95. else
  96.   pkg_failed=yes
  97. fi
  98.     fi
  99. else
  100.         pkg_failed=untried
  101. fi
  102. if test -n "$PKG_CONFIG"; then
  103.     if test -n "$MOZILLA_LIBS"; then
  104.         pkg_cv_MOZILLA_LIBS="$MOZILLA_LIBS"
  105.     else
  106.         if test -n "$PKG_CONFIG" && \
  107.     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gecko_provider-gtkmozembed\"") >&5
  108.   ($PKG_CONFIG --exists --print-errors "$gecko_provider-gtkmozembed") 2>&5
  109.   ac_status=$?
  110.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  111.   (exit $ac_status); }; then
  112.   pkg_cv_MOZILLA_LIBS=`$PKG_CONFIG --libs "$gecko_provider-gtkmozembed" 2>/dev/null`
  113. else
  114.   pkg_failed=yes
  115. fi
  116.     fi
  117. else
  118.         pkg_failed=untried
  119. fi

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right