Skip to content

Commit

Permalink
Use cross-compilation-safe pkg-config macro.
Browse files Browse the repository at this point in the history
origin commit from:
dropbox/nautilus-dropbox#63
  • Loading branch information
e7appew authored and raveit65 committed Jan 21, 2019
1 parent c85aaec commit 7ab9374
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ab9374

Please sign in to comment.