source:
scripts_home/scripts/untested/blfs-patches/flac-1.1.2-noogg.patch@
1c9c5c3
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.6 KB |
-
configure.in
Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> Date: 2005-07-24 Initial Package Version: 1.1.2 Upstream Status: Unknown Origin: Gentoo Description:
old new 35 35 AM_PROG_AS 36 36 AC_PROG_CXX 37 37 AC_PROG_MAKE_SET 38 AC_PATH_PROG(PKGCONFIG, pkg-config) 38 39 39 40 AC_CHECK_TYPES(socklen_t, [], []) 40 41 … … 151 152 fi 152 153 153 154 dnl check for ogg library 154 XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built])) 155 AM_CONDITIONAL(FLaC__HAS_OGG, [test x$have_ogg = xyes]) 156 if test x$have_ogg = xyes ; then 157 AC_DEFINE(FLAC__HAS_OGG) 155 AC_ARG_ENABLE([ogg], 156 AC_HELP_STRING([--disable-ogg], [Disable ogg support (default:test)]), 157 [want_ogg=$enableval ], [ want_ogg=yes ] ) 158 159 AM_CONDITIONAL(FLaC__HAS_OGG, test x$want_ogg = xyes) 160 161 if test "x$want_ogg" = "xyes"; then 162 AC_CHECK_HEADER(ogg/ogg.h, 163 [ogg_ok=yes 164 OGG_CFLAGS="`$PKGCONFIG ogg --cflags`" 165 OGG_LIBS="`$PKGCONFIG ogg --libs`" 166 AC_SUBST(OGG_CFLAGS) 167 AC_SUBST(OGG_LIBS) 168 ], [ogg_ok=no 169 OGG_CFLAGS="" 170 OGG_LIBS="" 171 AC_SUBST(OGG_CFLAGS) 172 AC_SUBST(OGG_LIBS) 173 ]) 174 if test "x$ogg_ok" = "xyes"; then 175 AC_DEFINE(FLAC__HAS_OGG) 176 else 177 AC_MSG_WARN(*** Ogg headers not found. Ogg support disabled.) 178 fi 179 else 180 AC_MSG_RESULT([checking for ogg support... disabled]) 181 OGG_CFLAGS="" 182 OGG_LIBS="" 183 AC_SUBST(OGG_CFLAGS) 184 AC_SUBST(OGG_LIBS) 158 185 fi 159 186 160 187 AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built]))
Note:
See TracBrowser
for help on using the repository browser.