ref: 7aabc36f46dd1f772cae3b7aa191e062b30aea16
parent: f35fa23e3968e21d3081315e382178cdf0ee57b3
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Tue Oct 17 07:18:30 EDT 2017
added faacgui.exe to the build, does compile but doesn't really work.
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,8 @@
AM_CONDITIONAL(MINGW, test "$host_os" = "mingw32")
AM_CONDITIONAL(CPUSSE, test "$host_cpu" = "x86_64" || test "$host_cpu" = "i686")
+AC_CHECK_TOOL(WINDRES, windres)
+
AC_C_BIGENDIAN
dnl Checks for header files required for mp4.h
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -4,13 +4,18 @@
dist_man_MANS = ../docs/faac.1
faac_SOURCES = main.c input.c mp4write.c input.h mp4write.h
-EXTRA_faac_SOURCES = getopt.c
+EXTRA_faac_SOURCES = getopt.c faacgui.rc
AM_CPPFLAGS = -I$(top_srcdir)/include
-LDADD = $(top_builddir)/libfaac/libfaac.la -lm
+faac_LDADD = $(top_builddir)/libfaac/libfaac.la -lm
if MINGW
-LDADD += -lws2_32
+bin_PROGRAMS += faacgui
+faacgui_SOURCES = maingui.c input.c input.h resource.h
+faacgui_LDADD = $(faac_LDADD) faacguires.o -lcomdlg32
+faac_LDADD += -lws2_32
+faacguires.o:
+ $(WINDRES) faacgui.rc faacguires.o
endif
endif # !USE_DRM
--- a/frontend/faacgui.rc
+++ b/frontend/faacgui.rc
@@ -128,9 +128,7 @@
IDD_MAINDIALOG DLGINIT
BEGIN
- IDC_MPEGVERSION, 0x403, 1, 0
-"\000"
- 0
+ IDC_MPEGVERSION, 0x403, 1, 0, "\000", 0
END
#endif // English (U.S.) resources