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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
diff -NurdB smooth-themes-0.5.8/configure.in smooth-themes-0.5.8-patched/configure.in
--- smooth-themes-0.5.8/configure.in 2004-06-20 15:25:50.000000000 -0500
+++ smooth-themes-0.5.8-patched/configure.in 2005-08-04 03:57:51.000000000 -0500
@@ -12,45 +12,13 @@
AC_PROG_INSTALL
-AC_ARG_ENABLE(gtk-1, [ --enable-gtk-1 Only install for GTK+ 1.2.X], gtk_1=$enableval, gtk_1="no")
-AC_ARG_ENABLE(gtk-2, [ --enable-gtk-2 Only install for GTK+ 2.X], gtk_2=$enableval, gtk_2="yes")
-AC_ARG_ENABLE(local-install, [ --enable-local-install try to install local for the user, instead of system wide] , local_install=$enableval, local_install="no")
-
-if test $gtk_1 = "yes"; then
- gtk_config_progs="gtk-config gtk12-config"
- AC_PATH_PROGS(gtk_config, $gtk_config_progs, no, $prefix/bin)
- if test $gtk_config = "no"; then
- AC_MSG_ERROR(Could not find installation of GTK+ 1.2.X. Try ./configure --help)
- fi
-
- AC_PATH_PROGS(gdk_pixbuf_config, "gdk-pixbuf-config", no, $prefix/bin)
- if test $gdk_pixbuf_config = "no"; then
- AC_MSG_ERROR(Could not find installation of GDK-Pixbuf, this probably means you also are missing smooth-engine for GTK 1.2.X, otherwise try ./configure --help)
- fi
-
- if test $local_install = "yes"; then
- SMOOTH_GTK1_THEMES_DIR="~/.themes"
- else
- SMOOTH_GTK1_THEMES_DIR="$datadir/themes"
- fi
-
- AC_SUBST(SMOOTH_GTK1_THEMES_DIR)
- BUILD_SUBDIRS="gtk"
-fi
-
-if test $gtk_2 = "yes"; then
- PKG_CHECK_MODULES(SMOOTH_GTK2, gtk+-2.0 >= 2.0.0, ,
- AC_MSG_ERROR([GTK+-2.0 is required]))
-
- if test $local_install = "yes"; then
- SMOOTH_GTK2_THEMES_DIR="~/.themes"
- else
- SMOOTH_GTK2_THEMES_DIR="$datadir/themes"
- fi
- AC_SUBST(SMOOTH_GTK2_THEMES_DIR)
+SMOOTH_GTK1_THEMES_DIR="$datadir/themes"
+AC_SUBST(SMOOTH_GTK1_THEMES_DIR)
+BUILD_SUBDIRS="gtk"
- BUILD_SUBDIRS="$BUILD_SUBDIRS gtk-2.0"
-fi
+SMOOTH_GTK2_THEMES_DIR="$datadir/themes"
+AC_SUBST(SMOOTH_GTK2_THEMES_DIR)
+BUILD_SUBDIRS="$BUILD_SUBDIRS gtk-2.0"
AC_SUBST(BUILD_SUBDIRS)
|