Skip to content
Permalink
Browse files

Use cross-compilation-safe pkg-config macro.

origin commit from:
dropbox/nautilus-dropbox#63
  • Loading branch information...
e7appew authored and raveit65 committed Dec 7, 2018
1 parent c85aaec commit 7ab93740b5214935cfbe6ae3dddd58a1c2ce5c0d
Showing with 1 addition and 5 deletions.
  1. +1 −5 configure.ac
@@ -21,11 +21,7 @@ AC_PROG_CC
AM_PROG_LIBTOOL

# Check for pkg-config
AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$HAVE_PKGCONFIG" = "xno"; then
AC_MSG_ERROR(you need to have pkgconfig installed !)
fi
PKG_PROG_PKG_CONFIG

PKG_CHECK_MODULES(CAJA, libcaja-extension >= $CAJA_REQUIRED)
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)

0 comments on commit 7ab9374

Please sign in to comment.
You can’t perform that action at this time.