small fixes

Original commit message from CVS:
small fixes
This commit is contained in:
Thomas Vander Stichele 2002-01-02 17:07:31 +00:00
parent fade6ab629
commit cbd423f27b
2 changed files with 39 additions and 75 deletions

View file

@ -126,63 +126,9 @@ if test "x$HAVE_GST" = "xno"; then
PKG_CHECK_MODULES(GST, gstreamer >= 0.3.0, HAVE_GST="yes", HAVE_GST="no")
fi
dnl dnl check for gtk-doc
dnl AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ])
dnl
dnl if test "x$with_html_dir" = "x" ; then
dnl HTML_DIR='${datadir}/gst/html'
dnl else
dnl HTML_DIR=$with_html_dir
dnl fi
dnl
dnl AC_SUBST(HTML_DIR)
dnl
dnl AC_CHECK_PROG(HAVE_GTK_DOC, gtkdoc-mkdb, true, false)
dnl gtk_doc_min_version=0.6
dnl if $HAVE_GTK_DOC ; then
dnl gtk_doc_version=`gtkdoc-mkdb --version`
dnl AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version])
dnl if perl <<EOF ; then
dnl exit (("$gtk_doc_version" =~ /^[[0-9]]+\.[[0-9]]+$/) &&
dnl ("$gtk_doc_version" >= "$gtk_doc_min_version") ? 0 : 1);
dnl EOF
dnl AC_MSG_RESULT(yes)
dnl else
dnl AC_MSG_RESULT(no)
dnl HAVE_GTK_DOC=false
dnl fi
dnl fi
dnl GTK_DOC_SCANOBJ=gtkdoc-scanobj
dnl
dnl AC_SUBST(HAVE_GTK_DOC)
dnl AC_SUBST(GTK_DOC_SCANOBJ)
dnl
dnl dnl check for docbook tools
dnl AC_CHECK_PROG(HAVE_XSLTPROC, xsltproc, true, false)
dnl AC_CHECK_PROG(HAVE_PDFTOPS, pdftops, true, false)
dnl dnl this does not yet work properly, at least on debain -- wingo
dnl HAVE_PDFXMLTEX=false
dnl
dnl dnl check for image conversion tool
dnl AC_CHECK_PROG(HAVE_FIG2DEV, fig2dev, true, false)
dnl
dnl dnl The following is a hack: if fig2dev doesn't display an error message
dnl dnl for the desired type, we assume it supports it.
dnl HAVE_FIG2DEV_PNG=false
dnl if test "x$HAVE_FIG2DEV" = "xtrue" ; then
dnl fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
dnl if test "x$fig2dev_quiet" = "x" ; then
dnl HAVE_FIG2DEV_PNG=true
dnl fi
dnl fi
dnl HAVE_FIG2DEV_PDF=false
dnl if test "x$HAVE_FIG2DEV" = "xtrue" ; then
dnl fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
dnl if test "x$fig2dev_quiet" = "x" ; then
dnl HAVE_FIG2DEV_PDF=true
dnl fi
dnl fi
dnl
if test "x$HAVE_GST" = "xno"; then
AC_MSG_ERROR(no GStreamer found)
fi
dnl Set up conditionals for (target) architecture:
dnl ==============================================
@ -479,7 +425,7 @@ GST_CHECK_CONFIGPROG(GNOME_VFS, gnome-config vfs)
dnl *** gsm ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true)
GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [
GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm/gsm.h, GSM_LIBS="-lgsm")
GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, , gsm.h, GSM_LIBS="-lgsm")
AC_SUBST(GSM_LIBS)
])

View file

@ -100,18 +100,20 @@ else
HTTP_DIR=
endif
if USE_LAME
LAME_DIR=lame
else
LAME_DIR=
endif
if USE_JPEG
JPEG_DIR=jpeg
else
JPEG_DIR=
endif
LADSPA_DIR=ladspa
if USE_LAME
LAME_DIR=lame
else
LAME_DIR=
endif
if USE_MAD
MAD_DIR=mad
else
@ -154,6 +156,12 @@ else
SDL_DIR=
endif
## if USE_SIDPLAY
## SIDPLAY_DIR=sidplay
## else
SIDPLAY_DIR=
## endif
if USE_SHOUT
SHOUT_DIR=shout
else
@ -180,15 +188,25 @@ endif
SUBDIRS=$(A52DEC_DIR) $(AALIB_DIR) $(ALSA_DIR) \
$(ARTS_DIR) $(ARTSC_DIR) $(AUDIOFILE_DIR) \
$(AVIFILE_DIR) $(CDPARANOIA_DIR) $(DV_DIR) $(DVDREAD_DIR) $(ESD_DIR) \
$(FESTIVAL_DIR) $(FLAC_DIR) $(GNOMEVFS_DIR) $(GSM_DIR) $(HERMES_DIR) \
$(HTTP_DIR) $(JPEG_DIR) $(LAME_DIR) $(MAD_DIR) $(MIKMOD_DIR) $(MPEG2DEC_DIR) \
$(OPENQUICKTIME_DIR) $(RTP_DIR) $(SDL_DIR) $(SHOUT_DIR) \
$(SMOOTHWAVE_DIR) $(VORBIS_DIR) $(XMMS_DIR)
$(AVIFILE_DIR) $(CDPARANOIA_DIR) $(DV_DIR) \
$(DVDREAD_DIR) $(ESD_DIR) $(FESTIVAL_DIR) \
$(FLAC_DIR) $(GNOMEVFS_DIR) $(GSM_DIR) \
$(HERMES_DIR) $(HTTP_DIR) $(JPEG_DIR) \
$(LADSPA_DIR) $(LAME_DIR) $(MAD_DIR) \
$(MIKMOD_DIR) $(MPEG2DEC_DIR) $(OPENQUICKTIME_DIR) \
$(RAW1394_DIR) $(RTP_DIR) $(SDL_DIR) \
$(SHOUT_DIR) $(SIDPLAY_DIR) $(SMOOTHWAVE_DIR) \
$(VORBIS_DIR) $(XMMS_DIR)
DIST_SUBDIRS=a52dec aalib alsa arts artsd avifile audiofile cdparanoia \
dv dvdread esd \
festival flac gnomevfs gsm hermes http jpeg lame mad mikmod mpeg2dec \
openquicktime rtp sdl shout smoothwave vorbis xmms
festival flac gnomevfs gsm hermes http jpeg ladspa lame mad mikmod mpeg2dec \
openquicktime raw1394 rtp sdl shout sidplay smoothwave vorbis xmms
DIST_SUBDIRS=\
a52dec aalib alsa \
arts artsd avifile \
audiofile cdparanoia dv \
dvdread esd festival \
flac gnomevfs gsm \
hermes http jpeg \
ladspa lame mad \
mikmod mpeg2dec openquicktime \
raw1394 rtp sdl \
shout sidplay smoothwave \
vorbis xmms