#23 Flac should provide option for users to choose FLAC++ or not

closed-fixed
Josh Coalson
None
5
2007-08-29
2007-05-22
Irene Huang
No

Configuration option should be provided for the users to conveniently choose to ship FLAC++ or not.

Discussion

  • Irene Huang
    Irene Huang
    2007-05-22

    Logged In: YES
    user_id=1652242
    Originator: YES

    File Added: flac.diff.txt

     
  • Irene Huang
    Irene Huang
    2007-05-22

    proposed patch

     
    Attachments
  • Josh Coalson
    Josh Coalson
    2007-05-28

    • labels: 354959 -->
    • assigned_to: nobody --> jcoalson
     
  • Brian Cameron
    Brian Cameron
    2007-08-01

    Logged In: YES
    user_id=689771
    Originator: NO

    Note that this requirement is by Sun. Since C++ libraries can only be compiled and linked against if the user is using the same compiler, Sun doesn't want to ship these interfaces and support them. If an end user really wants to build their own code that uses the C++ interfaces, then that user would need to provide their own private flac interfaces along with their product to ensure that they are using the right compiler with their application.

    So, it would be nice, if flac allowed you to configure if you want the C++ interfaces to be installed or not.

     
  • Josh Coalson
    Josh Coalson
    2007-08-29

    • status: open --> closed-fixed
     
  • Josh Coalson
    Josh Coalson
    2007-08-29

    Logged In: YES
    user_id=78173
    Originator: NO

    ok, I checked in something similar. how will this work if I end up rewriting flac and/or metaflac to use libFLAC++? build the cpp lib always but not install if the option is given? not sure how to do that with automake.

     
  • Brian Cameron
    Brian Cameron
    2007-08-29

    Logged In: YES
    user_id=689771
    Originator: NO

    Yes, building the libraries and linking should be fine. Just provide a configure option to not install the C++ header files. We can worry about this if & when you change flac or metaflac to use C++.