|
|
dnl incase it is broken for example. | dnl incase it is broken for example. |
AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes") | AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes") |
| |
|
AC_ARG_ENABLE(gdk, [ --enable-gdk enable gdk_imlib compilation [default=yes]],[ |
|
if test x$enableval = xyes; then |
|
disable_gdk="no" |
|
else |
|
disable_gdk="yes" |
|
fi],disable_gdk=no) |
|
|
|
if test x$disable_gdk = xno; then |
|
AC_MSG_RESULT(no) |
|
|
AM_PATH_GTK(1.2.1,[ | AM_PATH_GTK(1.2.1,[ |
GDK_IMLIB="gdk_imlib utils"],[ | GDK_IMLIB="gdk_imlib utils"],[ |
GDK_IMLIB="" | GDK_IMLIB="" |
AC_MSG_WARN([*** gdk_imlib will not be built ***])]) | AC_MSG_WARN([*** gdk_imlib will not be built ***])]) |
| |
|
else |
|
AC_MSG_RESULT(yes) |
|
GDK_IMLIB="" |
|
fi |
|
|
AC_MSG_CHECKING(whether to build gmodulized imlib) | AC_MSG_CHECKING(whether to build gmodulized imlib) |
| |
AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[ | AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[ |