Commit ed87d047 authored by Sam Hocevar's avatar Sam Hocevar

  * Better gtk-config detection.
  * Removed duplicate checks in configure.in.
  * Fixed a typo in vlc.spec.
parent 4aaa00c6
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
#===================# #===================#
HEAD HEAD
* Nothing yet. * Better gtk-config detection.
* Removed duplicate checks in configure.in.
* Fixed a typo in vlc.spec.
0.2.81 0.2.81
Sat, 28 Jul 2001 04:13:57 +0200 Sat, 28 Jul 2001 04:13:57 +0200
......
This diff is collapsed.
...@@ -23,9 +23,6 @@ AC_PROG_RANLIB ...@@ -23,9 +23,6 @@ AC_PROG_RANLIB
dnl AM_PROG_LIBTOOL dnl AM_PROG_LIBTOOL
AC_PROG_INSTALL AC_PROG_INSTALL
dnl Check for compiler environment
AC_C_CONST
dnl Check for endianness if not cross-compiling dnl Check for endianness if not cross-compiling
if test x${cross_compiling} != xyes; then if test x${cross_compiling} != xyes; then
AC_C_BIGENDIAN AC_C_BIGENDIAN
...@@ -94,7 +91,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[ ...@@ -94,7 +91,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers dnl Check for headers
AC_CHECK_HEADERS(stddef.h getopt.h strings.h) AC_CHECK_HEADERS(stddef.h getopt.h strings.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/time.h unistd.h) AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/time.h)
AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h) AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h)
AC_CHECK_HEADERS(dlfcn.h image.h) AC_CHECK_HEADERS(dlfcn.h image.h)
AC_CHECK_HEADERS(arpa/inet.h net/if.h netinet/in.h sys/socket.h) AC_CHECK_HEADERS(arpa/inet.h net/if.h netinet/in.h sys/socket.h)
...@@ -657,14 +654,23 @@ dnl Gtk+ module ...@@ -657,14 +654,23 @@ dnl Gtk+ module
dnl dnl
AC_ARG_ENABLE(gtk, AC_ARG_ENABLE(gtk,
[ --disable-gtk Gtk+ support (default enabled)]) [ --disable-gtk Gtk+ support (default enabled)])
if test x$enable_gtk != xno; then if test x$enable_gtk != xno
then
# look for gtk-config
AC_PATH_PROG(GTK_CONFIG, gtk-config, no) AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
if test x${GTK_CONFIG} != xno; then if test -x ${GTK_CONFIG}
PLUGINS="${PLUGINS} gtk" then
ALIASES="${ALIASES} gvlc"
CFLAGS_GTK="`${GTK_CONFIG} --cflags gtk`" CFLAGS_GTK="`${GTK_CONFIG} --cflags gtk`"
LIB_GTK="`${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`" LIB_GTK="`${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
fi fi
# now look for the gtk.h header
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CFLAGS_GTK"
AC_CHECK_HEADERS(gtk/gtk.h, [
PLUGINS="${PLUGINS} gtk"
ALIASES="${ALIASES} gvlc"
])
CPPFLAGS=$saved_CPPFLAGS
fi fi
dnl dnl
...@@ -817,6 +823,7 @@ CSS decryption : ${CSS}" ...@@ -817,6 +823,7 @@ CSS decryption : ${CSS}"
fi fi
echo " echo "
You may now tune Makefile.opts at your convenience. To build vlc, type You may now tune Makefile.opts at your convenience. To build vlc and its
\`make vlc'. To build libdvdcss only, type \`make libdvdcss'." plugins, type \`make vlc plugins'. If you want to build libdvdcss only,
type \`make libdvdcss'."
Name: vlc Name: vlc
Version: 0.2.81 Version: 0.2.81
Release: 2 Release: 1
Copyright: GPL Copyright: GPL
Url: http://www.videolan.org/ Url: http://www.videolan.org/
Group: X11/Applications/Graphics Group: X11/Applications/Graphics
...@@ -13,7 +13,7 @@ Summary: VideoLAN Client. ...@@ -13,7 +13,7 @@ Summary: VideoLAN Client.
Summary(fr): Client VideoLAN. Summary(fr): Client VideoLAN.
%changelog %changelog
* Sat, Jul 28 2001 Samuel Hocevar <sam@zoy.org> * Sat Jul 28 2001 Samuel Hocevar <sam@zoy.org>
New upstream release (0.2.81) New upstream release (0.2.81)
* Tue Jun 5 2001 Samuel Hocevar <sam@zoy.org> * Tue Jun 5 2001 Samuel Hocevar <sam@zoy.org>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment