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

Brendan brendan at xiph.org
Thu Mar 27 09:09:33 PST 2003



brendan     03/03/27 12:09:33

  Modified:    .        configure.in
  Log:
  First crack at making YP/curl optional.

Revision  Changes    Path
1.27      +4 -1      icecast/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/icecast/configure.in,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- configure.in	18 Mar 2003 01:40:40 -0000	1.26
+++ configure.in	27 Mar 2003 17:09:33 -0000	1.27
@@ -164,7 +164,9 @@
 
 AM_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!(Perhaps you need --with-ogg-prefix=/usr/local)))
 AM_PATH_VORBIS(, AC_MSG_ERROR(must have Vorbis installed!(Perhaps you need --with-vorbis-prefix=/usr/local)))
-AM_PATH_CURL(, AC_MSG_ERROR(must have libcurl installed!))
+AM_PATH_CURL(
+  [ICECAST_OBJECTS="$ICECAST_OBJECTS geturl.o yp.o"],
+  [AC_MSG_NOTICE([libcurl not found, YP disabled])])
 ACX_PTHREAD(, AC_MSG_ERROR(POSIX threads missing))
 
 dnl Make substitutions
@@ -185,5 +187,6 @@
 AC_SUBST(CFLAGS)
 AC_SUBST(PROFILE)
 AC_SUBST(XIPH_CFLAGS)
+AC_SUBST(ICECAST_OBJECTS)
 
 AC_OUTPUT(Makefile conf/Makefile src/Makefile src/avl/Makefile src/httpp/Makefile src/thread/Makefile src/log/Makefile src/net/Makefile src/timing/Makefile doc/Makefile web/Makefile win32/Makefile win32/res/Makefile)

<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