Skip to content

Commit 7ab9374

Browse files
e7appewraveit65
authored andcommitted
Use cross-compilation-safe pkg-config macro.
origin commit from: dropbox/nautilus-dropbox#63
1 parent c85aaec commit 7ab9374

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎configure.ac‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ AC_PROG_CC
2121
AM_PROG_LIBTOOL
2222

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

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

0 commit comments

Comments
 (0)