diff --git a/configure.ac b/configure.ac index 8f0afe0d..50e5996a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,9 @@ -AC_INIT([mod_maxminddb], [1.2.0], [support@maxmind.com]) -AC_ARG_WITH(apxs, AC_HELP_STRING([--with-apxs=NAME], - [name of your apxs executable [[apxs]]]), +AC_INIT([mod_maxminddb],[1.2.0],[support@maxmind.com]) +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++) diff --git a/dev-bin/make-release.sh b/dev-bin/make-release.sh index 11a7592b..6d386479 100755 --- a/dev-bin/make-release.sh +++ b/dev-bin/make-release.sh @@ -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'