source: scripts/untested/blfs-patches/flac-1.1.2-noogg.patch@ def3913

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since def3913 was fd5b1fe, checked in by Jim Gifford <clfs@…>, 19 years ago

r588@server (orig r586): ryan | 2005-08-05 22:47:43 -0700
Add pile of new patches for blfs packages



  • Property mode set to 100644
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  
    3535AM_PROG_AS
    3636AC_PROG_CXX
    3737AC_PROG_MAKE_SET
     38AC_PATH_PROG(PKGCONFIG, pkg-config)
    3839
    3940AC_CHECK_TYPES(socklen_t, [], [])
    4041
     
    151152fi
    152153
    153154dnl 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)
     155AC_ARG_ENABLE([ogg],
     156              AC_HELP_STRING([--disable-ogg], [Disable ogg support (default:test)]),
     157              [want_ogg=$enableval ], [ want_ogg=yes ] )
     158
     159AM_CONDITIONAL(FLaC__HAS_OGG, test x$want_ogg = xyes)
     160
     161if 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
     179else
     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)
    158185fi
    159186
    160187AM_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.