#39 Use autotools for build

open
nobody
None
5
2011-04-27
2011-04-27
Anonymous
No

Use autotools to build minidlna. Makes porting a lot easier..

Discussion


  • Anonymous
    2011-04-27

    Configure.ac

     
    Attachments

  • Anonymous
    2011-04-27

    Makefile.am

     
    Attachments

  • Anonymous
    2011-04-27

    autogen.sh

     
    Attachments

  • Anonymous
    2011-04-27

    Simply, place the three files in the minidlna root folder. Run ./autogen.sh.
    This will generate a configure script..

    Maintainers from all distributions will be a lot happier..

     

  • Anonymous
    2011-04-27

    Also, you will need to change the include path for ffmpeg libraries in
    metadata.c

    from:
    #include <avutil.h>
    #include <avcodec.h>
    #include <avformat.h>

    to:
    #include <libavutil/avutil.h>
    #include <libavcodec/avcodec.h>
    #include <libavformat/avformat.h>

     

  • Anonymous
    2011-04-27

    All-in-one autotools patch

     
    Attachments
  • AzaToth
    AzaToth
    2011-05-16

    My "fork" maintains a scons build system: https://github.com/azatoth/minidlna