Commits

shl...@7081e830-ea04-0410-ae62-fb6148e2d9db  committed 0cf9025

Trying to fix the build on cygwin.

  • Participants
  • Parent commits 766419d
  • Branches maintenance

Comments (0)

Files changed (3)

File 2.0.x/src/config/Makefile

 MP4H_min = $(MP4H_DIR)/Makefile.in
 MP4H_cfg = $(MP4H_DIR)/configure
 
-all: $(MP4H_min) $(MP4H_cfg) ../configure noautocache 
+all: run_modules_file $(MP4H_min) $(MP4H_cfg) ../configure noautocache 
 
 ../configure: configure.in aclocal.m4
 	rm -f ../configure
 noautocache:
 	rm -fr autom4te.cache
 
+run_modules_file:
+	sh prep_modules_files.sh
+

File 2.0.x/src/config/prep_modules_files.sh

+#!/bin/bash
+
+myfile=../wml_backend/p2_mp4h/modules/subdirs.am
+if test -n "$CYGWIN" ; then
+    echo "SUBDIRS = " > "$myfile"
+else
+    echo "SUBDIRS = intl system" > "$myfile"
+fi

File 2.0.x/src/wml_backend/p2_mp4h/modules/Makefile.am

+include subdirs.am
 
-SUBDIRS  = system intl
-