summaryrefslogtreecommitdiff
blob: 8ca134f9a3a747ee4d5363f43408d3c8278bb35c (plain)
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
--- configure.in.old	2004-08-26 15:19:09.404502200 +0200
+++ configure.in	2004-08-26 15:40:08.283123560 +0200
@@ -17,11 +17,26 @@
 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(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,[
   GDK_IMLIB="gdk_imlib utils"],[
   GDK_IMLIB="" 
   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_ARG_ENABLE(modules, [  --disable-modules       Disables dynamic module loading],[