__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Configure paths for libvorbis
# Jack Moffitt <jack@icecast.org> 10-21-2000
# Shamelessly stolen from Owen Taylor and Manish Singh
# thomasvs added check for vorbis_bitrate_addblock which is new in rc3
dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS
dnl
AC_DEFUN([XIPH_PATH_VORBIS],
[dnl
dnl Get the cflags and libraries
dnl
AC_ARG_WITH(vorbis,AC_HELP_STRING([--with-vorbis=PFX],[Prefix where libvorbis is installed (optional)]), vorbis_prefix="$withval", vorbis_prefix="")
AC_ARG_WITH(vorbis-libraries,AC_HELP_STRING([--with-vorbis-libraries=DIR],[Directory where libvorbis library is installed (optional)]), vorbis_libraries="$withval", vorbis_libraries="")
AC_ARG_WITH(vorbis-includes,AC_HELP_STRING([--with-vorbis-includes=DIR],[Directory where libvorbis header files are installed (optional)]), vorbis_includes="$withval", vorbis_includes="")
AC_ARG_ENABLE(vorbistest,AC_HELP_STRING([--disable-vorbistest],[Do not try to compile and run a test Vorbis program]),, enable_vorbistest=yes)
if test "x$vorbis_libraries" != "x" ; then
VORBIS_LIBS="-L$vorbis_libraries"
elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then
VORBIS_LIBS=""
elif test "x$vorbis_prefix" != "x" ; then
VORBIS_LIBS="-L$vorbis_prefix/lib"
elif test "x$prefix" != "xNONE"; then
VORBIS_LIBS="-L$prefix/lib"
fi
if test "x$vorbis_prefix" != "xno" ; then
VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
fi
VORBISFILE_LIBS="-lvorbisfile"
VORBISENC_LIBS="-lvorbisenc"
if test "x$vorbis_includes" != "x" ; then
VORBIS_CFLAGS="-I$vorbis_includes"
elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then
VORBIS_CFLAGS=""
elif test "x$vorbis_prefix" != "x" ; then
VORBIS_CFLAGS="-I$vorbis_prefix/include"
elif test "x$prefix" != "xNONE"; then
VORBIS_CFLAGS="-I$prefix/include"
fi
AC_MSG_CHECKING(for Vorbis)
if test "x$vorbis_prefix" = "xno" ; then
no_vorbis="disabled"
enable_vorbistest="no"
else
no_vorbis=""
fi
if test "x$enable_vorbistest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
dnl
dnl Now check if the installed Vorbis is sufficiently new.
dnl
rm -f conf.vorbistest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vorbis/codec.h>
#include <vorbis/vorbisenc.h>
int main ()
{
vorbis_block vb;
vorbis_dsp_state vd;
vorbis_info vi;
vorbis_info_init (&vi);
vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
vorbis_analysis_init (&vd, &vi);
vorbis_block_init (&vd, &vb);
/* this function was added in 1.0rc3, so this is what we're testing for */
vorbis_bitrate_addblock (&vb);
system("touch conf.vorbistest");
return 0;
}
],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
if test "x$no_vorbis" = "xdisabled" ; then
AC_MSG_RESULT(no)
ifelse([$2], , :, [$2])
elif test "x$no_vorbis" = "x" ; then
AC_MSG_RESULT(yes)
ifelse([$1], , :, [$1])
else
AC_MSG_RESULT(no)
if test -f conf.vorbistest ; then
:
else
echo "*** Could not run Vorbis test program, checking why..."
CFLAGS="$CFLAGS $VORBIS_CFLAGS"
LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <vorbis/codec.h>
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means Vorbis was incorrectly installed"
echo "*** or that you have moved Vorbis since it was installed." ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
VORBIS_CFLAGS=""
VORBIS_LIBS=""
VORBISFILE_LIBS=""
VORBISENC_LIBS=""
ifelse([$2], , :, [$2])
fi
AC_SUBST(VORBIS_CFLAGS)
AC_SUBST(VORBIS_LIBS)
AC_SUBST(VORBISFILE_LIBS)
AC_SUBST(VORBISENC_LIBS)
rm -f conf.vorbistest
])
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| argz.m4 | File | 2.56 KB | 0644 |
|
| bison-i18n.m4 | File | 1.88 KB | 0644 |
|
| codeset.m4 | File | 842 B | 0644 |
|
| extern-inline.m4 | File | 4.27 KB | 0644 |
|
| fcntl-o.m4 | File | 4.56 KB | 0644 |
|
| fontutil.m4 | File | 13.83 KB | 0644 |
|
| freetype2.m4 | File | 6.18 KB | 0644 |
|
| gettext.m4 | File | 15.49 KB | 0644 |
|
| glibc2.m4 | File | 830 B | 0644 |
|
| glibc21.m4 | File | 907 B | 0644 |
|
| gpg-error.m4 | File | 3.52 KB | 0644 |
|
| iconv.m4 | File | 9.06 KB | 0644 |
|
| intdiv0.m4 | File | 2.35 KB | 0644 |
|
| intl.m4 | File | 11.84 KB | 0644 |
|
| intldir.m4 | File | 917 B | 0644 |
|
| intlmacosx.m4 | File | 2.47 KB | 0644 |
|
| intmax.m4 | File | 1.1 KB | 0644 |
|
| inttypes-pri.m4 | File | 1.22 KB | 0644 |
|
| inttypes_h.m4 | File | 1020 B | 0644 |
|
| lcmessage.m4 | File | 1.33 KB | 0644 |
|
| lib-ld.m4 | File | 3.6 KB | 0644 |
|
| lib-link.m4 | File | 32.28 KB | 0644 |
|
| lib-prefix.m4 | File | 8.27 KB | 0644 |
|
| libcurl.m4 | File | 9.93 KB | 0644 |
|
| libgcrypt.m4 | File | 4.62 KB | 0644 |
|
| libtool.m4 | File | 279.78 KB | 0644 |
|
| libxml.m4 | File | 7.7 KB | 0644 |
|
| libxslt.m4 | File | 7.93 KB | 0644 |
|
| lock.m4 | File | 1.43 KB | 0644 |
|
| longlong.m4 | File | 4.63 KB | 0644 |
|
| ltdl.m4 | File | 26.42 KB | 0644 |
|
| ltoptions.m4 | File | 12.06 KB | 0644 |
|
| ltsugar.m4 | File | 4.27 KB | 0644 |
|
| ltversion.m4 | File | 690 B | 0644 |
|
| lt~obsolete.m4 | File | 5.98 KB | 0644 |
|
| mysql.m4 | File | 4.53 KB | 0644 |
|
| nls.m4 | File | 1.19 KB | 0644 |
|
| ogg.m4 | File | 3.87 KB | 0644 |
|
| opus.m4 | File | 3.98 KB | 0644 |
|
| pkg.m4 | File | 7.15 KB | 0644 |
|
| po.m4 | File | 18.52 KB | 0644 |
|
| printf-posix.m4 | File | 1.54 KB | 0644 |
|
| progtest.m4 | File | 3.02 KB | 0644 |
|
| shout.m4 | File | 2.15 KB | 0644 |
|
| size_max.m4 | File | 2.99 KB | 0644 |
|
| speex.m4 | File | 3.62 KB | 0644 |
|
| stdint_h.m4 | File | 995 B | 0644 |
|
| threadlib.m4 | File | 14.8 KB | 0644 |
|
| uintmax_t.m4 | File | 1.09 KB | 0644 |
|
| visibility.m4 | File | 3.27 KB | 0644 |
|
| vorbis.m4 | File | 4.75 KB | 0644 |
|
| wchar_t.m4 | File | 818 B | 0644 |
|
| wint_t.m4 | File | 1.03 KB | 0644 |
|
| xsize.m4 | File | 406 B | 0644 |
|