Advertisement
lud_wig

GTK_MAC check

Jul 25th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.38 KB | None | 0 0
  1. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_MAC" >&5
  2. $as_echo_n "checking for GTK_MAC... " >&6; }
  3.  
  4. if test -n "$GTK_MAC_CFLAGS"; then
  5.     pkg_cv_GTK_MAC_CFLAGS="$GTK_MAC_CFLAGS"
  6.  elif test -n "$PKG_CONFIG"; then
  7.     if test -n "$PKG_CONFIG" && \
  8.     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration\""; } >&5
  9.   ($PKG_CONFIG --exists --print-errors "gtk-mac-integration") 2>&5
  10.   ac_status=$?
  11.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12.   test $ac_status = 0; }; then
  13.   pkg_cv_GTK_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration" 2>/dev/null`
  14.                       test "x$?" != "x0" && pkg_failed=yes
  15. else
  16.   pkg_failed=yes
  17. fi
  18.  else
  19.     pkg_failed=untried
  20. fi
  21. if test -n "$GTK_MAC_LIBS"; then
  22.     pkg_cv_GTK_MAC_LIBS="$GTK_MAC_LIBS"
  23.  elif test -n "$PKG_CONFIG"; then
  24.     if test -n "$PKG_CONFIG" && \
  25.     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration\""; } >&5
  26.   ($PKG_CONFIG --exists --print-errors "gtk-mac-integration") 2>&5
  27.   ac_status=$?
  28.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29.   test $ac_status = 0; }; then
  30.   pkg_cv_GTK_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration" 2>/dev/null`
  31.                       test "x$?" != "x0" && pkg_failed=yes
  32. else
  33.   pkg_failed=yes
  34. fi
  35.  else
  36.     pkg_failed=untried
  37. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement