mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 23:10:10 +01:00
4814b482fb
There are still a few things to do such as add a configuration GUI, but these things are marked via TODO in the source files. I also added the autoconf/automake building system. To generate everything you need, run ./bootstrap in the top level directory, it will generate the configure script. Then run ./configure. It will generate Makefile.unix, so build it via make -f Makefile.unix. Everything should be setup properly, after building, execute 'make -f Makefile.unix install' to install. git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@165 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_PREREQ(2.53)
|
|
AC_INIT(audacious-vgmstream,1.0.0)
|
|
AM_INIT_AUTOMAKE(audacious-vgmstream, 1.0.0)
|
|
AM_CONFIG_HEADER(unix/config.h)
|
|
AM_DISABLE_STATIC
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_CXX
|
|
AM_PROG_CC_STDC
|
|
AC_HEADER_STDC
|
|
AC_PROG_INSTALL
|
|
AM_PROG_LIBTOOL
|
|
|
|
AC_PATH_X
|
|
AC_PATH_XTRA
|
|
|
|
PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 1.4.0],,
|
|
[AC_MSG_ERROR([Cannot find Audacious, have you installed audacious yet?])]
|
|
)
|
|
|
|
dnl Check for GTK/GLib/GThread/Pango
|
|
|
|
PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.6.0 gtk+-2.0 >= 2.6.0 gthread-2.0 pango],
|
|
, [AC_MSG_ERROR([Cannot find glib2/gtk2/pango])]
|
|
)
|
|
|
|
CFLAGS="$CFLAGS $AUDACIOUS_CFLAGS"
|
|
LIBS="$LIBS $AUDACIOUS_LIBS $GTK_LIBS"
|
|
|
|
plugindir=`pkg-config audacious --variable=plugin_dir`
|
|
AC_SUBST(plugindir)
|
|
|
|
INPUT_PLUGIN_DIR="Input"
|
|
AC_SUBST(INPUT_PLUGIN_DIR)
|
|
|
|
#AC_CHECK_HEADERS(regex.h,,AC_MSG_ERROR(regex.h missing))
|
|
#AC_CHECK_FUNCS(regcomp regexec regfree)
|
|
|
|
AC_PATH_X
|
|
AC_PATH_XTRA
|
|
|
|
AC_OUTPUT([
|
|
Makefile.unix
|
|
src/Makefile.unix
|
|
src/coding/Makefile.unix
|
|
src/layout/Makefile.unix
|
|
src/meta/Makefile.unix
|
|
unix/Makefile.unix
|
|
])
|