summaryrefslogtreecommitdiff
blob: b3329d83118275fe0355e2b413bba435a999a021 (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
diff -ruN libdv-0.99/Makefile.in libdv-0.99/Makefile.in
--- libdv-0.99/Makefile.in	2003-01-02 09:40:44.000000000 -0800
+++ libdv-0.99/Makefile.in	2003-08-25 11:16:40.000000000 -0700
@@ -101,7 +101,7 @@
 am__include = @am__include@
 am__quote = @am__quote@
 install_sh = @install_sh@
-SUBDIRS = libdv playdv encodedv
+SUBDIRS = @subdirs@
 
 AUX_DIST = $(ac_aux_dir)/config.guess \
                                    $(ac_aux_dir)/config.sub \
diff -ruN libdv-0.99/configure libdv-0.99/configure
--- libdv-0.99/configure	2003-01-02 09:40:46.000000000 -0800
+++ libdv-0.99/configure	2003-08-25 11:17:30.000000000 -0700
@@ -7651,6 +7651,7 @@
 
 
 
+if $use_gtk; then
 REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4'
 
   succeeded=no
@@ -7749,9 +7750,13 @@
 echo "$as_me: error: Library requirements ($REQUIRES) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
    { (exit 1); exit 1; }; }
   fi
-
+fi
 REQUIRES=''
-
+if $use_gtk; then
+   subdirs="libdv playdv encodedv"
+else
+   subdirs="libdv"
+fi
 
 
 
@@ -8362,7 +8367,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lXv $GTK_LIBS $LIBS"
+LIBS="-lXv -L/usr/X11R6/lib $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
@@ -9978,8 +9983,11 @@
 
 
 
-
+if $use_gtk; then
 ac_config_files="$ac_config_files Makefile libdv.spec libdv.pc libdv/Makefile playdv/Makefile encodedv/Makefile"
+else
+ac_config_files="$ac_config_files Makefile libdv.spec libdv.pc libdv/Makefile"
+fi
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -10480,6 +10488,7 @@
 cat >>$CONFIG_STATUS <<\_ACEOF
 for ac_config_target in $ac_config_targets
 do
+if test "x$enable_gtktest" = "xyes" ; then
   case "$ac_config_target" in
   # Handling of arguments.
   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
@@ -10494,6 +10503,20 @@
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    { (exit 1); exit 1; }; };;
   esac
+else
+  case "$ac_config_target" in
+  # Handling of arguments.
+  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+  "libdv.spec" ) CONFIG_FILES="$CONFIG_FILES libdv.spec" ;;
+  "libdv.pc" ) CONFIG_FILES="$CONFIG_FILES libdv.pc" ;;
+  "libdv/Makefile" ) CONFIG_FILES="$CONFIG_FILES libdv/Makefile" ;;
+  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+  *) { { echo "$as_me:9830: error: invalid argument: $ac_config_target" >&5
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+   { (exit 1); exit 1; }; };;
+  esac
+fi
 done
 
 # If the user did not use the arguments to specify the items to instantiate,
@@ -10513,6 +10536,12 @@
   trap '{ (exit 1); exit 1; }' 1 2 13 15
 }
 
+if test "x$enable_gtktest" = "xyes" ; then
+   subdirs="libdv playdv encodedv"
+else
+   subdirs="libdv"
+fi
+
 # Create a (secure) tmp directory for tmp files.
 : ${TMPDIR=/tmp}
 {
@@ -10642,6 +10671,7 @@
 s,@REQUIRES_NOPKGCONFIG@,$REQUIRES_NOPKGCONFIG,;t t
 s,@ac_aux_dir@,$ac_aux_dir,;t t
 s,@RPM_RELEASE@,$RPM_RELEASE,;t t
+s,@subdirs@,$subdirs,;t t
 CEOF
 
 _ACEOF