#404 MSYS patch to configure.ac

1.3.0
closed-fixed
Erik
None
2
2014-03-21
2013-10-03
Fab Nicol
No

MSYS build is broken on Windows 32 with a recent configuration (latest install, gcc-4.8.1, make 3.99, w32 port).

This is due to a broken MKDIR_P macro automatically introduced by aclocal at autoreconf stage (autogen.sh). As a result, Makefiles contain '/c/.../mkdir.exe -p' whilst they should have 'c:/.../mkdir.exe -p'

FIXES: either a) or b) [preferred option]
a) run: make MKDIR_P="mkdir.exe -p" to override aclocal macro on make command line
b) introduce the autoconf macro AC_PROG_MKDIR_P somewhere in configure.ac

Both ways fix the MSYS build. Suggest a master branch commit as fix may be relevant to other platforms.

Discussion

  • Erik
    Erik
    2014-03-21

    Thanks. Fixed in:

    commit 95bc23a811b9a1264bed39669f4b6a823ab81a92
    Author: Erik de Castro Lopo <erikd@mega-nerd.com>
    Date:   Fri Mar 21 18:27:37 2014 +1100
    
    configure.ac : Add AC_PROG_MKDIR_P.
    
    Closes: https://sourceforge.net/p/flac/bugs/404/
    
     
  • Erik
    Erik
    2014-03-21

    • status: open --> closed-fixed
    • assigned_to: Erik