1 |
AC_INIT(configure.in) |
AC_INIT(configure.in) |
2 |
AM_CONFIG_HEADER(config.h) |
AM_CONFIG_HEADER(config.h) |
3 |
|
|
4 |
AM_INIT_AUTOMAKE(libgig, 0.7.1, cuse@users.sourceforge.net) |
AM_INIT_AUTOMAKE(libgig, 1.0.0, cuse@users.sourceforge.net) |
5 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
6 |
|
|
7 |
|
|
21 |
# 6. If any interfaces have been removed since the last public release, then set age |
# 6. If any interfaces have been removed since the last public release, then set age |
22 |
# to 0. |
# to 0. |
23 |
|
|
24 |
# we wait to bump the version until the next point release |
SHARED_VERSION_INFO="1:0:0" |
|
SHARED_VERSION_INFO="0:0:0" |
|
25 |
|
|
26 |
|
|
27 |
AC_C_BIGENDIAN |
AC_C_BIGENDIAN |
33 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
34 |
AC_SUBST(SHARED_VERSION_INFO) |
AC_SUBST(SHARED_VERSION_INFO) |
35 |
|
|
36 |
AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec libgig.pc Doxyfile) |
// check for presence of libsndfile |
37 |
|
PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2, ac_cv_sndfile=1, ac_cv_sndfile=0) |
38 |
|
AC_DEFINE_UNQUOTED([HAVE_SNDFILE],${ac_cv_sndfile}, [Set to 1 if you have libsndfile.]) |
39 |
|
AC_SUBST(SNDFILE_CFLAGS) |
40 |
|
AC_SUBST(SNDFILE_LIBS) |
41 |
|
|
42 |
|
AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec gig.pc Doxyfile) |