summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--src/ao_polyp.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index da52100..18cab95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
AC_PREREQ(2.57)
-AC_INIT([libao-polyp],[0.1],[mzyvonbcbylc (at) 0pointer (dot) de])
+AC_INIT([libao-polyp],[0.2],[mzyvonbcbylc (at) 0pointer (dot) de])
AC_CONFIG_SRCDIR([src/ao_polyp.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign -Wall])
@@ -49,7 +49,7 @@ if test -d ../polypaudio ; then
POLYP_LIBS='-L$(top_srcdir)/../polypaudio/polyp -lpolyp-simple'
echo "*** Found polypaudio in ../polypaudio, using that version ***"
else
- PKG_CHECK_MODULES(POLYP, [ polyplib-simple ])
+ PKG_CHECK_MODULES(POLYP, [ polyplib-simple >= 0.3 ])
fi
AC_SUBST(POLYP_LIBS)
diff --git a/src/ao_polyp.c b/src/ao_polyp.c
index dd0b43c..b50c4ef 100644
--- a/src/ao_polyp.c
+++ b/src/ao_polyp.c
@@ -19,6 +19,10 @@
USA.
***/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <string.h>
#include <signal.h>
@@ -27,10 +31,6 @@
#include <ao/ao.h>
#include <ao/plugin.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
/* Unfortunately libao doesn't allow "const" for these structures... */
static char * ao_polyp_options[] = {
"server",