1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
AC_PREREQ(2.52)
AC_INIT
if test -z "$GNUSTEP_MAKEFILES"; then
AC_MSG_ERROR([You must run the GNUstep initialization script first!])
fi
AC_CHECK_HEADERS([sys/resource.h])
#--------------------------------------------------------------------
# Use config.guess, config.sub and install-sh provided by gnustep-make
#--------------------------------------------------------------------
AC_CONFIG_AUX_DIR([$GNUSTEP_MAKEFILES])
AC_CONFIG_SUBDIRS([Finder/Modules Thumbnailer])
AC_CONFIG_HEADER([config.h])
#--------------------------------------------------------------------
# Debug logging
#--------------------------------------------------------------------
AC_ARG_ENABLE(debug_log,
[ --enable-debug-log Enable debug logging],,
enable_debug_log=no)
if test "$enable_debug_log" = "no"; then
GW_DEBUG_LOG=0
else
GW_DEBUG_LOG=1
fi
AC_DEFINE_UNQUOTED([GW_DEBUG_LOG], [$GW_DEBUG_LOG], [debug logging])
AC_CONFIG_FILES([GNUmakefile])
AC_OUTPUT
|