Commit 04da2918 by Maarten L. Hekkelman

disable resources by default

parent 0e5c3dea
...@@ -24,6 +24,9 @@ AC_ARG_VAR([DEBUG], [Build a debug version of the application]) ...@@ -24,6 +24,9 @@ AC_ARG_VAR([DEBUG], [Build a debug version of the application])
AC_ARG_VAR([MRC], [Specify a location for the mrc executable]) AC_ARG_VAR([MRC], [Specify a location for the mrc executable])
PKG_PROG_PKG_CONFIG
dnl using resources?
USE_RSRC=0 USE_RSRC=0
if test "x$MRC" = "x"; then if test "x$MRC" = "x"; then
...@@ -35,9 +38,9 @@ if test "x$MRC" = "x"; then ...@@ -35,9 +38,9 @@ if test "x$MRC" = "x"; then
else else
AC_ARG_ENABLE( AC_ARG_ENABLE(
resources, resources,
[AS_HELP_STRING([--disable-resources], [Do not use mrc to store data in resources])]) [AS_HELP_STRING([--enable-resources], [Use mrc to store data in resources])])
AS_IF([test "x$enable_resources" != "xno" ], [ AS_IF([test "x$enable_resources" = "xyes" ], [
USE_RSRC=1 USE_RSRC=1
]) ])
fi fi
......
...@@ -75,3 +75,6 @@ ...@@ -75,3 +75,6 @@
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
/* Use mrc to store resources */
#undef USE_RSRC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment