[xiph-cvs] cvs commit: libshout configure.in

Brendan brendan at xiph.org
Mon Jun 9 17:17:57 PDT 2003



brendan     03/06/09 20:17:57

  Modified:    .        configure.in
  Log:
  Don't allow configure to complete successfully if Ogg or Vorbis is missing.

Revision  Changes    Path
1.45      +9 -1      libshout/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -u -r1.44 -r1.45
--- configure.in	6 Jun 2003 00:05:18 -0000	1.44
+++ configure.in	10 Jun 2003 00:17:57 -0000	1.45
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.44 2003/06/06 00:05:18 karl Exp $
+# $Id: configure.in,v 1.45 2003/06/10 00:17:57 brendan Exp $
 
 m4_define(libshout_major, 2)
 m4_define(libshout_minor, 0)
@@ -151,7 +151,15 @@ then
 fi
 
 XIPH_PATH_OGG
+if test -z "$OGG_LIBS"
+then
+  AC_MSG_ERROR([The Ogg library is required to build libshout])
+fi
 XIPH_PATH_VORBIS
+if test -z "$VORBIS_LIBS"
+then
+  AC_MSG_ERROR([The Vorbis library is required to build libshout])
+fi
 XIPH_CFLAGS="$XIPH_CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
 
 dnl pkgconfig/shout-config.

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list