16 |
# 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 |
17 |
# to 0. |
# to 0. |
18 |
|
|
19 |
LIBGIG_CURRENT=1 |
LIBGIG_CURRENT=2 |
20 |
LIBGIG_REVISION=0 |
LIBGIG_REVISION=0 |
21 |
LIBGIG_AGE=0 |
LIBGIG_AGE=1 |
22 |
SHARED_VERSION_INFO="$LIBGIG_CURRENT:$LIBGIG_REVISION:$LIBGIG_AGE" |
SHARED_VERSION_INFO="$LIBGIG_CURRENT:$LIBGIG_REVISION:$LIBGIG_AGE" |
23 |
|
|
24 |
|
|
41 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
42 |
if test "$ac_cv_sndfile" = "1"; then |
if test "$ac_cv_sndfile" = "1"; then |
43 |
have_audio_file_lib="true"; |
have_audio_file_lib="true"; |
44 |
|
else |
45 |
|
# no libsndfile? then check for presence of libaudiofile |
46 |
|
PKG_CHECK_MODULES(AUDIOFILE, audiofile >= 0.2.3, ac_cv_audiofile=1, ac_cv_audiofile=0) |
47 |
|
AC_DEFINE_UNQUOTED([HAVE_AUDIOFILE],${ac_cv_audiofile}, [Set to 1 if you have libaudiofile.]) |
48 |
|
AC_SUBST(AUDIOFILE_CFLAGS) |
49 |
|
AC_SUBST(AUDIOFILE_LIBS) |
50 |
|
if test "$ac_cv_audiofile" = "1"; then |
51 |
|
have_audio_file_lib="true"; |
52 |
|
fi |
53 |
fi |
fi |
|
|
|
|
# check for presence of libaudiofile |
|
|
PKG_CHECK_MODULES(AUDIOFILE, audiofile >= 0.2.3, ac_cv_audiofile=1, ac_cv_audiofile=0) |
|
|
AC_DEFINE_UNQUOTED([HAVE_AUDIOFILE],${ac_cv_audiofile}, [Set to 1 if you have libaudiofile.]) |
|
|
AC_SUBST(AUDIOFILE_CFLAGS) |
|
|
AC_SUBST(AUDIOFILE_LIBS) |
|
|
if test "$ac_cv_audiofile" = "1"; then |
|
|
have_audio_file_lib="true"; |
|
|
fi |
|
|
|
|
54 |
if test "$have_audio_file_lib" = "false"; then |
if test "$have_audio_file_lib" = "false"; then |
55 |
echo "No audio file library found!" |
echo "No audio file library found!" |
56 |
echo "Sorry, you need either libsndfile or libaudiofile to compile libgig." |
echo "Sorry, you need either libsndfile or libaudiofile to compile libgig." |