Skip to content

Commit

Permalink
Merge pull request #912 from sgillies/pkg-config-min-manylinux1
Browse files Browse the repository at this point in the history
Set minimum pkg-config version to 0.21
  • Loading branch information
rouault committed Sep 12, 2018
2 parents 6d8be2a + 8803967 commit ced9bbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions gdal/configure
Original file line number Diff line number Diff line change
Expand Up @@ -26201,7 +26201,7 @@ fi

fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=0.25
_pkg_min_version=0.21
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
Expand Down Expand Up @@ -27290,7 +27290,7 @@ fi

fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=0.25
_pkg_min_version=0.21
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
Expand Down Expand Up @@ -29574,7 +29574,7 @@ fi

fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=0.25
_pkg_min_version=0.21
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
Expand Down
4 changes: 2 additions & 2 deletions gdal/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ elif test "$with_hdf5" = "yes" -o "$with_hdf5" = "" ; then

HDF5_CFLAGS=""
HDF5_LIBS=""
PKG_PROG_PKG_CONFIG([0.25]) # check and set $PKG_CONFIG
PKG_PROG_PKG_CONFIG([0.21]) # check and set $PKG_CONFIG
PKG_CHECK_MODULES([HDF5], [hdf5], [HAVE_HDF5=yes], [HAVE_HDF5=no])

if test "$HAVE_HDF5" = "yes"; then
Expand Down Expand Up @@ -2685,7 +2685,7 @@ if test "$with_openjpeg" = "no" ; then

else

PKG_PROG_PKG_CONFIG([0.25])
PKG_PROG_PKG_CONFIG([0.21])
PKG_CHECK_MODULES([OPENJPEG], [libopenjp2 >= 2.1.0],
[OPENJPEG_VERSION=`$PKG_CONFIG --modversion libopenjp2`],
[OPENJPEG_VERSION=;])
Expand Down

0 comments on commit ced9bbb

Please sign in to comment.