Added PKG_PROG_PKG_CONFIG

Cygwin pkg-config M4 works a bit different or something, so I have
added this call to set PKG_CONFIG variable in configure.ac
This commit is contained in:
Gergely Polonkai 2012-03-10 18:23:17 +01:00
parent 7365ae531d
commit 3ae05dd663

View File

@ -5,6 +5,7 @@ AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE([wMUD], [0.1.0]) AM_INIT_AUTOMAKE([wMUD], [0.1.0])
AC_PROG_CC AC_PROG_CC
PKG_PROG_PKG_CONFIG
AC_ARG_ENABLE([memcached], AS_HELP_STRING([--disable-memcached], [Disable Memcached support (default: enabled)]), [], [enable_memcached=yes]) AC_ARG_ENABLE([memcached], AS_HELP_STRING([--disable-memcached], [Disable Memcached support (default: enabled)]), [], [enable_memcached=yes])
AM_CONDITIONAL([ENABLE_MEMCACHED], [test "$enable_memcached" = "yes"]) AM_CONDITIONAL([ENABLE_MEMCACHED], [test "$enable_memcached" = "yes"])