Skip to content

Commit d44bc29

Browse files
committed
Fix 'missing' configure warning
1 parent a653d5e commit d44bc29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ AC_INIT([mod_maxminddb], [1.0.0], [[email protected]])
22
AC_ARG_WITH(apxs, AC_HELP_STRING([--with-apxs=NAME],
33
[name of your apxs executable [[apxs]]]),
44
[APXS="$with_apxs"])
5-
AC_PROG_CC_C99
65
AC_CONFIG_AUX_DIR([.])
6+
AM_INIT_AUTOMAKE
7+
AC_PROG_CC_C99
78
if test -z "${APXS}"; then
89
AC_PATH_PROGS(APXS, apxs2 apxs, no, [$PATH:/usr/sbin:/usr/local/apache2/bin])
910
fi
@@ -18,6 +19,5 @@ AC_CHECK_LIB(maxminddb, MMDB_lib_version, [
1819
AC_SUBST(LIBMAXMINDDB_LDFLAGS)
1920
],
2021
[AC_MSG_ERROR([libmaxminddb was not found])])
21-
AM_INIT_AUTOMAKE
2222
AC_CONFIG_FILES([Makefile src/Makefile])
2323
AC_OUTPUT

0 commit comments

Comments
 (0)