Skip to content

Commit

Permalink
Merge pull request #117 from maxmind/greg/fix-build
Browse files Browse the repository at this point in the history
Fix bootstrap warning
  • Loading branch information
horgh authored Jan 15, 2025
2 parents 2fd8bef + 52e7045 commit c59fce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
AC_INIT([mod_maxminddb], [1.2.0], [[email protected]])
AC_ARG_WITH(apxs, AC_HELP_STRING([--with-apxs=NAME],
[name of your apxs executable [[apxs]]]),
AC_INIT([mod_maxminddb],[1.2.0],[[email protected]])
AC_ARG_WITH(apxs, AS_HELP_STRING([--with-apxs=NAME],[name of your apxs executable [[apxs]]]),
[APXS="$with_apxs"])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
AC_PROG_CC_C99
AC_PROG_CC

# Copied from http://stackoverflow.com/a/10682813/9832 and tweaked for C (as
# opposed to C++)
Expand Down
2 changes: 1 addition & 1 deletion dev-bin/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -n "$(git status --porcelain)" ]; then
exit 1
fi

perl -i -pe "s/(?<=AC_INIT\(\[mod_maxminddb\], \[)(\d+\.\d+\.\d+)(?=\])/$TAG/" configure.ac;
perl -i -pe "s/(?<=AC_INIT\(\[mod_maxminddb\], ?\[)(\d+\.\d+\.\d+)(?=\])/$TAG/" configure.ac;

if [ -z "$(git status --porcelain)" ]; then
echo 'Failed to update configure.ac'
Expand Down

0 comments on commit c59fce4

Please sign in to comment.