summaryrefslogtreecommitdiff
path: root/multimedia/dvdstyler/patches/patch-ac
blob: f1645f277674697cc2184bfdd8ceee4fcc3a8eb6 (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
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
$NetBSD: patch-ac,v 1.2 2007/10/25 00:02:02 wiz Exp $

--- configure.orig	2007-03-19 17:18:01.000000000 +0000
+++ configure
@@ -1325,6 +1325,10 @@ Optional Features:
   --enable-debug          Enable debugging information
   --disable-dependency-tracking Speeds up one-time builds
   --enable-dependency-tracking  Do not reject slow dependency extractors
+  --enable-kde            enable kde support (default: yes)
+  --enable-gnome          enable gnome support (default: yes)
+  --enable-libgnomeui     enable libgnomeui to render thumbnails (default:
+                          yes)
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -4505,6 +4509,14 @@ else
 fi
 
 else
+	# Check whether --enable-kde was given.
+if test "${enable_kde+set}" = set; then
+  enableval=$enable_kde; ac_cv_enable_kde="$enableval"
+else
+  ac_cv_enable_kde="yes"
+fi
+
+	if test x"$ac_cv_enable_kde" = x"yes" ; then
 
   # Extract the first word of "kde-config", so it can be a program name with args.
 set dummy kde-config; ac_word=$2
@@ -4574,6 +4586,19 @@ else
 fi
 
 
+	else
+		{ echo "$as_me:$LINENO: WARNING: *** kde support disabled ***" >&5
+echo "$as_me: WARNING: *** kde support disabled ***" >&2;}
+		USE_KDE_FALSE="yes"
+	fi
+	# Check whether --enable-gnome was given.
+if test "${enable_gnome+set}" = set; then
+  enableval=$enable_gnome; ac_cv_enable_gnome="$enableval"
+else
+  ac_cv_enable_gnome="yes"
+fi
+
+	if test x"$ac_cv_enable_gnome" = x"yes" ; then
 
   { echo "$as_me:$LINENO: checking for GNOME data directory" >&5
 echo $ECHO_N "checking for GNOME data directory... $ECHO_C" >&6; }
@@ -4597,11 +4622,18 @@ else
 fi
 
 
+	else
+		{ echo "$as_me:$LINENO: WARNING: *** gnome support disabled ***" >&5
+echo "$as_me: WARNING: *** gnome support disabled ***" >&2;}
+		USE_GNOME_FALSE="yes"
+	fi
 fi
 CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS $WX_CXXFLAGS "
 LIBS="$LIBS $WX_LIBS "
 
 
+
+
 { echo "$as_me:$LINENO: checking for main in -lwxsvg" >&5
 echo $ECHO_N "checking for main in -lwxsvg... $ECHO_C" >&6; }
 if test "${ac_cv_lib_wxsvg_main+set}" = set; then
@@ -5225,7 +5257,16 @@ echo "${ECHO_T}no" >&6; }
 
 
 
-if test x"$GTK_USEDVERSION" = x"2" ; then
+
+# Check whether --enable-libgnomeui was given.
+if test "${enable_libgnomeui+set}" = set; then
+  enableval=$enable_libgnomeui; ac_cv_enable_libgnomeui="$enableval"
+else
+  ac_cv_enable_libgnomeui="yes"
+fi
+
+
+if test x"$ac_cv_enable_libgnomeui" = x"yes" ; then
 
 
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
@@ -5417,9 +5458,12 @@ else
 echo "${ECHO_T}yes" >&6; }
 	GNOME2="-DGNOME2"
 fi
+	CXXFLAGS="$CXXFLAGS $GNOME2"
+	LIBS="$LIBS $GNOMEUI2_LIBS "
+else
+	{ echo "$as_me:$LINENO: WARNING: libgnomeui dependency disabled" >&5
+echo "$as_me: WARNING: libgnomeui dependency disabled" >&2;}
 fi
-CXXFLAGS="$CXXFLAGS $GNOME2"
-LIBS="$LIBS $GNOMEUI2_LIBS "
 
 CXXFLAGS="$CXXFLAGS -DDATADIR=\\\"$datadir/$PACKAGE\\\""
 
@@ -5787,7 +5831,7 @@ echo "$as_me: error:
    { (exit 1); exit 1; }; }
 fi
 
-ac_config_files="$ac_config_files Makefile src/Makefile src/rc/Makefile wxVillaLib/Makefile locale/Makefile backgrounds/Makefile buttons/Makefile objects/Makefile data/Makefile install.win32/Makefile"
+ac_config_files="$ac_config_files Makefile src/Makefile src/rc/Makefile wxVillaLib/Makefile locale/Makefile backgrounds/Makefile buttons/Makefile objects/Makefile data/Makefile"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -6432,7 +6476,6 @@ do
     "buttons/Makefile") CONFIG_FILES="$CONFIG_FILES buttons/Makefile" ;;
     "objects/Makefile") CONFIG_FILES="$CONFIG_FILES objects/Makefile" ;;
     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
-    "install.win32/Makefile") CONFIG_FILES="$CONFIG_FILES install.win32/Makefile" ;;
 
   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}