|
|
@@ -92,6 +92,8 @@ AC_ARG_ENABLE(imlib2, |
|
|
|
dnl conditional builds |
|
|
|
AC_ARG_ENABLE(debug, |
|
|
|
[ --enable-debug build debug versions of the library (default no)]) |
|
|
|
AC_ARG_ENABLE(prof, |
|
|
|
[ --enable-prof activate built-in profiling (default no)]) |
|
|
|
AC_ARG_ENABLE(plugins, |
|
|
|
[ --enable-plugins make X11 and GL drivers plugins (default disabled)]) |
|
|
|
AC_ARG_ENABLE(doc, |
|
|
@@ -321,6 +323,10 @@ if test "${enable_debug}" = "yes"; then |
|
|
|
AC_DEFINE(DEBUG, 1, Define to 1 to activate debug) |
|
|
|
fi |
|
|
|
|
|
|
|
if test "${enable_prof}" = "yes"; then |
|
|
|
AC_DEFINE(PROF, 1, Define to 1 to activate profiling) |
|
|
|
fi |
|
|
|
|
|
|
|
if test "${enable_plugins}" = "yes"; then |
|
|
|
ac_cv_my_have_plugins="yes" |
|
|
|
AC_DEFINE(USE_PLUGINS, 1, Define to 1 to activate plugins) |
|
|
|