Lines 150-160
Link Here
|
150 |
AM_CONDITIONAL(HOST_X86, $arch_x86) |
150 |
AM_CONDITIONAL(HOST_X86, $arch_x86) |
151 |
|
151 |
|
152 |
dnl Checks for libraries. |
152 |
dnl Checks for libraries. |
153 |
|
153 |
if $use_gtk; then |
154 |
REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4' |
154 |
REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4' |
155 |
PKG_CHECK_MODULES(GTK,$REQUIRES) |
155 |
PKG_CHECK_MODULES(GTK,$REQUIRES) |
156 |
dnl Libs above are required for the apps, but not for the lib itself. |
156 |
dnl Libs above are required for the apps, but not for the lib itself. |
|
|
157 |
else |
157 |
REQUIRES='' |
158 |
REQUIRES='' |
|
|
159 |
fi |
158 |
|
160 |
|
159 |
dnl pass-thru to .pc files |
161 |
dnl pass-thru to .pc files |
160 |
AC_SUBST(REQUIRES) |
162 |
AC_SUBST(REQUIRES) |
Lines 233-236
Link Here
|
233 |
AC_SUBST(ac_aux_dir) |
235 |
AC_SUBST(ac_aux_dir) |
234 |
AC_SUBST(RPM_RELEASE) |
236 |
AC_SUBST(RPM_RELEASE) |
235 |
|
237 |
|
236 |
AC_OUTPUT(Makefile libdv.spec libdv.pc libdv/Makefile playdv/Makefile encodedv/Makefile) |
238 |
if $use_gtk; then |
|
|
239 |
subdirs="libdv playdv encodedv" |
240 |
else |
241 |
subdirs="libdv" |
242 |
fi |
243 |
AC_SUBST(subdirs) |
244 |
|
245 |
if $use_gtk; then |
246 |
makefiles="Makefile libdv.spec libdv.pc libdv/Makefile playdv/Makefile encodedv/Makefile" |
247 |
else |
248 |
makefiles="Makefile libdv.spec libdv.pc libdv/Makefile" |
249 |
fi |
250 |
AC_CONFIG_FILES($makefiles) |
251 |
AC_OUTPUT() |