Skip to content

Commit e0508ee

Browse files
Merge #1090: configure: Remove redundant pkg-config code
21b2eba configure: Remove redundant pkg-config code (Tim Ruffing) Pull request description: This removes code that detects the pkg-config tool. We used this back in the days when we had dependencies. ;) It can always be brought back if we'll need it in the future. Note that we still deliver a .pc file for this library, and there is code in Makefile.am to install it. But this does not require the pkg-config tool; only consumers of the .pc file will need it. This can be verified by running `make install` (maybe after `mkdir /tmp/pre` and `./configure --prefix=/tmp/pre` and checking that the .pc file is installed correctly. ACKs for top commit: theuni: ACK 21b2eba. fanquake: ACK 21b2eba Tree-SHA512: 07affcd0e85f59d10479f279c832b1384208bead2fd152e0d1e3d99167dba4e14dbe87b0bc9c367f0f18da3d37f1d51de064689bff329ee5b01cacfe54e5ede7
2 parents 0e5cbd0 + 21b2eba commit e0508ee

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

configure.ac

-7
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ AM_INIT_AUTOMAKE([1.11.2 foreign subdir-objects])
3232
# Make the compilation flags quiet unless V=1 is used.
3333
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
3434

35-
PKG_PROG_PKG_CONFIG
36-
3735
AC_PROG_CC
3836
if test x"$ac_cv_prog_cc_c89" = x"no"; then
3937
AC_MSG_ERROR([c89 compiler support required])
@@ -408,11 +406,6 @@ AC_SUBST(LIB_VERSION_CURRENT, _LIB_VERSION_CURRENT)
408406
AC_SUBST(LIB_VERSION_REVISION, _LIB_VERSION_REVISION)
409407
AC_SUBST(LIB_VERSION_AGE, _LIB_VERSION_AGE)
410408

411-
# Make sure nothing new is exported so that we don't break the cache.
412-
PKGCONFIG_PATH_TEMP="$PKG_CONFIG_PATH"
413-
unset PKG_CONFIG_PATH
414-
PKG_CONFIG_PATH="$PKGCONFIG_PATH_TEMP"
415-
416409
AC_OUTPUT
417410

418411
echo

0 commit comments

Comments
 (0)