Skip to content

Commit

Permalink
Fix 'missing' configure warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 2, 2015
1 parent a653d5e commit d44bc29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ AC_INIT([mod_maxminddb], [1.0.0], [support@maxmind.com])
AC_ARG_WITH(apxs, AC_HELP_STRING([--with-apxs=NAME],
[name of your apxs executable [[apxs]]]),
[APXS="$with_apxs"])
AC_PROG_CC_C99
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
AC_PROG_CC_C99
if test -z "${APXS}"; then
AC_PATH_PROGS(APXS, apxs2 apxs, no, [$PATH:/usr/sbin:/usr/local/apache2/bin])
fi
Expand All @@ -18,6 +19,5 @@ AC_CHECK_LIB(maxminddb, MMDB_lib_version, [
AC_SUBST(LIBMAXMINDDB_LDFLAGS)
],
[AC_MSG_ERROR([libmaxminddb was not found])])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

0 comments on commit d44bc29

Please sign in to comment.