Skip to content

Commit

Permalink
Update configure
Browse files Browse the repository at this point in the history
  • Loading branch information
stewid committed Oct 6, 2024
1 parent 50069bb commit 645d902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,8 @@ PKG_CFLAGS=""
# The minimum version of libgit2 that is compatible with git2r.
LIBGIT2_MIN_VERSION=1.0

# Check if building against bundled libgit2 or system libgit2
# Check if building against a custom installation of libgit2 or system
# libgit2
if test "x${INCLUDE_DIR}${LIB_DIR}" = x; then
if test -n "$PKG_CONFIG" ; then
# Check if libgit2 is installed and have a version that is
Expand Down Expand Up @@ -3403,5 +3404,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi

################# End configuration to use system libgit2 ####################

4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ PKG_CFLAGS=""
# The minimum version of libgit2 that is compatible with git2r.
LIBGIT2_MIN_VERSION=1.0

# Check if building against bundled libgit2 or system libgit2
# Check if building against a custom installation of libgit2 or system
# libgit2
if test "x${INCLUDE_DIR}${LIB_DIR}" = x; then
if test [ -n "$PKG_CONFIG" ] ; then
# Check if libgit2 is installed and have a version that is
Expand Down Expand Up @@ -144,4 +145,3 @@ AC_SUBST([PKG_LIBS], ["${PKG_LIBS}"])
AC_CONFIG_FILES([src/Makevars])

AC_OUTPUT
################# End configuration to use system libgit2 ####################

0 comments on commit 645d902

Please sign in to comment.