Menu

#50 HIP patches to compile on MinGW

None
closed-rejected
nobody
5
2020-08-19
2010-07-16
Leigh Smith
No

HIP requires a few minimal patches to compile on MinGW for Windows. hip.h requires #include <stdint.h> for a definition of int64_t and the AM_PROG_LIBTOOL definition in configure.in seems to be completely removed in recent autotools, for example autoconf 2.66, automake 1.11.1.

Discussion

  • Leigh Smith

    Leigh Smith - 2010-07-16

    Patch for hip.h

     
  • Leigh Smith

    Leigh Smith - 2010-07-16

    Patch for recent autoconf

     
  • Leigh Smith

    Leigh Smith - 2010-07-16

    My patch for configure.in isn't complete, due to my inexperience with autotools. AM_PROG_LIBTOOL has been changed to AC_PROG_TOOL, but that alone is insufficient to appease automake. I needed to add a definition AC_CONFIG_MACRO_DIR([m4]) to define where the m4 files generated by libtoolize can be put and then following recommendations of libtoolize --verbose, manually added the m4 files to aclocal.m4. This then configured and built correctly, but requires a manual inclusion of the extra m4 files. Perhaps there is a way to include them in aclocal.m4 but I haven't been able to determine how to do this?

     
  • Leigh Smith

    Leigh Smith - 2010-07-16
    • labels: 310664 --> configure/Makefiles
     
  • Alexander Leidinger

    • status: open --> closed-rejected
    • Group: -->
     
  • Alexander Leidinger

    We are switching to using libmp123 instead of the internal decoder. Any patches for the internal decoder are obsolete now.

     

Log in to post a comment.