[xiph-cvs] cvs commit: vorbis-tools acinclude.m4

Segher Boessenkool segher at xiph.org
Sat May 4 20:51:09 PDT 2002



segher      02/05/04 20:51:09

  Modified:    .        acinclude.m4
  Log:
  grr.  cvs screwup.

Revision  Changes    Path
1.16      +7 -0      vorbis-tools/acinclude.m4

Index: acinclude.m4
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/acinclude.m4,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- acinclude.m4	2001/12/22 01:22:29	1.15
+++ acinclude.m4	2002/05/05 03:51:09	1.16
@@ -423,6 +423,8 @@
 AC_ARG_WITH(curl-includes,[  --with-curl-includes=DIR   Directory where libcurl header files are installed (optional)], curl_includes="$withval", curl_includes="")
 AC_ARG_ENABLE(curltest, [  --disable-curltest       Do not try to compile and run a test libcurl program],, enable_curltest=yes)
 
+if test "x$curl_prefix" != "xno" ; then
+
   if test "x$curl_libraries" != "x" ; then
     CURL_LIBS="-L$curl_libraries"
   elif test "x$curl_prefix" != "x" ; then
@@ -505,6 +507,11 @@
      CURL_LIBS=""
      ifelse([$2], , :, [$2])
   fi
+  AC_DEFINE(HAVE_CURL, 1, [Define if you have libcurl.])
+else
+  CURL_CFLAGS=""
+  CURL_LIBS=""
+fi
   AC_SUBST(CURL_CFLAGS)
   AC_SUBST(CURL_LIBS)
   rm -f conf.curltest

<p><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