summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 09:26:12 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 09:26:12 +0200
commit112528c8abaf712e2db0f8aef6b7d64b52281127 (patch)
treea1dcca25c839082448384cee8ee09aee03808957 /configure.in
parent6a33c038cd726007644282009f253c5394e0a07e (diff)
downloadpianobar-112528c8abaf712e2db0f8aef6b7d64b52281127.tar.gz
pianobar-112528c8abaf712e2db0f8aef6b7d64b52281127.tar.bz2
pianobar-112528c8abaf712e2db0f8aef6b7d64b52281127.zip
Added missing files to repo
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/configure.in b/configure.in
new file mode 100644
index 0000000..2206af2
--- /dev/null
+++ b/configure.in
@@ -0,0 +1,37 @@
+AC_INIT([pianobar], [20080609], [PromyLOPh@gmail.com])
+AC_CONFIG_SRCDIR([src/main.c])
+AM_INIT_AUTOMAKE([-Wall])
+
+AC_PROG_CC
+AM_PROG_CC_C_O
+AM_SANITY_CHECK
+AM_PROG_LIBTOOL
+
+PKG_PROG_PKG_CONFIG
+
+PKG_CHECK_MODULES(LIBCURL, libcurl >= 7.18.0)
+AC_SUBST(LIBCURL_CFLAGS)
+AC_SUBST(LIBCURL_LIBS)
+
+PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.6.31)
+AC_SUBST(LIBXML_CFLAGS)
+AC_SUBST(LIBXML_LIBS)
+
+PKG_CHECK_MODULES(LIBAO, ao >= 0.8.8)
+AC_SUBST(LIBAO_CFLAGS)
+AC_SUBST(LIBAO_LIBS)
+
+AC_CHECK_LIB([faad], [NeAACDecOpen], [LIBFAAD_LIBS=-lfaad], AC_MSG_ERROR([libfaad2 is required. See INSTALL]))
+AC_SUBST(LIBFAAD_LIBS)
+
+# FIXME: check for pthread
+
+AC_CHECK_HEADERS([stdlib.h string.h])
+
+AC_CHECK_FUNCS([memset])
+
+AC_TYPE_SIZE_T
+
+AC_CONFIG_FILES(Makefile src/Makefile libpiano/Makefile)
+
+AC_OUTPUT